@webority/ui-elements 0.164.0 → 0.167.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/LICENSE +1 -1
- package/dist/WuiCarousel-CRx2-eKV.js +1 -0
- package/dist/WuiCodeBlock-DTckR_z3.js +1 -0
- package/dist/WuiCommandPalette-CSzl5yGf.js +2 -0
- package/dist/WuiCommentThread-AYovTYSA.js +1 -0
- package/dist/WuiConsentBanner-CWvXnwBH.js +1 -0
- package/dist/WuiContextMenu-CyejQsef.js +1 -0
- package/dist/WuiDataTable-BniN81KC.js +1 -0
- package/dist/WuiDatePicker-q0s8tL_E.js +31 -0
- package/dist/WuiDateRange-p2r5A9CY.js +25 -0
- package/dist/WuiDrawer-CQ7nRHUD.js +1 -0
- package/dist/WuiDropdown-BQC04Q48.js +1 -0
- package/dist/WuiEntryGrid-DPAYNu1v.js +3 -0
- package/dist/{WuiHoverCard-FL38ANLM.js → WuiHoverCard-DRZh88zM.js} +1 -1
- package/dist/WuiImageCrop-BTY59Qsm.js +17 -0
- package/dist/WuiInlineEdit-CEjs5Ruk.js +1 -0
- package/dist/WuiLeadPopup-L9UCTVA5.js +382 -0
- package/dist/WuiLightbox-DDQAOabU.js +1 -0
- package/dist/WuiMentionInput-CkhrCz_2.js +1 -0
- package/dist/{WuiModal-DvSt_466.js → WuiModal-BRILsSMq.js} +1 -1
- package/dist/{WuiNavigationMenu-Dlo-n-cL.js → WuiNavigationMenu-BCnqv7e-.js} +1 -1
- package/dist/WuiNotificationCenter-BCXT3Y7m.js +1 -0
- package/dist/WuiOrgTree-5v0vqPVk.js +1 -0
- package/dist/WuiOverflow-DtetLQHW.js +1 -0
- package/dist/WuiPhone-B6jgFRSi.js +16 -0
- package/dist/WuiPopover-BzVxNSs1.js +1 -0
- package/dist/WuiRecordPager-Dye7AfCS.js +1 -0
- package/dist/{WuiRelativeTime-CmlKD-97.js → WuiRelativeTime-DTGKGHbK.js} +1 -1
- package/dist/WuiSavedViews-BsAyuOzX.js +1 -0
- package/dist/WuiSelect-CMHoPHlx.js +9 -0
- package/dist/WuiShortcuts-DSjwaZx7.js +1 -0
- package/dist/WuiShowMore-CGhWrlmK.js +1 -0
- package/dist/WuiSlider-J9YPWu9e.js +51 -0
- package/dist/WuiSortable-BfOm57Mj.js +1 -0
- package/dist/WuiTimePicker-C5XouoR7.js +9 -0
- package/dist/WuiTour-BDOGWyNA.js +1 -0
- package/dist/WuiTree-CeYbyaCx.js +1 -0
- package/dist/{WuiWhatsNew-B2mM4MHE.js → WuiWhatsNew-DOo54GiH.js} +1 -1
- package/dist/WuiWizardStep-Ce6O_8oc.js +1 -0
- package/dist/calendarMath-CFjBxJYM.js +1 -0
- package/dist/carousel.g-Bw_pFDzc.js +1 -0
- package/dist/chips-CemguTKJ.js +2 -0
- package/dist/codeBlock.g-BCF2IlK-.js +1 -0
- package/dist/commandPalette.g-DFWnCufa.js +1 -0
- package/dist/commentText-NWsssKvj.js +1 -0
- package/dist/consentBanner.g-CZAb1BLJ.js +1 -0
- package/dist/country-B7jmc--B.js +1 -0
- package/dist/customRule-BXJdj57A.js +1 -0
- package/dist/customRule.g-Cfkl3_ZC.js +1 -0
- package/dist/dataTable-CKz4Oncc.js +1 -0
- package/dist/dataTable.g-BVxhub_d.js +1 -0
- package/dist/datePicker.g-CT9FBY21.js +1 -0
- package/dist/dateRangePicker.g-Pnc37vgX.js +1 -0
- package/dist/digitGrouping-CCPI3HK3.js +1 -0
- package/dist/drawer.g-B-zYKBfQ.js +1 -0
- package/dist/drawerDiscard-BjykHS_G.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/drawer.js +1 -1
- package/dist/elements/dropdown.js +1 -1
- package/dist/elements/entry-grid.js +1 -0
- 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/mention-input.js +1 -1
- package/dist/elements/modal.js +1 -1
- package/dist/elements/navigation-menu.js +1 -1
- package/dist/elements/notification-center.js +1 -1
- package/dist/elements/org-tree.js +1 -1
- package/dist/elements/overflow.js +1 -1
- package/dist/elements/phone.js +1 -1
- package/dist/elements/popover.js +1 -1
- package/dist/elements/record-pager.js +1 -1
- package/dist/elements/relative-time.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/timepicker.js +1 -1
- package/dist/elements/tour.js +1 -1
- package/dist/elements/tree.js +1 -1
- package/dist/elements/whats-new.js +1 -1
- package/dist/elements/wizard.js +1 -1
- package/dist/fileViewer.g-B5XQ5WKr.js +1 -0
- package/dist/fileViewerImage-B0Q9zdgW.js +3 -0
- package/dist/fileViewerMedia-D3fdG-Ti.js +1 -0
- package/dist/fileViewerPdf-DeRWa1JE.js +20 -0
- package/dist/{filterPopover-CYzUbKN0.js → filterPopover-DmeVG4_N.js} +1 -1
- package/dist/formatters-Dy4kQQ_h.js +1 -0
- package/dist/formatters.g-BNAu1PMe.js +1 -0
- package/dist/helpers.js +1 -1
- package/dist/httpFailure.g-DBKzEpAf.js +1 -0
- package/dist/iconGlyphs.g-DxSJLQJ8.js +1 -0
- package/dist/imageCrop.g-BnbAeH2Q.js +1 -0
- package/dist/inlineEdit.g-ZxRNYq0t.js +1 -0
- package/dist/inlineEditText-BUO5sZxN.js +1 -0
- package/dist/isDrawn-BbF4phmB.js +1 -0
- package/dist/kanban-CEZmyYFY.js +1 -0
- package/dist/kanban.g-dtKYyIpr.js +1 -0
- package/dist/kanbanModel-Dp5c1rTs.js +1 -0
- package/dist/leadPopup.g-BfMPz9nH.js +1 -0
- package/dist/lightbox.g-DDrycPou.js +1 -0
- package/dist/loader-CQJFj96n.js +1 -0
- package/dist/mentionInput.g-DJo6d2Gm.js +1 -0
- package/dist/menuKeyNav-CstMzU08.js +1 -0
- package/dist/nativeOverlay-C1Rw2gIW.js +1 -0
- package/dist/notificationCentre.g-UsAurkUz.js +1 -0
- package/dist/notificationDays-B7cbYu4q.js +1 -0
- package/dist/{optionLabel-4xjXWy74.js → optionLabel-B2cU4Ax0.js} +1 -1
- package/dist/orgTree.g-CIg75quV.js +1 -0
- package/dist/overflow.g-BfcGEhwR.js +1 -0
- package/dist/passwordRules.g-CMYrohdd.js +1 -0
- package/dist/phone.g-P66U-SK5.js +1 -0
- package/dist/recents-BQ0fD7Y0.js +1 -0
- package/dist/relativeTime-CdFw-ekO.js +1 -0
- package/dist/relativeTime.g-BH90tjJM.js +1 -0
- package/dist/rowDrop.g-DQpB10Ey.js +1 -0
- package/dist/savedViews.g-CzzEliTR.js +1 -0
- package/dist/search-Cj1YQUwK.js +1 -0
- package/dist/search.g-B5d1s59A.js +1 -0
- package/dist/server.js +1 -1
- package/dist/shell.g-C2Ht5xl2.js +1 -0
- package/dist/shortcutKeys-DmPiY4T7.js +1 -0
- package/dist/shortcutKeys.g-C0TeAfYL.js +1 -0
- package/dist/showMore.g-BdQ5MUSd.js +1 -0
- package/dist/slider.g-BPNfxZEV.js +1 -0
- package/dist/sortable.g-BsTKys5-.js +1 -0
- package/dist/tableSelect.g-DKZqXQT_.js +1 -0
- package/dist/text/en.json +1278 -0
- package/dist/text.js +1 -0
- package/dist/textStore-opIEM4lu.js +1 -0
- package/dist/themeTransition-CDB0Mx61.js +1 -0
- package/dist/timePicker.g-DM61i-ZE.js +1 -0
- package/dist/tourAdvance.g-BJqDnqag.js +1 -0
- package/dist/tree.g-RId8xZSk.js +1 -0
- package/dist/ui-calendar.global.js +1 -1
- package/dist/ui-calendar.js +1 -1
- package/dist/ui-chart.global.js +2 -2
- package/dist/ui-chart.js +2 -2
- 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 +12 -12
- package/dist/ui-elements/drawer.global.js +1 -1
- package/dist/ui-elements/dropdown.global.js +1 -1
- package/dist/ui-elements/entry-grid.global.js +3 -0
- package/dist/ui-elements/glyphs.global.js +1 -1
- package/dist/ui-elements/image-crop.global.js +8 -8
- 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 +50 -50
- package/dist/ui-elements/lightbox.global.js +1 -1
- package/dist/ui-elements/markdown.global.js +1 -1
- package/dist/ui-elements/org-tree.global.js +1 -1
- package/dist/ui-elements/phone.global.js +9 -9
- package/dist/ui-elements/popover.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 +13 -13
- package/dist/ui-elements/sortable.global.js +1 -1
- package/dist/ui-elements/status-icon.global.js +1 -1
- package/dist/ui-elements/timepicker.global.js +4 -4
- 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 +21 -21
- 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-rich-text.global.js +8 -8
- package/dist/ui-rich-text.js +8 -8
- package/dist/ui-tour.global.js +1 -1
- package/dist/wizard.g-DOZSBUc5.js +1 -0
- package/package.json +15 -13
- package/types/WuiCarousel.d.ts +0 -8
- package/types/WuiChart.d.ts +1 -1
- package/types/WuiCommentThread.d.ts +1 -1
- package/types/WuiDateRange.d.ts +2 -0
- package/types/WuiDrawer.d.ts +1 -1
- package/types/WuiDropdown.d.ts +8 -1
- package/types/WuiEntryGrid.d.ts +29 -0
- package/types/WuiInlineEdit.d.ts +3 -2
- package/types/WuiMentionInput.d.ts +0 -10
- package/types/WuiPhone.d.ts +2 -0
- package/types/WuiPopover.d.ts +1 -0
- package/types/WuiSlider.d.ts +3 -0
- package/types/WuiTour.d.ts +1 -12
- package/types/avatarPicker.d.ts +0 -13
- package/types/calendarMath.d.ts +0 -2
- package/types/chartAdapter.d.ts +1 -0
- package/types/chartSpec.d.ts +0 -4
- package/types/commentText.d.ts +0 -35
- package/types/dataTable.d.ts +6 -8
- package/types/digitGrouping.d.ts +11 -0
- package/types/elements/comment-thread.d.ts +2 -2
- package/types/elements/data-table.d.ts +1 -1
- package/types/elements/entry-grid.d.ts +2 -0
- package/types/elements/inline-edit.d.ts +2 -2
- package/types/elements/mention-input.d.ts +2 -2
- package/types/formatters.d.ts +15 -3
- package/types/global/core.d.ts +9 -9
- package/types/global/shared.d.ts +10 -0
- package/types/globals.d.ts +6 -5
- package/types/helpers.d.ts +10 -9
- package/types/index.d.ts +2 -3
- package/types/inlineEditText.d.ts +2 -25
- package/types/isDrawn.d.ts +1 -0
- package/types/kanbanModel.d.ts +0 -32
- package/types/nativeOverlay.d.ts +2 -0
- package/types/notificationDays.d.ts +0 -19
- package/types/passwordRules.d.ts +0 -2
- package/types/razor-js/modules/fieldChecks.d.ts +1 -0
- package/types/razor-js/modules/serverRules.d.ts +9 -0
- package/types/razor-js/modules/validation.d.ts +7 -0
- package/types/server/drawerDiscard.d.ts +0 -5
- package/types/server/index.d.ts +3 -3
- package/types/server/remoteModal.d.ts +7 -5
- package/types/server/serverActions.d.ts +0 -9
- package/types/server/serverTable.d.ts +0 -11
- package/types/server/unsavedChanges.d.ts +0 -6
- package/types/shortcutKeys.d.ts +3 -3
- package/types/tableSelect.d.ts +0 -2
- package/types/text/index.d.ts +8 -0
- package/types/text/textStore.d.ts +19 -0
- package/types/text/web/accountSwitcher.g.d.ts +4 -0
- package/types/text/web/alert.g.d.ts +4 -0
- package/types/text/web/asyncBlock.g.d.ts +7 -0
- package/types/text/web/avatar.g.d.ts +4 -0
- package/types/text/web/avatarGroup.g.d.ts +4 -0
- package/types/text/web/banner.g.d.ts +4 -0
- package/types/text/web/breadcrumbs.g.d.ts +4 -0
- package/types/text/web/calendar.g.d.ts +20 -0
- package/types/text/web/card.g.d.ts +4 -0
- package/types/text/web/carousel.g.d.ts +13 -0
- package/types/text/web/catalogue.g.d.ts +266 -0
- package/types/text/web/chart.g.d.ts +102 -0
- package/types/text/web/chartCard.g.d.ts +13 -0
- package/types/text/web/check.g.d.ts +4 -0
- package/types/text/web/checkbox.g.d.ts +4 -0
- package/types/text/web/chip.g.d.ts +5 -0
- package/types/text/web/chipGroup.g.d.ts +4 -0
- package/types/text/web/choiceCard.g.d.ts +4 -0
- package/types/text/web/choiceChip.g.d.ts +4 -0
- package/types/text/web/codeBlock.g.d.ts +6 -0
- package/types/text/web/colourField.g.d.ts +7 -0
- package/types/text/web/columnMenu.g.d.ts +4 -0
- package/types/text/web/commandPalette.g.d.ts +12 -0
- package/types/text/web/commentThread.g.d.ts +35 -0
- package/types/text/web/compareTable.g.d.ts +7 -0
- package/types/text/web/confirmDialog.g.d.ts +10 -0
- package/types/text/web/confirmProvider.g.d.ts +4 -0
- package/types/text/web/consentBanner.g.d.ts +18 -0
- package/types/text/web/contextMenu.g.d.ts +5 -0
- package/types/text/web/copyButton.g.d.ts +5 -0
- package/types/text/web/customRule.g.d.ts +4 -0
- package/types/text/web/dataTable.g.d.ts +31 -0
- package/types/text/web/datePicker.g.d.ts +16 -0
- package/types/text/web/dateRangePicker.g.d.ts +22 -0
- package/types/text/web/drawer.g.d.ts +9 -0
- package/types/text/web/dropZone.g.d.ts +8 -0
- package/types/text/web/dropdown.g.d.ts +7 -0
- package/types/text/web/dueDate.g.d.ts +10 -0
- package/types/text/web/entryGrid.g.d.ts +16 -0
- package/types/text/web/errorBoundary.g.d.ts +4 -0
- package/types/text/web/errorSummary.g.d.ts +5 -0
- package/types/text/web/field.g.d.ts +4 -0
- package/types/text/web/fileAttachment.g.d.ts +18 -0
- package/types/text/web/filePicker.g.d.ts +20 -0
- package/types/text/web/fileValidation.g.d.ts +15 -0
- package/types/text/web/fileViewer.g.d.ts +55 -0
- package/types/text/web/filterBar.g.d.ts +15 -0
- package/types/text/web/floatingDock.g.d.ts +4 -0
- package/types/text/web/formatters.g.d.ts +49 -0
- package/types/text/web/formulaSteps.g.d.ts +9 -0
- package/types/text/web/hoverCard.g.d.ts +4 -0
- package/types/text/web/httpFailure.g.d.ts +4 -0
- package/types/text/web/imageCrop.g.d.ts +18 -0
- package/types/text/web/imagePicker.g.d.ts +22 -0
- package/types/text/web/index.g.d.ts +132 -0
- package/types/text/web/infoTip.g.d.ts +4 -0
- package/types/text/web/inlineEdit.g.d.ts +12 -0
- package/types/text/web/input.g.d.ts +11 -0
- package/types/text/web/inputMask.g.d.ts +12 -0
- package/types/text/web/kanban.g.d.ts +33 -0
- package/types/text/web/kbd.g.d.ts +6 -0
- package/types/text/web/kpiTile.g.d.ts +4 -0
- package/types/text/web/labelHelp.g.d.ts +4 -0
- package/types/text/web/leadPopup.g.d.ts +23 -0
- package/types/text/web/lightbox.g.d.ts +12 -0
- package/types/text/web/mentionInput.g.d.ts +11 -0
- package/types/text/web/modal.g.d.ts +14 -0
- package/types/text/web/modalCardRenderer.g.d.ts +5 -0
- package/types/text/web/modalContent.g.d.ts +4 -0
- package/types/text/web/modalForm.g.d.ts +5 -0
- package/types/text/web/navigationMenu.g.d.ts +4 -0
- package/types/text/web/notificationCentre.g.d.ts +24 -0
- package/types/text/web/numberInput.g.d.ts +7 -0
- package/types/text/web/onboardingChecklist.g.d.ts +10 -0
- package/types/text/web/orgTree.g.d.ts +10 -0
- package/types/text/web/otpInput.g.d.ts +5 -0
- package/types/text/web/overflow.g.d.ts +4 -0
- package/types/text/web/pageHeader.g.d.ts +5 -0
- package/types/text/web/passwordRules.g.d.ts +11 -0
- package/types/text/web/periodPicker.g.d.ts +13 -0
- package/types/text/web/person.g.d.ts +4 -0
- package/types/text/web/phone.g.d.ts +12 -0
- package/types/text/web/phoneNumberInput.g.d.ts +6 -0
- package/types/text/web/pricingCard.g.d.ts +4 -0
- package/types/text/web/qrCode.g.d.ts +4 -0
- package/types/text/web/radio.g.d.ts +4 -0
- package/types/text/web/radioGroup.g.d.ts +5 -0
- package/types/text/web/rating.g.d.ts +8 -0
- package/types/text/web/recordPager.g.d.ts +6 -0
- package/types/text/web/relativeTime.g.d.ts +16 -0
- package/types/text/web/repeater.g.d.ts +5 -0
- package/types/text/web/richText.g.d.ts +25 -0
- package/types/text/web/routeError.g.d.ts +12 -0
- package/types/text/web/rowActions.g.d.ts +4 -0
- package/types/text/web/rowDrop.g.d.ts +5 -0
- package/types/text/web/savedViews.g.d.ts +19 -0
- package/types/text/web/scoreScale.g.d.ts +4 -0
- package/types/text/web/search.g.d.ts +6 -0
- package/types/text/web/sectionLeadCapture.g.d.ts +12 -0
- package/types/text/web/segmented.g.d.ts +4 -0
- package/types/text/web/select.g.d.ts +26 -0
- package/types/text/web/shell.g.d.ts +36 -0
- package/types/text/web/shortcutKeys.g.d.ts +10 -0
- package/types/text/web/showMore.g.d.ts +5 -0
- package/types/text/web/skeletonShapes.g.d.ts +4 -0
- package/types/text/web/slider.g.d.ts +9 -0
- package/types/text/web/sortable.g.d.ts +12 -0
- package/types/text/web/sortableList.g.d.ts +4 -0
- package/types/text/web/sparkline.g.d.ts +7 -0
- package/types/text/web/spinner.g.d.ts +4 -0
- package/types/text/web/splash.g.d.ts +4 -0
- package/types/text/web/splitButton.g.d.ts +4 -0
- package/types/text/web/splitView.g.d.ts +19 -0
- package/types/text/web/stepper.g.d.ts +5 -0
- package/types/text/web/switch.g.d.ts +4 -0
- package/types/text/web/tablePagination.g.d.ts +11 -0
- package/types/text/web/tableRows.g.d.ts +4 -0
- package/types/text/web/tableSelect.g.d.ts +5 -0
- package/types/text/web/tableToolbar.g.d.ts +8 -0
- package/types/text/web/tabs.g.d.ts +6 -0
- package/types/text/web/textarea.g.d.ts +5 -0
- package/types/text/web/themeToggle.g.d.ts +10 -0
- package/types/text/web/timePicker.g.d.ts +15 -0
- package/types/text/web/timeline.g.d.ts +4 -0
- package/types/text/web/toast.g.d.ts +9 -0
- package/types/text/web/tour.g.d.ts +12 -0
- package/types/text/web/tourAdvance.g.d.ts +4 -0
- package/types/text/web/tree.g.d.ts +5 -0
- package/types/text/web/unsavedChanges.g.d.ts +6 -0
- package/types/text/web/updateBar.g.d.ts +6 -0
- package/types/text/web/value.g.d.ts +4 -0
- package/types/text/web/whatsNew.g.d.ts +7 -0
- package/types/text/web/wizard.g.d.ts +16 -0
- package/types/text/web/workspaceSwitcher.g.d.ts +8 -0
- package/dist/WuiCarousel-BdhJLo1m.js +0 -1
- package/dist/WuiCodeBlock-7O514Hqe.js +0 -1
- package/dist/WuiCommandPalette-rVScJ2Hy.js +0 -2
- package/dist/WuiCommentThread-5Uz83s1Y.js +0 -1
- package/dist/WuiConsentBanner-Bm7tT3_5.js +0 -1
- package/dist/WuiContextMenu-_ZeequGf.js +0 -1
- package/dist/WuiDataTable-Bb5hxTfn.js +0 -1
- package/dist/WuiDatePicker-BF_GVNaj.js +0 -31
- package/dist/WuiDateRange-B6xh25qZ.js +0 -25
- package/dist/WuiDrawer-BGuq6FAZ.js +0 -1
- package/dist/WuiDropdown-DVTtANwz.js +0 -1
- package/dist/WuiImageCrop-ChvH8GKb.js +0 -17
- package/dist/WuiInlineEdit-DMK1ESdx.js +0 -1
- package/dist/WuiLeadPopup-BmZG0Fk_.js +0 -382
- package/dist/WuiLightbox-BUD0uefB.js +0 -1
- package/dist/WuiMentionInput-Bo9bhe3U.js +0 -1
- package/dist/WuiNotificationCenter-DP-Sf4FQ.js +0 -1
- package/dist/WuiOrgTree-DzeLFQxy.js +0 -1
- package/dist/WuiOverflow-CV5y5zkM.js +0 -1
- package/dist/WuiPhone-BC0MQ6bf.js +0 -16
- package/dist/WuiPopover-CQJLfgm_.js +0 -1
- package/dist/WuiRecordPager-7HVGoFlP.js +0 -1
- package/dist/WuiResizable-KvfLtbCw.js +0 -1
- package/dist/WuiRollingNumber-sfgNzaP0.js +0 -1
- package/dist/WuiSavedViews-CdjavvPC.js +0 -1
- package/dist/WuiSelect-EquDxkz1.js +0 -9
- package/dist/WuiShortcuts-5PhCS5ri.js +0 -1
- package/dist/WuiShowMore-CvdNQXrA.js +0 -1
- package/dist/WuiSlider-D33Y3_t9.js +0 -51
- package/dist/WuiSortable-CBLMNRuZ.js +0 -1
- package/dist/WuiTimePicker-OAP_QRwV.js +0 -9
- package/dist/WuiTour-Dxyv9uNz.js +0 -1
- package/dist/WuiTree-BPT9EZuw.js +0 -1
- package/dist/WuiWizardStep-Cencr-mT.js +0 -1
- package/dist/calendarMath-D6UUgYTD.js +0 -1
- package/dist/chips-Dcf6_wuZ.js +0 -2
- package/dist/commentText-BnX7rA2-.js +0 -1
- package/dist/country-x5lqC5Xu.js +0 -1
- package/dist/customRule-Chp7YwFb.js +0 -1
- package/dist/dataTable-CcH1lBIM.js +0 -1
- package/dist/drawerDiscard-BtPeayNT.js +0 -1
- package/dist/elements/resizable.js +0 -1
- package/dist/elements/rolling-number.js +0 -1
- package/dist/fileViewerImage-XsUnEv6Z.js +0 -3
- package/dist/fileViewerMedia-DTDM69nT.js +0 -1
- package/dist/fileViewerPdf-vlVCKKyK.js +0 -20
- package/dist/fileViewerUi-CprJdtCB.js +0 -1
- package/dist/formatters-ljfITOZ3.js +0 -1
- package/dist/iconGlyphs.g-DPqoOoXy.js +0 -1
- package/dist/inlineEditText-_GFrdJ6F.js +0 -1
- package/dist/kanban-CDaks135.js +0 -1
- package/dist/kanbanModel-BaT75e-b.js +0 -1
- package/dist/loader-B7twHKUy.js +0 -1
- package/dist/menuKeyNav-COGecOjH.js +0 -1
- package/dist/nativeOverlay-BbkCnzFj.js +0 -1
- package/dist/notificationDays-BIWczft0.js +0 -1
- package/dist/recents-Dcw-b5cB.js +0 -1
- package/dist/relativeTime-BahImc8F.js +0 -1
- package/dist/search-C6r6xpep.js +0 -1
- package/dist/shortcutKeys-COVLox98.js +0 -1
- package/dist/themeTransition-Dt7Br1QT.js +0 -1
- package/dist/ui-elements/modal.global.js +0 -1
- package/dist/ui-elements/resizable.global.js +0 -1
- package/dist/zone-BR02ZkHF.js +0 -1
- package/types/WuiResizable.d.ts +0 -79
- package/types/WuiRollingNumber.d.ts +0 -27
- package/types/elements/resizable.d.ts +0 -2
- package/types/elements/rolling-number.d.ts +0 -2
package/types/dataTable.d.ts
CHANGED
|
@@ -15,14 +15,12 @@ export declare const ROW_HEIGHTS: {
|
|
|
15
15
|
cozy: number;
|
|
16
16
|
compact: number;
|
|
17
17
|
};
|
|
18
|
-
export declare const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
notSaved: (label: string, reason?: string) => string;
|
|
25
|
-
};
|
|
18
|
+
export declare const resizeName: (label: string) => string;
|
|
19
|
+
export declare const widthText: (px: number) => string;
|
|
20
|
+
export declare const groupRowsText: (n: number) => string;
|
|
21
|
+
export declare const savedText: (label: string) => string;
|
|
22
|
+
export declare const savedManyText: (n: number) => string;
|
|
23
|
+
export declare const notSavedText: (label: string, reason?: string) => string;
|
|
26
24
|
/** Formats a group's row count the way the group header shows it (Indian digit grouping). */
|
|
27
25
|
export declare const groupCount: (n: number) => string;
|
|
28
26
|
/** Clamps a dragged or typed width to the minimum and rounds it to whole pixels. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** How a number value at rest is grouped: "indian" reads 15,00,000. */
|
|
2
|
+
export declare const DIGIT_GROUPINGS: readonly ["none", "indian"];
|
|
3
|
+
export type DigitGrouping = (typeof DIGIT_GROUPINGS)[number];
|
|
4
|
+
export declare const isDigitGrouping: (value: unknown) => value is DigitGrouping;
|
|
5
|
+
/** The message for a grouping that is not in DIGIT_GROUPINGS. */
|
|
6
|
+
export declare const groupingMessage: (grouping: unknown) => string;
|
|
7
|
+
/**
|
|
8
|
+
* Groups the integer digits of a plain number 3 then 2s from the right (1500000 reads 15,00,000),
|
|
9
|
+
* keeping the sign and the typed fraction exact. Text that is not a plain number is returned as it is.
|
|
10
|
+
*/
|
|
11
|
+
export declare function groupIndianDigits(text: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMMENT_INTENTS, COMMENT_REACTIONS
|
|
1
|
+
import { COMMENT_INTENTS, COMMENT_REACTIONS } from "../commentText.ts";
|
|
2
2
|
import { WuiCommentThread } from "../WuiCommentThread.ts";
|
|
3
3
|
import "./mention-input.ts";
|
|
4
|
-
export { COMMENT_INTENTS, COMMENT_REACTIONS,
|
|
4
|
+
export { COMMENT_INTENTS, COMMENT_REACTIONS, WuiCommentThread };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WuiDataTable } from "../WuiDataTable.ts";
|
|
2
|
-
export { COLUMN_MAX_WIDTH, COLUMN_MIN_WIDTH, clampColumnWidth,
|
|
2
|
+
export { COLUMN_MAX_WIDTH, COLUMN_MIN_WIDTH, clampColumnWidth, groupCount, groupItems, identityCell, measureRows, PIN_AT_VAR, PIN_SIDES, pinAtValue, pinClasses, pinOffsetVar, planPins, playRowMoves, RESIZE_STEP, RESIZE_STEP_LARGE, ROW_HEIGHTS, ROW_MOVE_LIMIT, ROW_MOVE_MS, ROW_SAVE_ATTR, ROW_SAVE_ERROR_CLASS, ROW_SAVE_STATES, readColumnWidths, rowLabel, rowOrderChanged, saveOutcomeText, setRowSaveState, settledRows, VIRTUAL_OVERSCAN, virtualRange, writeColumnWidths, } from "../dataTable.ts";
|
|
3
3
|
export { WuiDataTable };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { INLINE_EDIT_SAVED_MS,
|
|
1
|
+
import { INLINE_EDIT_SAVED_MS, INLINE_EDIT_TYPES, inlineEditText } from "../inlineEditText.ts";
|
|
2
2
|
import { WuiInlineEdit } from "../WuiInlineEdit.ts";
|
|
3
|
-
export { INLINE_EDIT_SAVED_MS,
|
|
3
|
+
export { INLINE_EDIT_SAVED_MS, INLINE_EDIT_TYPES, inlineEditText, WuiInlineEdit };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MENTION_ID_PATTERN, mentionLabel, mentionTextFromValue, mentionValueFromText } from "../mentionText.ts";
|
|
2
|
-
import { MENTION_MAX_QUERY, MENTION_MAX_RESULTS,
|
|
3
|
-
export { MENTION_ID_PATTERN, MENTION_MAX_QUERY, MENTION_MAX_RESULTS,
|
|
2
|
+
import { MENTION_MAX_QUERY, MENTION_MAX_RESULTS, WuiMentionInput } from "../WuiMentionInput.ts";
|
|
3
|
+
export { MENTION_ID_PATTERN, MENTION_MAX_QUERY, MENTION_MAX_RESULTS, mentionLabel, mentionTextFromValue, mentionValueFromText, WuiMentionInput, };
|
package/types/formatters.d.ts
CHANGED
|
@@ -11,8 +11,20 @@ export declare const MONEY_UNITS: readonly MoneyUnit[];
|
|
|
11
11
|
export declare const DURATION_UNITS: readonly DurationUnit[];
|
|
12
12
|
export declare const DATE_PATTERNS: readonly DatePattern[];
|
|
13
13
|
export declare function isMoneyUnit(value: string): value is MoneyUnit;
|
|
14
|
-
/**
|
|
15
|
-
export declare const
|
|
14
|
+
/** The house placeholder for a missing value, a plain hyphen, from the text bundle. */
|
|
15
|
+
export declare const emptyValueLabel: () => string;
|
|
16
|
+
declare const WEEKDAY_KEYS: {
|
|
17
|
+
readonly short: readonly ["sunShortLabel", "monShortLabel", "tueShortLabel", "wedShortLabel", "thuShortLabel", "friShortLabel", "satShortLabel"];
|
|
18
|
+
readonly long: readonly ["sundayLabel", "mondayLabel", "tuesdayLabel", "wednesdayLabel", "thursdayLabel", "fridayLabel", "saturdayLabel"];
|
|
19
|
+
readonly min: readonly ["sunMinLabel", "monMinLabel", "tueMinLabel", "wedMinLabel", "thuMinLabel", "friMinLabel", "satMinLabel"];
|
|
20
|
+
};
|
|
21
|
+
/** The short month name, 0 = January, as in Sep. */
|
|
22
|
+
export declare const monthLabel: (i: number) => string;
|
|
23
|
+
/** The long month name, 0 = January: "September". */
|
|
24
|
+
export declare const monthLongLabel: (i: number) => string;
|
|
25
|
+
export type WeekdayStyle = keyof typeof WEEKDAY_KEYS;
|
|
26
|
+
/** A weekday name, 0 = Sunday, in the short, long or two-letter form. */
|
|
27
|
+
export declare function weekdayLabel(i: number, style: WeekdayStyle): string;
|
|
16
28
|
/** The most fraction digits a format may ask for; Intl.NumberFormat throws past its own limit. */
|
|
17
29
|
export declare const MAX_DECIMALS: number;
|
|
18
30
|
/**
|
|
@@ -106,7 +118,7 @@ export declare function formatValue(value: unknown, format?: FormatOptions): str
|
|
|
106
118
|
*/
|
|
107
119
|
export declare function compactFormatOf(format?: FormatOptions): FormatOptions;
|
|
108
120
|
/**
|
|
109
|
-
* House date-time, "21-Sep-2026, 3:30 PM", in timeZone (default "Asia/Kolkata");
|
|
121
|
+
* House date-time, "21-Sep-2026, 3:30 PM", in timeZone (default "Asia/Kolkata"); the empty-value label for null or an invalid date.
|
|
110
122
|
*
|
|
111
123
|
* @param value
|
|
112
124
|
* @param options
|
package/types/global/core.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { WuiOverflow } from "../WuiOverflow.ts";
|
|
|
10
10
|
import { WuiRating } from "../WuiRating.ts";
|
|
11
11
|
import { WuiRecordPager } from "../WuiRecordPager.ts";
|
|
12
12
|
import { WuiRelativeTime } from "../WuiRelativeTime.ts";
|
|
13
|
-
import { WuiRollingNumber } from "../WuiRollingNumber.ts";
|
|
14
13
|
import { WuiSelect } from "../WuiSelect.ts";
|
|
15
14
|
import { WuiShortcuts } from "../WuiShortcuts.ts";
|
|
16
15
|
import { WuiShowMore } from "../WuiShowMore.ts";
|
|
@@ -24,33 +23,34 @@ declare global {
|
|
|
24
23
|
modules: typeof SHARED_MODULES;
|
|
25
24
|
} | undefined;
|
|
26
25
|
}
|
|
27
|
-
export { AVATAR_ACCEPT, AVATAR_MAX_SIZE_MB, AVATAR_OUTPUT_SIZE, AVATAR_OUTPUT_TYPE, AVATAR_PREVIEW_SIZES,
|
|
26
|
+
export { AVATAR_ACCEPT, AVATAR_MAX_SIZE_MB, AVATAR_OUTPUT_SIZE, AVATAR_OUTPUT_TYPE, AVATAR_PREVIEW_SIZES, avatarCropOptions, avatarUnreadableMessage, isHeicFile, } from "../avatarPicker.ts";
|
|
28
27
|
export { collapseSearch, initCollapsibleSearch, openSearch, SEARCH_OPEN_KEY } from "../collapsibleSearch.ts";
|
|
29
28
|
export { COMMAND_SHORTCUT_ATTRIBUTE, initCommandShortcuts, isCommandChord } from "../commandShortcut.ts";
|
|
30
29
|
export { COPY_FEEDBACK_MS, copyTextToClipboard } from "../copyText.ts";
|
|
31
30
|
export { CURRENCY_SYMBOLS, currencyPrefix, DEFAULT_CURRENCY, isCurrencyCode } from "../currency.ts";
|
|
32
|
-
export { COLUMN_MAX_WIDTH, COLUMN_MIN_WIDTH, clampColumnWidth,
|
|
31
|
+
export { COLUMN_MAX_WIDTH, COLUMN_MIN_WIDTH, clampColumnWidth, groupCount, groupItems, identityCell, measureRows, PIN_AT_VAR, PIN_SIDES, pinAtValue, pinClasses, pinOffsetVar, planPins, playRowMoves, RESIZE_STEP, RESIZE_STEP_LARGE, ROW_HEIGHTS, ROW_MOVE_LIMIT, ROW_MOVE_MS, ROW_SAVE_ATTR, ROW_SAVE_ERROR_CLASS, ROW_SAVE_STATES, readColumnWidths, rowLabel, rowOrderChanged, saveOutcomeText, setRowSaveState, settledRows, VIRTUAL_OVERSCAN, virtualRange, writeColumnWidths, } from "../dataTable.ts";
|
|
33
32
|
export { acceptDroppedFiles, attachFileDrop } from "../fileDrop.ts";
|
|
34
33
|
export { acceptLabel, DEFAULT_IMAGE_ACCEPT, DEFAULT_MAX_SIZE_MB, formatFileSize, isImageFile, isImageOnlyAccept, isPdfFile, matchesAccept, validateFile, } from "../fileValidation.ts";
|
|
35
34
|
export { FILTER_POPOVER_MAX_CHIPS } from "../filterPopover.ts";
|
|
36
|
-
export { CURRENCIES, DATE_PATTERNS, DURATION_UNITS,
|
|
35
|
+
export { CURRENCIES, DATE_PATTERNS, DURATION_UNITS, emptyValueLabel, FORMAT_STYLES, formatCompact, formatCurrency, formatDate, formatDateTime, formatDuration, formatNumber, formatPercent, formatValue, IST_TIME_ZONE, MONEY_UNITS, timeZoneLabel, toInstant, } from "../formatters.ts";
|
|
37
36
|
export { attachInputMask, formatMasked, initInputMasks, isMaskPattern, MASK_INPUT_TYPES, MASK_NAMES, maskedPostValue, postedMasked, rawMasked, resolveMask, } from "../inputMask.ts";
|
|
38
37
|
export { MENTION_ID_PATTERN, mentionedIds, mentionLabel, mentionTextFromValue, mentionValueFromText, parseMentionValue, } from "../mentionText.ts";
|
|
39
|
-
export { groupNotificationsByDay, NOTIFICATION_COUNT_CAP,
|
|
38
|
+
export { groupNotificationsByDay, NOTIFICATION_COUNT_CAP, notificationCountText, notificationDayHeading, notificationTime, notificationTriggerLabel, notificationUnreadAnnouncement, } from "../notificationDays.ts";
|
|
40
39
|
export { withTrustedLabel } from "../optionLabel.ts";
|
|
41
40
|
export { applyBarBulk, BAR_BULK_IN_BAR_ATTRIBUTE, barBulkCountText, initPageBarBulk } from "../pageBarBulk.ts";
|
|
42
|
-
export { buildPasswordRules, DEFAULT_PASSWORD_RULES,
|
|
41
|
+
export { buildPasswordRules, DEFAULT_PASSWORD_RULES, evaluatePassword, passwordSatisfies, } from "../passwordRules.ts";
|
|
43
42
|
export { formatRelativeTime, relativeTimeTitle } from "../relativeTime.ts";
|
|
44
43
|
export { attachRowDrag, DROP_OVER_CLASS, initRowDrag, ROW_DRAG_TYPE, ROW_DROP_EVENT, syncTargets, tickedKeys } from "../rowDrop.ts";
|
|
45
44
|
export { attachScrollEdges, initScrollEdges, SCROLL_EDGE_SELECTOR } from "../scrollEdges.ts";
|
|
46
45
|
export * from "../server/index.ts";
|
|
47
|
-
export { ariaKeyShortcuts, inShortcutScope, isTypingTarget,
|
|
46
|
+
export { ariaKeyShortcuts, inShortcutScope, isTypingTarget, moveFocus, runShortcut, SHORTCUT_EVENT, SHORTCUT_SCOPE_ATTRIBUTE, SHORTCUTS_OFF_ATTRIBUTE, shortcutKey, shortcutName, shortcutsOff, } from "../shortcutKeys.ts";
|
|
48
47
|
export { deriveStepStatus, stepperHeaderItems } from "../stepperHeader.ts";
|
|
49
48
|
export { initSubmitOnce, SUBMIT_ONCE_ATTRIBUTE } from "../submitOnce.ts";
|
|
50
|
-
export { addRowSelectCells, addSelectColumn, attachShiftRange, createSelectHeaderCell, createSelectRowCell, createSelectSpacerCell,
|
|
49
|
+
export { addRowSelectCells, addSelectColumn, attachShiftRange, createSelectHeaderCell, createSelectRowCell, createSelectSpacerCell, SELECT_CELL_CLASS, syncSelectAll, } from "../tableSelect.ts";
|
|
50
|
+
export { fillText, pluralText, readText, setText } from "../text/textStore.ts";
|
|
51
51
|
export { matchSegments } from "../textMatch.ts";
|
|
52
52
|
export { applyTheme, DEFAULT_THEME_EFFECT, DEFAULT_THEME_STORAGE_KEY, nextTheme, readStoredTheme, resolveTheme, storeTheme, THEME_BOOT_SCRIPT_BODY, THEME_CHANGE_EVENT, THEME_EFFECT_DURATION, THEME_EFFECTS, THEME_MODES, THEME_SWITCHING_CLASS, themeBootScript, themeKeyframes, transitionTheme, watchSystemTheme, } from "../themeTransition.ts";
|
|
53
53
|
export { WHATS_NEW_READ_EVENT } from "../WuiWhatsNew.ts";
|
|
54
54
|
export { isTimeZone, todayIn, wallClockOf, zoneOffsetMs, zoneParts } from "../zone.ts";
|
|
55
55
|
export { glyphSvg } from "./glyphs.ts";
|
|
56
|
-
export { WuiDataTable, WuiDatePicker, WuiDock, WuiHoverCard, WuiNavigationMenu, WuiNotificationCenter, WuiOnboardingChecklist, WuiOtp, WuiOverflow, WuiRating, WuiRecordPager, WuiRelativeTime,
|
|
56
|
+
export { WuiDataTable, WuiDatePicker, WuiDock, WuiHoverCard, WuiNavigationMenu, WuiNotificationCenter, WuiOnboardingChecklist, WuiOtp, WuiOverflow, WuiRating, WuiRecordPager, WuiRelativeTime, WuiSelect, WuiShortcuts, WuiShowMore, WuiTruncate, WuiWhatsNew, whenElementsReady, };
|
package/types/global/shared.d.ts
CHANGED
|
@@ -5,12 +5,14 @@ import * as copyText from "../copyText.ts";
|
|
|
5
5
|
import * as dataTable from "../dataTable.ts";
|
|
6
6
|
import * as defineElement from "../defineElement.ts";
|
|
7
7
|
import * as devWarn from "../devWarn.ts";
|
|
8
|
+
import * as dom from "../dom.ts";
|
|
8
9
|
import * as elementBase from "../elementBase.ts";
|
|
9
10
|
import * as fieldState from "../fieldState.ts";
|
|
10
11
|
import * as formatters from "../formatters.ts";
|
|
11
12
|
import * as formMirror from "../formMirror.ts";
|
|
12
13
|
import * as iconGlyphs from "../iconGlyphs.g.ts";
|
|
13
14
|
import * as imeSafeEnter from "../imeSafeEnter.ts";
|
|
15
|
+
import * as isDrawn from "../isDrawn.ts";
|
|
14
16
|
import * as listboxKeyNav from "../listboxKeyNav.ts";
|
|
15
17
|
import * as mentionText from "../mentionText.ts";
|
|
16
18
|
import * as menuKeyNav from "../menuKeyNav.ts";
|
|
@@ -23,6 +25,9 @@ import * as selectRemote from "../select/remote.ts";
|
|
|
23
25
|
import * as wuiHttp from "../server/wuiHttp.ts";
|
|
24
26
|
import * as stepperHeader from "../stepperHeader.ts";
|
|
25
27
|
import * as tableSelect from "../tableSelect.ts";
|
|
28
|
+
import * as textStore from "../text/textStore.ts";
|
|
29
|
+
import * as drawerText from "../text/web/drawer.g.ts";
|
|
30
|
+
import * as selectText from "../text/web/select.g.ts";
|
|
26
31
|
import * as textMatch from "../textMatch.ts";
|
|
27
32
|
import * as tooltips from "../tooltips.ts";
|
|
28
33
|
import * as WuiSelect from "../WuiSelect.ts";
|
|
@@ -37,6 +42,8 @@ export declare const SHARED_MODULES: Readonly<{
|
|
|
37
42
|
dataTable: typeof dataTable;
|
|
38
43
|
defineElement: typeof defineElement;
|
|
39
44
|
devWarn: typeof devWarn;
|
|
45
|
+
dom: typeof dom;
|
|
46
|
+
drawerText: typeof drawerText;
|
|
40
47
|
elementBase: typeof elementBase;
|
|
41
48
|
fieldState: typeof fieldState;
|
|
42
49
|
formatters: typeof formatters;
|
|
@@ -44,6 +51,7 @@ export declare const SHARED_MODULES: Readonly<{
|
|
|
44
51
|
glyphs: typeof glyphs;
|
|
45
52
|
iconGlyphs: typeof iconGlyphs;
|
|
46
53
|
imeSafeEnter: typeof imeSafeEnter;
|
|
54
|
+
isDrawn: typeof isDrawn;
|
|
47
55
|
listboxKeyNav: typeof listboxKeyNav;
|
|
48
56
|
loader: typeof loader;
|
|
49
57
|
mentionText: typeof mentionText;
|
|
@@ -54,9 +62,11 @@ export declare const SHARED_MODULES: Readonly<{
|
|
|
54
62
|
partRegistry: typeof partRegistry;
|
|
55
63
|
selectList: typeof selectList;
|
|
56
64
|
selectRemote: typeof selectRemote;
|
|
65
|
+
selectText: typeof selectText;
|
|
57
66
|
stepperHeader: typeof stepperHeader;
|
|
58
67
|
tableSelect: typeof tableSelect;
|
|
59
68
|
textMatch: typeof textMatch;
|
|
69
|
+
textStore: typeof textStore;
|
|
60
70
|
tooltips: typeof tooltips;
|
|
61
71
|
wuiHttp: typeof wuiHttp;
|
|
62
72
|
WuiSelect: typeof WuiSelect;
|
package/types/globals.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import type { WuiDateRange } from "./WuiDateRange.ts";
|
|
|
17
17
|
import type { WuiDock } from "./WuiDock.ts";
|
|
18
18
|
import type { WuiDrawer } from "./WuiDrawer.ts";
|
|
19
19
|
import type { WuiDropdown } from "./WuiDropdown.ts";
|
|
20
|
+
import type { WuiEntryGrid } from "./WuiEntryGrid.ts";
|
|
20
21
|
import type { WuiFileViewer } from "./WuiFileViewer.ts";
|
|
21
22
|
import type { WuiHoverCard } from "./WuiHoverCard.ts";
|
|
22
23
|
import type { WuiImageCrop } from "./WuiImageCrop.ts";
|
|
@@ -37,9 +38,7 @@ import type { WuiPopover } from "./WuiPopover.ts";
|
|
|
37
38
|
import type { WuiRating } from "./WuiRating.ts";
|
|
38
39
|
import type { WuiRecordPager } from "./WuiRecordPager.ts";
|
|
39
40
|
import type { WuiRelativeTime } from "./WuiRelativeTime.ts";
|
|
40
|
-
import type { WuiResizable } from "./WuiResizable.ts";
|
|
41
41
|
import type { WuiRichText } from "./WuiRichText.ts";
|
|
42
|
-
import type { WuiRollingNumber } from "./WuiRollingNumber.ts";
|
|
43
42
|
import type { WuiSavedViews } from "./WuiSavedViews.ts";
|
|
44
43
|
import type { WuiSelect } from "./WuiSelect.ts";
|
|
45
44
|
import type { WuiShortcuts } from "./WuiShortcuts.ts";
|
|
@@ -68,6 +67,7 @@ export interface WuiElementTagMap {
|
|
|
68
67
|
"wui-dock": WuiDock;
|
|
69
68
|
"wui-drawer": WuiDrawer;
|
|
70
69
|
"wui-dropdown": WuiDropdown;
|
|
70
|
+
"wui-entry-grid": WuiEntryGrid;
|
|
71
71
|
"wui-file-viewer": WuiFileViewer;
|
|
72
72
|
"wui-filter-popover": WuiFilterPopover;
|
|
73
73
|
"wui-hover-card": WuiHoverCard;
|
|
@@ -90,9 +90,7 @@ export interface WuiElementTagMap {
|
|
|
90
90
|
"wui-rating": WuiRating;
|
|
91
91
|
"wui-record-pager": WuiRecordPager;
|
|
92
92
|
"wui-relative-time": WuiRelativeTime;
|
|
93
|
-
"wui-resizable": WuiResizable;
|
|
94
93
|
"wui-rich-text": WuiRichText;
|
|
95
|
-
"wui-rolling-number": WuiRollingNumber;
|
|
96
94
|
"wui-saved-views": WuiSavedViews;
|
|
97
95
|
"wui-select": WuiSelect;
|
|
98
96
|
"wui-shortcuts": WuiShortcuts;
|
|
@@ -139,6 +137,9 @@ export interface WuiEventMap {
|
|
|
139
137
|
"wui-popover-toggle": CustomEvent<{
|
|
140
138
|
open: boolean;
|
|
141
139
|
}>;
|
|
140
|
+
"wui-markdown-citation": CustomEvent<{
|
|
141
|
+
citation: string;
|
|
142
|
+
}>;
|
|
142
143
|
search: CustomEvent<{
|
|
143
144
|
query: string;
|
|
144
145
|
seq: number;
|
|
@@ -151,7 +152,7 @@ declare global {
|
|
|
151
152
|
}
|
|
152
153
|
interface DocumentEventMap extends WuiEventMap {
|
|
153
154
|
}
|
|
154
|
-
var WeborityUiElements: typeof import("./global/core.ts") & Partial<typeof import("./elements/carousel.ts")> & Partial<typeof import("./elements/code-block.ts")> & Partial<typeof import("./elements/command-palette.ts")> & Partial<typeof import("./elements/comment-thread.ts")> & Partial<typeof import("./elements/consent-banner.ts")> & Partial<typeof import("./elements/context-menu.ts")> & Partial<typeof import("./elements/date-range.ts")> & Partial<typeof import("./elements/drawer.ts")> & Partial<typeof import("./elements/dropdown.ts")> & Partial<typeof import("./elements/image-crop.ts")> & Partial<typeof import("./elements/inline-edit.ts")> & Partial<typeof import("./elements/kanban.ts")> & Partial<typeof import("./elements/lead-popup.ts")> & Partial<typeof import("./elements/lightbox.ts")> & Partial<typeof import("./elements/org-tree.ts")> & Partial<typeof import("./elements/markdown.ts")> & Partial<typeof import("./elements/modal.ts")> & Partial<typeof import("./elements/phone.ts")> & Partial<typeof import("./elements/popover.ts")> & Partial<typeof import("./global/parts/select-country.ts")> & Partial<typeof import("./elements/
|
|
155
|
+
var WeborityUiElements: typeof import("./global/core.ts") & Partial<typeof import("./elements/carousel.ts")> & Partial<typeof import("./elements/code-block.ts")> & Partial<typeof import("./elements/command-palette.ts")> & Partial<typeof import("./elements/comment-thread.ts")> & Partial<typeof import("./elements/consent-banner.ts")> & Partial<typeof import("./elements/context-menu.ts")> & Partial<typeof import("./elements/date-range.ts")> & Partial<typeof import("./elements/drawer.ts")> & Partial<typeof import("./elements/dropdown.ts")> & Partial<typeof import("./elements/image-crop.ts")> & Partial<typeof import("./elements/inline-edit.ts")> & Partial<typeof import("./elements/kanban.ts")> & Partial<typeof import("./elements/lead-popup.ts")> & Partial<typeof import("./elements/lightbox.ts")> & Partial<typeof import("./elements/org-tree.ts")> & Partial<typeof import("./elements/markdown.ts")> & Partial<typeof import("./elements/modal.ts")> & Partial<typeof import("./elements/phone.ts")> & Partial<typeof import("./elements/popover.ts")> & Partial<typeof import("./global/parts/select-country.ts")> & Partial<typeof import("./elements/saved-views.ts")> & Partial<typeof import("./global/parts/select-chips.ts")> & Partial<typeof import("./global/parts/select-recents.ts")> & Partial<typeof import("./global/parts/select-search.ts")> & Partial<typeof import("./elements/slider.ts")> & Partial<typeof import("./elements/sortable.ts")> & Partial<typeof import("./elements/status-icon.ts")> & Partial<typeof import("./elements/timepicker.ts")> & Partial<typeof import("./elements/tour.ts")> & Partial<typeof import("./elements/tree.ts")> & Partial<typeof import("./elements/wizard.ts")>;
|
|
155
156
|
var WeborityFileViewer: typeof import("./fileViewer.ts") | undefined;
|
|
156
157
|
var WeborityChart: typeof import("./chart.ts") | undefined;
|
|
157
158
|
var WeborityCalendar: typeof import("./calendar.ts") | undefined;
|
package/types/helpers.d.ts
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
export type { AnchorOptions, OverlaySide } from "./anchorOverlay.ts";
|
|
2
|
-
export { AVATAR_ACCEPT, AVATAR_MAX_SIZE_MB, AVATAR_OUTPUT_SIZE, AVATAR_OUTPUT_TYPE, AVATAR_PREVIEW_SIZES,
|
|
2
|
+
export { AVATAR_ACCEPT, AVATAR_MAX_SIZE_MB, AVATAR_OUTPUT_SIZE, AVATAR_OUTPUT_TYPE, AVATAR_PREVIEW_SIZES, avatarCropOptions, avatarUnreadableMessage, isHeicFile, } from "./avatarPicker.ts";
|
|
3
3
|
export { COMMAND_SHORTCUT_ATTRIBUTE, initCommandShortcuts, isCommandChord } from "./commandShortcut.ts";
|
|
4
|
-
export { COMMENT_INTENTS, COMMENT_REACTIONS,
|
|
4
|
+
export { COMMENT_INTENTS, COMMENT_REACTIONS, type CommentIntent } from "./commentText.ts";
|
|
5
5
|
export { COPY_FEEDBACK_MS, copyTextToClipboard } from "./copyText.ts";
|
|
6
6
|
export { CURRENCY_SYMBOLS, currencyPrefix, DEFAULT_CURRENCY, isCurrencyCode } from "./currency.ts";
|
|
7
|
-
export { COLUMN_MAX_WIDTH, COLUMN_MIN_WIDTH, clampColumnWidth,
|
|
7
|
+
export { COLUMN_MAX_WIDTH, COLUMN_MIN_WIDTH, clampColumnWidth, groupCount, groupItems, identityCell, measureRows, PIN_AT_VAR, PIN_SIDES, pinAtValue, pinClasses, pinOffsetVar, planPins, playRowMoves, RESIZE_STEP, RESIZE_STEP_LARGE, ROW_HEIGHTS, ROW_MOVE_LIMIT, ROW_MOVE_MS, ROW_SAVE_ATTR, ROW_SAVE_ERROR_CLASS, ROW_SAVE_STATES, readColumnWidths, rowLabel, rowOrderChanged, saveOutcomeText, setRowSaveState, settledRows, VIRTUAL_OVERSCAN, virtualRange, writeColumnWidths, } from "./dataTable.ts";
|
|
8
8
|
export { isElementDefined, whenElementDefined } from "./elementRegistry.ts";
|
|
9
9
|
export { acceptDroppedFiles, attachFileDrop } from "./fileDrop.ts";
|
|
10
10
|
export { acceptLabel, DEFAULT_IMAGE_ACCEPT, DEFAULT_MAX_SIZE_MB, formatFileSize, isImageFile, isImageOnlyAccept, isPdfFile, matchesAccept, validateFile, } from "./fileValidation.ts";
|
|
11
|
-
export { CURRENCIES, DATE_PATTERNS, DURATION_UNITS,
|
|
11
|
+
export { CURRENCIES, DATE_PATTERNS, DURATION_UNITS, emptyValueLabel, FORMAT_STYLES, formatCompact, formatCurrency, formatDate, formatDateTime, formatDuration, formatNumber, formatPercent, formatValue, IST_TIME_ZONE, MONEY_UNITS, timeZoneLabel, toInstant, } from "./formatters.ts";
|
|
12
12
|
export { glyphSvg } from "./iconGlyphs.g.ts";
|
|
13
13
|
export { isImeSafeEnter } from "./imeSafeEnter.ts";
|
|
14
|
-
export { INLINE_EDIT_SAVED_MS,
|
|
14
|
+
export { INLINE_EDIT_SAVED_MS, INLINE_EDIT_TYPES, type InlineEditFailedDetail, type InlineEditOption, type InlineEditSavedDetail, type InlineEditTextConfig, type InlineEditTextResult, type InlineEditType, inlineEditText, } from "./inlineEditText.ts";
|
|
15
15
|
export { attachInputMask, formatMasked, initInputMasks, isMaskPattern, MASK_INPUT_TYPES, MASK_NAMES, maskedPostValue, postedMasked, rawMasked, resolveMask, } from "./inputMask.ts";
|
|
16
|
-
export {
|
|
16
|
+
export { isDrawn } from "./isDrawn.ts";
|
|
17
|
+
export { KANBAN_DRAG_THRESHOLD_PX, KANBAN_LONG_PRESS_MS, KANBAN_PHONE_QUERY, KANBAN_STORAGE_PREFIX, KANBAN_SUMMARY_FORMATS, KANBAN_TONES, kanbanCardLabel, kanbanOverflow, kanbanStorageKey, kanbanSummaryFormat, kanbanVisibleLimit, readKanbanCollapsed, type SummaryFormat, sumKanbanValues, writeKanbanCollapsed, } from "./kanbanModel.ts";
|
|
17
18
|
export { MENTION_ID_PATTERN, type MentionPart, type MentionSpan, mentionedIds, mentionLabel, mentionTextFromValue, mentionValueFromText, parseMentionValue, } from "./mentionText.ts";
|
|
18
19
|
export { bindMenuKeys, type MenuKeyOptions, } from "./menuKeyNav.ts";
|
|
19
20
|
export { type AnchoredPopoverOptions, CLOSE_MOTION_LIMIT_MS, CLOSING_ATTRIBUTE, closeAnchoredPopover, closeModalDialog, DISMISS_ATTRIBUTE, isPopoverOpen, type ModalDialogOptions, OPEN_ATTRIBUTE, type OverlayCloseReason, onOverlayRootChange, openAnchoredPopover, openModalDialog, overlayRoot, raisePopover, setPopoverOpen, wireOpenTriggers, } from "./nativeOverlay.ts";
|
|
20
21
|
export { revealActiveNavItem } from "./navReveal.ts";
|
|
21
|
-
export { groupNotificationsByDay, NOTIFICATION_COUNT_CAP,
|
|
22
|
+
export { groupNotificationsByDay, NOTIFICATION_COUNT_CAP, notificationCountText, notificationDayHeading, notificationTime, notificationTriggerLabel, notificationUnreadAnnouncement, } from "./notificationDays.ts";
|
|
22
23
|
export { withTrustedLabel } from "./optionLabel.ts";
|
|
23
|
-
export { buildPasswordRules, DEFAULT_PASSWORD_RULES,
|
|
24
|
+
export { buildPasswordRules, DEFAULT_PASSWORD_RULES, evaluatePassword, type PasswordRuleResult, passwordSatisfies, } from "./passwordRules.ts";
|
|
24
25
|
export { formatRelativeTime, RELATIVE_LIMIT_DAYS, relativeTimeTitle } from "./relativeTime.ts";
|
|
25
26
|
export { attachRowDrag, syncTargets } from "./rowDrop.ts";
|
|
26
27
|
export { attachScrollEdges, initScrollEdges, SCROLL_EDGE_SELECTOR } from "./scrollEdges.ts";
|
|
27
|
-
export { ariaKeyShortcuts, inShortcutScope, isTypingTarget,
|
|
28
|
+
export { ariaKeyShortcuts, inShortcutScope, isTypingTarget, listKeys, moveFocus, runShortcut, SHORTCUT_EVENT, SHORTCUT_SCOPE_ATTRIBUTE, SHORTCUTS_OFF_ATTRIBUTE, selectKey, shortcutKey, shortcutName, shortcutsOff, } from "./shortcutKeys.ts";
|
|
28
29
|
export { deriveStepStatus, stepperHeaderItems } from "./stepperHeader.ts";
|
|
29
30
|
export { initSubmitOnce, SUBMIT_ONCE_ATTRIBUTE } from "./submitOnce.ts";
|
|
30
31
|
export { matchSegments } from "./textMatch.ts";
|
package/types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { WuiDateRange } from "./WuiDateRange.ts";
|
|
|
12
12
|
import { WuiDock } from "./WuiDock.ts";
|
|
13
13
|
import { WuiDrawer } from "./WuiDrawer.ts";
|
|
14
14
|
import { WuiDropdown } from "./WuiDropdown.ts";
|
|
15
|
+
import { WuiEntryGrid } from "./WuiEntryGrid.ts";
|
|
15
16
|
import { WuiHoverCard } from "./WuiHoverCard.ts";
|
|
16
17
|
import { WuiImageCrop } from "./WuiImageCrop.ts";
|
|
17
18
|
import { WuiInlineEdit } from "./WuiInlineEdit.ts";
|
|
@@ -31,8 +32,6 @@ import { WuiPopover } from "./WuiPopover.ts";
|
|
|
31
32
|
import { WuiRating } from "./WuiRating.ts";
|
|
32
33
|
import { WuiRecordPager } from "./WuiRecordPager.ts";
|
|
33
34
|
import { WuiRelativeTime } from "./WuiRelativeTime.ts";
|
|
34
|
-
import { WuiResizable } from "./WuiResizable.ts";
|
|
35
|
-
import { WuiRollingNumber } from "./WuiRollingNumber.ts";
|
|
36
35
|
import { WuiSavedViews } from "./WuiSavedViews.ts";
|
|
37
36
|
import { WuiSelect } from "./WuiSelect.ts";
|
|
38
37
|
import { WuiShortcuts } from "./WuiShortcuts.ts";
|
|
@@ -54,4 +53,4 @@ export { DISCARD_EVENT } from "./server/drawerDiscard.ts";
|
|
|
54
53
|
export { SHORTCUT_EVENT } from "./shortcutKeys.ts";
|
|
55
54
|
export { THEME_CHANGE_EVENT } from "./themeTransition.ts";
|
|
56
55
|
export { WHATS_NEW_READ_EVENT } from "./WuiWhatsNew.ts";
|
|
57
|
-
export { WuiCarousel, WuiCodeBlock, WuiCommandPalette, WuiCommentThread, WuiConsentBanner, WuiContextMenu, WuiDataTable, WuiDatePicker, WuiDateRange, WuiDock, WuiDrawer, WuiDropdown, WuiHoverCard, WuiImageCrop, WuiInlineEdit, WuiKanban, WuiLeadPopup, WuiLightbox, WuiMarkdown, WuiMentionInput, WuiModal, WuiNavigationMenu, WuiNotificationCenter, WuiOnboardingChecklist, WuiOrgTree, WuiOtp, WuiOverflow, WuiPhone, WuiPopover, WuiRating, WuiRecordPager, WuiRelativeTime,
|
|
56
|
+
export { WuiCarousel, WuiCodeBlock, WuiCommandPalette, WuiCommentThread, WuiConsentBanner, WuiContextMenu, WuiDataTable, WuiDatePicker, WuiDateRange, WuiDock, WuiDrawer, WuiDropdown, WuiEntryGrid, WuiHoverCard, WuiImageCrop, WuiInlineEdit, WuiKanban, WuiLeadPopup, WuiLightbox, WuiMarkdown, WuiMentionInput, WuiModal, WuiNavigationMenu, WuiNotificationCenter, WuiOnboardingChecklist, WuiOrgTree, WuiOtp, WuiOverflow, WuiPhone, WuiPopover, WuiRating, WuiRecordPager, WuiRelativeTime, WuiSavedViews, WuiSelect, WuiShortcuts, WuiShowMore, WuiSlider, WuiSortable, WuiStatusIcon, WuiTimePicker, WuiTour, WuiTree, WuiTruncate, WuiWhatsNew, WuiWizard, WuiWizardStep, };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import { type DigitGrouping } from "./digitGrouping.ts";
|
|
1
2
|
/** The controls an inline edit can turn into. */
|
|
2
3
|
export declare const INLINE_EDIT_TYPES: readonly ["text", "number", "select", "date", "textarea"];
|
|
3
4
|
export type InlineEditType = (typeof INLINE_EDIT_TYPES)[number];
|
|
4
|
-
/** How a number value at rest is grouped: "indian" reads 15,00,000. */
|
|
5
|
-
export declare const INLINE_EDIT_GROUPINGS: readonly ["none", "indian"];
|
|
6
|
-
export type InlineEditGrouping = (typeof INLINE_EDIT_GROUPINGS)[number];
|
|
7
5
|
/** How long the saved tick stays after a save. */
|
|
8
6
|
export declare const INLINE_EDIT_SAVED_MS = 2000;
|
|
9
7
|
export interface InlineEditOption {
|
|
@@ -14,7 +12,7 @@ export interface InlineEditTextConfig {
|
|
|
14
12
|
type?: string;
|
|
15
13
|
options?: InlineEditOption[];
|
|
16
14
|
placeholder?: string;
|
|
17
|
-
grouping?:
|
|
15
|
+
grouping?: DigitGrouping | undefined;
|
|
18
16
|
}
|
|
19
17
|
export interface InlineEditTextResult {
|
|
20
18
|
text: string;
|
|
@@ -30,29 +28,8 @@ export interface InlineEditFailedDetail {
|
|
|
30
28
|
kind: string;
|
|
31
29
|
message: string;
|
|
32
30
|
}
|
|
33
|
-
/** The words the element says on its own. The Razor tag helper renders the same `edit` and `readOnly` text. */
|
|
34
|
-
export declare const INLINE_EDIT_TEXT: Readonly<{
|
|
35
|
-
edit: (label: string) => string;
|
|
36
|
-
readOnly: (label: string) => string;
|
|
37
|
-
saved: (label: string) => string;
|
|
38
|
-
notSaved: (label: string, reason: string) => string;
|
|
39
|
-
failed: Readonly<{
|
|
40
|
-
forbidden: "You do not have permission to change this.";
|
|
41
|
-
client: "This could not be saved. Refresh the page and try again.";
|
|
42
|
-
validation: "This value was not accepted. Check it and try again.";
|
|
43
|
-
server: "Something went wrong on our side, so this was not saved. Try again in a moment.";
|
|
44
|
-
network: "Could not reach the server, so this was not saved. Check your connection and try again.";
|
|
45
|
-
}>;
|
|
46
|
-
}>;
|
|
47
31
|
/**
|
|
48
32
|
* The text a value reads as before any custom rendering: the placeholder (or the house hyphen)
|
|
49
33
|
* when empty, a date as dd-MMM-yyyy, a select value as its option's label.
|
|
50
34
|
*/
|
|
51
35
|
export declare function inlineEditText(value: unknown, { type, options, placeholder, grouping }?: InlineEditTextConfig): InlineEditTextResult;
|
|
52
|
-
/** The message for a grouping that is not in INLINE_EDIT_GROUPINGS. */
|
|
53
|
-
export declare const groupingMessage: (grouping: unknown) => string;
|
|
54
|
-
/**
|
|
55
|
-
* Groups the integer digits of a plain number 3 then 2s from the right (1500000 reads 15,00,000),
|
|
56
|
-
* keeping the sign and the typed fraction exact. Text that is not a plain number is returned as it is.
|
|
57
|
-
*/
|
|
58
|
-
export declare function groupIndianDigits(text: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isDrawn(row: Element): boolean;
|
package/types/kanbanModel.d.ts
CHANGED
|
@@ -10,38 +10,6 @@ export declare const KANBAN_PHONE_QUERY = "(max-width: 767.98px)";
|
|
|
10
10
|
export declare const KANBAN_LONG_PRESS_MS = 400;
|
|
11
11
|
/** How far a mouse or pen moves before a press becomes a drag. */
|
|
12
12
|
export declare const KANBAN_DRAG_THRESHOLD_PX = 6;
|
|
13
|
-
/** The words the board says on its own. */
|
|
14
|
-
export declare const KANBAN_TEXT: Readonly<{
|
|
15
|
-
help: "Press Space to pick up the card. Use the Left and Right arrow keys to choose a column, then Space to drop it, or Escape to cancel.";
|
|
16
|
-
empty: "Nothing here";
|
|
17
|
-
collapse: (column: string) => string;
|
|
18
|
-
expand: (column: string) => string;
|
|
19
|
-
lifted: (card: string, column: string) => string;
|
|
20
|
-
over: (column: string, count: number) => string;
|
|
21
|
-
overSource: (column: string) => string;
|
|
22
|
-
overRefused: (column: string, reason: string) => string;
|
|
23
|
-
dropHere: (card: string, column: string) => string;
|
|
24
|
-
refused: (from: string, to: string) => string;
|
|
25
|
-
moved: (card: string, column: string) => string;
|
|
26
|
-
saving: (card: string, column: string) => string;
|
|
27
|
-
cancelled: (card: string) => string;
|
|
28
|
-
rolledBack: (card: string, column: string) => string;
|
|
29
|
-
locked: (card: string) => string;
|
|
30
|
-
more: (count: number) => string;
|
|
31
|
-
fewer: "Show fewer";
|
|
32
|
-
loadMore: (n: number) => string;
|
|
33
|
-
loading: "Loading…";
|
|
34
|
-
loadFailed: "More cards could not be loaded. Try again.";
|
|
35
|
-
swipeHint: "Swipe sideways or tap a column";
|
|
36
|
-
busy: "This card is still saving. Try again in a moment.";
|
|
37
|
-
failed: Readonly<{
|
|
38
|
-
forbidden: "You do not have permission to move this card.";
|
|
39
|
-
client: "This card could not be moved. Refresh the board and try again.";
|
|
40
|
-
validation: "This card could not be moved. Refresh the board and try again.";
|
|
41
|
-
server: "Something went wrong on our side, so the card went back. Try again in a moment.";
|
|
42
|
-
network: "Could not reach the server, so the card went back. Check your connection and try again.";
|
|
43
|
-
}>;
|
|
44
|
-
}>;
|
|
45
13
|
export interface SummaryFormat {
|
|
46
14
|
style: string;
|
|
47
15
|
currency?: string;
|
package/types/nativeOverlay.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export interface AnchoredPopoverOptions extends AnchorOptions {
|
|
|
32
32
|
onClosed?: () => void;
|
|
33
33
|
/** A panel its owner holds open stays open while its trigger is scrolled out of view. */
|
|
34
34
|
keepOffscreen?: boolean;
|
|
35
|
+
/** True while a scroll that began before the panel opened is still settling: the panel re-places instead of closing. */
|
|
36
|
+
scrollSettling?: () => boolean;
|
|
35
37
|
}
|
|
36
38
|
/** Sets the popover attribute to `mode`, shows the panel, places it against `trigger` and keeps it placed until it closes. */
|
|
37
39
|
export declare function openAnchoredPopover(trigger: HTMLElement, panel: HTMLElement, options: AnchoredPopoverOptions): void;
|
|
@@ -10,25 +10,6 @@ export interface NotificationDayGroup<T extends DatedNotification> {
|
|
|
10
10
|
heading: string;
|
|
11
11
|
items: T[];
|
|
12
12
|
}
|
|
13
|
-
/** The words the centre says on its own. */
|
|
14
|
-
export declare const NOTIFICATION_TEXT: Readonly<{
|
|
15
|
-
label: "Notifications";
|
|
16
|
-
empty: "You are all caught up.";
|
|
17
|
-
markAll: "Mark all read";
|
|
18
|
-
viewAll: "View all";
|
|
19
|
-
unreadPrefix: "Unread: ";
|
|
20
|
-
today: "Today";
|
|
21
|
-
yesterday: "Yesterday";
|
|
22
|
-
allRead: "All notifications marked as read.";
|
|
23
|
-
noneUnread: "No unread notifications";
|
|
24
|
-
failed: Readonly<{
|
|
25
|
-
forbidden: "You do not have permission to mark these as read.";
|
|
26
|
-
client: "These could not be marked as read. Refresh the page and try again.";
|
|
27
|
-
validation: "These could not be marked as read. Refresh the page and try again.";
|
|
28
|
-
server: "Something went wrong on our side, so these were not marked as read. Try again in a moment.";
|
|
29
|
-
network: "Could not reach the server, so these were not marked as read. Check your connection and try again.";
|
|
30
|
-
}>;
|
|
31
|
-
}>;
|
|
32
13
|
/** "99+" above the cap, otherwise the number. */
|
|
33
14
|
export declare function notificationCountText(unread: number): string;
|
|
34
15
|
/** The bell's name: the badge is hidden from assistive tech, so the name carries the count. */
|
package/types/passwordRules.d.ts
CHANGED
|
@@ -24,8 +24,6 @@ export interface PasswordRuleResult {
|
|
|
24
24
|
}
|
|
25
25
|
/** The default policy. A product whose server accepts fewer characters sets `minLength` itself. */
|
|
26
26
|
export declare const DEFAULT_PASSWORD_RULES: PasswordRules;
|
|
27
|
-
/** Popover heading, so both surfaces read the same. */
|
|
28
|
-
export declare const DEFAULT_REQUIREMENTS_TITLE: string;
|
|
29
27
|
/**
|
|
30
28
|
* Build the ordered rule list from an options object. Each rule is `{ key, label, test }`.
|
|
31
29
|
* A rule is included only when its option is on (a positive `minLength`/`uniqueChars`, a truthy
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const initFieldChecks: (root?: Document | Element) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FieldRule } from "@webority/web-core/validators";
|
|
2
|
+
/** Rules matching the .NET attributes; lengths count the value as typed, spaces included, as the server does. */
|
|
3
|
+
export declare const serverRules: Readonly<{
|
|
4
|
+
email: (message: string) => FieldRule;
|
|
5
|
+
phone: (message: string) => FieldRule;
|
|
6
|
+
url: (message: string) => FieldRule;
|
|
7
|
+
minLength: (length: number, message: string) => FieldRule;
|
|
8
|
+
maxLength: (length: number, message: string) => FieldRule;
|
|
9
|
+
}>;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
export declare const fieldTarget: (field: string | null | undefined) => HTMLElement | null;
|
|
2
|
+
export declare const focusField: (field: string) => boolean;
|
|
1
3
|
export declare const initErrorSummaryOrder: (root?: ParentNode) => void;
|
|
2
4
|
export declare const initErrorSummaries: () => void;
|
|
5
|
+
export declare const dropSummaryItems: (shell: HTMLElement) => void;
|
|
3
6
|
export declare const initServerFieldErrors: () => void;
|
|
4
7
|
interface ErrorSummaryItem {
|
|
5
8
|
field?: string;
|
|
6
9
|
message: string;
|
|
7
10
|
}
|
|
11
|
+
export declare const summaryPlace: (form: HTMLFormElement) => HTMLElement | null;
|
|
12
|
+
export declare const fillErrorSummary: (summary: HTMLElement, errors: readonly ErrorSummaryItem[], opts?: {
|
|
13
|
+
title?: string;
|
|
14
|
+
}) => HTMLElement | null;
|
|
8
15
|
export declare const showErrorSummary: (form: HTMLFormElement, errors: readonly ErrorSummaryItem[] | null | undefined, opts?: {
|
|
9
16
|
title?: string;
|
|
10
17
|
}) => HTMLElement | null;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export declare const DISCARD_TEXT: Readonly<{
|
|
2
|
-
question: string;
|
|
3
|
-
discard: string;
|
|
4
|
-
keep: string;
|
|
5
|
-
}>;
|
|
6
1
|
export declare const DISCARD_EVENT: string;
|
|
7
2
|
export declare function createDiscardPrompt(doc: Document, text: string | null): HTMLDivElement;
|
|
8
3
|
/** Wire the discard guard once per document; the Razor behaviour layer calls it on load and refresh. */
|
package/types/server/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { createDiscardPrompt, DISCARD_EVENT,
|
|
1
|
+
export { createDiscardPrompt, DISCARD_EVENT, initDrawerDiscard } from "./drawerDiscard.ts";
|
|
2
2
|
export { closeRemotePane, initRemoteModals, loadRemoteDrawer, loadRemoteModal, loadRemotePane } from "./remoteModal.ts";
|
|
3
|
-
export { CONFIRM_DIALOG_ID, CONFIRM_TONES, confirmAction, FLASH_STORAGE_KEY, FLASH_VARIANTS, initServerActions,
|
|
3
|
+
export { CONFIRM_DIALOG_ID, CONFIRM_TONES, confirmAction, FLASH_STORAGE_KEY, FLASH_VARIANTS, initServerActions, } from "./serverActions.ts";
|
|
4
4
|
export { getServerTable, initServerTables } from "./serverTable.ts";
|
|
5
5
|
export { getShell, initShellParts } from "./shellParts.ts";
|
|
6
6
|
export { runToastAction, showResultToast, TOAST_ACTION_MS } from "./toastAction.ts";
|
|
7
7
|
export { parseToastAction, TOAST_ACTION_METHODS } from "./toastHeader.ts";
|
|
8
|
-
export { formValues, initUnsavedChanges, resetUnsavedChanges
|
|
8
|
+
export { formValues, initUnsavedChanges, resetUnsavedChanges } from "./unsavedChanges.ts";
|
|
9
9
|
export { CSRF_META_NAME, classifyStatus, configureCsrf, createRequestQueue, DEFAULT_CSRF_HEADER, HTTP_KINDS, readCsrf, WUI_HEADERS, wuiFetch, } from "./wuiHttp.ts";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
type SizeName = "sm" | "md" | "lg" | "xl";
|
|
2
|
-
type TextKey = "loading" | "close" | "retry" | "errorTitle" | "forbidden" | "client" | "server" | "network" | "submitFailed" | "invalid";
|
|
3
2
|
type Container = "modal" | "drawer" | "pane";
|
|
4
3
|
type Detail = Record<string, unknown>;
|
|
5
4
|
type CloseStatus = "success" | "dismissed";
|
|
@@ -24,6 +23,8 @@ export interface RemoteOptions {
|
|
|
24
23
|
size?: string | number | undefined;
|
|
25
24
|
title?: string | undefined;
|
|
26
25
|
staticBackdrop?: boolean | undefined;
|
|
26
|
+
/** Defaults to true: Escape asks to close, unless a submit is running. false keeps the dialog open on Escape. */
|
|
27
|
+
closeOnEscape?: boolean | undefined;
|
|
27
28
|
placement?: string | undefined;
|
|
28
29
|
container?: Container | undefined;
|
|
29
30
|
trigger?: HTMLElement | null | undefined;
|
|
@@ -44,8 +45,6 @@ export declare const DRAWER_SIZE_PX: Readonly<Record<SizeName, number>>;
|
|
|
44
45
|
export declare const FULLSCREEN_CLASS: string;
|
|
45
46
|
/** Card max-widths, identical to ModalSize.cs and React's SIZE_PX. */
|
|
46
47
|
export declare const MODAL_SIZE_PX: Readonly<Record<SizeName, number>>;
|
|
47
|
-
/** The words the dialog shows on its own. */
|
|
48
|
-
export declare const REMOTE_MODAL_TEXT: Readonly<Record<TextKey, string>>;
|
|
49
48
|
/**
|
|
50
49
|
* A size as the shell applies it: `{ fullscreen: true }` or `{ px }`. Empty is null (no opinion).
|
|
51
50
|
* An unknown value throws: the vocabulary is sm | md | lg | xl | fullscreen | a positive px number.
|
|
@@ -60,7 +59,8 @@ export declare function initRemoteModals(root?: Document | Element): void;
|
|
|
60
59
|
*
|
|
61
60
|
* @param {string} url Fragment URL (a page handler answering `this.ModalPartial(...)`).
|
|
62
61
|
* @param {{ size?: 'sm'|'md'|'lg'|'xl'|'fullscreen'|number, title?: string,
|
|
63
|
-
* staticBackdrop?: boolean (defaults to true:
|
|
62
|
+
* staticBackdrop?: boolean (defaults to true: an outside click leaves it open; false lets it close it),
|
|
63
|
+
* closeOnEscape?: boolean (defaults to true: Escape closes it unless a submit is running; false keeps it open),
|
|
64
64
|
* placement?: 'center'|'top', trigger?: Element, method?: string, body?: BodyInit, signal?: AbortSignal,
|
|
65
65
|
* onSuccess?: (detail: object, handle: object) => void, navigate?: (url: string) => void }} [options]
|
|
66
66
|
* @returns {Promise<{ el: HTMLElement, close: () => void, reload: () => Promise<string>,
|
|
@@ -73,7 +73,9 @@ export declare function loadRemoteModal(url: string, options?: RemoteOptions): P
|
|
|
73
73
|
*
|
|
74
74
|
* @param {string} url Fragment URL (a page handler answering `this.ModalPartial(...)`).
|
|
75
75
|
* @param {{ size?: 'sm'|'md'|'lg'|'xl'|number, title?: string,
|
|
76
|
-
* staticBackdrop?: boolean (defaults to true:
|
|
76
|
+
* staticBackdrop?: boolean (defaults to true: an outside click leaves it open; false lets it close it),
|
|
77
|
+
* closeOnEscape?: boolean (defaults to true: Escape closes it unless a submit is running; false keeps it open),
|
|
78
|
+
* trigger?: Element,
|
|
77
79
|
* method?: string, body?: BodyInit, signal?: AbortSignal, onSuccess?: (detail: object, handle: object) => void,
|
|
78
80
|
* navigate?: (url: string) => void }} [options]
|
|
79
81
|
*/
|
|
@@ -8,15 +8,6 @@ type ToastVariant = (typeof FLASH_VARIANTS)[number];
|
|
|
8
8
|
export declare const isToastVariant: (value: string) => value is ToastVariant;
|
|
9
9
|
/** Where a toast waits across the reload or redirect of data-wui-post. */
|
|
10
10
|
export declare const FLASH_STORAGE_KEY: string;
|
|
11
|
-
/** The words the behaviours say on their own. */
|
|
12
|
-
export declare const SERVER_ACTION_TEXT: Readonly<{
|
|
13
|
-
confirmTitle: string;
|
|
14
|
-
confirmLabel: string;
|
|
15
|
-
cancelLabel: string;
|
|
16
|
-
failed: string;
|
|
17
|
-
forbidden: string;
|
|
18
|
-
network: string;
|
|
19
|
-
}>;
|
|
20
11
|
/**
|
|
21
12
|
* Ask in the shared confirm dialog from script, and on Confirm run `proceed` with `trigger` let
|
|
22
13
|
* through: a click on it, or a submit of it, that `proceed` makes does not ask its own
|