@webority/ui-elements 0.149.0 → 0.150.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.
- package/dist/WuiCarousel-DthhDxH-.js +1 -0
- package/dist/WuiCodeBlock-DHpmEskS.js +1 -0
- package/dist/WuiCommandPalette-DqHh4lH6.js +2 -0
- package/dist/WuiCommentThread-By-u3c5S.js +1 -0
- package/dist/WuiConsentBanner-Bm7tT3_5.js +1 -0
- package/dist/WuiContextMenu-sPTmEEVn.js +1 -0
- package/dist/WuiDataTable-D8UW2DMH.js +1 -0
- package/dist/WuiDatePicker-DLEsnzqG.js +31 -0
- package/dist/WuiDateRange-9Xqs5nvv.js +25 -0
- package/dist/WuiDock-d5abaLkL.js +1 -0
- package/dist/WuiDrawer-B3YFmxl2.js +1 -0
- package/dist/WuiHoverCard-CE3dHKaM.js +1 -0
- package/dist/WuiImageCrop-ChvH8GKb.js +17 -0
- package/dist/WuiInlineEdit-r55qgh8A.js +1 -0
- package/dist/WuiLeadPopup-YN4YCbOe.js +382 -0
- package/dist/WuiLightbox-D7Nf1SbH.js +1 -0
- package/dist/WuiMarkdown-N96OX-To.js +4 -0
- package/dist/WuiMentionInput-BFB57FZI.js +1 -0
- package/dist/WuiNavigationMenu-CZ3XhFam.js +1 -0
- package/dist/WuiNotificationCenter-C6e13nCh.js +1 -0
- package/dist/WuiOnboardingChecklist-Cx-TgpBY.js +1 -0
- package/dist/WuiOrgTree-DzeLFQxy.js +1 -0
- package/dist/{WuiOtp-BqWijfNj.js → WuiOtp-DonxSwVn.js} +2 -2
- package/dist/WuiOverflow-CeLUmJR-.js +1 -0
- package/dist/WuiPhone-rtex3VDC.js +16 -0
- package/dist/WuiRating-DLVduJZ_.js +1 -0
- package/dist/WuiRecordPager-7HVGoFlP.js +1 -0
- package/dist/WuiRelativeTime-RdC80Zii.js +1 -0
- package/dist/WuiResizable-DQZdQVCz.js +1 -0
- package/dist/WuiRollingNumber-YRMeRCGW.js +1 -0
- package/dist/WuiSavedViews-DtyAoZKb.js +1 -0
- package/dist/WuiSelect-D9ABfsdZ.js +9 -0
- package/dist/WuiShortcuts-D3rWkaOm.js +1 -0
- package/dist/WuiShowMore-CvdNQXrA.js +1 -0
- package/dist/WuiSlider-D33Y3_t9.js +51 -0
- package/dist/WuiSortable-CBLMNRuZ.js +1 -0
- package/dist/WuiTimePicker-DOodgU2O.js +9 -0
- package/dist/WuiTour-CrIFLmSK.js +1 -0
- package/dist/WuiTree-ZD9GGmtg.js +1 -0
- package/dist/WuiTruncate-C2WV1-NN.js +1 -0
- package/dist/WuiWhatsNew-dLGyA4g1.js +1 -0
- package/dist/WuiWizardStep-Cencr-mT.js +1 -0
- package/dist/{anchorOverlay-DDrc2k6y.js → anchorOverlay-CXnWfezA.js} +1 -1
- package/dist/buttonClass-GtEi8hAY.js +1 -0
- package/dist/calendarMath-D6UUgYTD.js +1 -0
- package/dist/chips-2yXiMhK4.js +2 -0
- package/dist/commentText-BnX7rA2-.js +1 -0
- package/dist/{countries-CvmZ2xpG.js → countries-DQL9nAUt.js} +1 -1
- package/dist/country-x5lqC5Xu.js +1 -0
- package/dist/customRule-Chp7YwFb.js +1 -0
- package/dist/dataTable-D23oUOhU.js +1 -0
- package/dist/dom-Do1pAA12.js +1 -0
- package/dist/drawerDiscard-CUN8L47U.js +1 -0
- package/dist/elementBase-Cxeyx0tU.js +1 -0
- package/dist/elements/carousel.js +1 -1
- package/dist/elements/code-block.js +1 -1
- package/dist/elements/command-palette.js +1 -1
- package/dist/elements/comment-thread.js +1 -1
- package/dist/elements/consent-banner.js +1 -1
- package/dist/elements/context-menu.js +1 -1
- package/dist/elements/data-table.js +1 -1
- package/dist/elements/date-range.js +1 -1
- package/dist/elements/datepicker.js +1 -1
- package/dist/elements/dock.js +1 -1
- package/dist/elements/drawer.js +1 -1
- package/dist/elements/filter-popover.js +1 -1
- package/dist/elements/hover-card.js +1 -1
- package/dist/elements/image-crop.js +1 -1
- package/dist/elements/inline-edit.js +1 -1
- package/dist/elements/kanban.js +1 -1
- package/dist/elements/lead-popup.js +1 -1
- package/dist/elements/lightbox.js +1 -1
- package/dist/elements/markdown.js +1 -1
- package/dist/elements/mention-input.js +1 -1
- package/dist/elements/navigation-menu.js +1 -1
- package/dist/elements/notification-center.js +1 -1
- package/dist/elements/onboarding-checklist.js +1 -1
- package/dist/elements/org-tree.js +1 -1
- package/dist/elements/otp.js +1 -1
- package/dist/elements/overflow.js +1 -1
- package/dist/elements/phone.js +1 -1
- package/dist/elements/rating.js +1 -1
- package/dist/elements/record-pager.js +1 -1
- package/dist/elements/relative-time.js +1 -1
- package/dist/elements/resizable.js +1 -1
- package/dist/elements/rolling-number.js +1 -1
- package/dist/elements/saved-views.js +1 -1
- package/dist/elements/select.js +1 -1
- package/dist/elements/shortcuts.js +1 -1
- package/dist/elements/show-more.js +1 -1
- package/dist/elements/slider.js +1 -1
- package/dist/elements/sortable.js +1 -1
- package/dist/elements/status-icon.js +1 -1
- package/dist/elements/timepicker.js +1 -1
- package/dist/elements/tour.js +1 -1
- package/dist/elements/tree.js +1 -1
- package/dist/elements/truncate.js +1 -1
- package/dist/elements/whats-new.js +1 -1
- package/dist/elements/wizard.js +1 -1
- package/dist/{fileViewerImage-CLzN49Fd.js → fileViewerImage-tzF4DDq7.js} +2 -2
- package/dist/fileViewerMedia-Bp1uHJvC.js +1 -0
- package/dist/{fileViewerPdf-6MAAzmCM.js → fileViewerPdf-BLMhF8NT.js} +11 -11
- package/dist/fileViewerUi-ResPjO1o.js +1 -0
- package/dist/filterPopover-D8BOb-Hz.js +1 -0
- package/dist/formMirror-9IpSgeZb.js +1 -0
- package/dist/formatters-C3V6M5zV.js +1 -0
- package/dist/helpers.js +1 -1
- package/dist/iconGlyphs.g-DPqoOoXy.js +1 -0
- package/dist/inlineEditText-H7Pr8IU9.js +1 -0
- package/dist/kanban-CJ587-XT.js +1 -0
- package/dist/kanbanModel-BdqSa1lJ.js +1 -0
- package/dist/listQuery.js +1 -1
- package/dist/listboxKeyNav-4LeEjKq6.js +1 -0
- package/dist/loader-ByHAB1wi.js +1 -0
- package/dist/mentionText-BJsw_opZ.js +1 -0
- package/dist/{notificationDays-dNQZGLlB.js → notificationDays-BKVW7xYD.js} +1 -1
- package/dist/{optionLabel-CLemms21.js → optionLabel-4xjXWy74.js} +1 -1
- package/dist/recents-CmLLdV8O.js +1 -0
- package/dist/relativeTime-YTAOONRy.js +1 -0
- package/dist/search-BXcvm716.js +1 -0
- package/dist/server.js +1 -1
- package/dist/shortcutKeys-COVLox98.js +1 -0
- package/dist/{statusIcons-Dt2ZVJyk.js → statusIcons-CRtqA_1C.js} +2 -2
- package/dist/themeTransition-9LQC6fx8.js +1 -0
- package/dist/tourSeenStore-z0Y_Znzx.js +1 -0
- package/dist/ui-calendar.global.js +1 -1
- package/dist/ui-calendar.js +1 -1
- package/dist/ui-chart.global.js +15 -15
- package/dist/ui-chart.js +13 -13
- package/dist/ui-consent-banner.global.js +1 -1
- package/dist/ui-elements/carousel.global.js +1 -1
- package/dist/ui-elements/code-block.global.js +1 -1
- package/dist/ui-elements/command-palette.global.js +2 -2
- package/dist/ui-elements/comment-thread.global.js +1 -1
- package/dist/ui-elements/consent-banner.global.js +1 -1
- package/dist/ui-elements/context-menu.global.js +1 -1
- package/dist/ui-elements/date-range.global.js +4 -4
- package/dist/ui-elements/drawer.global.js +1 -1
- package/dist/ui-elements/glyphs.global.js +1 -0
- package/dist/ui-elements/image-crop.global.js +2 -2
- package/dist/ui-elements/inline-edit.global.js +1 -1
- package/dist/ui-elements/kanban.global.js +1 -1
- package/dist/ui-elements/lead-popup.global.js +3 -3
- package/dist/ui-elements/lightbox.global.js +1 -1
- package/dist/ui-elements/markdown.global.js +2 -2
- package/dist/ui-elements/org-tree.global.js +1 -1
- package/dist/ui-elements/phone.global.js +9 -9
- package/dist/ui-elements/resizable.global.js +1 -1
- package/dist/ui-elements/saved-views.global.js +1 -1
- package/dist/ui-elements/select-chips.global.js +2 -2
- package/dist/ui-elements/select-recents.global.js +1 -1
- package/dist/ui-elements/select-search.global.js +1 -1
- package/dist/ui-elements/slider.global.js +2 -2
- package/dist/ui-elements/sortable.global.js +1 -1
- package/dist/ui-elements/status-icon.global.js +2 -2
- package/dist/ui-elements/timepicker.global.js +2 -2
- package/dist/ui-elements/tour.global.js +1 -1
- package/dist/ui-elements/tree.global.js +1 -1
- package/dist/ui-elements/wizard.global.js +1 -1
- package/dist/ui-elements.global.js +18 -18
- package/dist/ui-elements.js +1 -1
- package/dist/ui-file-viewer.global.js +11 -11
- package/dist/ui-file-viewer.js +1 -1
- package/dist/ui-lead-popup.global.js +1 -1
- package/dist/ui-phone.global.js +8 -8
- package/dist/ui-rich-text.global.js +57 -57
- package/dist/ui-rich-text.js +56 -56
- package/dist/ui-tour.global.js +1 -1
- package/dist/wuiHttp-523iN_RF.js +1 -0
- package/dist/{zone-D82f-GU_.js → zone-BR02ZkHF.js} +1 -1
- package/package.json +207 -55
- package/types/WuiCalendar.d.ts +69 -0
- package/types/WuiCarousel.d.ts +64 -0
- package/types/WuiChart.d.ts +77 -0
- package/types/WuiCodeBlock.d.ts +27 -0
- package/types/WuiCommandPalette.d.ts +135 -0
- package/types/WuiCommentThread.d.ts +77 -0
- package/types/WuiConsentBanner.d.ts +73 -0
- package/types/WuiContextMenu.d.ts +90 -0
- package/types/WuiDataTable.d.ts +90 -0
- package/types/WuiDatePicker.d.ts +59 -0
- package/types/WuiDateRange.d.ts +61 -0
- package/types/WuiDock.d.ts +20 -0
- package/types/WuiDrawer.d.ts +65 -0
- package/types/WuiFileViewer.d.ts +111 -0
- package/types/WuiHoverCard.d.ts +29 -0
- package/types/WuiImageCrop.d.ts +119 -0
- package/types/WuiInlineEdit.d.ts +65 -0
- package/types/WuiLeadPopup.d.ts +83 -0
- package/types/WuiLightbox.d.ts +80 -0
- package/types/WuiMarkdown.d.ts +85 -0
- package/types/WuiMentionInput.d.ts +112 -0
- package/types/WuiNavigationMenu.d.ts +29 -0
- package/types/WuiNotificationCenter.d.ts +34 -0
- package/types/WuiOnboardingChecklist.d.ts +34 -0
- package/types/WuiOrgTree.d.ts +50 -0
- package/types/WuiOtp.d.ts +32 -0
- package/types/WuiOverflow.d.ts +29 -0
- package/types/WuiPhone.d.ts +37 -0
- package/types/WuiRating.d.ts +17 -0
- package/types/WuiRecordPager.d.ts +9 -0
- package/types/WuiRelativeTime.d.ts +17 -0
- package/types/WuiResizable.d.ts +79 -0
- package/types/WuiRichText.d.ts +45 -0
- package/types/WuiRollingNumber.d.ts +27 -0
- package/types/WuiSavedViews.d.ts +41 -0
- package/types/WuiSelect.d.ts +138 -0
- package/types/WuiShortcuts.d.ts +31 -0
- package/types/WuiShowMore.d.ts +16 -0
- package/types/WuiSlider.d.ts +126 -0
- package/types/WuiSortable.d.ts +127 -0
- package/types/WuiTimePicker.d.ts +68 -0
- package/types/WuiTour.d.ts +117 -0
- package/types/WuiTree.d.ts +112 -0
- package/types/WuiTruncate.d.ts +19 -0
- package/types/WuiWhatsNew.d.ts +36 -0
- package/types/WuiWizard.d.ts +78 -0
- package/types/WuiWizardStep.d.ts +5 -0
- package/types/anchorOverlay.d.ts +75 -0
- package/types/avatarHtml.d.ts +10 -0
- package/types/avatarPicker.d.ts +47 -0
- package/types/buttonClass.d.ts +8 -0
- package/types/calendar.d.ts +3 -0
- package/types/calendarAdapter.d.ts +68 -0
- package/types/calendarMath.d.ts +40 -0
- package/types/calendarModel.d.ts +78 -0
- package/types/chart.d.ts +4 -0
- package/types/chartAdapter.d.ts +160 -0
- package/types/chartSpec.d.ts +382 -0
- package/types/codeHighlight.d.ts +25 -0
- package/types/collapsibleSearch.d.ts +7 -0
- package/types/commandShortcut.d.ts +12 -0
- package/types/commentText.d.ts +40 -0
- package/types/consentBannerGlobal.d.ts +1 -0
- package/types/consentBannerStandalone.d.ts +2 -0
- package/types/copyText.d.ts +10 -0
- package/types/countries.d.ts +3 -0
- package/types/currency.d.ts +6 -0
- package/types/dataTable.d.ts +159 -0
- package/types/datePresets.d.ts +19 -0
- package/types/defaultCountry.d.ts +3 -0
- package/types/defineElement.d.ts +6 -0
- package/types/devWarn.d.ts +2 -0
- package/types/dom.d.ts +8 -0
- package/types/drawerSnap.d.ts +24 -0
- package/types/elementBase.d.ts +2 -0
- package/types/elementRegistry.d.ts +5 -0
- package/types/elements/carousel.d.ts +2 -0
- package/types/elements/code-block.d.ts +2 -0
- package/types/elements/command-palette.d.ts +2 -0
- package/types/elements/comment-thread.d.ts +4 -0
- package/types/elements/consent-banner.d.ts +2 -0
- package/types/elements/context-menu.d.ts +2 -0
- package/types/elements/data-table.d.ts +3 -0
- package/types/elements/date-range.d.ts +2 -0
- package/types/elements/datepicker.d.ts +2 -0
- package/types/elements/dock.d.ts +2 -0
- package/types/elements/drawer.d.ts +2 -0
- package/types/elements/filter-popover.d.ts +2 -0
- package/types/elements/hover-card.d.ts +2 -0
- package/types/elements/image-crop.d.ts +2 -0
- package/types/elements/inline-edit.d.ts +3 -0
- package/types/elements/kanban.d.ts +2 -0
- package/types/elements/lead-popup.d.ts +2 -0
- package/types/elements/lightbox.d.ts +2 -0
- package/types/elements/markdown.d.ts +2 -0
- package/types/elements/mention-input.d.ts +3 -5
- package/types/elements/navigation-menu.d.ts +2 -0
- package/types/elements/notification-center.d.ts +2 -0
- package/types/elements/onboarding-checklist.d.ts +2 -0
- package/types/elements/org-tree.d.ts +2 -0
- package/types/elements/otp.d.ts +2 -0
- package/types/elements/overflow.d.ts +2 -0
- package/types/elements/phone.d.ts +2 -0
- package/types/elements/rating.d.ts +2 -0
- package/types/elements/record-pager.d.ts +2 -0
- package/types/elements/relative-time.d.ts +3 -0
- package/types/elements/resizable.d.ts +2 -0
- package/types/elements/rolling-number.d.ts +2 -0
- package/types/elements/saved-views.d.ts +2 -0
- package/types/elements/select.d.ts +2 -0
- package/types/elements/shortcuts.d.ts +2 -0
- package/types/elements/show-more.d.ts +2 -0
- package/types/elements/slider.d.ts +2 -0
- package/types/elements/sortable.d.ts +2 -0
- package/types/elements/status-icon.d.ts +1 -0
- package/types/elements/timepicker.d.ts +2 -0
- package/types/elements/tour.d.ts +1 -6
- package/types/elements/tree.d.ts +2 -0
- package/types/elements/truncate.d.ts +2 -0
- package/types/elements/whats-new.d.ts +2 -0
- package/types/elements/wizard.d.ts +3 -0
- package/types/fieldState.d.ts +4 -0
- package/types/fileDrop.d.ts +31 -0
- package/types/fileValidation.d.ts +47 -0
- package/types/fileViewer.d.ts +3 -0
- package/types/fileViewerImage.d.ts +69 -0
- package/types/fileViewerMedia.d.ts +62 -0
- package/types/fileViewerPdf.d.ts +214 -0
- package/types/fileViewerSearch.d.ts +55 -0
- package/types/fileViewerUi.d.ts +33 -0
- package/types/filterPopover.d.ts +55 -0
- package/types/focusOrigin.d.ts +3 -0
- package/types/formMirror.d.ts +22 -0
- package/types/formatters.d.ts +119 -0
- package/types/global/chunks.d.ts +12 -0
- package/types/global/core.d.ts +57 -0
- package/types/global/glyphs.d.ts +10 -0
- package/types/global/loader.d.ts +16 -0
- package/types/global/parts/glyphs.d.ts +1 -0
- package/types/global/parts/select-chips.d.ts +1 -0
- package/types/global/parts/select-country.d.ts +1 -0
- package/types/global/parts/select-recents.d.ts +1 -0
- package/types/global/parts/select-search.d.ts +1 -0
- package/types/global/shared.d.ts +56 -0
- package/types/globals.d.ts +238 -0
- package/types/helpers.d.ts +29 -3
- package/types/iconGlyphs.g.d.ts +7 -0
- package/types/iconGlyphsCore.g.d.ts +1 -0
- package/types/iconGlyphsLazy.g.d.ts +1 -0
- package/types/imageCrop.d.ts +75 -0
- package/types/index.d.ts +54 -0
- package/types/inlineEditText.d.ts +47 -0
- package/types/inputMask.d.ts +70 -0
- package/types/kanban.d.ts +157 -0
- package/types/kanbanModel.d.ts +77 -0
- package/types/leadPopupGlobal.d.ts +1 -0
- package/types/leadPopupStandalone.d.ts +2 -0
- package/types/listQuery.d.ts +87 -0
- package/types/listboxKeyNav.d.ts +63 -0
- package/types/mentionText.d.ts +45 -0
- package/types/navReveal.d.ts +1 -0
- package/types/notificationDays.d.ts +50 -0
- package/types/optionLabel.d.ts +27 -0
- package/types/overlayRelease.d.ts +12 -0
- package/types/pageBarBulk.d.ts +4 -0
- package/types/passwordRules.d.ts +50 -0
- package/types/phoneData.d.ts +1 -0
- package/types/phoneLib.d.ts +15 -0
- package/types/phoneLibGlobal.d.ts +3 -0
- package/types/razor-js/modules/api.d.ts +33 -0
- package/types/razor-js/modules/avatars.d.ts +1 -0
- package/types/razor-js/modules/dropZones.d.ts +2 -0
- package/types/razor-js/modules/fileHelpers.d.ts +16 -0
- package/types/razor-js/modules/filePickers.d.ts +6 -0
- package/types/razor-js/modules/filterBars.d.ts +1 -0
- package/types/razor-js/modules/imagePickers.d.ts +1 -0
- package/types/razor-js/modules/inputs.d.ts +10 -0
- package/types/razor-js/modules/look.d.ts +6 -0
- package/types/razor-js/modules/overlays.d.ts +5 -0
- package/types/razor-js/modules/pageListeners.d.ts +1 -0
- package/types/razor-js/modules/popovers.d.ts +1 -0
- package/types/razor-js/modules/serverBridge.d.ts +13 -0
- package/types/razor-js/modules/shared.d.ts +15 -0
- package/types/razor-js/modules/shell.d.ts +1 -0
- package/types/razor-js/modules/splitView.d.ts +2 -0
- package/types/razor-js/modules/tables.d.ts +9 -0
- package/types/razor-js/modules/tabs.d.ts +1 -0
- package/types/razor-js/modules/themeCopy.d.ts +2 -0
- package/types/razor-js/modules/toast.d.ts +3 -0
- package/types/razor-js/modules/validation.d.ts +11 -0
- package/types/razor-js/modules/widgets.d.ts +9 -0
- package/types/razor-js/webority-ui.d.ts +48 -0
- package/types/relativeTime.d.ts +10 -0
- package/types/richText.d.ts +2 -0
- package/types/richTextAdapter.d.ts +54 -0
- package/types/richTextIcons.d.ts +1 -0
- package/types/rowDrop.d.ts +12 -0
- package/types/scrollEdges.d.ts +10 -0
- package/types/select/chips.d.ts +2 -0
- package/types/select/country.d.ts +2 -0
- package/types/select/customRule.d.ts +3 -0
- package/types/select/list.d.ts +32 -0
- package/types/select/option.d.ts +21 -0
- package/types/select/part.d.ts +103 -0
- package/types/select/partRegistry.d.ts +7 -0
- package/types/select/parts.d.ts +1 -0
- package/types/select/partsGlobal.d.ts +4 -0
- package/types/select/recents.d.ts +2 -0
- package/types/select/remote.d.ts +2 -0
- package/types/select/search.d.ts +5 -0
- package/types/server/drawerDiscard.d.ts +9 -0
- package/types/server/index.d.ts +9 -0
- package/types/server/remoteModal.d.ts +96 -0
- package/types/server/serverActions.d.ts +33 -0
- package/types/server/serverTable.d.ts +48 -0
- package/types/server/shellParts.d.ts +24 -0
- package/types/server/toastAction.d.ts +7 -0
- package/types/server/toastHeader.d.ts +8 -0
- package/types/server/unsavedChanges.d.ts +17 -0
- package/types/server/wuiHttp.d.ts +86 -0
- package/types/shortcutKeys.d.ts +59 -0
- package/types/statusIconImages.d.ts +1 -0
- package/types/statusIcons.d.ts +12 -0
- package/types/stepperHeader.d.ts +31 -0
- package/types/submitOnce.d.ts +3 -0
- package/types/tableSelect.d.ts +34 -0
- package/types/textMatch.d.ts +9 -0
- package/types/themeTransition.d.ts +88 -0
- package/types/toastTypes.d.ts +20 -0
- package/types/tokenCommit.d.ts +13 -0
- package/types/tourAdvance.d.ts +51 -0
- package/types/tourEnd.d.ts +17 -0
- package/types/tourGlobal.d.ts +4 -0
- package/types/tourIsolated.d.ts +2 -0
- package/types/tourMedia.d.ts +19 -0
- package/types/tourMotion.d.ts +20 -0
- package/types/tourOpenMark.d.ts +1 -0
- package/types/tourPlacement.d.ts +24 -0
- package/types/tourProgress.d.ts +29 -0
- package/types/tourSeenStore.d.ts +12 -0
- package/types/zone.d.ts +24 -0
- package/types/zoneCountries.g.d.ts +1 -0
- package/dist/WuiCarousel-C2NWcFxr.js +0 -1
- package/dist/WuiCodeBlock-CCCJwsk5.js +0 -1
- package/dist/WuiCommandPalette-Bfrbocu6.js +0 -2
- package/dist/WuiCommentThread-Dx3vvBWp.js +0 -1
- package/dist/WuiConsentBanner-jkeRiC1_.js +0 -1
- package/dist/WuiContextMenu-KXD8TFfy.js +0 -1
- package/dist/WuiDataTable-DAxAegnG.js +0 -1
- package/dist/WuiDatePicker-kEyyILbM.js +0 -31
- package/dist/WuiDateRange-B05PsdJ3.js +0 -25
- package/dist/WuiDock-Bd2ijOaJ.js +0 -1
- package/dist/WuiDrawer-SkxcDhgf.js +0 -1
- package/dist/WuiHoverCard-Bqapy8Is.js +0 -1
- package/dist/WuiImageCrop-DzzzPagi.js +0 -17
- package/dist/WuiInlineEdit-BqgKfVMy.js +0 -1
- package/dist/WuiLeadPopup-Dwmg7coE.js +0 -382
- package/dist/WuiLightbox-DCTE3ULH.js +0 -1
- package/dist/WuiMarkdown-D5vm4sp4.js +0 -4
- package/dist/WuiMentionInput-Bi3VQoKo.js +0 -1
- package/dist/WuiNavigationMenu-DmH3waKW.js +0 -1
- package/dist/WuiNotificationCenter-DawJRGBc.js +0 -1
- package/dist/WuiOnboardingChecklist-DXUETu1h.js +0 -1
- package/dist/WuiOrgTree-DuaBtFl9.js +0 -1
- package/dist/WuiOverflow-DP3qEbDp.js +0 -1
- package/dist/WuiPhone-CFne_6XG.js +0 -16
- package/dist/WuiRating-DhhqYj5Z.js +0 -1
- package/dist/WuiRecordPager-BOaFcs_W.js +0 -1
- package/dist/WuiRelativeTime-BG6rgUhw.js +0 -1
- package/dist/WuiResizable-mt9EMhjQ.js +0 -1
- package/dist/WuiRollingNumber-CF3H6l7t.js +0 -1
- package/dist/WuiSavedViews-BMBQUv2K.js +0 -1
- package/dist/WuiSelect-oSJPev4N.js +0 -9
- package/dist/WuiShortcuts-BEvFCIu9.js +0 -1
- package/dist/WuiShowMore-D3VHRZJg.js +0 -1
- package/dist/WuiSlider-2kB__6zU.js +0 -51
- package/dist/WuiSortable-r5iZtzM1.js +0 -1
- package/dist/WuiTimePicker-DqqZPv0T.js +0 -9
- package/dist/WuiTour-B-V1PZnw.js +0 -1
- package/dist/WuiTree-B3cnH1PG.js +0 -1
- package/dist/WuiTruncate-DyDQWMBu.js +0 -1
- package/dist/WuiWhatsNew-B5jK2zwZ.js +0 -1
- package/dist/WuiWizardStep-CIYuIp4a.js +0 -1
- package/dist/buttonClass-Yk0Fwgs6.js +0 -1
- package/dist/calendarMath-BC2wGCD-.js +0 -1
- package/dist/chips-DbhCYoAp.js +0 -2
- package/dist/country-3uo7no9r.js +0 -1
- package/dist/customRule-BE7CusA3.js +0 -1
- package/dist/dataTable-BoyxeUL4.js +0 -1
- package/dist/drawerDiscard-D6YgF59q.js +0 -1
- package/dist/elementBase-DV9IZZCu.js +0 -1
- package/dist/fileViewerMedia-BQ0lVXy9.js +0 -1
- package/dist/fileViewerUi-DQH6_B1a.js +0 -1
- package/dist/filterPopover-DniNyLWI.js +0 -1
- package/dist/formMirror-BMQTenSi.js +0 -1
- package/dist/formatters-Ba0CvsTs.js +0 -1
- package/dist/iconGlyphs.g-BlwTSNXS.js +0 -1
- package/dist/kanban-BtgxVDE-.js +0 -1
- package/dist/listboxKeyNav-DMIvs9d6.js +0 -1
- package/dist/loader-Dw3IkGM0.js +0 -1
- package/dist/recents-BzN7j9kV.js +0 -1
- package/dist/search-CdAH8NGK.js +0 -1
- package/dist/shortcutKeys-CvxSh3bV.js +0 -1
- package/dist/themeTransition-rHRVbhHB.js +0 -1
- package/dist/wuiHttp-BuaTcumE.js +0 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <wui-markdown>: the shared behaviour behind React AppMarkdown's text and Razor <app-markdown>.
|
|
3
|
+
* Both author the Markdown source as plain text and the element draws the blocks:
|
|
4
|
+
*
|
|
5
|
+
* <wui-markdown class="wui-markdown" links="app" headings="text">
|
|
6
|
+
* <pre class="wui-markdown-source">the source</pre>
|
|
7
|
+
* </wui-markdown>
|
|
8
|
+
*
|
|
9
|
+
* Once connected it hides the source (it stays as the no-script fallback and the text the blocks are
|
|
10
|
+
* drawn from) and appends the blocks after it. The blocks come from @webority/markdown-core, the grammar
|
|
11
|
+
* every renderer reads, and every node is built with createElement and textContent, so the source is
|
|
12
|
+
* never read as HTML. The `links` attribute sets which links open and the `resolveLink` property maps
|
|
13
|
+
* an app address to a route; a link that does not open shows its label as text. The `base` attribute is an
|
|
14
|
+
* https origin a relative link resolves against; any other value is ignored. The `isCitation` property
|
|
15
|
+
* says which `[inner]` runs are citations: each draws as a chip button, and a click dispatches a bubbling
|
|
16
|
+
* `wui-markdown-citation` CustomEvent whose `detail` is `{ citation }`, the run's inner text. Changing the
|
|
17
|
+
* source, an attribute, `resolveLink` or `isCitation` redraws. The element is the only writer of what it
|
|
18
|
+
* adds. A root with no source child is left as it is, so React AppMarkdown draws its own blocks inside the
|
|
19
|
+
* same element.
|
|
20
|
+
*/
|
|
21
|
+
import type { FigureRun } from "@webority/markdown-core";
|
|
22
|
+
import { ElementBase } from "./elementBase.ts";
|
|
23
|
+
export type ResolveLink = (href: string) => string | null | undefined;
|
|
24
|
+
export interface MarkdownDrawOptions {
|
|
25
|
+
/** Which links open; any other value draws as "web". */
|
|
26
|
+
links?: string | undefined;
|
|
27
|
+
/** "text" draws a heading as semibold text; any other value draws an h2. */
|
|
28
|
+
headings?: string | undefined;
|
|
29
|
+
/** An https origin a relative link resolves against. */
|
|
30
|
+
base?: string | undefined;
|
|
31
|
+
resolveLink?: ResolveLink | undefined;
|
|
32
|
+
isCitation?: ((inner: string) => boolean) | undefined;
|
|
33
|
+
figureText?: ((text: string) => FigureRun[]) | undefined;
|
|
34
|
+
resolverGeneration?: number | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface DrawnBlock {
|
|
37
|
+
sig: string;
|
|
38
|
+
nodes: Node[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Parses a Markdown source once and draws each block as its own node list. A block's signature covers
|
|
42
|
+
* its content and the policies it is drawn under, so a block whose signature is unchanged can keep its nodes.
|
|
43
|
+
*/
|
|
44
|
+
export declare function drawMarkdownBlocks(doc: Document, source: string, options?: MarkdownDrawOptions): DrawnBlock[];
|
|
45
|
+
/**
|
|
46
|
+
* Draws the blocks of a Markdown source as one flat list of DOM nodes, built with createElement and textContent only.
|
|
47
|
+
*/
|
|
48
|
+
export declare function drawMarkdown(doc: Document, source: string, options?: MarkdownDrawOptions): Node[];
|
|
49
|
+
/**
|
|
50
|
+
* Makes the children of a container show the blocks of a Markdown source. A block whose signature matches
|
|
51
|
+
* the previous block at its index keeps its nodes, so focus, scroll and a finished code block survive a
|
|
52
|
+
* streamed redraw. Nodes go in after `afterNode`, or first when it is null; a node already in place is not moved.
|
|
53
|
+
*
|
|
54
|
+
* @param container
|
|
55
|
+
* @param previous the blocks an earlier call returned
|
|
56
|
+
* @param source
|
|
57
|
+
* @param options
|
|
58
|
+
* @param afterNode
|
|
59
|
+
*/
|
|
60
|
+
export declare function syncMarkdownBlocks(container: Element, previous: DrawnBlock[], source: string, options: MarkdownDrawOptions, afterNode?: Node | null): DrawnBlock[];
|
|
61
|
+
export declare class WuiMarkdown extends ElementBase {
|
|
62
|
+
private _drawn;
|
|
63
|
+
private _blocks;
|
|
64
|
+
private _observer;
|
|
65
|
+
private _connected;
|
|
66
|
+
private _resolveLink;
|
|
67
|
+
private _isCitation;
|
|
68
|
+
private _resolverGeneration;
|
|
69
|
+
private _figureText;
|
|
70
|
+
static get observedAttributes(): string[];
|
|
71
|
+
constructor();
|
|
72
|
+
connectedCallback(): void;
|
|
73
|
+
disconnectedCallback(): void;
|
|
74
|
+
get resolveLink(): ResolveLink | undefined;
|
|
75
|
+
set resolveLink(v: ResolveLink | null | undefined);
|
|
76
|
+
get base(): string | undefined;
|
|
77
|
+
set base(v: unknown);
|
|
78
|
+
get isCitation(): ((inner: string) => boolean) | undefined;
|
|
79
|
+
set isCitation(v: ((inner: string) => boolean) | null | undefined);
|
|
80
|
+
get figureText(): ((text: string) => FigureRun[]) | undefined;
|
|
81
|
+
set figureText(v: ((text: string) => FigureRun[]) | null | undefined);
|
|
82
|
+
attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
|
|
83
|
+
_source(): HTMLPreElement | undefined;
|
|
84
|
+
_render(): void;
|
|
85
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
/** A person the list offers. `value` is the public id the mention carries. */
|
|
3
|
+
export interface MentionPerson {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string | undefined;
|
|
7
|
+
src?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
/** A person mentioned in the text, each listed once. */
|
|
10
|
+
export interface MentionRef {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
export interface MentionText {
|
|
15
|
+
listName: string;
|
|
16
|
+
searching: string;
|
|
17
|
+
noMatch: string;
|
|
18
|
+
searchFailed: string;
|
|
19
|
+
found: (n: number) => string;
|
|
20
|
+
mentioned: (label: string) => string;
|
|
21
|
+
}
|
|
22
|
+
interface MentionQuery {
|
|
23
|
+
start: number;
|
|
24
|
+
end: number;
|
|
25
|
+
text: string;
|
|
26
|
+
}
|
|
27
|
+
/** The most people the list shows at once; a longer match narrows as the person types. */
|
|
28
|
+
export declare const MENTION_MAX_RESULTS: number;
|
|
29
|
+
/** The longest name fragment after "@" that still searches; past it the list closes. */
|
|
30
|
+
export declare const MENTION_MAX_QUERY: number;
|
|
31
|
+
/** The words the element says on its own. The Razor tag helper renders the same list name. */
|
|
32
|
+
export declare const MENTION_TEXT: Readonly<MentionText>;
|
|
33
|
+
/**
|
|
34
|
+
* Builds the shell into `host` from its attributes. Exported so the comment thread adds a box the
|
|
35
|
+
* same way; React and Razor never call it (Razor renders the shell, React leaves the host empty).
|
|
36
|
+
* @param host
|
|
37
|
+
*/
|
|
38
|
+
export declare function buildMentionShell(host: HTMLElement): void;
|
|
39
|
+
export declare class WuiMentionInput extends ElementBase {
|
|
40
|
+
private _wired;
|
|
41
|
+
private _pendingValue;
|
|
42
|
+
private _text;
|
|
43
|
+
private _mentions;
|
|
44
|
+
private _peopleProp;
|
|
45
|
+
private _declared;
|
|
46
|
+
private _loading;
|
|
47
|
+
private _searchFailed;
|
|
48
|
+
private _query;
|
|
49
|
+
private _results;
|
|
50
|
+
private _active;
|
|
51
|
+
private _timer;
|
|
52
|
+
private _searchSeq;
|
|
53
|
+
private _lastSearch;
|
|
54
|
+
private _abort;
|
|
55
|
+
private _onMenuDown;
|
|
56
|
+
private _reposition;
|
|
57
|
+
_reanchor?: (() => void) | null;
|
|
58
|
+
_reanchorScroll?: ((e: Event) => void) | null;
|
|
59
|
+
static get observedAttributes(): string[];
|
|
60
|
+
constructor();
|
|
61
|
+
connectedCallback(): void;
|
|
62
|
+
disconnectedCallback(): void;
|
|
63
|
+
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
64
|
+
/** The stored value: plain text with @[Label](id) for each mention. */
|
|
65
|
+
get value(): string;
|
|
66
|
+
set value(v: unknown);
|
|
67
|
+
/** The people mentioned, each once: [{ id, label }]. */
|
|
68
|
+
get mentions(): MentionRef[];
|
|
69
|
+
/** The people the list offers: [{ value, label, description?, src? }]. */
|
|
70
|
+
get people(): MentionPerson[];
|
|
71
|
+
set people(list: unknown);
|
|
72
|
+
/** True after the people search failed: the list says so instead of "No one matches". New people clears it. */
|
|
73
|
+
get searchFailed(): boolean;
|
|
74
|
+
set searchFailed(b: unknown);
|
|
75
|
+
get loading(): boolean;
|
|
76
|
+
set loading(b: unknown);
|
|
77
|
+
focus(options?: FocusOptions): void;
|
|
78
|
+
/** Empty the box, as after a comment is posted. */
|
|
79
|
+
clear(): void;
|
|
80
|
+
_control(): HTMLTextAreaElement | null;
|
|
81
|
+
_menu(): HTMLElement | null;
|
|
82
|
+
private _requireControl;
|
|
83
|
+
private _requireMenu;
|
|
84
|
+
_load(value: string): void;
|
|
85
|
+
_syncField(): void;
|
|
86
|
+
_emit(): void;
|
|
87
|
+
_onInput(): void;
|
|
88
|
+
_onCaret(e?: Event): void;
|
|
89
|
+
_queryAtCaret(): MentionQuery | null;
|
|
90
|
+
_refresh(): void;
|
|
91
|
+
_answered(text: string): boolean;
|
|
92
|
+
_minChars(): number;
|
|
93
|
+
_debounce(): number;
|
|
94
|
+
_search(text: string): void;
|
|
95
|
+
_fetchPeople(source: string, text: string, mine: number): Promise<void>;
|
|
96
|
+
_isOpen(): boolean;
|
|
97
|
+
_renderMenu(): void;
|
|
98
|
+
_syncState(): void;
|
|
99
|
+
_position(): void;
|
|
100
|
+
_close(): void;
|
|
101
|
+
_setActive(i: number, { reveal }?: {
|
|
102
|
+
reveal?: boolean;
|
|
103
|
+
}): void;
|
|
104
|
+
_onKeyDown(e: KeyboardEvent): void;
|
|
105
|
+
_removeWholeMention(e: KeyboardEvent): void;
|
|
106
|
+
_onMenuClick(e: MouseEvent): void;
|
|
107
|
+
_pick(person: MentionPerson | undefined): void;
|
|
108
|
+
_replace(start: number, end: number, insert: string, mention?: MentionRef): void;
|
|
109
|
+
_onFocusOut(e: FocusEvent): void;
|
|
110
|
+
_announce(message: string): void;
|
|
111
|
+
}
|
|
112
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
export declare class WuiNavigationMenu extends ElementBase {
|
|
3
|
+
_onClick: (e: MouseEvent) => void;
|
|
4
|
+
_onKeyDown: (e: KeyboardEvent) => void;
|
|
5
|
+
_onFocusOut: (e: FocusEvent) => void;
|
|
6
|
+
_onPointerDown: (e: PointerEvent) => void;
|
|
7
|
+
_onResize: () => void;
|
|
8
|
+
constructor();
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
/**
|
|
12
|
+
* Open the panel whose button has `data-key` `key`, closing any other.
|
|
13
|
+
* @param key
|
|
14
|
+
*/
|
|
15
|
+
open(key: string): void;
|
|
16
|
+
/** Close the open panel. `restoreFocus` returns focus to its button. */
|
|
17
|
+
close(restoreFocus?: boolean): void;
|
|
18
|
+
_items(): HTMLElement[];
|
|
19
|
+
_openItem(): HTMLElement | null;
|
|
20
|
+
_isTrigger(el: Element | null | undefined): boolean;
|
|
21
|
+
_entries(): HTMLElement[];
|
|
22
|
+
_links(item: Element): HTMLElement[];
|
|
23
|
+
_set(item: HTMLElement, open: boolean): void;
|
|
24
|
+
_align(panel: Element): void;
|
|
25
|
+
_handleClick(e: MouseEvent): void;
|
|
26
|
+
_handleKeyDown(e: KeyboardEvent): void;
|
|
27
|
+
_linkKey(e: KeyboardEvent, link: HTMLElement): void;
|
|
28
|
+
_teardown(): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
export declare class WuiNotificationCenter extends ElementBase {
|
|
3
|
+
_doc: Document | null;
|
|
4
|
+
_unread: number;
|
|
5
|
+
_busy: boolean;
|
|
6
|
+
_onClick: (e: MouseEvent) => void;
|
|
7
|
+
_onKeyDown: (e: KeyboardEvent) => void;
|
|
8
|
+
_onOutside: (e: MouseEvent) => void;
|
|
9
|
+
_onFocusOut: (e: FocusEvent) => void;
|
|
10
|
+
constructor();
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
get isOpen(): boolean;
|
|
14
|
+
open(): void;
|
|
15
|
+
close({ restoreFocus }?: {
|
|
16
|
+
restoreFocus?: boolean;
|
|
17
|
+
}): void;
|
|
18
|
+
toggle(): void;
|
|
19
|
+
_announceToggle(): void;
|
|
20
|
+
_syncOpen(): void;
|
|
21
|
+
_initialUnread(): number;
|
|
22
|
+
_click(e: MouseEvent): void;
|
|
23
|
+
_key(e: KeyboardEvent): void;
|
|
24
|
+
_markItem(item: HTMLElement): void;
|
|
25
|
+
_markAll(): Promise<void>;
|
|
26
|
+
_pickTab(tab: HTMLElement): void;
|
|
27
|
+
_layoutTabs(): void;
|
|
28
|
+
_filterItems(key: string | undefined): void;
|
|
29
|
+
_applyRead(item: HTMLElement): void;
|
|
30
|
+
_setBusy(busy: boolean): void;
|
|
31
|
+
_render(): void;
|
|
32
|
+
_say(text: string): void;
|
|
33
|
+
_emitRead(ids: string[], all: boolean): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <wui-onboarding-checklist>: the collapse, dismiss and restore of an onboarding checklist. React
|
|
3
|
+
* AppOnboardingChecklist and Razor <app-onboarding-checklist> author the same markup; the element
|
|
4
|
+
* wires it:
|
|
5
|
+
*
|
|
6
|
+
* <wui-onboarding-checklist class="wui-onboarding" [storage-key]>
|
|
7
|
+
* <section class="wui-onboarding-card" [hidden]> hidden once dismissed
|
|
8
|
+
* <button class="wui-onboarding-toggle" aria-expanded aria-controls> collapses the steps
|
|
9
|
+
* <button class="wui-onboarding-dismiss">
|
|
10
|
+
* <ol class="wui-onboarding-steps" [hidden]> hidden while collapsed
|
|
11
|
+
* </section>
|
|
12
|
+
* <button class="wui-onboarding-restore" [hidden]> shown once dismissed
|
|
13
|
+
*
|
|
14
|
+
* The markup is the state: `hidden` on the card is "dismissed", `hidden` on the steps is
|
|
15
|
+
* "collapsed". With `storage-key` a dismissal is kept in localStorage under `wui-onboarding:<key>`
|
|
16
|
+
* and applied when the element connects; restoring forgets it. Events (bubbling):
|
|
17
|
+
* `wui:onboarding:dismiss`, `wui:onboarding:restore` and `wui:onboarding:collapse` { collapsed }.
|
|
18
|
+
*/
|
|
19
|
+
import { ElementBase } from "./elementBase.ts";
|
|
20
|
+
export declare class WuiOnboardingChecklist extends ElementBase {
|
|
21
|
+
_onClick: (e: MouseEvent) => void;
|
|
22
|
+
constructor();
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
get dismissed(): boolean;
|
|
26
|
+
get collapsed(): boolean;
|
|
27
|
+
dismiss(): void;
|
|
28
|
+
restore(): void;
|
|
29
|
+
toggle(): void;
|
|
30
|
+
_setDismissed(dismissed: boolean): void;
|
|
31
|
+
_key(): string | null;
|
|
32
|
+
_stored(): string | null;
|
|
33
|
+
_store(value: string | null): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
export declare class WuiOrgTree extends ElementBase {
|
|
3
|
+
static get observedAttributes(): string[];
|
|
4
|
+
_query: string;
|
|
5
|
+
_snapshot: Map<string | null, boolean> | null;
|
|
6
|
+
_observer: MutationObserver | null;
|
|
7
|
+
_announceTimer: number | undefined;
|
|
8
|
+
_onKeyDown: (e: KeyboardEvent) => void;
|
|
9
|
+
_onClick: (e: MouseEvent) => void;
|
|
10
|
+
_onFocusIn: (e: FocusEvent) => void;
|
|
11
|
+
_onInput: (e: Event) => void;
|
|
12
|
+
_onBeforePrint: () => void;
|
|
13
|
+
_onAfterPrint: () => void;
|
|
14
|
+
constructor();
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
attributeChangedCallback(name: string): void;
|
|
18
|
+
get selected(): string | null;
|
|
19
|
+
set selected(id: string | null | undefined);
|
|
20
|
+
get selectable(): boolean;
|
|
21
|
+
set selectable(on: boolean);
|
|
22
|
+
_items(): HTMLElement[];
|
|
23
|
+
_hasChildren(li: HTMLElement): boolean;
|
|
24
|
+
_isVisible(li: Element): boolean;
|
|
25
|
+
_visibleItems(): HTMLElement[];
|
|
26
|
+
_parentItem(li: HTMLElement): HTMLElement | null;
|
|
27
|
+
_visibleChildren(li: HTMLElement): HTMLElement[];
|
|
28
|
+
_isVisibleItem(el: Element | null): el is HTMLElement;
|
|
29
|
+
_siblingItem(li: HTMLElement, direction: "nextElementSibling" | "previousElementSibling"): HTMLElement | null;
|
|
30
|
+
_setRoving(li: HTMLElement): void;
|
|
31
|
+
_focusItem(li: HTMLElement | null | undefined): void;
|
|
32
|
+
_toggleLabel(li: HTMLElement, open: boolean): string;
|
|
33
|
+
_setExpanded(li: HTMLElement, open: boolean): void;
|
|
34
|
+
_toggle(li: HTMLElement): void;
|
|
35
|
+
_syncToggles(): void;
|
|
36
|
+
_applySelected(): void;
|
|
37
|
+
_select(li: HTMLElement): void;
|
|
38
|
+
_activate(li: HTMLElement): void;
|
|
39
|
+
_handleFocusIn(e: FocusEvent): void;
|
|
40
|
+
_handleClick(e: MouseEvent): void;
|
|
41
|
+
_handleKeyDown(e: KeyboardEvent): void;
|
|
42
|
+
_handleInput(e: Event): void;
|
|
43
|
+
_search(query: string): void;
|
|
44
|
+
_captureExpanded(): Map<string | null, boolean>;
|
|
45
|
+
_restore(snapshot: Map<string | null, boolean>): void;
|
|
46
|
+
_applySearch(query: string): void;
|
|
47
|
+
_resultText(): string;
|
|
48
|
+
_announce(text: string): void;
|
|
49
|
+
_scaleForPrint(): void;
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
export declare class WuiOtp extends ElementBase {
|
|
3
|
+
static formAssociated: boolean;
|
|
4
|
+
static get observedAttributes(): string[];
|
|
5
|
+
_value: string;
|
|
6
|
+
_defaultValue: string | undefined;
|
|
7
|
+
_defaultCaptured: boolean | undefined;
|
|
8
|
+
_rendered: boolean | undefined;
|
|
9
|
+
_onSelectionChange: (() => void) | undefined;
|
|
10
|
+
_internals: ElementInternals | null;
|
|
11
|
+
get length(): number;
|
|
12
|
+
set length(v: number | string);
|
|
13
|
+
get mode(): "numeric" | "alphanumeric";
|
|
14
|
+
set mode(v: string | null | undefined);
|
|
15
|
+
get value(): string;
|
|
16
|
+
set value(v: unknown);
|
|
17
|
+
/** Strip anything the mode does not allow, then cap at `length`. */
|
|
18
|
+
_clean(raw: unknown): string;
|
|
19
|
+
constructor();
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
formResetCallback(): void;
|
|
22
|
+
attributeChangedCallback(name: string, _old: string | null, val: string | null): void;
|
|
23
|
+
render(): void;
|
|
24
|
+
_refs(): {
|
|
25
|
+
input: HTMLInputElement | null;
|
|
26
|
+
slots: HTMLElement[];
|
|
27
|
+
};
|
|
28
|
+
/** Mirror the value into the segment spans and mark the one the caret sits in. */
|
|
29
|
+
_paint(): void;
|
|
30
|
+
_wire(): void;
|
|
31
|
+
disconnectedCallback(): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
export declare class WuiOverflow extends ElementBase {
|
|
3
|
+
_more: HTMLButtonElement;
|
|
4
|
+
_menu: HTMLDivElement;
|
|
5
|
+
_hiddenKey: string;
|
|
6
|
+
_ro: ResizeObserver | null;
|
|
7
|
+
_mo: MutationObserver | null;
|
|
8
|
+
_observedList: Element | null;
|
|
9
|
+
_doc: Document | null;
|
|
10
|
+
_onDocDown: (e: PointerEvent) => void;
|
|
11
|
+
constructor();
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
static get observedAttributes(): string[];
|
|
15
|
+
attributeChangedCallback(): void;
|
|
16
|
+
_label(): string;
|
|
17
|
+
_list(): HTMLElement | null;
|
|
18
|
+
_items(list: HTMLElement): HTMLElement[];
|
|
19
|
+
_build(): void;
|
|
20
|
+
_watch(): void;
|
|
21
|
+
/** Re-decides which items fit. Safe to call at any time. */
|
|
22
|
+
layout(): void;
|
|
23
|
+
_hiddenItems(): HTMLElement[];
|
|
24
|
+
_fill(hidden: HTMLElement[]): void;
|
|
25
|
+
_choose(item: HTMLElement, action: HTMLElement): void;
|
|
26
|
+
_open(focusFirst: boolean): void;
|
|
27
|
+
_close(restoreFocus: boolean): void;
|
|
28
|
+
_onMenuKey(e: KeyboardEvent): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
export declare class WuiPhone extends ElementBase {
|
|
3
|
+
static formAssociated: boolean;
|
|
4
|
+
static get observedAttributes(): string[];
|
|
5
|
+
_internals: ElementInternals | null;
|
|
6
|
+
_defaultCountry: string;
|
|
7
|
+
_country: string;
|
|
8
|
+
_national: string;
|
|
9
|
+
_active: number;
|
|
10
|
+
_committedValue: string;
|
|
11
|
+
_validateOnInput: boolean;
|
|
12
|
+
_defaultValue: string | undefined;
|
|
13
|
+
_rendered: boolean | undefined;
|
|
14
|
+
_listboxId: string;
|
|
15
|
+
_suppressCountryRender: boolean;
|
|
16
|
+
_bindGlobal: (() => void) | undefined;
|
|
17
|
+
_teardownGlobals: (() => void) | undefined;
|
|
18
|
+
_onDocClick: ((e: MouseEvent) => void) | null;
|
|
19
|
+
constructor();
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
attributeChangedCallback(name: string, _old: string | null, val: string | null): void;
|
|
22
|
+
formResetCallback(): void;
|
|
23
|
+
get _locked(): string | null;
|
|
24
|
+
get value(): string;
|
|
25
|
+
set value(v: unknown);
|
|
26
|
+
_syncMirror(): void;
|
|
27
|
+
_syncDescribedBy(): void;
|
|
28
|
+
_emitInput(): void;
|
|
29
|
+
_emitChange(): void;
|
|
30
|
+
render(): void;
|
|
31
|
+
_ensureItems(): void;
|
|
32
|
+
_itemEls(): HTMLElement[];
|
|
33
|
+
_visibleItems(): HTMLElement[];
|
|
34
|
+
_wire(): void;
|
|
35
|
+
_teardown(): void;
|
|
36
|
+
disconnectedCallback(): void;
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <wui-rating>: the behaviour of a star rating input. React AppRating and Razor <app-rating> render
|
|
3
|
+
* a radiogroup of labelled radios inside it (arrow keys, focus and the form value are the native
|
|
4
|
+
* radios'); the element keeps the drawn stars in step with the chosen value, and previews the
|
|
5
|
+
* star under the pointer. A `disabled` attribute turns the preview off.
|
|
6
|
+
*/
|
|
7
|
+
import { ElementBase } from "./elementBase.ts";
|
|
8
|
+
export declare class WuiRating extends ElementBase {
|
|
9
|
+
private _onChange;
|
|
10
|
+
private _onOver;
|
|
11
|
+
private _onLeave;
|
|
12
|
+
constructor();
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
_fill(value: number): void;
|
|
16
|
+
_preview(upTo: number): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <wui-relative-time>: keeps the text of its `<time datetime>` child current ("5 minutes ago").
|
|
3
|
+
* React AppRelativeTime and Razor <app-relative-time> render the element with the time's date as
|
|
4
|
+
* the first text and the exact IST time as the tooltip; this swaps the text in on connect and
|
|
5
|
+
* every 30 seconds after, for all instances on one timer that stops with the last one. A hidden
|
|
6
|
+
* tab skips the tick and catches up when it is shown again. A change to the child (a new
|
|
7
|
+
* `datetime`, a re-render) is re-read at once.
|
|
8
|
+
*/
|
|
9
|
+
import { ElementBase } from "./elementBase.ts";
|
|
10
|
+
export declare const RELATIVE_TICK_MS = 30000;
|
|
11
|
+
export declare class WuiRelativeTime extends ElementBase {
|
|
12
|
+
private _observer;
|
|
13
|
+
constructor();
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
refresh(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <wui-resizable>: panels the person resizes by dragging a handle or with the keyboard. The behaviour
|
|
3
|
+
* behind React AppResizable and Razor <app-resizable>; it decorates server-rendered markup and draws
|
|
4
|
+
* nothing of its own. Direct children, in order:
|
|
5
|
+
*
|
|
6
|
+
* <wui-resizable class="wui-resizable" direction="horizontal" storage-key="inbox-split">
|
|
7
|
+
* <div class="wui-resizable-panel" data-default-size="30" data-min-size="15" data-max-size="60">...</div>
|
|
8
|
+
* <div class="wui-resizable-handle" role="separator" tabindex="0" aria-orientation="vertical"></div>
|
|
9
|
+
* <div class="wui-resizable-panel">...</div>
|
|
10
|
+
* </wui-resizable>
|
|
11
|
+
*
|
|
12
|
+
* A handle resizes the panel before it against the panel after it. Sizes are percentages of the room
|
|
13
|
+
* the panels share (the handles' own width is left out) and always add up to 100; a panel without
|
|
14
|
+
* `data-default-size` shares what the sized ones leave. `data-min-size` defaults to 10, `data-max-size`
|
|
15
|
+
* to 100. The element writes each panel's `flex` and the handle's aria-valuenow, -valuemin, -valuemax and
|
|
16
|
+
* aria-controls (WAI-ARIA window splitter).
|
|
17
|
+
*
|
|
18
|
+
* Attributes
|
|
19
|
+
* direction horizontal (default: panels side by side) | vertical (stacked; give the group a height).
|
|
20
|
+
* storage-key Remember the sizes in localStorage under this key (one per screen). A stored layout
|
|
21
|
+
* that no longer fits the panels is ignored.
|
|
22
|
+
*
|
|
23
|
+
* Pointer and touch drag a handle (pointer capture, so the drag survives leaving it); the arrow keys of
|
|
24
|
+
* the axis move it 5%, with Shift 20%; Home and End take the panel before it to its minimum and maximum;
|
|
25
|
+
* double click or double tap restores the default sizes.
|
|
26
|
+
*
|
|
27
|
+
* Event (bubbles)
|
|
28
|
+
* wui-resizable:change detail { sizes } after a drag or key press that changed the layout, and
|
|
29
|
+
* after a reset; never while a drag is still moving.
|
|
30
|
+
*/
|
|
31
|
+
import { ElementBase } from "./elementBase.ts";
|
|
32
|
+
interface HandleHit {
|
|
33
|
+
handle: HTMLElement;
|
|
34
|
+
index: number;
|
|
35
|
+
}
|
|
36
|
+
/** Sizes within each panel's bounds that add up to 100, spreading any shortfall over the panels with room. */
|
|
37
|
+
export declare function fitSizes(sizes: number[], mins: number[], maxs: number[]): number[];
|
|
38
|
+
/** The lowest and highest size panel `index` can take against the panel after it. */
|
|
39
|
+
export declare function pairRange(sizes: number[], index: number, mins: number[], maxs: number[]): [number, number];
|
|
40
|
+
/** Moves `delta` percent from the panel after `index` to the panel at `index`, within both bounds. */
|
|
41
|
+
export declare function resizeAt(sizes: number[], index: number, delta: number, mins: number[], maxs: number[]): number[];
|
|
42
|
+
/** The starting sizes: the declared ones, the rest sharing what is left; scaled to 100 when they do not add up. */
|
|
43
|
+
export declare function defaultSizes(declared: (number | null)[]): number[];
|
|
44
|
+
export declare class WuiResizable extends ElementBase {
|
|
45
|
+
private _panels;
|
|
46
|
+
private _handles;
|
|
47
|
+
private _mins;
|
|
48
|
+
private _maxs;
|
|
49
|
+
private _defaults;
|
|
50
|
+
private _sizes;
|
|
51
|
+
private _drag;
|
|
52
|
+
private _observer;
|
|
53
|
+
private _onPointerDown;
|
|
54
|
+
private _onPointerMove;
|
|
55
|
+
private _onPointerUp;
|
|
56
|
+
private _onPointerCancel;
|
|
57
|
+
private _onKeyDown;
|
|
58
|
+
private _onDoubleClick;
|
|
59
|
+
constructor();
|
|
60
|
+
connectedCallback(): void;
|
|
61
|
+
disconnectedCallback(): void;
|
|
62
|
+
/** The current sizes in percent, one per panel. */
|
|
63
|
+
get sizes(): number[];
|
|
64
|
+
get _vertical(): boolean;
|
|
65
|
+
_sync(): void;
|
|
66
|
+
_render(): void;
|
|
67
|
+
_indexOf(handle: Element): number;
|
|
68
|
+
_handleFor(e: Event): HandleHit | null;
|
|
69
|
+
_storageKey(): string | null;
|
|
70
|
+
_load(count: number): number[] | null;
|
|
71
|
+
_save(): void;
|
|
72
|
+
_commit(before: number[]): void;
|
|
73
|
+
_pointerDown(e: PointerEvent): void;
|
|
74
|
+
_pointerMove(e: PointerEvent): void;
|
|
75
|
+
_pointerUp(e: PointerEvent, cancelled: boolean): void;
|
|
76
|
+
_keyDown(e: KeyboardEvent): void;
|
|
77
|
+
_reset(e: MouseEvent): void;
|
|
78
|
+
}
|
|
79
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ElementBase } from "./elementBase.ts";
|
|
2
|
+
export declare class WuiRichText extends ElementBase {
|
|
3
|
+
static formAssociated: boolean;
|
|
4
|
+
private _value;
|
|
5
|
+
private _lastSet;
|
|
6
|
+
private _committed;
|
|
7
|
+
private _editor;
|
|
8
|
+
private _internals;
|
|
9
|
+
private _initial;
|
|
10
|
+
private _seeded;
|
|
11
|
+
private _abort;
|
|
12
|
+
private get _toolbar();
|
|
13
|
+
private get _linkbar();
|
|
14
|
+
private get _linkInput();
|
|
15
|
+
private get _linkError();
|
|
16
|
+
private get _mounted();
|
|
17
|
+
static get observedAttributes(): string[];
|
|
18
|
+
constructor();
|
|
19
|
+
get value(): string;
|
|
20
|
+
set value(next: string | null | undefined);
|
|
21
|
+
get format(): "html" | "markdown";
|
|
22
|
+
set format(v: string | null | undefined);
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
attributeChangedCallback(name: string): void;
|
|
26
|
+
formResetCallback(): void;
|
|
27
|
+
focus(options?: FocusOptions): void;
|
|
28
|
+
_surfaceAttributes(): Record<string, string>;
|
|
29
|
+
_build(): void;
|
|
30
|
+
_teardown(): void;
|
|
31
|
+
_isEditable(): boolean;
|
|
32
|
+
_syncEditable(): void;
|
|
33
|
+
_syncMirror(): void;
|
|
34
|
+
_syncValidity(): void;
|
|
35
|
+
_afterValueChange(): void;
|
|
36
|
+
_onEdit(): void;
|
|
37
|
+
_onBlur(): void;
|
|
38
|
+
_buttons(): HTMLButtonElement[];
|
|
39
|
+
_syncToolbar(): void;
|
|
40
|
+
_wire(): void;
|
|
41
|
+
_toolbarKey(e: KeyboardEvent): void;
|
|
42
|
+
_openLinkBar(): void;
|
|
43
|
+
_closeLinkBar(): void;
|
|
44
|
+
_applyLink(): void;
|
|
45
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <wui-rolling-number>: a figure that rolls its digits to a new value. React AppRollingNumber and
|
|
3
|
+
* Razor <app-rolling-number> render the final text (read once by a screen reader) and an empty
|
|
4
|
+
* aria-hidden roll. This element keeps that text current, formats `value` with the shared
|
|
5
|
+
* formatters, draws one reel per digit in the roll and, when `value` changes, moves each reel to
|
|
6
|
+
* its new digit. Non-digit characters (the rupee sign, commas, the point) stay put. The first draw
|
|
7
|
+
* never animates, and under prefers-reduced-motion the roll is left empty so the plain text shows
|
|
8
|
+
* and nothing moves.
|
|
9
|
+
*/
|
|
10
|
+
import { ElementBase } from "./elementBase.ts";
|
|
11
|
+
export declare class WuiRollingNumber extends ElementBase {
|
|
12
|
+
private _connected;
|
|
13
|
+
private _signature;
|
|
14
|
+
private _digits;
|
|
15
|
+
private _reels;
|
|
16
|
+
private _roll;
|
|
17
|
+
private _onRollEnd;
|
|
18
|
+
static get observedAttributes(): string[];
|
|
19
|
+
constructor();
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
disconnectedCallback(): void;
|
|
22
|
+
attributeChangedCallback(): void;
|
|
23
|
+
_text(): string | null;
|
|
24
|
+
_showText(text: string): void;
|
|
25
|
+
_clear(roll: HTMLElement): void;
|
|
26
|
+
_draw(animate: boolean): void;
|
|
27
|
+
}
|