@vritti/quantum-ui 0.2.9 → 0.3.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/Alert.js +8 -31
- package/dist/Alert.js.map +1 -1
- package/dist/AppSelector.js +37 -0
- package/dist/AppSelector.js.map +1 -0
- package/dist/Avatar.js +5 -5
- package/dist/Avatar.js.map +1 -1
- package/dist/Badge.js +2 -28
- package/dist/Badge.js.map +1 -1
- package/dist/Badge2.js +30 -0
- package/dist/Badge2.js.map +1 -0
- package/dist/Breadcrumb.js +125 -0
- package/dist/Breadcrumb.js.map +1 -0
- package/dist/Button.js +8 -4
- package/dist/Button.js.map +1 -1
- package/dist/Button2.js +34 -15
- package/dist/Button2.js.map +1 -1
- package/dist/CardSkeleton.js +17 -0
- package/dist/CardSkeleton.js.map +1 -0
- package/dist/Chart.js +6195 -6401
- package/dist/Chart.js.map +1 -1
- package/dist/Checkbox.js +2 -289
- package/dist/Checkbox.js.map +1 -1
- package/dist/Checkbox2.js +293 -0
- package/dist/Checkbox2.js.map +1 -0
- package/dist/CheckboxGroup.js +74 -0
- package/dist/CheckboxGroup.js.map +1 -0
- package/dist/CloudProviderSelector.js +37 -0
- package/dist/CloudProviderSelector.js.map +1 -0
- package/dist/Collapsible.js +8 -0
- package/dist/Collapsible.js.map +1 -0
- package/dist/Combination.js +10 -2509
- package/dist/Combination.js.map +1 -1
- package/dist/ConfirmContext.js +75 -0
- package/dist/ConfirmContext.js.map +1 -0
- package/dist/CurrencySelector.js +194 -0
- package/dist/CurrencySelector.js.map +1 -0
- package/dist/DangerZoneSkeleton.js +52 -0
- package/dist/DangerZoneSkeleton.js.map +1 -0
- package/dist/DatePicker.js +36 -340
- package/dist/DatePicker.js.map +1 -1
- package/dist/DeploymentSelector.js +37 -0
- package/dist/DeploymentSelector.js.map +1 -0
- package/dist/Dialog.js +159 -0
- package/dist/Dialog.js.map +1 -0
- package/dist/DropdownMenu.js +66 -1423
- package/dist/DropdownMenu.js.map +1 -1
- package/dist/Empty.js +49 -0
- package/dist/Empty.js.map +1 -0
- package/dist/ErrorBoundary.js +255 -0
- package/dist/ErrorBoundary.js.map +1 -0
- package/dist/FeatureSelector.js +37 -0
- package/dist/FeatureSelector.js.map +1 -0
- package/dist/FilePreview.js +194 -0
- package/dist/FilePreview.js.map +1 -0
- package/dist/Form.js +1938 -19
- package/dist/Form.js.map +1 -1
- package/dist/HierarchyGraph.js +10729 -0
- package/dist/HierarchyGraph.js.map +1 -0
- package/dist/IndustrySelector.js +37 -0
- package/dist/IndustrySelector.js.map +1 -0
- package/dist/Input.js +22 -0
- package/dist/Input.js.map +1 -0
- package/dist/Label.js +1 -21
- package/dist/Label.js.map +1 -1
- package/dist/LocaleSelector.js +111 -0
- package/dist/LocaleSelector.js.map +1 -0
- package/dist/MicrofrontendSelector.js +19 -0
- package/dist/MicrofrontendSelector.js.map +1 -0
- package/dist/OTPField.js +28 -26
- package/dist/OTPField.js.map +1 -1
- package/dist/PageHeaderSkeleton.js +35 -0
- package/dist/PageHeaderSkeleton.js.map +1 -0
- package/dist/PasswordField.js +1 -49
- package/dist/PasswordField.js.map +1 -1
- package/dist/PhoneField.js +11 -16
- package/dist/PhoneField.js.map +1 -1
- package/dist/PlanSelector.js +37 -0
- package/dist/PlanSelector.js.map +1 -0
- package/dist/Progress.js +4 -3
- package/dist/Progress.js.map +1 -1
- package/dist/RadioGroup.js +392 -0
- package/dist/RadioGroup.js.map +1 -0
- package/dist/RegionSelector.js +37 -0
- package/dist/RegionSelector.js.map +1 -0
- package/dist/Select.js +780 -0
- package/dist/Select.js.map +1 -0
- package/dist/SelectFilter.js +387 -0
- package/dist/SelectFilter.js.map +1 -0
- package/dist/Sidebar.js +616 -0
- package/dist/Sidebar.js.map +1 -0
- package/dist/SingleSelect.js +429 -0
- package/dist/SingleSelect.js.map +1 -0
- package/dist/Sonner.js +6 -1135
- package/dist/Sonner.js.map +1 -1
- package/dist/Sortable.js +4517 -0
- package/dist/Sortable.js.map +1 -0
- package/dist/StepProgressIndicator.js +42 -0
- package/dist/StepProgressIndicator.js.map +1 -0
- package/dist/Switch.js +15 -15
- package/dist/Switch.js.map +1 -1
- package/dist/TabsSkeleton.js +188 -0
- package/dist/TabsSkeleton.js.map +1 -0
- package/dist/TextArea.js +16 -19
- package/dist/TextArea.js.map +1 -1
- package/dist/TextField.js +5 -20
- package/dist/TextField.js.map +1 -1
- package/dist/ThemeContext.js +2 -8
- package/dist/ThemeContext.js.map +1 -1
- package/dist/TimezoneSelector.js +144 -0
- package/dist/TimezoneSelector.js.map +1 -0
- package/dist/Toggle.js +2 -32
- package/dist/Toggle.js.map +1 -1
- package/dist/UploadFile.js +232 -0
- package/dist/UploadFile.js.map +1 -0
- package/dist/ValueFilter.js +123 -0
- package/dist/ValueFilter.js.map +1 -0
- package/dist/ViewTabs.js +218 -0
- package/dist/ViewTabs.js.map +1 -0
- package/dist/_commonjsHelpers.js +3 -1
- package/dist/_commonjsHelpers.js.map +1 -1
- package/dist/assets/quantum-ui.css +827 -57
- package/dist/axios.js +1239 -892
- package/dist/axios.js.map +1 -1
- package/dist/{chevron-down.js → chevron-left.js} +4 -4
- package/dist/chevron-left.js.map +1 -0
- package/dist/circle-alert.js +19 -0
- package/dist/circle-alert.js.map +1 -0
- package/dist/circle-check.js +18 -0
- package/dist/circle-check.js.map +1 -0
- package/dist/collapsible2.js +154 -0
- package/dist/collapsible2.js.map +1 -0
- package/dist/components/Badge.js +2 -1
- package/dist/components/Badge.js.map +1 -1
- package/dist/components/Breadcrumb.js +2 -0
- package/dist/components/Breadcrumb.js.map +1 -0
- package/dist/components/Card.js +1 -0
- package/dist/components/Card.js.map +1 -1
- package/dist/components/CheckboxGroup.js +2 -0
- package/dist/components/CheckboxGroup.js.map +1 -0
- package/dist/components/Collapsible.js +2 -0
- package/dist/components/Collapsible.js.map +1 -0
- package/dist/components/DangerZone.js +2 -0
- package/dist/components/DangerZone.js.map +1 -0
- package/dist/components/DataTable.js +2 -0
- package/dist/components/DataTable.js.map +1 -0
- package/dist/components/Dialog.js +2 -0
- package/dist/components/Dialog.js.map +1 -0
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/Empty.js +2 -0
- package/dist/components/Empty.js.map +1 -0
- package/dist/components/ErrorBoundary.js +2 -0
- package/dist/components/ErrorBoundary.js.map +1 -0
- package/dist/components/FilePreview.js +2 -0
- package/dist/components/FilePreview.js.map +1 -0
- package/dist/components/HierarchyGraph.js +2 -0
- package/dist/components/HierarchyGraph.js.map +1 -0
- package/dist/components/PageHeader.js +2 -0
- package/dist/components/PageHeader.js.map +1 -0
- package/dist/components/RadioGroup.js +2 -0
- package/dist/components/RadioGroup.js.map +1 -0
- package/dist/components/RichTextEditor.js +4 -0
- package/dist/components/RichTextEditor.js.map +1 -0
- package/dist/components/Select.js +29 -0
- package/dist/components/Select.js.map +1 -0
- package/dist/components/Sidebar.js +2 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/Sortable.js +2 -0
- package/dist/components/Sortable.js.map +1 -0
- package/dist/components/StepProgressIndicator.js +2 -0
- package/dist/components/StepProgressIndicator.js.map +1 -0
- package/dist/components/Tabs.js +2 -0
- package/dist/components/Tabs.js.map +1 -0
- package/dist/components/UploadFile.js +2 -0
- package/dist/components/UploadFile.js.map +1 -0
- package/dist/components/ValueFilter.js +2 -0
- package/dist/components/ValueFilter.js.map +1 -0
- package/dist/components/ViewTabs.js +2 -0
- package/dist/components/ViewTabs.js.map +1 -0
- package/dist/context/index.js +1 -0
- package/dist/context/index.js.map +1 -1
- package/dist/dropdown-menu.js +1209 -0
- package/dist/dropdown-menu.js.map +1 -0
- package/dist/ellipsis.js +19 -0
- package/dist/ellipsis.js.map +1 -0
- package/dist/eye.js +52 -0
- package/dist/eye.js.map +1 -0
- package/dist/field.js +1 -1
- package/dist/file-text.js +27 -0
- package/dist/file-text.js.map +1 -0
- package/dist/grip-vertical.js +22 -0
- package/dist/grip-vertical.js.map +1 -0
- package/dist/hooks/index.js +3 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/image-component.js +614 -0
- package/dist/image-component.js.map +1 -0
- package/dist/index.js +49 -9
- package/dist/index.js.map +1 -1
- package/dist/index10.js +175 -94
- package/dist/index10.js.map +1 -1
- package/dist/index11.js +202 -67
- package/dist/index11.js.map +1 -1
- package/dist/index12.js +17 -38
- package/dist/index12.js.map +1 -1
- package/dist/index13.js +204 -188
- package/dist/index13.js.map +1 -1
- package/dist/index14.js +124 -192
- package/dist/index14.js.map +1 -1
- package/dist/index15.js +79 -0
- package/dist/index15.js.map +1 -0
- package/dist/index16.js +16 -0
- package/dist/index16.js.map +1 -0
- package/dist/index17.js +1137 -0
- package/dist/index17.js.map +1 -0
- package/dist/index18.js +41 -0
- package/dist/index18.js.map +1 -0
- package/dist/index19.js +314 -0
- package/dist/index19.js.map +1 -0
- package/dist/index2.js +54033 -55
- package/dist/index2.js.map +1 -1
- package/dist/index20.js +488 -0
- package/dist/index20.js.map +1 -0
- package/dist/index21.js +2540 -0
- package/dist/index21.js.map +1 -0
- package/dist/index22.js +36 -0
- package/dist/index22.js.map +1 -0
- package/dist/index23.js +13 -0
- package/dist/index23.js.map +1 -0
- package/dist/index24.js +8 -0
- package/dist/index24.js.map +1 -0
- package/dist/index25.js +35 -0
- package/dist/index25.js.map +1 -0
- package/dist/index26.js +65 -0
- package/dist/index26.js.map +1 -0
- package/dist/index27.js +16 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.js +41 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.js +84 -0
- package/dist/index29.js.map +1 -0
- package/dist/index3.js +42 -10
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +199 -0
- package/dist/index30.js.map +1 -0
- package/dist/index4.js +290 -118
- package/dist/index4.js.map +1 -1
- package/dist/index5.js +96 -31
- package/dist/index5.js.map +1 -1
- package/dist/index6.js +36 -4
- package/dist/index6.js.map +1 -1
- package/dist/index7.js +1157 -11
- package/dist/index7.js.map +1 -1
- package/dist/index8.js +22 -42
- package/dist/index8.js.map +1 -1
- package/dist/index9.js +25 -35
- package/dist/index9.js.map +1 -1
- package/dist/lib/components/Alert/Alert.d.ts +2 -1
- package/dist/lib/components/Alert/Alert.d.ts.map +1 -1
- package/dist/lib/components/Breadcrumb/Breadcrumb.d.ts +17 -0
- package/dist/lib/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +4 -0
- package/dist/lib/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/lib/components/Button/Button.d.ts +3 -1
- package/dist/lib/components/Button/Button.d.ts.map +1 -1
- package/dist/lib/components/Card/CardSkeleton.d.ts +9 -0
- package/dist/lib/components/Card/CardSkeleton.d.ts.map +1 -0
- package/dist/lib/components/Card/index.d.ts +1 -0
- package/dist/lib/components/Card/index.d.ts.map +1 -1
- package/dist/lib/components/Chart/Chart.d.ts +1 -1
- package/dist/lib/components/Chart/Chart.d.ts.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroup.d.ts +24 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +3 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts.map +1 -0
- package/dist/lib/components/Collapsible/Collapsible.d.ts +5 -0
- package/dist/lib/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/dist/lib/components/Collapsible/index.d.ts +2 -0
- package/dist/lib/components/Collapsible/index.d.ts.map +1 -0
- package/dist/lib/components/DangerZone/DangerZone.d.ts +13 -0
- package/dist/lib/components/DangerZone/DangerZone.d.ts.map +1 -0
- package/dist/lib/components/DangerZone/DangerZoneSkeleton.d.ts +9 -0
- package/dist/lib/components/DangerZone/DangerZoneSkeleton.d.ts.map +1 -0
- package/dist/lib/components/DangerZone/index.d.ts +4 -0
- package/dist/lib/components/DangerZone/index.d.ts.map +1 -0
- package/dist/lib/components/DataTable/DataTable.d.ts +6 -0
- package/dist/lib/components/DataTable/DataTable.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableColumnHeader.d.ts +12 -0
- package/dist/lib/components/DataTable/components/DataTableColumnHeader.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableEmpty.d.ts +13 -0
- package/dist/lib/components/DataTable/components/DataTableEmpty.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableFilters.d.ts +11 -0
- package/dist/lib/components/DataTable/components/DataTableFilters.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableImportDialog.d.ts +16 -0
- package/dist/lib/components/DataTable/components/DataTableImportDialog.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTablePagination.d.ts +12 -0
- package/dist/lib/components/DataTable/components/DataTablePagination.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableRowDensity.d.ts +11 -0
- package/dist/lib/components/DataTable/components/DataTableRowDensity.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableSearch.d.ts +14 -0
- package/dist/lib/components/DataTable/components/DataTableSearch.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableSelectionBar.d.ts +14 -0
- package/dist/lib/components/DataTable/components/DataTableSelectionBar.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableViewOptions.d.ts +11 -0
- package/dist/lib/components/DataTable/components/DataTableViewOptions.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableViewTabs.d.ts +7 -0
- package/dist/lib/components/DataTable/components/DataTableViewTabs.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableViewsMenu.d.ts +14 -0
- package/dist/lib/components/DataTable/components/DataTableViewsMenu.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/FilterWrapper.d.ts +21 -0
- package/dist/lib/components/DataTable/components/FilterWrapper.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/RowActions.d.ts +20 -0
- package/dist/lib/components/DataTable/components/RowActions.d.ts.map +1 -0
- package/dist/lib/components/DataTable/hooks/useAutoUpsert.d.ts +3 -0
- package/dist/lib/components/DataTable/hooks/useAutoUpsert.d.ts.map +1 -0
- package/dist/lib/components/DataTable/hooks/useDataTable.d.ts +25 -0
- package/dist/lib/components/DataTable/hooks/useDataTable.d.ts.map +1 -0
- package/dist/lib/components/DataTable/index.d.ts +18 -0
- package/dist/lib/components/DataTable/index.d.ts.map +1 -0
- package/dist/lib/components/DataTable/store/store.d.ts +28 -0
- package/dist/lib/components/DataTable/store/store.d.ts.map +1 -0
- package/dist/lib/components/DataTable/store/useTableSlice.d.ts +18 -0
- package/dist/lib/components/DataTable/store/useTableSlice.d.ts.map +1 -0
- package/dist/lib/components/DataTable/types.d.ts +66 -0
- package/dist/lib/components/DataTable/types.d.ts.map +1 -0
- package/dist/lib/components/DataTable/utils.d.ts +10 -0
- package/dist/lib/components/DataTable/utils.d.ts.map +1 -0
- package/dist/lib/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/lib/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/lib/components/Dialog/Dialog.d.ts +31 -0
- package/dist/lib/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/lib/components/Dialog/index.d.ts +3 -0
- package/dist/lib/components/Dialog/index.d.ts.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/lib/components/DropdownMenu/types.d.ts +10 -1
- package/dist/lib/components/DropdownMenu/types.d.ts.map +1 -1
- package/dist/lib/components/Editor/context/editor-config-context.d.ts +9 -0
- package/dist/lib/components/Editor/context/editor-config-context.d.ts.map +1 -0
- package/dist/lib/components/Editor/context/toolbar-context.d.ts +18 -0
- package/dist/lib/components/Editor/context/toolbar-context.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-debounce.d.ts +2 -0
- package/dist/lib/components/Editor/editor-hooks/use-debounce.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-modal.d.ts +6 -0
- package/dist/lib/components/Editor/editor-hooks/use-modal.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-report.d.ts +2 -0
- package/dist/lib/components/Editor/editor-hooks/use-report.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-update-toolbar.d.ts +3 -0
- package/dist/lib/components/Editor/editor-hooks/use-update-toolbar.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/button-group.d.ts +12 -0
- package/dist/lib/components/Editor/editor-ui/button-group.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/button.d.ts +11 -0
- package/dist/lib/components/Editor/editor-ui/button.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/code-button.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/code-button.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/color-picker.d.ts +92 -0
- package/dist/lib/components/Editor/editor-ui/color-picker.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/command.d.ts +19 -0
- package/dist/lib/components/Editor/editor-ui/command.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/content-editable.d.ts +9 -0
- package/dist/lib/components/Editor/editor-ui/content-editable.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/dialog.d.ts +16 -0
- package/dist/lib/components/Editor/editor-ui/dialog.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/image-component.d.ts +16 -0
- package/dist/lib/components/Editor/editor-ui/image-component.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/image-resizer.d.ts +18 -0
- package/dist/lib/components/Editor/editor-ui/image-resizer.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/input.d.ts +4 -0
- package/dist/lib/components/Editor/editor-ui/input.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/label.d.ts +5 -0
- package/dist/lib/components/Editor/editor-ui/label.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/popover.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/popover.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/scroll-area.d.ts +6 -0
- package/dist/lib/components/Editor/editor-ui/scroll-area.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/select.d.ts +16 -0
- package/dist/lib/components/Editor/editor-ui/select.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/separator.d.ts +5 -0
- package/dist/lib/components/Editor/editor-ui/separator.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/tabs.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/tabs.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/toggle-group.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/toggle-group.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/toggle.d.ts +10 -0
- package/dist/lib/components/Editor/editor-ui/toggle.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/tooltip.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/tooltip.d.ts.map +1 -0
- package/dist/lib/components/Editor/index.d.ts +4 -0
- package/dist/lib/components/Editor/index.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/autocomplete-node.d.ts +19 -0
- package/dist/lib/components/Editor/nodes/autocomplete-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/embeds/tweet-node.d.ts +22 -0
- package/dist/lib/components/Editor/nodes/embeds/tweet-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/embeds/youtube-node.d.ts +23 -0
- package/dist/lib/components/Editor/nodes/embeds/youtube-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/emoji-node.d.ts +18 -0
- package/dist/lib/components/Editor/nodes/emoji-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/image-node.d.ts +49 -0
- package/dist/lib/components/Editor/nodes/image-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/keyword-node.d.ts +15 -0
- package/dist/lib/components/Editor/nodes/keyword-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/layout-container-node.d.ts +23 -0
- package/dist/lib/components/Editor/nodes/layout-container-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/layout-item-node.d.ts +15 -0
- package/dist/lib/components/Editor/nodes/layout-item-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/mention-node.d.ts +21 -0
- package/dist/lib/components/Editor/nodes/mention-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/nodes.d.ts +3 -0
- package/dist/lib/components/Editor/nodes/nodes.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes.d.ts +2 -0
- package/dist/lib/components/Editor/nodes.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/actions-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/actions/actions-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/character-limit-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/actions/character-limit-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/clear-editor-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/clear-editor-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/counter-character-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/actions/counter-character-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/edit-mode-toggle-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/edit-mode-toggle-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/import-export-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/import-export-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/markdown-toggle-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/actions/markdown-toggle-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/max-length-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/actions/max-length-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/share-content-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/share-content-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/speech-to-text-plugin.d.ts +7 -0
- package/dist/lib/components/Editor/plugins/actions/speech-to-text-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/tree-view-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/actions/tree-view-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/auto-link-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/auto-link-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/autocomplete-plugin.d.ts +11 -0
- package/dist/lib/components/Editor/plugins/autocomplete-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/code-action-menu-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/code-action-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/code-highlight-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/code-highlight-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/component-picker-menu-plugin.d.ts +9 -0
- package/dist/lib/components/Editor/plugins/component-picker-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/context-menu-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/context-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/drag-drop-paste-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/drag-drop-paste-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/draggable-block-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/draggable-block-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/embeds/auto-embed-plugin.d.ts +18 -0
- package/dist/lib/components/Editor/plugins/embeds/auto-embed-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/embeds/twitter-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/embeds/twitter-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/embeds/youtube-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/embeds/youtube-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/emoji-picker-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/emoji-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/emojis-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/emojis-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/floating-link-editor-plugin.d.ts +7 -0
- package/dist/lib/components/Editor/plugins/floating-link-editor-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/floating-text-format-plugin.d.ts +7 -0
- package/dist/lib/components/Editor/plugins/floating-text-format-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/images-plugin.d.ts +25 -0
- package/dist/lib/components/Editor/plugins/images-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/keywords-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/keywords-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/layout-plugin.d.ts +13 -0
- package/dist/lib/components/Editor/plugins/layout-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/link-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/link-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/list-max-indent-level-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/list-max-indent-level-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/mentions-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/mentions-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/alignment-picker-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/picker/alignment-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/bulleted-list-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/bulleted-list-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/check-list-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/check-list-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/code-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/code-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/columns-layout-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/columns-layout-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-menu-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-option.d.ts +17 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-option.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/divider-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/divider-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/embeds-picker-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/picker/embeds-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/heading-picker-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/picker/heading-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/image-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/image-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/numbered-list-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/numbered-list-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/paragraph-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/paragraph-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/quote-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/quote-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/table-picker-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/picker/table-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/plugins.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/plugins.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/tab-focus-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/tab-focus-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/table-plugin.d.ts +34 -0
- package/dist/lib/components/Editor/plugins/table-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/block-format-data.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/block-format-data.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-bulleted-list.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-bulleted-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-check-list.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-check-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-code-block.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-code-block.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-heading.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-heading.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-numbered-list.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-numbered-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-paragraph.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-paragraph.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-quote.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-quote.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format-toolbar-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-columns-layout.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-columns-layout.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-embeds.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-embeds.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-horizontal-rule.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-horizontal-rule.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-image.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-image.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-table.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-table.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/clear-formatting-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/clear-formatting-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/code-language-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/code-language-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/element-format-toolbar-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/element-format-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-background-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-background-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-color-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-color-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-family-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-family-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-format-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-format-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-size-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-size-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/history-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/history-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/horizontal-rule-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/horizontal-rule-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/image-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/image-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/link-toolbar-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/link-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/subsuper-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/subsuper-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/table-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/table-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/toolbar-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/toolbar/toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/typing-pref-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/typing-pref-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins.d.ts +2 -0
- package/dist/lib/components/Editor/plugins.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/can-use-dom.d.ts +2 -0
- package/dist/lib/components/Editor/shared/can-use-dom.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/caret-from-point.d.ts +5 -0
- package/dist/lib/components/Editor/shared/caret-from-point.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/environment.d.ts +18 -0
- package/dist/lib/components/Editor/shared/environment.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/invariant.d.ts +2 -0
- package/dist/lib/components/Editor/shared/invariant.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/normalize-class-names.d.ts +2 -0
- package/dist/lib/components/Editor/shared/normalize-class-names.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/react-patches.d.ts +2 -0
- package/dist/lib/components/Editor/shared/react-patches.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/react-test-utils.d.ts +3 -0
- package/dist/lib/components/Editor/shared/react-test-utils.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/simple-diff-with-cursor.d.ts +6 -0
- package/dist/lib/components/Editor/shared/simple-diff-with-cursor.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/use-layout-effect.d.ts +4 -0
- package/dist/lib/components/Editor/shared/use-layout-effect.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/warn-only-once.d.ts +2 -0
- package/dist/lib/components/Editor/shared/warn-only-once.d.ts.map +1 -0
- package/dist/lib/components/Editor/themes/editor-theme.d.ts +3 -0
- package/dist/lib/components/Editor/themes/editor-theme.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/index.d.ts +16 -0
- package/dist/lib/components/Editor/transformers/index.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-emoji-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-emoji-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-hr-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-hr-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-image-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-image-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-table-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-table-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-tweet-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-tweet-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/types.d.ts +23 -0
- package/dist/lib/components/Editor/types.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/can-use-dom.d.ts +2 -0
- package/dist/lib/components/Editor/utils/can-use-dom.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/collapsible.d.ts +3 -0
- package/dist/lib/components/Editor/utils/collapsible.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/doc-serialization.d.ts +4 -0
- package/dist/lib/components/Editor/utils/doc-serialization.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/emoji-list.d.ts +21 -0
- package/dist/lib/components/Editor/utils/emoji-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/get-dom-range-rect.d.ts +2 -0
- package/dist/lib/components/Editor/utils/get-dom-range-rect.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/get-selected-node.d.ts +3 -0
- package/dist/lib/components/Editor/utils/get-selected-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/guard.d.ts +2 -0
- package/dist/lib/components/Editor/utils/guard.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/is-mobile-width.d.ts +2 -0
- package/dist/lib/components/Editor/utils/is-mobile-width.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position-for-link-editor.d.ts +2 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position-for-link-editor.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position.d.ts +2 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/swipe.d.ts +5 -0
- package/dist/lib/components/Editor/utils/swipe.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/url.d.ts +3 -0
- package/dist/lib/components/Editor/utils/url.d.ts.map +1 -0
- package/dist/lib/components/Empty/Empty.d.ts +12 -0
- package/dist/lib/components/Empty/Empty.d.ts.map +1 -0
- package/dist/lib/components/Empty/index.d.ts +3 -0
- package/dist/lib/components/Empty/index.d.ts.map +1 -0
- package/dist/lib/components/ErrorBoundary/ErrorBoundary.d.ts +7 -0
- package/dist/lib/components/ErrorBoundary/ErrorBoundary.d.ts.map +1 -0
- package/dist/lib/components/ErrorBoundary/ErrorPage.d.ts +38 -0
- package/dist/lib/components/ErrorBoundary/ErrorPage.d.ts.map +1 -0
- package/dist/lib/components/ErrorBoundary/index.d.ts +3 -0
- package/dist/lib/components/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/lib/components/FilePreview/FilePreview.d.ts +8 -0
- package/dist/lib/components/FilePreview/FilePreview.d.ts.map +1 -0
- package/dist/lib/components/FilePreview/index.d.ts +2 -0
- package/dist/lib/components/FilePreview/index.d.ts.map +1 -0
- package/dist/lib/components/Form/Form.d.ts +6 -3
- package/dist/lib/components/Form/Form.d.ts.map +1 -1
- package/dist/lib/components/HierarchyGraph/HierarchyGraph.d.ts +24 -0
- package/dist/lib/components/HierarchyGraph/HierarchyGraph.d.ts.map +1 -0
- package/dist/lib/components/HierarchyGraph/index.d.ts +5 -0
- package/dist/lib/components/HierarchyGraph/index.d.ts.map +1 -0
- package/dist/lib/components/PageHeader/PageHeader.d.ts +8 -0
- package/dist/lib/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/lib/components/PageHeader/PageHeaderSkeleton.d.ts +10 -0
- package/dist/lib/components/PageHeader/PageHeaderSkeleton.d.ts.map +1 -0
- package/dist/lib/components/PageHeader/index.d.ts +3 -0
- package/dist/lib/components/PageHeader/index.d.ts.map +1 -0
- package/dist/lib/components/PhoneField/PhoneField.d.ts +1 -0
- package/dist/lib/components/PhoneField/PhoneField.d.ts.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroup.d.ts +23 -0
- package/dist/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/lib/components/RadioGroup/index.d.ts +3 -0
- package/dist/lib/components/RadioGroup/index.d.ts.map +1 -0
- package/dist/lib/components/Select/Select.d.ts +21 -0
- package/dist/lib/components/Select/Select.d.ts.map +1 -0
- package/dist/lib/components/Select/SelectFilter.d.ts +20 -0
- package/dist/lib/components/Select/SelectFilter.d.ts.map +1 -0
- package/dist/lib/components/Select/components/MultiSelect/MultiSelect.d.ts +27 -0
- package/dist/lib/components/Select/components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/lib/components/Select/components/MultiSelect/MultiSelectFilter.d.ts +28 -0
- package/dist/lib/components/Select/components/MultiSelect/MultiSelectFilter.d.ts.map +1 -0
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts +41 -0
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts.map +1 -0
- package/dist/lib/components/Select/components/SingleSelect/SingleSelectFilter.d.ts +28 -0
- package/dist/lib/components/Select/components/SingleSelect/SingleSelectFilter.d.ts.map +1 -0
- package/dist/lib/components/Select/hooks/useMultiSelect.d.ts +33 -0
- package/dist/lib/components/Select/hooks/useMultiSelect.d.ts.map +1 -0
- package/dist/lib/components/Select/hooks/useSelect.d.ts +25 -0
- package/dist/lib/components/Select/hooks/useSelect.d.ts.map +1 -0
- package/dist/lib/components/Select/hooks/useSingleSelect.d.ts +31 -0
- package/dist/lib/components/Select/hooks/useSingleSelect.d.ts.map +1 -0
- package/dist/lib/components/Select/index.d.ts +40 -0
- package/dist/lib/components/Select/index.d.ts.map +1 -0
- package/dist/lib/components/Select/types.d.ts +38 -0
- package/dist/lib/components/Select/types.d.ts.map +1 -0
- package/dist/lib/components/Sidebar/Sidebar.d.ts +24 -0
- package/dist/lib/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/lib/components/Sidebar/index.d.ts +2 -0
- package/dist/lib/components/Sidebar/index.d.ts.map +1 -0
- package/dist/lib/components/Sortable/Sortable.d.ts +39 -0
- package/dist/lib/components/Sortable/Sortable.d.ts.map +1 -0
- package/dist/lib/components/Sortable/index.d.ts +3 -0
- package/dist/lib/components/Sortable/index.d.ts.map +1 -0
- package/dist/lib/components/StepProgressIndicator/StepProgressIndicator.d.ts +12 -0
- package/dist/lib/components/StepProgressIndicator/StepProgressIndicator.d.ts.map +1 -0
- package/dist/lib/components/StepProgressIndicator/index.d.ts +3 -0
- package/dist/lib/components/StepProgressIndicator/index.d.ts.map +1 -0
- package/dist/lib/components/Switch/Switch.d.ts.map +1 -1
- package/dist/lib/components/Tabs/Tabs.d.ts +27 -0
- package/dist/lib/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/lib/components/Tabs/TabsSkeleton.d.ts +11 -0
- package/dist/lib/components/Tabs/TabsSkeleton.d.ts.map +1 -0
- package/dist/lib/components/Tabs/index.d.ts +3 -0
- package/dist/lib/components/Tabs/index.d.ts.map +1 -0
- package/dist/lib/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/lib/components/TextField/TextField.d.ts.map +1 -1
- package/dist/lib/components/UploadFile/UploadFile.d.ts +26 -0
- package/dist/lib/components/UploadFile/UploadFile.d.ts.map +1 -0
- package/dist/lib/components/UploadFile/index.d.ts +2 -0
- package/dist/lib/components/UploadFile/index.d.ts.map +1 -0
- package/dist/lib/components/ValueFilter/ValueFilter.d.ts +11 -0
- package/dist/lib/components/ValueFilter/ValueFilter.d.ts.map +1 -0
- package/dist/lib/components/ValueFilter/index.d.ts +3 -0
- package/dist/lib/components/ValueFilter/index.d.ts.map +1 -0
- package/dist/lib/components/ViewTabs/ViewTabs.d.ts +23 -0
- package/dist/lib/components/ViewTabs/ViewTabs.d.ts.map +1 -0
- package/dist/lib/components/ViewTabs/index.d.ts +3 -0
- package/dist/lib/components/ViewTabs/index.d.ts.map +1 -0
- package/dist/lib/components/index.d.ts +21 -1
- package/dist/lib/components/index.d.ts.map +1 -1
- package/dist/lib/config/index.d.ts +6 -0
- package/dist/lib/config/index.d.ts.map +1 -1
- package/dist/lib/context/ConfirmContext.d.ts +21 -0
- package/dist/lib/context/ConfirmContext.d.ts.map +1 -0
- package/dist/lib/context/ThemeContext.d.ts +1 -1
- package/dist/lib/context/ThemeContext.d.ts.map +1 -1
- package/dist/lib/context/index.d.ts +2 -1
- package/dist/lib/context/index.d.ts.map +1 -1
- package/dist/lib/hooks/index.d.ts +7 -1
- package/dist/lib/hooks/index.d.ts.map +1 -1
- package/dist/lib/hooks/useConfirm.d.ts +4 -0
- package/dist/lib/hooks/useConfirm.d.ts.map +1 -0
- package/dist/lib/hooks/useDialog.d.ts +11 -0
- package/dist/lib/hooks/useDialog.d.ts.map +1 -0
- package/dist/lib/hooks/useIsMobile.d.ts +2 -0
- package/dist/lib/hooks/useIsMobile.d.ts.map +1 -0
- package/dist/lib/hooks/useSSE.d.ts +21 -0
- package/dist/lib/hooks/useSSE.d.ts.map +1 -0
- package/dist/lib/hooks/useSlugParams.d.ts +12 -0
- package/dist/lib/hooks/useSlugParams.d.ts.map +1 -0
- package/dist/lib/hooks/useTimer.d.ts +6 -0
- package/dist/lib/hooks/useTimer.d.ts.map +1 -0
- package/dist/lib/index.d.ts +3 -2
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/selects/app/AppFilter.d.ts +11 -0
- package/dist/lib/selects/app/AppFilter.d.ts.map +1 -0
- package/dist/lib/selects/app/AppSelector.d.ts +4 -0
- package/dist/lib/selects/app/AppSelector.d.ts.map +1 -0
- package/dist/lib/selects/app/index.d.ts +3 -0
- package/dist/lib/selects/app/index.d.ts.map +1 -0
- package/dist/lib/selects/app-code/AppCodeFilter.d.ts +11 -0
- package/dist/lib/selects/app-code/AppCodeFilter.d.ts.map +1 -0
- package/dist/lib/selects/app-code/AppCodeSelector.d.ts +4 -0
- package/dist/lib/selects/app-code/AppCodeSelector.d.ts.map +1 -0
- package/dist/lib/selects/app-code/index.d.ts +3 -0
- package/dist/lib/selects/app-code/index.d.ts.map +1 -0
- package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts +11 -0
- package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts.map +1 -0
- package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts +4 -0
- package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts.map +1 -0
- package/dist/lib/selects/cloud-provider/index.d.ts +3 -0
- package/dist/lib/selects/cloud-provider/index.d.ts.map +1 -0
- package/dist/lib/selects/currency/CurrencyFilter.d.ts +11 -0
- package/dist/lib/selects/currency/CurrencyFilter.d.ts.map +1 -0
- package/dist/lib/selects/currency/CurrencySelector.d.ts +4 -0
- package/dist/lib/selects/currency/CurrencySelector.d.ts.map +1 -0
- package/dist/lib/selects/currency/currencies.d.ts +3 -0
- package/dist/lib/selects/currency/currencies.d.ts.map +1 -0
- package/dist/lib/selects/currency/index.d.ts +3 -0
- package/dist/lib/selects/currency/index.d.ts.map +1 -0
- package/dist/lib/selects/deployment/DeploymentFilter.d.ts +11 -0
- package/dist/lib/selects/deployment/DeploymentFilter.d.ts.map +1 -0
- package/dist/lib/selects/deployment/DeploymentSelector.d.ts +4 -0
- package/dist/lib/selects/deployment/DeploymentSelector.d.ts.map +1 -0
- package/dist/lib/selects/deployment/index.d.ts +3 -0
- package/dist/lib/selects/deployment/index.d.ts.map +1 -0
- package/dist/lib/selects/feature/FeatureFilter.d.ts +11 -0
- package/dist/lib/selects/feature/FeatureFilter.d.ts.map +1 -0
- package/dist/lib/selects/feature/FeatureSelector.d.ts +4 -0
- package/dist/lib/selects/feature/FeatureSelector.d.ts.map +1 -0
- package/dist/lib/selects/feature/index.d.ts +3 -0
- package/dist/lib/selects/feature/index.d.ts.map +1 -0
- package/dist/lib/selects/index.d.ts +12 -0
- package/dist/lib/selects/index.d.ts.map +1 -0
- package/dist/lib/selects/industry/IndustryFilter.d.ts +11 -0
- package/dist/lib/selects/industry/IndustryFilter.d.ts.map +1 -0
- package/dist/lib/selects/industry/IndustrySelector.d.ts +4 -0
- package/dist/lib/selects/industry/IndustrySelector.d.ts.map +1 -0
- package/dist/lib/selects/industry/index.d.ts +3 -0
- package/dist/lib/selects/industry/index.d.ts.map +1 -0
- package/dist/lib/selects/locale/LocaleFilter.d.ts +11 -0
- package/dist/lib/selects/locale/LocaleFilter.d.ts.map +1 -0
- package/dist/lib/selects/locale/LocaleSelector.d.ts +4 -0
- package/dist/lib/selects/locale/LocaleSelector.d.ts.map +1 -0
- package/dist/lib/selects/locale/index.d.ts +3 -0
- package/dist/lib/selects/locale/index.d.ts.map +1 -0
- package/dist/lib/selects/locale/locales.d.ts +3 -0
- package/dist/lib/selects/locale/locales.d.ts.map +1 -0
- package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts +4 -0
- package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts.map +1 -0
- package/dist/lib/selects/microfrontend/index.d.ts +2 -0
- package/dist/lib/selects/microfrontend/index.d.ts.map +1 -0
- package/dist/lib/selects/plan/PlanFilter.d.ts +11 -0
- package/dist/lib/selects/plan/PlanFilter.d.ts.map +1 -0
- package/dist/lib/selects/plan/PlanSelector.d.ts +4 -0
- package/dist/lib/selects/plan/PlanSelector.d.ts.map +1 -0
- package/dist/lib/selects/plan/index.d.ts +3 -0
- package/dist/lib/selects/plan/index.d.ts.map +1 -0
- package/dist/lib/selects/region/RegionFilter.d.ts +11 -0
- package/dist/lib/selects/region/RegionFilter.d.ts.map +1 -0
- package/dist/lib/selects/region/RegionSelector.d.ts +4 -0
- package/dist/lib/selects/region/RegionSelector.d.ts.map +1 -0
- package/dist/lib/selects/region/index.d.ts +3 -0
- package/dist/lib/selects/region/index.d.ts.map +1 -0
- package/dist/lib/selects/timezone/TimezoneFilter.d.ts +11 -0
- package/dist/lib/selects/timezone/TimezoneFilter.d.ts.map +1 -0
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts +4 -0
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts.map +1 -0
- package/dist/lib/selects/timezone/index.d.ts +3 -0
- package/dist/lib/selects/timezone/index.d.ts.map +1 -0
- package/dist/lib/selects/timezone/timezones.d.ts +3 -0
- package/dist/lib/selects/timezone/timezones.d.ts.map +1 -0
- package/dist/lib/services/table-views.service.d.ts +25 -0
- package/dist/lib/services/table-views.service.d.ts.map +1 -0
- package/dist/lib/types/api-response.d.ts +21 -0
- package/dist/lib/types/api-response.d.ts.map +1 -0
- package/dist/lib/types/table-filter.d.ts +41 -0
- package/dist/lib/types/table-filter.d.ts.map +1 -0
- package/dist/lib/utils/axios.d.ts.map +1 -1
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/lib/utils/index.d.ts.map +1 -1
- package/dist/lib/utils/motion.d.ts +2 -0
- package/dist/lib/utils/motion.d.ts.map +1 -0
- package/dist/lib/utils/slug.d.ts +7 -0
- package/dist/lib/utils/slug.d.ts.map +1 -0
- package/dist/plus.js +18 -0
- package/dist/plus.js.map +1 -0
- package/dist/popover.js +33 -0
- package/dist/popover.js.map +1 -0
- package/dist/proxy.js +11392 -0
- package/dist/proxy.js.map +1 -0
- package/dist/react-error-boundary.js +67 -0
- package/dist/react-error-boundary.js.map +1 -0
- package/dist/select2.js +116 -0
- package/dist/select2.js.map +1 -0
- package/dist/selects/app-code.js +37 -0
- package/dist/selects/app-code.js.map +1 -0
- package/dist/selects/app.js +2 -0
- package/dist/selects/app.js.map +1 -0
- package/dist/selects/cloud-provider.js +2 -0
- package/dist/selects/cloud-provider.js.map +1 -0
- package/dist/selects/currency.js +2 -0
- package/dist/selects/currency.js.map +1 -0
- package/dist/selects/deployment.js +2 -0
- package/dist/selects/deployment.js.map +1 -0
- package/dist/selects/feature.js +2 -0
- package/dist/selects/feature.js.map +1 -0
- package/dist/selects/industry.js +2 -0
- package/dist/selects/industry.js.map +1 -0
- package/dist/selects/locale.js +2 -0
- package/dist/selects/locale.js.map +1 -0
- package/dist/selects/microfrontend.js +2 -0
- package/dist/selects/microfrontend.js.map +1 -0
- package/dist/selects/plan.js +2 -0
- package/dist/selects/plan.js.map +1 -0
- package/dist/selects/region.js +2 -0
- package/dist/selects/region.js.map +1 -0
- package/dist/selects/timezone.js +2 -0
- package/dist/selects/timezone.js.map +1 -0
- package/dist/separator2.js +1 -27
- package/dist/separator2.js.map +1 -1
- package/dist/shadcn/index.d.ts +2 -0
- package/dist/shadcn/index.d.ts.map +1 -1
- package/dist/shadcn/shadcnAlert/alert.d.ts.map +1 -1
- package/dist/shadcn/shadcnAlert/index.d.ts +1 -1
- package/dist/shadcn/shadcnAlert/index.d.ts.map +1 -1
- package/dist/shadcn/shadcnBadge/Badge.d.ts +1 -1
- package/dist/shadcn/shadcnBreadcrumb/breadcrumb.d.ts +18 -0
- package/dist/shadcn/shadcnBreadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/shadcn/shadcnBreadcrumb/index.d.ts +2 -0
- package/dist/shadcn/shadcnBreadcrumb/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnButton/Button.d.ts +2 -2
- package/dist/shadcn/shadcnButton/Button.d.ts.map +1 -1
- package/dist/shadcn/shadcnCalendar/calendar.d.ts +1 -1
- package/dist/shadcn/shadcnCalendar/calendar.d.ts.map +1 -1
- package/dist/shadcn/shadcnChart/Chart.d.ts +2 -2
- package/dist/shadcn/shadcnChart/Chart.d.ts.map +1 -1
- package/dist/shadcn/shadcnCollapsible/collapsible.d.ts +7 -0
- package/dist/shadcn/shadcnCollapsible/collapsible.d.ts.map +1 -0
- package/dist/shadcn/shadcnCollapsible/index.d.ts +2 -0
- package/dist/shadcn/shadcnCollapsible/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnDialog/dialog.d.ts +20 -0
- package/dist/shadcn/shadcnDialog/dialog.d.ts.map +1 -0
- package/dist/shadcn/shadcnDialog/index.d.ts +2 -0
- package/dist/shadcn/shadcnDialog/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnDropdownMenu/dropdown-menu.d.ts +1 -1
- package/dist/shadcn/shadcnDropdownMenu/dropdown-menu.d.ts.map +1 -1
- package/dist/shadcn/shadcnForm/form.d.ts +1 -1
- package/dist/shadcn/shadcnForm/form.d.ts.map +1 -1
- package/dist/shadcn/shadcnInputOTP/InputOTP.d.ts +3 -3
- package/dist/shadcn/shadcnInputOTP/InputOTP.d.ts.map +1 -1
- package/dist/shadcn/shadcnMultiSelect/index.d.ts +3 -0
- package/dist/shadcn/shadcnMultiSelect/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnMultiSelect/multi-select.d.ts +61 -0
- package/dist/shadcn/shadcnMultiSelect/multi-select.d.ts.map +1 -0
- package/dist/shadcn/shadcnProgress/Progress.d.ts +1 -1
- package/dist/shadcn/shadcnProgress/Progress.d.ts.map +1 -1
- package/dist/shadcn/shadcnRadioGroup/RadioGroup.d.ts +6 -0
- package/dist/shadcn/shadcnRadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/shadcn/shadcnRadioGroup/index.d.ts +2 -0
- package/dist/shadcn/shadcnRadioGroup/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnSheet/sheet.d.ts +1 -1
- package/dist/shadcn/shadcnSheet/sheet.d.ts.map +1 -1
- package/dist/shadcn/shadcnSidebar/index.d.ts +2 -0
- package/dist/shadcn/shadcnSidebar/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnSidebar/sidebar.d.ts +86 -0
- package/dist/shadcn/shadcnSidebar/sidebar.d.ts.map +1 -0
- package/dist/shadcn/shadcnSingleSelect/index.d.ts +3 -0
- package/dist/shadcn/shadcnSingleSelect/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnSingleSelect/single-select.d.ts +61 -0
- package/dist/shadcn/shadcnSingleSelect/single-select.d.ts.map +1 -0
- package/dist/shadcn/shadcnSonner/sonner.d.ts +1 -1
- package/dist/shadcn/shadcnSonner/sonner.d.ts.map +1 -1
- package/dist/shadcn/shadcnSwitch/Switch.d.ts.map +1 -1
- package/dist/shadcn/shadcnTable/table.d.ts +1 -1
- package/dist/shadcn/shadcnTable/table.d.ts.map +1 -1
- package/dist/shadcn/shadcnTabs/index.d.ts +2 -0
- package/dist/shadcn/shadcnTabs/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnTabs/tabs.d.ts +8 -0
- package/dist/shadcn/shadcnTabs/tabs.d.ts.map +1 -0
- package/dist/shadcn/shadcnTooltip/tooltip.d.ts +1 -1
- package/dist/shadcn/shadcnTooltip/tooltip.d.ts.map +1 -1
- package/dist/share-2.js +42 -0
- package/dist/share-2.js.map +1 -0
- package/dist/text-align-justify.js +34 -0
- package/dist/text-align-justify.js.map +1 -0
- package/dist/trash-2.js +55 -0
- package/dist/trash-2.js.map +1 -0
- package/dist/types/api-response.js +2 -0
- package/dist/types/api-response.js.map +1 -0
- package/dist/types/table-filter.js +17 -0
- package/dist/types/table-filter.js.map +1 -0
- package/dist/upload.js +19 -0
- package/dist/upload.js.map +1 -0
- package/dist/useConfirm.js +37 -0
- package/dist/useConfirm.js.map +1 -0
- package/dist/useDataTable.js +26545 -0
- package/dist/useDataTable.js.map +1 -0
- package/dist/useIsMobile.js +19 -0
- package/dist/useIsMobile.js.map +1 -0
- package/dist/useTheme.js.map +1 -1
- package/dist/useTimer.js +112 -0
- package/dist/useTimer.js.map +1 -0
- package/dist/utils/axios.js +1 -1
- package/dist/utils/motion.js +4425 -0
- package/dist/utils/motion.js.map +1 -0
- package/dist/utils/slug.js +15 -0
- package/dist/utils/slug.js.map +1 -0
- package/dist/utils.js +204 -39
- package/dist/utils.js.map +1 -1
- package/dist/value.js +820 -0
- package/dist/value.js.map +1 -0
- package/dist/x.js +18 -0
- package/dist/x.js.map +1 -0
- package/package.json +196 -7
- package/dist/SelectField.js +0 -1351
- package/dist/SelectField.js.map +0 -1
- package/dist/chevron-down.js.map +0 -1
- package/dist/components/SelectField.js +0 -2
- package/dist/components/SelectField.js.map +0 -1
- package/dist/lib/components/SelectField/SelectField.d.ts +0 -24
- package/dist/lib/components/SelectField/SelectField.d.ts.map +0 -1
- package/dist/lib/components/SelectField/index.d.ts +0 -3
- package/dist/lib/components/SelectField/index.d.ts.map +0 -1
package/dist/value.js
ADDED
|
@@ -0,0 +1,820 @@
|
|
|
1
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { r as requireShim } from './index30.js';
|
|
4
|
+
|
|
5
|
+
var withSelector = {exports: {}};
|
|
6
|
+
|
|
7
|
+
var withSelector_production = {};
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @license React
|
|
11
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
var hasRequiredWithSelector_production;
|
|
20
|
+
|
|
21
|
+
function requireWithSelector_production () {
|
|
22
|
+
if (hasRequiredWithSelector_production) return withSelector_production;
|
|
23
|
+
hasRequiredWithSelector_production = 1;
|
|
24
|
+
var React = React__default,
|
|
25
|
+
shim = requireShim();
|
|
26
|
+
function is(x, y) {
|
|
27
|
+
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
28
|
+
}
|
|
29
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
30
|
+
useSyncExternalStore = shim.useSyncExternalStore,
|
|
31
|
+
useRef = React.useRef,
|
|
32
|
+
useEffect = React.useEffect,
|
|
33
|
+
useMemo = React.useMemo,
|
|
34
|
+
useDebugValue = React.useDebugValue;
|
|
35
|
+
withSelector_production.useSyncExternalStoreWithSelector = function (
|
|
36
|
+
subscribe,
|
|
37
|
+
getSnapshot,
|
|
38
|
+
getServerSnapshot,
|
|
39
|
+
selector,
|
|
40
|
+
isEqual
|
|
41
|
+
) {
|
|
42
|
+
var instRef = useRef(null);
|
|
43
|
+
if (null === instRef.current) {
|
|
44
|
+
var inst = { hasValue: false, value: null };
|
|
45
|
+
instRef.current = inst;
|
|
46
|
+
} else inst = instRef.current;
|
|
47
|
+
instRef = useMemo(
|
|
48
|
+
function () {
|
|
49
|
+
function memoizedSelector(nextSnapshot) {
|
|
50
|
+
if (!hasMemo) {
|
|
51
|
+
hasMemo = true;
|
|
52
|
+
memoizedSnapshot = nextSnapshot;
|
|
53
|
+
nextSnapshot = selector(nextSnapshot);
|
|
54
|
+
if (void 0 !== isEqual && inst.hasValue) {
|
|
55
|
+
var currentSelection = inst.value;
|
|
56
|
+
if (isEqual(currentSelection, nextSnapshot))
|
|
57
|
+
return (memoizedSelection = currentSelection);
|
|
58
|
+
}
|
|
59
|
+
return (memoizedSelection = nextSnapshot);
|
|
60
|
+
}
|
|
61
|
+
currentSelection = memoizedSelection;
|
|
62
|
+
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
63
|
+
var nextSelection = selector(nextSnapshot);
|
|
64
|
+
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
65
|
+
return (memoizedSnapshot = nextSnapshot), currentSelection;
|
|
66
|
+
memoizedSnapshot = nextSnapshot;
|
|
67
|
+
return (memoizedSelection = nextSelection);
|
|
68
|
+
}
|
|
69
|
+
var hasMemo = false,
|
|
70
|
+
memoizedSnapshot,
|
|
71
|
+
memoizedSelection,
|
|
72
|
+
maybeGetServerSnapshot =
|
|
73
|
+
void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
74
|
+
return [
|
|
75
|
+
function () {
|
|
76
|
+
return memoizedSelector(getSnapshot());
|
|
77
|
+
},
|
|
78
|
+
null === maybeGetServerSnapshot
|
|
79
|
+
? void 0
|
|
80
|
+
: function () {
|
|
81
|
+
return memoizedSelector(maybeGetServerSnapshot());
|
|
82
|
+
}
|
|
83
|
+
];
|
|
84
|
+
},
|
|
85
|
+
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
86
|
+
);
|
|
87
|
+
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
88
|
+
useEffect(
|
|
89
|
+
function () {
|
|
90
|
+
inst.hasValue = true;
|
|
91
|
+
inst.value = value;
|
|
92
|
+
},
|
|
93
|
+
[value]
|
|
94
|
+
);
|
|
95
|
+
useDebugValue(value);
|
|
96
|
+
return value;
|
|
97
|
+
};
|
|
98
|
+
return withSelector_production;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
var withSelector_development = {};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @license React
|
|
105
|
+
* use-sync-external-store-shim/with-selector.development.js
|
|
106
|
+
*
|
|
107
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the MIT license found in the
|
|
110
|
+
* LICENSE file in the root directory of this source tree.
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
var hasRequiredWithSelector_development;
|
|
114
|
+
|
|
115
|
+
function requireWithSelector_development () {
|
|
116
|
+
if (hasRequiredWithSelector_development) return withSelector_development;
|
|
117
|
+
hasRequiredWithSelector_development = 1;
|
|
118
|
+
"production" !== process.env.NODE_ENV &&
|
|
119
|
+
(function () {
|
|
120
|
+
function is(x, y) {
|
|
121
|
+
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
122
|
+
}
|
|
123
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
124
|
+
"function" ===
|
|
125
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
|
|
126
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
127
|
+
var React = React__default,
|
|
128
|
+
shim = requireShim(),
|
|
129
|
+
objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
130
|
+
useSyncExternalStore = shim.useSyncExternalStore,
|
|
131
|
+
useRef = React.useRef,
|
|
132
|
+
useEffect = React.useEffect,
|
|
133
|
+
useMemo = React.useMemo,
|
|
134
|
+
useDebugValue = React.useDebugValue;
|
|
135
|
+
withSelector_development.useSyncExternalStoreWithSelector = function (
|
|
136
|
+
subscribe,
|
|
137
|
+
getSnapshot,
|
|
138
|
+
getServerSnapshot,
|
|
139
|
+
selector,
|
|
140
|
+
isEqual
|
|
141
|
+
) {
|
|
142
|
+
var instRef = useRef(null);
|
|
143
|
+
if (null === instRef.current) {
|
|
144
|
+
var inst = { hasValue: false, value: null };
|
|
145
|
+
instRef.current = inst;
|
|
146
|
+
} else inst = instRef.current;
|
|
147
|
+
instRef = useMemo(
|
|
148
|
+
function () {
|
|
149
|
+
function memoizedSelector(nextSnapshot) {
|
|
150
|
+
if (!hasMemo) {
|
|
151
|
+
hasMemo = true;
|
|
152
|
+
memoizedSnapshot = nextSnapshot;
|
|
153
|
+
nextSnapshot = selector(nextSnapshot);
|
|
154
|
+
if (void 0 !== isEqual && inst.hasValue) {
|
|
155
|
+
var currentSelection = inst.value;
|
|
156
|
+
if (isEqual(currentSelection, nextSnapshot))
|
|
157
|
+
return (memoizedSelection = currentSelection);
|
|
158
|
+
}
|
|
159
|
+
return (memoizedSelection = nextSnapshot);
|
|
160
|
+
}
|
|
161
|
+
currentSelection = memoizedSelection;
|
|
162
|
+
if (objectIs(memoizedSnapshot, nextSnapshot))
|
|
163
|
+
return currentSelection;
|
|
164
|
+
var nextSelection = selector(nextSnapshot);
|
|
165
|
+
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
166
|
+
return (memoizedSnapshot = nextSnapshot), currentSelection;
|
|
167
|
+
memoizedSnapshot = nextSnapshot;
|
|
168
|
+
return (memoizedSelection = nextSelection);
|
|
169
|
+
}
|
|
170
|
+
var hasMemo = false,
|
|
171
|
+
memoizedSnapshot,
|
|
172
|
+
memoizedSelection,
|
|
173
|
+
maybeGetServerSnapshot =
|
|
174
|
+
void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
175
|
+
return [
|
|
176
|
+
function () {
|
|
177
|
+
return memoizedSelector(getSnapshot());
|
|
178
|
+
},
|
|
179
|
+
null === maybeGetServerSnapshot
|
|
180
|
+
? void 0
|
|
181
|
+
: function () {
|
|
182
|
+
return memoizedSelector(maybeGetServerSnapshot());
|
|
183
|
+
}
|
|
184
|
+
];
|
|
185
|
+
},
|
|
186
|
+
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
187
|
+
);
|
|
188
|
+
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
189
|
+
useEffect(
|
|
190
|
+
function () {
|
|
191
|
+
inst.hasValue = true;
|
|
192
|
+
inst.value = value;
|
|
193
|
+
},
|
|
194
|
+
[value]
|
|
195
|
+
);
|
|
196
|
+
useDebugValue(value);
|
|
197
|
+
return value;
|
|
198
|
+
};
|
|
199
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
200
|
+
"function" ===
|
|
201
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
202
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
203
|
+
})();
|
|
204
|
+
return withSelector_development;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
var hasRequiredWithSelector;
|
|
208
|
+
|
|
209
|
+
function requireWithSelector () {
|
|
210
|
+
if (hasRequiredWithSelector) return withSelector.exports;
|
|
211
|
+
hasRequiredWithSelector = 1;
|
|
212
|
+
|
|
213
|
+
if (process.env.NODE_ENV === 'production') {
|
|
214
|
+
withSelector.exports = requireWithSelector_production();
|
|
215
|
+
} else {
|
|
216
|
+
withSelector.exports = requireWithSelector_development();
|
|
217
|
+
}
|
|
218
|
+
return withSelector.exports;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
var withSelectorExports = requireWithSelector();
|
|
222
|
+
const useSyncExternalStoreExports = /*@__PURE__*/getDefaultExportFromCjs(withSelectorExports);
|
|
223
|
+
|
|
224
|
+
function define(constructor, factory, prototype) {
|
|
225
|
+
constructor.prototype = factory.prototype = prototype;
|
|
226
|
+
prototype.constructor = constructor;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function extend(parent, definition) {
|
|
230
|
+
var prototype = Object.create(parent.prototype);
|
|
231
|
+
for (var key in definition) prototype[key] = definition[key];
|
|
232
|
+
return prototype;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
function Color() {}
|
|
236
|
+
|
|
237
|
+
var darker = 0.7;
|
|
238
|
+
var brighter = 1 / darker;
|
|
239
|
+
|
|
240
|
+
var reI = "\\s*([+-]?\\d+)\\s*",
|
|
241
|
+
reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
242
|
+
reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
|
|
243
|
+
reHex = /^#([0-9a-f]{3,8})$/,
|
|
244
|
+
reRgbInteger = new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),
|
|
245
|
+
reRgbPercent = new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),
|
|
246
|
+
reRgbaInteger = new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),
|
|
247
|
+
reRgbaPercent = new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),
|
|
248
|
+
reHslPercent = new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),
|
|
249
|
+
reHslaPercent = new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`);
|
|
250
|
+
|
|
251
|
+
var named = {
|
|
252
|
+
aliceblue: 0xf0f8ff,
|
|
253
|
+
antiquewhite: 0xfaebd7,
|
|
254
|
+
aqua: 0x00ffff,
|
|
255
|
+
aquamarine: 0x7fffd4,
|
|
256
|
+
azure: 0xf0ffff,
|
|
257
|
+
beige: 0xf5f5dc,
|
|
258
|
+
bisque: 0xffe4c4,
|
|
259
|
+
black: 0x000000,
|
|
260
|
+
blanchedalmond: 0xffebcd,
|
|
261
|
+
blue: 0x0000ff,
|
|
262
|
+
blueviolet: 0x8a2be2,
|
|
263
|
+
brown: 0xa52a2a,
|
|
264
|
+
burlywood: 0xdeb887,
|
|
265
|
+
cadetblue: 0x5f9ea0,
|
|
266
|
+
chartreuse: 0x7fff00,
|
|
267
|
+
chocolate: 0xd2691e,
|
|
268
|
+
coral: 0xff7f50,
|
|
269
|
+
cornflowerblue: 0x6495ed,
|
|
270
|
+
cornsilk: 0xfff8dc,
|
|
271
|
+
crimson: 0xdc143c,
|
|
272
|
+
cyan: 0x00ffff,
|
|
273
|
+
darkblue: 0x00008b,
|
|
274
|
+
darkcyan: 0x008b8b,
|
|
275
|
+
darkgoldenrod: 0xb8860b,
|
|
276
|
+
darkgray: 0xa9a9a9,
|
|
277
|
+
darkgreen: 0x006400,
|
|
278
|
+
darkgrey: 0xa9a9a9,
|
|
279
|
+
darkkhaki: 0xbdb76b,
|
|
280
|
+
darkmagenta: 0x8b008b,
|
|
281
|
+
darkolivegreen: 0x556b2f,
|
|
282
|
+
darkorange: 0xff8c00,
|
|
283
|
+
darkorchid: 0x9932cc,
|
|
284
|
+
darkred: 0x8b0000,
|
|
285
|
+
darksalmon: 0xe9967a,
|
|
286
|
+
darkseagreen: 0x8fbc8f,
|
|
287
|
+
darkslateblue: 0x483d8b,
|
|
288
|
+
darkslategray: 0x2f4f4f,
|
|
289
|
+
darkslategrey: 0x2f4f4f,
|
|
290
|
+
darkturquoise: 0x00ced1,
|
|
291
|
+
darkviolet: 0x9400d3,
|
|
292
|
+
deeppink: 0xff1493,
|
|
293
|
+
deepskyblue: 0x00bfff,
|
|
294
|
+
dimgray: 0x696969,
|
|
295
|
+
dimgrey: 0x696969,
|
|
296
|
+
dodgerblue: 0x1e90ff,
|
|
297
|
+
firebrick: 0xb22222,
|
|
298
|
+
floralwhite: 0xfffaf0,
|
|
299
|
+
forestgreen: 0x228b22,
|
|
300
|
+
fuchsia: 0xff00ff,
|
|
301
|
+
gainsboro: 0xdcdcdc,
|
|
302
|
+
ghostwhite: 0xf8f8ff,
|
|
303
|
+
gold: 0xffd700,
|
|
304
|
+
goldenrod: 0xdaa520,
|
|
305
|
+
gray: 0x808080,
|
|
306
|
+
green: 0x008000,
|
|
307
|
+
greenyellow: 0xadff2f,
|
|
308
|
+
grey: 0x808080,
|
|
309
|
+
honeydew: 0xf0fff0,
|
|
310
|
+
hotpink: 0xff69b4,
|
|
311
|
+
indianred: 0xcd5c5c,
|
|
312
|
+
indigo: 0x4b0082,
|
|
313
|
+
ivory: 0xfffff0,
|
|
314
|
+
khaki: 0xf0e68c,
|
|
315
|
+
lavender: 0xe6e6fa,
|
|
316
|
+
lavenderblush: 0xfff0f5,
|
|
317
|
+
lawngreen: 0x7cfc00,
|
|
318
|
+
lemonchiffon: 0xfffacd,
|
|
319
|
+
lightblue: 0xadd8e6,
|
|
320
|
+
lightcoral: 0xf08080,
|
|
321
|
+
lightcyan: 0xe0ffff,
|
|
322
|
+
lightgoldenrodyellow: 0xfafad2,
|
|
323
|
+
lightgray: 0xd3d3d3,
|
|
324
|
+
lightgreen: 0x90ee90,
|
|
325
|
+
lightgrey: 0xd3d3d3,
|
|
326
|
+
lightpink: 0xffb6c1,
|
|
327
|
+
lightsalmon: 0xffa07a,
|
|
328
|
+
lightseagreen: 0x20b2aa,
|
|
329
|
+
lightskyblue: 0x87cefa,
|
|
330
|
+
lightslategray: 0x778899,
|
|
331
|
+
lightslategrey: 0x778899,
|
|
332
|
+
lightsteelblue: 0xb0c4de,
|
|
333
|
+
lightyellow: 0xffffe0,
|
|
334
|
+
lime: 0x00ff00,
|
|
335
|
+
limegreen: 0x32cd32,
|
|
336
|
+
linen: 0xfaf0e6,
|
|
337
|
+
magenta: 0xff00ff,
|
|
338
|
+
maroon: 0x800000,
|
|
339
|
+
mediumaquamarine: 0x66cdaa,
|
|
340
|
+
mediumblue: 0x0000cd,
|
|
341
|
+
mediumorchid: 0xba55d3,
|
|
342
|
+
mediumpurple: 0x9370db,
|
|
343
|
+
mediumseagreen: 0x3cb371,
|
|
344
|
+
mediumslateblue: 0x7b68ee,
|
|
345
|
+
mediumspringgreen: 0x00fa9a,
|
|
346
|
+
mediumturquoise: 0x48d1cc,
|
|
347
|
+
mediumvioletred: 0xc71585,
|
|
348
|
+
midnightblue: 0x191970,
|
|
349
|
+
mintcream: 0xf5fffa,
|
|
350
|
+
mistyrose: 0xffe4e1,
|
|
351
|
+
moccasin: 0xffe4b5,
|
|
352
|
+
navajowhite: 0xffdead,
|
|
353
|
+
navy: 0x000080,
|
|
354
|
+
oldlace: 0xfdf5e6,
|
|
355
|
+
olive: 0x808000,
|
|
356
|
+
olivedrab: 0x6b8e23,
|
|
357
|
+
orange: 0xffa500,
|
|
358
|
+
orangered: 0xff4500,
|
|
359
|
+
orchid: 0xda70d6,
|
|
360
|
+
palegoldenrod: 0xeee8aa,
|
|
361
|
+
palegreen: 0x98fb98,
|
|
362
|
+
paleturquoise: 0xafeeee,
|
|
363
|
+
palevioletred: 0xdb7093,
|
|
364
|
+
papayawhip: 0xffefd5,
|
|
365
|
+
peachpuff: 0xffdab9,
|
|
366
|
+
peru: 0xcd853f,
|
|
367
|
+
pink: 0xffc0cb,
|
|
368
|
+
plum: 0xdda0dd,
|
|
369
|
+
powderblue: 0xb0e0e6,
|
|
370
|
+
purple: 0x800080,
|
|
371
|
+
rebeccapurple: 0x663399,
|
|
372
|
+
red: 0xff0000,
|
|
373
|
+
rosybrown: 0xbc8f8f,
|
|
374
|
+
royalblue: 0x4169e1,
|
|
375
|
+
saddlebrown: 0x8b4513,
|
|
376
|
+
salmon: 0xfa8072,
|
|
377
|
+
sandybrown: 0xf4a460,
|
|
378
|
+
seagreen: 0x2e8b57,
|
|
379
|
+
seashell: 0xfff5ee,
|
|
380
|
+
sienna: 0xa0522d,
|
|
381
|
+
silver: 0xc0c0c0,
|
|
382
|
+
skyblue: 0x87ceeb,
|
|
383
|
+
slateblue: 0x6a5acd,
|
|
384
|
+
slategray: 0x708090,
|
|
385
|
+
slategrey: 0x708090,
|
|
386
|
+
snow: 0xfffafa,
|
|
387
|
+
springgreen: 0x00ff7f,
|
|
388
|
+
steelblue: 0x4682b4,
|
|
389
|
+
tan: 0xd2b48c,
|
|
390
|
+
teal: 0x008080,
|
|
391
|
+
thistle: 0xd8bfd8,
|
|
392
|
+
tomato: 0xff6347,
|
|
393
|
+
turquoise: 0x40e0d0,
|
|
394
|
+
violet: 0xee82ee,
|
|
395
|
+
wheat: 0xf5deb3,
|
|
396
|
+
white: 0xffffff,
|
|
397
|
+
whitesmoke: 0xf5f5f5,
|
|
398
|
+
yellow: 0xffff00,
|
|
399
|
+
yellowgreen: 0x9acd32
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
define(Color, color, {
|
|
403
|
+
copy(channels) {
|
|
404
|
+
return Object.assign(new this.constructor, this, channels);
|
|
405
|
+
},
|
|
406
|
+
displayable() {
|
|
407
|
+
return this.rgb().displayable();
|
|
408
|
+
},
|
|
409
|
+
hex: color_formatHex, // Deprecated! Use color.formatHex.
|
|
410
|
+
formatHex: color_formatHex,
|
|
411
|
+
formatHex8: color_formatHex8,
|
|
412
|
+
formatHsl: color_formatHsl,
|
|
413
|
+
formatRgb: color_formatRgb,
|
|
414
|
+
toString: color_formatRgb
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
function color_formatHex() {
|
|
418
|
+
return this.rgb().formatHex();
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
function color_formatHex8() {
|
|
422
|
+
return this.rgb().formatHex8();
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
function color_formatHsl() {
|
|
426
|
+
return hslConvert(this).formatHsl();
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
function color_formatRgb() {
|
|
430
|
+
return this.rgb().formatRgb();
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
function color(format) {
|
|
434
|
+
var m, l;
|
|
435
|
+
format = (format + "").trim().toLowerCase();
|
|
436
|
+
return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
|
|
437
|
+
: l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00
|
|
438
|
+
: l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
|
|
439
|
+
: l === 4 ? rgba((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000
|
|
440
|
+
: null) // invalid hex
|
|
441
|
+
: (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
|
|
442
|
+
: (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
|
|
443
|
+
: (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
|
|
444
|
+
: (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
|
|
445
|
+
: (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
|
|
446
|
+
: (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
|
|
447
|
+
: named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
|
|
448
|
+
: format === "transparent" ? new Rgb(NaN, NaN, NaN, 0)
|
|
449
|
+
: null;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
function rgbn(n) {
|
|
453
|
+
return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
function rgba(r, g, b, a) {
|
|
457
|
+
if (a <= 0) r = g = b = NaN;
|
|
458
|
+
return new Rgb(r, g, b, a);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
function rgbConvert(o) {
|
|
462
|
+
if (!(o instanceof Color)) o = color(o);
|
|
463
|
+
if (!o) return new Rgb;
|
|
464
|
+
o = o.rgb();
|
|
465
|
+
return new Rgb(o.r, o.g, o.b, o.opacity);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
function rgb(r, g, b, opacity) {
|
|
469
|
+
return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
function Rgb(r, g, b, opacity) {
|
|
473
|
+
this.r = +r;
|
|
474
|
+
this.g = +g;
|
|
475
|
+
this.b = +b;
|
|
476
|
+
this.opacity = +opacity;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
define(Rgb, rgb, extend(Color, {
|
|
480
|
+
brighter(k) {
|
|
481
|
+
k = k == null ? brighter : Math.pow(brighter, k);
|
|
482
|
+
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
483
|
+
},
|
|
484
|
+
darker(k) {
|
|
485
|
+
k = k == null ? darker : Math.pow(darker, k);
|
|
486
|
+
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
487
|
+
},
|
|
488
|
+
rgb() {
|
|
489
|
+
return this;
|
|
490
|
+
},
|
|
491
|
+
clamp() {
|
|
492
|
+
return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
|
|
493
|
+
},
|
|
494
|
+
displayable() {
|
|
495
|
+
return (-0.5 <= this.r && this.r < 255.5)
|
|
496
|
+
&& (-0.5 <= this.g && this.g < 255.5)
|
|
497
|
+
&& (-0.5 <= this.b && this.b < 255.5)
|
|
498
|
+
&& (0 <= this.opacity && this.opacity <= 1);
|
|
499
|
+
},
|
|
500
|
+
hex: rgb_formatHex, // Deprecated! Use color.formatHex.
|
|
501
|
+
formatHex: rgb_formatHex,
|
|
502
|
+
formatHex8: rgb_formatHex8,
|
|
503
|
+
formatRgb: rgb_formatRgb,
|
|
504
|
+
toString: rgb_formatRgb
|
|
505
|
+
}));
|
|
506
|
+
|
|
507
|
+
function rgb_formatHex() {
|
|
508
|
+
return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}`;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
function rgb_formatHex8() {
|
|
512
|
+
return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
function rgb_formatRgb() {
|
|
516
|
+
const a = clampa(this.opacity);
|
|
517
|
+
return `${a === 1 ? "rgb(" : "rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${a === 1 ? ")" : `, ${a})`}`;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
function clampa(opacity) {
|
|
521
|
+
return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
function clampi(value) {
|
|
525
|
+
return Math.max(0, Math.min(255, Math.round(value) || 0));
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
function hex(value) {
|
|
529
|
+
value = clampi(value);
|
|
530
|
+
return (value < 16 ? "0" : "") + value.toString(16);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
function hsla(h, s, l, a) {
|
|
534
|
+
if (a <= 0) h = s = l = NaN;
|
|
535
|
+
else if (l <= 0 || l >= 1) h = s = NaN;
|
|
536
|
+
else if (s <= 0) h = NaN;
|
|
537
|
+
return new Hsl(h, s, l, a);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
function hslConvert(o) {
|
|
541
|
+
if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
|
|
542
|
+
if (!(o instanceof Color)) o = color(o);
|
|
543
|
+
if (!o) return new Hsl;
|
|
544
|
+
if (o instanceof Hsl) return o;
|
|
545
|
+
o = o.rgb();
|
|
546
|
+
var r = o.r / 255,
|
|
547
|
+
g = o.g / 255,
|
|
548
|
+
b = o.b / 255,
|
|
549
|
+
min = Math.min(r, g, b),
|
|
550
|
+
max = Math.max(r, g, b),
|
|
551
|
+
h = NaN,
|
|
552
|
+
s = max - min,
|
|
553
|
+
l = (max + min) / 2;
|
|
554
|
+
if (s) {
|
|
555
|
+
if (r === max) h = (g - b) / s + (g < b) * 6;
|
|
556
|
+
else if (g === max) h = (b - r) / s + 2;
|
|
557
|
+
else h = (r - g) / s + 4;
|
|
558
|
+
s /= l < 0.5 ? max + min : 2 - max - min;
|
|
559
|
+
h *= 60;
|
|
560
|
+
} else {
|
|
561
|
+
s = l > 0 && l < 1 ? 0 : h;
|
|
562
|
+
}
|
|
563
|
+
return new Hsl(h, s, l, o.opacity);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
function hsl(h, s, l, opacity) {
|
|
567
|
+
return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
function Hsl(h, s, l, opacity) {
|
|
571
|
+
this.h = +h;
|
|
572
|
+
this.s = +s;
|
|
573
|
+
this.l = +l;
|
|
574
|
+
this.opacity = +opacity;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
define(Hsl, hsl, extend(Color, {
|
|
578
|
+
brighter(k) {
|
|
579
|
+
k = k == null ? brighter : Math.pow(brighter, k);
|
|
580
|
+
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
581
|
+
},
|
|
582
|
+
darker(k) {
|
|
583
|
+
k = k == null ? darker : Math.pow(darker, k);
|
|
584
|
+
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
585
|
+
},
|
|
586
|
+
rgb() {
|
|
587
|
+
var h = this.h % 360 + (this.h < 0) * 360,
|
|
588
|
+
s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
|
|
589
|
+
l = this.l,
|
|
590
|
+
m2 = l + (l < 0.5 ? l : 1 - l) * s,
|
|
591
|
+
m1 = 2 * l - m2;
|
|
592
|
+
return new Rgb(
|
|
593
|
+
hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),
|
|
594
|
+
hsl2rgb(h, m1, m2),
|
|
595
|
+
hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),
|
|
596
|
+
this.opacity
|
|
597
|
+
);
|
|
598
|
+
},
|
|
599
|
+
clamp() {
|
|
600
|
+
return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
|
|
601
|
+
},
|
|
602
|
+
displayable() {
|
|
603
|
+
return (0 <= this.s && this.s <= 1 || isNaN(this.s))
|
|
604
|
+
&& (0 <= this.l && this.l <= 1)
|
|
605
|
+
&& (0 <= this.opacity && this.opacity <= 1);
|
|
606
|
+
},
|
|
607
|
+
formatHsl() {
|
|
608
|
+
const a = clampa(this.opacity);
|
|
609
|
+
return `${a === 1 ? "hsl(" : "hsla("}${clamph(this.h)}, ${clampt(this.s) * 100}%, ${clampt(this.l) * 100}%${a === 1 ? ")" : `, ${a})`}`;
|
|
610
|
+
}
|
|
611
|
+
}));
|
|
612
|
+
|
|
613
|
+
function clamph(value) {
|
|
614
|
+
value = (value || 0) % 360;
|
|
615
|
+
return value < 0 ? value + 360 : value;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
function clampt(value) {
|
|
619
|
+
return Math.max(0, Math.min(1, value || 0));
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/* From FvD 13.37, CSS Color Module Level 3 */
|
|
623
|
+
function hsl2rgb(h, m1, m2) {
|
|
624
|
+
return (h < 60 ? m1 + (m2 - m1) * h / 60
|
|
625
|
+
: h < 180 ? m2
|
|
626
|
+
: h < 240 ? m1 + (m2 - m1) * (240 - h) / 60
|
|
627
|
+
: m1) * 255;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
const constant = x => () => x;
|
|
631
|
+
|
|
632
|
+
function linear(a, d) {
|
|
633
|
+
return function(t) {
|
|
634
|
+
return a + t * d;
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
function exponential(a, b, y) {
|
|
639
|
+
return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {
|
|
640
|
+
return Math.pow(a + t * b, y);
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
function gamma(y) {
|
|
645
|
+
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
646
|
+
return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
function nogamma(a, b) {
|
|
651
|
+
var d = b - a;
|
|
652
|
+
return d ? linear(a, d) : constant(isNaN(a) ? b : a);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
const interpolateRgb = (function rgbGamma(y) {
|
|
656
|
+
var color = gamma(y);
|
|
657
|
+
|
|
658
|
+
function rgb$1(start, end) {
|
|
659
|
+
var r = color((start = rgb(start)).r, (end = rgb(end)).r),
|
|
660
|
+
g = color(start.g, end.g),
|
|
661
|
+
b = color(start.b, end.b),
|
|
662
|
+
opacity = nogamma(start.opacity, end.opacity);
|
|
663
|
+
return function(t) {
|
|
664
|
+
start.r = r(t);
|
|
665
|
+
start.g = g(t);
|
|
666
|
+
start.b = b(t);
|
|
667
|
+
start.opacity = opacity(t);
|
|
668
|
+
return start + "";
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
rgb$1.gamma = rgbGamma;
|
|
673
|
+
|
|
674
|
+
return rgb$1;
|
|
675
|
+
})(1);
|
|
676
|
+
|
|
677
|
+
function numberArray(a, b) {
|
|
678
|
+
if (!b) b = [];
|
|
679
|
+
var n = a ? Math.min(b.length, a.length) : 0,
|
|
680
|
+
c = b.slice(),
|
|
681
|
+
i;
|
|
682
|
+
return function(t) {
|
|
683
|
+
for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;
|
|
684
|
+
return c;
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
function isNumberArray(x) {
|
|
689
|
+
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
function genericArray(a, b) {
|
|
693
|
+
var nb = b ? b.length : 0,
|
|
694
|
+
na = a ? Math.min(nb, a.length) : 0,
|
|
695
|
+
x = new Array(na),
|
|
696
|
+
c = new Array(nb),
|
|
697
|
+
i;
|
|
698
|
+
|
|
699
|
+
for (i = 0; i < na; ++i) x[i] = interpolate(a[i], b[i]);
|
|
700
|
+
for (; i < nb; ++i) c[i] = b[i];
|
|
701
|
+
|
|
702
|
+
return function(t) {
|
|
703
|
+
for (i = 0; i < na; ++i) c[i] = x[i](t);
|
|
704
|
+
return c;
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
function date(a, b) {
|
|
709
|
+
var d = new Date;
|
|
710
|
+
return a = +a, b = +b, function(t) {
|
|
711
|
+
return d.setTime(a * (1 - t) + b * t), d;
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
function interpolateNumber(a, b) {
|
|
716
|
+
return a = +a, b = +b, function(t) {
|
|
717
|
+
return a * (1 - t) + b * t;
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
function object(a, b) {
|
|
722
|
+
var i = {},
|
|
723
|
+
c = {},
|
|
724
|
+
k;
|
|
725
|
+
|
|
726
|
+
if (a === null || typeof a !== "object") a = {};
|
|
727
|
+
if (b === null || typeof b !== "object") b = {};
|
|
728
|
+
|
|
729
|
+
for (k in b) {
|
|
730
|
+
if (k in a) {
|
|
731
|
+
i[k] = interpolate(a[k], b[k]);
|
|
732
|
+
} else {
|
|
733
|
+
c[k] = b[k];
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
return function(t) {
|
|
738
|
+
for (k in i) c[k] = i[k](t);
|
|
739
|
+
return c;
|
|
740
|
+
};
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
|
|
744
|
+
reB = new RegExp(reA.source, "g");
|
|
745
|
+
|
|
746
|
+
function zero(b) {
|
|
747
|
+
return function() {
|
|
748
|
+
return b;
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
function one(b) {
|
|
753
|
+
return function(t) {
|
|
754
|
+
return b(t) + "";
|
|
755
|
+
};
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
function interpolateString(a, b) {
|
|
759
|
+
var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b
|
|
760
|
+
am, // current match in a
|
|
761
|
+
bm, // current match in b
|
|
762
|
+
bs, // string preceding current number in b, if any
|
|
763
|
+
i = -1, // index in s
|
|
764
|
+
s = [], // string constants and placeholders
|
|
765
|
+
q = []; // number interpolators
|
|
766
|
+
|
|
767
|
+
// Coerce inputs to strings.
|
|
768
|
+
a = a + "", b = b + "";
|
|
769
|
+
|
|
770
|
+
// Interpolate pairs of numbers in a & b.
|
|
771
|
+
while ((am = reA.exec(a))
|
|
772
|
+
&& (bm = reB.exec(b))) {
|
|
773
|
+
if ((bs = bm.index) > bi) { // a string precedes the next number in b
|
|
774
|
+
bs = b.slice(bi, bs);
|
|
775
|
+
if (s[i]) s[i] += bs; // coalesce with previous string
|
|
776
|
+
else s[++i] = bs;
|
|
777
|
+
}
|
|
778
|
+
if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match
|
|
779
|
+
if (s[i]) s[i] += bm; // coalesce with previous string
|
|
780
|
+
else s[++i] = bm;
|
|
781
|
+
} else { // interpolate non-matching numbers
|
|
782
|
+
s[++i] = null;
|
|
783
|
+
q.push({i: i, x: interpolateNumber(am, bm)});
|
|
784
|
+
}
|
|
785
|
+
bi = reB.lastIndex;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
// Add remains of b.
|
|
789
|
+
if (bi < b.length) {
|
|
790
|
+
bs = b.slice(bi);
|
|
791
|
+
if (s[i]) s[i] += bs; // coalesce with previous string
|
|
792
|
+
else s[++i] = bs;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
// Special optimization for only a single match.
|
|
796
|
+
// Otherwise, interpolate each of the numbers and rejoin the string.
|
|
797
|
+
return s.length < 2 ? (q[0]
|
|
798
|
+
? one(q[0].x)
|
|
799
|
+
: zero(b))
|
|
800
|
+
: (b = q.length, function(t) {
|
|
801
|
+
for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);
|
|
802
|
+
return s.join("");
|
|
803
|
+
});
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
function interpolate(a, b) {
|
|
807
|
+
var t = typeof b, c;
|
|
808
|
+
return b == null || t === "boolean" ? constant(b)
|
|
809
|
+
: (t === "number" ? interpolateNumber
|
|
810
|
+
: t === "string" ? ((c = color(b)) ? (b = c, interpolateRgb) : interpolateString)
|
|
811
|
+
: b instanceof color ? interpolateRgb
|
|
812
|
+
: b instanceof Date ? date
|
|
813
|
+
: isNumberArray(b) ? numberArray
|
|
814
|
+
: Array.isArray(b) ? genericArray
|
|
815
|
+
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object
|
|
816
|
+
: interpolateNumber)(a, b);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export { interpolateRgb as a, interpolateString as b, color as c, interpolate as d, interpolateNumber as i, useSyncExternalStoreExports as u, withSelectorExports as w };
|
|
820
|
+
//# sourceMappingURL=value.js.map
|