@webority/ui-react 0.37.0 → 0.38.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 +1 -57
- package/dist/components/AppActionIcon.js +1 -53
- package/dist/components/AppAlert.js +1 -85
- package/dist/components/AppAsyncBlock.js +1 -48
- package/dist/components/AppAutocomplete.js +1 -93
- package/dist/components/AppAvatar.js +1 -143
- package/dist/components/AppAvatarGroup.js +1 -43
- package/dist/components/AppAvatarPicker.js +1 -247
- package/dist/components/AppBadge.js +1 -28
- package/dist/components/AppBanner.js +1 -49
- package/dist/components/AppBreadcrumbs.js +1 -24
- package/dist/components/AppButton.js +1 -85
- package/dist/components/AppCalendar.js +1 -72
- package/dist/components/AppCard.js +1 -110
- package/dist/components/AppChart.js +1 -153
- package/dist/components/AppChartCard.js +1 -125
- package/dist/components/AppCheckbox.js +1 -21
- package/dist/components/AppChip.js +1 -71
- package/dist/components/AppChoiceCard.js +1 -69
- package/dist/components/AppChoiceChip.js +1 -31
- package/dist/components/AppColorField.js +1 -63
- package/dist/components/AppColumnMenu.js +1 -27
- package/dist/components/AppCommandPalette.js +1 -164
- package/dist/components/AppCompareTable.js +1 -41
- package/dist/components/AppConfirmDialog.js +1 -93
- package/dist/components/AppConsentBanner.js +1 -37
- package/dist/components/AppContextMenu.js +1 -46
- package/dist/components/AppCopyButton.js +1 -41
- package/dist/components/AppCountrySelect.js +1 -75
- package/dist/components/AppDashboardCell.js +1 -19
- package/dist/components/AppDashboardGrid.js +1 -12
- package/dist/components/AppDataTable.js +1 -213
- package/dist/components/AppDatePicker.js +1 -59
- package/dist/components/AppDateRangePicker.js +1 -73
- package/dist/components/AppDescriptions.js +1 -40
- package/dist/components/AppDropZone.js +1 -106
- package/dist/components/AppDropdown.js +1 -90
- package/dist/components/AppEmptyState.js +1 -37
- package/dist/components/AppErrorSummary.js +1 -37
- package/dist/components/AppFileAttachment.js +1 -140
- package/dist/components/AppFilePicker.js +1 -220
- package/dist/components/AppFileViewer.js +1 -50
- package/dist/components/AppFilterBar.js +1 -129
- package/dist/components/AppFloatingDock.js +1 -47
- package/dist/components/AppFormActions.js +1 -23
- package/dist/components/AppFormRow.js +1 -24
- package/dist/components/AppFormSection.js +1 -32
- package/dist/components/AppIcon.js +1 -147
- package/dist/components/AppInfoList.js +1 -36
- package/dist/components/AppInfoTip.js +1 -41
- package/dist/components/AppInput.js +1 -269
- package/dist/components/AppKanban.js +1 -270
- package/dist/components/AppKpiTile.js +1 -91
- package/dist/components/AppLink.js +1 -74
- package/dist/components/AppLogoPicker.js +1 -264
- package/dist/components/AppMeter.js +1 -42
- package/dist/components/AppModal.js +1 -124
- package/dist/components/AppMultiSelect.js +1 -75
- package/dist/components/AppNumberInput.js +1 -139
- package/dist/components/AppOtpInput.js +1 -53
- package/dist/components/AppPageHeader.js +1 -82
- package/dist/components/AppPagination.js +1 -66
- package/dist/components/AppPhoneNumberInput.js +1 -53
- package/dist/components/AppPopover.js +1 -47
- package/dist/components/AppPricingCard.js +1 -58
- package/dist/components/AppProgress.js +1 -42
- package/dist/components/AppQrCode.js +1 -40
- package/dist/components/AppRadio.js +1 -21
- package/dist/components/AppRadioGroup.js +1 -79
- package/dist/components/AppRepeater.js +1 -57
- package/dist/components/AppRequiredMark.js +1 -11
- package/dist/components/AppResourceCard.js +1 -38
- package/dist/components/AppResult.js +1 -66
- package/dist/components/AppRichText.js +1 -72
- package/dist/components/AppScrollbar.js +1 -16
- package/dist/components/AppSearch.js +1 -52
- package/dist/components/AppSegmented.js +1 -87
- package/dist/components/AppSelect.js +1 -95
- package/dist/components/AppSelectMini.js +1 -45
- package/dist/components/AppShell.js +1 -712
- package/dist/components/AppSidebarMenu.js +1 -77
- package/dist/components/AppSkeleton.js +1 -24
- package/dist/components/AppSlider.js +1 -76
- package/dist/components/AppSortableList.js +1 -63
- package/dist/components/AppSparkline.js +1 -47
- package/dist/components/AppSpinner.js +1 -23
- package/dist/components/AppSplash.js +1 -62
- package/dist/components/AppStatusBadge.js +1 -22
- package/dist/components/AppStepper.js +1 -94
- package/dist/components/AppSwitch.js +1 -26
- package/dist/components/AppTableEmptyState.js +1 -30
- package/dist/components/AppTablePagination.js +1 -85
- package/dist/components/AppTableToolbar.js +1 -41
- package/dist/components/AppTabs.js +1 -195
- package/dist/components/AppTagInput.js +1 -63
- package/dist/components/AppTextarea.js +1 -81
- package/dist/components/AppThemeToggle.js +1 -102
- package/dist/components/AppTimePicker.js +1 -68
- package/dist/components/AppTimeline.js +1 -102
- package/dist/components/AppToast.js +1 -169
- package/dist/components/AppToolbar.js +1 -63
- package/dist/components/AppTooltip.js +1 -50
- package/dist/components/AppTour.js +1 -39
- package/dist/components/AppTreeView.js +1 -61
- package/dist/components/AppWizard.js +1 -82
- package/dist/components/AppWorkspaceSwitcher.js +1 -176
- package/dist/components/ModalIcons.js +1 -18
- package/dist/components/iconCatalogFull/bold/a.g.js +1 -69
- package/dist/components/iconCatalogFull/bold/b.g.js +1 -79
- package/dist/components/iconCatalogFull/bold/c.g.js +1 -98
- package/dist/components/iconCatalogFull/bold/d.g.js +1 -54
- package/dist/components/iconCatalogFull/bold/e.g.js +1 -34
- package/dist/components/iconCatalogFull/bold/f.g.js +1 -39
- package/dist/components/iconCatalogFull/bold/g.g.js +1 -43
- package/dist/components/iconCatalogFull/bold/h.g.js +1 -38
- package/dist/components/iconCatalogFull/bold/i.g.js +1 -20
- package/dist/components/iconCatalogFull/bold/j.g.js +1 -8
- package/dist/components/iconCatalogFull/bold/k.g.js +1 -9
- package/dist/components/iconCatalogFull/bold/l.g.js +1 -38
- package/dist/components/iconCatalogFull/bold/m.g.js +1 -91
- package/dist/components/iconCatalogFull/bold/n.g.js +1 -23
- package/dist/components/iconCatalogFull/bold/o.g.js +1 -11
- package/dist/components/iconCatalogFull/bold/p.g.js +1 -45
- package/dist/components/iconCatalogFull/bold/q.g.js +1 -12
- package/dist/components/iconCatalogFull/bold/r.g.js +1 -47
- package/dist/components/iconCatalogFull/bold/s.g.js +1 -99
- package/dist/components/iconCatalogFull/bold/t.g.js +1 -60
- package/dist/components/iconCatalogFull/bold/u.g.js +1 -17
- package/dist/components/iconCatalogFull/bold/v.g.js +1 -27
- package/dist/components/iconCatalogFull/bold/w.g.js +1 -30
- package/dist/components/iconCatalogFull/bold/x.g.js +1 -8
- package/dist/components/iconCatalogFull/bold/y.g.js +1 -0
- package/dist/components/iconCatalogFull/bold/z.g.js +1 -7
- package/dist/components/iconCatalogFull/broken/a.g.js +1 -69
- package/dist/components/iconCatalogFull/broken/b.g.js +1 -79
- package/dist/components/iconCatalogFull/broken/c.g.js +1 -98
- package/dist/components/iconCatalogFull/broken/d.g.js +1 -54
- package/dist/components/iconCatalogFull/broken/e.g.js +1 -34
- package/dist/components/iconCatalogFull/broken/f.g.js +1 -39
- package/dist/components/iconCatalogFull/broken/g.g.js +1 -43
- package/dist/components/iconCatalogFull/broken/h.g.js +1 -38
- package/dist/components/iconCatalogFull/broken/i.g.js +1 -20
- package/dist/components/iconCatalogFull/broken/j.g.js +1 -8
- package/dist/components/iconCatalogFull/broken/k.g.js +1 -9
- package/dist/components/iconCatalogFull/broken/l.g.js +1 -38
- package/dist/components/iconCatalogFull/broken/m.g.js +1 -91
- package/dist/components/iconCatalogFull/broken/n.g.js +1 -23
- package/dist/components/iconCatalogFull/broken/o.g.js +1 -11
- package/dist/components/iconCatalogFull/broken/p.g.js +1 -45
- package/dist/components/iconCatalogFull/broken/q.g.js +1 -12
- package/dist/components/iconCatalogFull/broken/r.g.js +1 -47
- package/dist/components/iconCatalogFull/broken/s.g.js +1 -99
- package/dist/components/iconCatalogFull/broken/t.g.js +1 -60
- package/dist/components/iconCatalogFull/broken/u.g.js +1 -17
- package/dist/components/iconCatalogFull/broken/v.g.js +1 -27
- package/dist/components/iconCatalogFull/broken/w.g.js +1 -30
- package/dist/components/iconCatalogFull/broken/x.g.js +1 -8
- package/dist/components/iconCatalogFull/broken/y.g.js +1 -0
- package/dist/components/iconCatalogFull/broken/z.g.js +1 -7
- package/dist/components/iconCatalogFull/bulk/a.g.js +1 -69
- package/dist/components/iconCatalogFull/bulk/b.g.js +1 -79
- package/dist/components/iconCatalogFull/bulk/c.g.js +1 -98
- package/dist/components/iconCatalogFull/bulk/d.g.js +1 -54
- package/dist/components/iconCatalogFull/bulk/e.g.js +1 -34
- package/dist/components/iconCatalogFull/bulk/f.g.js +1 -39
- package/dist/components/iconCatalogFull/bulk/g.g.js +1 -43
- package/dist/components/iconCatalogFull/bulk/h.g.js +1 -38
- package/dist/components/iconCatalogFull/bulk/i.g.js +1 -20
- package/dist/components/iconCatalogFull/bulk/j.g.js +1 -8
- package/dist/components/iconCatalogFull/bulk/k.g.js +1 -9
- package/dist/components/iconCatalogFull/bulk/l.g.js +1 -38
- package/dist/components/iconCatalogFull/bulk/m.g.js +1 -91
- package/dist/components/iconCatalogFull/bulk/n.g.js +1 -23
- package/dist/components/iconCatalogFull/bulk/o.g.js +1 -11
- package/dist/components/iconCatalogFull/bulk/p.g.js +1 -45
- package/dist/components/iconCatalogFull/bulk/q.g.js +1 -12
- package/dist/components/iconCatalogFull/bulk/r.g.js +1 -47
- package/dist/components/iconCatalogFull/bulk/s.g.js +1 -99
- package/dist/components/iconCatalogFull/bulk/t.g.js +1 -60
- package/dist/components/iconCatalogFull/bulk/u.g.js +1 -17
- package/dist/components/iconCatalogFull/bulk/v.g.js +1 -27
- package/dist/components/iconCatalogFull/bulk/w.g.js +1 -30
- package/dist/components/iconCatalogFull/bulk/x.g.js +1 -8
- package/dist/components/iconCatalogFull/bulk/y.g.js +1 -0
- package/dist/components/iconCatalogFull/bulk/z.g.js +1 -7
- package/dist/components/iconCatalogFull/linear/a.g.js +1 -69
- package/dist/components/iconCatalogFull/linear/b.g.js +1 -79
- package/dist/components/iconCatalogFull/linear/c.g.js +1 -98
- package/dist/components/iconCatalogFull/linear/d.g.js +1 -54
- package/dist/components/iconCatalogFull/linear/e.g.js +1 -34
- package/dist/components/iconCatalogFull/linear/f.g.js +1 -39
- package/dist/components/iconCatalogFull/linear/g.g.js +1 -43
- package/dist/components/iconCatalogFull/linear/h.g.js +1 -38
- package/dist/components/iconCatalogFull/linear/i.g.js +1 -20
- package/dist/components/iconCatalogFull/linear/j.g.js +1 -8
- package/dist/components/iconCatalogFull/linear/k.g.js +1 -9
- package/dist/components/iconCatalogFull/linear/l.g.js +1 -38
- package/dist/components/iconCatalogFull/linear/m.g.js +1 -91
- package/dist/components/iconCatalogFull/linear/n.g.js +1 -23
- package/dist/components/iconCatalogFull/linear/o.g.js +1 -11
- package/dist/components/iconCatalogFull/linear/p.g.js +1 -45
- package/dist/components/iconCatalogFull/linear/q.g.js +1 -12
- package/dist/components/iconCatalogFull/linear/r.g.js +1 -47
- package/dist/components/iconCatalogFull/linear/s.g.js +1 -99
- package/dist/components/iconCatalogFull/linear/t.g.js +1 -60
- package/dist/components/iconCatalogFull/linear/u.g.js +1 -17
- package/dist/components/iconCatalogFull/linear/v.g.js +1 -27
- package/dist/components/iconCatalogFull/linear/w.g.js +1 -30
- package/dist/components/iconCatalogFull/linear/x.g.js +1 -8
- package/dist/components/iconCatalogFull/linear/y.g.js +1 -0
- package/dist/components/iconCatalogFull/linear/z.g.js +1 -7
- package/dist/components/iconCatalogFull/outline/a.g.js +1 -69
- package/dist/components/iconCatalogFull/outline/b.g.js +1 -79
- package/dist/components/iconCatalogFull/outline/c.g.js +1 -98
- package/dist/components/iconCatalogFull/outline/d.g.js +1 -54
- package/dist/components/iconCatalogFull/outline/e.g.js +1 -34
- package/dist/components/iconCatalogFull/outline/f.g.js +1 -39
- package/dist/components/iconCatalogFull/outline/g.g.js +1 -43
- package/dist/components/iconCatalogFull/outline/h.g.js +1 -38
- package/dist/components/iconCatalogFull/outline/i.g.js +1 -20
- package/dist/components/iconCatalogFull/outline/j.g.js +1 -8
- package/dist/components/iconCatalogFull/outline/k.g.js +1 -9
- package/dist/components/iconCatalogFull/outline/l.g.js +1 -38
- package/dist/components/iconCatalogFull/outline/m.g.js +1 -91
- package/dist/components/iconCatalogFull/outline/n.g.js +1 -23
- package/dist/components/iconCatalogFull/outline/o.g.js +1 -11
- package/dist/components/iconCatalogFull/outline/p.g.js +1 -45
- package/dist/components/iconCatalogFull/outline/q.g.js +1 -12
- package/dist/components/iconCatalogFull/outline/r.g.js +1 -47
- package/dist/components/iconCatalogFull/outline/s.g.js +1 -99
- package/dist/components/iconCatalogFull/outline/t.g.js +1 -60
- package/dist/components/iconCatalogFull/outline/u.g.js +1 -17
- package/dist/components/iconCatalogFull/outline/v.g.js +1 -27
- package/dist/components/iconCatalogFull/outline/w.g.js +1 -30
- package/dist/components/iconCatalogFull/outline/x.g.js +1 -8
- package/dist/components/iconCatalogFull/outline/y.g.js +1 -0
- package/dist/components/iconCatalogFull/outline/z.g.js +1 -7
- package/dist/components/iconCatalogFull/twotone/a.g.js +1 -69
- package/dist/components/iconCatalogFull/twotone/b.g.js +1 -79
- package/dist/components/iconCatalogFull/twotone/c.g.js +1 -98
- package/dist/components/iconCatalogFull/twotone/d.g.js +1 -54
- package/dist/components/iconCatalogFull/twotone/e.g.js +1 -34
- package/dist/components/iconCatalogFull/twotone/f.g.js +1 -39
- package/dist/components/iconCatalogFull/twotone/g.g.js +1 -43
- package/dist/components/iconCatalogFull/twotone/h.g.js +1 -38
- package/dist/components/iconCatalogFull/twotone/i.g.js +1 -20
- package/dist/components/iconCatalogFull/twotone/j.g.js +1 -8
- package/dist/components/iconCatalogFull/twotone/k.g.js +1 -9
- package/dist/components/iconCatalogFull/twotone/l.g.js +1 -38
- package/dist/components/iconCatalogFull/twotone/m.g.js +1 -91
- package/dist/components/iconCatalogFull/twotone/n.g.js +1 -23
- package/dist/components/iconCatalogFull/twotone/o.g.js +1 -11
- package/dist/components/iconCatalogFull/twotone/p.g.js +1 -45
- package/dist/components/iconCatalogFull/twotone/q.g.js +1 -12
- package/dist/components/iconCatalogFull/twotone/r.g.js +1 -47
- package/dist/components/iconCatalogFull/twotone/s.g.js +1 -99
- package/dist/components/iconCatalogFull/twotone/t.g.js +1 -60
- package/dist/components/iconCatalogFull/twotone/u.g.js +1 -17
- package/dist/components/iconCatalogFull/twotone/v.g.js +1 -27
- package/dist/components/iconCatalogFull/twotone/w.g.js +1 -30
- package/dist/components/iconCatalogFull/twotone/x.g.js +1 -8
- package/dist/components/iconCatalogFull/twotone/y.g.js +1 -0
- package/dist/components/iconCatalogFull/twotone/z.g.js +1 -7
- package/dist/components/iconCatalogLoaders.g.js +1 -170
- package/dist/components/iconCatalogNames.g.js +1 -4
- package/dist/components/iconGlyphs.g.js +1 -211
- package/dist/components/iconVariants.g.js +1 -1040
- package/dist/components/renderIconProp.js +1 -13
- package/dist/components/toast.js +1 -41
- package/dist/components/toastStore.js +1 -78
- package/dist/components/useWuiControl.js +1 -106
- package/dist/components/warnInvalidValue.js +1 -17
- package/dist/components/warnUnknownProps.js +1 -17
- package/dist/components/withTooltip.js +1 -12
- package/dist/lib/CheckField.js +1 -37
- package/dist/lib/FileItemRow.js +1 -44
- package/dist/lib/emptyValue.js +1 -6
- package/dist/lib/fileItem.js +1 -27
- package/dist/lib/focusField.js +1 -14
- package/dist/lib/listQuery.js +1 -57
- package/dist/lib/navMatch.js +1 -29
- package/dist/lib/pageWindow.js +1 -14
- package/dist/lib/qrCode.js +1 -577
- package/dist/lib/shellCookie.js +1 -16
- package/dist/lib/useCommandPaletteShortcut.js +1 -15
- package/dist/lib/useFloatingStack.js +1 -25
- package/dist/lib/useListQuery.js +1 -120
- package/dist/lib/usePagination.js +1 -29
- package/dist/lib/useTableView.js +1 -42
- package/dist/types/components/AppAlert.d.ts +6 -1
- package/dist/types/components/AppCalendar.d.ts +8 -6
- package/dist/types/components/AppDatePicker.d.ts +4 -1
- package/dist/types/components/AppDateRangePicker.d.ts +2 -1
- package/dist/types/components/AppDropdown.d.ts +12 -1
- package/dist/types/components/AppStepper.d.ts +8 -1
- package/dist/types/components/AppWizard.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/bold/a.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/bold/b.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/bold/c.g.d.ts +18 -0
- package/dist/types/components/iconCatalogFull/bold/d.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/bold/e.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/bold/f.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/bold/g.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bold/h.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/bold/i.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bold/k.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bold/l.g.d.ts +5 -0
- package/dist/types/components/iconCatalogFull/bold/m.g.d.ts +10 -0
- package/dist/types/components/iconCatalogFull/bold/n.g.d.ts +1 -0
- package/dist/types/components/iconCatalogFull/bold/p.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/bold/r.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/bold/s.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/bold/t.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/bold/u.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/bold/v.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/bold/w.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bold/y.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/broken/a.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/broken/b.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/broken/c.g.d.ts +18 -0
- package/dist/types/components/iconCatalogFull/broken/d.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/broken/e.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/broken/f.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/broken/g.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/broken/h.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/broken/i.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/broken/k.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/broken/l.g.d.ts +5 -0
- package/dist/types/components/iconCatalogFull/broken/m.g.d.ts +10 -0
- package/dist/types/components/iconCatalogFull/broken/n.g.d.ts +1 -0
- package/dist/types/components/iconCatalogFull/broken/p.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/broken/r.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/broken/s.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/broken/t.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/broken/u.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/broken/v.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/broken/w.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/broken/y.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/bulk/a.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/bulk/b.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/bulk/c.g.d.ts +18 -0
- package/dist/types/components/iconCatalogFull/bulk/d.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/bulk/e.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/bulk/f.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/bulk/g.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bulk/h.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/bulk/i.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bulk/k.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bulk/l.g.d.ts +5 -0
- package/dist/types/components/iconCatalogFull/bulk/m.g.d.ts +10 -0
- package/dist/types/components/iconCatalogFull/bulk/n.g.d.ts +1 -0
- package/dist/types/components/iconCatalogFull/bulk/p.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/bulk/r.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/bulk/s.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/bulk/t.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/bulk/u.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/bulk/v.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/bulk/w.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/bulk/y.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/linear/a.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/linear/b.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/linear/c.g.d.ts +18 -0
- package/dist/types/components/iconCatalogFull/linear/d.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/linear/e.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/linear/f.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/linear/g.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/linear/h.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/linear/i.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/linear/k.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/linear/l.g.d.ts +5 -0
- package/dist/types/components/iconCatalogFull/linear/m.g.d.ts +10 -0
- package/dist/types/components/iconCatalogFull/linear/n.g.d.ts +1 -0
- package/dist/types/components/iconCatalogFull/linear/p.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/linear/r.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/linear/s.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/linear/t.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/linear/u.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/linear/v.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/linear/w.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/linear/y.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/outline/a.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/outline/b.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/outline/c.g.d.ts +18 -0
- package/dist/types/components/iconCatalogFull/outline/d.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/outline/e.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/outline/f.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/outline/g.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/outline/h.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/outline/i.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/outline/k.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/outline/l.g.d.ts +5 -0
- package/dist/types/components/iconCatalogFull/outline/m.g.d.ts +10 -0
- package/dist/types/components/iconCatalogFull/outline/n.g.d.ts +1 -0
- package/dist/types/components/iconCatalogFull/outline/p.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/outline/r.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/outline/s.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/outline/t.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/outline/u.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/outline/v.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/outline/w.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/outline/y.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/twotone/a.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/twotone/b.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/twotone/c.g.d.ts +18 -0
- package/dist/types/components/iconCatalogFull/twotone/d.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/twotone/e.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/twotone/f.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/twotone/g.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/twotone/h.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/twotone/i.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/twotone/k.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/twotone/l.g.d.ts +5 -0
- package/dist/types/components/iconCatalogFull/twotone/m.g.d.ts +10 -0
- package/dist/types/components/iconCatalogFull/twotone/n.g.d.ts +1 -0
- package/dist/types/components/iconCatalogFull/twotone/p.g.d.ts +6 -0
- package/dist/types/components/iconCatalogFull/twotone/r.g.d.ts +4 -0
- package/dist/types/components/iconCatalogFull/twotone/s.g.d.ts +11 -0
- package/dist/types/components/iconCatalogFull/twotone/t.g.d.ts +7 -0
- package/dist/types/components/iconCatalogFull/twotone/u.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/twotone/v.g.d.ts +3 -0
- package/dist/types/components/iconCatalogFull/twotone/w.g.d.ts +2 -0
- package/dist/types/components/iconCatalogFull/twotone/y.g.d.ts +3 -0
- package/dist/types/components/iconCatalogLoaders.g.d.ts +6 -0
- package/dist/ui-react.js +1 -117
- package/package.json +7 -9
- package/dist/types/components/__tests__/restPassthrough.d.ts +0 -9
package/dist/lib/qrCode.js
CHANGED
|
@@ -1,577 +1 @@
|
|
|
1
|
-
|
|
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 };
|
|
1
|
+
var e={L:0,M:1,Q:2,H:3},t=[1,0,3,2],n=[`L`,`M`,`Q`,`H`],r=3,i=3,a=40,o=10,s=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],c=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];function l(t,n=`M`,{mask:r=-1,boostEcc:i=!0}={}){if(!Object.hasOwn(e,n))throw RangeError(`Unknown error correction level "${n}"`);if(!Number.isInteger(r)||r<-1||r>7)throw RangeError(`Mask must be -1 to 7`);let a=new TextEncoder().encode(String(t)),o=e[n],s=1,c=0;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`);for(let e=1;e<=3;e++)i&&c<=b(s,e)*8&&(o=Math.max(o,e));let l=[];T(4,4,l),T(a.length,s<=9?8:16,l);for(let e of a)T(e,8,l);let u=b(s,o)*8;T(0,Math.min(4,u-l.length),l),T(0,(8-l.length%8)%8,l);for(let e=236;l.length<u;e^=253)T(e,8,l);let p=new Uint8Array(l.length/8);return l.forEach((e,t)=>{p[t>>>3]|=e<<7-(t&7)}),f(s,o,p,r)}function u(e,t=4){let{size:n}=e,r=``;for(let i=0;i<n;i++){let a=0;for(;a<n;){if(!e.isDark(i,a)){a++;continue}let o=a;for(;a<n&&e.isDark(i,a);)a++;let s=a-o;r+=`M${o+t} ${i+t}h${s}v1h-${s}z`}}return r}function d(e,t){let n=t<=9?8:16;return e>=1<<n?1/0:4+n+e*8}function f(e,r,i,a){let o=e*4+17,s=new Uint8Array(o*o),c=new Uint8Array(o*o),l=(e,t,n)=>{s[t*o+e]=+!!n,c[t*o+e]=1},u=e=>{let n=t[r]<<3|e,i=n;for(let e=0;e<10;e++)i=i<<1^(i>>>9)*1335;let a=(n<<10|i)^21522;for(let e=0;e<=5;e++)l(8,e,E(a,e));l(8,7,E(a,6)),l(8,8,E(a,7)),l(7,8,E(a,8));for(let e=9;e<15;e++)l(14-e,8,E(a,e));for(let e=0;e<8;e++)l(o-1-e,8,E(a,e));for(let e=8;e<15;e++)l(8,o-15+e,E(a,e));l(8,o-8,!0)},d=(e,t)=>{for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,s=t+n;a>=0&&a<o&&s>=0&&s<o&&l(a,s,i!==2&&i!==4)}},f=(e,t)=>{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)};for(let e=0;e<o;e++)l(6,e,e%2==0),l(e,6,e%2==0);d(3,3),d(o-4,3),d(3,o-4);let h=v(e,o),g=h.length;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]);if(u(0),e>=7){let t=e;for(let e=0;e<12;e++)t=t<<1^(t>>>11)*7973;let n=e<<12|t;for(let e=0;e<18;e++){let t=E(n,e),r=o-11+e%3,i=Math.floor(e/3);l(r,i,t),l(i,r,t)}}let _=x(i,e,r),y=0,b=_.length*8;for(let e=o-1;e>=1;e-=2){e===6&&(e=5);for(let t=0;t<o;t++)for(let n=0;n<2;n++){let r=e-n,i=e+1&2?t:o-1-t;!c[i*o+r]&&y<b&&(s[i*o+r]=+!!E(_[y>>>3],7-(y&7)),y++)}}let S=e=>{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)},C=a;if(C===-1){let e=1/0;for(let t=0;t<8;t++){S(t),u(t);let n=m(s,o);n<e&&(C=t,e=n),S(t)}}return S(C),u(C),Object.freeze({size:o,version:e,ecc:n[r],mask:C,isDark:(e,t)=>e>=0&&e<o&&t>=0&&t<o&&s[e*o+t]===1})}function p(e,t,n){switch(e){case 0:return(t+n)%2==0;case 1:return n%2==0;case 2:return t%3==0;case 3:return(t+n)%3==0;case 4:return(Math.floor(t/3)+Math.floor(n/2))%2==0;case 5:return t*n%2+t*n%3==0;case 6:return(t*n%2+t*n%3)%2==0;default:return((t+n)%2+t*n%3)%2==0}}function m(e,t){let n=0,s=(n,r)=>e[r*t+n]===1;for(let e=0;e<2;e++)for(let i=0;i<t;i++){let o=!1,c=0,l=[0,0,0,0,0,0,0];for(let u=0;u<t;u++){let d=e===0?s(u,i):s(i,u);d===o?(c++,c===5?n+=r:c>5&&n++):(_(c,l,t),o||(n+=h(l)*a),o=d,c=1)}n+=g(o,c,l,t)*a}for(let e=0;e<t-1;e++)for(let r=0;r<t-1;r++){let t=s(r,e);t===s(r+1,e)&&t===s(r,e+1)&&t===s(r+1,e+1)&&(n+=i)}let c=0;for(let t of e)c+=t;let l=t*t,u=Math.ceil(Math.abs(c*20-l*10)/l)-1;return n+=u*o,n}function h(e){let t=e[1],n=t>0&&e[2]===t&&e[3]===t*3&&e[4]===t&&e[5]===t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}function g(e,t,n,r){let i=t;return e&&(_(i,n,r),i=0),i+=r,_(i,n,r),h(n)}function _(e,t,n){let r=t[0]===0?e+n:e;t.pop(),t.unshift(r)}function v(e,t){if(e===1)return[];let n=Math.floor(e/7)+2,r=Math.floor((e*8+n*3+5)/(n*4-4))*2,i=[6];for(let e=t-7;i.length<n;e-=r)i.splice(1,0,e);return i}function y(e){let t=(16*e+128)*e+64;if(e>=2){let n=Math.floor(e/7)+2;t-=(25*n-10)*n-55,e>=7&&(t-=36)}return t}function b(e,t){return Math.floor(y(e)/8)-s[t][e]*c[t][e]}function x(e,t,n){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);for(let t=0,n=0;t<r;t++){let r=Array.from(e.subarray(n,n+l-i+(t<o?0:1)));n+=r.length;let a=C(r,d);t<o&&r.push(0),u.push(r.concat(a))}let f=[];for(let e=0;e<u[0].length;e++)u.forEach((t,n)=>{(e!==l-i||n>=o)&&f.push(t[e])});return f}function S(e){let t=Array(e).fill(0);t[e-1]=1;let n=1;for(let r=0;r<e;r++){for(let e=0;e<t.length;e++)t[e]=w(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=w(n,2)}return t}function C(e,t){let n=t.map(()=>0);for(let r of e){let e=r^n.shift();n.push(0),t.forEach((t,r)=>{n[r]^=w(t,e)})}return n}function w(e,t){let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return n}function T(e,t,n){for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function E(e,t){return(e>>>t&1)!=0}export{l as encodeQr,u as qrSvgPath};
|
package/dist/lib/shellCookie.js
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
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 };
|
|
1
|
+
var e=`wui-shell-collapsed`;function t(t=e,n=document){for(let e of n.cookie.split(`;`)){let n=e.indexOf(`=`);if(n<0||e.slice(0,n).trim()!==t)continue;let r=e.slice(n+1).trim();return r===`1`||r!==`0`&&null}return null}function n(t,n=e,r=document){r.cookie=`${n}=${t?`1`:`0`}; Path=/; Max-Age=31536000; SameSite=Lax`}export{e as SHELL_COLLAPSED_COOKIE,t as readShellCollapsed,n as writeShellCollapsed};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
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 };
|
|
1
|
+
import{useEffect as e,useRef as t}from"react";function n(n,{key:r=`k`}={}){let i=t(n);e(()=>{i.current=n}),e(()=>{let e=String(r).toLowerCase(),t=t=>{!(t.ctrlKey||t.metaKey)||t.altKey||t.shiftKey||t.repeat||String(t.key).toLowerCase()===e&&(t.preventDefault(),i.current?.())};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[r])}export{n as useCommandPaletteShortcut};
|
|
@@ -1,25 +1 @@
|
|
|
1
|
-
import e from
|
|
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 };
|
|
1
|
+
import e from"../components/warnInvalidValue.js";import{useLayoutEffect as t,useState as n}from"react";var r=[`end`,`start`],i=`.wui-floating-stack`,a={end:0,start:0};function o(e){let t=document.querySelector(`${i}[data-position="${e}"]`);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}function s(e){--a[e],!(a[e]>0)&&document.querySelector(`${i}[data-position="${e}"]`)?.remove()}function c(i=`end`,a=!0){e(`useFloatingStack`,`position`,i,r);let c=r.includes(i)?i:`end`,[l,u]=n(null);return t(()=>{if(a)return u(o(c)),()=>{s(c),u(null)}},[c,a]),l}export{c as useFloatingStack};
|