@webority/ui-react 0.34.0 → 0.35.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/components/AppAccordion.js +57 -0
- package/dist/components/AppActionIcon.js +53 -0
- package/dist/components/AppAlert.js +85 -0
- package/dist/components/AppAsyncBlock.js +48 -0
- package/dist/components/AppAutocomplete.js +93 -0
- package/dist/components/AppAvatar.js +143 -0
- package/dist/components/AppAvatarGroup.js +43 -0
- package/dist/components/AppAvatarPicker.js +247 -0
- package/dist/components/AppBadge.js +28 -0
- package/dist/components/AppBanner.js +49 -0
- package/dist/components/AppBreadcrumbs.js +24 -0
- package/dist/components/AppButton.js +85 -0
- package/dist/components/AppCalendar.js +72 -0
- package/dist/components/AppCard.js +110 -0
- package/dist/components/AppChart.js +153 -0
- package/dist/components/AppChartCard.js +125 -0
- package/dist/components/AppCheckbox.js +21 -0
- package/dist/components/AppChip.js +71 -0
- package/dist/components/AppChoiceCard.js +69 -0
- package/dist/components/AppChoiceChip.js +31 -0
- package/dist/components/AppColorField.js +63 -0
- package/dist/components/AppColumnMenu.js +27 -0
- package/dist/components/AppCommandPalette.js +164 -0
- package/dist/components/AppCompareTable.js +41 -0
- package/dist/components/AppConfirmDialog.js +93 -0
- package/dist/components/AppConsentBanner.js +37 -0
- package/dist/components/AppContextMenu.js +46 -0
- package/dist/components/AppCopyButton.js +41 -0
- package/dist/components/AppCountrySelect.js +75 -0
- package/dist/components/AppDashboardCell.js +19 -0
- package/dist/components/AppDashboardGrid.js +12 -0
- package/dist/components/AppDataTable.js +213 -0
- package/dist/components/AppDatePicker.js +59 -0
- package/dist/components/AppDateRangePicker.js +73 -0
- package/dist/components/AppDescriptions.js +40 -0
- package/dist/components/AppDropZone.js +106 -0
- package/dist/components/AppDropdown.js +90 -0
- package/dist/components/AppEmptyState.js +37 -0
- package/dist/components/AppErrorSummary.js +37 -0
- package/dist/components/AppFileAttachment.js +140 -0
- package/dist/components/AppFilePicker.js +220 -0
- package/dist/components/AppFileViewer.js +50 -0
- package/dist/components/AppFilterBar.js +129 -0
- package/dist/components/AppFloatingDock.js +47 -0
- package/dist/components/AppFormActions.js +23 -0
- package/dist/components/AppFormRow.js +24 -0
- package/dist/components/AppFormSection.js +32 -0
- package/dist/components/AppIcon.js +147 -0
- package/dist/components/AppInfoList.js +36 -0
- package/dist/components/AppInfoTip.js +41 -0
- package/dist/components/AppInput.js +269 -0
- package/dist/components/AppKanban.js +269 -0
- package/dist/components/AppKpiTile.js +91 -0
- package/dist/components/AppLink.js +74 -0
- package/dist/components/AppLogoPicker.js +264 -0
- package/dist/components/AppMeter.js +42 -0
- package/dist/components/AppModal.js +124 -0
- package/dist/components/AppMultiSelect.js +75 -0
- package/dist/components/AppNumberInput.js +139 -0
- package/dist/components/AppOtpInput.js +53 -0
- package/dist/components/AppPageHeader.js +82 -0
- package/dist/components/AppPagination.js +66 -0
- package/dist/components/AppPhoneNumberInput.js +53 -0
- package/dist/components/AppPopover.js +47 -0
- package/dist/components/AppPricingCard.js +58 -0
- package/dist/components/AppProgress.js +42 -0
- package/dist/components/AppQrCode.js +40 -0
- package/dist/components/AppRadio.js +21 -0
- package/dist/components/AppRadioGroup.js +79 -0
- package/dist/components/AppRepeater.js +57 -0
- package/dist/components/AppRequiredMark.js +11 -0
- package/dist/components/AppResourceCard.js +38 -0
- package/dist/components/AppResult.js +66 -0
- package/dist/components/AppRichText.js +72 -0
- package/dist/components/AppScrollbar.js +16 -0
- package/dist/components/AppSearch.js +52 -0
- package/dist/components/AppSegmented.js +87 -0
- package/dist/components/AppSelect.js +95 -0
- package/dist/components/AppSelectMini.js +45 -0
- package/dist/components/AppShell.js +709 -0
- package/dist/components/AppSidebarMenu.js +77 -0
- package/dist/components/AppSkeleton.js +24 -0
- package/dist/components/AppSlider.js +76 -0
- package/dist/components/AppSortableList.js +63 -0
- package/dist/components/AppSparkline.js +47 -0
- package/dist/components/AppSpinner.js +23 -0
- package/dist/components/AppSplash.js +62 -0
- package/dist/components/AppStatusBadge.js +22 -0
- package/dist/components/AppStepper.js +94 -0
- package/dist/components/AppSwitch.js +26 -0
- package/dist/components/AppTableEmptyState.js +30 -0
- package/dist/components/AppTablePagination.js +85 -0
- package/dist/components/AppTableToolbar.js +41 -0
- package/dist/components/AppTabs.js +195 -0
- package/dist/components/AppTagInput.js +63 -0
- package/dist/components/AppTextarea.js +81 -0
- package/dist/components/AppThemeToggle.js +102 -0
- package/dist/components/AppTimePicker.js +68 -0
- package/dist/components/AppTimeline.js +102 -0
- package/dist/components/AppToast.js +169 -0
- package/dist/components/AppToolbar.js +63 -0
- package/dist/components/AppTooltip.js +50 -0
- package/dist/components/AppTour.js +39 -0
- package/dist/components/AppTreeView.js +61 -0
- package/dist/components/AppWizard.js +82 -0
- package/dist/components/AppWorkspaceSwitcher.js +176 -0
- package/dist/components/ModalIcons.js +18 -0
- package/dist/components/iconCatalogLoaders.g.js +170 -0
- package/dist/components/iconCatalogNames.g.js +4 -0
- package/dist/components/iconGlyphs.g.js +211 -0
- package/dist/components/renderIconProp.js +13 -0
- package/dist/components/toast.js +41 -0
- package/dist/components/toastStore.js +78 -0
- package/dist/components/useWuiControl.js +106 -0
- package/dist/components/warnInvalidValue.js +17 -0
- package/dist/components/warnUnknownProps.js +17 -0
- package/dist/components/withTooltip.js +12 -0
- package/dist/lib/CheckField.js +37 -0
- package/dist/lib/FileItemRow.js +44 -0
- package/dist/lib/emptyValue.js +6 -0
- package/dist/lib/fileItem.js +27 -0
- package/dist/lib/focusField.js +14 -0
- package/dist/lib/listQuery.js +57 -0
- package/dist/lib/navMatch.js +29 -0
- package/dist/lib/pageWindow.js +14 -0
- package/dist/lib/qrCode.js +577 -0
- package/dist/lib/shellCookie.js +16 -0
- package/dist/lib/useCommandPaletteShortcut.js +15 -0
- package/dist/lib/useFloatingStack.js +25 -0
- package/dist/lib/useListQuery.js +120 -0
- package/dist/lib/usePagination.js +29 -0
- package/dist/lib/useTableView.js +42 -0
- package/dist/types/components/AppAutocomplete.d.ts +1 -1
- package/dist/types/components/AppAvatarPicker.d.ts +55 -0
- package/dist/types/components/AppCommandPalette.d.ts +1 -1
- package/dist/types/components/AppConsentBanner.d.ts +1 -1
- package/dist/types/components/AppContextMenu.d.ts +1 -1
- package/dist/types/components/AppCountrySelect.d.ts +1 -1
- package/dist/types/components/AppDatePicker.d.ts +1 -1
- package/dist/types/components/AppDateRangePicker.d.ts +1 -1
- package/dist/types/components/AppFloatingDock.d.ts +1 -1
- package/dist/types/components/AppKanban.d.ts +7 -2
- package/dist/types/components/AppLogoPicker.d.ts +1 -0
- package/dist/types/components/AppMultiSelect.d.ts +1 -1
- package/dist/types/components/AppOtpInput.d.ts +1 -1
- package/dist/types/components/AppPhoneNumberInput.d.ts +1 -1
- package/dist/types/components/AppSelect.d.ts +1 -1
- package/dist/types/components/AppSelectMini.d.ts +1 -1
- package/dist/types/components/AppSlider.d.ts +1 -1
- package/dist/types/components/AppSortableList.d.ts +1 -1
- package/dist/types/components/AppTagInput.d.ts +1 -1
- package/dist/types/components/AppThemeToggle.d.ts +9 -6
- package/dist/types/components/AppTimePicker.d.ts +1 -1
- package/dist/types/components/AppTour.d.ts +1 -1
- package/dist/types/components/AppTreeView.d.ts +1 -1
- package/dist/types/components/AppWizard.d.ts +1 -1
- package/dist/types/components/ModalIcons.d.ts +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/ui-react.js +117 -9525
- package/package.json +3 -3
- /package/dist/{a.g-Cp8GEdyM.js → components/iconCatalogFull/bold/a.g.js} +0 -0
- /package/dist/{b.g-bKDfj9c5.js → components/iconCatalogFull/bold/b.g.js} +0 -0
- /package/dist/{c.g-DqGwABja.js → components/iconCatalogFull/bold/c.g.js} +0 -0
- /package/dist/{d.g-CipOBRsw.js → components/iconCatalogFull/bold/d.g.js} +0 -0
- /package/dist/{e.g-ChGIrYgq.js → components/iconCatalogFull/bold/e.g.js} +0 -0
- /package/dist/{f.g-DmHdWgNZ.js → components/iconCatalogFull/bold/f.g.js} +0 -0
- /package/dist/{g.g--ThCZYIr.js → components/iconCatalogFull/bold/g.g.js} +0 -0
- /package/dist/{h.g-Ci-Er6CR.js → components/iconCatalogFull/bold/h.g.js} +0 -0
- /package/dist/{i.g-DZQ65QIT.js → components/iconCatalogFull/bold/i.g.js} +0 -0
- /package/dist/{j.g-aomxS6QS.js → components/iconCatalogFull/bold/j.g.js} +0 -0
- /package/dist/{k.g-Bb2wQ2Ms.js → components/iconCatalogFull/bold/k.g.js} +0 -0
- /package/dist/{l.g-DZ1zMM1w.js → components/iconCatalogFull/bold/l.g.js} +0 -0
- /package/dist/{m.g-DFbdZm5W.js → components/iconCatalogFull/bold/m.g.js} +0 -0
- /package/dist/{n.g-UvurkmXk.js → components/iconCatalogFull/bold/n.g.js} +0 -0
- /package/dist/{o.g-D5Y5oCQH.js → components/iconCatalogFull/bold/o.g.js} +0 -0
- /package/dist/{p.g-CXg3EaEZ.js → components/iconCatalogFull/bold/p.g.js} +0 -0
- /package/dist/{q.g-Cy7tXvtO.js → components/iconCatalogFull/bold/q.g.js} +0 -0
- /package/dist/{r.g-C8yWsdze.js → components/iconCatalogFull/bold/r.g.js} +0 -0
- /package/dist/{s.g-Duv4gf-_.js → components/iconCatalogFull/bold/s.g.js} +0 -0
- /package/dist/{t.g-C4d7xUwA.js → components/iconCatalogFull/bold/t.g.js} +0 -0
- /package/dist/{u.g-D96_3gsv.js → components/iconCatalogFull/bold/u.g.js} +0 -0
- /package/dist/{v.g-taJ1oC9Z.js → components/iconCatalogFull/bold/v.g.js} +0 -0
- /package/dist/{w.g-DnmMiN_H.js → components/iconCatalogFull/bold/w.g.js} +0 -0
- /package/dist/{x.g-DWUT_reV.js → components/iconCatalogFull/bold/x.g.js} +0 -0
- /package/dist/{z.g-Bmt20-ur.js → components/iconCatalogFull/bold/z.g.js} +0 -0
- /package/dist/{a.g-B1BBAE2l.js → components/iconCatalogFull/broken/a.g.js} +0 -0
- /package/dist/{b.g-B162ikjP.js → components/iconCatalogFull/broken/b.g.js} +0 -0
- /package/dist/{c.g-DiBD244Y.js → components/iconCatalogFull/broken/c.g.js} +0 -0
- /package/dist/{d.g-Cs9TrwFl.js → components/iconCatalogFull/broken/d.g.js} +0 -0
- /package/dist/{e.g-Ce9W1eMC.js → components/iconCatalogFull/broken/e.g.js} +0 -0
- /package/dist/{f.g-YGFA9XSP.js → components/iconCatalogFull/broken/f.g.js} +0 -0
- /package/dist/{g.g-CztV9P0x.js → components/iconCatalogFull/broken/g.g.js} +0 -0
- /package/dist/{h.g-CzRUdkfn.js → components/iconCatalogFull/broken/h.g.js} +0 -0
- /package/dist/{i.g-iI15Wiv2.js → components/iconCatalogFull/broken/i.g.js} +0 -0
- /package/dist/{j.g-CTjAiDOh.js → components/iconCatalogFull/broken/j.g.js} +0 -0
- /package/dist/{k.g-CifZIVeO.js → components/iconCatalogFull/broken/k.g.js} +0 -0
- /package/dist/{l.g-BMDbVi8H.js → components/iconCatalogFull/broken/l.g.js} +0 -0
- /package/dist/{m.g-Dcv_pEO4.js → components/iconCatalogFull/broken/m.g.js} +0 -0
- /package/dist/{n.g-DG8THBSN.js → components/iconCatalogFull/broken/n.g.js} +0 -0
- /package/dist/{o.g-BmDWTFR9.js → components/iconCatalogFull/broken/o.g.js} +0 -0
- /package/dist/{p.g-DBbjzvfV.js → components/iconCatalogFull/broken/p.g.js} +0 -0
- /package/dist/{q.g-CtDV62pA.js → components/iconCatalogFull/broken/q.g.js} +0 -0
- /package/dist/{r.g-Dus-zLxh.js → components/iconCatalogFull/broken/r.g.js} +0 -0
- /package/dist/{s.g-Ccoxarre.js → components/iconCatalogFull/broken/s.g.js} +0 -0
- /package/dist/{t.g-Dhkar577.js → components/iconCatalogFull/broken/t.g.js} +0 -0
- /package/dist/{u.g-C6mC8OrR.js → components/iconCatalogFull/broken/u.g.js} +0 -0
- /package/dist/{v.g-Ccd_-2QB.js → components/iconCatalogFull/broken/v.g.js} +0 -0
- /package/dist/{w.g-DN5a2C4A.js → components/iconCatalogFull/broken/w.g.js} +0 -0
- /package/dist/{x.g-6q1-4uTL.js → components/iconCatalogFull/broken/x.g.js} +0 -0
- /package/dist/{z.g-z49BBBLF.js → components/iconCatalogFull/broken/z.g.js} +0 -0
- /package/dist/{a.g-5LWyM-GC.js → components/iconCatalogFull/bulk/a.g.js} +0 -0
- /package/dist/{b.g-Bu-DvCAC.js → components/iconCatalogFull/bulk/b.g.js} +0 -0
- /package/dist/{c.g-DL8VdtRB.js → components/iconCatalogFull/bulk/c.g.js} +0 -0
- /package/dist/{d.g-Dp8Eazt1.js → components/iconCatalogFull/bulk/d.g.js} +0 -0
- /package/dist/{e.g-DxMDwDJJ.js → components/iconCatalogFull/bulk/e.g.js} +0 -0
- /package/dist/{f.g-D2SOwc4J.js → components/iconCatalogFull/bulk/f.g.js} +0 -0
- /package/dist/{g.g-gPtoLmT2.js → components/iconCatalogFull/bulk/g.g.js} +0 -0
- /package/dist/{h.g-ezEFj2YC.js → components/iconCatalogFull/bulk/h.g.js} +0 -0
- /package/dist/{i.g-DMM4-xE0.js → components/iconCatalogFull/bulk/i.g.js} +0 -0
- /package/dist/{j.g-BPszpMm1.js → components/iconCatalogFull/bulk/j.g.js} +0 -0
- /package/dist/{k.g-BeMlVIgm.js → components/iconCatalogFull/bulk/k.g.js} +0 -0
- /package/dist/{l.g-C_pTRDDL.js → components/iconCatalogFull/bulk/l.g.js} +0 -0
- /package/dist/{m.g-CytECcy1.js → components/iconCatalogFull/bulk/m.g.js} +0 -0
- /package/dist/{n.g-BDt_DYat.js → components/iconCatalogFull/bulk/n.g.js} +0 -0
- /package/dist/{o.g-DSyIOA1B.js → components/iconCatalogFull/bulk/o.g.js} +0 -0
- /package/dist/{p.g-D5tA2vwU.js → components/iconCatalogFull/bulk/p.g.js} +0 -0
- /package/dist/{q.g-1Lw4aFTv.js → components/iconCatalogFull/bulk/q.g.js} +0 -0
- /package/dist/{r.g-C5gZi2H7.js → components/iconCatalogFull/bulk/r.g.js} +0 -0
- /package/dist/{s.g-D41EhCR8.js → components/iconCatalogFull/bulk/s.g.js} +0 -0
- /package/dist/{t.g-Bxhb2WIA.js → components/iconCatalogFull/bulk/t.g.js} +0 -0
- /package/dist/{u.g-D7I_vPrG.js → components/iconCatalogFull/bulk/u.g.js} +0 -0
- /package/dist/{v.g-CF_fpvOP.js → components/iconCatalogFull/bulk/v.g.js} +0 -0
- /package/dist/{w.g-7MAxYD_f.js → components/iconCatalogFull/bulk/w.g.js} +0 -0
- /package/dist/{x.g-DUo4WukH.js → components/iconCatalogFull/bulk/x.g.js} +0 -0
- /package/dist/{z.g-CIYyNruu.js → components/iconCatalogFull/bulk/z.g.js} +0 -0
- /package/dist/{a.g-CKE-UVlB.js → components/iconCatalogFull/linear/a.g.js} +0 -0
- /package/dist/{b.g-Dkq-W_Lw.js → components/iconCatalogFull/linear/b.g.js} +0 -0
- /package/dist/{c.g-b4cy8Ev3.js → components/iconCatalogFull/linear/c.g.js} +0 -0
- /package/dist/{d.g-C3NmjrFi.js → components/iconCatalogFull/linear/d.g.js} +0 -0
- /package/dist/{e.g-DNY2Uh45.js → components/iconCatalogFull/linear/e.g.js} +0 -0
- /package/dist/{f.g-_qCUZhKl.js → components/iconCatalogFull/linear/f.g.js} +0 -0
- /package/dist/{g.g-DiC2yVQt.js → components/iconCatalogFull/linear/g.g.js} +0 -0
- /package/dist/{h.g-C0eQ0GQE.js → components/iconCatalogFull/linear/h.g.js} +0 -0
- /package/dist/{i.g-V-F-OHrS.js → components/iconCatalogFull/linear/i.g.js} +0 -0
- /package/dist/{j.g-BvuipVWw.js → components/iconCatalogFull/linear/j.g.js} +0 -0
- /package/dist/{k.g-Bq4FcDK3.js → components/iconCatalogFull/linear/k.g.js} +0 -0
- /package/dist/{l.g-DA6nIw_z.js → components/iconCatalogFull/linear/l.g.js} +0 -0
- /package/dist/{m.g-Cj4NTa9B.js → components/iconCatalogFull/linear/m.g.js} +0 -0
- /package/dist/{n.g-DhZ0Lcm6.js → components/iconCatalogFull/linear/n.g.js} +0 -0
- /package/dist/{o.g-C5BY8UNh.js → components/iconCatalogFull/linear/o.g.js} +0 -0
- /package/dist/{p.g-CXYzEsVb.js → components/iconCatalogFull/linear/p.g.js} +0 -0
- /package/dist/{q.g-Bg-QqUEk.js → components/iconCatalogFull/linear/q.g.js} +0 -0
- /package/dist/{r.g-BSSEI7vV.js → components/iconCatalogFull/linear/r.g.js} +0 -0
- /package/dist/{s.g-5lIn93sd.js → components/iconCatalogFull/linear/s.g.js} +0 -0
- /package/dist/{t.g-C9DMEGtG.js → components/iconCatalogFull/linear/t.g.js} +0 -0
- /package/dist/{u.g-ia-nNvjK.js → components/iconCatalogFull/linear/u.g.js} +0 -0
- /package/dist/{v.g-IFr8O1YA.js → components/iconCatalogFull/linear/v.g.js} +0 -0
- /package/dist/{w.g-BrAIH76H.js → components/iconCatalogFull/linear/w.g.js} +0 -0
- /package/dist/{x.g-CIuI3Fqx.js → components/iconCatalogFull/linear/x.g.js} +0 -0
- /package/dist/{z.g-BUP3BJiy.js → components/iconCatalogFull/linear/z.g.js} +0 -0
- /package/dist/{a.g-KjYETv0g.js → components/iconCatalogFull/outline/a.g.js} +0 -0
- /package/dist/{b.g-MJlor3xB.js → components/iconCatalogFull/outline/b.g.js} +0 -0
- /package/dist/{c.g-PBMUuqTQ.js → components/iconCatalogFull/outline/c.g.js} +0 -0
- /package/dist/{d.g-DVdiUnBR.js → components/iconCatalogFull/outline/d.g.js} +0 -0
- /package/dist/{e.g-2mocZT4k.js → components/iconCatalogFull/outline/e.g.js} +0 -0
- /package/dist/{f.g-CIsVyKpG.js → components/iconCatalogFull/outline/f.g.js} +0 -0
- /package/dist/{g.g-CJ1Yjs6-.js → components/iconCatalogFull/outline/g.g.js} +0 -0
- /package/dist/{h.g-CgHsGdLb.js → components/iconCatalogFull/outline/h.g.js} +0 -0
- /package/dist/{i.g-Ba9q7vMi.js → components/iconCatalogFull/outline/i.g.js} +0 -0
- /package/dist/{j.g-AT7T_7fn.js → components/iconCatalogFull/outline/j.g.js} +0 -0
- /package/dist/{k.g-BJ0rj5XB.js → components/iconCatalogFull/outline/k.g.js} +0 -0
- /package/dist/{l.g-B_bLp8m2.js → components/iconCatalogFull/outline/l.g.js} +0 -0
- /package/dist/{m.g-Dgj5H5KY.js → components/iconCatalogFull/outline/m.g.js} +0 -0
- /package/dist/{n.g-CM9J_tyR.js → components/iconCatalogFull/outline/n.g.js} +0 -0
- /package/dist/{o.g-B9NPVFUv.js → components/iconCatalogFull/outline/o.g.js} +0 -0
- /package/dist/{p.g-Dt5NMAPz.js → components/iconCatalogFull/outline/p.g.js} +0 -0
- /package/dist/{q.g-C4dBmUaO.js → components/iconCatalogFull/outline/q.g.js} +0 -0
- /package/dist/{r.g-D1cgPNdo.js → components/iconCatalogFull/outline/r.g.js} +0 -0
- /package/dist/{s.g-CikU_E1r.js → components/iconCatalogFull/outline/s.g.js} +0 -0
- /package/dist/{t.g-Cvg4dLth.js → components/iconCatalogFull/outline/t.g.js} +0 -0
- /package/dist/{u.g-DihXFOEv.js → components/iconCatalogFull/outline/u.g.js} +0 -0
- /package/dist/{v.g-Yt58dVke.js → components/iconCatalogFull/outline/v.g.js} +0 -0
- /package/dist/{w.g-DgdwQxer.js → components/iconCatalogFull/outline/w.g.js} +0 -0
- /package/dist/{x.g-B-WlL4DI.js → components/iconCatalogFull/outline/x.g.js} +0 -0
- /package/dist/{z.g-CSusgZor.js → components/iconCatalogFull/outline/z.g.js} +0 -0
- /package/dist/{a.g-D1PdkV5E.js → components/iconCatalogFull/twotone/a.g.js} +0 -0
- /package/dist/{b.g-F1eKfRpo.js → components/iconCatalogFull/twotone/b.g.js} +0 -0
- /package/dist/{c.g-DKzspN6u.js → components/iconCatalogFull/twotone/c.g.js} +0 -0
- /package/dist/{d.g-C8KPpY8s.js → components/iconCatalogFull/twotone/d.g.js} +0 -0
- /package/dist/{e.g-B1bvEARe.js → components/iconCatalogFull/twotone/e.g.js} +0 -0
- /package/dist/{f.g-DEKavmMH.js → components/iconCatalogFull/twotone/f.g.js} +0 -0
- /package/dist/{g.g-B1u2EvQZ.js → components/iconCatalogFull/twotone/g.g.js} +0 -0
- /package/dist/{h.g-Dxw84X7K.js → components/iconCatalogFull/twotone/h.g.js} +0 -0
- /package/dist/{i.g-BNxSASLW.js → components/iconCatalogFull/twotone/i.g.js} +0 -0
- /package/dist/{j.g-BBP7_cik.js → components/iconCatalogFull/twotone/j.g.js} +0 -0
- /package/dist/{k.g-DSSazL_b.js → components/iconCatalogFull/twotone/k.g.js} +0 -0
- /package/dist/{l.g-eEit84D7.js → components/iconCatalogFull/twotone/l.g.js} +0 -0
- /package/dist/{m.g-DDIUTIAb.js → components/iconCatalogFull/twotone/m.g.js} +0 -0
- /package/dist/{n.g-BIYpVBEb.js → components/iconCatalogFull/twotone/n.g.js} +0 -0
- /package/dist/{o.g-B95BaazY.js → components/iconCatalogFull/twotone/o.g.js} +0 -0
- /package/dist/{p.g-HXmphCe0.js → components/iconCatalogFull/twotone/p.g.js} +0 -0
- /package/dist/{q.g-CPyhElA_.js → components/iconCatalogFull/twotone/q.g.js} +0 -0
- /package/dist/{r.g-DIEF7HkY.js → components/iconCatalogFull/twotone/r.g.js} +0 -0
- /package/dist/{s.g-BX2BLrIK.js → components/iconCatalogFull/twotone/s.g.js} +0 -0
- /package/dist/{t.g-9FQPNgd_.js → components/iconCatalogFull/twotone/t.g.js} +0 -0
- /package/dist/{u.g-Cl8s3gGa.js → components/iconCatalogFull/twotone/u.g.js} +0 -0
- /package/dist/{v.g-BxRTxjbP.js → components/iconCatalogFull/twotone/v.g.js} +0 -0
- /package/dist/{w.g-BRwJSEbR.js → components/iconCatalogFull/twotone/w.g.js} +0 -0
- /package/dist/{x.g-Cc7upOBC.js → components/iconCatalogFull/twotone/x.g.js} +0 -0
- /package/dist/{z.g-COIy6PjH.js → components/iconCatalogFull/twotone/z.g.js} +0 -0
- /package/dist/{iconVariants.g-BBn9-u3W.js → components/iconVariants.g.js} +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import e from "./warnUnknownProps.js";
|
|
2
|
+
import t from "./AppIcon.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/AppPricingCard.jsx
|
|
5
|
+
function i({ name: i, price: a, unit: o, tagline: s, features: c = [], cta: l, featured: u = !1, current: d = !1, badge: f = "Most popular", className: p = "", ...m }) {
|
|
6
|
+
return e("AppPricingCard", m), /* @__PURE__ */ r("div", {
|
|
7
|
+
className: [
|
|
8
|
+
"plan-card",
|
|
9
|
+
u ? "featured" : "",
|
|
10
|
+
d ? "current" : "",
|
|
11
|
+
p
|
|
12
|
+
].filter(Boolean).join(" "),
|
|
13
|
+
...m,
|
|
14
|
+
children: [
|
|
15
|
+
u && f && /* @__PURE__ */ n("span", {
|
|
16
|
+
className: "plan-badge",
|
|
17
|
+
children: f
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ n("div", {
|
|
20
|
+
className: "plan-name",
|
|
21
|
+
children: i
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ r("div", {
|
|
24
|
+
className: "plan-price",
|
|
25
|
+
children: [a, o && /* @__PURE__ */ n("span", {
|
|
26
|
+
className: "plan-price-unit",
|
|
27
|
+
children: o
|
|
28
|
+
})]
|
|
29
|
+
}),
|
|
30
|
+
s && /* @__PURE__ */ n("div", {
|
|
31
|
+
className: "plan-tagline",
|
|
32
|
+
children: s
|
|
33
|
+
}),
|
|
34
|
+
c.length > 0 && /* @__PURE__ */ n("ul", {
|
|
35
|
+
className: "plan-features",
|
|
36
|
+
children: c.map((e, i) => {
|
|
37
|
+
let a = e.included !== !1;
|
|
38
|
+
return /* @__PURE__ */ r("li", {
|
|
39
|
+
className: a ? void 0 : "excluded",
|
|
40
|
+
children: [/* @__PURE__ */ n("span", {
|
|
41
|
+
className: "plan-feature-icon",
|
|
42
|
+
children: /* @__PURE__ */ n(t, {
|
|
43
|
+
name: a ? "check" : "x",
|
|
44
|
+
size: 16
|
|
45
|
+
})
|
|
46
|
+
}), e.text]
|
|
47
|
+
}, e.text ? `feat-${i}-${e.text}` : `feat-${i}`);
|
|
48
|
+
})
|
|
49
|
+
}),
|
|
50
|
+
l && /* @__PURE__ */ n("div", {
|
|
51
|
+
className: "plan-cta",
|
|
52
|
+
children: l
|
|
53
|
+
})
|
|
54
|
+
]
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
export { i as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import e from "./warnInvalidValue.js";
|
|
2
|
+
import t from "./warnUnknownProps.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/AppProgress.jsx
|
|
5
|
+
var r = ["sm", "md"], i = [
|
|
6
|
+
"info",
|
|
7
|
+
"success",
|
|
8
|
+
"warning",
|
|
9
|
+
"danger",
|
|
10
|
+
"neutral"
|
|
11
|
+
];
|
|
12
|
+
function a(e, t) {
|
|
13
|
+
if (!(t > 0)) return 0;
|
|
14
|
+
let n = Math.min(100, Math.max(0, e / t * 100));
|
|
15
|
+
return Number(n.toFixed(2));
|
|
16
|
+
}
|
|
17
|
+
function o({ value: o = 0, max: s = 100, tone: c = "info", size: l = "md", label: u, showLabel: d = !1, striped: f = !1, animated: p = !1, indeterminate: m = !1, className: h = "", ...g }) {
|
|
18
|
+
t("AppProgress", g), e("AppProgress", "tone", c, i), e("AppProgress", "size", l, r);
|
|
19
|
+
let _ = i.includes(c) ? c : "info", v = a(o, s), y = `progress${l === "sm" ? " progress-sm" : ""}${h ? ` ${h}` : ""}`, b = [
|
|
20
|
+
"progress-bar",
|
|
21
|
+
`wui-progress-${_}`,
|
|
22
|
+
f || p ? "progress-bar-striped" : "",
|
|
23
|
+
p ? "progress-bar-animated" : "",
|
|
24
|
+
m ? "wui-progress-indeterminate" : ""
|
|
25
|
+
].filter(Boolean).join(" ");
|
|
26
|
+
return /* @__PURE__ */ n("div", {
|
|
27
|
+
className: y,
|
|
28
|
+
role: "progressbar",
|
|
29
|
+
"aria-valuemin": 0,
|
|
30
|
+
"aria-valuemax": s,
|
|
31
|
+
...m ? {} : { "aria-valuenow": o },
|
|
32
|
+
"aria-label": u || void 0,
|
|
33
|
+
...g,
|
|
34
|
+
children: /* @__PURE__ */ n("div", {
|
|
35
|
+
className: b,
|
|
36
|
+
style: m ? void 0 : { width: `${v}%` },
|
|
37
|
+
children: !m && d && u
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { o as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import e from "./warnUnknownProps.js";
|
|
2
|
+
import { encodeQr as t, qrSvgPath as n } from "../lib/qrCode.js";
|
|
3
|
+
import { useMemo as r } from "react";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/AppQrCode.jsx
|
|
6
|
+
var o = 4;
|
|
7
|
+
function s({ value: s, size: c = 240, title: l = "QR code", className: u, style: d, ...f }) {
|
|
8
|
+
e("AppQrCode", f);
|
|
9
|
+
let p = r(() => {
|
|
10
|
+
if (!s) return null;
|
|
11
|
+
let e = t(String(s));
|
|
12
|
+
return {
|
|
13
|
+
modules: e.size + o * 2,
|
|
14
|
+
path: n(e, o)
|
|
15
|
+
};
|
|
16
|
+
}, [s]);
|
|
17
|
+
if (!p) return null;
|
|
18
|
+
let { modules: m, path: h } = p, g = Math.max(1, Math.floor(Number(c) / m) || 1) * m;
|
|
19
|
+
return /* @__PURE__ */ a("svg", {
|
|
20
|
+
viewBox: `0 0 ${m} ${m}`,
|
|
21
|
+
width: g,
|
|
22
|
+
height: g,
|
|
23
|
+
role: "img",
|
|
24
|
+
"aria-label": l,
|
|
25
|
+
shapeRendering: "crispEdges",
|
|
26
|
+
className: u || void 0,
|
|
27
|
+
style: d,
|
|
28
|
+
...f,
|
|
29
|
+
children: [/* @__PURE__ */ i("rect", {
|
|
30
|
+
width: m,
|
|
31
|
+
height: m,
|
|
32
|
+
fill: "#ffffff"
|
|
33
|
+
}), /* @__PURE__ */ i("path", {
|
|
34
|
+
d: h,
|
|
35
|
+
fill: "#000000"
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { s as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import e from "./warnUnknownProps.js";
|
|
2
|
+
import t from "../lib/CheckField.js";
|
|
3
|
+
import { forwardRef as n } from "react";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/AppRadio.jsx
|
|
6
|
+
var i = n(function({ label: n, id: i, name: a, error: o, hint: s, className: c = "", ...l }, u) {
|
|
7
|
+
return e("AppRadio", l), /* @__PURE__ */ r(t, {
|
|
8
|
+
ref: u,
|
|
9
|
+
label: n,
|
|
10
|
+
id: i,
|
|
11
|
+
name: a,
|
|
12
|
+
error: o,
|
|
13
|
+
hint: s,
|
|
14
|
+
className: c,
|
|
15
|
+
rest: l,
|
|
16
|
+
inputType: "radio",
|
|
17
|
+
wrapperClass: "form-check"
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { i as default };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import e from "./warnUnknownProps.js";
|
|
2
|
+
import t from "./AppInfoTip.js";
|
|
3
|
+
import n from "./AppRequiredMark.js";
|
|
4
|
+
import { useId as r } from "react";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/AppRadioGroup.jsx
|
|
7
|
+
function o({ label: o, options: s = [], name: c, value: l, defaultValue: u, onChange: d, inline: f = !1, required: p = !1, disabled: m = !1, error: h, hint: g, help: _, helpLabel: v = "More information", id: y, className: b = "", fieldClassName: x = "", style: S, ...C }) {
|
|
8
|
+
e("AppRadioGroup", C);
|
|
9
|
+
let w = r(), T = y || w, E = c || T, D = `${T}-error`, O = `${T}-hint`, k = l !== void 0;
|
|
10
|
+
return /* @__PURE__ */ a("div", {
|
|
11
|
+
className: `field${x ? ` ${x}` : ""}`,
|
|
12
|
+
children: [
|
|
13
|
+
o != null && /* @__PURE__ */ a("span", {
|
|
14
|
+
className: "label",
|
|
15
|
+
id: `${T}-label`,
|
|
16
|
+
children: [
|
|
17
|
+
o,
|
|
18
|
+
p && /* @__PURE__ */ i(n, {}),
|
|
19
|
+
_ && /* @__PURE__ */ i(t, {
|
|
20
|
+
label: v,
|
|
21
|
+
children: _
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ i("div", {
|
|
26
|
+
className: [
|
|
27
|
+
"wui-radio-group",
|
|
28
|
+
f ? "wui-radio-group-inline" : "",
|
|
29
|
+
b
|
|
30
|
+
].filter(Boolean).join(" "),
|
|
31
|
+
style: S,
|
|
32
|
+
id: T,
|
|
33
|
+
role: "radiogroup",
|
|
34
|
+
"aria-labelledby": o == null ? void 0 : `${T}-label`,
|
|
35
|
+
"aria-required": p ? "true" : void 0,
|
|
36
|
+
"aria-invalid": h ? "true" : void 0,
|
|
37
|
+
"aria-describedby": h ? D : g ? O : void 0,
|
|
38
|
+
...C,
|
|
39
|
+
children: s.map((e, t) => {
|
|
40
|
+
let n = `${T}-${t}`;
|
|
41
|
+
return /* @__PURE__ */ a("div", {
|
|
42
|
+
className: "form-check",
|
|
43
|
+
children: [/* @__PURE__ */ i("input", {
|
|
44
|
+
type: "radio",
|
|
45
|
+
className: "form-check-input",
|
|
46
|
+
id: n,
|
|
47
|
+
name: E,
|
|
48
|
+
value: e.value,
|
|
49
|
+
disabled: m || e.disabled || void 0,
|
|
50
|
+
required: p || void 0,
|
|
51
|
+
...k ? {
|
|
52
|
+
checked: l === e.value,
|
|
53
|
+
onChange: () => d?.(e.value)
|
|
54
|
+
} : {
|
|
55
|
+
defaultChecked: u === e.value,
|
|
56
|
+
onChange: () => d?.(e.value)
|
|
57
|
+
}
|
|
58
|
+
}), /* @__PURE__ */ i("label", {
|
|
59
|
+
className: "form-check-label",
|
|
60
|
+
htmlFor: n,
|
|
61
|
+
children: e.label
|
|
62
|
+
})]
|
|
63
|
+
}, e.value);
|
|
64
|
+
})
|
|
65
|
+
}),
|
|
66
|
+
h ? /* @__PURE__ */ i("div", {
|
|
67
|
+
className: "field-error",
|
|
68
|
+
id: D,
|
|
69
|
+
children: h
|
|
70
|
+
}) : g ? /* @__PURE__ */ i("div", {
|
|
71
|
+
className: "field-hint",
|
|
72
|
+
id: O,
|
|
73
|
+
children: g
|
|
74
|
+
}) : null
|
|
75
|
+
]
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { o as default };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import e from "./warnUnknownProps.js";
|
|
2
|
+
import t from "./AppActionIcon.js";
|
|
3
|
+
import n from "./AppButton.js";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/AppRepeater.jsx
|
|
6
|
+
function a({ rows: a = [], renderRow: o, rowLabel: s, onAdd: c, onRemove: l, addLabel: u = "Add another", addVariant: d = "secondary", removeLabel: f = "Remove row", emptyText: p, min: m = 0, max: h, numbered: g = !0, className: _ = "", ...v }) {
|
|
7
|
+
e("AppRepeater", v);
|
|
8
|
+
let y = typeof h == "number" && a.length >= h, b = !!l && a.length > m;
|
|
9
|
+
return /* @__PURE__ */ i("div", {
|
|
10
|
+
className: `repeater${_ ? ` ${_}` : ""}`,
|
|
11
|
+
...v,
|
|
12
|
+
children: [
|
|
13
|
+
a.length === 0 && p && /* @__PURE__ */ r("div", {
|
|
14
|
+
className: "repeater-empty",
|
|
15
|
+
children: p
|
|
16
|
+
}),
|
|
17
|
+
a.map((e, n) => {
|
|
18
|
+
let a = s ? s(e, n) : null;
|
|
19
|
+
return /* @__PURE__ */ i("div", {
|
|
20
|
+
className: "repeater-row",
|
|
21
|
+
children: [
|
|
22
|
+
(!!a || b) && /* @__PURE__ */ r("span", {
|
|
23
|
+
className: "repeater-row-label",
|
|
24
|
+
children: a
|
|
25
|
+
}),
|
|
26
|
+
g && /* @__PURE__ */ r("span", {
|
|
27
|
+
className: "repeater-index",
|
|
28
|
+
children: n + 1
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ r("div", {
|
|
31
|
+
className: "repeater-body",
|
|
32
|
+
children: o(e, n)
|
|
33
|
+
}),
|
|
34
|
+
b && /* @__PURE__ */ r(t, {
|
|
35
|
+
icon: "trash-2",
|
|
36
|
+
label: `${f} ${n + 1}`,
|
|
37
|
+
danger: !0,
|
|
38
|
+
className: "repeater-remove",
|
|
39
|
+
onClick: () => l(n)
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
}, e.id ?? n);
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ r(n, {
|
|
45
|
+
variant: d,
|
|
46
|
+
size: "sm",
|
|
47
|
+
leftIcon: "plus",
|
|
48
|
+
className: "repeater-add",
|
|
49
|
+
disabled: y,
|
|
50
|
+
onClick: c,
|
|
51
|
+
children: u
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { a as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
//#region src/components/AppRequiredMark.jsx
|
|
3
|
+
function t() {
|
|
4
|
+
return /* @__PURE__ */ e("span", {
|
|
5
|
+
className: "required",
|
|
6
|
+
"aria-hidden": "true",
|
|
7
|
+
children: "*"
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t as default };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import e from "./warnUnknownProps.js";
|
|
2
|
+
import t from "./AppIcon.js";
|
|
3
|
+
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/AppResourceCard.jsx
|
|
5
|
+
function a({ icon: a, title: o, text: s, href: c, external: l = !1, linkComponent: u, className: d = "", ...f }) {
|
|
6
|
+
e("AppResourceCard", f);
|
|
7
|
+
let p = /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("span", {
|
|
8
|
+
className: "res-card-icon",
|
|
9
|
+
children: /* @__PURE__ */ r(t, {
|
|
10
|
+
name: a,
|
|
11
|
+
size: 18
|
|
12
|
+
})
|
|
13
|
+
}), /* @__PURE__ */ i("span", {
|
|
14
|
+
className: "res-card-body",
|
|
15
|
+
children: [/* @__PURE__ */ r("span", {
|
|
16
|
+
className: "res-card-title",
|
|
17
|
+
children: o
|
|
18
|
+
}), s && /* @__PURE__ */ r("span", {
|
|
19
|
+
className: "res-card-text",
|
|
20
|
+
children: s
|
|
21
|
+
})]
|
|
22
|
+
})] }), m = `res-card${d ? ` ${d}` : ""}`;
|
|
23
|
+
return u && !l ? /* @__PURE__ */ r(u, {
|
|
24
|
+
className: m,
|
|
25
|
+
to: c,
|
|
26
|
+
...f,
|
|
27
|
+
children: p
|
|
28
|
+
}) : /* @__PURE__ */ r("a", {
|
|
29
|
+
className: m,
|
|
30
|
+
href: c,
|
|
31
|
+
target: l ? "_blank" : void 0,
|
|
32
|
+
rel: l ? "noopener noreferrer" : void 0,
|
|
33
|
+
...f,
|
|
34
|
+
children: p
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
export { a as default };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import e from "./warnInvalidValue.js";
|
|
2
|
+
import t from "./warnUnknownProps.js";
|
|
3
|
+
import n from "./renderIconProp.js";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/AppResult.jsx
|
|
6
|
+
var a = {
|
|
7
|
+
success: {
|
|
8
|
+
icon: "check-circle",
|
|
9
|
+
tone: "success"
|
|
10
|
+
},
|
|
11
|
+
error: {
|
|
12
|
+
icon: "x-circle",
|
|
13
|
+
tone: "danger"
|
|
14
|
+
},
|
|
15
|
+
warning: {
|
|
16
|
+
icon: "alert-triangle",
|
|
17
|
+
tone: "warning"
|
|
18
|
+
},
|
|
19
|
+
info: {
|
|
20
|
+
icon: "info",
|
|
21
|
+
tone: "info"
|
|
22
|
+
},
|
|
23
|
+
403: { tone: "muted" },
|
|
24
|
+
404: { tone: "muted" },
|
|
25
|
+
500: { tone: "muted" }
|
|
26
|
+
};
|
|
27
|
+
function o({ status: o = "info", title: s, subtitle: c, icon: l, actions: u, children: d, className: f = "", ...p }) {
|
|
28
|
+
t("AppResult", p), e("AppResult", "status", o, Object.keys(a));
|
|
29
|
+
let m = a[o] || a.info, h = m.tone, g = /^\d+$/.test(o), _ = l ?? (g ? null : m.icon);
|
|
30
|
+
return /* @__PURE__ */ i("div", {
|
|
31
|
+
className: [
|
|
32
|
+
"result",
|
|
33
|
+
`result-${h}`,
|
|
34
|
+
f
|
|
35
|
+
].filter(Boolean).join(" "),
|
|
36
|
+
...p,
|
|
37
|
+
children: [
|
|
38
|
+
g ? /* @__PURE__ */ r("div", {
|
|
39
|
+
className: "result-code",
|
|
40
|
+
"aria-hidden": "true",
|
|
41
|
+
children: o
|
|
42
|
+
}) : _ ? /* @__PURE__ */ r("div", {
|
|
43
|
+
className: "result-icon",
|
|
44
|
+
children: n(_, { size: 48 })
|
|
45
|
+
}) : null,
|
|
46
|
+
s != null && /* @__PURE__ */ r("h2", {
|
|
47
|
+
className: "result-title",
|
|
48
|
+
children: s
|
|
49
|
+
}),
|
|
50
|
+
c != null && /* @__PURE__ */ r("div", {
|
|
51
|
+
className: "result-subtitle",
|
|
52
|
+
children: c
|
|
53
|
+
}),
|
|
54
|
+
u && /* @__PURE__ */ r("div", {
|
|
55
|
+
className: "result-actions",
|
|
56
|
+
children: u
|
|
57
|
+
}),
|
|
58
|
+
d && /* @__PURE__ */ r("div", {
|
|
59
|
+
className: "result-extra",
|
|
60
|
+
children: d
|
|
61
|
+
})
|
|
62
|
+
]
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { o as default };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import e from "./warnInvalidValue.js";
|
|
2
|
+
import t from "./warnUnknownProps.js";
|
|
3
|
+
import n from "./AppInfoTip.js";
|
|
4
|
+
import r from "./AppRequiredMark.js";
|
|
5
|
+
import i from "./useWuiControl.js";
|
|
6
|
+
import { forwardRef as a, useEffect as o, useId as s, useState as c } from "react";
|
|
7
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/AppRichText.jsx
|
|
9
|
+
var d = ["html", "markdown"], f = ["input", "change"], p = "The editor couldn't load. Reload the page and try again.", m = a(function({ value: a, onChange: m, format: h, placeholder: g, name: _, label: v, error: y, hint: b, required: x = !1, disabled: S = !1, readOnly: C = !1, id: w, ariaLabel: T, className: E = "", fieldClassName: D = "", help: O, helpLabel: k = "More information", ...A }, j) {
|
|
10
|
+
t("AppRichText", A), e("AppRichText", "format", h, d);
|
|
11
|
+
let M = s(), N = w || M, [P, F] = c(!1), { setRef: I } = i({
|
|
12
|
+
ref: j,
|
|
13
|
+
value: a,
|
|
14
|
+
onChange: m,
|
|
15
|
+
events: f
|
|
16
|
+
});
|
|
17
|
+
return o(() => {
|
|
18
|
+
let e = !0;
|
|
19
|
+
return import("@webority/ui-elements/rich-text").catch((t) => {
|
|
20
|
+
console.warn("[AppRichText] the editor failed to load:", t?.message), e && F(!0);
|
|
21
|
+
}), () => {
|
|
22
|
+
e = !1;
|
|
23
|
+
};
|
|
24
|
+
}, []), /* @__PURE__ */ u("div", {
|
|
25
|
+
className: `field${D ? ` ${D}` : ""}`,
|
|
26
|
+
children: [
|
|
27
|
+
v && /* @__PURE__ */ u("label", {
|
|
28
|
+
className: "label",
|
|
29
|
+
htmlFor: N,
|
|
30
|
+
children: [
|
|
31
|
+
v,
|
|
32
|
+
x && /* @__PURE__ */ l(r, {}),
|
|
33
|
+
O && /* @__PURE__ */ l(n, {
|
|
34
|
+
label: k,
|
|
35
|
+
children: O
|
|
36
|
+
})
|
|
37
|
+
]
|
|
38
|
+
}),
|
|
39
|
+
P ? /* @__PURE__ */ l("div", {
|
|
40
|
+
className: "field-error",
|
|
41
|
+
role: "status",
|
|
42
|
+
children: p
|
|
43
|
+
}) : /* @__PURE__ */ l("wui-rich-text", {
|
|
44
|
+
ref: I,
|
|
45
|
+
id: N,
|
|
46
|
+
role: "group",
|
|
47
|
+
name: _,
|
|
48
|
+
format: h || void 0,
|
|
49
|
+
placeholder: g,
|
|
50
|
+
"aria-label": T || (typeof v == "string" ? v : void 0),
|
|
51
|
+
"aria-describedby": y ? `${N}-error` : b ? `${N}-hint` : void 0,
|
|
52
|
+
"aria-invalid": y ? "true" : void 0,
|
|
53
|
+
required: x ? "" : void 0,
|
|
54
|
+
disabled: S ? "" : void 0,
|
|
55
|
+
readonly: C ? "" : void 0,
|
|
56
|
+
className: E || void 0,
|
|
57
|
+
...A
|
|
58
|
+
}, h || "html"),
|
|
59
|
+
y ? /* @__PURE__ */ l("div", {
|
|
60
|
+
className: "field-error",
|
|
61
|
+
id: `${N}-error`,
|
|
62
|
+
children: y
|
|
63
|
+
}) : b ? /* @__PURE__ */ l("div", {
|
|
64
|
+
className: "field-hint",
|
|
65
|
+
id: `${N}-hint`,
|
|
66
|
+
children: b
|
|
67
|
+
}) : null
|
|
68
|
+
]
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
//#endregion
|
|
72
|
+
export { m as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "./warnUnknownProps.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/AppScrollbar.jsx
|
|
4
|
+
function n({ children: n, className: r = "", maxHeight: i, style: a, ...o }) {
|
|
5
|
+
return e("AppScrollbar", o), /* @__PURE__ */ t("div", {
|
|
6
|
+
className: r ? `wui-scroll ${r}` : "wui-scroll",
|
|
7
|
+
style: i == null ? a : {
|
|
8
|
+
maxHeight: i,
|
|
9
|
+
...a
|
|
10
|
+
},
|
|
11
|
+
...o,
|
|
12
|
+
children: n
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import e from "./warnInvalidValue.js";
|
|
2
|
+
import t from "./warnUnknownProps.js";
|
|
3
|
+
import n from "./AppIcon.js";
|
|
4
|
+
import { Form as r } from "react-bootstrap";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/AppSearch.jsx
|
|
7
|
+
var o = ["sm", "lg"];
|
|
8
|
+
function s({ value: s, onChange: c, placeholder: l = "Search…", ariaLabel: u, iconSize: d = 18, size: f, loading: p = !1, disabled: m = !1, className: h = "", ...g }) {
|
|
9
|
+
return t("AppSearch", g), e("AppSearch", "size", f, o), /* @__PURE__ */ a("div", {
|
|
10
|
+
className: [
|
|
11
|
+
"search-wrap",
|
|
12
|
+
s ? "has-value" : "",
|
|
13
|
+
f === "sm" ? "search-sm" : f === "lg" ? "search-lg" : "",
|
|
14
|
+
p ? "is-loading" : "",
|
|
15
|
+
h
|
|
16
|
+
].filter(Boolean).join(" "),
|
|
17
|
+
children: [
|
|
18
|
+
p && /* @__PURE__ */ i("span", {
|
|
19
|
+
className: "search-spinner",
|
|
20
|
+
"aria-hidden": "true"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ i(n, {
|
|
23
|
+
name: "search",
|
|
24
|
+
size: d,
|
|
25
|
+
className: "search-icon"
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ i(r.Control, {
|
|
28
|
+
type: "search",
|
|
29
|
+
className: "input search-input",
|
|
30
|
+
placeholder: l,
|
|
31
|
+
value: s,
|
|
32
|
+
onChange: (e) => c?.(e.target.value),
|
|
33
|
+
"aria-label": u,
|
|
34
|
+
disabled: m,
|
|
35
|
+
...g
|
|
36
|
+
}),
|
|
37
|
+
!m && /* @__PURE__ */ i("button", {
|
|
38
|
+
type: "button",
|
|
39
|
+
className: "search-clear",
|
|
40
|
+
"aria-label": "Clear search",
|
|
41
|
+
onClick: () => c?.(""),
|
|
42
|
+
hidden: !s,
|
|
43
|
+
children: /* @__PURE__ */ i(n, {
|
|
44
|
+
name: "x",
|
|
45
|
+
size: 16
|
|
46
|
+
})
|
|
47
|
+
})
|
|
48
|
+
]
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { s as default };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import e from "./warnInvalidValue.js";
|
|
2
|
+
import t from "./warnUnknownProps.js";
|
|
3
|
+
import n from "./AppIcon.js";
|
|
4
|
+
import { useEffect as r, useId as i, useLayoutEffect as a, useRef as o } from "react";
|
|
5
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/AppSegmented.jsx
|
|
7
|
+
var l = {
|
|
8
|
+
sm: "segmented-sm",
|
|
9
|
+
md: "",
|
|
10
|
+
lg: "segmented-lg",
|
|
11
|
+
xl: "wui-segmented-xl"
|
|
12
|
+
};
|
|
13
|
+
function u({ options: u = [], value: d, onChange: f, label: p, name: m, size: h = "md", fullWidth: g = !1, bordered: _ = !0, disabled: v = !1, className: y = "", ...b }) {
|
|
14
|
+
t("AppSegmented", b), e("AppSegmented", "size", h, Object.keys(l));
|
|
15
|
+
let x = i(), S = m || x, C = o(null), w = o(null), T = [
|
|
16
|
+
"segmented",
|
|
17
|
+
l[h] ?? "",
|
|
18
|
+
g ? "segmented-full" : "",
|
|
19
|
+
_ ? "" : "wui-segmented-borderless",
|
|
20
|
+
v ? "is-disabled" : "",
|
|
21
|
+
y
|
|
22
|
+
].filter(Boolean).join(" ");
|
|
23
|
+
return a(() => {
|
|
24
|
+
let e = C.current, t = w.current;
|
|
25
|
+
if (!e || !t) return;
|
|
26
|
+
let n = (n) => {
|
|
27
|
+
let r = e.querySelector(".segmented-option:has(.segmented-input:checked)");
|
|
28
|
+
if (!r || !e.offsetWidth) {
|
|
29
|
+
t.style.opacity = "0";
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
n || e.classList.remove("is-animated"), t.style.width = `${r.offsetWidth}px`, t.style.transform = `translateX(${r.offsetLeft}px)`, t.style.opacity = "1", n || requestAnimationFrame(() => C.current?.classList.add("is-animated"));
|
|
33
|
+
};
|
|
34
|
+
n(!0);
|
|
35
|
+
let r = typeof ResizeObserver < "u" ? new ResizeObserver(() => n(!1)) : null;
|
|
36
|
+
return r?.observe(e), () => r?.disconnect();
|
|
37
|
+
}, [
|
|
38
|
+
d,
|
|
39
|
+
u,
|
|
40
|
+
h,
|
|
41
|
+
g
|
|
42
|
+
]), r(() => {
|
|
43
|
+
let e = requestAnimationFrame(() => C.current?.classList.add("is-animated"));
|
|
44
|
+
return () => cancelAnimationFrame(e);
|
|
45
|
+
}, []), /* @__PURE__ */ c("div", {
|
|
46
|
+
ref: C,
|
|
47
|
+
className: T,
|
|
48
|
+
role: "radiogroup",
|
|
49
|
+
"aria-label": p,
|
|
50
|
+
"aria-disabled": v || void 0,
|
|
51
|
+
...b,
|
|
52
|
+
children: [/* @__PURE__ */ s("span", {
|
|
53
|
+
className: "segmented-thumb",
|
|
54
|
+
ref: w,
|
|
55
|
+
"aria-hidden": "true"
|
|
56
|
+
}), u.map((e) => /* @__PURE__ */ c("label", {
|
|
57
|
+
className: "segmented-option",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ s("input", {
|
|
60
|
+
type: "radio",
|
|
61
|
+
className: "segmented-input",
|
|
62
|
+
name: S,
|
|
63
|
+
value: e.value,
|
|
64
|
+
checked: e.value === d,
|
|
65
|
+
disabled: v || e.disabled,
|
|
66
|
+
onChange: () => f?.(e.value)
|
|
67
|
+
}),
|
|
68
|
+
e.icon && /* @__PURE__ */ s(n, {
|
|
69
|
+
name: e.icon,
|
|
70
|
+
size: 13
|
|
71
|
+
}),
|
|
72
|
+
e.note ? /* @__PURE__ */ c("span", {
|
|
73
|
+
className: "segmented-option-text",
|
|
74
|
+
children: [/* @__PURE__ */ s("span", {
|
|
75
|
+
className: "segmented-option-label",
|
|
76
|
+
children: e.label
|
|
77
|
+
}), /* @__PURE__ */ s("span", {
|
|
78
|
+
className: "segmented-option-note",
|
|
79
|
+
children: e.note
|
|
80
|
+
})]
|
|
81
|
+
}) : e.label
|
|
82
|
+
]
|
|
83
|
+
}, e.value))]
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { u as default };
|