@webority/ui-react 0.33.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/AppFileViewer.d.ts +8 -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 -9524
- 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,577 @@
|
|
|
1
|
+
//#region src/lib/qrCode.js
|
|
2
|
+
var e = {
|
|
3
|
+
L: 0,
|
|
4
|
+
M: 1,
|
|
5
|
+
Q: 2,
|
|
6
|
+
H: 3
|
|
7
|
+
}, t = [
|
|
8
|
+
1,
|
|
9
|
+
0,
|
|
10
|
+
3,
|
|
11
|
+
2
|
|
12
|
+
], n = [
|
|
13
|
+
"L",
|
|
14
|
+
"M",
|
|
15
|
+
"Q",
|
|
16
|
+
"H"
|
|
17
|
+
], r = 3, i = 3, a = 40, o = 10, s = [
|
|
18
|
+
[
|
|
19
|
+
-1,
|
|
20
|
+
7,
|
|
21
|
+
10,
|
|
22
|
+
15,
|
|
23
|
+
20,
|
|
24
|
+
26,
|
|
25
|
+
18,
|
|
26
|
+
20,
|
|
27
|
+
24,
|
|
28
|
+
30,
|
|
29
|
+
18,
|
|
30
|
+
20,
|
|
31
|
+
24,
|
|
32
|
+
26,
|
|
33
|
+
30,
|
|
34
|
+
22,
|
|
35
|
+
24,
|
|
36
|
+
28,
|
|
37
|
+
30,
|
|
38
|
+
28,
|
|
39
|
+
28,
|
|
40
|
+
28,
|
|
41
|
+
28,
|
|
42
|
+
30,
|
|
43
|
+
30,
|
|
44
|
+
26,
|
|
45
|
+
28,
|
|
46
|
+
30,
|
|
47
|
+
30,
|
|
48
|
+
30,
|
|
49
|
+
30,
|
|
50
|
+
30,
|
|
51
|
+
30,
|
|
52
|
+
30,
|
|
53
|
+
30,
|
|
54
|
+
30,
|
|
55
|
+
30,
|
|
56
|
+
30,
|
|
57
|
+
30,
|
|
58
|
+
30,
|
|
59
|
+
30
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
-1,
|
|
63
|
+
10,
|
|
64
|
+
16,
|
|
65
|
+
26,
|
|
66
|
+
18,
|
|
67
|
+
24,
|
|
68
|
+
16,
|
|
69
|
+
18,
|
|
70
|
+
22,
|
|
71
|
+
22,
|
|
72
|
+
26,
|
|
73
|
+
30,
|
|
74
|
+
22,
|
|
75
|
+
22,
|
|
76
|
+
24,
|
|
77
|
+
24,
|
|
78
|
+
28,
|
|
79
|
+
28,
|
|
80
|
+
26,
|
|
81
|
+
26,
|
|
82
|
+
26,
|
|
83
|
+
26,
|
|
84
|
+
28,
|
|
85
|
+
28,
|
|
86
|
+
28,
|
|
87
|
+
28,
|
|
88
|
+
28,
|
|
89
|
+
28,
|
|
90
|
+
28,
|
|
91
|
+
28,
|
|
92
|
+
28,
|
|
93
|
+
28,
|
|
94
|
+
28,
|
|
95
|
+
28,
|
|
96
|
+
28,
|
|
97
|
+
28,
|
|
98
|
+
28,
|
|
99
|
+
28,
|
|
100
|
+
28,
|
|
101
|
+
28,
|
|
102
|
+
28
|
|
103
|
+
],
|
|
104
|
+
[
|
|
105
|
+
-1,
|
|
106
|
+
13,
|
|
107
|
+
22,
|
|
108
|
+
18,
|
|
109
|
+
26,
|
|
110
|
+
18,
|
|
111
|
+
24,
|
|
112
|
+
18,
|
|
113
|
+
22,
|
|
114
|
+
20,
|
|
115
|
+
24,
|
|
116
|
+
28,
|
|
117
|
+
26,
|
|
118
|
+
24,
|
|
119
|
+
20,
|
|
120
|
+
30,
|
|
121
|
+
24,
|
|
122
|
+
28,
|
|
123
|
+
28,
|
|
124
|
+
26,
|
|
125
|
+
30,
|
|
126
|
+
28,
|
|
127
|
+
30,
|
|
128
|
+
30,
|
|
129
|
+
30,
|
|
130
|
+
30,
|
|
131
|
+
28,
|
|
132
|
+
30,
|
|
133
|
+
30,
|
|
134
|
+
30,
|
|
135
|
+
30,
|
|
136
|
+
30,
|
|
137
|
+
30,
|
|
138
|
+
30,
|
|
139
|
+
30,
|
|
140
|
+
30,
|
|
141
|
+
30,
|
|
142
|
+
30,
|
|
143
|
+
30,
|
|
144
|
+
30,
|
|
145
|
+
30
|
|
146
|
+
],
|
|
147
|
+
[
|
|
148
|
+
-1,
|
|
149
|
+
17,
|
|
150
|
+
28,
|
|
151
|
+
22,
|
|
152
|
+
16,
|
|
153
|
+
22,
|
|
154
|
+
28,
|
|
155
|
+
26,
|
|
156
|
+
26,
|
|
157
|
+
24,
|
|
158
|
+
28,
|
|
159
|
+
24,
|
|
160
|
+
28,
|
|
161
|
+
22,
|
|
162
|
+
24,
|
|
163
|
+
24,
|
|
164
|
+
30,
|
|
165
|
+
28,
|
|
166
|
+
28,
|
|
167
|
+
26,
|
|
168
|
+
28,
|
|
169
|
+
30,
|
|
170
|
+
24,
|
|
171
|
+
30,
|
|
172
|
+
30,
|
|
173
|
+
30,
|
|
174
|
+
30,
|
|
175
|
+
30,
|
|
176
|
+
30,
|
|
177
|
+
30,
|
|
178
|
+
30,
|
|
179
|
+
30,
|
|
180
|
+
30,
|
|
181
|
+
30,
|
|
182
|
+
30,
|
|
183
|
+
30,
|
|
184
|
+
30,
|
|
185
|
+
30,
|
|
186
|
+
30,
|
|
187
|
+
30,
|
|
188
|
+
30
|
|
189
|
+
]
|
|
190
|
+
], c = [
|
|
191
|
+
[
|
|
192
|
+
-1,
|
|
193
|
+
1,
|
|
194
|
+
1,
|
|
195
|
+
1,
|
|
196
|
+
1,
|
|
197
|
+
1,
|
|
198
|
+
2,
|
|
199
|
+
2,
|
|
200
|
+
2,
|
|
201
|
+
2,
|
|
202
|
+
4,
|
|
203
|
+
4,
|
|
204
|
+
4,
|
|
205
|
+
4,
|
|
206
|
+
4,
|
|
207
|
+
6,
|
|
208
|
+
6,
|
|
209
|
+
6,
|
|
210
|
+
6,
|
|
211
|
+
7,
|
|
212
|
+
8,
|
|
213
|
+
8,
|
|
214
|
+
9,
|
|
215
|
+
9,
|
|
216
|
+
10,
|
|
217
|
+
12,
|
|
218
|
+
12,
|
|
219
|
+
12,
|
|
220
|
+
13,
|
|
221
|
+
14,
|
|
222
|
+
15,
|
|
223
|
+
16,
|
|
224
|
+
17,
|
|
225
|
+
18,
|
|
226
|
+
19,
|
|
227
|
+
19,
|
|
228
|
+
20,
|
|
229
|
+
21,
|
|
230
|
+
22,
|
|
231
|
+
24,
|
|
232
|
+
25
|
|
233
|
+
],
|
|
234
|
+
[
|
|
235
|
+
-1,
|
|
236
|
+
1,
|
|
237
|
+
1,
|
|
238
|
+
1,
|
|
239
|
+
2,
|
|
240
|
+
2,
|
|
241
|
+
4,
|
|
242
|
+
4,
|
|
243
|
+
4,
|
|
244
|
+
5,
|
|
245
|
+
5,
|
|
246
|
+
5,
|
|
247
|
+
8,
|
|
248
|
+
9,
|
|
249
|
+
9,
|
|
250
|
+
10,
|
|
251
|
+
10,
|
|
252
|
+
11,
|
|
253
|
+
13,
|
|
254
|
+
14,
|
|
255
|
+
16,
|
|
256
|
+
17,
|
|
257
|
+
17,
|
|
258
|
+
18,
|
|
259
|
+
20,
|
|
260
|
+
21,
|
|
261
|
+
23,
|
|
262
|
+
25,
|
|
263
|
+
26,
|
|
264
|
+
28,
|
|
265
|
+
29,
|
|
266
|
+
31,
|
|
267
|
+
33,
|
|
268
|
+
35,
|
|
269
|
+
37,
|
|
270
|
+
38,
|
|
271
|
+
40,
|
|
272
|
+
43,
|
|
273
|
+
45,
|
|
274
|
+
47,
|
|
275
|
+
49
|
|
276
|
+
],
|
|
277
|
+
[
|
|
278
|
+
-1,
|
|
279
|
+
1,
|
|
280
|
+
1,
|
|
281
|
+
2,
|
|
282
|
+
2,
|
|
283
|
+
4,
|
|
284
|
+
4,
|
|
285
|
+
6,
|
|
286
|
+
6,
|
|
287
|
+
8,
|
|
288
|
+
8,
|
|
289
|
+
8,
|
|
290
|
+
10,
|
|
291
|
+
12,
|
|
292
|
+
16,
|
|
293
|
+
12,
|
|
294
|
+
17,
|
|
295
|
+
16,
|
|
296
|
+
18,
|
|
297
|
+
21,
|
|
298
|
+
20,
|
|
299
|
+
23,
|
|
300
|
+
23,
|
|
301
|
+
25,
|
|
302
|
+
27,
|
|
303
|
+
29,
|
|
304
|
+
34,
|
|
305
|
+
34,
|
|
306
|
+
35,
|
|
307
|
+
38,
|
|
308
|
+
40,
|
|
309
|
+
43,
|
|
310
|
+
45,
|
|
311
|
+
48,
|
|
312
|
+
51,
|
|
313
|
+
53,
|
|
314
|
+
56,
|
|
315
|
+
59,
|
|
316
|
+
62,
|
|
317
|
+
65,
|
|
318
|
+
68
|
|
319
|
+
],
|
|
320
|
+
[
|
|
321
|
+
-1,
|
|
322
|
+
1,
|
|
323
|
+
1,
|
|
324
|
+
2,
|
|
325
|
+
4,
|
|
326
|
+
4,
|
|
327
|
+
4,
|
|
328
|
+
5,
|
|
329
|
+
6,
|
|
330
|
+
8,
|
|
331
|
+
8,
|
|
332
|
+
11,
|
|
333
|
+
11,
|
|
334
|
+
16,
|
|
335
|
+
16,
|
|
336
|
+
18,
|
|
337
|
+
16,
|
|
338
|
+
19,
|
|
339
|
+
21,
|
|
340
|
+
25,
|
|
341
|
+
25,
|
|
342
|
+
25,
|
|
343
|
+
34,
|
|
344
|
+
30,
|
|
345
|
+
32,
|
|
346
|
+
35,
|
|
347
|
+
37,
|
|
348
|
+
40,
|
|
349
|
+
42,
|
|
350
|
+
45,
|
|
351
|
+
48,
|
|
352
|
+
51,
|
|
353
|
+
54,
|
|
354
|
+
57,
|
|
355
|
+
60,
|
|
356
|
+
63,
|
|
357
|
+
66,
|
|
358
|
+
70,
|
|
359
|
+
74,
|
|
360
|
+
77,
|
|
361
|
+
81
|
|
362
|
+
]
|
|
363
|
+
];
|
|
364
|
+
function l(t, n = "M", { mask: r = -1, boostEcc: i = !0 } = {}) {
|
|
365
|
+
if (!Object.hasOwn(e, n)) throw RangeError(`Unknown error correction level "${n}"`);
|
|
366
|
+
if (!Number.isInteger(r) || r < -1 || r > 7) throw RangeError("Mask must be -1 to 7");
|
|
367
|
+
let a = new TextEncoder().encode(String(t)), o = e[n], s = 1, c = 0;
|
|
368
|
+
for (; c = d(a.length, s), !(c <= b(s, o) * 8); s++) if (s >= 40) throw RangeError(`Data too long for a QR code: ${a.length} bytes`);
|
|
369
|
+
for (let e = 1; e <= 3; e++) i && c <= b(s, e) * 8 && (o = Math.max(o, e));
|
|
370
|
+
let l = [];
|
|
371
|
+
T(4, 4, l), T(a.length, s <= 9 ? 8 : 16, l);
|
|
372
|
+
for (let e of a) T(e, 8, l);
|
|
373
|
+
let u = b(s, o) * 8;
|
|
374
|
+
T(0, Math.min(4, u - l.length), l), T(0, (8 - l.length % 8) % 8, l);
|
|
375
|
+
for (let e = 236; l.length < u; e ^= 253) T(e, 8, l);
|
|
376
|
+
let p = new Uint8Array(l.length / 8);
|
|
377
|
+
return l.forEach((e, t) => {
|
|
378
|
+
p[t >>> 3] |= e << 7 - (t & 7);
|
|
379
|
+
}), f(s, o, p, r);
|
|
380
|
+
}
|
|
381
|
+
function u(e, t = 4) {
|
|
382
|
+
let { size: n } = e, r = "";
|
|
383
|
+
for (let i = 0; i < n; i++) {
|
|
384
|
+
let a = 0;
|
|
385
|
+
for (; a < n;) {
|
|
386
|
+
if (!e.isDark(i, a)) {
|
|
387
|
+
a++;
|
|
388
|
+
continue;
|
|
389
|
+
}
|
|
390
|
+
let o = a;
|
|
391
|
+
for (; a < n && e.isDark(i, a);) a++;
|
|
392
|
+
let s = a - o;
|
|
393
|
+
r += `M${o + t} ${i + t}h${s}v1h-${s}z`;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
return r;
|
|
397
|
+
}
|
|
398
|
+
function d(e, t) {
|
|
399
|
+
let n = t <= 9 ? 8 : 16;
|
|
400
|
+
return e >= 1 << n ? Infinity : 4 + n + e * 8;
|
|
401
|
+
}
|
|
402
|
+
function f(e, r, i, a) {
|
|
403
|
+
let o = e * 4 + 17, s = new Uint8Array(o * o), c = new Uint8Array(o * o), l = (e, t, n) => {
|
|
404
|
+
s[t * o + e] = +!!n, c[t * o + e] = 1;
|
|
405
|
+
}, u = (e) => {
|
|
406
|
+
let n = t[r] << 3 | e, i = n;
|
|
407
|
+
for (let e = 0; e < 10; e++) i = i << 1 ^ (i >>> 9) * 1335;
|
|
408
|
+
let a = (n << 10 | i) ^ 21522;
|
|
409
|
+
for (let e = 0; e <= 5; e++) l(8, e, E(a, e));
|
|
410
|
+
l(8, 7, E(a, 6)), l(8, 8, E(a, 7)), l(7, 8, E(a, 8));
|
|
411
|
+
for (let e = 9; e < 15; e++) l(14 - e, 8, E(a, e));
|
|
412
|
+
for (let e = 0; e < 8; e++) l(o - 1 - e, 8, E(a, e));
|
|
413
|
+
for (let e = 8; e < 15; e++) l(8, o - 15 + e, E(a, e));
|
|
414
|
+
l(8, o - 8, !0);
|
|
415
|
+
}, d = (e, t) => {
|
|
416
|
+
for (let n = -4; n <= 4; n++) for (let r = -4; r <= 4; r++) {
|
|
417
|
+
let i = Math.max(Math.abs(r), Math.abs(n)), a = e + r, s = t + n;
|
|
418
|
+
a >= 0 && a < o && s >= 0 && s < o && l(a, s, i !== 2 && i !== 4);
|
|
419
|
+
}
|
|
420
|
+
}, f = (e, t) => {
|
|
421
|
+
for (let n = -2; n <= 2; n++) for (let r = -2; r <= 2; r++) l(e + r, t + n, Math.max(Math.abs(r), Math.abs(n)) !== 1);
|
|
422
|
+
};
|
|
423
|
+
for (let e = 0; e < o; e++) l(6, e, e % 2 == 0), l(e, 6, e % 2 == 0);
|
|
424
|
+
d(3, 3), d(o - 4, 3), d(3, o - 4);
|
|
425
|
+
let h = v(e, o), g = h.length;
|
|
426
|
+
for (let e = 0; e < g; e++) for (let t = 0; t < g; t++) e === 0 && t === 0 || e === 0 && t === g - 1 || e === g - 1 && t === 0 || f(h[e], h[t]);
|
|
427
|
+
if (u(0), e >= 7) {
|
|
428
|
+
let t = e;
|
|
429
|
+
for (let e = 0; e < 12; e++) t = t << 1 ^ (t >>> 11) * 7973;
|
|
430
|
+
let n = e << 12 | t;
|
|
431
|
+
for (let e = 0; e < 18; e++) {
|
|
432
|
+
let t = E(n, e), r = o - 11 + e % 3, i = Math.floor(e / 3);
|
|
433
|
+
l(r, i, t), l(i, r, t);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
let _ = x(i, e, r), y = 0, b = _.length * 8;
|
|
437
|
+
for (let e = o - 1; e >= 1; e -= 2) {
|
|
438
|
+
e === 6 && (e = 5);
|
|
439
|
+
for (let t = 0; t < o; t++) for (let n = 0; n < 2; n++) {
|
|
440
|
+
let r = e - n, i = e + 1 & 2 ? t : o - 1 - t;
|
|
441
|
+
!c[i * o + r] && y < b && (s[i * o + r] = +!!E(_[y >>> 3], 7 - (y & 7)), y++);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
let S = (e) => {
|
|
445
|
+
for (let t = 0; t < o; t++) for (let n = 0; n < o; n++) !c[t * o + n] && p(e, n, t) && (s[t * o + n] ^= 1);
|
|
446
|
+
}, C = a;
|
|
447
|
+
if (C === -1) {
|
|
448
|
+
let e = Infinity;
|
|
449
|
+
for (let t = 0; t < 8; t++) {
|
|
450
|
+
S(t), u(t);
|
|
451
|
+
let n = m(s, o);
|
|
452
|
+
n < e && (C = t, e = n), S(t);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
return S(C), u(C), Object.freeze({
|
|
456
|
+
size: o,
|
|
457
|
+
version: e,
|
|
458
|
+
ecc: n[r],
|
|
459
|
+
mask: C,
|
|
460
|
+
isDark: (e, t) => e >= 0 && e < o && t >= 0 && t < o && s[e * o + t] === 1
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
function p(e, t, n) {
|
|
464
|
+
switch (e) {
|
|
465
|
+
case 0: return (t + n) % 2 == 0;
|
|
466
|
+
case 1: return n % 2 == 0;
|
|
467
|
+
case 2: return t % 3 == 0;
|
|
468
|
+
case 3: return (t + n) % 3 == 0;
|
|
469
|
+
case 4: return (Math.floor(t / 3) + Math.floor(n / 2)) % 2 == 0;
|
|
470
|
+
case 5: return t * n % 2 + t * n % 3 == 0;
|
|
471
|
+
case 6: return (t * n % 2 + t * n % 3) % 2 == 0;
|
|
472
|
+
default: return ((t + n) % 2 + t * n % 3) % 2 == 0;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
function m(e, t) {
|
|
476
|
+
let n = 0, s = (n, r) => e[r * t + n] === 1;
|
|
477
|
+
for (let e = 0; e < 2; e++) for (let i = 0; i < t; i++) {
|
|
478
|
+
let o = !1, c = 0, l = [
|
|
479
|
+
0,
|
|
480
|
+
0,
|
|
481
|
+
0,
|
|
482
|
+
0,
|
|
483
|
+
0,
|
|
484
|
+
0,
|
|
485
|
+
0
|
|
486
|
+
];
|
|
487
|
+
for (let u = 0; u < t; u++) {
|
|
488
|
+
let d = e === 0 ? s(u, i) : s(i, u);
|
|
489
|
+
d === o ? (c++, c === 5 ? n += r : c > 5 && n++) : (_(c, l, t), o || (n += h(l) * a), o = d, c = 1);
|
|
490
|
+
}
|
|
491
|
+
n += g(o, c, l, t) * a;
|
|
492
|
+
}
|
|
493
|
+
for (let e = 0; e < t - 1; e++) for (let r = 0; r < t - 1; r++) {
|
|
494
|
+
let t = s(r, e);
|
|
495
|
+
t === s(r + 1, e) && t === s(r, e + 1) && t === s(r + 1, e + 1) && (n += i);
|
|
496
|
+
}
|
|
497
|
+
let c = 0;
|
|
498
|
+
for (let t of e) c += t;
|
|
499
|
+
let l = t * t, u = Math.ceil(Math.abs(c * 20 - l * 10) / l) - 1;
|
|
500
|
+
return n += u * o, n;
|
|
501
|
+
}
|
|
502
|
+
function h(e) {
|
|
503
|
+
let t = e[1], n = t > 0 && e[2] === t && e[3] === t * 3 && e[4] === t && e[5] === t;
|
|
504
|
+
return (n && e[0] >= t * 4 && e[6] >= t ? 1 : 0) + (n && e[6] >= t * 4 && e[0] >= t ? 1 : 0);
|
|
505
|
+
}
|
|
506
|
+
function g(e, t, n, r) {
|
|
507
|
+
let i = t;
|
|
508
|
+
return e && (_(i, n, r), i = 0), i += r, _(i, n, r), h(n);
|
|
509
|
+
}
|
|
510
|
+
function _(e, t, n) {
|
|
511
|
+
let r = t[0] === 0 ? e + n : e;
|
|
512
|
+
t.pop(), t.unshift(r);
|
|
513
|
+
}
|
|
514
|
+
function v(e, t) {
|
|
515
|
+
if (e === 1) return [];
|
|
516
|
+
let n = Math.floor(e / 7) + 2, r = Math.floor((e * 8 + n * 3 + 5) / (n * 4 - 4)) * 2, i = [6];
|
|
517
|
+
for (let e = t - 7; i.length < n; e -= r) i.splice(1, 0, e);
|
|
518
|
+
return i;
|
|
519
|
+
}
|
|
520
|
+
function y(e) {
|
|
521
|
+
let t = (16 * e + 128) * e + 64;
|
|
522
|
+
if (e >= 2) {
|
|
523
|
+
let n = Math.floor(e / 7) + 2;
|
|
524
|
+
t -= (25 * n - 10) * n - 55, e >= 7 && (t -= 36);
|
|
525
|
+
}
|
|
526
|
+
return t;
|
|
527
|
+
}
|
|
528
|
+
function b(e, t) {
|
|
529
|
+
return Math.floor(y(e) / 8) - s[t][e] * c[t][e];
|
|
530
|
+
}
|
|
531
|
+
function x(e, t, n) {
|
|
532
|
+
let r = c[n][t], i = s[n][t], a = Math.floor(y(t) / 8), o = r - a % r, l = Math.floor(a / r), u = [], d = S(i);
|
|
533
|
+
for (let t = 0, n = 0; t < r; t++) {
|
|
534
|
+
let r = Array.from(e.subarray(n, n + l - i + (t < o ? 0 : 1)));
|
|
535
|
+
n += r.length;
|
|
536
|
+
let a = C(r, d);
|
|
537
|
+
t < o && r.push(0), u.push(r.concat(a));
|
|
538
|
+
}
|
|
539
|
+
let f = [];
|
|
540
|
+
for (let e = 0; e < u[0].length; e++) u.forEach((t, n) => {
|
|
541
|
+
(e !== l - i || n >= o) && f.push(t[e]);
|
|
542
|
+
});
|
|
543
|
+
return f;
|
|
544
|
+
}
|
|
545
|
+
function S(e) {
|
|
546
|
+
let t = Array(e).fill(0);
|
|
547
|
+
t[e - 1] = 1;
|
|
548
|
+
let n = 1;
|
|
549
|
+
for (let r = 0; r < e; r++) {
|
|
550
|
+
for (let e = 0; e < t.length; e++) t[e] = w(t[e], n), e + 1 < t.length && (t[e] ^= t[e + 1]);
|
|
551
|
+
n = w(n, 2);
|
|
552
|
+
}
|
|
553
|
+
return t;
|
|
554
|
+
}
|
|
555
|
+
function C(e, t) {
|
|
556
|
+
let n = t.map(() => 0);
|
|
557
|
+
for (let r of e) {
|
|
558
|
+
let e = r ^ n.shift();
|
|
559
|
+
n.push(0), t.forEach((t, r) => {
|
|
560
|
+
n[r] ^= w(t, e);
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
return n;
|
|
564
|
+
}
|
|
565
|
+
function w(e, t) {
|
|
566
|
+
let n = 0;
|
|
567
|
+
for (let r = 7; r >= 0; r--) n = n << 1 ^ (n >>> 7) * 285, n ^= (t >>> r & 1) * e;
|
|
568
|
+
return n;
|
|
569
|
+
}
|
|
570
|
+
function T(e, t, n) {
|
|
571
|
+
for (let r = t - 1; r >= 0; r--) n.push(e >>> r & 1);
|
|
572
|
+
}
|
|
573
|
+
function E(e, t) {
|
|
574
|
+
return (e >>> t & 1) != 0;
|
|
575
|
+
}
|
|
576
|
+
//#endregion
|
|
577
|
+
export { l as encodeQr, u as qrSvgPath };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/lib/shellCookie.js
|
|
2
|
+
var e = "wui-shell-collapsed";
|
|
3
|
+
function t(t = e, n = document) {
|
|
4
|
+
for (let e of n.cookie.split(";")) {
|
|
5
|
+
let n = e.indexOf("=");
|
|
6
|
+
if (n < 0 || e.slice(0, n).trim() !== t) continue;
|
|
7
|
+
let r = e.slice(n + 1).trim();
|
|
8
|
+
return r === "1" || r !== "0" && null;
|
|
9
|
+
}
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
function n(t, n = e, r = document) {
|
|
13
|
+
r.cookie = `${n}=${t ? "1" : "0"}; Path=/; Max-Age=31536000; SameSite=Lax`;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { e as SHELL_COLLAPSED_COOKIE, t as readShellCollapsed, n as writeShellCollapsed };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useEffect as e, useRef as t } from "react";
|
|
2
|
+
//#region src/lib/useCommandPaletteShortcut.js
|
|
3
|
+
function n(n, { key: r = "k" } = {}) {
|
|
4
|
+
let i = t(n);
|
|
5
|
+
e(() => {
|
|
6
|
+
i.current = n;
|
|
7
|
+
}), e(() => {
|
|
8
|
+
let e = String(r).toLowerCase(), t = (t) => {
|
|
9
|
+
!(t.ctrlKey || t.metaKey) || t.altKey || t.shiftKey || t.repeat || String(t.key).toLowerCase() === e && (t.preventDefault(), i.current?.());
|
|
10
|
+
};
|
|
11
|
+
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
12
|
+
}, [r]);
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { n as useCommandPaletteShortcut };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import e from "../components/warnInvalidValue.js";
|
|
2
|
+
import { useLayoutEffect as t, useState as n } from "react";
|
|
3
|
+
//#region src/lib/useFloatingStack.js
|
|
4
|
+
var r = ["end", "start"], i = ".wui-floating-stack", a = {
|
|
5
|
+
end: 0,
|
|
6
|
+
start: 0
|
|
7
|
+
};
|
|
8
|
+
function o(e) {
|
|
9
|
+
let t = document.querySelector(`${i}[data-position="${e}"]`);
|
|
10
|
+
return t || (t = document.createElement("div"), t.className = "wui-floating-stack", t.dataset.position = e, t.dataset.supportCapture = "exclude", document.body.appendChild(t)), a[e] += 1, t;
|
|
11
|
+
}
|
|
12
|
+
function s(e) {
|
|
13
|
+
--a[e], !(a[e] > 0) && document.querySelector(`${i}[data-position="${e}"]`)?.remove();
|
|
14
|
+
}
|
|
15
|
+
function c(i = "end", a = !0) {
|
|
16
|
+
e("useFloatingStack", "position", i, r);
|
|
17
|
+
let c = r.includes(i) ? i : "end", [l, u] = n(null);
|
|
18
|
+
return t(() => {
|
|
19
|
+
if (a) return u(o(c)), () => {
|
|
20
|
+
s(c), u(null);
|
|
21
|
+
};
|
|
22
|
+
}, [c, a]), l;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { c as useFloatingStack };
|