@webority/ui-elements 0.165.0 → 0.168.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-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-CeiMaiwi.js → WuiDropdown-BQC04Q48.js} +1 -1
- package/dist/WuiEntryGrid-DPAYNu1v.js +3 -0
- package/dist/{WuiHoverCard-AAXID-P3.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-Bz2Xg161.js → WuiModal-BRILsSMq.js} +1 -1
- package/dist/{WuiNavigationMenu-Dybw-nMb.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-y_Vxm64z.js → WuiPopover-BzVxNSs1.js} +1 -1
- 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-BdsS6MzB.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/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 -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/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-B29bt1s2.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/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-C7Ov09Bx.js → loader-CQJFj96n.js} +1 -1
- package/dist/mentionInput.g-DJo6d2Gm.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 -1
- 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 +11 -6
- package/types/WuiCarousel.d.ts +0 -8
- package/types/WuiChart.d.ts +1 -1
- package/types/WuiCommentThread.d.ts +1 -1
- package/types/WuiDrawer.d.ts +1 -1
- package/types/WuiEntryGrid.d.ts +5 -2
- package/types/WuiMentionInput.d.ts +0 -10
- 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/elements/comment-thread.d.ts +2 -2
- package/types/elements/data-table.d.ts +1 -1
- 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 +8 -7
- package/types/global/shared.d.ts +6 -0
- package/types/helpers.d.ts +9 -9
- package/types/inlineEditText.d.ts +0 -14
- package/types/kanbanModel.d.ts +0 -32
- package/types/notificationDays.d.ts +0 -19
- package/types/passwordRules.d.ts +0 -2
- 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-Bkb78uhy.js +0 -1
- package/dist/WuiConsentBanner-Bm7tT3_5.js +0 -1
- package/dist/WuiContextMenu-Fc9WCgM8.js +0 -1
- package/dist/WuiDataTable-Bb5hxTfn.js +0 -1
- package/dist/WuiDatePicker-D7tOu4kV.js +0 -31
- package/dist/WuiDateRange-D0pzZeUU.js +0 -25
- package/dist/WuiDrawer-BKNcc0WX.js +0 -1
- package/dist/WuiEntryGrid-DCVSZuPc.js +0 -1
- package/dist/WuiImageCrop-ChvH8GKb.js +0 -17
- package/dist/WuiInlineEdit-DwnXChDc.js +0 -1
- package/dist/WuiLeadPopup-BmZG0Fk_.js +0 -382
- package/dist/WuiLightbox-hw48EjHj.js +0 -1
- package/dist/WuiMentionInput-BCXdub58.js +0 -1
- package/dist/WuiNotificationCenter-BRomMzI2.js +0 -1
- package/dist/WuiOrgTree-DzeLFQxy.js +0 -1
- package/dist/WuiOverflow-CV5y5zkM.js +0 -1
- package/dist/WuiPhone-BKxBok5L.js +0 -16
- package/dist/WuiRecordPager-7HVGoFlP.js +0 -1
- package/dist/WuiSavedViews-CdjavvPC.js +0 -1
- package/dist/WuiSelect-CKfM5kWG.js +0 -9
- package/dist/WuiShortcuts-Wiv_zufK.js +0 -1
- package/dist/WuiShowMore-CvdNQXrA.js +0 -1
- package/dist/WuiSlider-Cz5-zWC7.js +0 -51
- package/dist/WuiSortable-CBLMNRuZ.js +0 -1
- package/dist/WuiTimePicker-DAS2sxSH.js +0 -9
- package/dist/WuiTour-CAVM3O8-.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-DjccCG3b.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-C1We4r_2.js +0 -1
- package/dist/fileViewerImage-CVHV1fBb.js +0 -3
- package/dist/fileViewerMedia-DGnbWDXP.js +0 -1
- package/dist/fileViewerPdf-BxoLE4hd.js +0 -20
- package/dist/fileViewerUi-2ZoK9uX0.js +0 -1
- package/dist/formatters-ljfITOZ3.js +0 -1
- package/dist/iconGlyphs.g-DPqoOoXy.js +0 -1
- package/dist/inlineEditText-CDptpqmI.js +0 -1
- package/dist/kanban-CDaks135.js +0 -1
- package/dist/kanbanModel-BaT75e-b.js +0 -1
- package/dist/nativeOverlay-BsVSWs1q.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-Du-vK_9z.js +0 -1
- package/dist/shortcutKeys-COVLox98.js +0 -1
- package/dist/themeTransition-Dt7Br1QT.js +0 -1
- package/dist/zone-BR02ZkHF.js +0 -1
package/types/global/shared.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ import * as selectRemote from "../select/remote.ts";
|
|
|
25
25
|
import * as wuiHttp from "../server/wuiHttp.ts";
|
|
26
26
|
import * as stepperHeader from "../stepperHeader.ts";
|
|
27
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";
|
|
28
31
|
import * as textMatch from "../textMatch.ts";
|
|
29
32
|
import * as tooltips from "../tooltips.ts";
|
|
30
33
|
import * as WuiSelect from "../WuiSelect.ts";
|
|
@@ -40,6 +43,7 @@ export declare const SHARED_MODULES: Readonly<{
|
|
|
40
43
|
defineElement: typeof defineElement;
|
|
41
44
|
devWarn: typeof devWarn;
|
|
42
45
|
dom: typeof dom;
|
|
46
|
+
drawerText: typeof drawerText;
|
|
43
47
|
elementBase: typeof elementBase;
|
|
44
48
|
fieldState: typeof fieldState;
|
|
45
49
|
formatters: typeof formatters;
|
|
@@ -58,9 +62,11 @@ export declare const SHARED_MODULES: Readonly<{
|
|
|
58
62
|
partRegistry: typeof partRegistry;
|
|
59
63
|
selectList: typeof selectList;
|
|
60
64
|
selectRemote: typeof selectRemote;
|
|
65
|
+
selectText: typeof selectText;
|
|
61
66
|
stepperHeader: typeof stepperHeader;
|
|
62
67
|
tableSelect: typeof tableSelect;
|
|
63
68
|
textMatch: typeof textMatch;
|
|
69
|
+
textStore: typeof textStore;
|
|
64
70
|
tooltips: typeof tooltips;
|
|
65
71
|
wuiHttp: typeof wuiHttp;
|
|
66
72
|
WuiSelect: typeof WuiSelect;
|
package/types/helpers.d.ts
CHANGED
|
@@ -1,31 +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
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,
|
|
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";
|
|
18
18
|
export { MENTION_ID_PATTERN, type MentionPart, type MentionSpan, mentionedIds, mentionLabel, mentionTextFromValue, mentionValueFromText, parseMentionValue, } from "./mentionText.ts";
|
|
19
19
|
export { bindMenuKeys, type MenuKeyOptions, } from "./menuKeyNav.ts";
|
|
20
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";
|
|
21
21
|
export { revealActiveNavItem } from "./navReveal.ts";
|
|
22
|
-
export { groupNotificationsByDay, NOTIFICATION_COUNT_CAP,
|
|
22
|
+
export { groupNotificationsByDay, NOTIFICATION_COUNT_CAP, notificationCountText, notificationDayHeading, notificationTime, notificationTriggerLabel, notificationUnreadAnnouncement, } from "./notificationDays.ts";
|
|
23
23
|
export { withTrustedLabel } from "./optionLabel.ts";
|
|
24
|
-
export { buildPasswordRules, DEFAULT_PASSWORD_RULES,
|
|
24
|
+
export { buildPasswordRules, DEFAULT_PASSWORD_RULES, evaluatePassword, type PasswordRuleResult, passwordSatisfies, } from "./passwordRules.ts";
|
|
25
25
|
export { formatRelativeTime, RELATIVE_LIMIT_DAYS, relativeTimeTitle } from "./relativeTime.ts";
|
|
26
26
|
export { attachRowDrag, syncTargets } from "./rowDrop.ts";
|
|
27
27
|
export { attachScrollEdges, initScrollEdges, SCROLL_EDGE_SELECTOR } from "./scrollEdges.ts";
|
|
28
|
-
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";
|
|
29
29
|
export { deriveStepStatus, stepperHeaderItems } from "./stepperHeader.ts";
|
|
30
30
|
export { initSubmitOnce, SUBMIT_ONCE_ATTRIBUTE } from "./submitOnce.ts";
|
|
31
31
|
export { matchSegments } from "./textMatch.ts";
|
|
@@ -28,20 +28,6 @@ export interface InlineEditFailedDetail {
|
|
|
28
28
|
kind: string;
|
|
29
29
|
message: string;
|
|
30
30
|
}
|
|
31
|
-
/** The words the element says on its own. The Razor tag helper renders the same `edit` and `readOnly` text. */
|
|
32
|
-
export declare const INLINE_EDIT_TEXT: Readonly<{
|
|
33
|
-
edit: (label: string) => string;
|
|
34
|
-
readOnly: (label: string) => string;
|
|
35
|
-
saved: (label: string) => string;
|
|
36
|
-
notSaved: (label: string, reason: string) => string;
|
|
37
|
-
failed: Readonly<{
|
|
38
|
-
forbidden: "You do not have permission to change this.";
|
|
39
|
-
client: "This could not be saved. Refresh the page and try again.";
|
|
40
|
-
validation: "This value was not accepted. Check it and try again.";
|
|
41
|
-
server: "Something went wrong on our side, so this was not saved. Try again in a moment.";
|
|
42
|
-
network: "Could not reach the server, so this was not saved. Check your connection and try again.";
|
|
43
|
-
}>;
|
|
44
|
-
}>;
|
|
45
31
|
/**
|
|
46
32
|
* The text a value reads as before any custom rendering: the placeholder (or the house hyphen)
|
|
47
33
|
* when empty, a date as dd-MMM-yyyy, a select value as its option's label.
|
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;
|
|
@@ -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
|
|
@@ -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
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import { type WuiResult } from "./wuiHttp.ts";
|
|
2
2
|
/** Typing pause before a search box refetches. */
|
|
3
3
|
export declare const SEARCH_DEBOUNCE_MS: number;
|
|
4
|
-
/** What the table says when the page gives it nothing more specific. */
|
|
5
|
-
export declare const SERVER_TABLE_TEXT: Readonly<{
|
|
6
|
-
loading: string;
|
|
7
|
-
error: string;
|
|
8
|
-
network: string;
|
|
9
|
-
forbidden: string;
|
|
10
|
-
retry: string;
|
|
11
|
-
actionFailed: string;
|
|
12
|
-
actionForbidden: string;
|
|
13
|
-
empty: string;
|
|
14
|
-
}>;
|
|
15
4
|
/** A value a query param takes; null, undefined and "" remove the param. */
|
|
16
5
|
export type QueryValue = string | number | null | undefined;
|
|
17
6
|
/** The params `setQuery` replaces; an array repeats its param. */
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/** The words the guard says on its own. */
|
|
2
|
-
export declare const UNSAVED_TEXT: Readonly<{
|
|
3
|
-
title: string;
|
|
4
|
-
message: string;
|
|
5
|
-
leaveLabel: string;
|
|
6
|
-
}>;
|
|
7
1
|
export declare function formValues(form: HTMLFormElement): string;
|
|
8
2
|
/**
|
|
9
3
|
* The starting values `base` with every field that joined the form since they were taken added at its
|
package/types/shortcutKeys.d.ts
CHANGED
|
@@ -4,18 +4,18 @@ export declare const SHORTCUTS_OFF_ATTRIBUTE = "data-wui-shortcuts";
|
|
|
4
4
|
export declare const SHORTCUT_SCOPE_ATTRIBUTE = "data-shortcut-scope";
|
|
5
5
|
/** Raised (bubbling, cancelable) by <wui-shortcuts> for a listed key it has no built-in action for. */
|
|
6
6
|
export declare const SHORTCUT_EVENT = "wui:shortcut";
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const shortcutText: () => {
|
|
8
8
|
title: string;
|
|
9
9
|
close: string;
|
|
10
10
|
help: string;
|
|
11
11
|
};
|
|
12
12
|
/** The list keys J, K and Enter, as a legend lists them. */
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const listKeys: () => {
|
|
14
14
|
key: string;
|
|
15
15
|
label: string;
|
|
16
16
|
}[];
|
|
17
17
|
/** The X key of a list whose items carry a checkbox. */
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const selectKey: () => {
|
|
19
19
|
key: string;
|
|
20
20
|
label: string;
|
|
21
21
|
};
|
package/types/tableSelect.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const SELECT_ALL_LABEL = "Select all rows";
|
|
2
|
-
export declare const SELECT_ROW_LABEL = "Select row";
|
|
3
1
|
export declare const SELECT_CELL_CLASS = "wui-select-cell";
|
|
4
2
|
/** `<th class="wui-select-cell">` holding the select-all box. */
|
|
5
3
|
export declare function createSelectHeaderCell(doc?: Document): HTMLTableCellElement;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type TextBundle } from "./textStore.ts";
|
|
2
|
+
import type { WuiTextCatalogue } from "./web/catalogue.g.ts";
|
|
3
|
+
export type WuiText = TextBundle<WuiTextCatalogue>;
|
|
4
|
+
export declare const setWuiText: (bundle: WuiText) => void;
|
|
5
|
+
export type { TextGroup } from "./textStore.ts";
|
|
6
|
+
export { fillText, pluralText, readText, subscribeText, textLocale } from "./textStore.ts";
|
|
7
|
+
export type { WuiTextCatalogue } from "./web/catalogue.g.ts";
|
|
8
|
+
export * from "./web/index.g.ts";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TextGroup = Readonly<Record<string, string>>;
|
|
2
|
+
export type TextValues = Readonly<Record<string, string | number>>;
|
|
3
|
+
export type PluralCategory = "Zero" | "One" | "Two" | "Few" | "Many" | "Other";
|
|
4
|
+
export type TextBundle<Catalogue> = {
|
|
5
|
+
readonly locale?: string;
|
|
6
|
+
} & {
|
|
7
|
+
readonly [Component in keyof Catalogue]?: Partial<Catalogue[Component]>;
|
|
8
|
+
};
|
|
9
|
+
/** Replaces the product's bundle and tells every subscriber. Throws RangeError when a value is not a string. */
|
|
10
|
+
export declare function setText<Catalogue>(next: TextBundle<Catalogue>): void;
|
|
11
|
+
/** The group a component draws: the product's keys over the English ones. Same object until the bundle changes. Throws RangeError on an unknown key or placeholder. */
|
|
12
|
+
export declare function readText<Group extends TextGroup>(component: string, english: Group): Group;
|
|
13
|
+
export declare function subscribeText(listener: () => void): () => void;
|
|
14
|
+
/** The bundle's BCP 47 tag, "en-IN" when none was set. */
|
|
15
|
+
export declare function textLocale(): string;
|
|
16
|
+
/** Replaces each {name} that has a value; leaves an unknown name as written. */
|
|
17
|
+
export declare function fillText(template: string, values: TextValues): string;
|
|
18
|
+
/** Picks `${stem}One`, `${stem}Other` and so on by the locale's plural rule for `count`, then fills it. */
|
|
19
|
+
export declare function pluralText(group: TextGroup, stem: string, count: number, values?: TextValues): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type CalendarText = {
|
|
2
|
+
readonly allDayDateText: string;
|
|
3
|
+
readonly allDayLabel: string;
|
|
4
|
+
readonly calendarViewLabel: string;
|
|
5
|
+
readonly dayLabel: string;
|
|
6
|
+
readonly emptyText: string;
|
|
7
|
+
readonly errorText: string;
|
|
8
|
+
readonly label: string;
|
|
9
|
+
readonly listLabel: string;
|
|
10
|
+
readonly loadFailedText: string;
|
|
11
|
+
readonly monthLabel: string;
|
|
12
|
+
readonly moveThroughCalendarLabel: string;
|
|
13
|
+
readonly nextLabel: string;
|
|
14
|
+
readonly previousLabel: string;
|
|
15
|
+
readonly rangeTitleText: string;
|
|
16
|
+
readonly todayLabel: string;
|
|
17
|
+
readonly tryAgainLabel: string;
|
|
18
|
+
readonly weekLabel: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const CALENDAR_TEXT: CalendarText;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type CarouselText = {
|
|
2
|
+
readonly carouselLabel: string;
|
|
3
|
+
readonly dotLabel: string;
|
|
4
|
+
readonly nextLabel: string;
|
|
5
|
+
readonly pauseLabel: string;
|
|
6
|
+
readonly playLabel: string;
|
|
7
|
+
readonly previousLabel: string;
|
|
8
|
+
readonly slideLabel: string;
|
|
9
|
+
readonly slideText: string;
|
|
10
|
+
readonly statusTextOne: string;
|
|
11
|
+
readonly statusTextOther: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const CAROUSEL_TEXT: CarouselText;
|