alinea 1.7.0 → 2.0.0-preview.1
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/.init/content/pages/welcome.json +1 -1
- package/dist/.init/src/app/(alinea)/api/cms/route.ts +8 -8
- package/dist/.init/src/cms.ts +45 -47
- package/dist/LICENSES.md +236 -561
- package/dist/adapter/core/cms.js +1 -1
- package/dist/adapter/core/handler.js +1 -1
- package/dist/adapter/core/preview.js +2 -2
- package/dist/adapter/core/previewContext.d.ts +1 -1
- package/dist/adapter/core/previewContext.js +1 -1
- package/dist/adapter/next/cms.d.ts +1 -1
- package/dist/adapter/next/cms.js +7 -7
- package/dist/adapter/next/context.js +1 -1
- package/dist/adapter/next/handler.d.ts +2 -4
- package/dist/adapter/next/handler.js +11 -5
- package/dist/adapter/next/previews.d.ts +2 -2
- package/dist/adapter/next/previews.js +13 -17
- package/dist/adapter/next/with-alinea.js +20 -10
- package/dist/adapter/vite/plugin.d.ts +2 -0
- package/dist/adapter/vite/plugin.js +66 -0
- package/dist/backend/Auth.js +1 -1
- package/dist/backend/HandleAction.d.ts +1 -0
- package/dist/backend/HandleAction.js +2 -1
- package/dist/backend/Handler.js +142 -31
- package/dist/backend/Previews.d.ts +2 -5
- package/dist/backend/api/BasicAuth.d.ts +2 -2
- package/dist/backend/api/BasicAuth.js +5 -3
- package/dist/backend/api/CreateBackend.d.ts +11 -2
- package/dist/backend/api/CreateBackend.js +45 -2502
- package/dist/backend/api/DatabaseApi.d.ts +8 -2
- package/dist/backend/api/DatabaseApi.js +252 -123
- package/dist/backend/api/GithubApi.d.ts +0 -4
- package/dist/backend/api/GithubApi.js +11 -7
- package/dist/backend/api/OAuth2.d.ts +3 -3
- package/dist/backend/api/OAuth2.js +36 -25
- package/dist/backend/api/S3Uploads.d.ts +32 -0
- package/dist/backend/api/S3Uploads.js +178 -0
- package/dist/backend/api/SupabaseUploads.d.ts +28 -0
- package/dist/backend/api/SupabaseUploads.js +41 -0
- package/dist/backend/api/UploadPaths.d.ts +7 -0
- package/dist/backend/api/UploadPaths.js +53 -0
- package/dist/backend/api/auth.d.ts +5 -0
- package/dist/backend/api/auth.js +15 -0
- package/dist/backend/api/database.d.ts +2 -0
- package/dist/backend/api/database.js +16 -0
- package/dist/backend/api/github.d.ts +3 -0
- package/dist/backend/api/github.js +10 -0
- package/dist/backend/api/uploads.d.ts +9 -0
- package/dist/backend/api/uploads.js +23 -0
- package/dist/backend/loader/JsonLoader.js +1 -1
- package/dist/backend/resolver/ParsePreview.js +2 -2
- package/dist/backend/router/NodeHandler.js +1 -1
- package/dist/backend/router/Router.d.ts +1 -0
- package/dist/backend/router/Router.js +53 -21
- package/dist/backend/store/GeneratedRelease.js +1 -1
- package/dist/backend/store/GeneratedSource.js +1 -1
- package/dist/backend/util/ExecGit.js +4 -4
- package/dist/backend/util/JWTPreviews.d.ts +3 -3
- package/dist/backend/util/JWTPreviews.js +19 -5
- package/dist/backend/util/JsonPatch.js +1 -1
- package/dist/backend/util/ORM.js +2 -2
- package/dist/backend/util/Syncable.js +2 -2
- package/dist/backend.d.ts +5 -0
- package/dist/backend.js +17 -0
- package/dist/bundled.d.ts +8368 -8238
- package/dist/chunks/chunk-53DZYORR.js +3705 -0
- package/dist/chunks/chunk-6UT4N4CO.js +919 -0
- package/dist/chunks/chunk-7ORQ7BYK.js +1187 -0
- package/dist/chunks/chunk-AC4U3IMS.js +205 -0
- package/dist/chunks/chunk-BYJRQTFR.js +57 -0
- package/dist/chunks/chunk-CQ52GEHY.js +39 -0
- package/dist/chunks/chunk-F36YGSHN.js +335 -0
- package/dist/chunks/chunk-FRYHNUEK.js +79 -0
- package/dist/chunks/chunk-G6E35DMJ.js +1997 -0
- package/dist/chunks/chunk-I4GC3E65.js +170 -0
- package/dist/chunks/chunk-I4OYYAX5.js +63 -0
- package/dist/chunks/chunk-I7X64JTZ.js +10402 -0
- package/dist/chunks/chunk-IWN3T3FL.js +19493 -0
- package/dist/chunks/chunk-IYAQC63Y.js +1265 -0
- package/dist/chunks/chunk-JFROOUG6.js +6363 -0
- package/dist/chunks/chunk-LB3UYTOL.js +95 -0
- package/dist/chunks/chunk-LUBOGJCG.js +129 -0
- package/dist/chunks/chunk-NWQXN4SB.js +227 -0
- package/dist/chunks/chunk-RKDPDEF7.js +160 -0
- package/dist/chunks/chunk-SJBZFMQ2.js +2966 -0
- package/dist/chunks/chunk-STAJCW4Z.js +322 -0
- package/dist/chunks/chunk-TL7ZW6BX.js +17963 -0
- package/dist/chunks/chunk-U4VOHNR2.js +210 -0
- package/dist/chunks/chunk-U5Z2VE7Z.js +120 -0
- package/dist/chunks/chunk-X47OVDF3.js +1974 -0
- package/dist/chunks/chunk-Y7XOMJOC.js +791 -0
- package/dist/chunks/chunk-YK3OSMDM.js +5473 -0
- package/dist/chunks/crypto-UO2XRCJS.js +11 -0
- package/dist/cli/Generate.js +9 -4
- package/dist/cli/Init.js +1 -1
- package/dist/cli/Serve.d.ts +2 -2
- package/dist/cli/Serve.js +54 -100
- package/dist/cli/bin.js +85 -12
- package/dist/cli/build/BuildEmitter.js +1 -1
- package/dist/cli/build/BuildOptions.js +1 -1
- package/dist/cli/generate/CompileConfig.d.ts +1 -1
- package/dist/cli/generate/CompileConfig.js +4 -3
- package/dist/cli/generate/CopyStaticFiles.js +2 -1
- package/dist/cli/generate/DevDB.js +2 -8
- package/dist/cli/generate/FillCache.js +2 -2
- package/dist/cli/generate/GenerateDashboard.js +1 -1
- package/dist/cli/generate/LoadConfig.js +2 -3
- package/dist/cli/serve/CreateLocalServer.d.ts +1 -1
- package/dist/cli/serve/CreateLocalServer.js +81 -26
- package/dist/cli/serve/DevServer.d.ts +19 -0
- package/dist/cli/serve/DevServer.js +134 -0
- package/dist/cli/serve/GitHistory.d.ts +1 -2
- package/dist/cli/serve/GitHistory.js +15 -2
- package/dist/cli/serve/LiveReload.js +1 -1
- package/dist/cli/serve/LocalAuth.js +1 -1
- package/dist/cli/serve/MemoryDrafts.js +1 -1
- package/dist/cli/serve/StartServer.js +1 -1
- package/dist/cli/static/init/cms.js +45 -47
- package/dist/cli/static/init/next-handler.js +8 -8
- package/dist/cli/util/CommitMessage.js +1 -1
- package/dist/cli/util/CommitSha.js +1 -1
- package/dist/cli/util/Dirname.js +1 -1
- package/dist/cli/util/Emitter.js +1 -1
- package/dist/cli/util/EnsureEnv.js +1 -1
- package/dist/cli/util/EnsureLibs.js +1 -1
- package/dist/cli/util/EnsureNode.js +1 -1
- package/dist/cli/util/FS.js +1 -1
- package/dist/cli/util/FindConfigFile.js +1 -1
- package/dist/cli/util/ForwardCommand.js +1 -1
- package/dist/cli/util/IgnorePlugin.js +1 -1
- package/dist/cli/util/PublicDefines.js +1 -1
- package/dist/cli/util/Report.js +1 -1
- package/dist/cli/util/ViewsPlugin.js +2 -2
- package/dist/cli/util/WarnPublicEnv.js +1 -1
- package/dist/cli/util/Watcher.js +1 -1
- package/dist/cloud/AuthResult.js +1 -1
- package/dist/cloud/CloudConfig.d.ts +1 -0
- package/dist/cloud/CloudConfig.js +2 -1
- package/dist/cloud/CloudRemote.d.ts +12 -5
- package/dist/cloud/CloudRemote.js +58 -10
- package/dist/components/Breadcrumbs.d.ts +3 -0
- package/dist/components/Breadcrumbs.js +42 -0
- package/dist/components/Button.d.ts +10 -0
- package/dist/components/Button.js +57 -0
- package/dist/components/Calendar.d.ts +3 -0
- package/dist/components/Calendar.js +94 -0
- package/dist/components/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox.js +75 -0
- package/dist/components/CheckboxGroup.d.ts +6 -0
- package/dist/components/CheckboxGroup.js +45 -0
- package/dist/components/ColorSwatch.d.ts +2 -0
- package/dist/components/ColorSwatch.js +45 -0
- package/dist/components/ColorSwatchPicker.d.ts +3 -0
- package/dist/components/ColorSwatchPicker.js +66 -0
- package/dist/components/ComboBox.d.ts +13 -0
- package/dist/components/ComboBox.js +147 -0
- package/dist/components/DateField.d.ts +5 -0
- package/dist/components/DateField.js +61 -0
- package/dist/components/DatePicker.d.ts +5 -0
- package/dist/components/DatePicker.js +78 -0
- package/dist/components/DateRangePicker.d.ts +5 -0
- package/dist/components/DateRangePicker.js +95 -0
- package/dist/components/Dialog.d.ts +3 -0
- package/dist/components/Dialog.js +43 -0
- package/dist/components/Disclosure.d.ts +5 -0
- package/dist/components/Disclosure.js +106 -0
- package/dist/components/DropZone.d.ts +4 -0
- package/dist/components/DropZone.js +41 -0
- package/dist/components/FoldIcon.d.ts +6 -0
- package/dist/components/FoldIcon.js +31 -0
- package/dist/components/Icon.d.ts +7 -0
- package/dist/components/Icon.js +40 -0
- package/dist/components/Label.d.ts +48 -0
- package/dist/components/Label.js +210 -0
- package/dist/components/Link.d.ts +5 -0
- package/dist/components/Link.js +42 -0
- package/dist/components/List.d.ts +99 -0
- package/dist/components/List.js +397 -0
- package/dist/components/Menu.d.ts +16 -0
- package/dist/components/Menu.js +95 -0
- package/dist/components/Modal.d.ts +7 -0
- package/dist/components/Modal.js +58 -0
- package/dist/components/MultipleSelect.d.ts +25 -0
- package/dist/components/MultipleSelect.js +278 -0
- package/dist/components/NumberField.d.ts +6 -0
- package/dist/components/NumberField.js +90 -0
- package/dist/components/Popover.d.ts +6 -0
- package/dist/components/Popover.js +42 -0
- package/dist/components/ProgressCircle.d.ts +6 -0
- package/dist/components/ProgressCircle.js +96 -0
- package/dist/components/RadioGroup.d.ts +8 -0
- package/dist/components/RadioGroup.js +64 -0
- package/dist/components/SearchField.d.ts +8 -0
- package/dist/components/SearchField.js +86 -0
- package/dist/components/Select.d.ts +13 -0
- package/dist/components/Select.js +150 -0
- package/dist/components/Surface.d.ts +15 -0
- package/dist/components/Surface.js +53 -0
- package/dist/components/Switch.d.ts +5 -0
- package/dist/components/Switch.js +47 -0
- package/dist/components/Table.d.ts +14 -0
- package/dist/components/Table.js +147 -0
- package/dist/components/Tabs.d.ts +13 -0
- package/dist/components/Tabs.js +96 -0
- package/dist/components/TagGroup.d.ts +10 -0
- package/dist/components/TagGroup.js +81 -0
- package/dist/components/TextField.d.ts +13 -0
- package/dist/components/TextField.js +77 -0
- package/dist/components/TimeField.d.ts +5 -0
- package/dist/components/TimeField.js +55 -0
- package/dist/components/Toggle.d.ts +8 -0
- package/dist/components/Toggle.js +61 -0
- package/dist/components/Toolbar.d.ts +8 -0
- package/dist/components/Toolbar.js +80 -0
- package/dist/components/Tooltip.d.ts +7 -0
- package/dist/components/Tooltip.js +54 -0
- package/dist/components/Tree.d.ts +23 -0
- package/dist/components/Tree.js +130 -0
- package/dist/components.d.ts +38 -0
- package/dist/components.js +39 -0
- package/dist/config.js +1 -1
- package/dist/core/BlobTransport.d.ts +5 -0
- package/dist/core/BlobTransport.js +79 -0
- package/dist/core/CMS.js +1 -1
- package/dist/core/Client.d.ts +13 -8
- package/dist/core/Client.js +67 -20
- package/dist/core/Config.d.ts +2 -0
- package/dist/core/Config.js +1 -3
- package/dist/core/Connection.d.ts +30 -10
- package/dist/core/Document.js +10 -8
- package/dist/core/Draft.js +1 -1
- package/dist/core/Entry.d.ts +6 -0
- package/dist/core/Entry.js +16 -1
- package/dist/core/EntryFields.d.ts +4 -0
- package/dist/core/EntryFields.js +4 -2
- package/dist/core/EntryRecord.js +1 -1
- package/dist/core/Expr.d.ts +1 -0
- package/dist/core/Expr.js +1 -1
- package/dist/core/Field.d.ts +46 -5
- package/dist/core/Field.js +56 -10
- package/dist/core/Graph.d.ts +6 -0
- package/dist/core/Graph.js +1 -1
- package/dist/core/HttpError.js +1 -1
- package/dist/core/Id.js +1 -1
- package/dist/core/Infer.d.ts +1 -1
- package/dist/core/Internal.js +6 -6
- package/dist/core/ListRow.d.ts +10 -0
- package/dist/core/ListRow.js +12 -0
- package/dist/core/Outcome.js +1 -1
- package/dist/core/Page.js +2 -2
- package/dist/core/Picker.d.ts +0 -2
- package/dist/core/Picker.js +1 -1
- package/dist/core/Reference.js +1 -1
- package/dist/core/Role.d.ts +3 -0
- package/dist/core/Role.js +7 -1
- package/dist/core/Root.d.ts +4 -0
- package/dist/core/Root.js +7 -2
- package/dist/core/Schema.d.ts +0 -2
- package/dist/core/Schema.js +2 -16
- package/dist/core/Scope.js +1 -1
- package/dist/core/Section.js +2 -2
- package/dist/core/TextDoc.d.ts +4 -0
- package/dist/core/TextDoc.js +3 -1
- package/dist/core/Tracker.d.ts +1 -6
- package/dist/core/Tracker.js +2 -12
- package/dist/core/Trigger.js +1 -1
- package/dist/core/Type.d.ts +22 -7
- package/dist/core/Type.js +108 -28
- package/dist/core/UnionRow.d.ts +11 -0
- package/dist/core/UnionRow.js +11 -0
- package/dist/core/User.d.ts +7 -1
- package/dist/core/User.js +1 -1
- package/dist/core/View.js +1 -1
- package/dist/core/Workspace.d.ts +4 -1
- package/dist/core/Workspace.js +1 -1
- package/dist/core/db/CommitRequest.d.ts +2 -0
- package/dist/core/db/CommitRequest.js +1 -1
- package/dist/core/db/EntryAliases.d.ts +2 -0
- package/dist/core/db/EntryAliases.js +28 -0
- package/dist/core/db/EntryDB.d.ts +2 -2
- package/dist/core/db/EntryDB.js +3 -3
- package/dist/core/db/EntryIndex.d.ts +9 -2
- package/dist/core/db/EntryIndex.js +182 -39
- package/dist/core/db/EntryReference.d.ts +44 -0
- package/dist/core/db/EntryReference.js +9 -0
- package/dist/core/db/EntryReferenceIndex.d.ts +21 -0
- package/dist/core/db/EntryReferenceIndex.js +131 -0
- package/dist/core/db/EntryResolver.d.ts +10 -7
- package/dist/core/db/EntryResolver.js +90 -35
- package/dist/core/db/EntryTransaction.d.ts +1 -1
- package/dist/core/db/EntryTransaction.js +390 -57
- package/dist/core/db/EntryUrlConflictError.d.ts +11 -0
- package/dist/core/db/EntryUrlConflictError.js +16 -0
- package/dist/core/db/IndexEvent.d.ts +5 -2
- package/dist/core/db/IndexEvent.js +2 -1
- package/dist/core/db/LinkResolver.d.ts +1 -1
- package/dist/core/db/LinkResolver.js +4 -1
- package/dist/core/db/LocalDB.d.ts +7 -4
- package/dist/core/db/LocalDB.js +22 -10
- package/dist/core/db/Mutation.d.ts +3 -3
- package/dist/core/db/Operation.d.ts +8 -3
- package/dist/core/db/Operation.js +67 -23
- package/dist/core/db/TestDB.d.ts +9 -1
- package/dist/core/db/TestDB.js +24 -1
- package/dist/core/db/WriteableGraph.d.ts +15 -4
- package/dist/core/db/WriteableGraph.js +14 -2
- package/dist/core/field/CreateField.d.ts +5 -4
- package/dist/core/field/CreateField.js +9 -5
- package/dist/core/field/ListField.d.ts +13 -4
- package/dist/core/field/ListField.js +146 -13
- package/dist/core/field/RecordField.d.ts +5 -3
- package/dist/core/field/RecordField.js +58 -2
- package/dist/core/field/RichTextField.d.ts +7 -2
- package/dist/core/field/RichTextField.js +309 -10
- package/dist/core/field/ScalarField.js +9 -7
- package/dist/core/field/UnionField.d.ts +2 -3
- package/dist/core/field/UnionField.js +61 -12
- package/dist/core/media/CreatePreview.browser.js +5 -5
- package/dist/core/media/CreatePreview.js +15 -10
- package/dist/core/media/IsImage.js +1 -1
- package/dist/core/media/MediaAltField.d.ts +9 -0
- package/dist/core/media/MediaAltField.js +17 -0
- package/dist/core/media/MediaLocation.d.ts +42 -0
- package/dist/core/media/MediaLocation.js +54 -2
- package/dist/core/media/MediaRoot.d.ts +2 -2
- package/dist/core/media/MediaRoot.js +12 -11
- package/dist/core/media/MediaTypes.d.ts +21 -15
- package/dist/core/media/MediaTypes.js +44 -16
- package/dist/core/media/Summary.d.ts +8 -8
- package/dist/core/media/Summary.js +1 -1
- package/dist/core/media/UploadLimits.d.ts +1 -0
- package/dist/core/media/UploadLimits.js +20 -0
- package/dist/core/pages/Snippet.js +1 -1
- package/dist/core/shape/ListShape.d.ts +1 -47
- package/dist/core/shape/ListShape.js +1 -224
- package/dist/core/source/CombinedSource.d.ts +2 -2
- package/dist/core/source/CombinedSource.js +7 -4
- package/dist/core/source/FSSource.d.ts +7 -5
- package/dist/core/source/FSSource.js +79 -34
- package/dist/core/source/FilePatch.js +5 -2
- package/dist/core/source/GitDelta.js +1 -1
- package/dist/core/source/GitUtils.js +1 -1
- package/dist/core/source/GithubSource.d.ts +3 -2
- package/dist/core/source/GithubSource.js +38 -13
- package/dist/core/source/IndexedDBSource.d.ts +2 -2
- package/dist/core/source/IndexedDBSource.js +26 -12
- package/dist/core/source/MemorySource.d.ts +2 -2
- package/dist/core/source/MemorySource.js +4 -2
- package/dist/core/source/ShaMismatchError.js +3 -1
- package/dist/core/source/Source.d.ts +4 -1
- package/dist/core/source/Source.js +1 -1
- package/dist/core/source/SourceExport.js +3 -3
- package/dist/core/source/Tree.js +1 -1
- package/dist/core/source/Utils.js +2 -5
- package/dist/core/util/Anchors.d.ts +4 -0
- package/dist/core/util/Anchors.js +45 -0
- package/dist/core/util/ArrayBuffers.js +1 -1
- package/dist/core/util/Assert.js +1 -1
- package/dist/core/util/Async.d.ts +8 -2
- package/dist/core/util/Async.js +68 -1
- package/dist/core/util/BufferToBase64.js +1 -1
- package/dist/core/util/Callable.js +1 -1
- package/dist/core/util/Checks.js +2 -2
- package/dist/core/util/CodeGen.js +3 -1
- package/dist/core/util/ContentHash.js +1 -1
- package/dist/core/util/Debounce.js +1 -1
- package/dist/core/util/DeepMap.d.ts +14 -0
- package/dist/core/util/DeepMap.js +75 -0
- package/dist/core/util/Encoding.js +1 -1
- package/dist/core/util/EntryFilenames.d.ts +2 -3
- package/dist/core/util/EntryFilenames.js +5 -9
- package/dist/core/util/EntryRows.js +1 -1
- package/dist/core/util/FractionalIndexing.js +1 -1
- package/dist/core/util/GetRandomColor.js +20 -20
- package/dist/core/util/Identifiers.js +1 -1
- package/dist/core/util/JWT.js +1 -1
- package/dist/core/util/Lazy.js +1 -1
- package/dist/core/util/LazyRecord.js +1 -1
- package/dist/core/util/Logger.js +2 -1
- package/dist/core/util/Objects.d.ts +1 -0
- package/dist/core/util/Objects.js +5 -1
- package/dist/core/util/Paths.js +2 -2
- package/dist/core/util/RowId.js +1 -1
- package/dist/core/util/Slugs.js +1 -1
- package/dist/core/util/Timer.js +1 -1
- package/dist/core/util/Types.js +1 -1
- package/dist/core/util/Urls.js +1 -1
- package/dist/core.d.ts +1 -0
- package/dist/core.js +2 -1
- package/dist/dashboard/App.css +319 -0
- package/dist/dashboard/App.d.ts +8 -8
- package/dist/dashboard/App.js +188 -142
- package/dist/dashboard/StoryProvider.d.ts +12 -0
- package/dist/dashboard/StoryProvider.js +82 -0
- package/dist/dashboard/ViewKeys.d.ts +26 -0
- package/dist/dashboard/ViewKeys.js +32 -0
- package/dist/dashboard/app/AccessDenied.d.ts +5 -0
- package/dist/dashboard/app/AccessDenied.js +53 -0
- package/dist/dashboard/app/ActivityStatus.d.ts +10 -0
- package/dist/dashboard/app/ActivityStatus.js +459 -0
- package/dist/dashboard/app/AlineaLogo.d.ts +4 -0
- package/dist/dashboard/app/AlineaLogo.js +26 -0
- package/dist/dashboard/app/AppShell.d.ts +4 -0
- package/dist/dashboard/app/AppShell.js +29 -0
- package/dist/dashboard/app/AuthView.d.ts +8 -0
- package/dist/dashboard/app/AuthView.js +111 -0
- package/dist/dashboard/app/Badge.d.ts +8 -0
- package/dist/dashboard/app/Badge.js +42 -0
- package/dist/dashboard/app/CompactField.d.ts +14 -0
- package/dist/dashboard/app/CompactField.js +178 -0
- package/dist/dashboard/app/DashboardErrorBoundary.d.ts +2 -0
- package/dist/dashboard/app/DashboardErrorBoundary.js +122 -0
- package/dist/dashboard/app/DashboardLayout.d.ts +18 -0
- package/dist/dashboard/app/DashboardLayout.js +88 -0
- package/dist/dashboard/app/DashboardMeta.d.ts +7 -0
- package/dist/dashboard/app/DashboardMeta.js +28 -0
- package/dist/dashboard/app/EditorBackButton.d.ts +5 -0
- package/dist/dashboard/app/EditorBackButton.js +33 -0
- package/dist/dashboard/app/EntryFields.d.ts +21 -0
- package/dist/dashboard/app/EntryFields.js +101 -0
- package/dist/dashboard/app/EntryHeader.d.ts +15 -0
- package/dist/dashboard/app/EntryHeader.js +452 -0
- package/dist/dashboard/app/EntryHeaderActions.d.ts +37 -0
- package/dist/dashboard/app/EntryHeaderActions.js +71 -0
- package/dist/dashboard/app/EntryReferences.d.ts +6 -0
- package/dist/dashboard/app/EntryReferences.js +209 -0
- package/dist/dashboard/app/EntrySidebar.d.ts +25 -0
- package/dist/dashboard/app/EntrySidebar.js +378 -0
- package/dist/dashboard/app/EntrySidebarPreview.d.ts +10 -0
- package/dist/dashboard/app/EntrySidebarPreview.js +260 -0
- package/dist/dashboard/app/EntrySidebarPreview.story.d.ts +1 -0
- package/dist/dashboard/app/EntrySidebarToggle.d.ts +6 -0
- package/dist/dashboard/app/EntrySidebarToggle.js +29 -0
- package/dist/dashboard/app/EntryTranslationBanner.d.ts +7 -0
- package/dist/dashboard/app/EntryTranslationBanner.js +60 -0
- package/dist/dashboard/app/Explorer.d.ts +41 -0
- package/dist/dashboard/app/Explorer.js +812 -0
- package/dist/dashboard/app/ExplorerCards.d.ts +12 -0
- package/dist/dashboard/app/ExplorerCards.js +389 -0
- package/dist/dashboard/app/ExplorerFileCard.d.ts +10 -0
- package/dist/dashboard/app/ExplorerFileCard.js +115 -0
- package/dist/dashboard/app/ExplorerList.d.ts +9 -0
- package/dist/dashboard/app/ExplorerList.js +165 -0
- package/dist/dashboard/app/ExplorerModal.d.ts +16 -0
- package/dist/dashboard/app/ExplorerModal.js +89 -0
- package/dist/dashboard/app/ExplorerPickerContent.d.ts +13 -0
- package/dist/dashboard/app/ExplorerPickerContent.js +114 -0
- package/dist/dashboard/app/ExplorerTable.d.ts +14 -0
- package/dist/dashboard/app/ExplorerTable.js +512 -0
- package/dist/dashboard/app/ExternalLinkPicker.d.ts +12 -0
- package/dist/dashboard/app/ExternalLinkPicker.js +97 -0
- package/dist/dashboard/app/ImagePicker.d.ts +6 -0
- package/dist/dashboard/app/ImagePicker.js +145 -0
- package/dist/dashboard/app/LinkPicker.d.ts +9 -0
- package/dist/dashboard/app/LinkPicker.js +317 -0
- package/dist/dashboard/app/LocaleMenu.d.ts +8 -0
- package/dist/dashboard/app/LocaleMenu.js +110 -0
- package/dist/dashboard/app/LogoShape.d.ts +8 -0
- package/dist/dashboard/app/LogoShape.js +60 -0
- package/dist/dashboard/app/SidebarTree.d.ts +37 -0
- package/dist/dashboard/app/SidebarTree.js +433 -0
- package/dist/dashboard/app/StatusBadge.d.ts +6 -0
- package/dist/dashboard/app/StatusBadge.js +26 -0
- package/dist/dashboard/app/ViewToggle.d.ts +7 -0
- package/dist/dashboard/app/ViewToggle.js +27 -0
- package/dist/dashboard/app/WorkspaceMenu.d.ts +24 -0
- package/dist/dashboard/app/WorkspaceMenu.js +264 -0
- package/dist/dashboard/app/WorkspaceMenu.stories.d.ts +5 -0
- package/dist/dashboard/app/WorkspaceRoots.d.ts +6 -0
- package/dist/dashboard/app/WorkspaceRoots.js +285 -0
- package/dist/dashboard/app/editor/FileEditor.d.ts +6 -0
- package/dist/dashboard/app/editor/FileEditor.js +200 -0
- package/dist/dashboard/app/editor/FilePreview.d.ts +13 -0
- package/dist/dashboard/app/editor/FilePreview.js +196 -0
- package/dist/dashboard/app/editor/MediaAltField.view.d.ts +5 -0
- package/dist/dashboard/app/editor/MediaAltField.view.js +98 -0
- package/dist/dashboard/app/modals/CreateEntry.d.ts +1 -0
- package/dist/dashboard/app/modals/CreateEntry.js +283 -0
- package/dist/dashboard/app/pages/EntryPage.d.ts +11 -0
- package/dist/dashboard/app/pages/EntryPage.js +356 -0
- package/dist/dashboard/app/pages/RootPage.d.ts +9 -0
- package/dist/dashboard/app/pages/RootPage.js +90 -0
- package/dist/dashboard/app/pages/UsersPage.d.ts +7 -0
- package/dist/dashboard/app/pages/UsersPage.js +552 -0
- package/dist/dashboard/app/ui/DashboardModal.d.ts +34 -0
- package/dist/dashboard/app/ui/DashboardModal.js +192 -0
- package/dist/dashboard/app/ui/Rail.d.ts +18 -0
- package/dist/dashboard/app/ui/Rail.js +41 -0
- package/dist/dashboard/app/ui/Sidebar.d.ts +15 -0
- package/dist/dashboard/app/ui/Sidebar.js +55 -0
- package/dist/dashboard/atoms/ReactiveNode.d.ts +41 -0
- package/dist/dashboard/atoms/ReactiveNode.js +248 -0
- package/dist/dashboard/atoms/activity.d.ts +48 -0
- package/dist/dashboard/atoms/activity.js +189 -0
- package/dist/dashboard/atoms/auth.d.ts +38 -0
- package/dist/dashboard/atoms/auth.js +106 -0
- package/dist/dashboard/atoms/config.d.ts +27 -0
- package/dist/dashboard/atoms/config.js +49 -0
- package/dist/dashboard/atoms/core.d.ts +15 -0
- package/dist/dashboard/atoms/core.js +37 -0
- package/dist/dashboard/atoms/create.d.ts +13 -0
- package/dist/dashboard/atoms/create.js +79 -0
- package/dist/dashboard/atoms/dashboard.d.ts +12 -0
- package/dist/dashboard/atoms/dashboard.js +71 -0
- package/dist/dashboard/atoms/editor.d.ts +80 -0
- package/dist/dashboard/atoms/editor.js +132 -0
- package/dist/dashboard/atoms/entry.d.ts +267 -0
- package/dist/dashboard/atoms/entry.js +774 -0
- package/dist/dashboard/atoms/explorer.d.ts +257 -0
- package/dist/dashboard/atoms/explorer.js +677 -0
- package/dist/dashboard/atoms/graph.d.ts +5 -0
- package/dist/dashboard/atoms/graph.js +62 -0
- package/dist/dashboard/atoms/link.d.ts +24 -0
- package/dist/dashboard/atoms/link.js +82 -0
- package/dist/dashboard/atoms/nav.d.ts +47 -0
- package/dist/dashboard/atoms/nav.js +220 -0
- package/dist/dashboard/atoms/preview.d.ts +4 -0
- package/dist/dashboard/atoms/preview.js +10 -0
- package/dist/dashboard/atoms/root.d.ts +91 -0
- package/dist/dashboard/atoms/root.js +383 -0
- package/dist/dashboard/atoms/upload.d.ts +9 -0
- package/dist/dashboard/atoms/upload.js +81 -0
- package/dist/dashboard/atoms/user.d.ts +9 -0
- package/dist/dashboard/atoms/user.js +75 -0
- package/dist/dashboard/atoms/utils.d.ts +17 -0
- package/dist/dashboard/atoms/utils.js +151 -0
- package/dist/dashboard/boot/ActivityEvent.d.ts +44 -0
- package/dist/dashboard/boot/ActivityEvent.js +14 -0
- package/dist/dashboard/boot/Boot.js +9 -5
- package/dist/dashboard/boot/BootDev.js +2 -1
- package/dist/dashboard/boot/BootProd.js +1 -1
- package/dist/dashboard/boot/DashboardWorker.d.ts +7 -7
- package/dist/dashboard/boot/DashboardWorker.js +370 -30
- package/dist/dashboard/boot/LoadWorker.js +6 -3
- package/dist/dashboard/boot/WorkerDB.d.ts +9 -2
- package/dist/dashboard/boot/WorkerDB.js +20 -3
- package/dist/dashboard/editor/UseField.d.ts +29 -10
- package/dist/dashboard/editor/UseField.js +27 -59
- package/dist/dashboard/fixture/cms.d.ts +116 -0
- package/dist/dashboard/fixture/cms.js +230 -0
- package/dist/dashboard/hook/UseEntryEditor.d.ts +25 -6
- package/dist/dashboard/hook/UseEntryEditor.js +34 -12
- package/dist/dashboard/hook/UseGraph.d.ts +3 -0
- package/dist/dashboard/hook/UseGraph.js +5 -5
- package/dist/dashboard/hook/UseLocale.d.ts +4 -1
- package/dist/dashboard/hook/UseLocale.js +5 -7
- package/dist/dashboard/hook/UseRoot.d.ts +7 -12
- package/dist/dashboard/hook/UseRoot.js +8 -5
- package/dist/dashboard/hook/UseWorkspace.d.ts +7 -9
- package/dist/dashboard/hook/UseWorkspace.js +5 -7
- package/dist/dashboard/hooks.d.ts +157 -0
- package/dist/dashboard/hooks.js +229 -0
- package/dist/dashboard/icons.d.ts +171 -0
- package/dist/dashboard/icons.js +2686 -0
- package/dist/dashboard/plugins/alineaFixturePlugin.d.ts +2 -0
- package/dist/dashboard/plugins/alineaFixturePlugin.js +200 -0
- package/dist/dashboard.d.ts +1 -2
- package/dist/dashboard.js +6 -2
- package/dist/edit.d.ts +1 -1
- package/dist/edit.js +2 -4
- package/dist/field/check/CheckField.js +3 -3
- package/dist/field/check/CheckField.view.d.ts +3 -3
- package/dist/field/check/CheckField.view.js +37 -84
- package/dist/field/code/CodeField.js +2 -2
- package/dist/field/code/CodeField.view.d.ts +21 -3
- package/dist/field/code/CodeField.view.js +177 -39
- package/dist/field/code/SimpleCodeEditor.d.ts +50 -0
- package/dist/field/code/SimpleCodeEditor.js +452 -0
- package/dist/field/date/DateField.js +3 -3
- package/dist/field/date/DateField.view.d.ts +3 -3
- package/dist/field/date/DateField.view.js +26 -26
- package/dist/field/hidden/HiddenField.js +2 -2
- package/dist/field/hidden/HiddenField.view.js +1 -1
- package/dist/field/json/JsonField.js +2 -2
- package/dist/field/json/JsonField.view.d.ts +4 -4
- package/dist/field/json/JsonField.view.js +53 -76
- package/dist/field/link/EntryLink.d.ts +9 -8
- package/dist/field/link/EntryLink.js +4 -2
- package/dist/field/link/FileLink.d.ts +7 -7
- package/dist/field/link/FileLink.js +12 -6
- package/dist/field/link/ImageLink.d.ts +5 -3
- package/dist/field/link/ImageLink.js +5 -2
- package/dist/field/link/Link.d.ts +1 -1
- package/dist/field/link/Link.js +1 -1
- package/dist/field/link/LinkEditor.d.ts +1 -1
- package/dist/field/link/LinkEditor.js +1 -1
- package/dist/field/link/LinkField.d.ts +5 -3
- package/dist/field/link/LinkField.js +56 -17
- package/dist/field/link/LinkField.stories.d.ts +11 -1
- package/dist/field/link/LinkField.view.d.ts +8 -10
- package/dist/field/link/LinkField.view.js +1461 -363
- package/dist/field/link/UrlLink.d.ts +2 -2
- package/dist/field/link/UrlLink.js +4 -2
- package/dist/field/list/ListField.d.ts +3 -3
- package/dist/field/list/ListField.js +5 -6
- package/dist/field/list/ListField.stories.d.ts +2 -1
- package/dist/field/list/ListField.view.d.ts +15 -7
- package/dist/field/list/ListField.view.js +888 -377
- package/dist/field/localiser/LocalisedField.view.d.ts +5 -0
- package/dist/field/localiser/LocalisedField.view.js +63 -0
- package/dist/field/localiser/LocalisedFieldTabs.d.ts +8 -0
- package/dist/field/localiser/LocalisedFieldTabs.js +38 -0
- package/dist/field/localiser/Localiser.d.ts +25 -0
- package/dist/field/localiser/Localiser.js +140 -0
- package/dist/field/localiser.d.ts +1 -0
- package/dist/field/localiser.js +2 -0
- package/dist/field/metadata/MetadataAliases.d.ts +20 -0
- package/dist/field/metadata/MetadataAliases.js +22 -0
- package/dist/field/metadata/MetadataField.d.ts +31 -8
- package/dist/field/metadata/MetadataField.js +127 -11
- package/dist/field/metadata/MetadataField.view.d.ts +11 -3
- package/dist/field/metadata/MetadataField.view.js +130 -96
- package/dist/field/number/NumberField.js +3 -3
- package/dist/field/number/NumberField.view.d.ts +3 -3
- package/dist/field/number/NumberField.view.js +22 -54
- package/dist/field/object/ObjectField.d.ts +1 -1
- package/dist/field/object/ObjectField.js +11 -4
- package/dist/field/object/ObjectField.view.d.ts +4 -4
- package/dist/field/object/ObjectField.view.js +28 -19
- package/dist/field/path/PathField.js +3 -3
- package/dist/field/path/PathField.view.d.ts +3 -3
- package/dist/field/path/PathField.view.js +33 -133
- package/dist/field/path/SlugField.d.ts +16 -0
- package/dist/field/path/SlugField.js +52 -0
- package/dist/field/richtext/Extensions.d.ts +1 -28
- package/dist/field/richtext/Extensions.js +2 -4146
- package/dist/field/richtext/PickTextAnchor.d.ts +19 -0
- package/dist/field/richtext/PickTextAnchor.js +99 -0
- package/dist/field/richtext/PickTextLink.d.ts +18 -17
- package/dist/field/richtext/PickTextLink.js +133 -88
- package/dist/field/richtext/ReferenceLink.d.ts +2 -0
- package/dist/field/richtext/ReferenceLink.js +13 -4
- package/dist/field/richtext/RichTextBlock.d.ts +11 -0
- package/dist/field/richtext/RichTextBlock.js +143 -0
- package/dist/field/richtext/RichTextBlockHost.d.ts +13 -0
- package/dist/field/richtext/RichTextBlockHost.js +56 -0
- package/dist/field/richtext/RichTextBlockValue.d.ts +5 -0
- package/dist/field/richtext/RichTextBlockValue.js +34 -0
- package/dist/field/richtext/RichTextBlocks.d.ts +16 -0
- package/dist/field/richtext/RichTextBlocks.js +40 -0
- package/dist/field/richtext/RichTextDocument.d.ts +4 -0
- package/dist/field/richtext/RichTextDocument.js +162 -0
- package/dist/field/richtext/RichTextExtensions.d.ts +67 -0
- package/dist/field/richtext/RichTextExtensions.js +8219 -0
- package/dist/field/richtext/RichTextField.d.ts +10 -3
- package/dist/field/richtext/RichTextField.js +13 -3
- package/dist/field/richtext/RichTextField.story.d.ts +8 -0
- package/dist/field/richtext/RichTextField.view.d.ts +11 -5
- package/dist/field/richtext/RichTextField.view.js +385 -2447
- package/dist/field/richtext/RichTextInsertMenu.d.ts +9 -0
- package/dist/field/richtext/RichTextInsertMenu.js +1014 -0
- package/dist/field/richtext/RichTextState.d.ts +6 -0
- package/dist/field/richtext/RichTextState.js +58 -0
- package/dist/field/richtext/RichTextToolbar.d.ts +9 -36
- package/dist/field/richtext/RichTextToolbar.js +206 -178
- package/dist/field/richtext/Toolbar.d.ts +111 -65
- package/dist/field/richtext/Toolbar.js +60 -45
- package/dist/field/richtext/extensions/Anchor.d.ts +19 -0
- package/dist/field/richtext/extensions/Anchor.js +94 -0
- package/dist/field/richtext/extensions/Link.d.ts +3 -13
- package/dist/field/richtext/extensions/Link.js +15 -37
- package/dist/field/richtext/extensions/Small.d.ts +1 -10
- package/dist/field/richtext/extensions/Small.js +7 -19
- package/dist/field/select/SelectField.d.ts +15 -4
- package/dist/field/select/SelectField.js +17 -2
- package/dist/field/select/SelectField.view.d.ts +7 -3
- package/dist/field/select/SelectField.view.js +112 -155
- package/dist/field/tabs/Tabs.js +3 -2
- package/dist/field/tabs/Tabs.view.d.ts +1 -6
- package/dist/field/tabs/Tabs.view.js +22 -29
- package/dist/field/text/TextField.js +8 -3
- package/dist/field/text/TextField.view.d.ts +2 -2
- package/dist/field/text/TextField.view.js +40 -60
- package/dist/field/time/TimeField.js +3 -3
- package/dist/field/time/TimeField.view.d.ts +3 -3
- package/dist/field/time/TimeField.view.js +30 -30
- package/dist/field/view/View.js +1 -1
- package/dist/field/views.d.ts +2 -0
- package/dist/field/views.js +65 -0
- package/dist/field.d.ts +1 -0
- package/dist/field.js +3 -1
- package/dist/index.css +7039 -3624
- package/dist/index.js +1 -1
- package/dist/inter-latin-500-normal-JSHNAZJU.woff2 +0 -0
- package/dist/inter-latin-ext-500-normal-5ARINTHO.woff2 +0 -0
- package/dist/next.cjs +19 -9
- package/dist/next.edge.js +1 -1
- package/dist/next.js +1 -1
- package/dist/picker/entry/EntryPicker.d.ts +9 -4
- package/dist/picker/entry/EntryPicker.js +71 -19
- package/dist/picker/entry/EntryReference.d.ts +4 -0
- package/dist/picker/entry/EntryReference.js +3 -1
- package/dist/picker/url/UrlPicker.js +2 -12
- package/dist/preview/ChunkCookieValue.js +1 -1
- package/dist/preview/PreviewCookies.js +1 -1
- package/dist/preview/PreviewMessage.js +1 -1
- package/dist/preview/PreviewPayload.js +35 -23
- package/dist/preview/RegisterPreview.js +1 -1
- package/dist/preview/react.js +10 -3
- package/dist/preview/widget.js +1 -1
- package/dist/query.d.ts +116 -92
- package/dist/query.js +7 -1
- package/dist/types.d.ts +1 -0
- package/dist/ui/Link.d.ts +6 -5
- package/dist/ui/Link.js +37 -13
- package/dist/ui/RichText.d.ts +37 -11
- package/dist/ui/RichText.js +81 -44
- package/dist/ui/Stack.d.ts +11 -22
- package/dist/ui/Stack.js +54 -67
- package/dist/ui/icons/IcAlignCenter.d.ts +4 -2
- package/dist/ui/icons/IcAlignCenter.js +6 -12
- package/dist/ui/icons/IcOutlineGridView.d.ts +3 -2
- package/dist/ui/icons/IcOutlineGridView.js +3 -11
- package/dist/ui/icons/IcOutlineSettings.d.ts +3 -2
- package/dist/ui/icons/IcOutlineSettings.js +3 -11
- package/dist/ui/icons/IcRoundAccountTree.d.ts +4 -2
- package/dist/ui/icons/IcRoundAccountTree.js +6 -22
- package/dist/ui/icons/IcRoundClose.d.ts +4 -2
- package/dist/ui/icons/IcRoundClose.js +6 -12
- package/dist/ui/icons/IcRoundCode.d.ts +4 -2
- package/dist/ui/icons/IcRoundCode.js +6 -12
- package/dist/ui/icons/IcRoundDateRange.d.ts +3 -2
- package/dist/ui/icons/IcRoundDateRange.js +3 -11
- package/dist/ui/icons/IcRoundDelete.d.ts +4 -2
- package/dist/ui/icons/IcRoundDelete.js +6 -12
- package/dist/ui/icons/IcRoundEdit.d.ts +4 -2
- package/dist/ui/icons/IcRoundEdit.js +6 -12
- package/dist/ui/icons/IcRoundFormatListNumbered.d.ts +3 -2
- package/dist/ui/icons/IcRoundFormatListNumbered.js +3 -11
- package/dist/ui/icons/IcRoundLink.d.ts +4 -2
- package/dist/ui/icons/IcRoundLink.js +6 -12
- package/dist/ui/icons/IcRoundOpenInNew.d.ts +4 -2
- package/dist/ui/icons/IcRoundOpenInNew.js +6 -12
- package/dist/ui/icons/IcRoundPanorama.d.ts +4 -2
- package/dist/ui/icons/IcRoundPanorama.js +6 -6
- package/dist/ui/icons/IcRoundRefresh.d.ts +3 -2
- package/dist/ui/icons/IcRoundRefresh.js +3 -11
- package/dist/ui/icons/IcRoundSave.d.ts +4 -2
- package/dist/ui/icons/IcRoundSave.js +6 -22
- package/dist/ui/icons/IcRoundSearch.d.ts +4 -2
- package/dist/ui/icons/IcRoundSearch.js +6 -12
- package/dist/ui/icons/IcRoundShare.d.ts +4 -2
- package/dist/ui/icons/IcRoundShare.js +6 -12
- package/dist/ui/icons/IcRoundSync.d.ts +4 -2
- package/dist/ui/icons/IcRoundSync.js +6 -22
- package/dist/ui/icons/MaterialSymbolsDatabase.d.ts +4 -2
- package/dist/ui/icons/MaterialSymbolsDatabase.js +6 -22
- package/dist/ui/icons/TableInsert.d.ts +4 -2
- package/dist/ui/icons/TableInsert.js +6 -12
- package/dist/ui/util/ImageBlurUrl.js +1 -1
- package/dist/ui.d.ts +0 -8
- package/dist/ui.js +0 -8
- package/package.json +49 -64
- package/dist/backend/router/Proxy.d.ts +0 -1
- package/dist/backend/router/Proxy.js +0 -32
- package/dist/chunks/chunk-2NTSADJL.js +0 -20
- package/dist/chunks/chunk-2STBQ2Y4.js +0 -166
- package/dist/chunks/chunk-2X5P2RZV.js +0 -94
- package/dist/chunks/chunk-3DIW62EI.js +0 -2900
- package/dist/chunks/chunk-3TNMMA3W.js +0 -249
- package/dist/chunks/chunk-467JA2PB.js +0 -29
- package/dist/chunks/chunk-5LTN67OE.js +0 -51
- package/dist/chunks/chunk-76QF5YTJ.js +0 -107
- package/dist/chunks/chunk-A5O3N2GS.js +0 -63
- package/dist/chunks/chunk-AICQFCVN.js +0 -19
- package/dist/chunks/chunk-AJJSW27C.js +0 -728
- package/dist/chunks/chunk-C53YJRET.js +0 -112
- package/dist/chunks/chunk-CKT37OYJ.js +0 -9
- package/dist/chunks/chunk-F2HHHLEQ.js +0 -72
- package/dist/chunks/chunk-FKWEJTSK.js +0 -16282
- package/dist/chunks/chunk-G2AFWRAD.js +0 -12
- package/dist/chunks/chunk-HSIHEWFC.js +0 -101
- package/dist/chunks/chunk-I26ZIF6Q.js +0 -360
- package/dist/chunks/chunk-JL5K3F7X.js +0 -1116
- package/dist/chunks/chunk-NZLE2WMY.js +0 -35
- package/dist/chunks/chunk-ORDS5C6Z.js +0 -83
- package/dist/chunks/chunk-PNILF4WM.js +0 -251
- package/dist/chunks/chunk-QUIANN6B.js +0 -8001
- package/dist/chunks/chunk-RSX2DILK.js +0 -335
- package/dist/chunks/chunk-SKF4L7JN.js +0 -401
- package/dist/chunks/chunk-SOTBYUJY.js +0 -120
- package/dist/chunks/chunk-TOJF2G3X.js +0 -96
- package/dist/chunks/chunk-TPUTTEHF.js +0 -3002
- package/dist/chunks/chunk-VUACWPFC.js +0 -892
- package/dist/chunks/chunk-WD7H5L2L.js +0 -168
- package/dist/chunks/chunk-WDCPVJJC.js +0 -341
- package/dist/chunks/chunk-WJ67RR7S.js +0 -554
- package/dist/chunks/chunk-WKC37UOZ.js +0 -143
- package/dist/chunks/chunk-WLKPH7JA.js +0 -2786
- package/dist/chunks/chunk-YWCPLD22.js +0 -2343
- package/dist/chunks/crypto-HZTUU327.js +0 -11
- package/dist/cli/util/ExternalPlugin.d.ts +0 -2
- package/dist/cli/util/ExternalPlugin.js +0 -810
- package/dist/cloud/view/CloudAuth.browser.d.ts +0 -2
- package/dist/cloud/view/CloudAuth.browser.js +0 -111
- package/dist/cloud/view/CloudAuth.d.ts +0 -1
- package/dist/cloud/view/CloudAuth.js +0 -9
- package/dist/core/Doc.d.ts +0 -11
- package/dist/core/Doc.js +0 -44
- package/dist/core/Role.test.d.ts +0 -1
- package/dist/core/Shape.d.ts +0 -19
- package/dist/core/Trigger.test.d.ts +0 -1
- package/dist/core/Type.test.d.ts +0 -1
- package/dist/core/db/EntryIndex.test.d.ts +0 -1
- package/dist/core/db/EntryResolver.test.d.ts +0 -1
- package/dist/core/db/LocalDB.test.d.ts +0 -1
- package/dist/core/field/RichTextField.test.d.ts +0 -1
- package/dist/core/shape/ListShape.test.d.ts +0 -1
- package/dist/core/shape/RecordShape.d.ts +0 -26
- package/dist/core/shape/RecordShape.js +0 -102
- package/dist/core/shape/RecordShape.test.d.ts +0 -1
- package/dist/core/shape/RichTextShape.d.ts +0 -75
- package/dist/core/shape/RichTextShape.js +0 -435
- package/dist/core/shape/RichTextShape.test.d.ts +0 -1
- package/dist/core/shape/ScalarShape.d.ts +0 -20
- package/dist/core/shape/ScalarShape.js +0 -53
- package/dist/core/shape/ScalarShape.test.d.ts +0 -1
- package/dist/core/shape/UnionShape.d.ts +0 -34
- package/dist/core/shape/UnionShape.js +0 -141
- package/dist/core/shape/UnionShape.test.d.ts +0 -1
- package/dist/core/source/CombinedSource.test.d.ts +0 -1
- package/dist/core/source/FSSource.test.d.ts +0 -1
- package/dist/core/source/FilePatch.test.d.ts +0 -1
- package/dist/core/source/GitDelta.test.d.ts +0 -1
- package/dist/core/source/GitUtils.test.d.ts +0 -1
- package/dist/core/source/GithubSource.test.d.ts +0 -1
- package/dist/core/source/IndexedDBSource.test.d.ts +0 -1
- package/dist/core/source/MemorySource.test.d.ts +0 -1
- package/dist/core/source/SourceExport.test.d.ts +0 -1
- package/dist/core/source/Tree.test.d.ts +0 -1
- package/dist/core/source/Utils.test.d.ts +0 -1
- package/dist/core/util/CodeGen.test.d.ts +0 -1
- package/dist/core/util/EntryFilenames.test.d.ts +0 -1
- package/dist/core/util/JWT.test.d.ts +0 -1
- package/dist/core/util/Paths.test.d.ts +0 -1
- package/dist/core/util/Slugs.test.d.ts +0 -1
- package/dist/dashboard/DashboardNav.d.ts +0 -22
- package/dist/dashboard/DashboardNav.js +0 -44
- package/dist/dashboard/DashboardProvider.d.ts +0 -16
- package/dist/dashboard/DashboardProvider.js +0 -28
- package/dist/dashboard/Routes.d.ts +0 -111
- package/dist/dashboard/Routes.js +0 -78
- package/dist/dashboard/Welcome.d.ts +0 -1
- package/dist/dashboard/Welcome.js +0 -21
- package/dist/dashboard/atoms/DashboardAtoms.d.ts +0 -18
- package/dist/dashboard/atoms/DashboardAtoms.js +0 -86
- package/dist/dashboard/atoms/DbAtoms.d.ts +0 -5
- package/dist/dashboard/atoms/DbAtoms.js +0 -95
- package/dist/dashboard/atoms/Edits.d.ts +0 -31
- package/dist/dashboard/atoms/Edits.js +0 -93
- package/dist/dashboard/atoms/EntryAtoms.d.ts +0 -34
- package/dist/dashboard/atoms/EntryAtoms.js +0 -298
- package/dist/dashboard/atoms/EntryEditorAtoms.d.ts +0 -255
- package/dist/dashboard/atoms/EntryEditorAtoms.js +0 -629
- package/dist/dashboard/atoms/EntrySummaryAtoms.d.ts +0 -21
- package/dist/dashboard/atoms/EntrySummaryAtoms.js +0 -58
- package/dist/dashboard/atoms/ErrorAtoms.d.ts +0 -4
- package/dist/dashboard/atoms/ErrorAtoms.js +0 -18
- package/dist/dashboard/atoms/FormAtoms.d.ts +0 -56
- package/dist/dashboard/atoms/FormAtoms.js +0 -189
- package/dist/dashboard/atoms/LocationAtoms.d.ts +0 -25
- package/dist/dashboard/atoms/LocationAtoms.js +0 -104
- package/dist/dashboard/atoms/NavigationAtoms.d.ts +0 -38
- package/dist/dashboard/atoms/NavigationAtoms.js +0 -124
- package/dist/dashboard/atoms/PolicyAtom.d.ts +0 -6
- package/dist/dashboard/atoms/PolicyAtom.js +0 -29
- package/dist/dashboard/atoms/PreferencesAtoms.d.ts +0 -16
- package/dist/dashboard/atoms/PreferencesAtoms.js +0 -53
- package/dist/dashboard/atoms/RouterAtoms.d.ts +0 -78
- package/dist/dashboard/atoms/RouterAtoms.js +0 -161
- package/dist/dashboard/atoms/StyleAtoms.d.ts +0 -1
- package/dist/dashboard/atoms/StyleAtoms.js +0 -14
- package/dist/dashboard/atoms/YAtom.d.ts +0 -2
- package/dist/dashboard/atoms/YAtom.js +0 -24
- package/dist/dashboard/editor/DefaultViews.d.ts +0 -19
- package/dist/dashboard/editor/DefaultViews.js +0 -52
- package/dist/dashboard/editor/InputForm.d.ts +0 -26
- package/dist/dashboard/editor/InputForm.js +0 -53
- package/dist/dashboard/editor/ViewKeys.d.ts +0 -23
- package/dist/dashboard/editor/ViewKeys.js +0 -29
- package/dist/dashboard/hook/UseConfig.d.ts +0 -1
- package/dist/dashboard/hook/UseConfig.js +0 -12
- package/dist/dashboard/hook/UseDashboard.d.ts +0 -1
- package/dist/dashboard/hook/UseDashboard.js +0 -12
- package/dist/dashboard/hook/UseDb.d.ts +0 -2
- package/dist/dashboard/hook/UseDb.js +0 -14
- package/dist/dashboard/hook/UseDebounce.d.ts +0 -1
- package/dist/dashboard/hook/UseDebounce.js +0 -23
- package/dist/dashboard/hook/UseEntryLocation.d.ts +0 -1
- package/dist/dashboard/hook/UseEntryLocation.js +0 -12
- package/dist/dashboard/hook/UseEntrySummary.d.ts +0 -1
- package/dist/dashboard/hook/UseEntrySummary.js +0 -16
- package/dist/dashboard/hook/UseExplorer.d.ts +0 -14
- package/dist/dashboard/hook/UseExplorer.js +0 -13
- package/dist/dashboard/hook/UseFocusList.d.ts +0 -14
- package/dist/dashboard/hook/UseFocusList.js +0 -113
- package/dist/dashboard/hook/UseNav.d.ts +0 -10
- package/dist/dashboard/hook/UseNav.js +0 -12
- package/dist/dashboard/hook/UsePolicy.d.ts +0 -1
- package/dist/dashboard/hook/UsePolicy.js +0 -14
- package/dist/dashboard/hook/UsePreferences.d.ts +0 -6
- package/dist/dashboard/hook/UsePreferences.js +0 -30
- package/dist/dashboard/hook/UseSession.d.ts +0 -1
- package/dist/dashboard/hook/UseSession.js +0 -12
- package/dist/dashboard/hook/UseUploads.d.ts +0 -42
- package/dist/dashboard/hook/UseUploads.js +0 -91
- package/dist/dashboard/pages/ContentView.d.ts +0 -5
- package/dist/dashboard/pages/ContentView.js +0 -96
- package/dist/dashboard/util/Atoms.d.ts +0 -2
- package/dist/dashboard/util/Atoms.js +0 -21
- package/dist/dashboard/util/DebounceAtom.d.ts +0 -2
- package/dist/dashboard/util/DebounceAtom.js +0 -26
- package/dist/dashboard/util/HashRouter.d.ts +0 -1
- package/dist/dashboard/util/HashRouter.js +0 -2
- package/dist/dashboard/util/Head.d.ts +0 -2
- package/dist/dashboard/util/Head.js +0 -10
- package/dist/dashboard/util/KeepInView.d.ts +0 -2
- package/dist/dashboard/util/KeepInView.js +0 -19
- package/dist/dashboard/util/KeepPreviousData.d.ts +0 -9
- package/dist/dashboard/util/KeepPreviousData.js +0 -32
- package/dist/dashboard/util/Loader.d.ts +0 -17
- package/dist/dashboard/util/Loader.js +0 -31
- package/dist/dashboard/util/SuspenseBoundary.d.ts +0 -4
- package/dist/dashboard/util/SuspenseBoundary.js +0 -23
- package/dist/dashboard/util/WithResolvers.d.ts +0 -2
- package/dist/dashboard/util/WithResolvers.js +0 -16
- package/dist/dashboard/view/AlineaLogo.d.ts +0 -2
- package/dist/dashboard/view/AlineaLogo.js +0 -16
- package/dist/dashboard/view/Breadcrumbs.d.ts +0 -3
- package/dist/dashboard/view/Breadcrumbs.js +0 -33
- package/dist/dashboard/view/Create.d.ts +0 -13
- package/dist/dashboard/view/Create.js +0 -75
- package/dist/dashboard/view/EntryEdit.d.ts +0 -5
- package/dist/dashboard/view/EntryEdit.js +0 -222
- package/dist/dashboard/view/EntryTree.d.ts +0 -5
- package/dist/dashboard/view/EntryTree.js +0 -1463
- package/dist/dashboard/view/ErrorBoundary.d.ts +0 -6
- package/dist/dashboard/view/ErrorBoundary.js +0 -95
- package/dist/dashboard/view/IconButton.d.ts +0 -18
- package/dist/dashboard/view/IconButton.js +0 -51
- package/dist/dashboard/view/InputLabel.d.ts +0 -36
- package/dist/dashboard/view/InputLabel.js +0 -151
- package/dist/dashboard/view/MediaExplorer.d.ts +0 -7
- package/dist/dashboard/view/MediaExplorer.js +0 -121
- package/dist/dashboard/view/Modal.d.ts +0 -8
- package/dist/dashboard/view/Modal.js +0 -63
- package/dist/dashboard/view/PageHeader.d.ts +0 -5
- package/dist/dashboard/view/PageHeader.js +0 -26
- package/dist/dashboard/view/Preview.d.ts +0 -3
- package/dist/dashboard/view/Preview.js +0 -20
- package/dist/dashboard/view/RootOverview.d.ts +0 -5
- package/dist/dashboard/view/RootOverview.js +0 -46
- package/dist/dashboard/view/SearchBox.d.ts +0 -1
- package/dist/dashboard/view/SearchBox.js +0 -126
- package/dist/dashboard/view/Sidebar.d.ts +0 -21
- package/dist/dashboard/view/Sidebar.js +0 -312
- package/dist/dashboard/view/Toolbar.d.ts +0 -9
- package/dist/dashboard/view/Toolbar.js +0 -240
- package/dist/dashboard/view/Viewport.d.ts +0 -8
- package/dist/dashboard/view/Viewport.js +0 -69
- package/dist/dashboard/view/WorkspaceLabel.d.ts +0 -7
- package/dist/dashboard/view/WorkspaceLabel.js +0 -32
- package/dist/dashboard/view/diff/ChangeBox.d.ts +0 -14
- package/dist/dashboard/view/diff/ChangeBox.js +0 -36
- package/dist/dashboard/view/diff/DiffUtils.d.ts +0 -16
- package/dist/dashboard/view/diff/DiffUtils.js +0 -82
- package/dist/dashboard/view/diff/DiffUtils.test.d.ts +0 -1
- package/dist/dashboard/view/diff/EntryDiff.d.ts +0 -6
- package/dist/dashboard/view/diff/EntryDiff.js +0 -45
- package/dist/dashboard/view/diff/FieldDiff.d.ts +0 -10
- package/dist/dashboard/view/diff/FieldDiff.js +0 -51
- package/dist/dashboard/view/diff/FieldsDiff.d.ts +0 -7
- package/dist/dashboard/view/diff/FieldsDiff.js +0 -24
- package/dist/dashboard/view/diff/ListDiff.d.ts +0 -10
- package/dist/dashboard/view/diff/ListDiff.js +0 -32
- package/dist/dashboard/view/diff/RichTextDiff.d.ts +0 -11
- package/dist/dashboard/view/diff/RichTextDiff.js +0 -94
- package/dist/dashboard/view/diff/ScalarDiff.d.ts +0 -5
- package/dist/dashboard/view/diff/ScalarDiff.js +0 -1520
- package/dist/dashboard/view/entry/EditModeToggle.d.ts +0 -9
- package/dist/dashboard/view/entry/EditModeToggle.js +0 -51
- package/dist/dashboard/view/entry/EntryHeader.d.ts +0 -5
- package/dist/dashboard/view/entry/EntryHeader.js +0 -414
- package/dist/dashboard/view/entry/EntryHistory.d.ts +0 -2
- package/dist/dashboard/view/entry/EntryHistory.js +0 -78
- package/dist/dashboard/view/entry/EntryNotice.d.ts +0 -7
- package/dist/dashboard/view/entry/EntryNotice.js +0 -44
- package/dist/dashboard/view/entry/EntryPreview.d.ts +0 -10
- package/dist/dashboard/view/entry/EntryPreview.js +0 -44
- package/dist/dashboard/view/entry/EntrySummary.d.ts +0 -3
- package/dist/dashboard/view/entry/EntrySummary.js +0 -75
- package/dist/dashboard/view/entry/EntryTitle.d.ts +0 -7
- package/dist/dashboard/view/entry/EntryTitle.js +0 -64
- package/dist/dashboard/view/entry/FieldToolbar.d.ts +0 -11
- package/dist/dashboard/view/entry/FieldToolbar.js +0 -41
- package/dist/dashboard/view/entry/LangSwitch.d.ts +0 -7
- package/dist/dashboard/view/entry/LangSwitch.js +0 -110
- package/dist/dashboard/view/entry/NewEntry.d.ts +0 -4
- package/dist/dashboard/view/entry/NewEntry.js +0 -288
- package/dist/dashboard/view/entry/RootHeader.d.ts +0 -4
- package/dist/dashboard/view/entry/RootHeader.js +0 -61
- package/dist/dashboard/view/explorer/Explorer.d.ts +0 -24
- package/dist/dashboard/view/explorer/Explorer.js +0 -2230
- package/dist/dashboard/view/explorer/ExplorerItem.d.ts +0 -11
- package/dist/dashboard/view/explorer/ExplorerItem.js +0 -128
- package/dist/dashboard/view/explorer/ExplorerRow.d.ts +0 -15
- package/dist/dashboard/view/explorer/ExplorerRow.js +0 -73
- package/dist/dashboard/view/media/CardOverview.d.ts +0 -1
- package/dist/dashboard/view/media/CardOverview.js +0 -10
- package/dist/dashboard/view/media/FileEntry.d.ts +0 -6
- package/dist/dashboard/view/media/FileEntry.js +0 -223
- package/dist/dashboard/view/media/FileSummary.d.ts +0 -3
- package/dist/dashboard/view/media/FileSummary.js +0 -102
- package/dist/dashboard/view/media/FileUploadRow.d.ts +0 -2
- package/dist/dashboard/view/media/FileUploadRow.js +0 -53
- package/dist/dashboard/view/media/FileUploader.d.ts +0 -10
- package/dist/dashboard/view/media/FileUploader.js +0 -151
- package/dist/dashboard/view/media/MediaThumbnail.d.ts +0 -11
- package/dist/dashboard/view/media/MediaThumbnail.js +0 -55
- package/dist/dashboard/view/preview/BrowserPreview.d.ts +0 -12
- package/dist/dashboard/view/preview/BrowserPreview.js +0 -210
- package/dist/dashboard/view/sidebar/SidebarSettings.d.ts +0 -1
- package/dist/dashboard/view/sidebar/SidebarSettings.js +0 -192
- package/dist/field/check/CheckField.stories.d.ts +0 -5
- package/dist/field/code/CodeField.stories.d.ts +0 -5
- package/dist/field/date/DateField.stories.d.ts +0 -5
- package/dist/field/json/JsonField.stories.d.ts +0 -5
- package/dist/field/metadata/MetadataField.stories.d.ts +0 -5
- package/dist/field/number/NumberField.stories.d.ts +0 -5
- package/dist/field/object/ObjectField.stories.d.ts +0 -5
- package/dist/field/path/PathField.stories.d.ts +0 -5
- package/dist/field/richtext/RichText.stories.d.ts +0 -5
- package/dist/field/select/SelectField.stories.d.ts +0 -5
- package/dist/field/tabs/Tabs.stories.d.ts +0 -5
- package/dist/field/text/TextField.stories.d.ts +0 -5
- package/dist/field/time/TimeField.stories.d.ts +0 -5
- package/dist/picker/entry/EntryPicker.browser.d.ts +0 -7
- package/dist/picker/entry/EntryPicker.browser.js +0 -373
- package/dist/picker/entry/EntryPicker.stories.d.ts +0 -2
- package/dist/picker/entry/EntryPickerRow.d.ts +0 -5
- package/dist/picker/entry/EntryPickerRow.js +0 -24
- package/dist/picker/url/UrlPicker.browser.d.ts +0 -6
- package/dist/picker/url/UrlPicker.browser.js +0 -83
- package/dist/picker/url/UrlPicker.stories.d.ts +0 -5
- package/dist/picker/url/UrlPickerRow.d.ts +0 -5
- package/dist/picker/url/UrlPickerRow.js +0 -38
- package/dist/preview/ChunkCookieValue.test.d.ts +0 -1
- package/dist/preview/PreviewPayload.test.d.ts +0 -1
- package/dist/test/EntryFixture.d.ts +0 -30
- package/dist/test/EntryFixture.js +0 -91
- package/dist/test/broken-index.test.d.ts +0 -1
- package/dist/test/cms.d.ts +0 -17
- package/dist/test/cms.js +0 -38
- package/dist/test/drafts.test.d.ts +0 -1
- package/dist/test/example.d.ts +0 -137
- package/dist/test/example.js +0 -230
- package/dist/test/insert-order.test.d.ts +0 -1
- package/dist/test/links.test.d.ts +0 -1
- package/dist/test/locales.test.d.ts +0 -1
- package/dist/test/moves.test.d.ts +0 -1
- package/dist/test/mutate.test.d.ts +0 -1
- package/dist/test/query.test.d.ts +0 -1
- package/dist/test/renames.test.d.ts +0 -1
- package/dist/test/roles.test.d.ts +0 -1
- package/dist/test/schema/DemoHome.d.ts +0 -25
- package/dist/test/schema/DemoHome.js +0 -25
- package/dist/test/schema/DemoRecipe.d.ts +0 -14
- package/dist/test/schema/DemoRecipe.js +0 -22
- package/dist/test/schema/DemoRecipes.d.ts +0 -4
- package/dist/test/schema/DemoRecipes.js +0 -14
- package/dist/test/schema/index.d.ts +0 -3
- package/dist/test/schema/index.js +0 -4
- package/dist/test/seeding.test.d.ts +0 -1
- package/dist/test/shared.test.d.ts +0 -1
- package/dist/test/status.test.d.ts +0 -1
- package/dist/test/uploads.test.d.ts +0 -1
- package/dist/ui/AppBar.d.ts +0 -14
- package/dist/ui/AppBar.js +0 -68
- package/dist/ui/Avatar.d.ts +0 -6
- package/dist/ui/Avatar.js +0 -33
- package/dist/ui/Badge.d.ts +0 -9
- package/dist/ui/Badge.js +0 -44
- package/dist/ui/Button.d.ts +0 -9
- package/dist/ui/Button.js +0 -57
- package/dist/ui/Button.stories.d.ts +0 -6
- package/dist/ui/Chip.d.ts +0 -8
- package/dist/ui/Chip.js +0 -46
- package/dist/ui/DropdownMenu.d.ts +0 -12
- package/dist/ui/DropdownMenu.js +0 -415
- package/dist/ui/Ellipsis.d.ts +0 -2
- package/dist/ui/Ellipsis.js +0 -33
- package/dist/ui/ErrorMessage.d.ts +0 -4
- package/dist/ui/ErrorMessage.js +0 -17
- package/dist/ui/Icon.d.ts +0 -9
- package/dist/ui/Icon.js +0 -41
- package/dist/ui/Lift.d.ts +0 -3
- package/dist/ui/Lift.js +0 -22
- package/dist/ui/Loader.d.ts +0 -8
- package/dist/ui/Loader.js +0 -32
- package/dist/ui/Main.d.ts +0 -12
- package/dist/ui/Main.js +0 -56
- package/dist/ui/Pane.d.ts +0 -9
- package/dist/ui/Pane.js +0 -132
- package/dist/ui/PopoverMenu.d.ts +0 -12
- package/dist/ui/PopoverMenu.js +0 -418
- package/dist/ui/Property.d.ts +0 -1
- package/dist/ui/Property.js +0 -7
- package/dist/ui/Sink.d.ts +0 -9
- package/dist/ui/Sink.js +0 -49
- package/dist/ui/Statusbar.d.ts +0 -15
- package/dist/ui/Statusbar.js +0 -54
- package/dist/ui/Tabs.d.ts +0 -11
- package/dist/ui/Tabs.js +0 -293
- package/dist/ui/TextLabel.d.ts +0 -5
- package/dist/ui/TextLabel.js +0 -10
- package/dist/ui/Typo.d.ts +0 -35
- package/dist/ui/Typo.js +0 -28
- package/dist/ui/UIStory.d.ts +0 -8
- package/dist/ui/branding/FavIcon.d.ts +0 -5
- package/dist/ui/branding/FavIcon.js +0 -56
- package/dist/ui/branding/LogoShape.d.ts +0 -6
- package/dist/ui/branding/LogoShape.js +0 -52
- package/dist/ui/hook/UseAutoHide.d.ts +0 -8
- package/dist/ui/hook/UseAutoHide.js +0 -43
- package/dist/ui/hook/UseColorScheme.d.ts +0 -4
- package/dist/ui/hook/UseColorScheme.js +0 -13
- package/dist/ui/hook/UseContrastColor.d.ts +0 -1
- package/dist/ui/hook/UseContrastColor.js +0 -12
- package/dist/ui/hook/UseElementSize.d.ts +0 -6
- package/dist/ui/hook/UseElementSize.js +0 -52
- package/dist/ui/hook/UseForceUpdate.d.ts +0 -1
- package/dist/ui/hook/UseForceUpdate.js +0 -11
- package/dist/ui/hook/UseHash.d.ts +0 -1
- package/dist/ui/hook/UseHash.js +0 -24
- package/dist/ui/hook/UseInitialEffect.d.ts +0 -2
- package/dist/ui/hook/UseInitialEffect.js +0 -15
- package/dist/ui/hook/UseLocalStorage.d.ts +0 -1
- package/dist/ui/hook/UseLocalStorage.js +0 -36
- package/dist/ui/hook/UseNonInitialEffect.d.ts +0 -2
- package/dist/ui/hook/UseNonInitialEffect.js +0 -17
- package/dist/ui/hook/UseTrigger.d.ts +0 -7
- package/dist/ui/hook/UseTrigger.js +0 -29
- package/dist/ui/icons/IcAlignJustify.d.ts +0 -3
- package/dist/ui/icons/IcAlignJustify.js +0 -18
- package/dist/ui/icons/IcAlignLeft.d.ts +0 -2
- package/dist/ui/icons/IcAlignLeft.js +0 -16
- package/dist/ui/icons/IcAlignRight.d.ts +0 -2
- package/dist/ui/icons/IcAlignRight.js +0 -16
- package/dist/ui/icons/IcBaselineAccountCircle.d.ts +0 -2
- package/dist/ui/icons/IcBaselineAccountCircle.js +0 -26
- package/dist/ui/icons/IcBaselineContentCopy.d.ts +0 -2
- package/dist/ui/icons/IcBaselineContentCopy.js +0 -26
- package/dist/ui/icons/IcBaselineContentPasteGo.d.ts +0 -2
- package/dist/ui/icons/IcBaselineContentPasteGo.js +0 -35
- package/dist/ui/icons/IcBaselineDesktopMac.d.ts +0 -2
- package/dist/ui/icons/IcBaselineDesktopMac.js +0 -16
- package/dist/ui/icons/IcBaselineErrorOutline.d.ts +0 -2
- package/dist/ui/icons/IcBaselineErrorOutline.js +0 -26
- package/dist/ui/icons/IcBaselinePause.d.ts +0 -2
- package/dist/ui/icons/IcBaselinePause.js +0 -20
- package/dist/ui/icons/IcBaselinePhoneIphone.d.ts +0 -2
- package/dist/ui/icons/IcBaselinePhoneIphone.js +0 -16
- package/dist/ui/icons/IcBaselineWifiTethering.d.ts +0 -2
- package/dist/ui/icons/IcBaselineWifiTethering.js +0 -26
- package/dist/ui/icons/IcOutlineArchive.d.ts +0 -2
- package/dist/ui/icons/IcOutlineArchive.js +0 -26
- package/dist/ui/icons/IcOutlineArrowCircleRight.d.ts +0 -2
- package/dist/ui/icons/IcOutlineArrowCircleRight.js +0 -16
- package/dist/ui/icons/IcOutlineAvTimer.d.ts +0 -2
- package/dist/ui/icons/IcOutlineAvTimer.js +0 -26
- package/dist/ui/icons/IcOutlineCloudUpload.d.ts +0 -2
- package/dist/ui/icons/IcOutlineCloudUpload.js +0 -26
- package/dist/ui/icons/IcOutlineDarkMode.d.ts +0 -2
- package/dist/ui/icons/IcOutlineDarkMode.js +0 -16
- package/dist/ui/icons/IcOutlineDescription.d.ts +0 -2
- package/dist/ui/icons/IcOutlineDescription.js +0 -26
- package/dist/ui/icons/IcOutlineDrafts.d.ts +0 -2
- package/dist/ui/icons/IcOutlineDrafts.js +0 -26
- package/dist/ui/icons/IcOutlineFolder.d.ts +0 -2
- package/dist/ui/icons/IcOutlineFolder.js +0 -26
- package/dist/ui/icons/IcOutlineInsertDriveFile.d.ts +0 -2
- package/dist/ui/icons/IcOutlineInsertDriveFile.js +0 -26
- package/dist/ui/icons/IcOutlineKeyboardTab.d.ts +0 -2
- package/dist/ui/icons/IcOutlineKeyboardTab.js +0 -26
- package/dist/ui/icons/IcOutlineLightMode.d.ts +0 -2
- package/dist/ui/icons/IcOutlineLightMode.js +0 -16
- package/dist/ui/icons/IcOutlineList.d.ts +0 -3
- package/dist/ui/icons/IcOutlineList.js +0 -18
- package/dist/ui/icons/IcOutlineLock.d.ts +0 -2
- package/dist/ui/icons/IcOutlineLock.js +0 -26
- package/dist/ui/icons/IcOutlineMoreHoriz.d.ts +0 -3
- package/dist/ui/icons/IcOutlineMoreHoriz.js +0 -18
- package/dist/ui/icons/IcOutlinePreview.d.ts +0 -2
- package/dist/ui/icons/IcOutlinePreview.js +0 -16
- package/dist/ui/icons/IcOutlineRemoveRedEye.d.ts +0 -2
- package/dist/ui/icons/IcOutlineRemoveRedEye.js +0 -26
- package/dist/ui/icons/IcOutlineScreenshot.d.ts +0 -2
- package/dist/ui/icons/IcOutlineScreenshot.js +0 -16
- package/dist/ui/icons/IcOutlineTableRows.d.ts +0 -2
- package/dist/ui/icons/IcOutlineTableRows.js +0 -26
- package/dist/ui/icons/IcRoundAdd.d.ts +0 -2
- package/dist/ui/icons/IcRoundAdd.js +0 -16
- package/dist/ui/icons/IcRoundAddCircle.d.ts +0 -3
- package/dist/ui/icons/IcRoundAddCircle.js +0 -18
- package/dist/ui/icons/IcRoundAddCircleOutline.d.ts +0 -2
- package/dist/ui/icons/IcRoundAddCircleOutline.js +0 -16
- package/dist/ui/icons/IcRoundArchive.d.ts +0 -2
- package/dist/ui/icons/IcRoundArchive.js +0 -16
- package/dist/ui/icons/IcRoundArrowBack.d.ts +0 -2
- package/dist/ui/icons/IcRoundArrowBack.js +0 -16
- package/dist/ui/icons/IcRoundArrowDownward.d.ts +0 -2
- package/dist/ui/icons/IcRoundArrowDownward.js +0 -26
- package/dist/ui/icons/IcRoundArrowDropDown.d.ts +0 -3
- package/dist/ui/icons/IcRoundArrowDropDown.js +0 -18
- package/dist/ui/icons/IcRoundArrowDropDownCircle.d.ts +0 -3
- package/dist/ui/icons/IcRoundArrowDropDownCircle.js +0 -18
- package/dist/ui/icons/IcRoundArrowDropUp.d.ts +0 -3
- package/dist/ui/icons/IcRoundArrowDropUp.js +0 -18
- package/dist/ui/icons/IcRoundArrowForward.d.ts +0 -2
- package/dist/ui/icons/IcRoundArrowForward.js +0 -16
- package/dist/ui/icons/IcRoundArrowUpward.d.ts +0 -2
- package/dist/ui/icons/IcRoundArrowUpward.js +0 -26
- package/dist/ui/icons/IcRoundAttachFile.d.ts +0 -2
- package/dist/ui/icons/IcRoundAttachFile.js +0 -10
- package/dist/ui/icons/IcRoundCheck.d.ts +0 -2
- package/dist/ui/icons/IcRoundCheck.js +0 -16
- package/dist/ui/icons/IcRoundCheckBox.d.ts +0 -2
- package/dist/ui/icons/IcRoundCheckBox.js +0 -16
- package/dist/ui/icons/IcRoundCheckBoxOutlineBlank.d.ts +0 -2
- package/dist/ui/icons/IcRoundCheckBoxOutlineBlank.js +0 -16
- package/dist/ui/icons/IcRoundChevronRight.d.ts +0 -2
- package/dist/ui/icons/IcRoundChevronRight.js +0 -26
- package/dist/ui/icons/IcRoundDescription.d.ts +0 -2
- package/dist/ui/icons/IcRoundDescription.js +0 -26
- package/dist/ui/icons/IcRoundDragHandle.d.ts +0 -3
- package/dist/ui/icons/IcRoundDragHandle.js +0 -18
- package/dist/ui/icons/IcRoundExitToApp.d.ts +0 -2
- package/dist/ui/icons/IcRoundExitToApp.js +0 -26
- package/dist/ui/icons/IcRoundFeed.d.ts +0 -2
- package/dist/ui/icons/IcRoundFeed.js +0 -16
- package/dist/ui/icons/IcRoundFormatBold.d.ts +0 -3
- package/dist/ui/icons/IcRoundFormatBold.js +0 -18
- package/dist/ui/icons/IcRoundFormatClear.d.ts +0 -3
- package/dist/ui/icons/IcRoundFormatClear.js +0 -18
- package/dist/ui/icons/IcRoundFormatItalic.d.ts +0 -3
- package/dist/ui/icons/IcRoundFormatItalic.js +0 -18
- package/dist/ui/icons/IcRoundFormatListBulleted.d.ts +0 -3
- package/dist/ui/icons/IcRoundFormatListBulleted.js +0 -18
- package/dist/ui/icons/IcRoundFormatPaint.d.ts +0 -2
- package/dist/ui/icons/IcRoundFormatPaint.js +0 -10
- package/dist/ui/icons/IcRoundHamburger.d.ts +0 -3
- package/dist/ui/icons/IcRoundHamburger.js +0 -18
- package/dist/ui/icons/IcRoundHdrStrong.d.ts +0 -3
- package/dist/ui/icons/IcRoundHdrStrong.js +0 -18
- package/dist/ui/icons/IcRoundHorizontalRule.d.ts +0 -3
- package/dist/ui/icons/IcRoundHorizontalRule.js +0 -19
- package/dist/ui/icons/IcRoundInsertDriveFile.d.ts +0 -2
- package/dist/ui/icons/IcRoundInsertDriveFile.js +0 -16
- package/dist/ui/icons/IcRoundKeyboardArrowDown.d.ts +0 -2
- package/dist/ui/icons/IcRoundKeyboardArrowDown.js +0 -16
- package/dist/ui/icons/IcRoundKeyboardArrowLeft.d.ts +0 -3
- package/dist/ui/icons/IcRoundKeyboardArrowLeft.js +0 -18
- package/dist/ui/icons/IcRoundKeyboardArrowRight.d.ts +0 -2
- package/dist/ui/icons/IcRoundKeyboardArrowRight.js +0 -16
- package/dist/ui/icons/IcRoundKeyboardArrowUp.d.ts +0 -2
- package/dist/ui/icons/IcRoundKeyboardArrowUp.js +0 -16
- package/dist/ui/icons/IcRoundLanguage.d.ts +0 -2
- package/dist/ui/icons/IcRoundLanguage.js +0 -16
- package/dist/ui/icons/IcRoundLastPage.d.ts +0 -2
- package/dist/ui/icons/IcRoundLastPage.js +0 -26
- package/dist/ui/icons/IcRoundLock.d.ts +0 -3
- package/dist/ui/icons/IcRoundLock.js +0 -18
- package/dist/ui/icons/IcRoundMenu.d.ts +0 -2
- package/dist/ui/icons/IcRoundMenu.js +0 -16
- package/dist/ui/icons/IcRoundMoreHoriz.d.ts +0 -2
- package/dist/ui/icons/IcRoundMoreHoriz.js +0 -16
- package/dist/ui/icons/IcRoundMoreVert.d.ts +0 -2
- package/dist/ui/icons/IcRoundMoreVert.js +0 -26
- package/dist/ui/icons/IcRoundNorthEast.d.ts +0 -2
- package/dist/ui/icons/IcRoundNorthEast.js +0 -16
- package/dist/ui/icons/IcRoundNotes.d.ts +0 -2
- package/dist/ui/icons/IcRoundNotes.js +0 -16
- package/dist/ui/icons/IcRoundNumbers.d.ts +0 -2
- package/dist/ui/icons/IcRoundNumbers.js +0 -16
- package/dist/ui/icons/IcRoundPermMedia.d.ts +0 -2
- package/dist/ui/icons/IcRoundPermMedia.js +0 -25
- package/dist/ui/icons/IcRoundPublish.d.ts +0 -2
- package/dist/ui/icons/IcRoundPublish.js +0 -16
- package/dist/ui/icons/IcRoundPublishedWithChanges.d.ts +0 -2
- package/dist/ui/icons/IcRoundPublishedWithChanges.js +0 -26
- package/dist/ui/icons/IcRoundQuote.d.ts +0 -2
- package/dist/ui/icons/IcRoundQuote.js +0 -16
- package/dist/ui/icons/IcRoundRedo.d.ts +0 -3
- package/dist/ui/icons/IcRoundRedo.js +0 -18
- package/dist/ui/icons/IcRoundRemoveCircleOutline.d.ts +0 -2
- package/dist/ui/icons/IcRoundRemoveCircleOutline.js +0 -16
- package/dist/ui/icons/IcRoundRotateLeft.d.ts +0 -2
- package/dist/ui/icons/IcRoundRotateLeft.js +0 -16
- package/dist/ui/icons/IcRoundSend.d.ts +0 -2
- package/dist/ui/icons/IcRoundSend.js +0 -26
- package/dist/ui/icons/IcRoundSouthWest.d.ts +0 -2
- package/dist/ui/icons/IcRoundSouthWest.js +0 -16
- package/dist/ui/icons/IcRoundSubscript.d.ts +0 -2
- package/dist/ui/icons/IcRoundSubscript.js +0 -26
- package/dist/ui/icons/IcRoundSuperscript.d.ts +0 -2
- package/dist/ui/icons/IcRoundSuperscript.js +0 -26
- package/dist/ui/icons/IcRoundTabletMac.d.ts +0 -2
- package/dist/ui/icons/IcRoundTabletMac.js +0 -16
- package/dist/ui/icons/IcRoundTextFields.d.ts +0 -2
- package/dist/ui/icons/IcRoundTextFields.js +0 -16
- package/dist/ui/icons/IcRoundTranslate.d.ts +0 -2
- package/dist/ui/icons/IcRoundTranslate.js +0 -26
- package/dist/ui/icons/IcRoundUndo.d.ts +0 -3
- package/dist/ui/icons/IcRoundUndo.js +0 -18
- package/dist/ui/icons/IcRoundUnfoldLess.d.ts +0 -2
- package/dist/ui/icons/IcRoundUnfoldLess.js +0 -26
- package/dist/ui/icons/IcRoundUnfoldMore.d.ts +0 -2
- package/dist/ui/icons/IcRoundUnfoldMore.js +0 -16
- package/dist/ui/icons/IcRoundUploadFile.d.ts +0 -3
- package/dist/ui/icons/IcRoundUploadFile.js +0 -18
- package/dist/ui/icons/IcRoundVisibilityOff.d.ts +0 -2
- package/dist/ui/icons/IcRoundVisibilityOff.js +0 -16
- package/dist/ui/icons/IcRoundWarning.d.ts +0 -2
- package/dist/ui/icons/IcRoundWarning.js +0 -16
- package/dist/ui/icons/IcSharpBrightnessMedium.d.ts +0 -2
- package/dist/ui/icons/IcSharpBrightnessMedium.js +0 -16
- package/dist/ui/icons/IcSharpVerticalAlignCenter.d.ts +0 -2
- package/dist/ui/icons/IcSharpVerticalAlignCenter.js +0 -16
- package/dist/ui/icons/IcTwotoneDescription.d.ts +0 -2
- package/dist/ui/icons/IcTwotoneDescription.js +0 -37
- package/dist/ui/icons/IcTwotoneFolder.d.ts +0 -2
- package/dist/ui/icons/IcTwotoneFolder.js +0 -37
- package/dist/ui/icons/IcTwotoneInsertDriveFile.d.ts +0 -2
- package/dist/ui/icons/IcTwotoneInsertDriveFile.js +0 -30
- package/dist/ui/icons/MdiGithub.d.ts +0 -3
- package/dist/ui/icons/MdiGithub.js +0 -18
- package/dist/ui/icons/MdiSourceBranch.d.ts +0 -2
- package/dist/ui/icons/MdiSourceBranch.js +0 -16
- package/dist/ui/icons/MdiTwitterCircle.d.ts +0 -2
- package/dist/ui/icons/MdiTwitterCircle.js +0 -26
- package/dist/ui/icons/MiLayers.d.ts +0 -3
- package/dist/ui/icons/MiLayers.js +0 -16
- package/dist/ui/icons/PhGlobe.d.ts +0 -2
- package/dist/ui/icons/PhGlobe.js +0 -26
- package/dist/ui/icons/RiFlashlightFill.d.ts +0 -2
- package/dist/ui/icons/RiFlashlightFill.js +0 -10
- package/dist/ui/icons/TableDelete.d.ts +0 -2
- package/dist/ui/icons/TableDelete.js +0 -25
- package/dist/ui/icons/TableDeleteColumn.d.ts +0 -2
- package/dist/ui/icons/TableDeleteColumn.js +0 -16
- package/dist/ui/icons/TableDeleteRow.d.ts +0 -2
- package/dist/ui/icons/TableDeleteRow.js +0 -16
- package/dist/ui/icons/TableHeaderCell.d.ts +0 -2
- package/dist/ui/icons/TableHeaderCell.js +0 -16
- package/dist/ui/icons/TableHeaderColumn.d.ts +0 -2
- package/dist/ui/icons/TableHeaderColumn.js +0 -16
- package/dist/ui/icons/TableHeaderRow.d.ts +0 -2
- package/dist/ui/icons/TableHeaderRow.js +0 -16
- package/dist/ui/icons/TableInsertColumnAfter.d.ts +0 -2
- package/dist/ui/icons/TableInsertColumnAfter.js +0 -16
- package/dist/ui/icons/TableInsertColumnBefore.d.ts +0 -2
- package/dist/ui/icons/TableInsertColumnBefore.js +0 -16
- package/dist/ui/icons/TableInsertRowAfter.d.ts +0 -2
- package/dist/ui/icons/TableInsertRowAfter.js +0 -16
- package/dist/ui/icons/TableInsertRowBefore.d.ts +0 -2
- package/dist/ui/icons/TableInsertRowBefore.js +0 -16
- package/dist/ui/icons/TableMergeCells.d.ts +0 -2
- package/dist/ui/icons/TableMergeCells.js +0 -16
- package/dist/ui/icons/TableSplitCell.d.ts +0 -2
- package/dist/ui/icons/TableSplitCell.js +0 -16
- package/dist/ui/util/ContrastColor.d.ts +0 -1
- package/dist/ui/util/ContrastColor.js +0 -17
- package/dist/ui/util/CreateTypo.d.ts +0 -62
- package/dist/ui/util/CreateTypo.js +0 -119
- package/dist/ui/util/Elevation.d.ts +0 -12
- package/dist/ui/util/Elevation.js +0 -20
- package/dist/ui/util/PropsWithAs.d.ts +0 -12
- package/dist/ui/util/PropsWithAs.js +0 -10
- package/dist/ui/util/Slots.d.ts +0 -11
- package/dist/ui/util/Slots.js +0 -50
- package/dist/ui/util/TextareaAutosize.d.ts +0 -2
- package/dist/ui/util/TextareaAutosize.js +0 -40
- package/dist/ui/util/Units.d.ts +0 -1
- package/dist/ui/util/Units.js +0 -7
- package/dist/ui/util/UseId.d.ts +0 -1
- package/dist/ui/util/UseId.js +0 -11
- package/dist/yjs.d.ts +0 -1
- package/dist/yjs.js +0 -206
- /package/dist/{core/Shape.js → chunks/chunk-NUFRM6SI.js} +0 -0
- /package/dist/{backend/Handler.test.d.ts → dashboard/app/EntrySidebarPreview.spec.d.ts} +0 -0
- /package/dist/{backend/router/Router.test.d.ts → dashboard/app/WorkspaceMenu.spec.d.ts} +0 -0
- /package/dist/{cli/Init.test.d.ts → field/link/LinkField.spec.d.ts} +0 -0
- /package/dist/{cli/util/CommitMessage.test.d.ts → field/list/ListField.spec.d.ts} +0 -0
- /package/dist/{core/Config.test.d.ts → field/richtext/RichTextField.spec.d.ts} +0 -0
|
@@ -0,0 +1,2966 @@
|
|
|
1
|
+
// node_modules/react-stately/dist/private/utils/useControlledState.mjs
|
|
2
|
+
import $1CcWn$react, { useState as $1CcWn$useState, useRef as $1CcWn$useRef, useEffect as $1CcWn$useEffect, useReducer as $1CcWn$useReducer, useCallback as $1CcWn$useCallback } from "react";
|
|
3
|
+
var $3e6197669829fe11$var$useEarlyEffect = typeof document !== "undefined" ? (0, $1CcWn$react)["useInsertionEffect"] ?? (0, $1CcWn$react).useLayoutEffect : () => {
|
|
4
|
+
};
|
|
5
|
+
function $3e6197669829fe11$export$40bfa8c7b0832715(value, defaultValue, onChange) {
|
|
6
|
+
let [stateValue, setStateValue] = (0, $1CcWn$useState)(value || defaultValue);
|
|
7
|
+
let valueRef = (0, $1CcWn$useRef)(stateValue);
|
|
8
|
+
let isControlledRef = (0, $1CcWn$useRef)(value !== void 0);
|
|
9
|
+
let isControlled = value !== void 0;
|
|
10
|
+
(0, $1CcWn$useEffect)(() => {
|
|
11
|
+
let wasControlled = isControlledRef.current;
|
|
12
|
+
if (wasControlled !== isControlled && process.env.NODE_ENV !== "production") console.warn(`WARN: A component changed from ${wasControlled ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}.`);
|
|
13
|
+
isControlledRef.current = isControlled;
|
|
14
|
+
}, [
|
|
15
|
+
isControlled
|
|
16
|
+
]);
|
|
17
|
+
let currentValue = isControlled ? value : stateValue;
|
|
18
|
+
$3e6197669829fe11$var$useEarlyEffect(() => {
|
|
19
|
+
valueRef.current = currentValue;
|
|
20
|
+
});
|
|
21
|
+
let [, forceUpdate] = (0, $1CcWn$useReducer)(() => ({}), {});
|
|
22
|
+
let setValue = (0, $1CcWn$useCallback)((value2, ...args) => {
|
|
23
|
+
let newValue = typeof value2 === "function" ? value2(valueRef.current) : value2;
|
|
24
|
+
if (!Object.is(valueRef.current, newValue)) {
|
|
25
|
+
valueRef.current = newValue;
|
|
26
|
+
setStateValue(newValue);
|
|
27
|
+
forceUpdate();
|
|
28
|
+
onChange?.(newValue, ...args);
|
|
29
|
+
}
|
|
30
|
+
}, [
|
|
31
|
+
onChange
|
|
32
|
+
]);
|
|
33
|
+
return [
|
|
34
|
+
currentValue,
|
|
35
|
+
setValue
|
|
36
|
+
];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// node_modules/react-stately/dist/private/utils/number.mjs
|
|
40
|
+
function $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, min = -Infinity, max = Infinity) {
|
|
41
|
+
let newValue = Math.min(Math.max(value, min), max);
|
|
42
|
+
return newValue;
|
|
43
|
+
}
|
|
44
|
+
function $240e9101ba2842f5$export$e1a7b8e69ef6c52f(value, step) {
|
|
45
|
+
let roundedValue = value;
|
|
46
|
+
let precision = 0;
|
|
47
|
+
let stepString = step.toString();
|
|
48
|
+
let eIndex = stepString.toLowerCase().indexOf("e-");
|
|
49
|
+
if (eIndex > 0) precision = Math.abs(Math.floor(Math.log10(Math.abs(step)))) + eIndex;
|
|
50
|
+
else {
|
|
51
|
+
let pointIndex = stepString.indexOf(".");
|
|
52
|
+
if (pointIndex >= 0) precision = stepString.length - pointIndex;
|
|
53
|
+
}
|
|
54
|
+
if (precision > 0) {
|
|
55
|
+
let pow = Math.pow(10, precision);
|
|
56
|
+
roundedValue = Math.round(roundedValue * pow) / pow;
|
|
57
|
+
}
|
|
58
|
+
return roundedValue;
|
|
59
|
+
}
|
|
60
|
+
function $240e9101ba2842f5$export$cb6e0bb50bc19463(value, min, max, step) {
|
|
61
|
+
min = Number(min);
|
|
62
|
+
max = Number(max);
|
|
63
|
+
let remainder = (value - (isNaN(min) ? 0 : min)) % step;
|
|
64
|
+
let snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(Math.abs(remainder) * 2 >= step ? value + Math.sign(remainder) * (step - Math.abs(remainder)) : value - remainder, step);
|
|
65
|
+
if (!isNaN(min)) {
|
|
66
|
+
if (snappedValue < min) snappedValue = min;
|
|
67
|
+
else if (!isNaN(max) && snappedValue > max) snappedValue = min + Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f((max - min) / step, step)) * step;
|
|
68
|
+
} else if (!isNaN(max) && snappedValue > max) snappedValue = Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f(max / step, step)) * step;
|
|
69
|
+
snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(snappedValue, step);
|
|
70
|
+
return snappedValue;
|
|
71
|
+
}
|
|
72
|
+
function $240e9101ba2842f5$export$b6268554fba451f(value, digits, base = 10) {
|
|
73
|
+
const pow = Math.pow(base, digits);
|
|
74
|
+
return Math.round(value * pow) / pow;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// node_modules/react-stately/dist/private/form/useFormValidationState.mjs
|
|
78
|
+
import { createContext as $8AuPP$createContext, useMemo as $8AuPP$useMemo, useContext as $8AuPP$useContext, useState as $8AuPP$useState, useRef as $8AuPP$useRef, useEffect as $8AuPP$useEffect } from "react";
|
|
79
|
+
var $fd2148440a13ec26$export$aca958c65c314e6c = {
|
|
80
|
+
badInput: false,
|
|
81
|
+
customError: false,
|
|
82
|
+
patternMismatch: false,
|
|
83
|
+
rangeOverflow: false,
|
|
84
|
+
rangeUnderflow: false,
|
|
85
|
+
stepMismatch: false,
|
|
86
|
+
tooLong: false,
|
|
87
|
+
tooShort: false,
|
|
88
|
+
typeMismatch: false,
|
|
89
|
+
valueMissing: false,
|
|
90
|
+
valid: true
|
|
91
|
+
};
|
|
92
|
+
var $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE = {
|
|
93
|
+
...$fd2148440a13ec26$export$aca958c65c314e6c,
|
|
94
|
+
customError: true,
|
|
95
|
+
valid: false
|
|
96
|
+
};
|
|
97
|
+
var $fd2148440a13ec26$export$dad6ae84456c676a = {
|
|
98
|
+
isInvalid: false,
|
|
99
|
+
validationDetails: $fd2148440a13ec26$export$aca958c65c314e6c,
|
|
100
|
+
validationErrors: []
|
|
101
|
+
};
|
|
102
|
+
var $fd2148440a13ec26$export$571b5131b7e65c11 = (0, $8AuPP$createContext)({});
|
|
103
|
+
var $fd2148440a13ec26$export$a763b9476acd3eb = "__reactAriaFormValidationState";
|
|
104
|
+
function $fd2148440a13ec26$export$fc1a364ae1f3ff10(props) {
|
|
105
|
+
if (props[$fd2148440a13ec26$export$a763b9476acd3eb]) {
|
|
106
|
+
let { realtimeValidation, displayValidation, updateValidation, resetValidation, commitValidation } = props[$fd2148440a13ec26$export$a763b9476acd3eb];
|
|
107
|
+
return {
|
|
108
|
+
realtimeValidation,
|
|
109
|
+
displayValidation,
|
|
110
|
+
updateValidation,
|
|
111
|
+
resetValidation,
|
|
112
|
+
commitValidation
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
return $fd2148440a13ec26$var$useFormValidationStateImpl(props);
|
|
116
|
+
}
|
|
117
|
+
function $fd2148440a13ec26$var$useFormValidationStateImpl(props) {
|
|
118
|
+
let { isInvalid, validationState, name, value, builtinValidation, validate, validationBehavior = "aria" } = props;
|
|
119
|
+
if (validationState) isInvalid ||= validationState === "invalid";
|
|
120
|
+
let controlledError = isInvalid !== void 0 ? {
|
|
121
|
+
isInvalid,
|
|
122
|
+
validationErrors: [],
|
|
123
|
+
validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE
|
|
124
|
+
} : null;
|
|
125
|
+
let clientError = (0, $8AuPP$useMemo)(() => {
|
|
126
|
+
if (!validate || value == null) return null;
|
|
127
|
+
let validateErrors = $fd2148440a13ec26$var$runValidate(validate, value);
|
|
128
|
+
return $fd2148440a13ec26$var$getValidationResult(validateErrors);
|
|
129
|
+
}, [
|
|
130
|
+
validate,
|
|
131
|
+
value
|
|
132
|
+
]);
|
|
133
|
+
if (builtinValidation?.validationDetails.valid) builtinValidation = void 0;
|
|
134
|
+
let serverErrors = (0, $8AuPP$useContext)($fd2148440a13ec26$export$571b5131b7e65c11);
|
|
135
|
+
let serverErrorMessages = (0, $8AuPP$useMemo)(() => {
|
|
136
|
+
if (name) return Array.isArray(name) ? name.flatMap((name2) => $fd2148440a13ec26$var$asArray(serverErrors[name2])) : $fd2148440a13ec26$var$asArray(serverErrors[name]);
|
|
137
|
+
return [];
|
|
138
|
+
}, [
|
|
139
|
+
serverErrors,
|
|
140
|
+
name
|
|
141
|
+
]);
|
|
142
|
+
let [lastServerErrors, setLastServerErrors] = (0, $8AuPP$useState)(serverErrors);
|
|
143
|
+
let [isServerErrorCleared, setServerErrorCleared] = (0, $8AuPP$useState)(false);
|
|
144
|
+
if (serverErrors !== lastServerErrors) {
|
|
145
|
+
setLastServerErrors(serverErrors);
|
|
146
|
+
setServerErrorCleared(false);
|
|
147
|
+
}
|
|
148
|
+
let serverError = (0, $8AuPP$useMemo)(() => $fd2148440a13ec26$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [
|
|
149
|
+
isServerErrorCleared,
|
|
150
|
+
serverErrorMessages
|
|
151
|
+
]);
|
|
152
|
+
let nextValidation = (0, $8AuPP$useRef)($fd2148440a13ec26$export$dad6ae84456c676a);
|
|
153
|
+
let [currentValidity, setCurrentValidity] = (0, $8AuPP$useState)($fd2148440a13ec26$export$dad6ae84456c676a);
|
|
154
|
+
let lastError = (0, $8AuPP$useRef)($fd2148440a13ec26$export$dad6ae84456c676a);
|
|
155
|
+
let commitValidation = () => {
|
|
156
|
+
if (!commitQueued) return;
|
|
157
|
+
setCommitQueued(false);
|
|
158
|
+
let error = clientError || builtinValidation || nextValidation.current;
|
|
159
|
+
if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {
|
|
160
|
+
lastError.current = error;
|
|
161
|
+
setCurrentValidity(error);
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
let [commitQueued, setCommitQueued] = (0, $8AuPP$useState)(false);
|
|
165
|
+
(0, $8AuPP$useEffect)(commitValidation);
|
|
166
|
+
let realtimeValidation = controlledError || serverError || clientError || builtinValidation || $fd2148440a13ec26$export$dad6ae84456c676a;
|
|
167
|
+
let displayValidation = validationBehavior === "native" ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity;
|
|
168
|
+
return {
|
|
169
|
+
realtimeValidation,
|
|
170
|
+
displayValidation,
|
|
171
|
+
updateValidation(value2) {
|
|
172
|
+
if (validationBehavior === "aria" && !$fd2148440a13ec26$var$isEqualValidation(currentValidity, value2)) setCurrentValidity(value2);
|
|
173
|
+
else nextValidation.current = value2;
|
|
174
|
+
},
|
|
175
|
+
resetValidation() {
|
|
176
|
+
let error = $fd2148440a13ec26$export$dad6ae84456c676a;
|
|
177
|
+
if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {
|
|
178
|
+
lastError.current = error;
|
|
179
|
+
setCurrentValidity(error);
|
|
180
|
+
}
|
|
181
|
+
if (validationBehavior === "native") setCommitQueued(false);
|
|
182
|
+
setServerErrorCleared(true);
|
|
183
|
+
},
|
|
184
|
+
commitValidation() {
|
|
185
|
+
if (validationBehavior === "native") setCommitQueued(true);
|
|
186
|
+
setServerErrorCleared(true);
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function $fd2148440a13ec26$var$asArray(v) {
|
|
191
|
+
if (!v) return [];
|
|
192
|
+
return Array.isArray(v) ? v : [
|
|
193
|
+
v
|
|
194
|
+
];
|
|
195
|
+
}
|
|
196
|
+
function $fd2148440a13ec26$var$runValidate(validate, value) {
|
|
197
|
+
if (typeof validate === "function") {
|
|
198
|
+
let e = validate(value);
|
|
199
|
+
if (e && typeof e !== "boolean") return $fd2148440a13ec26$var$asArray(e);
|
|
200
|
+
}
|
|
201
|
+
return [];
|
|
202
|
+
}
|
|
203
|
+
function $fd2148440a13ec26$var$getValidationResult(errors) {
|
|
204
|
+
return errors.length ? {
|
|
205
|
+
isInvalid: true,
|
|
206
|
+
validationErrors: errors,
|
|
207
|
+
validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE
|
|
208
|
+
} : null;
|
|
209
|
+
}
|
|
210
|
+
function $fd2148440a13ec26$var$isEqualValidation(a, b) {
|
|
211
|
+
if (a === b) return true;
|
|
212
|
+
return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a2, i) => a2 === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v]) => b.validationDetails[k] === v);
|
|
213
|
+
}
|
|
214
|
+
function $fd2148440a13ec26$export$75ee7c75d68f5b0e(...results) {
|
|
215
|
+
let errors = /* @__PURE__ */ new Set();
|
|
216
|
+
let isInvalid = false;
|
|
217
|
+
let validationDetails = {
|
|
218
|
+
...$fd2148440a13ec26$export$aca958c65c314e6c
|
|
219
|
+
};
|
|
220
|
+
for (let v of results) {
|
|
221
|
+
for (let e of v.validationErrors) errors.add(e);
|
|
222
|
+
isInvalid ||= v.isInvalid;
|
|
223
|
+
for (let key in validationDetails) validationDetails[key] ||= v.validationDetails[key];
|
|
224
|
+
}
|
|
225
|
+
validationDetails.valid = !isInvalid;
|
|
226
|
+
return {
|
|
227
|
+
isInvalid,
|
|
228
|
+
validationErrors: [
|
|
229
|
+
...errors
|
|
230
|
+
],
|
|
231
|
+
validationDetails
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// node_modules/react-stately/dist/private/toggle/useToggleState.mjs
|
|
236
|
+
import { useState as $dAajM$useState } from "react";
|
|
237
|
+
function $fd3c5e01e837dc20$export$8042c6c013fd5226(props = {}) {
|
|
238
|
+
let { isReadOnly } = props;
|
|
239
|
+
let [isSelected, setSelected] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.isSelected, props.defaultSelected || false, props.onChange);
|
|
240
|
+
let [initialValue] = (0, $dAajM$useState)(isSelected);
|
|
241
|
+
function updateSelected(value) {
|
|
242
|
+
if (!isReadOnly) setSelected(value);
|
|
243
|
+
}
|
|
244
|
+
function toggleState() {
|
|
245
|
+
if (!isReadOnly) setSelected(!isSelected);
|
|
246
|
+
}
|
|
247
|
+
return {
|
|
248
|
+
isSelected,
|
|
249
|
+
defaultSelected: props.defaultSelected ?? initialValue,
|
|
250
|
+
setSelected: updateSelected,
|
|
251
|
+
toggle: toggleState
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// node_modules/react-stately/dist/private/intl/color/ar-AE.mjs
|
|
256
|
+
var $657b6c680454a954$exports = {};
|
|
257
|
+
$657b6c680454a954$exports = {
|
|
258
|
+
"alpha": `\u0623\u0644\u0641\u0627`,
|
|
259
|
+
"black": `\u0623\u0633\u0648\u062F`,
|
|
260
|
+
"blue": `\u0623\u0632\u0631\u0642`,
|
|
261
|
+
"blue purple": `\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0645\u0632\u0631\u0642`,
|
|
262
|
+
"brightness": `\u0627\u0644\u0633\u0637\u0648\u0639`,
|
|
263
|
+
"brown": `\u0628\u0646\u064A`,
|
|
264
|
+
"brown yellow": `\u0623\u0635\u0641\u0631 \u0628\u0646\u064A`,
|
|
265
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
266
|
+
"cyan": `\u0633\u0645\u0627\u0648\u064A`,
|
|
267
|
+
"cyan blue": `\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A`,
|
|
268
|
+
"dark": `\u062F\u0627\u0643\u0646`,
|
|
269
|
+
"gray": `\u0631\u0645\u0627\u062F\u064A`,
|
|
270
|
+
"grayish": `\u0645\u0627\u0626\u0644 \u0644\u0644\u0631\u0645\u0627\u062F\u064A`,
|
|
271
|
+
"green": `\u0623\u062E\u0636\u0631`,
|
|
272
|
+
"green cyan": `\u0633\u0645\u0627\u0648\u064A \u0645\u062E\u0636\u0631`,
|
|
273
|
+
"hue": `\u062F\u0631\u062C\u0629 \u0627\u0644\u0644\u0648\u0646`,
|
|
274
|
+
"light": `\u0641\u0627\u062A\u062D`,
|
|
275
|
+
"lightness": `\u0627\u0644\u0625\u0636\u0627\u0621\u0629`,
|
|
276
|
+
"magenta": `\u0623\u0631\u062C\u0648\u0627\u0646\u064A`,
|
|
277
|
+
"magenta pink": `\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0648\u0631\u062F\u064A`,
|
|
278
|
+
"orange": `\u0628\u0631\u062A\u0642\u0627\u0644\u064A`,
|
|
279
|
+
"orange yellow": `\u0623\u0635\u0641\u0631 \u0628\u0631\u062A\u0642\u0627\u0644\u064A`,
|
|
280
|
+
"pale": `\u0628\u0627\u0647\u062A`,
|
|
281
|
+
"pink": `\u0648\u0631\u062F\u064A`,
|
|
282
|
+
"pink red": `\u0623\u062D\u0645\u0631 \u0648\u0631\u062F\u064A`,
|
|
283
|
+
"purple": `\u0623\u0631\u062C\u0648\u0627\u0646\u064A`,
|
|
284
|
+
"purple magenta": `\u0628\u0646\u0641\u0633\u062C\u064A`,
|
|
285
|
+
"red": `\u0623\u062D\u0645\u0631`,
|
|
286
|
+
"red orange": `\u0628\u0631\u062A\u0642\u0627\u0644\u064A \u0645\u062D\u0645\u0631`,
|
|
287
|
+
"saturation": `\u0627\u0644\u062A\u0634\u0628\u0639`,
|
|
288
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \u0634\u0641\u0627\u0641`,
|
|
289
|
+
"very dark": `\u062F\u0627\u0643\u0646 \u062C\u062F\u064B\u0627`,
|
|
290
|
+
"very light": `\u0641\u0627\u062A\u062D \u062C\u062F\u064B\u0627`,
|
|
291
|
+
"vibrant": `\u0633\u0627\u0637\u0639`,
|
|
292
|
+
"white": `\u0623\u0628\u064A\u0636`,
|
|
293
|
+
"yellow": `\u0623\u0635\u0641\u0631`,
|
|
294
|
+
"yellow green": `\u0623\u062E\u0636\u0631 \u0645\u0635\u0641\u0631`
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
// node_modules/react-stately/dist/private/intl/color/bg-BG.mjs
|
|
298
|
+
var $889127408c531ba7$exports = {};
|
|
299
|
+
$889127408c531ba7$exports = {
|
|
300
|
+
"alpha": `\u0410\u043B\u0444\u0430`,
|
|
301
|
+
"black": `\u0447\u0435\u0440\u043D\u043E`,
|
|
302
|
+
"blue": `\u0421\u0438\u043D\u044C\u043E`,
|
|
303
|
+
"blue purple": `\u0441\u0438\u043D\u044C\u043E \u043B\u0438\u043B\u0430\u0432\u043E`,
|
|
304
|
+
"brightness": `\u042F\u0440\u043A\u043E\u0441\u0442`,
|
|
305
|
+
"brown": `\u043A\u0430\u0444\u044F\u0432\u043E`,
|
|
306
|
+
"brown yellow": `\u043A\u0430\u0444\u044F\u0432\u043E \u0436\u044A\u043B\u0442\u043E`,
|
|
307
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
308
|
+
"cyan": `\u0446\u0438\u0430\u043D`,
|
|
309
|
+
"cyan blue": `\u0446\u0438\u0430\u043D \u0441\u0438\u043D\u044C\u043E`,
|
|
310
|
+
"dark": `\u0442\u044A\u043C\u043D\u043E`,
|
|
311
|
+
"gray": `\u0441\u0438\u0432\u043E`,
|
|
312
|
+
"grayish": `\u0441\u0438\u0432\u043A\u0430\u0432`,
|
|
313
|
+
"green": `\u0417\u0435\u043B\u0435\u043D\u043E`,
|
|
314
|
+
"green cyan": `\u0437\u0435\u043B\u0435\u043D \u0446\u0438\u0430\u043D`,
|
|
315
|
+
"hue": `\u041E\u0442\u0442\u0435\u043D\u044A\u043A`,
|
|
316
|
+
"light": `\u0441\u0432\u0435\u0442\u043B\u043E`,
|
|
317
|
+
"lightness": `\u041B\u0435\u043A\u043E\u0442\u0430`,
|
|
318
|
+
"magenta": `\u043C\u0430\u0433\u0435\u043D\u0442\u0430`,
|
|
319
|
+
"magenta pink": `\u043C\u0430\u0433\u0435\u043D\u0442\u0430 \u0440\u043E\u0437\u043E\u0432\u043E`,
|
|
320
|
+
"orange": `\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E`,
|
|
321
|
+
"orange yellow": `\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E \u0436\u044A\u043B\u0442\u043E`,
|
|
322
|
+
"pale": `\u0431\u043B\u0435\u0434\u043E`,
|
|
323
|
+
"pink": `\u0440\u043E\u0437\u043E\u0432\u043E`,
|
|
324
|
+
"pink red": `\u0440\u043E\u0437\u043E\u0432\u043E \u0447\u0435\u0440\u0432\u0435\u043D\u043E`,
|
|
325
|
+
"purple": `\u043B\u0438\u043B\u0430\u0432\u043E`,
|
|
326
|
+
"purple magenta": `\u043B\u0438\u043B\u0430\u0432\u043E \u043C\u0430\u0433\u0435\u043D\u0442\u0430`,
|
|
327
|
+
"red": `\u0427\u0435\u0440\u0432\u0435\u043D\u043E`,
|
|
328
|
+
"red orange": `\u0447\u0435\u0440\u0432\u0435\u043D \u043F\u043E\u0440\u0442\u043E\u043A\u0430\u043B`,
|
|
329
|
+
"saturation": `\u041D\u0430\u0441\u0438\u0442\u0435\u043D\u043E\u0441\u0442`,
|
|
330
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D`,
|
|
331
|
+
"very dark": `\u043C\u043D\u043E\u0433\u043E \u0442\u044A\u043C\u043D\u043E`,
|
|
332
|
+
"very light": `\u043C\u043D\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u043B\u043E`,
|
|
333
|
+
"vibrant": ` \u044F\u0440\u043A\u043E`,
|
|
334
|
+
"white": `\u0431\u044F\u043B\u043E`,
|
|
335
|
+
"yellow": `\u0436\u044A\u043B\u0442\u043E`,
|
|
336
|
+
"yellow green": `\u0436\u044A\u043B\u0442\u043E \u0437\u0435\u043B\u0435\u043D`
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
// node_modules/react-stately/dist/private/intl/color/cs-CZ.mjs
|
|
340
|
+
var $70544d82283dffb4$exports = {};
|
|
341
|
+
$70544d82283dffb4$exports = {
|
|
342
|
+
"alpha": `Alfa`,
|
|
343
|
+
"black": `\u010Dern\xE1`,
|
|
344
|
+
"blue": `Modr\xE1`,
|
|
345
|
+
"blue purple": `modrofialov\xE1`,
|
|
346
|
+
"brightness": `Jas`,
|
|
347
|
+
"brown": `hn\u011Bd\xE1`,
|
|
348
|
+
"brown yellow": `hn\u011Bdo\u017Elut\xE1`,
|
|
349
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
350
|
+
"cyan": `tyrkysov\xE1`,
|
|
351
|
+
"cyan blue": `tyrkysovomodr\xE1`,
|
|
352
|
+
"dark": `tmav\xE1`,
|
|
353
|
+
"gray": `\u0161ed\xE1`,
|
|
354
|
+
"grayish": `na\u0161edl\xE1`,
|
|
355
|
+
"green": `Zelen\xE1`,
|
|
356
|
+
"green cyan": `zelenotyrkysov\xE1`,
|
|
357
|
+
"hue": `Odst\xEDn`,
|
|
358
|
+
"light": `sv\u011Btl\xE1`,
|
|
359
|
+
"lightness": `Sv\u011Btlost`,
|
|
360
|
+
"magenta": `purpurov\xE1`,
|
|
361
|
+
"magenta pink": `purpurov\u011B r\u016F\u017Eov\xE1`,
|
|
362
|
+
"orange": `oran\u017Eov\xE1`,
|
|
363
|
+
"orange yellow": `oran\u017Eovo\u017Elut\xE1`,
|
|
364
|
+
"pale": `bled\xE1`,
|
|
365
|
+
"pink": `r\u016F\u017Eov\xE1`,
|
|
366
|
+
"pink red": `r\u016F\u017Eovo\u010Derven\xE1`,
|
|
367
|
+
"purple": `fialov\xE1`,
|
|
368
|
+
"purple magenta": `fialov\u011B purpurov\xE1`,
|
|
369
|
+
"red": `\u010Cerven\xE1`,
|
|
370
|
+
"red orange": `\u010Dervenooran\u017Eov\xE1`,
|
|
371
|
+
"saturation": `Sytost`,
|
|
372
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} pr\u016Fhledn\xE9`,
|
|
373
|
+
"very dark": `velmi tmav\xE1`,
|
|
374
|
+
"very light": `velmi sv\u011Btl\xE1`,
|
|
375
|
+
"vibrant": `z\xE1\u0159iv\xE1`,
|
|
376
|
+
"white": `b\xEDl\xE1`,
|
|
377
|
+
"yellow": `\u017Elut\xE1`,
|
|
378
|
+
"yellow green": `\u017Elutozelen\xE1`
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
// node_modules/react-stately/dist/private/intl/color/da-DK.mjs
|
|
382
|
+
var $dec70d8d5f3cf55e$exports = {};
|
|
383
|
+
$dec70d8d5f3cf55e$exports = {
|
|
384
|
+
"alpha": `Alfa`,
|
|
385
|
+
"black": `sort`,
|
|
386
|
+
"blue": `Bl\xE5`,
|
|
387
|
+
"blue purple": `bl\xE5lilla`,
|
|
388
|
+
"brightness": `Lysstyrke`,
|
|
389
|
+
"brown": `brun`,
|
|
390
|
+
"brown yellow": `brungul`,
|
|
391
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
392
|
+
"cyan": `cyan`,
|
|
393
|
+
"cyan blue": `cyan bl\xE5`,
|
|
394
|
+
"dark": `m\xF8rk`,
|
|
395
|
+
"gray": `gr\xE5`,
|
|
396
|
+
"grayish": `gr\xE5lig`,
|
|
397
|
+
"green": `Gr\xF8n`,
|
|
398
|
+
"green cyan": `gr\xF8n cyan`,
|
|
399
|
+
"hue": `Tone`,
|
|
400
|
+
"light": `lys`,
|
|
401
|
+
"lightness": `Lyshed`,
|
|
402
|
+
"magenta": `magenta`,
|
|
403
|
+
"magenta pink": `magenta pink`,
|
|
404
|
+
"orange": `orange`,
|
|
405
|
+
"orange yellow": `orangegul`,
|
|
406
|
+
"pale": `bleg`,
|
|
407
|
+
"pink": `lyser\xF8d`,
|
|
408
|
+
"pink red": `lyser\xF8dlig r\xF8d`,
|
|
409
|
+
"purple": `lilla`,
|
|
410
|
+
"purple magenta": `lilla magenta`,
|
|
411
|
+
"red": `R\xF8d`,
|
|
412
|
+
"red orange": `r\xF8dorange`,
|
|
413
|
+
"saturation": `Farvem\xE6tning`,
|
|
414
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} gennemsigtig`,
|
|
415
|
+
"very dark": `meget m\xF8rk`,
|
|
416
|
+
"very light": `meget lys`,
|
|
417
|
+
"vibrant": `klar`,
|
|
418
|
+
"white": `hvid`,
|
|
419
|
+
"yellow": `gul`,
|
|
420
|
+
"yellow green": `gulgr\xF8n`
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
// node_modules/react-stately/dist/private/intl/color/de-DE.mjs
|
|
424
|
+
var $9522ab9745257c99$exports = {};
|
|
425
|
+
$9522ab9745257c99$exports = {
|
|
426
|
+
"alpha": `Alpha`,
|
|
427
|
+
"black": `Schwarz`,
|
|
428
|
+
"blue": `Blau`,
|
|
429
|
+
"blue purple": `Blaulila`,
|
|
430
|
+
"brightness": `Helligkeit`,
|
|
431
|
+
"brown": `Braun`,
|
|
432
|
+
"brown yellow": `Braungelb`,
|
|
433
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
434
|
+
"cyan": `Cyan`,
|
|
435
|
+
"cyan blue": `Cyanblau`,
|
|
436
|
+
"dark": `dunkles`,
|
|
437
|
+
"gray": `Grau`,
|
|
438
|
+
"grayish": `gr\xE4uliches`,
|
|
439
|
+
"green": `Gr\xFCn`,
|
|
440
|
+
"green cyan": `Gr\xFCncyan`,
|
|
441
|
+
"hue": `Farbton`,
|
|
442
|
+
"light": `helles`,
|
|
443
|
+
"lightness": `Leuchtkraft`,
|
|
444
|
+
"magenta": `Magenta`,
|
|
445
|
+
"magenta pink": `Magentarosa`,
|
|
446
|
+
"orange": `Orange`,
|
|
447
|
+
"orange yellow": `Orangegelb`,
|
|
448
|
+
"pale": `blasses`,
|
|
449
|
+
"pink": `Rosa`,
|
|
450
|
+
"pink red": `Rosarot`,
|
|
451
|
+
"purple": `Lila`,
|
|
452
|
+
"purple magenta": `Lilamagenta`,
|
|
453
|
+
"red": `Rot`,
|
|
454
|
+
"red orange": `Rotorange`,
|
|
455
|
+
"saturation": `S\xE4ttigung`,
|
|
456
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, zu ${args.percentTransparent} transparent`,
|
|
457
|
+
"very dark": `sehr dunkles`,
|
|
458
|
+
"very light": `sehr helles`,
|
|
459
|
+
"vibrant": `lebhaftes`,
|
|
460
|
+
"white": `Wei\xDF`,
|
|
461
|
+
"yellow": `Gelb`,
|
|
462
|
+
"yellow green": `Gelbgr\xFCn`
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
// node_modules/react-stately/dist/private/intl/color/el-GR.mjs
|
|
466
|
+
var $26b460c7fbf5c73a$exports = {};
|
|
467
|
+
$26b460c7fbf5c73a$exports = {
|
|
468
|
+
"alpha": `\u0386\u03BB\u03C6\u03B1`,
|
|
469
|
+
"black": `\u03BC\u03B1\u03CD\u03C1\u03BF`,
|
|
470
|
+
"blue": `\u039C\u03C0\u03BB\u03B5`,
|
|
471
|
+
"blue purple": `\u03BC\u03C0\u03BB\u03B5 \u03BC\u03C9\u03B2`,
|
|
472
|
+
"brightness": `\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1`,
|
|
473
|
+
"brown": `\u03BA\u03B1\u03C6\u03AD`,
|
|
474
|
+
"brown yellow": `\u03BA\u03B1\u03C6\u03AD \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF`,
|
|
475
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
476
|
+
"cyan": `\u03BA\u03C5\u03B1\u03BD\u03CC`,
|
|
477
|
+
"cyan blue": `\u03BA\u03C5\u03B1\u03BD\u03CC \u03BC\u03C0\u03BB\u03B5`,
|
|
478
|
+
"dark": `\u03C3\u03BA\u03BF\u03CD\u03C1\u03BF`,
|
|
479
|
+
"gray": `\u03B3\u03BA\u03C1\u03B9`,
|
|
480
|
+
"grayish": `\u03B3\u03BA\u03C1\u03B9\u03B6\u03C9\u03C0\u03CC`,
|
|
481
|
+
"green": `\u03A0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF`,
|
|
482
|
+
"green cyan": `\u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF \u03BA\u03C5\u03B1\u03BD\u03CC`,
|
|
483
|
+
"hue": `\u03A4\u03CC\u03BD\u03BF\u03C2`,
|
|
484
|
+
"light": `\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC`,
|
|
485
|
+
"lightness": `\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1`,
|
|
486
|
+
"magenta": `\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1`,
|
|
487
|
+
"magenta pink": `\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1 \u03C1\u03BF\u03B6`,
|
|
488
|
+
"orange": `\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF`,
|
|
489
|
+
"orange yellow": `\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF`,
|
|
490
|
+
"pale": `\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC`,
|
|
491
|
+
"pink": `\u03C1\u03BF\u03B6`,
|
|
492
|
+
"pink red": `\u03C1\u03BF\u03B6 \u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF`,
|
|
493
|
+
"purple": `\u03BC\u03C9\u03B2`,
|
|
494
|
+
"purple magenta": `\u03BC\u03C9\u03B2 \u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1`,
|
|
495
|
+
"red": `\u039A\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF`,
|
|
496
|
+
"red orange": `\u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF \u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF`,
|
|
497
|
+
"saturation": `\u039A\u03BF\u03C1\u03B5\u03C3\u03BC\u03CC\u03C2`,
|
|
498
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2`,
|
|
499
|
+
"very dark": `\u03C0\u03BF\u03BB\u03CD \u03C3\u03BA\u03BF\u03CD\u03C1\u03BF`,
|
|
500
|
+
"very light": `\u03C0\u03BF\u03BB\u03CD \u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC`,
|
|
501
|
+
"vibrant": `\u03AD\u03BD\u03C4\u03BF\u03BD\u03BF`,
|
|
502
|
+
"white": `\u03BB\u03B5\u03C5\u03BA\u03CC`,
|
|
503
|
+
"yellow": `\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF`,
|
|
504
|
+
"yellow green": `\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF \u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF`
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
// node_modules/react-stately/dist/private/intl/color/en-US.mjs
|
|
508
|
+
var $91b08ff3e640b4d4$exports = {};
|
|
509
|
+
$91b08ff3e640b4d4$exports = {
|
|
510
|
+
"hue": `Hue`,
|
|
511
|
+
"saturation": `Saturation`,
|
|
512
|
+
"lightness": `Lightness`,
|
|
513
|
+
"brightness": `Brightness`,
|
|
514
|
+
"red": `Red`,
|
|
515
|
+
"green": `Green`,
|
|
516
|
+
"blue": `Blue`,
|
|
517
|
+
"alpha": `Alpha`,
|
|
518
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
519
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} transparent`,
|
|
520
|
+
"very dark": `very dark`,
|
|
521
|
+
"dark": `dark`,
|
|
522
|
+
"light": `light`,
|
|
523
|
+
"very light": `very light`,
|
|
524
|
+
"pale": `pale`,
|
|
525
|
+
"grayish": `grayish`,
|
|
526
|
+
"vibrant": `vibrant`,
|
|
527
|
+
"black": `black`,
|
|
528
|
+
"white": `white`,
|
|
529
|
+
"gray": `gray`,
|
|
530
|
+
"pink": `pink`,
|
|
531
|
+
"pink red": `pink red`,
|
|
532
|
+
"red orange": `red orange`,
|
|
533
|
+
"brown": `brown`,
|
|
534
|
+
"orange": `orange`,
|
|
535
|
+
"orange yellow": `orange yellow`,
|
|
536
|
+
"brown yellow": `brown yellow`,
|
|
537
|
+
"yellow": `yellow`,
|
|
538
|
+
"yellow green": `yellow green`,
|
|
539
|
+
"green cyan": `green cyan`,
|
|
540
|
+
"cyan": `cyan`,
|
|
541
|
+
"cyan blue": `cyan blue`,
|
|
542
|
+
"blue purple": `blue purple`,
|
|
543
|
+
"purple": `purple`,
|
|
544
|
+
"purple magenta": `purple magenta`,
|
|
545
|
+
"magenta": `magenta`,
|
|
546
|
+
"magenta pink": `magenta pink`
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
// node_modules/react-stately/dist/private/intl/color/es-ES.mjs
|
|
550
|
+
var $fd77e3dc91499169$exports = {};
|
|
551
|
+
$fd77e3dc91499169$exports = {
|
|
552
|
+
"alpha": `Alpha`,
|
|
553
|
+
"black": `negro`,
|
|
554
|
+
"blue": `Azul`,
|
|
555
|
+
"blue purple": `p\xFArpura azulado`,
|
|
556
|
+
"brightness": `Brillo`,
|
|
557
|
+
"brown": `marr\xF3n`,
|
|
558
|
+
"brown yellow": `amarillo amarronado`,
|
|
559
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
560
|
+
"cyan": `cian`,
|
|
561
|
+
"cyan blue": `azul cian`,
|
|
562
|
+
"dark": `oscuro`,
|
|
563
|
+
"gray": `gris`,
|
|
564
|
+
"grayish": `gris\xE1ceo`,
|
|
565
|
+
"green": `Verde`,
|
|
566
|
+
"green cyan": `cian verdoso`,
|
|
567
|
+
"hue": `Tono`,
|
|
568
|
+
"light": `claro`,
|
|
569
|
+
"lightness": `Luminosidad`,
|
|
570
|
+
"magenta": `magenta`,
|
|
571
|
+
"magenta pink": `rosa magenta`,
|
|
572
|
+
"orange": `naranja`,
|
|
573
|
+
"orange yellow": `amarillo anaranjado`,
|
|
574
|
+
"pale": `p\xE1lido`,
|
|
575
|
+
"pink": `rosa`,
|
|
576
|
+
"pink red": `rojo rosado`,
|
|
577
|
+
"purple": `morado`,
|
|
578
|
+
"purple magenta": `magenta viol\xE1ceo`,
|
|
579
|
+
"red": `Rojo`,
|
|
580
|
+
"red orange": `naranja rojizo`,
|
|
581
|
+
"saturation": `Saturaci\xF3n`,
|
|
582
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} transparente`,
|
|
583
|
+
"very dark": `muy oscuro`,
|
|
584
|
+
"very light": `muy claro`,
|
|
585
|
+
"vibrant": `intenso`,
|
|
586
|
+
"white": `blanco`,
|
|
587
|
+
"yellow": `amarillo`,
|
|
588
|
+
"yellow green": `verde amarillento`
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
// node_modules/react-stately/dist/private/intl/color/et-EE.mjs
|
|
592
|
+
var $1fa550aa4006d82d$exports = {};
|
|
593
|
+
$1fa550aa4006d82d$exports = {
|
|
594
|
+
"alpha": `Alfa`,
|
|
595
|
+
"black": `must`,
|
|
596
|
+
"blue": `Sinine`,
|
|
597
|
+
"blue purple": `sinakaslilla`,
|
|
598
|
+
"brightness": `Heledus`,
|
|
599
|
+
"brown": `pruun`,
|
|
600
|
+
"brown yellow": `pruunikaskollane`,
|
|
601
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
602
|
+
"cyan": `ts\xFCaan`,
|
|
603
|
+
"cyan blue": `ts\xFCaansinine`,
|
|
604
|
+
"dark": `tume`,
|
|
605
|
+
"gray": `hall`,
|
|
606
|
+
"grayish": `hallikas`,
|
|
607
|
+
"green": `Roheline`,
|
|
608
|
+
"green cyan": `ts\xFCaanroheline`,
|
|
609
|
+
"hue": `V\xE4rv`,
|
|
610
|
+
"light": `valgus`,
|
|
611
|
+
"lightness": `Valgus`,
|
|
612
|
+
"magenta": `magentapunane`,
|
|
613
|
+
"magenta pink": `magentaroosa`,
|
|
614
|
+
"orange": `oran\u017E`,
|
|
615
|
+
"orange yellow": `oran\u017Eikaskollane`,
|
|
616
|
+
"pale": `kahvatu`,
|
|
617
|
+
"pink": `roosa`,
|
|
618
|
+
"pink red": `vaarikapunane`,
|
|
619
|
+
"purple": `lilla`,
|
|
620
|
+
"purple magenta": `purpurne magenta`,
|
|
621
|
+
"red": `Punane`,
|
|
622
|
+
"red orange": `punakasoran\u017E`,
|
|
623
|
+
"saturation": `K\xFCllastus`,
|
|
624
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} l\xE4bipaistev`,
|
|
625
|
+
"very dark": `v\xE4ga tume`,
|
|
626
|
+
"very light": `v\xE4ga hele`,
|
|
627
|
+
"vibrant": `ere`,
|
|
628
|
+
"white": `valge`,
|
|
629
|
+
"yellow": `kollane`,
|
|
630
|
+
"yellow green": `kollakasroheline`
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
// node_modules/react-stately/dist/private/intl/color/fi-FI.mjs
|
|
634
|
+
var $21314fa26efef1a7$exports = {};
|
|
635
|
+
$21314fa26efef1a7$exports = {
|
|
636
|
+
"alpha": `Alpha`,
|
|
637
|
+
"black": `musta`,
|
|
638
|
+
"blue": `Sininen`,
|
|
639
|
+
"blue purple": `sinivioletti`,
|
|
640
|
+
"brightness": `Kirkkaus`,
|
|
641
|
+
"brown": `ruskea`,
|
|
642
|
+
"brown yellow": `ruskeankeltainen`,
|
|
643
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
644
|
+
"cyan": `syaani`,
|
|
645
|
+
"cyan blue": `syaaninsininen`,
|
|
646
|
+
"dark": `tumma`,
|
|
647
|
+
"gray": `harmaa`,
|
|
648
|
+
"grayish": `harmahtava`,
|
|
649
|
+
"green": `Vihre\xE4`,
|
|
650
|
+
"green cyan": `vihre\xE4nsyaani`,
|
|
651
|
+
"hue": `S\xE4vy`,
|
|
652
|
+
"light": `vaalea`,
|
|
653
|
+
"lightness": `Valom\xE4\xE4r\xE4`,
|
|
654
|
+
"magenta": `magenta`,
|
|
655
|
+
"magenta pink": `magentapinkki`,
|
|
656
|
+
"orange": `oranssi`,
|
|
657
|
+
"orange yellow": `oranssinkeltainen`,
|
|
658
|
+
"pale": `vaalea`,
|
|
659
|
+
"pink": `pinkki`,
|
|
660
|
+
"pink red": `vaaleanpunainen`,
|
|
661
|
+
"purple": `violetti`,
|
|
662
|
+
"purple magenta": `violettimagenta`,
|
|
663
|
+
"red": `Punainen`,
|
|
664
|
+
"red orange": `punaoranssi`,
|
|
665
|
+
"saturation": `V\xE4rikyll\xE4isyys`,
|
|
666
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} l\xE4pin\xE4kyv\xE4`,
|
|
667
|
+
"very dark": `hyvin tumma`,
|
|
668
|
+
"very light": `eritt\xE4in vaalea`,
|
|
669
|
+
"vibrant": `eloisa`,
|
|
670
|
+
"white": `valkea`,
|
|
671
|
+
"yellow": `keltainen`,
|
|
672
|
+
"yellow green": `keltavihre\xE4`
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
// node_modules/react-stately/dist/private/intl/color/fr-FR.mjs
|
|
676
|
+
var $e89aa016b78237dc$exports = {};
|
|
677
|
+
$e89aa016b78237dc$exports = {
|
|
678
|
+
"alpha": `Alpha`,
|
|
679
|
+
"black": `Noir`,
|
|
680
|
+
"blue": `Bleu`,
|
|
681
|
+
"blue purple": `Violet bleu`,
|
|
682
|
+
"brightness": `Luminosit\xE9`,
|
|
683
|
+
"brown": `Brun`,
|
|
684
|
+
"brown yellow": `Jaune brun`,
|
|
685
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
686
|
+
"cyan": `Cyan`,
|
|
687
|
+
"cyan blue": `Bleu cyan`,
|
|
688
|
+
"dark": `Sombre`,
|
|
689
|
+
"gray": `Gris`,
|
|
690
|
+
"grayish": `Gris\xE2tre`,
|
|
691
|
+
"green": `Vert`,
|
|
692
|
+
"green cyan": `Cyan vert`,
|
|
693
|
+
"hue": `Teinte`,
|
|
694
|
+
"light": `Clair`,
|
|
695
|
+
"lightness": `Luminosit\xE9`,
|
|
696
|
+
"magenta": `Magenta`,
|
|
697
|
+
"magenta pink": `Rose magenta`,
|
|
698
|
+
"orange": `Orange`,
|
|
699
|
+
"orange yellow": `Jaune orang\xE9`,
|
|
700
|
+
"pale": `P\xE2le`,
|
|
701
|
+
"pink": `Rose`,
|
|
702
|
+
"pink red": `Rouge ros\xE9`,
|
|
703
|
+
"purple": `Violet`,
|
|
704
|
+
"purple magenta": `Magenta violet`,
|
|
705
|
+
"red": `Rouge`,
|
|
706
|
+
"red orange": `Orange rouge`,
|
|
707
|
+
"saturation": `Saturation`,
|
|
708
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} transparent`,
|
|
709
|
+
"very dark": `Tr\xE8s sombre`,
|
|
710
|
+
"very light": `Tr\xE8s clair`,
|
|
711
|
+
"vibrant": `Vif`,
|
|
712
|
+
"white": `Blanc`,
|
|
713
|
+
"yellow": `Jaune`,
|
|
714
|
+
"yellow green": `Vert jaune`
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
// node_modules/react-stately/dist/private/intl/color/he-IL.mjs
|
|
718
|
+
var $a1a6ebcfb4e36dca$exports = {};
|
|
719
|
+
$a1a6ebcfb4e36dca$exports = {
|
|
720
|
+
"alpha": `\u05D0\u05DC\u05E4\u05D0`,
|
|
721
|
+
"black": `\u05E9\u05D7\u05D5\u05E8`,
|
|
722
|
+
"blue": `\u05DB\u05D7\u05D5\u05DC`,
|
|
723
|
+
"blue purple": `\u05DB\u05D7\u05D5\u05DC \u05E1\u05D2\u05D5\u05DC`,
|
|
724
|
+
"brightness": `\u05D1\u05D4\u05D9\u05E8\u05D5\u05EA`,
|
|
725
|
+
"brown": `\u05D7\u05D5\u05DD`,
|
|
726
|
+
"brown yellow": `\u05D7\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1`,
|
|
727
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
728
|
+
"cyan": `\u05D8\u05D5\u05E8\u05E7\u05D9\u05D6`,
|
|
729
|
+
"cyan blue": `\u05DB\u05D7\u05D5\u05DC \u05E6\u05D9\u05D0\u05DF`,
|
|
730
|
+
"dark": `\u05DB\u05D4\u05D4`,
|
|
731
|
+
"gray": `\u05D0\u05E4\u05D5\u05E8`,
|
|
732
|
+
"grayish": `\u05D0\u05E4\u05E8\u05E4\u05E8`,
|
|
733
|
+
"green": `\u05D9\u05E8\u05D5\u05E7`,
|
|
734
|
+
"green cyan": `\u05E6\u05D9\u05D0\u05DF \u05D9\u05E8\u05D5\u05E7`,
|
|
735
|
+
"hue": `\u05D2\u05D5\u05D5\u05DF`,
|
|
736
|
+
"light": `\u05D0\u05D5\u05E8`,
|
|
737
|
+
"lightness": `\u05DB\u05DE\u05D5\u05EA \u05D0\u05D5\u05E8`,
|
|
738
|
+
"magenta": `\u05DE\u05D2'\u05E0\u05D8\u05D4`,
|
|
739
|
+
"magenta pink": `\u05D5\u05E8\u05D5\u05D3 \u05DE\u05D2'\u05E0\u05D8\u05D4`,
|
|
740
|
+
"orange": `\u05DB\u05EA\u05D5\u05DD`,
|
|
741
|
+
"orange yellow": `\u05DB\u05EA\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1`,
|
|
742
|
+
"pale": `\u05D7\u05D9\u05D5\u05D5\u05E8`,
|
|
743
|
+
"pink": `\u05D5\u05E8\u05D5\u05D3`,
|
|
744
|
+
"pink red": `\u05D5\u05E8\u05D5\u05D3 \u05D0\u05D3\u05D5\u05DD`,
|
|
745
|
+
"purple": `\u05E1\u05D2\u05D5\u05DC`,
|
|
746
|
+
"purple magenta": `\u05DE\u05D2'\u05E0\u05D8\u05D4 \u05E1\u05D2\u05D5\u05DC`,
|
|
747
|
+
"red": `\u05D0\u05D3\u05D5\u05DD`,
|
|
748
|
+
"red orange": `\u05DB\u05EA\u05D5\u05DD \u05D0\u05D3\u05D5\u05DD`,
|
|
749
|
+
"saturation": `\u05E8\u05D5\u05D5\u05D9\u05D4`,
|
|
750
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \u05E9\u05E7\u05D5\u05E3`,
|
|
751
|
+
"very dark": `\u05DB\u05D4\u05D4 \u05DE\u05D0\u05D5\u05D3`,
|
|
752
|
+
"very light": `\u05D1\u05D4\u05D9\u05E8 \u05DE\u05D0\u05D5\u05D3`,
|
|
753
|
+
"vibrant": `\u05EA\u05D5\u05E1\u05E1`,
|
|
754
|
+
"white": `\u05DC\u05D1\u05DF`,
|
|
755
|
+
"yellow": `\u05E6\u05D4\u05D5\u05D1`,
|
|
756
|
+
"yellow green": `\u05E6\u05D4\u05D5\u05D1 \u05D9\u05E8\u05D5\u05E7`
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
// node_modules/react-stately/dist/private/intl/color/hr-HR.mjs
|
|
760
|
+
var $539c3833a6c2e20b$exports = {};
|
|
761
|
+
$539c3833a6c2e20b$exports = {
|
|
762
|
+
"alpha": `Alfa`,
|
|
763
|
+
"black": `crno`,
|
|
764
|
+
"blue": `Plava`,
|
|
765
|
+
"blue purple": `plavo ljubi\u010Dasta`,
|
|
766
|
+
"brightness": `Svjetlina`,
|
|
767
|
+
"brown": `sme\u0111a`,
|
|
768
|
+
"brown yellow": `sme\u0111e \u017Euta`,
|
|
769
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
770
|
+
"cyan": `cijan`,
|
|
771
|
+
"cyan blue": `cijan plava`,
|
|
772
|
+
"dark": `tamno`,
|
|
773
|
+
"gray": `siva`,
|
|
774
|
+
"grayish": `sivkasto`,
|
|
775
|
+
"green": `Zelena`,
|
|
776
|
+
"green cyan": `zelena cijan`,
|
|
777
|
+
"hue": `Nijansa`,
|
|
778
|
+
"light": `svjetlo`,
|
|
779
|
+
"lightness": `Osvijetljenost`,
|
|
780
|
+
"magenta": `magenta`,
|
|
781
|
+
"magenta pink": `magentno ru\u017Ei\u010Dasta`,
|
|
782
|
+
"orange": `naran\u010Dasta`,
|
|
783
|
+
"orange yellow": `naran\u010Dasto \u017Euta`,
|
|
784
|
+
"pale": `blijeda`,
|
|
785
|
+
"pink": `ru\u017Ei\u010Dasta`,
|
|
786
|
+
"pink red": `ru\u017Ei\u010Dasto crvena`,
|
|
787
|
+
"purple": `ljubi\u010Dasta`,
|
|
788
|
+
"purple magenta": `ljubi\u010Dasta magenta`,
|
|
789
|
+
"red": `Crvena`,
|
|
790
|
+
"red orange": `crveno naran\u010Dasta`,
|
|
791
|
+
"saturation": `Zasi\u0107enost`,
|
|
792
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} prozirnosti`,
|
|
793
|
+
"very dark": `jako tamna`,
|
|
794
|
+
"very light": `vrlo svijetlo`,
|
|
795
|
+
"vibrant": `vibrantna`,
|
|
796
|
+
"white": `bijela`,
|
|
797
|
+
"yellow": `\u017Euto`,
|
|
798
|
+
"yellow green": `\u017Euto zelena`
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
// node_modules/react-stately/dist/private/intl/color/hu-HU.mjs
|
|
802
|
+
var $7f6a753aa3e72c6d$exports = {};
|
|
803
|
+
$7f6a753aa3e72c6d$exports = {
|
|
804
|
+
"alpha": `Alfa`,
|
|
805
|
+
"black": `fekete`,
|
|
806
|
+
"blue": `K\xE9k`,
|
|
807
|
+
"blue purple": `k\xE9k lila`,
|
|
808
|
+
"brightness": `F\xE9nyess\xE9g`,
|
|
809
|
+
"brown": `barna`,
|
|
810
|
+
"brown yellow": `barna s\xE1rga`,
|
|
811
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
812
|
+
"cyan": `ci\xE1nk\xE9k`,
|
|
813
|
+
"cyan blue": `ci\xE1nk\xE9k`,
|
|
814
|
+
"dark": `s\xF6t\xE9t`,
|
|
815
|
+
"gray": `sz\xFCrke`,
|
|
816
|
+
"grayish": `sz\xFCrk\xE9s`,
|
|
817
|
+
"green": `Z\xF6ld`,
|
|
818
|
+
"green cyan": `z\xF6ld ci\xE1nk\xE9k`,
|
|
819
|
+
"hue": `Sz\xEDn\xE1rnyalat`,
|
|
820
|
+
"light": `vil\xE1gos`,
|
|
821
|
+
"lightness": `Vil\xE1goss\xE1g`,
|
|
822
|
+
"magenta": `b\xEDbor`,
|
|
823
|
+
"magenta pink": `b\xEDbor r\xF3zsasz\xEDn`,
|
|
824
|
+
"orange": `narancs`,
|
|
825
|
+
"orange yellow": `narancss\xE1rga`,
|
|
826
|
+
"pale": `halv\xE1ny`,
|
|
827
|
+
"pink": `r\xF3zsasz\xEDn`,
|
|
828
|
+
"pink red": `r\xF3zsasz\xEDn piros`,
|
|
829
|
+
"purple": `lila`,
|
|
830
|
+
"purple magenta": `lila b\xEDbor`,
|
|
831
|
+
"red": `Piros`,
|
|
832
|
+
"red orange": `piros narancs`,
|
|
833
|
+
"saturation": `Tel\xEDtetts\xE9g`,
|
|
834
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \xE1tl\xE1tsz\xF3`,
|
|
835
|
+
"very dark": `nagyon s\xF6t\xE9t`,
|
|
836
|
+
"very light": `nagyon vil\xE1gos`,
|
|
837
|
+
"vibrant": `\xE9l\xE9nk`,
|
|
838
|
+
"white": `feh\xE9r`,
|
|
839
|
+
"yellow": `s\xE1rga`,
|
|
840
|
+
"yellow green": `s\xE1rga z\xF6ld`
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
// node_modules/react-stately/dist/private/intl/color/it-IT.mjs
|
|
844
|
+
var $b5c3de7f83e64721$exports = {};
|
|
845
|
+
$b5c3de7f83e64721$exports = {
|
|
846
|
+
"alpha": `Alfa`,
|
|
847
|
+
"black": `nero`,
|
|
848
|
+
"blue": `Blu`,
|
|
849
|
+
"blue purple": `blu viola`,
|
|
850
|
+
"brightness": `Luminosit\xE0`,
|
|
851
|
+
"brown": `marrone`,
|
|
852
|
+
"brown yellow": `giallo bruno`,
|
|
853
|
+
"colorName": (args) => `${args.hue} ${args.chroma} ${args.lightness}`,
|
|
854
|
+
"cyan": `ciano`,
|
|
855
|
+
"cyan blue": `blu ciano`,
|
|
856
|
+
"dark": `scuro`,
|
|
857
|
+
"gray": `grigio`,
|
|
858
|
+
"grayish": `grigiastro`,
|
|
859
|
+
"green": `Verde`,
|
|
860
|
+
"green cyan": `verde ciano`,
|
|
861
|
+
"hue": `Tonalit\xE0`,
|
|
862
|
+
"light": `chiaro`,
|
|
863
|
+
"lightness": `Luminosit\xE0`,
|
|
864
|
+
"magenta": `magenta`,
|
|
865
|
+
"magenta pink": `rosa magenta`,
|
|
866
|
+
"orange": `arancio`,
|
|
867
|
+
"orange yellow": `giallo arancio`,
|
|
868
|
+
"pale": `tenue`,
|
|
869
|
+
"pink": `rosa`,
|
|
870
|
+
"pink red": `rosa rosso`,
|
|
871
|
+
"purple": `viola`,
|
|
872
|
+
"purple magenta": `viola magenta`,
|
|
873
|
+
"red": `Rosso`,
|
|
874
|
+
"red orange": `rosso arancio`,
|
|
875
|
+
"saturation": `Saturazione`,
|
|
876
|
+
"transparentColorName": (args) => `${args.hue} ${args.chroma} ${args.lightness}, trasparenza ${args.percentTransparent}`,
|
|
877
|
+
"very dark": `molto scuro`,
|
|
878
|
+
"very light": `molto chiaro`,
|
|
879
|
+
"vibrant": `vivace`,
|
|
880
|
+
"white": `bianco`,
|
|
881
|
+
"yellow": `giallo`,
|
|
882
|
+
"yellow green": `giallo verde`
|
|
883
|
+
};
|
|
884
|
+
|
|
885
|
+
// node_modules/react-stately/dist/private/intl/color/ja-JP.mjs
|
|
886
|
+
var $30e30b94393be6f6$exports = {};
|
|
887
|
+
$30e30b94393be6f6$exports = {
|
|
888
|
+
"alpha": `\u30A2\u30EB\u30D5\u30A1`,
|
|
889
|
+
"black": `\u30D6\u30E9\u30C3\u30AF`,
|
|
890
|
+
"blue": `\u9752`,
|
|
891
|
+
"blue purple": `\u30D6\u30EB\u30FC\u30D1\u30FC\u30D7\u30EB`,
|
|
892
|
+
"brightness": `\u660E\u308B\u3055`,
|
|
893
|
+
"brown": `\u30D6\u30E9\u30A6\u30F3`,
|
|
894
|
+
"brown yellow": `\u30D6\u30E9\u30A6\u30F3\u30A4\u30A8\u30ED\u30FC`,
|
|
895
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
896
|
+
"cyan": `\u30B7\u30A2\u30F3`,
|
|
897
|
+
"cyan blue": `\u30B7\u30A2\u30F3\u30D6\u30EB\u30FC`,
|
|
898
|
+
"dark": `\u30C0\u30FC\u30AF`,
|
|
899
|
+
"gray": `\u30B0\u30EC\u30FC`,
|
|
900
|
+
"grayish": `\u30B0\u30EC\u30A4\u30C3\u30B7\u30E5`,
|
|
901
|
+
"green": `\u7DD1`,
|
|
902
|
+
"green cyan": `\u30B0\u30EA\u30FC\u30F3\u30B7\u30A2\u30F3`,
|
|
903
|
+
"hue": `\u8272\u76F8`,
|
|
904
|
+
"light": `\u30E9\u30A4\u30C8`,
|
|
905
|
+
"lightness": `\u660E\u5EA6`,
|
|
906
|
+
"magenta": `\u30DE\u30BC\u30F3\u30BF`,
|
|
907
|
+
"magenta pink": `\u30DE\u30BC\u30F3\u30BF\u30D4\u30F3\u30AF`,
|
|
908
|
+
"orange": `\u30AA\u30EC\u30F3\u30B8`,
|
|
909
|
+
"orange yellow": `\u30AA\u30EC\u30F3\u30B8\u30A4\u30A8\u30ED\u30FC`,
|
|
910
|
+
"pale": `\u30DA\u30FC\u30EB`,
|
|
911
|
+
"pink": `\u30D4\u30F3\u30AF`,
|
|
912
|
+
"pink red": `\u30D4\u30F3\u30AF\u30EC\u30C3\u30C9`,
|
|
913
|
+
"purple": `\u30D1\u30FC\u30D7\u30EB`,
|
|
914
|
+
"purple magenta": `\u30D1\u30FC\u30D7\u30EB\u30DE\u30BC\u30F3\u30BF`,
|
|
915
|
+
"red": `\u8D64`,
|
|
916
|
+
"red orange": `\u30EC\u30C3\u30C9\u30AA\u30EC\u30F3\u30B8`,
|
|
917
|
+
"saturation": `\u5F69\u5EA6`,
|
|
918
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \u900F\u660E`,
|
|
919
|
+
"very dark": `\u6700\u3082\u6697\u3044`,
|
|
920
|
+
"very light": `\u30D9\u30EA\u30FC\u30E9\u30A4\u30C8`,
|
|
921
|
+
"vibrant": `\u9BAE\u3084\u304B`,
|
|
922
|
+
"white": `\u30DB\u30EF\u30A4\u30C8`,
|
|
923
|
+
"yellow": `\u30A4\u30A8\u30ED\u30FC`,
|
|
924
|
+
"yellow green": `\u30A4\u30A8\u30ED\u30FC\u30B0\u30EA\u30FC\u30F3`
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
// node_modules/react-stately/dist/private/intl/color/ko-KR.mjs
|
|
928
|
+
var $df8867b82a73bdb3$exports = {};
|
|
929
|
+
$df8867b82a73bdb3$exports = {
|
|
930
|
+
"alpha": `\uC54C\uD30C`,
|
|
931
|
+
"black": `\uAC80\uC740\uC0C9`,
|
|
932
|
+
"blue": `\uD30C\uB791`,
|
|
933
|
+
"blue purple": `\uCCAD\uC790\uC0C9`,
|
|
934
|
+
"brightness": `\uBA85\uB3C4`,
|
|
935
|
+
"brown": `\uAC08\uC0C9`,
|
|
936
|
+
"brown yellow": `\uD669\uAC08\uC0C9`,
|
|
937
|
+
"colorName": (args) => `${args.lightness}, ${args.chroma}, ${args.hue}`,
|
|
938
|
+
"cyan": `\uCCAD\uB85D\uC0C9`,
|
|
939
|
+
"cyan blue": `\uCCAD\uB85D\uC0C9`,
|
|
940
|
+
"dark": `\uB2E4\uD06C`,
|
|
941
|
+
"gray": `\uD68C\uC0C9`,
|
|
942
|
+
"grayish": `\uD68C\uAC08\uC0C9`,
|
|
943
|
+
"green": `\uCD08\uB85D`,
|
|
944
|
+
"green cyan": `\uCCAD\uB85D\uC0C9`,
|
|
945
|
+
"hue": `\uC0C9\uC870`,
|
|
946
|
+
"light": `\uB77C\uC774\uD2B8`,
|
|
947
|
+
"lightness": `\uBC1D\uAE30`,
|
|
948
|
+
"magenta": `\uC790\uD64D\uC0C9`,
|
|
949
|
+
"magenta pink": `\uB9C8\uC820\uD0C0 \uD551\uD06C`,
|
|
950
|
+
"orange": `\uC8FC\uD669\uC0C9`,
|
|
951
|
+
"orange yellow": `\uBD88\uADF8\uC2A4\uB984\uD55C \uB178\uB791`,
|
|
952
|
+
"pale": `\uD759\uC0C9`,
|
|
953
|
+
"pink": `\uBD84\uD64D\uC0C9`,
|
|
954
|
+
"pink red": `\uD551\uD06C \uB808\uB4DC`,
|
|
955
|
+
"purple": `\uC790\uC8FC\uC0C9`,
|
|
956
|
+
"purple magenta": `\uBCF4\uB77C\uBE5B \uC790\uD64D\uC0C9`,
|
|
957
|
+
"red": `\uBE68\uAC15`,
|
|
958
|
+
"red orange": `\uBD89\uC740 \uC8FC\uD669\uC0C9`,
|
|
959
|
+
"saturation": `\uCC44\uB3C4`,
|
|
960
|
+
"transparentColorName": (args) => `${args.lightness}, ${args.chroma}, ${args.hue}, ${args.percentTransparent} \uD22C\uBA85\uB3C4`,
|
|
961
|
+
"very dark": `\uB9E4\uC6B0 \uC5B4\uB450\uC6B4`,
|
|
962
|
+
"very light": `\uB9E4\uC6B0 \uC5F0\uD568`,
|
|
963
|
+
"vibrant": `\uAC15\uB82C\uD55C`,
|
|
964
|
+
"white": `\uD770\uC0C9`,
|
|
965
|
+
"yellow": `\uB178\uB780\uC0C9`,
|
|
966
|
+
"yellow green": `\uC5F0\uB450\uC0C9`
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
// node_modules/react-stately/dist/private/intl/color/lt-LT.mjs
|
|
970
|
+
var $390173bd3451fe74$exports = {};
|
|
971
|
+
$390173bd3451fe74$exports = {
|
|
972
|
+
"alpha": `Alfa`,
|
|
973
|
+
"black": `juoda`,
|
|
974
|
+
"blue": `M\u0117lyna`,
|
|
975
|
+
"blue purple": `melsvai violetin\u0117`,
|
|
976
|
+
"brightness": `Ry\u0161kumas`,
|
|
977
|
+
"brown": `ruda`,
|
|
978
|
+
"brown yellow": `rusvai geltona`,
|
|
979
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
980
|
+
"cyan": `\u017Ealsvai m\u0117lyna`,
|
|
981
|
+
"cyan blue": `\u017Ealsvai m\u0117lyna`,
|
|
982
|
+
"dark": `tamsi`,
|
|
983
|
+
"gray": `pilka`,
|
|
984
|
+
"grayish": `pilk\u0161va`,
|
|
985
|
+
"green": `\u017Dalia`,
|
|
986
|
+
"green cyan": `\u017Ealsvai m\u0117lyna`,
|
|
987
|
+
"hue": `Atspalvis`,
|
|
988
|
+
"light": `\u0161viesi`,
|
|
989
|
+
"lightness": `\u0160viesumas`,
|
|
990
|
+
"magenta": `rausvai raudona`,
|
|
991
|
+
"magenta pink": `purpurin\u0117`,
|
|
992
|
+
"orange": `oran\u017Ein\u0117`,
|
|
993
|
+
"orange yellow": `oran\u017Einio atspalvio geltona`,
|
|
994
|
+
"pale": `bly\u0161ki`,
|
|
995
|
+
"pink": `ro\u017Ein\u0117`,
|
|
996
|
+
"pink red": `ro\u017Ein\u0117 raudona`,
|
|
997
|
+
"purple": `violetin\u0117`,
|
|
998
|
+
"purple magenta": `purpurin\u0117 rausvai raudona`,
|
|
999
|
+
"red": `Raudona`,
|
|
1000
|
+
"red orange": `rausvai oran\u017Ein\u0117`,
|
|
1001
|
+
"saturation": `\u012Esotinimas`,
|
|
1002
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} skaidri`,
|
|
1003
|
+
"very dark": `labai tamsi`,
|
|
1004
|
+
"very light": `labai \u0161viesi`,
|
|
1005
|
+
"vibrant": `ry\u0161ki`,
|
|
1006
|
+
"white": `balta`,
|
|
1007
|
+
"yellow": `geltona`,
|
|
1008
|
+
"yellow green": `gelsvai \u017Ealia`
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
// node_modules/react-stately/dist/private/intl/color/lv-LV.mjs
|
|
1012
|
+
var $8874424bc229db3e$exports = {};
|
|
1013
|
+
$8874424bc229db3e$exports = {
|
|
1014
|
+
"alpha": `Alfa`,
|
|
1015
|
+
"black": `melns`,
|
|
1016
|
+
"blue": `Zila`,
|
|
1017
|
+
"blue purple": `zili violets`,
|
|
1018
|
+
"brightness": `Spilgtums`,
|
|
1019
|
+
"brown": `br\u016Bns`,
|
|
1020
|
+
"brown yellow": `br\u016Bni dzeltens`,
|
|
1021
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1022
|
+
"cyan": `ci\u0101ns`,
|
|
1023
|
+
"cyan blue": `ci\u0101na zils`,
|
|
1024
|
+
"dark": `tum\u0161s`,
|
|
1025
|
+
"gray": `pel\u0113ks`,
|
|
1026
|
+
"grayish": `pel\u0113c\u012Bgs`,
|
|
1027
|
+
"green": `Za\u013Ca`,
|
|
1028
|
+
"green cyan": `za\u013C\u0161 ci\u0101ns`,
|
|
1029
|
+
"hue": `Nokr\u0101sa`,
|
|
1030
|
+
"light": `gai\u0161s`,
|
|
1031
|
+
"lightness": `Gai\u0161ums`,
|
|
1032
|
+
"magenta": `fuksiju`,
|
|
1033
|
+
"magenta pink": `fuksiju roz\u0101`,
|
|
1034
|
+
"orange": `oran\u017Es`,
|
|
1035
|
+
"orange yellow": `oran\u017Ei dzeltens`,
|
|
1036
|
+
"pale": `b\u0101ls`,
|
|
1037
|
+
"pink": `roz\u0101`,
|
|
1038
|
+
"pink red": `roz\u012Bgi sarkans`,
|
|
1039
|
+
"purple": `violets`,
|
|
1040
|
+
"purple magenta": `violets fuksiju`,
|
|
1041
|
+
"red": `Sarkana`,
|
|
1042
|
+
"red orange": `sarkan\u012Bgi oran\u017Es`,
|
|
1043
|
+
"saturation": `Pies\u0101tin\u0101jums`,
|
|
1044
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} caursp\u012Bd\u012Bgs`,
|
|
1045
|
+
"very dark": `\u013Coti tum\u0161s`,
|
|
1046
|
+
"very light": `\u013Coti gai\u0161s`,
|
|
1047
|
+
"vibrant": `ko\u0161s`,
|
|
1048
|
+
"white": `balts`,
|
|
1049
|
+
"yellow": `dzeltens`,
|
|
1050
|
+
"yellow green": `dzelteni za\u013C\u0161`
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
// node_modules/react-stately/dist/private/intl/color/nb-NO.mjs
|
|
1054
|
+
var $f7492ce78db8051b$exports = {};
|
|
1055
|
+
$f7492ce78db8051b$exports = {
|
|
1056
|
+
"alpha": `Alfa`,
|
|
1057
|
+
"black": `svart`,
|
|
1058
|
+
"blue": `Bl\xE5`,
|
|
1059
|
+
"blue purple": `bl\xE5lilla`,
|
|
1060
|
+
"brightness": `Lysstyrke`,
|
|
1061
|
+
"brown": `brun`,
|
|
1062
|
+
"brown yellow": `brungul`,
|
|
1063
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1064
|
+
"cyan": `cyan`,
|
|
1065
|
+
"cyan blue": `cyanbl\xE5`,
|
|
1066
|
+
"dark": `m\xF8rk`,
|
|
1067
|
+
"gray": `gr\xE5`,
|
|
1068
|
+
"grayish": `gr\xE5aktig`,
|
|
1069
|
+
"green": `Gr\xF8nn`,
|
|
1070
|
+
"green cyan": `gr\xF8nncyan`,
|
|
1071
|
+
"hue": `Fargetone`,
|
|
1072
|
+
"light": `lys`,
|
|
1073
|
+
"lightness": `Lyshet`,
|
|
1074
|
+
"magenta": `magenta`,
|
|
1075
|
+
"magenta pink": `magentarosa`,
|
|
1076
|
+
"orange": `oransje`,
|
|
1077
|
+
"orange yellow": `oransjegul`,
|
|
1078
|
+
"pale": `blek`,
|
|
1079
|
+
"pink": `rosa`,
|
|
1080
|
+
"pink red": `rosar\xF8d`,
|
|
1081
|
+
"purple": `lilla`,
|
|
1082
|
+
"purple magenta": `lillamagenta`,
|
|
1083
|
+
"red": `R\xF8d`,
|
|
1084
|
+
"red orange": `r\xF8doransje`,
|
|
1085
|
+
"saturation": `Metning`,
|
|
1086
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} gjennomsiktig`,
|
|
1087
|
+
"very dark": `sv\xE6rt m\xF8rk`,
|
|
1088
|
+
"very light": `sv\xE6rt lys`,
|
|
1089
|
+
"vibrant": `levende`,
|
|
1090
|
+
"white": `hvit`,
|
|
1091
|
+
"yellow": `gul`,
|
|
1092
|
+
"yellow green": `gulgr\xF8nn`
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
// node_modules/react-stately/dist/private/intl/color/nl-NL.mjs
|
|
1096
|
+
var $df6c7957db097c77$exports = {};
|
|
1097
|
+
$df6c7957db097c77$exports = {
|
|
1098
|
+
"alpha": `Alfa`,
|
|
1099
|
+
"black": `zwart`,
|
|
1100
|
+
"blue": `Blauw`,
|
|
1101
|
+
"blue purple": `paarsblauw`,
|
|
1102
|
+
"brightness": `Helderheid`,
|
|
1103
|
+
"brown": `bruin`,
|
|
1104
|
+
"brown yellow": `bruingeel`,
|
|
1105
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1106
|
+
"cyan": `cyaan`,
|
|
1107
|
+
"cyan blue": `cyaanblauw`,
|
|
1108
|
+
"dark": `donker`,
|
|
1109
|
+
"gray": `grijs`,
|
|
1110
|
+
"grayish": `grijsachtig`,
|
|
1111
|
+
"green": `Groen`,
|
|
1112
|
+
"green cyan": `cyaangroen`,
|
|
1113
|
+
"hue": `Kleurtoon`,
|
|
1114
|
+
"light": `licht`,
|
|
1115
|
+
"lightness": `Lichtsterkte`,
|
|
1116
|
+
"magenta": `magenta`,
|
|
1117
|
+
"magenta pink": `magentaroze`,
|
|
1118
|
+
"orange": `oranje`,
|
|
1119
|
+
"orange yellow": `oranjegeel`,
|
|
1120
|
+
"pale": `bleek`,
|
|
1121
|
+
"pink": `roze`,
|
|
1122
|
+
"pink red": `rozerood`,
|
|
1123
|
+
"purple": `paars`,
|
|
1124
|
+
"purple magenta": `magentapaars`,
|
|
1125
|
+
"red": `Rood`,
|
|
1126
|
+
"red orange": `roodoranje`,
|
|
1127
|
+
"saturation": `Verzadiging`,
|
|
1128
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} transparant`,
|
|
1129
|
+
"very dark": `heel donker`,
|
|
1130
|
+
"very light": `heel licht`,
|
|
1131
|
+
"vibrant": `levendig`,
|
|
1132
|
+
"white": `wit`,
|
|
1133
|
+
"yellow": `geel`,
|
|
1134
|
+
"yellow green": `geelgroen`
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
// node_modules/react-stately/dist/private/intl/color/pl-PL.mjs
|
|
1138
|
+
var $44f0438f6ac7145a$exports = {};
|
|
1139
|
+
$44f0438f6ac7145a$exports = {
|
|
1140
|
+
"alpha": `Alfa`,
|
|
1141
|
+
"black": `czarny`,
|
|
1142
|
+
"blue": `Niebieski`,
|
|
1143
|
+
"blue purple": `niebiesko-fioletowy`,
|
|
1144
|
+
"brightness": `Jasno\u015B\u0107`,
|
|
1145
|
+
"brown": `br\u0105zowy`,
|
|
1146
|
+
"brown yellow": `br\u0105zowo-\u017C\xF3\u0142ty`,
|
|
1147
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1148
|
+
"cyan": `cyjanowy`,
|
|
1149
|
+
"cyan blue": `cyjanowo-niebieski`,
|
|
1150
|
+
"dark": `ciemny`,
|
|
1151
|
+
"gray": `szary`,
|
|
1152
|
+
"grayish": `szarawy`,
|
|
1153
|
+
"green": `Zielony`,
|
|
1154
|
+
"green cyan": `zielono-cyjanowy`,
|
|
1155
|
+
"hue": `Odcie\u0144`,
|
|
1156
|
+
"light": `jasny`,
|
|
1157
|
+
"lightness": `Jaskrawo\u015B\u0107`,
|
|
1158
|
+
"magenta": `purpurowy`,
|
|
1159
|
+
"magenta pink": `purpurowo-r\xF3\u017Cowy`,
|
|
1160
|
+
"orange": `pomara\u0144czowy`,
|
|
1161
|
+
"orange yellow": `pomara\u0144czowo-\u017C\xF3\u0142ty`,
|
|
1162
|
+
"pale": `blady`,
|
|
1163
|
+
"pink": `r\xF3\u017Cowy`,
|
|
1164
|
+
"pink red": `r\xF3\u017Cowo-czerwony`,
|
|
1165
|
+
"purple": `fioletowy`,
|
|
1166
|
+
"purple magenta": `fioletowo-purpurowy`,
|
|
1167
|
+
"red": `Czerwony`,
|
|
1168
|
+
"red orange": `czerwono-pomara\u0144czowy`,
|
|
1169
|
+
"saturation": `Nasycenie`,
|
|
1170
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} przezroczysto\u015Bci`,
|
|
1171
|
+
"very dark": `bardzo ciemny`,
|
|
1172
|
+
"very light": `bardzo jasny`,
|
|
1173
|
+
"vibrant": `intensywny`,
|
|
1174
|
+
"white": `bia\u0142y`,
|
|
1175
|
+
"yellow": `\u017C\xF3\u0142ty`,
|
|
1176
|
+
"yellow green": `\u017C\xF3\u0142to-zielony`
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
// node_modules/react-stately/dist/private/intl/color/pt-BR.mjs
|
|
1180
|
+
var $8a75ab7961de49d7$exports = {};
|
|
1181
|
+
$8a75ab7961de49d7$exports = {
|
|
1182
|
+
"alpha": `Alfa`,
|
|
1183
|
+
"black": `preto`,
|
|
1184
|
+
"blue": `Azul`,
|
|
1185
|
+
"blue purple": `roxo azulado`,
|
|
1186
|
+
"brightness": `Brilho`,
|
|
1187
|
+
"brown": `marrom`,
|
|
1188
|
+
"brown yellow": `marrom amarelado`,
|
|
1189
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1190
|
+
"cyan": `ciano`,
|
|
1191
|
+
"cyan blue": `azul-ciano`,
|
|
1192
|
+
"dark": `escuro`,
|
|
1193
|
+
"gray": `cinza`,
|
|
1194
|
+
"grayish": `acinzentado`,
|
|
1195
|
+
"green": `Verde`,
|
|
1196
|
+
"green cyan": `verde-ciano`,
|
|
1197
|
+
"hue": `Matiz`,
|
|
1198
|
+
"light": `claro`,
|
|
1199
|
+
"lightness": `Luminosidade`,
|
|
1200
|
+
"magenta": `magenta`,
|
|
1201
|
+
"magenta pink": `rosa-magenta`,
|
|
1202
|
+
"orange": `laranja`,
|
|
1203
|
+
"orange yellow": `amarelo alaranjado`,
|
|
1204
|
+
"pale": `p\xE1lido`,
|
|
1205
|
+
"pink": `rosa`,
|
|
1206
|
+
"pink red": `rosa avermelhado`,
|
|
1207
|
+
"purple": `roxo`,
|
|
1208
|
+
"purple magenta": `roxo-magenta`,
|
|
1209
|
+
"red": `Vermelho`,
|
|
1210
|
+
"red orange": `laranja avermelhado`,
|
|
1211
|
+
"saturation": `Satura\xE7\xE3o`,
|
|
1212
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} transparente`,
|
|
1213
|
+
"very dark": `muito escuro`,
|
|
1214
|
+
"very light": `muito claro`,
|
|
1215
|
+
"vibrant": `vibrante`,
|
|
1216
|
+
"white": `branco`,
|
|
1217
|
+
"yellow": `amarelo`,
|
|
1218
|
+
"yellow green": `verde amarelado`
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
// node_modules/react-stately/dist/private/intl/color/pt-PT.mjs
|
|
1222
|
+
var $3648ea0dfef1e48a$exports = {};
|
|
1223
|
+
$3648ea0dfef1e48a$exports = {
|
|
1224
|
+
"alpha": `Alfa`,
|
|
1225
|
+
"black": `preto`,
|
|
1226
|
+
"blue": `Azul`,
|
|
1227
|
+
"blue purple": `azul-p\xFArpura`,
|
|
1228
|
+
"brightness": `Luminosidade`,
|
|
1229
|
+
"brown": `castanho`,
|
|
1230
|
+
"brown yellow": `amarelo-castanho`,
|
|
1231
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1232
|
+
"cyan": `ciano`,
|
|
1233
|
+
"cyan blue": `azul-ciano`,
|
|
1234
|
+
"dark": `escuro`,
|
|
1235
|
+
"gray": `cinzento`,
|
|
1236
|
+
"grayish": `acinzentado`,
|
|
1237
|
+
"green": `Verde`,
|
|
1238
|
+
"green cyan": `verde-ciano`,
|
|
1239
|
+
"hue": `Tonalidade`,
|
|
1240
|
+
"light": `claro`,
|
|
1241
|
+
"lightness": `Claridade`,
|
|
1242
|
+
"magenta": `magenta`,
|
|
1243
|
+
"magenta pink": `rosa-magenta`,
|
|
1244
|
+
"orange": `laranja`,
|
|
1245
|
+
"orange yellow": `amarelo-laranja`,
|
|
1246
|
+
"pale": `p\xE1lido`,
|
|
1247
|
+
"pink": `cor-de-rosa`,
|
|
1248
|
+
"pink red": `vermelho-rosa`,
|
|
1249
|
+
"purple": `p\xFArpura`,
|
|
1250
|
+
"purple magenta": `p\xFArpura-magenta`,
|
|
1251
|
+
"red": `Vermelho`,
|
|
1252
|
+
"red orange": `laranja-vermelho`,
|
|
1253
|
+
"saturation": `Satura\xE7\xE3o`,
|
|
1254
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} transparente`,
|
|
1255
|
+
"very dark": `muito escuro`,
|
|
1256
|
+
"very light": `muito claro`,
|
|
1257
|
+
"vibrant": `vibrante`,
|
|
1258
|
+
"white": `branco`,
|
|
1259
|
+
"yellow": `amarelo`,
|
|
1260
|
+
"yellow green": `verde-amarelo`
|
|
1261
|
+
};
|
|
1262
|
+
|
|
1263
|
+
// node_modules/react-stately/dist/private/intl/color/ro-RO.mjs
|
|
1264
|
+
var $14b4e95a3fa0c42c$exports = {};
|
|
1265
|
+
$14b4e95a3fa0c42c$exports = {
|
|
1266
|
+
"alpha": `Alfa`,
|
|
1267
|
+
"black": `negru`,
|
|
1268
|
+
"blue": `Albastru`,
|
|
1269
|
+
"blue purple": `albastru-violet`,
|
|
1270
|
+
"brightness": `Luminozitate`,
|
|
1271
|
+
"brown": `maro`,
|
|
1272
|
+
"brown yellow": `galben maro`,
|
|
1273
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1274
|
+
"cyan": `bleu`,
|
|
1275
|
+
"cyan blue": `albastru-bleu`,
|
|
1276
|
+
"dark": `\xEEnchis`,
|
|
1277
|
+
"gray": `gri`,
|
|
1278
|
+
"grayish": `cenu\u0219iu`,
|
|
1279
|
+
"green": `Verde`,
|
|
1280
|
+
"green cyan": `verde bleu`,
|
|
1281
|
+
"hue": `Nuan\u021B\u0103`,
|
|
1282
|
+
"light": `deschis`,
|
|
1283
|
+
"lightness": `Luminozitate`,
|
|
1284
|
+
"magenta": `fucsia`,
|
|
1285
|
+
"magenta pink": `roz-fucsia`,
|
|
1286
|
+
"orange": `portocaliu`,
|
|
1287
|
+
"orange yellow": `galben-portocaliu`,
|
|
1288
|
+
"pale": `pal`,
|
|
1289
|
+
"pink": `roz`,
|
|
1290
|
+
"pink red": `roz-ro\u0219u`,
|
|
1291
|
+
"purple": `violet`,
|
|
1292
|
+
"purple magenta": `violet-fucsia`,
|
|
1293
|
+
"red": `Ro\u0219u`,
|
|
1294
|
+
"red orange": `portocaliu-ro\u0219u`,
|
|
1295
|
+
"saturation": `Satura\u021Bie`,
|
|
1296
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} transparent`,
|
|
1297
|
+
"very dark": `foarte \xEEnchis`,
|
|
1298
|
+
"very light": `foarte deschis`,
|
|
1299
|
+
"vibrant": `plin de via\u021B\u0103`,
|
|
1300
|
+
"white": `alb`,
|
|
1301
|
+
"yellow": `galben`,
|
|
1302
|
+
"yellow green": `galben-verde`
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
// node_modules/react-stately/dist/private/intl/color/ru-RU.mjs
|
|
1306
|
+
var $1a8e80058ee5c8e8$exports = {};
|
|
1307
|
+
$1a8e80058ee5c8e8$exports = {
|
|
1308
|
+
"alpha": `\u0410\u043B\u044C\u0444\u0430`,
|
|
1309
|
+
"black": `\u0447\u0435\u0440\u043D\u044B\u0439`,
|
|
1310
|
+
"blue": `\u0421\u0438\u043D\u0438\u0439`,
|
|
1311
|
+
"blue purple": `\u0441\u0438\u043D\u0435-\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439`,
|
|
1312
|
+
"brightness": `\u042F\u0440\u043A\u043E\u0441\u0442\u044C`,
|
|
1313
|
+
"brown": `\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0439`,
|
|
1314
|
+
"brown yellow": `\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439`,
|
|
1315
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1316
|
+
"cyan": `\u0433\u043E\u043B\u0443\u0431\u043E\u0439`,
|
|
1317
|
+
"cyan blue": `\u0446\u0432\u0435\u0442 \u043C\u043E\u0440\u0441\u043A\u043E\u0439 \u0432\u043E\u043B\u043D\u044B`,
|
|
1318
|
+
"dark": `\u0442\u0435\u043C\u043D\u044B\u0439`,
|
|
1319
|
+
"gray": `\u0441\u0435\u0440\u044B\u0439`,
|
|
1320
|
+
"grayish": `\u0441\u0435\u0440\u043E\u0432\u0430\u0442\u044B\u0439`,
|
|
1321
|
+
"green": `\u0417\u0435\u043B\u0435\u043D\u044B\u0439`,
|
|
1322
|
+
"green cyan": `\u0441\u0438\u043D\u0435-\u0437\u0435\u043B\u0435\u043D\u044B\u0439`,
|
|
1323
|
+
"hue": `\u041E\u0442\u0442\u0435\u043D\u043E\u043A`,
|
|
1324
|
+
"light": `\u0441\u0432\u0435\u0442\u043B\u044B\u0439`,
|
|
1325
|
+
"lightness": `\u041E\u0441\u0432\u0435\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C`,
|
|
1326
|
+
"magenta": `\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439`,
|
|
1327
|
+
"magenta pink": `\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u043E-\u0440\u043E\u0437\u043E\u0432\u044B\u0439`,
|
|
1328
|
+
"orange": `\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439`,
|
|
1329
|
+
"orange yellow": `\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439`,
|
|
1330
|
+
"pale": `\u0431\u043B\u0435\u0434\u043D\u044B\u0439`,
|
|
1331
|
+
"pink": `\u0440\u043E\u0437\u043E\u0432\u044B\u0439`,
|
|
1332
|
+
"pink red": `\u0440\u043E\u0437\u043E\u0432\u043E-\u043A\u0440\u0430\u0441\u043D\u044B\u0439`,
|
|
1333
|
+
"purple": `\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439`,
|
|
1334
|
+
"purple magenta": `\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439`,
|
|
1335
|
+
"red": `\u041A\u0440\u0430\u0441\u043D\u044B\u0439`,
|
|
1336
|
+
"red orange": `\u043A\u0440\u0430\u0441\u043D\u043E-\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439`,
|
|
1337
|
+
"saturation": `\u041D\u0430\u0441\u044B\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C`,
|
|
1338
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439 \u043D\u0430 ${args.percentTransparent}`,
|
|
1339
|
+
"very dark": `\u043E\u0447\u0435\u043D\u044C \u0442\u0435\u043C\u043D\u044B\u0439`,
|
|
1340
|
+
"very light": `\u043E\u0447\u0435\u043D\u044C \u0441\u0432\u0435\u0442\u043B\u044B\u0439`,
|
|
1341
|
+
"vibrant": `\u044F\u0440\u043A\u0438\u0439`,
|
|
1342
|
+
"white": `\u0431\u0435\u043B\u044B\u0439`,
|
|
1343
|
+
"yellow": `\u0436\u0435\u043B\u0442\u044B\u0439`,
|
|
1344
|
+
"yellow green": `\u0436\u0435\u043B\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u044B\u0439`
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
// node_modules/react-stately/dist/private/intl/color/sk-SK.mjs
|
|
1348
|
+
var $c2f9fb5b2855a5d6$exports = {};
|
|
1349
|
+
$c2f9fb5b2855a5d6$exports = {
|
|
1350
|
+
"alpha": `Alfa`,
|
|
1351
|
+
"black": `\u010Dierna`,
|
|
1352
|
+
"blue": `Modr\xE1`,
|
|
1353
|
+
"blue purple": `modrofialov\xE1`,
|
|
1354
|
+
"brightness": `Jas`,
|
|
1355
|
+
"brown": `hned\xE1`,
|
|
1356
|
+
"brown yellow": `hnedo\u017Elt\xE1`,
|
|
1357
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1358
|
+
"cyan": `az\xFArov\xE1`,
|
|
1359
|
+
"cyan blue": `az\xFArov\xE1 modr\xE1`,
|
|
1360
|
+
"dark": `tmav\xE1`,
|
|
1361
|
+
"gray": `siv\xE1`,
|
|
1362
|
+
"grayish": `sivast\xE1`,
|
|
1363
|
+
"green": `Zelen\xE1`,
|
|
1364
|
+
"green cyan": `zelen\xE1 az\xFArov\xE1`,
|
|
1365
|
+
"hue": `Odtie\u0148`,
|
|
1366
|
+
"light": `svetl\xE1`,
|
|
1367
|
+
"lightness": `Svetlos\u0165`,
|
|
1368
|
+
"magenta": `purpurov\xE1`,
|
|
1369
|
+
"magenta pink": `ru\u017Eov\xE1 purpurov\xE1`,
|
|
1370
|
+
"orange": `oran\u017Eov\xE1`,
|
|
1371
|
+
"orange yellow": `oran\u017Eovo\u017Elt\xE1`,
|
|
1372
|
+
"pale": `bled\xE1`,
|
|
1373
|
+
"pink": `ru\u017Eov\xE1`,
|
|
1374
|
+
"pink red": `ru\u017Eovo\u010Derven\xE1`,
|
|
1375
|
+
"purple": `fialov\xE1`,
|
|
1376
|
+
"purple magenta": `fialov\xE1 purpurov\xE1`,
|
|
1377
|
+
"red": `\u010Cerven\xE1`,
|
|
1378
|
+
"red orange": `\u010Dervenooran\u017Eov\xE1`,
|
|
1379
|
+
"saturation": `S\xFDtos\u0165`,
|
|
1380
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} prieh\u013Eadn\xE1`,
|
|
1381
|
+
"very dark": `ve\u013Emi tmav\xE1`,
|
|
1382
|
+
"very light": `ve\u013Emi svetl\xE1`,
|
|
1383
|
+
"vibrant": `energick\xE1`,
|
|
1384
|
+
"white": `biela`,
|
|
1385
|
+
"yellow": `\u017Elt\xE1`,
|
|
1386
|
+
"yellow green": `\u017Eltozelen\xE1`
|
|
1387
|
+
};
|
|
1388
|
+
|
|
1389
|
+
// node_modules/react-stately/dist/private/intl/color/sl-SI.mjs
|
|
1390
|
+
var $c5aa45c5d5ce4d33$exports = {};
|
|
1391
|
+
$c5aa45c5d5ce4d33$exports = {
|
|
1392
|
+
"alpha": `Alfa`,
|
|
1393
|
+
"black": `\u010Drna`,
|
|
1394
|
+
"blue": `Modra`,
|
|
1395
|
+
"blue purple": `modro vijoli\u010Dna`,
|
|
1396
|
+
"brightness": `Svetlost`,
|
|
1397
|
+
"brown": `rjava`,
|
|
1398
|
+
"brown yellow": `rjavo rumena`,
|
|
1399
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1400
|
+
"cyan": `cian`,
|
|
1401
|
+
"cyan blue": `cian modra`,
|
|
1402
|
+
"dark": `temna`,
|
|
1403
|
+
"gray": `siva`,
|
|
1404
|
+
"grayish": `sivkasta`,
|
|
1405
|
+
"green": `Zelena`,
|
|
1406
|
+
"green cyan": `zelena cian`,
|
|
1407
|
+
"hue": `Barva`,
|
|
1408
|
+
"light": `svetla`,
|
|
1409
|
+
"lightness": `Lahkost`,
|
|
1410
|
+
"magenta": `\u0161krlatna`,
|
|
1411
|
+
"magenta pink": `\u0161krlatno roza`,
|
|
1412
|
+
"orange": `oran\u017Ena`,
|
|
1413
|
+
"orange yellow": `oran\u017Eno rumena`,
|
|
1414
|
+
"pale": `bleda`,
|
|
1415
|
+
"pink": `roza`,
|
|
1416
|
+
"pink red": `roza rde\u010Da`,
|
|
1417
|
+
"purple": `vijoli\u010Dna`,
|
|
1418
|
+
"purple magenta": `vijoli\u010Dno \u0161krlatna`,
|
|
1419
|
+
"red": `Rde\u010Da`,
|
|
1420
|
+
"red orange": `rde\u010De oran\u017Ena`,
|
|
1421
|
+
"saturation": `Nasi\u010Denost`,
|
|
1422
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} prozorna`,
|
|
1423
|
+
"very dark": `zelo temna`,
|
|
1424
|
+
"very light": `zelo svetla`,
|
|
1425
|
+
"vibrant": `\u017Eivahna`,
|
|
1426
|
+
"white": `bela`,
|
|
1427
|
+
"yellow": `rumena`,
|
|
1428
|
+
"yellow green": `rumeno zelena`
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
// node_modules/react-stately/dist/private/intl/color/sr-SP.mjs
|
|
1432
|
+
var $5d1a53072fa5427d$exports = {};
|
|
1433
|
+
$5d1a53072fa5427d$exports = {
|
|
1434
|
+
"alpha": `Alfa`,
|
|
1435
|
+
"black": `crno`,
|
|
1436
|
+
"blue": `Plava`,
|
|
1437
|
+
"blue purple": `plavoljubi\u010Dasta`,
|
|
1438
|
+
"brightness": `Osvetljenost`,
|
|
1439
|
+
"brown": `sme\u0111a`,
|
|
1440
|
+
"brown yellow": `sme\u0111e\u017Euta`,
|
|
1441
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1442
|
+
"cyan": `cijan`,
|
|
1443
|
+
"cyan blue": `cijan plava`,
|
|
1444
|
+
"dark": `tamno`,
|
|
1445
|
+
"gray": `siva`,
|
|
1446
|
+
"grayish": `sivkasta`,
|
|
1447
|
+
"green": `Zelena`,
|
|
1448
|
+
"green cyan": `zeleno cijan`,
|
|
1449
|
+
"hue": `Nijansa`,
|
|
1450
|
+
"light": `svetla`,
|
|
1451
|
+
"lightness": `Osvetljenje`,
|
|
1452
|
+
"magenta": `purpurnocrvena`,
|
|
1453
|
+
"magenta pink": `magenta ru\u017Ei\u010Dasta`,
|
|
1454
|
+
"orange": `narand\u017Easta`,
|
|
1455
|
+
"orange yellow": `narand\u017Easto\u017Euta`,
|
|
1456
|
+
"pale": `bledo`,
|
|
1457
|
+
"pink": `ru\u017Ei\u010Dasta`,
|
|
1458
|
+
"pink red": `ru\u017Ei\u010Dastocrvena`,
|
|
1459
|
+
"purple": `ljubi\u010Dasta`,
|
|
1460
|
+
"purple magenta": `ljubi\u010Dasta magenta`,
|
|
1461
|
+
"red": `Crvena`,
|
|
1462
|
+
"red orange": `crvenonarand\u017Easta`,
|
|
1463
|
+
"saturation": `Zasi\u0107enje`,
|
|
1464
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} prozirna`,
|
|
1465
|
+
"very dark": `veoma tamno`,
|
|
1466
|
+
"very light": `vrlo svetlo`,
|
|
1467
|
+
"vibrant": `\u017Eivopisna`,
|
|
1468
|
+
"white": `bela`,
|
|
1469
|
+
"yellow": `\u017Euto`,
|
|
1470
|
+
"yellow green": `\u017Eutozelena`
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
// node_modules/react-stately/dist/private/intl/color/sv-SE.mjs
|
|
1474
|
+
var $9236a6308559a6a1$exports = {};
|
|
1475
|
+
$9236a6308559a6a1$exports = {
|
|
1476
|
+
"alpha": `Alfa`,
|
|
1477
|
+
"black": `svart`,
|
|
1478
|
+
"blue": `Bl\xE5tt`,
|
|
1479
|
+
"blue purple": `bl\xE5lila`,
|
|
1480
|
+
"brightness": `Ljusstyrka`,
|
|
1481
|
+
"brown": `brun`,
|
|
1482
|
+
"brown yellow": `brungul`,
|
|
1483
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1484
|
+
"cyan": `cyan`,
|
|
1485
|
+
"cyan blue": `cyanbl\xE5`,
|
|
1486
|
+
"dark": `m\xF6rk`,
|
|
1487
|
+
"gray": `gr\xE5`,
|
|
1488
|
+
"grayish": `gr\xE5aktig`,
|
|
1489
|
+
"green": `Gr\xF6nt`,
|
|
1490
|
+
"green cyan": `gr\xF6n cyan`,
|
|
1491
|
+
"hue": `Nyans`,
|
|
1492
|
+
"light": `ljus`,
|
|
1493
|
+
"lightness": `Ljushet`,
|
|
1494
|
+
"magenta": `magenta`,
|
|
1495
|
+
"magenta pink": `magentarosa`,
|
|
1496
|
+
"orange": `orange`,
|
|
1497
|
+
"orange yellow": `orangegul`,
|
|
1498
|
+
"pale": `blek`,
|
|
1499
|
+
"pink": `rosa`,
|
|
1500
|
+
"pink red": `rosar\xF6d`,
|
|
1501
|
+
"purple": `lila`,
|
|
1502
|
+
"purple magenta": `lila magenta`,
|
|
1503
|
+
"red": `R\xF6tt`,
|
|
1504
|
+
"red orange": `r\xF6dorange`,
|
|
1505
|
+
"saturation": `M\xE4ttnad`,
|
|
1506
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} genomskinlig`,
|
|
1507
|
+
"very dark": `mycket m\xF6rk`,
|
|
1508
|
+
"very light": `mycket ljus`,
|
|
1509
|
+
"vibrant": `livfull`,
|
|
1510
|
+
"white": `vit`,
|
|
1511
|
+
"yellow": `gul`,
|
|
1512
|
+
"yellow green": `gulgr\xF6n`
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
// node_modules/react-stately/dist/private/intl/color/tr-TR.mjs
|
|
1516
|
+
var $0784d478afd2e3f3$exports = {};
|
|
1517
|
+
$0784d478afd2e3f3$exports = {
|
|
1518
|
+
"alpha": `Alfa`,
|
|
1519
|
+
"black": `siyah`,
|
|
1520
|
+
"blue": `Mavi`,
|
|
1521
|
+
"blue purple": `mavi mor`,
|
|
1522
|
+
"brightness": `Parlakl\u0131k`,
|
|
1523
|
+
"brown": `kahverengi`,
|
|
1524
|
+
"brown yellow": `kahverengi sar\u0131`,
|
|
1525
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1526
|
+
"cyan": `camg\xF6be\u011Fi`,
|
|
1527
|
+
"cyan blue": `camg\xF6be\u011Fi mavi`,
|
|
1528
|
+
"dark": `koyu`,
|
|
1529
|
+
"gray": `gri`,
|
|
1530
|
+
"grayish": `grimsi`,
|
|
1531
|
+
"green": `Ye\u015Fil`,
|
|
1532
|
+
"green cyan": `ye\u015Fil camg\xF6be\u011Fi`,
|
|
1533
|
+
"hue": `Ton`,
|
|
1534
|
+
"light": `a\xE7\u0131k`,
|
|
1535
|
+
"lightness": `Canl\u0131l\u0131k`,
|
|
1536
|
+
"magenta": `eflatun`,
|
|
1537
|
+
"magenta pink": `eflatun pembe`,
|
|
1538
|
+
"orange": `turuncu`,
|
|
1539
|
+
"orange yellow": `turuncu sar\u0131`,
|
|
1540
|
+
"pale": `solgun`,
|
|
1541
|
+
"pink": `pembe`,
|
|
1542
|
+
"pink red": `pembe k\u0131rm\u0131z\u0131`,
|
|
1543
|
+
"purple": `mor`,
|
|
1544
|
+
"purple magenta": `mor eflatun`,
|
|
1545
|
+
"red": `K\u0131rm\u0131z\u0131`,
|
|
1546
|
+
"red orange": `k\u0131rm\u0131z\u0131 portakal`,
|
|
1547
|
+
"saturation": `Doygunluk`,
|
|
1548
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} saydam`,
|
|
1549
|
+
"very dark": `\xE7ok koyu`,
|
|
1550
|
+
"very light": `\xE7ok a\xE7\u0131k`,
|
|
1551
|
+
"vibrant": `canl\u0131`,
|
|
1552
|
+
"white": `beyaz`,
|
|
1553
|
+
"yellow": `sar\u0131`,
|
|
1554
|
+
"yellow green": `sar\u0131 ye\u015Fil`
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
// node_modules/react-stately/dist/private/intl/color/uk-UA.mjs
|
|
1558
|
+
var $787cf8361e5d651f$exports = {};
|
|
1559
|
+
$787cf8361e5d651f$exports = {
|
|
1560
|
+
"alpha": `\u0410\u043B\u044C\u0444\u0430`,
|
|
1561
|
+
"black": `\u0447\u043E\u0440\u043D\u0438\u0439`,
|
|
1562
|
+
"blue": `\u0421\u0438\u043D\u0456\u0439`,
|
|
1563
|
+
"blue purple": `\u0441\u0438\u043D\u044C\u043E-\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439`,
|
|
1564
|
+
"brightness": `\u042F\u0441\u043A\u0440\u0430\u0432\u0456\u0441\u0442\u044C`,
|
|
1565
|
+
"brown": `\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u0438\u0439`,
|
|
1566
|
+
"brown yellow": `\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439`,
|
|
1567
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1568
|
+
"cyan": `\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439`,
|
|
1569
|
+
"cyan blue": `\u0441\u0438\u043D\u044C\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439`,
|
|
1570
|
+
"dark": `\u0442\u0435\u043C\u043D\u0438\u0439`,
|
|
1571
|
+
"gray": `\u0441\u0456\u0440\u0438\u0439`,
|
|
1572
|
+
"grayish": `\u0441\u0456\u0440\u0443\u0432\u0430\u0442\u0438\u0439`,
|
|
1573
|
+
"green": `\u0417\u0435\u043B\u0435\u043D\u0438\u0439`,
|
|
1574
|
+
"green cyan": `\u0437\u0435\u043B\u0435\u043D\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439`,
|
|
1575
|
+
"hue": `\u0422\u043E\u043D`,
|
|
1576
|
+
"light": `\u0441\u0432\u0456\u0442\u043B\u0438\u0439`,
|
|
1577
|
+
"lightness": `\u041E\u0441\u0432\u0456\u0442\u043B\u0435\u043D\u0456\u0441\u0442\u044C`,
|
|
1578
|
+
"magenta": `\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439`,
|
|
1579
|
+
"magenta pink": `\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u043E-\u0440\u043E\u0436\u0435\u0432\u0438\u0439`,
|
|
1580
|
+
"orange": `\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439`,
|
|
1581
|
+
"orange yellow": `\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439`,
|
|
1582
|
+
"pale": `\u0431\u043B\u0456\u0434\u0438\u0439`,
|
|
1583
|
+
"pink": `\u0440\u043E\u0436\u0435\u0432\u0438\u0439`,
|
|
1584
|
+
"pink red": `\u0440\u043E\u0436\u0435\u0432\u043E-\u0447\u0435\u0440\u0432\u043E\u043D\u0438\u0439`,
|
|
1585
|
+
"purple": `\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439`,
|
|
1586
|
+
"purple magenta": `\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439`,
|
|
1587
|
+
"red": `\u0427\u0435\u0440\u0432\u043E\u043D\u0438\u0439`,
|
|
1588
|
+
"red orange": `\u0447\u0435\u0440\u0432\u043E\u043D\u043E-\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439`,
|
|
1589
|
+
"saturation": `\u041D\u0430\u0441\u0438\u0447\u0435\u043D\u0456\u0441\u0442\u044C`,
|
|
1590
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, \u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439 \u043D\u0430 ${args.percentTransparent}`,
|
|
1591
|
+
"very dark": `\u0434\u0443\u0436\u0435 \u0442\u0435\u043C\u043D\u0438\u0439`,
|
|
1592
|
+
"very light": `\u0434\u0443\u0436\u0435 \u0441\u0432\u0456\u0442\u043B\u0438\u0439`,
|
|
1593
|
+
"vibrant": `\u044F\u0441\u043A\u0440\u0430\u0432\u0438\u0439`,
|
|
1594
|
+
"white": `\u0431\u0456\u043B\u0438\u0439`,
|
|
1595
|
+
"yellow": `\u0436\u043E\u0432\u0442\u0438\u0439`,
|
|
1596
|
+
"yellow green": `\u0436\u043E\u0432\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u0438\u0439`
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
// node_modules/react-stately/dist/private/intl/color/zh-CN.mjs
|
|
1600
|
+
var $007919799d464b6b$exports = {};
|
|
1601
|
+
$007919799d464b6b$exports = {
|
|
1602
|
+
"alpha": `Alpha`,
|
|
1603
|
+
"black": `\u9ED1\u8272`,
|
|
1604
|
+
"blue": `\u84DD\u8272`,
|
|
1605
|
+
"blue purple": `\u84DD\u7D2B\u8272`,
|
|
1606
|
+
"brightness": `\u4EAE\u5EA6`,
|
|
1607
|
+
"brown": `\u68D5\u8272\u7684`,
|
|
1608
|
+
"brown yellow": `\u68D5\u9EC4\u8272`,
|
|
1609
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1610
|
+
"cyan": `\u84DD\u7EFF\u8272`,
|
|
1611
|
+
"cyan blue": `\u9752\u84DD\u8272`,
|
|
1612
|
+
"dark": `\u6DF1\u8272`,
|
|
1613
|
+
"gray": `\u7070\u8272`,
|
|
1614
|
+
"grayish": `\u6D45\u7070\u8272\u7684`,
|
|
1615
|
+
"green": `\u7EFF\u8272`,
|
|
1616
|
+
"green cyan": `\u7EFF\u9752\u8272`,
|
|
1617
|
+
"hue": `\u8272\u76F8`,
|
|
1618
|
+
"light": `\u6D45\u8272`,
|
|
1619
|
+
"lightness": `\u660E\u4EAE\u5EA6`,
|
|
1620
|
+
"magenta": `\u7D2B\u7EA2\u8272`,
|
|
1621
|
+
"magenta pink": `\u7D2B\u7C89\u8272`,
|
|
1622
|
+
"orange": `\u6A59\u8272`,
|
|
1623
|
+
"orange yellow": `\u6A59\u9EC4\u8272`,
|
|
1624
|
+
"pale": `\u82CD\u767D\u7684`,
|
|
1625
|
+
"pink": `\u7C89\u8272`,
|
|
1626
|
+
"pink red": `\u7C89\u7EA2\u8272`,
|
|
1627
|
+
"purple": `\u7D2B\u8272`,
|
|
1628
|
+
"purple magenta": `\u7D2B\u6D0B\u7EA2\u8272`,
|
|
1629
|
+
"red": `\u7EA2\u8272`,
|
|
1630
|
+
"red orange": `\u7EA2\u6A59\u8272`,
|
|
1631
|
+
"saturation": `\u9971\u548C\u5EA6`,
|
|
1632
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \u900F\u660E`,
|
|
1633
|
+
"very dark": `\u5F88\u6697`,
|
|
1634
|
+
"very light": `\u5F88\u6D45`,
|
|
1635
|
+
"vibrant": `\u751F\u673A\u52C3\u52C3`,
|
|
1636
|
+
"white": `\u767D\u8272`,
|
|
1637
|
+
"yellow": `\u9EC4\u8272`,
|
|
1638
|
+
"yellow green": `\u9EC4\u8272/\u7EFF\u8272`
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
// node_modules/react-stately/dist/private/intl/color/zh-TW.mjs
|
|
1642
|
+
var $e08a91dc11c13fc8$exports = {};
|
|
1643
|
+
$e08a91dc11c13fc8$exports = {
|
|
1644
|
+
"alpha": `Alpha`,
|
|
1645
|
+
"black": `\u9ED1`,
|
|
1646
|
+
"blue": `\u85CD\u8272`,
|
|
1647
|
+
"blue purple": `\u85CD\u7D2B`,
|
|
1648
|
+
"brightness": `\u4EAE\u5EA6`,
|
|
1649
|
+
"brown": `\u68D5`,
|
|
1650
|
+
"brown yellow": `\u68D5\u9EC3`,
|
|
1651
|
+
"colorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}`,
|
|
1652
|
+
"cyan": `\u9752`,
|
|
1653
|
+
"cyan blue": `\u9752\u85CD`,
|
|
1654
|
+
"dark": `\u6697`,
|
|
1655
|
+
"gray": `\u7070`,
|
|
1656
|
+
"grayish": `\u504F\u7070`,
|
|
1657
|
+
"green": `\u7DA0\u8272`,
|
|
1658
|
+
"green cyan": `\u9752\u7DA0`,
|
|
1659
|
+
"hue": `\u8272\u76F8`,
|
|
1660
|
+
"light": `\u6DFA`,
|
|
1661
|
+
"lightness": `\u660E\u4EAE`,
|
|
1662
|
+
"magenta": `\u6D0B\u7D05`,
|
|
1663
|
+
"magenta pink": `\u6DFA\u6D0B\u7D05`,
|
|
1664
|
+
"orange": `\u6A59`,
|
|
1665
|
+
"orange yellow": `\u6A59\u9EC3`,
|
|
1666
|
+
"pale": `\u6DE1`,
|
|
1667
|
+
"pink": `\u7C89\u7D05`,
|
|
1668
|
+
"pink red": `\u7C89\u7D05`,
|
|
1669
|
+
"purple": `\u7D2B`,
|
|
1670
|
+
"purple magenta": `\u7D2B\u6D0B\u7D05`,
|
|
1671
|
+
"red": `\u7D05\u8272`,
|
|
1672
|
+
"red orange": `\u6A59\u7D05`,
|
|
1673
|
+
"saturation": `\u98FD\u548C\u5EA6`,
|
|
1674
|
+
"transparentColorName": (args) => `${args.lightness} ${args.chroma} ${args.hue}, ${args.percentTransparent} \u900F\u660E`,
|
|
1675
|
+
"very dark": `\u5F88\u6697`,
|
|
1676
|
+
"very light": `\u5F88\u6DFA`,
|
|
1677
|
+
"vibrant": `\u9BAE\u8C54`,
|
|
1678
|
+
"white": `\u767D`,
|
|
1679
|
+
"yellow": `\u9EC3`,
|
|
1680
|
+
"yellow green": `\u9EC3\u7DA0`
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1683
|
+
// node_modules/react-stately/dist/private/color/intlStrings.mjs
|
|
1684
|
+
var $f27aae6ac296c109$exports = {};
|
|
1685
|
+
$f27aae6ac296c109$exports = {
|
|
1686
|
+
"ar-AE": $657b6c680454a954$exports,
|
|
1687
|
+
"bg-BG": $889127408c531ba7$exports,
|
|
1688
|
+
"cs-CZ": $70544d82283dffb4$exports,
|
|
1689
|
+
"da-DK": $dec70d8d5f3cf55e$exports,
|
|
1690
|
+
"de-DE": $9522ab9745257c99$exports,
|
|
1691
|
+
"el-GR": $26b460c7fbf5c73a$exports,
|
|
1692
|
+
"en-US": $91b08ff3e640b4d4$exports,
|
|
1693
|
+
"es-ES": $fd77e3dc91499169$exports,
|
|
1694
|
+
"et-EE": $1fa550aa4006d82d$exports,
|
|
1695
|
+
"fi-FI": $21314fa26efef1a7$exports,
|
|
1696
|
+
"fr-FR": $e89aa016b78237dc$exports,
|
|
1697
|
+
"he-IL": $a1a6ebcfb4e36dca$exports,
|
|
1698
|
+
"hr-HR": $539c3833a6c2e20b$exports,
|
|
1699
|
+
"hu-HU": $7f6a753aa3e72c6d$exports,
|
|
1700
|
+
"it-IT": $b5c3de7f83e64721$exports,
|
|
1701
|
+
"ja-JP": $30e30b94393be6f6$exports,
|
|
1702
|
+
"ko-KR": $df8867b82a73bdb3$exports,
|
|
1703
|
+
"lt-LT": $390173bd3451fe74$exports,
|
|
1704
|
+
"lv-LV": $8874424bc229db3e$exports,
|
|
1705
|
+
"nb-NO": $f7492ce78db8051b$exports,
|
|
1706
|
+
"nl-NL": $df6c7957db097c77$exports,
|
|
1707
|
+
"pl-PL": $44f0438f6ac7145a$exports,
|
|
1708
|
+
"pt-BR": $8a75ab7961de49d7$exports,
|
|
1709
|
+
"pt-PT": $3648ea0dfef1e48a$exports,
|
|
1710
|
+
"ro-RO": $14b4e95a3fa0c42c$exports,
|
|
1711
|
+
"ru-RU": $1a8e80058ee5c8e8$exports,
|
|
1712
|
+
"sk-SK": $c2f9fb5b2855a5d6$exports,
|
|
1713
|
+
"sl-SI": $c5aa45c5d5ce4d33$exports,
|
|
1714
|
+
"sr-SP": $5d1a53072fa5427d$exports,
|
|
1715
|
+
"sv-SE": $9236a6308559a6a1$exports,
|
|
1716
|
+
"tr-TR": $0784d478afd2e3f3$exports,
|
|
1717
|
+
"uk-UA": $787cf8361e5d651f$exports,
|
|
1718
|
+
"zh-CN": $007919799d464b6b$exports,
|
|
1719
|
+
"zh-TW": $e08a91dc11c13fc8$exports
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
|
|
1723
|
+
var $a747a10fe70a57da$var$localeSymbol = /* @__PURE__ */ Symbol.for("react-aria.i18n.locale");
|
|
1724
|
+
var $a747a10fe70a57da$var$stringsSymbol = /* @__PURE__ */ Symbol.for("react-aria.i18n.strings");
|
|
1725
|
+
var $a747a10fe70a57da$var$cachedGlobalStrings = void 0;
|
|
1726
|
+
var $a747a10fe70a57da$export$c17fa47878dc55b6 = class _$a747a10fe70a57da$export$c17fa47878dc55b6 {
|
|
1727
|
+
constructor(messages, defaultLocale = "en-US") {
|
|
1728
|
+
this.strings = Object.fromEntries(Object.entries(messages).filter(([, v]) => v));
|
|
1729
|
+
this.defaultLocale = defaultLocale;
|
|
1730
|
+
}
|
|
1731
|
+
/** Returns a localized string for the given key and locale. */
|
|
1732
|
+
getStringForLocale(key, locale) {
|
|
1733
|
+
let strings = this.getStringsForLocale(locale);
|
|
1734
|
+
let string = strings[key];
|
|
1735
|
+
if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);
|
|
1736
|
+
return string;
|
|
1737
|
+
}
|
|
1738
|
+
/** Returns all localized strings for the given locale. */
|
|
1739
|
+
getStringsForLocale(locale) {
|
|
1740
|
+
let strings = this.strings[locale];
|
|
1741
|
+
if (!strings) {
|
|
1742
|
+
strings = $a747a10fe70a57da$var$getStringsForLocale(locale, this.strings, this.defaultLocale);
|
|
1743
|
+
this.strings[locale] = strings;
|
|
1744
|
+
}
|
|
1745
|
+
return strings;
|
|
1746
|
+
}
|
|
1747
|
+
static getGlobalDictionaryForPackage(packageName) {
|
|
1748
|
+
if (typeof window === "undefined") return null;
|
|
1749
|
+
let locale = window[$a747a10fe70a57da$var$localeSymbol];
|
|
1750
|
+
if ($a747a10fe70a57da$var$cachedGlobalStrings === void 0) {
|
|
1751
|
+
let globalStrings = window[$a747a10fe70a57da$var$stringsSymbol];
|
|
1752
|
+
if (!globalStrings) return null;
|
|
1753
|
+
$a747a10fe70a57da$var$cachedGlobalStrings = {};
|
|
1754
|
+
for (let pkg in globalStrings) $a747a10fe70a57da$var$cachedGlobalStrings[pkg] = new _$a747a10fe70a57da$export$c17fa47878dc55b6({
|
|
1755
|
+
[locale]: globalStrings[pkg]
|
|
1756
|
+
}, locale);
|
|
1757
|
+
}
|
|
1758
|
+
let dictionary = $a747a10fe70a57da$var$cachedGlobalStrings?.[packageName];
|
|
1759
|
+
if (!dictionary) throw new Error(`Strings for package "${packageName}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
|
|
1760
|
+
return dictionary;
|
|
1761
|
+
}
|
|
1762
|
+
};
|
|
1763
|
+
function $a747a10fe70a57da$var$getStringsForLocale(locale, strings, defaultLocale = "en-US") {
|
|
1764
|
+
if (strings[locale]) return strings[locale];
|
|
1765
|
+
let language = $a747a10fe70a57da$var$getLanguage(locale);
|
|
1766
|
+
if (strings[language]) return strings[language];
|
|
1767
|
+
for (let key in strings) {
|
|
1768
|
+
if (key.startsWith(language + "-")) return strings[key];
|
|
1769
|
+
}
|
|
1770
|
+
return strings[defaultLocale];
|
|
1771
|
+
}
|
|
1772
|
+
function $a747a10fe70a57da$var$getLanguage(locale) {
|
|
1773
|
+
if (Intl.Locale)
|
|
1774
|
+
return new Intl.Locale(locale).language;
|
|
1775
|
+
return locale.split("-")[0];
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
|
|
1779
|
+
var $b27c684a33948c64$var$pluralRulesCache = /* @__PURE__ */ new Map();
|
|
1780
|
+
var $b27c684a33948c64$var$numberFormatCache = /* @__PURE__ */ new Map();
|
|
1781
|
+
var $b27c684a33948c64$export$2f817fcdc4b89ae0 = class {
|
|
1782
|
+
constructor(locale, strings) {
|
|
1783
|
+
this.locale = locale;
|
|
1784
|
+
this.strings = strings;
|
|
1785
|
+
}
|
|
1786
|
+
/** Formats a localized string for the given key with the provided variables. */
|
|
1787
|
+
format(key, variables) {
|
|
1788
|
+
let message = this.strings.getStringForLocale(key, this.locale);
|
|
1789
|
+
return typeof message === "function" ? message(variables, this) : message;
|
|
1790
|
+
}
|
|
1791
|
+
plural(count, options, type = "cardinal") {
|
|
1792
|
+
let opt = options["=" + count];
|
|
1793
|
+
if (opt) return typeof opt === "function" ? opt() : opt;
|
|
1794
|
+
let key = this.locale + ":" + type;
|
|
1795
|
+
let pluralRules = $b27c684a33948c64$var$pluralRulesCache.get(key);
|
|
1796
|
+
if (!pluralRules) {
|
|
1797
|
+
pluralRules = new Intl.PluralRules(this.locale, {
|
|
1798
|
+
type
|
|
1799
|
+
});
|
|
1800
|
+
$b27c684a33948c64$var$pluralRulesCache.set(key, pluralRules);
|
|
1801
|
+
}
|
|
1802
|
+
let selected = pluralRules.select(count);
|
|
1803
|
+
opt = options[selected] || options.other;
|
|
1804
|
+
return typeof opt === "function" ? opt() : opt;
|
|
1805
|
+
}
|
|
1806
|
+
number(value) {
|
|
1807
|
+
let numberFormat = $b27c684a33948c64$var$numberFormatCache.get(this.locale);
|
|
1808
|
+
if (!numberFormat) {
|
|
1809
|
+
numberFormat = new Intl.NumberFormat(this.locale);
|
|
1810
|
+
$b27c684a33948c64$var$numberFormatCache.set(this.locale, numberFormat);
|
|
1811
|
+
}
|
|
1812
|
+
return numberFormat.format(value);
|
|
1813
|
+
}
|
|
1814
|
+
select(options, value) {
|
|
1815
|
+
let opt = options[value] || options.other;
|
|
1816
|
+
return typeof opt === "function" ? opt() : opt;
|
|
1817
|
+
}
|
|
1818
|
+
};
|
|
1819
|
+
|
|
1820
|
+
// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
|
|
1821
|
+
var $1dfb119a85e764e5$var$formatterCache = /* @__PURE__ */ new Map();
|
|
1822
|
+
var $1dfb119a85e764e5$var$supportsSignDisplay = false;
|
|
1823
|
+
try {
|
|
1824
|
+
$1dfb119a85e764e5$var$supportsSignDisplay = new Intl.NumberFormat("de-DE", {
|
|
1825
|
+
signDisplay: "exceptZero"
|
|
1826
|
+
}).resolvedOptions().signDisplay === "exceptZero";
|
|
1827
|
+
} catch {
|
|
1828
|
+
}
|
|
1829
|
+
var $1dfb119a85e764e5$var$supportsUnit = false;
|
|
1830
|
+
try {
|
|
1831
|
+
$1dfb119a85e764e5$var$supportsUnit = new Intl.NumberFormat("de-DE", {
|
|
1832
|
+
style: "unit",
|
|
1833
|
+
unit: "degree"
|
|
1834
|
+
}).resolvedOptions().style === "unit";
|
|
1835
|
+
} catch {
|
|
1836
|
+
}
|
|
1837
|
+
var $1dfb119a85e764e5$var$UNITS = {
|
|
1838
|
+
degree: {
|
|
1839
|
+
narrow: {
|
|
1840
|
+
default: "\xB0",
|
|
1841
|
+
"ja-JP": " \u5EA6",
|
|
1842
|
+
"zh-TW": "\u5EA6",
|
|
1843
|
+
"sl-SI": " \xB0"
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
};
|
|
1847
|
+
var $1dfb119a85e764e5$export$cc77c4ff7e8673c5 = class {
|
|
1848
|
+
constructor(locale, options = {}) {
|
|
1849
|
+
this.numberFormatter = $1dfb119a85e764e5$var$getCachedNumberFormatter(locale, options);
|
|
1850
|
+
this.options = options;
|
|
1851
|
+
}
|
|
1852
|
+
/** Formats a number value as a string, according to the locale and options provided to the constructor. */
|
|
1853
|
+
format(value) {
|
|
1854
|
+
let res = "";
|
|
1855
|
+
if (!$1dfb119a85e764e5$var$supportsSignDisplay && this.options.signDisplay != null) res = $1dfb119a85e764e5$export$711b50b3c525e0f2(this.numberFormatter, this.options.signDisplay, value);
|
|
1856
|
+
else res = this.numberFormatter.format(value);
|
|
1857
|
+
if (this.options.style === "unit" && !$1dfb119a85e764e5$var$supportsUnit) {
|
|
1858
|
+
let { unit, unitDisplay = "short", locale } = this.resolvedOptions();
|
|
1859
|
+
if (!unit) return res;
|
|
1860
|
+
let values = $1dfb119a85e764e5$var$UNITS[unit]?.[unitDisplay];
|
|
1861
|
+
res += values[locale] || values.default;
|
|
1862
|
+
}
|
|
1863
|
+
return res;
|
|
1864
|
+
}
|
|
1865
|
+
/** Formats a number to an array of parts such as separators, digits, punctuation, and more. */
|
|
1866
|
+
formatToParts(value) {
|
|
1867
|
+
return this.numberFormatter.formatToParts(value);
|
|
1868
|
+
}
|
|
1869
|
+
/** Formats a number range as a string. */
|
|
1870
|
+
formatRange(start, end) {
|
|
1871
|
+
if (typeof this.numberFormatter.formatRange === "function") return this.numberFormatter.formatRange(start, end);
|
|
1872
|
+
if (end < start) throw new RangeError("End date must be >= start date");
|
|
1873
|
+
return `${this.format(start)} \u2013 ${this.format(end)}`;
|
|
1874
|
+
}
|
|
1875
|
+
/** Formats a number range as an array of parts. */
|
|
1876
|
+
formatRangeToParts(start, end) {
|
|
1877
|
+
if (typeof this.numberFormatter.formatRangeToParts === "function") return this.numberFormatter.formatRangeToParts(start, end);
|
|
1878
|
+
if (end < start) throw new RangeError("End date must be >= start date");
|
|
1879
|
+
let startParts = this.numberFormatter.formatToParts(start);
|
|
1880
|
+
let endParts = this.numberFormatter.formatToParts(end);
|
|
1881
|
+
return [
|
|
1882
|
+
...startParts.map((p) => ({
|
|
1883
|
+
...p,
|
|
1884
|
+
source: "startRange"
|
|
1885
|
+
})),
|
|
1886
|
+
{
|
|
1887
|
+
type: "literal",
|
|
1888
|
+
value: " \u2013 ",
|
|
1889
|
+
source: "shared"
|
|
1890
|
+
},
|
|
1891
|
+
...endParts.map((p) => ({
|
|
1892
|
+
...p,
|
|
1893
|
+
source: "endRange"
|
|
1894
|
+
}))
|
|
1895
|
+
];
|
|
1896
|
+
}
|
|
1897
|
+
/** Returns the resolved formatting options based on the values passed to the constructor. */
|
|
1898
|
+
resolvedOptions() {
|
|
1899
|
+
let options = this.numberFormatter.resolvedOptions();
|
|
1900
|
+
if (!$1dfb119a85e764e5$var$supportsSignDisplay && this.options.signDisplay != null) options = {
|
|
1901
|
+
...options,
|
|
1902
|
+
signDisplay: this.options.signDisplay
|
|
1903
|
+
};
|
|
1904
|
+
if (!$1dfb119a85e764e5$var$supportsUnit && this.options.style === "unit") options = {
|
|
1905
|
+
...options,
|
|
1906
|
+
style: "unit",
|
|
1907
|
+
unit: this.options.unit,
|
|
1908
|
+
unitDisplay: this.options.unitDisplay
|
|
1909
|
+
};
|
|
1910
|
+
return options;
|
|
1911
|
+
}
|
|
1912
|
+
};
|
|
1913
|
+
function $1dfb119a85e764e5$var$getCachedNumberFormatter(locale, options = {}) {
|
|
1914
|
+
let { numberingSystem } = options;
|
|
1915
|
+
if (numberingSystem && locale.includes("-nu-")) {
|
|
1916
|
+
if (!locale.includes("-u-")) locale += "-u-";
|
|
1917
|
+
locale += `-nu-${numberingSystem}`;
|
|
1918
|
+
}
|
|
1919
|
+
if (options.style === "unit" && !$1dfb119a85e764e5$var$supportsUnit) {
|
|
1920
|
+
let { unit, unitDisplay = "short" } = options;
|
|
1921
|
+
if (!unit) throw new Error('unit option must be provided with style: "unit"');
|
|
1922
|
+
if (!$1dfb119a85e764e5$var$UNITS[unit]?.[unitDisplay]) throw new Error(`Unsupported unit ${unit} with unitDisplay = ${unitDisplay}`);
|
|
1923
|
+
options = {
|
|
1924
|
+
...options,
|
|
1925
|
+
style: "decimal"
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
|
|
1929
|
+
if ($1dfb119a85e764e5$var$formatterCache.has(cacheKey)) return $1dfb119a85e764e5$var$formatterCache.get(cacheKey);
|
|
1930
|
+
let numberFormatter = new Intl.NumberFormat(locale, options);
|
|
1931
|
+
$1dfb119a85e764e5$var$formatterCache.set(cacheKey, numberFormatter);
|
|
1932
|
+
return numberFormatter;
|
|
1933
|
+
}
|
|
1934
|
+
function $1dfb119a85e764e5$export$711b50b3c525e0f2(numberFormat, signDisplay, num) {
|
|
1935
|
+
if (signDisplay === "auto") return numberFormat.format(num);
|
|
1936
|
+
else if (signDisplay === "never") return numberFormat.format(Math.abs(num));
|
|
1937
|
+
else {
|
|
1938
|
+
let needsPositiveSign = false;
|
|
1939
|
+
if (signDisplay === "always") needsPositiveSign = num > 0 || Object.is(num, 0);
|
|
1940
|
+
else if (signDisplay === "exceptZero") {
|
|
1941
|
+
if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);
|
|
1942
|
+
else needsPositiveSign = num > 0;
|
|
1943
|
+
}
|
|
1944
|
+
if (needsPositiveSign) {
|
|
1945
|
+
let negative = numberFormat.format(-num);
|
|
1946
|
+
let noSign = numberFormat.format(num);
|
|
1947
|
+
let minus = negative.replace(noSign, "").replace(/\u200e|\u061C/, "");
|
|
1948
|
+
if ([
|
|
1949
|
+
...minus
|
|
1950
|
+
].length !== 1) console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case");
|
|
1951
|
+
let positive = negative.replace(noSign, "!!!").replace(minus, "+").replace("!!!", noSign);
|
|
1952
|
+
return positive;
|
|
1953
|
+
} else return numberFormat.format(num);
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
// node_modules/@internationalized/number/dist/private/NumberParser.mjs
|
|
1958
|
+
var $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
|
|
1959
|
+
var $eb76cf4feb040f77$var$NUMBERING_SYSTEMS = [
|
|
1960
|
+
"latn",
|
|
1961
|
+
"arab",
|
|
1962
|
+
"hanidec",
|
|
1963
|
+
"deva",
|
|
1964
|
+
"beng",
|
|
1965
|
+
"fullwide"
|
|
1966
|
+
];
|
|
1967
|
+
var $eb76cf4feb040f77$export$cd11ab140839f11d = class {
|
|
1968
|
+
constructor(locale, options = {}) {
|
|
1969
|
+
this.locale = locale;
|
|
1970
|
+
this.options = options;
|
|
1971
|
+
}
|
|
1972
|
+
/**
|
|
1973
|
+
* Parses the given string to a number. Returns NaN if a valid number could not be parsed.
|
|
1974
|
+
*/
|
|
1975
|
+
parse(value) {
|
|
1976
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).parse(value);
|
|
1977
|
+
}
|
|
1978
|
+
/**
|
|
1979
|
+
* Returns whether the given string could potentially be a valid number. This should be used to
|
|
1980
|
+
* validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
|
|
1981
|
+
* of the minus/plus sign characters can be checked.
|
|
1982
|
+
*/
|
|
1983
|
+
isValidPartialNumber(value, minValue, maxValue) {
|
|
1984
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).isValidPartialNumber(value, minValue, maxValue);
|
|
1985
|
+
}
|
|
1986
|
+
/**
|
|
1987
|
+
* Returns a numbering system for which the given string is valid in the current locale.
|
|
1988
|
+
* If no numbering system could be detected, the default numbering system for the current
|
|
1989
|
+
* locale is returned.
|
|
1990
|
+
*/
|
|
1991
|
+
getNumberingSystem(value) {
|
|
1992
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).options.numberingSystem;
|
|
1993
|
+
}
|
|
1994
|
+
};
|
|
1995
|
+
var $eb76cf4feb040f77$var$numberParserCache = /* @__PURE__ */ new Map();
|
|
1996
|
+
function $eb76cf4feb040f77$var$getNumberParserImpl(locale, options, value) {
|
|
1997
|
+
let defaultParser = $eb76cf4feb040f77$var$getCachedNumberParser(locale, options);
|
|
1998
|
+
if (!locale.includes("-nu-") && !defaultParser.isValidPartialNumber(value)) {
|
|
1999
|
+
for (let numberingSystem of $eb76cf4feb040f77$var$NUMBERING_SYSTEMS) if (numberingSystem !== defaultParser.options.numberingSystem) {
|
|
2000
|
+
let parser = $eb76cf4feb040f77$var$getCachedNumberParser(locale + (locale.includes("-u-") ? "-nu-" : "-u-nu-") + numberingSystem, options);
|
|
2001
|
+
if (parser.isValidPartialNumber(value)) return parser;
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
return defaultParser;
|
|
2005
|
+
}
|
|
2006
|
+
function $eb76cf4feb040f77$var$getCachedNumberParser(locale, options) {
|
|
2007
|
+
let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
|
|
2008
|
+
let parser = $eb76cf4feb040f77$var$numberParserCache.get(cacheKey);
|
|
2009
|
+
if (!parser) {
|
|
2010
|
+
parser = new $eb76cf4feb040f77$var$NumberParserImpl(locale, options);
|
|
2011
|
+
$eb76cf4feb040f77$var$numberParserCache.set(cacheKey, parser);
|
|
2012
|
+
}
|
|
2013
|
+
return parser;
|
|
2014
|
+
}
|
|
2015
|
+
var $eb76cf4feb040f77$var$NumberParserImpl = class {
|
|
2016
|
+
constructor(locale, options = {}) {
|
|
2017
|
+
this.locale = locale;
|
|
2018
|
+
if (options.roundingIncrement !== 1 && options.roundingIncrement != null) {
|
|
2019
|
+
if (options.maximumFractionDigits == null && options.minimumFractionDigits == null) {
|
|
2020
|
+
options.maximumFractionDigits = 0;
|
|
2021
|
+
options.minimumFractionDigits = 0;
|
|
2022
|
+
} else if (options.maximumFractionDigits == null) options.maximumFractionDigits = options.minimumFractionDigits;
|
|
2023
|
+
else if (options.minimumFractionDigits == null) options.minimumFractionDigits = options.maximumFractionDigits;
|
|
2024
|
+
}
|
|
2025
|
+
this.formatter = new Intl.NumberFormat(locale, options);
|
|
2026
|
+
this.options = this.formatter.resolvedOptions();
|
|
2027
|
+
this.symbols = $eb76cf4feb040f77$var$getSymbols(locale, this.formatter, this.options, options);
|
|
2028
|
+
if (this.options.style === "percent" && ((this.options.minimumFractionDigits ?? 0) > 18 || (this.options.maximumFractionDigits ?? 0) > 18)) console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.");
|
|
2029
|
+
}
|
|
2030
|
+
parse(value) {
|
|
2031
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
2032
|
+
let fullySanitizedValue = this.sanitize(value);
|
|
2033
|
+
if (!isGroupSymbolAllowed && this.symbols.group && fullySanitizedValue.includes(this.symbols.group)) return NaN;
|
|
2034
|
+
else if (this.symbols.group) fullySanitizedValue = fullySanitizedValue.replaceAll(this.symbols.group, "");
|
|
2035
|
+
if (this.symbols.decimal) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.decimal, ".");
|
|
2036
|
+
if (this.symbols.minusSign) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.minusSign, "-");
|
|
2037
|
+
fullySanitizedValue = fullySanitizedValue.replace(this.symbols.numeral, this.symbols.index);
|
|
2038
|
+
if (this.options.style === "percent") {
|
|
2039
|
+
let isNegative = fullySanitizedValue.indexOf("-");
|
|
2040
|
+
fullySanitizedValue = fullySanitizedValue.replace("-", "");
|
|
2041
|
+
fullySanitizedValue = fullySanitizedValue.replace("+", "");
|
|
2042
|
+
let index = fullySanitizedValue.indexOf(".");
|
|
2043
|
+
if (index === -1) index = fullySanitizedValue.length;
|
|
2044
|
+
fullySanitizedValue = fullySanitizedValue.replace(".", "");
|
|
2045
|
+
if (index - 2 === 0) fullySanitizedValue = `0.${fullySanitizedValue}`;
|
|
2046
|
+
else if (index - 2 === -1) fullySanitizedValue = `0.0${fullySanitizedValue}`;
|
|
2047
|
+
else if (index - 2 === -2) fullySanitizedValue = "0.00";
|
|
2048
|
+
else fullySanitizedValue = `${fullySanitizedValue.slice(0, index - 2)}.${fullySanitizedValue.slice(index - 2)}`;
|
|
2049
|
+
if (isNegative > -1) fullySanitizedValue = `-${fullySanitizedValue}`;
|
|
2050
|
+
}
|
|
2051
|
+
let newValue = fullySanitizedValue ? +fullySanitizedValue : NaN;
|
|
2052
|
+
if (isNaN(newValue)) return NaN;
|
|
2053
|
+
if (this.options.style === "percent") {
|
|
2054
|
+
let options = {
|
|
2055
|
+
...this.options,
|
|
2056
|
+
style: "decimal",
|
|
2057
|
+
minimumFractionDigits: Math.min((this.options.minimumFractionDigits ?? 0) + 2, 20),
|
|
2058
|
+
maximumFractionDigits: Math.min((this.options.maximumFractionDigits ?? 0) + 2, 20)
|
|
2059
|
+
};
|
|
2060
|
+
return new $eb76cf4feb040f77$export$cd11ab140839f11d(this.locale, options).parse(new (0, $1dfb119a85e764e5$export$cc77c4ff7e8673c5)(this.locale, options).format(newValue));
|
|
2061
|
+
}
|
|
2062
|
+
if (this.options.currencySign === "accounting" && $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX.test(value)) newValue = -1 * newValue;
|
|
2063
|
+
return newValue;
|
|
2064
|
+
}
|
|
2065
|
+
sanitize(value) {
|
|
2066
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
2067
|
+
if (this.symbols.noNumeralUnits.length > 0 && this.symbols.noNumeralUnits.find((obj) => obj.unit === value)) return this.symbols.noNumeralUnits.find((obj) => obj.unit === value).value.toString();
|
|
2068
|
+
value = value.replace(this.symbols.literals, "");
|
|
2069
|
+
if (this.symbols.minusSign) value = value.replace("-", this.symbols.minusSign);
|
|
2070
|
+
if (this.options.numberingSystem === "arab") {
|
|
2071
|
+
if (this.symbols.decimal) {
|
|
2072
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, ",", this.symbols.decimal);
|
|
2073
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, String.fromCharCode(1548), this.symbols.decimal);
|
|
2074
|
+
}
|
|
2075
|
+
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, ".", this.symbols.group);
|
|
2076
|
+
}
|
|
2077
|
+
if (this.symbols.group === "\u2019" && value.includes("'") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "'", this.symbols.group);
|
|
2078
|
+
if (this.options.locale === "fr-FR" && this.symbols.group && isGroupSymbolAllowed) {
|
|
2079
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, " ", this.symbols.group);
|
|
2080
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, /\u00A0/g, this.symbols.group);
|
|
2081
|
+
}
|
|
2082
|
+
return value;
|
|
2083
|
+
}
|
|
2084
|
+
isValidPartialNumber(value, minValue = -Infinity, maxValue = Infinity) {
|
|
2085
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
2086
|
+
value = this.sanitize(value);
|
|
2087
|
+
if (this.symbols.minusSign && value.startsWith(this.symbols.minusSign) && minValue < 0) value = value.slice(this.symbols.minusSign.length);
|
|
2088
|
+
else if (this.symbols.plusSign && value.startsWith(this.symbols.plusSign) && maxValue > 0) value = value.slice(this.symbols.plusSign.length);
|
|
2089
|
+
if (this.symbols.decimal && value.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0) return false;
|
|
2090
|
+
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, this.symbols.group, "");
|
|
2091
|
+
value = value.replace(this.symbols.numeral, "");
|
|
2092
|
+
if (this.symbols.decimal) value = value.replace(this.symbols.decimal, "");
|
|
2093
|
+
return value.length === 0;
|
|
2094
|
+
}
|
|
2095
|
+
};
|
|
2096
|
+
var $eb76cf4feb040f77$var$nonLiteralParts = /* @__PURE__ */ new Set([
|
|
2097
|
+
"decimal",
|
|
2098
|
+
"fraction",
|
|
2099
|
+
"integer",
|
|
2100
|
+
"minusSign",
|
|
2101
|
+
"plusSign",
|
|
2102
|
+
"group"
|
|
2103
|
+
]);
|
|
2104
|
+
var $eb76cf4feb040f77$var$pluralNumbers = [
|
|
2105
|
+
0,
|
|
2106
|
+
4,
|
|
2107
|
+
2,
|
|
2108
|
+
1,
|
|
2109
|
+
11,
|
|
2110
|
+
20,
|
|
2111
|
+
3,
|
|
2112
|
+
7,
|
|
2113
|
+
100,
|
|
2114
|
+
21,
|
|
2115
|
+
0.1,
|
|
2116
|
+
1.1
|
|
2117
|
+
];
|
|
2118
|
+
function $eb76cf4feb040f77$var$getSymbols(locale, formatter, intlOptions, originalOptions) {
|
|
2119
|
+
let symbolFormatter = new Intl.NumberFormat(locale, {
|
|
2120
|
+
...intlOptions,
|
|
2121
|
+
// Resets so we get the full range of symbols
|
|
2122
|
+
minimumSignificantDigits: 1,
|
|
2123
|
+
maximumSignificantDigits: 21,
|
|
2124
|
+
roundingIncrement: 1,
|
|
2125
|
+
roundingPriority: "auto",
|
|
2126
|
+
roundingMode: "halfExpand",
|
|
2127
|
+
useGrouping: true
|
|
2128
|
+
});
|
|
2129
|
+
let allParts = symbolFormatter.formatToParts(-10000.111);
|
|
2130
|
+
let posAllParts = symbolFormatter.formatToParts(10000.111);
|
|
2131
|
+
let pluralParts = $eb76cf4feb040f77$var$pluralNumbers.map((n) => symbolFormatter.formatToParts(n));
|
|
2132
|
+
let noNumeralUnits = pluralParts.map((p, i) => {
|
|
2133
|
+
let unit = p.find((p2) => p2.type === "unit");
|
|
2134
|
+
if (unit && !p.some((p2) => p2.type === "integer" || p2.type === "fraction")) return {
|
|
2135
|
+
unit: unit.value,
|
|
2136
|
+
value: $eb76cf4feb040f77$var$pluralNumbers[i]
|
|
2137
|
+
};
|
|
2138
|
+
return null;
|
|
2139
|
+
}).filter((p) => !!p);
|
|
2140
|
+
let minusSign = allParts.find((p) => p.type === "minusSign")?.value ?? "-";
|
|
2141
|
+
let plusSign = posAllParts.find((p) => p.type === "plusSign")?.value;
|
|
2142
|
+
if (!plusSign && (originalOptions?.signDisplay === "exceptZero" || originalOptions?.signDisplay === "always")) plusSign = "+";
|
|
2143
|
+
let decimalParts = new Intl.NumberFormat(locale, {
|
|
2144
|
+
...intlOptions,
|
|
2145
|
+
minimumFractionDigits: 2,
|
|
2146
|
+
maximumFractionDigits: 2
|
|
2147
|
+
}).formatToParts(1e-3);
|
|
2148
|
+
let decimal = decimalParts.find((p) => p.type === "decimal")?.value;
|
|
2149
|
+
let group = allParts.find((p) => p.type === "group")?.value;
|
|
2150
|
+
let allPartsLiterals = allParts.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value));
|
|
2151
|
+
let pluralPartsLiterals = pluralParts.flatMap((p) => p.filter((p2) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p2.type)).map((p2) => $eb76cf4feb040f77$var$escapeRegex(p2.value)));
|
|
2152
|
+
let sortedLiterals = [
|
|
2153
|
+
.../* @__PURE__ */ new Set([
|
|
2154
|
+
...allPartsLiterals,
|
|
2155
|
+
...pluralPartsLiterals
|
|
2156
|
+
])
|
|
2157
|
+
].sort((a, b) => b.length - a.length);
|
|
2158
|
+
let literals = sortedLiterals.length === 0 ? new RegExp("\\p{White_Space}|\\p{Cf}", "gu") : new RegExp(`${sortedLiterals.join("|")}|\\p{White_Space}|\\p{Cf}`, "gu");
|
|
2159
|
+
let numerals = [
|
|
2160
|
+
...new Intl.NumberFormat(intlOptions.locale, {
|
|
2161
|
+
useGrouping: false
|
|
2162
|
+
}).format(9876543210)
|
|
2163
|
+
].reverse();
|
|
2164
|
+
let indexes = new Map(numerals.map((d, i) => [
|
|
2165
|
+
d,
|
|
2166
|
+
i
|
|
2167
|
+
]));
|
|
2168
|
+
let numeral = new RegExp(`[${numerals.join("")}]`, "g");
|
|
2169
|
+
let index = (d) => String(indexes.get(d));
|
|
2170
|
+
return {
|
|
2171
|
+
minusSign,
|
|
2172
|
+
plusSign,
|
|
2173
|
+
decimal,
|
|
2174
|
+
group,
|
|
2175
|
+
literals,
|
|
2176
|
+
numeral,
|
|
2177
|
+
numerals,
|
|
2178
|
+
index,
|
|
2179
|
+
noNumeralUnits
|
|
2180
|
+
};
|
|
2181
|
+
}
|
|
2182
|
+
function $eb76cf4feb040f77$var$replaceAll(str, find, replace) {
|
|
2183
|
+
if (str.replaceAll) return str.replaceAll(find, replace);
|
|
2184
|
+
return str.split(find).join(replace);
|
|
2185
|
+
}
|
|
2186
|
+
function $eb76cf4feb040f77$var$escapeRegex(string) {
|
|
2187
|
+
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
// node_modules/react-stately/dist/private/color/Color.mjs
|
|
2191
|
+
function $parcel$interopDefault(a) {
|
|
2192
|
+
return a && a.__esModule ? a.default : a;
|
|
2193
|
+
}
|
|
2194
|
+
var $890783418b00a858$var$dictionary = new (0, $a747a10fe70a57da$export$c17fa47878dc55b6)((0, $parcel$interopDefault($f27aae6ac296c109$exports)));
|
|
2195
|
+
function $890783418b00a858$export$6e865ea70d7724f(value) {
|
|
2196
|
+
let res = $890783418b00a858$var$RGBColor.parse(value) || $890783418b00a858$var$HSBColor.parse(value) || $890783418b00a858$var$HSLColor.parse(value);
|
|
2197
|
+
if (res) return res;
|
|
2198
|
+
throw new Error("Invalid color value: " + value);
|
|
2199
|
+
}
|
|
2200
|
+
function $890783418b00a858$export$87f5012e10bb20b2(hue) {
|
|
2201
|
+
if (hue === 360) return hue;
|
|
2202
|
+
return (hue % 360 + 360) % 360;
|
|
2203
|
+
}
|
|
2204
|
+
var $890783418b00a858$var$ORANGE_LIGHTNESS_THRESHOLD = 0.68;
|
|
2205
|
+
var $890783418b00a858$var$YELLOW_GREEN_LIGHTNESS_THRESHOLD = 0.85;
|
|
2206
|
+
var $890783418b00a858$var$MAX_DARK_LIGHTNESS = 0.55;
|
|
2207
|
+
var $890783418b00a858$var$GRAY_THRESHOLD = 1e-3;
|
|
2208
|
+
var $890783418b00a858$var$OKLCH_HUES = [
|
|
2209
|
+
[
|
|
2210
|
+
0,
|
|
2211
|
+
"pink"
|
|
2212
|
+
],
|
|
2213
|
+
[
|
|
2214
|
+
15,
|
|
2215
|
+
"red"
|
|
2216
|
+
],
|
|
2217
|
+
[
|
|
2218
|
+
48,
|
|
2219
|
+
"orange"
|
|
2220
|
+
],
|
|
2221
|
+
[
|
|
2222
|
+
94,
|
|
2223
|
+
"yellow"
|
|
2224
|
+
],
|
|
2225
|
+
[
|
|
2226
|
+
135,
|
|
2227
|
+
"green"
|
|
2228
|
+
],
|
|
2229
|
+
[
|
|
2230
|
+
175,
|
|
2231
|
+
"cyan"
|
|
2232
|
+
],
|
|
2233
|
+
[
|
|
2234
|
+
264,
|
|
2235
|
+
"blue"
|
|
2236
|
+
],
|
|
2237
|
+
[
|
|
2238
|
+
284,
|
|
2239
|
+
"purple"
|
|
2240
|
+
],
|
|
2241
|
+
[
|
|
2242
|
+
320,
|
|
2243
|
+
"magenta"
|
|
2244
|
+
],
|
|
2245
|
+
[
|
|
2246
|
+
349,
|
|
2247
|
+
"pink"
|
|
2248
|
+
]
|
|
2249
|
+
];
|
|
2250
|
+
var $890783418b00a858$var$Color = class {
|
|
2251
|
+
toHexInt() {
|
|
2252
|
+
return this.toFormat("rgb").toHexInt();
|
|
2253
|
+
}
|
|
2254
|
+
getChannelValue(channel) {
|
|
2255
|
+
if (channel in this) return this[channel];
|
|
2256
|
+
throw new Error("Unsupported color channel: " + channel);
|
|
2257
|
+
}
|
|
2258
|
+
withChannelValue(channel, value) {
|
|
2259
|
+
if (channel in this) {
|
|
2260
|
+
let x = this.clone();
|
|
2261
|
+
x[channel] = value;
|
|
2262
|
+
return x;
|
|
2263
|
+
}
|
|
2264
|
+
throw new Error("Unsupported color channel: " + channel);
|
|
2265
|
+
}
|
|
2266
|
+
getChannelName(channel, locale) {
|
|
2267
|
+
let strings = (0, $a747a10fe70a57da$export$c17fa47878dc55b6).getGlobalDictionaryForPackage("@react-stately/color") || $890783418b00a858$var$dictionary;
|
|
2268
|
+
return strings.getStringForLocale(channel, locale);
|
|
2269
|
+
}
|
|
2270
|
+
getColorSpaceAxes(xyChannels) {
|
|
2271
|
+
let { xChannel, yChannel } = xyChannels;
|
|
2272
|
+
let xCh = xChannel || this.getColorChannels().find((c) => c !== yChannel);
|
|
2273
|
+
let yCh = yChannel || this.getColorChannels().find((c) => c !== xCh);
|
|
2274
|
+
let zCh = this.getColorChannels().find((c) => c !== xCh && c !== yCh);
|
|
2275
|
+
return {
|
|
2276
|
+
xChannel: xCh,
|
|
2277
|
+
yChannel: yCh,
|
|
2278
|
+
zChannel: zCh
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
getColorName(locale) {
|
|
2282
|
+
let [l, c, h] = $890783418b00a858$var$toOKLCH(this);
|
|
2283
|
+
let strings = (0, $a747a10fe70a57da$export$c17fa47878dc55b6).getGlobalDictionaryForPackage("@react-stately/color") || $890783418b00a858$var$dictionary;
|
|
2284
|
+
if (l > 0.999) return strings.getStringForLocale("white", locale);
|
|
2285
|
+
if (l < 1e-3) return strings.getStringForLocale("black", locale);
|
|
2286
|
+
let hue;
|
|
2287
|
+
[hue, l] = this.getOklchHue(l, c, h, locale);
|
|
2288
|
+
let lightness = "";
|
|
2289
|
+
let chroma = "";
|
|
2290
|
+
if (c <= 0.1 && c >= $890783418b00a858$var$GRAY_THRESHOLD) {
|
|
2291
|
+
if (l >= 0.7) chroma = "pale";
|
|
2292
|
+
else chroma = "grayish";
|
|
2293
|
+
} else if (c >= 0.15) chroma = "vibrant";
|
|
2294
|
+
if (l < 0.3) lightness = "very dark";
|
|
2295
|
+
else if (l < $890783418b00a858$var$MAX_DARK_LIGHTNESS) lightness = "dark";
|
|
2296
|
+
else if (l < 0.7) ;
|
|
2297
|
+
else if (l < 0.85) lightness = "light";
|
|
2298
|
+
else lightness = "very light";
|
|
2299
|
+
if (chroma) chroma = strings.getStringForLocale(chroma, locale);
|
|
2300
|
+
if (lightness) lightness = strings.getStringForLocale(lightness, locale);
|
|
2301
|
+
let alpha = this.getChannelValue("alpha");
|
|
2302
|
+
let formatter = new (0, $b27c684a33948c64$export$2f817fcdc4b89ae0)(locale, strings);
|
|
2303
|
+
if (alpha < 1) {
|
|
2304
|
+
let percentTransparent = new (0, $1dfb119a85e764e5$export$cc77c4ff7e8673c5)(locale, {
|
|
2305
|
+
style: "percent"
|
|
2306
|
+
}).format(1 - alpha);
|
|
2307
|
+
return formatter.format("transparentColorName", {
|
|
2308
|
+
lightness,
|
|
2309
|
+
chroma,
|
|
2310
|
+
hue,
|
|
2311
|
+
percentTransparent
|
|
2312
|
+
}).replace(/\s+/g, " ").trim();
|
|
2313
|
+
} else return formatter.format("colorName", {
|
|
2314
|
+
lightness,
|
|
2315
|
+
chroma,
|
|
2316
|
+
hue
|
|
2317
|
+
}).replace(/\s+/g, " ").trim();
|
|
2318
|
+
}
|
|
2319
|
+
getOklchHue(l, c, h, locale) {
|
|
2320
|
+
let strings = (0, $a747a10fe70a57da$export$c17fa47878dc55b6).getGlobalDictionaryForPackage("@react-stately/color") || $890783418b00a858$var$dictionary;
|
|
2321
|
+
if (c < $890783418b00a858$var$GRAY_THRESHOLD) return [
|
|
2322
|
+
strings.getStringForLocale("gray", locale),
|
|
2323
|
+
l
|
|
2324
|
+
];
|
|
2325
|
+
for (let i = 0; i < $890783418b00a858$var$OKLCH_HUES.length; i++) {
|
|
2326
|
+
let [hue, hueName] = $890783418b00a858$var$OKLCH_HUES[i];
|
|
2327
|
+
let [nextHue, nextHueName] = $890783418b00a858$var$OKLCH_HUES[i + 1] || [
|
|
2328
|
+
360,
|
|
2329
|
+
"pink"
|
|
2330
|
+
];
|
|
2331
|
+
if (h >= hue && h < nextHue) {
|
|
2332
|
+
if (hueName === "orange") {
|
|
2333
|
+
if (l < $890783418b00a858$var$ORANGE_LIGHTNESS_THRESHOLD) hueName = "brown";
|
|
2334
|
+
else
|
|
2335
|
+
l = l - $890783418b00a858$var$ORANGE_LIGHTNESS_THRESHOLD + $890783418b00a858$var$MAX_DARK_LIGHTNESS;
|
|
2336
|
+
}
|
|
2337
|
+
if (h > hue + (nextHue - hue) / 2 && hueName !== nextHueName) hueName = `${hueName} ${nextHueName}`;
|
|
2338
|
+
else if (hueName === "yellow" && l < $890783418b00a858$var$YELLOW_GREEN_LIGHTNESS_THRESHOLD)
|
|
2339
|
+
hueName = "yellow green";
|
|
2340
|
+
let name = strings.getStringForLocale(hueName, locale).toLocaleLowerCase(locale);
|
|
2341
|
+
return [
|
|
2342
|
+
name,
|
|
2343
|
+
l
|
|
2344
|
+
];
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
throw new Error("Unexpected hue");
|
|
2348
|
+
}
|
|
2349
|
+
getHueName(locale) {
|
|
2350
|
+
let [l, c, h] = $890783418b00a858$var$toOKLCH(this);
|
|
2351
|
+
let [name] = this.getOklchHue(l, c, h, locale);
|
|
2352
|
+
return name;
|
|
2353
|
+
}
|
|
2354
|
+
};
|
|
2355
|
+
var $890783418b00a858$var$RGBColor = class _$890783418b00a858$var$RGBColor extends $890783418b00a858$var$Color {
|
|
2356
|
+
constructor(red, green, blue, alpha) {
|
|
2357
|
+
super(), this.red = red, this.green = green, this.blue = blue, this.alpha = alpha;
|
|
2358
|
+
}
|
|
2359
|
+
static parse(value) {
|
|
2360
|
+
let colors = [];
|
|
2361
|
+
if (/^#[\da-f]+$/i.test(value) && [
|
|
2362
|
+
4,
|
|
2363
|
+
5,
|
|
2364
|
+
7,
|
|
2365
|
+
9
|
|
2366
|
+
].includes(value.length)) {
|
|
2367
|
+
const values = (value.length < 6 ? value.replace(/[^#]/gi, "$&$&") : value).slice(1).split("");
|
|
2368
|
+
while (values.length > 0) colors.push(parseInt(values.splice(0, 2).join(""), 16));
|
|
2369
|
+
colors[3] = colors[3] !== void 0 ? colors[3] / 255 : void 0;
|
|
2370
|
+
}
|
|
2371
|
+
const match = value.match(/^rgba?\((.*)\)$/);
|
|
2372
|
+
if (match?.[1]) {
|
|
2373
|
+
colors = match[1].split(",").map((value2) => Number(value2.trim()));
|
|
2374
|
+
colors = colors.map((num, i) => {
|
|
2375
|
+
return (0, $240e9101ba2842f5$export$7d15b64cf5a3a4c4)(num ?? 0, 0, i < 3 ? 255 : 1);
|
|
2376
|
+
});
|
|
2377
|
+
}
|
|
2378
|
+
if (colors[0] === void 0 || colors[1] === void 0 || colors[2] === void 0) return void 0;
|
|
2379
|
+
return colors.length < 3 ? void 0 : new _$890783418b00a858$var$RGBColor(colors[0], colors[1], colors[2], colors[3] ?? 1);
|
|
2380
|
+
}
|
|
2381
|
+
toString(format = "css") {
|
|
2382
|
+
switch (format) {
|
|
2383
|
+
case "hex":
|
|
2384
|
+
return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0")).toUpperCase();
|
|
2385
|
+
case "hexa":
|
|
2386
|
+
return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0") + Math.round(this.alpha * 255).toString(16).padStart(2, "0")).toUpperCase();
|
|
2387
|
+
case "rgb":
|
|
2388
|
+
return `rgb(${this.red}, ${this.green}, ${this.blue})`;
|
|
2389
|
+
case "css":
|
|
2390
|
+
case "rgba":
|
|
2391
|
+
return `rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;
|
|
2392
|
+
default:
|
|
2393
|
+
return this.toFormat(format).toString(format);
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
toFormat(format) {
|
|
2397
|
+
switch (format) {
|
|
2398
|
+
case "hex":
|
|
2399
|
+
case "hexa":
|
|
2400
|
+
case "rgb":
|
|
2401
|
+
case "rgba":
|
|
2402
|
+
return this;
|
|
2403
|
+
case "hsb":
|
|
2404
|
+
case "hsba":
|
|
2405
|
+
return this.toHSB();
|
|
2406
|
+
case "hsl":
|
|
2407
|
+
case "hsla":
|
|
2408
|
+
return this.toHSL();
|
|
2409
|
+
default:
|
|
2410
|
+
throw new Error("Unsupported color conversion: rgb -> " + format);
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
toHexInt() {
|
|
2414
|
+
return this.red << 16 | this.green << 8 | this.blue;
|
|
2415
|
+
}
|
|
2416
|
+
/**
|
|
2417
|
+
* Converts an RGB color value to HSB.
|
|
2418
|
+
* Conversion formula adapted from https://en.wikipedia.org/wiki/HSL_and_HSV#From_RGB.
|
|
2419
|
+
* @returns An HSBColor object.
|
|
2420
|
+
*/
|
|
2421
|
+
toHSB() {
|
|
2422
|
+
const red = this.red / 255;
|
|
2423
|
+
const green = this.green / 255;
|
|
2424
|
+
const blue = this.blue / 255;
|
|
2425
|
+
const min = Math.min(red, green, blue);
|
|
2426
|
+
const brightness = Math.max(red, green, blue);
|
|
2427
|
+
const chroma = brightness - min;
|
|
2428
|
+
const saturation = brightness === 0 ? 0 : chroma / brightness;
|
|
2429
|
+
let hue = 0;
|
|
2430
|
+
if (chroma !== 0) {
|
|
2431
|
+
switch (brightness) {
|
|
2432
|
+
case red:
|
|
2433
|
+
hue = (green - blue) / chroma + (green < blue ? 6 : 0);
|
|
2434
|
+
break;
|
|
2435
|
+
case green:
|
|
2436
|
+
hue = (blue - red) / chroma + 2;
|
|
2437
|
+
break;
|
|
2438
|
+
case blue:
|
|
2439
|
+
hue = (red - green) / chroma + 4;
|
|
2440
|
+
break;
|
|
2441
|
+
}
|
|
2442
|
+
hue /= 6;
|
|
2443
|
+
}
|
|
2444
|
+
return new $890783418b00a858$var$HSBColor((0, $240e9101ba2842f5$export$b6268554fba451f)(hue * 360, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(saturation * 100, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(brightness * 100, 2), this.alpha);
|
|
2445
|
+
}
|
|
2446
|
+
/**
|
|
2447
|
+
* Converts an RGB color value to HSL.
|
|
2448
|
+
* Conversion formula adapted from https://en.wikipedia.org/wiki/HSL_and_HSV#From_RGB.
|
|
2449
|
+
* @returns An HSLColor object.
|
|
2450
|
+
*/
|
|
2451
|
+
toHSL() {
|
|
2452
|
+
const red = this.red / 255;
|
|
2453
|
+
const green = this.green / 255;
|
|
2454
|
+
const blue = this.blue / 255;
|
|
2455
|
+
const min = Math.min(red, green, blue);
|
|
2456
|
+
const max = Math.max(red, green, blue);
|
|
2457
|
+
const lightness = (max + min) / 2;
|
|
2458
|
+
const chroma = max - min;
|
|
2459
|
+
let hue;
|
|
2460
|
+
let saturation;
|
|
2461
|
+
if (chroma === 0) hue = saturation = 0;
|
|
2462
|
+
else {
|
|
2463
|
+
saturation = chroma / (lightness < 0.5 ? max + min : 2 - max - min);
|
|
2464
|
+
switch (max) {
|
|
2465
|
+
case red:
|
|
2466
|
+
hue = (green - blue) / chroma + (green < blue ? 6 : 0);
|
|
2467
|
+
break;
|
|
2468
|
+
case green:
|
|
2469
|
+
hue = (blue - red) / chroma + 2;
|
|
2470
|
+
break;
|
|
2471
|
+
case blue:
|
|
2472
|
+
default:
|
|
2473
|
+
hue = (red - green) / chroma + 4;
|
|
2474
|
+
break;
|
|
2475
|
+
}
|
|
2476
|
+
hue /= 6;
|
|
2477
|
+
}
|
|
2478
|
+
return new $890783418b00a858$var$HSLColor((0, $240e9101ba2842f5$export$b6268554fba451f)(hue * 360, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(saturation * 100, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(lightness * 100, 2), this.alpha);
|
|
2479
|
+
}
|
|
2480
|
+
clone() {
|
|
2481
|
+
return new _$890783418b00a858$var$RGBColor(this.red, this.green, this.blue, this.alpha);
|
|
2482
|
+
}
|
|
2483
|
+
getChannelRange(channel) {
|
|
2484
|
+
switch (channel) {
|
|
2485
|
+
case "red":
|
|
2486
|
+
case "green":
|
|
2487
|
+
case "blue":
|
|
2488
|
+
return {
|
|
2489
|
+
minValue: 0,
|
|
2490
|
+
maxValue: 255,
|
|
2491
|
+
step: 1,
|
|
2492
|
+
pageSize: 17
|
|
2493
|
+
};
|
|
2494
|
+
case "alpha":
|
|
2495
|
+
return {
|
|
2496
|
+
minValue: 0,
|
|
2497
|
+
maxValue: 1,
|
|
2498
|
+
step: 0.01,
|
|
2499
|
+
pageSize: 0.1
|
|
2500
|
+
};
|
|
2501
|
+
default:
|
|
2502
|
+
throw new Error("Unknown color channel: " + channel);
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
getChannelFormatOptions(channel) {
|
|
2506
|
+
switch (channel) {
|
|
2507
|
+
case "red":
|
|
2508
|
+
case "green":
|
|
2509
|
+
case "blue":
|
|
2510
|
+
return {
|
|
2511
|
+
style: "decimal"
|
|
2512
|
+
};
|
|
2513
|
+
case "alpha":
|
|
2514
|
+
return {
|
|
2515
|
+
style: "percent"
|
|
2516
|
+
};
|
|
2517
|
+
default:
|
|
2518
|
+
throw new Error("Unknown color channel: " + channel);
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
formatChannelValue(channel, locale) {
|
|
2522
|
+
let options = this.getChannelFormatOptions(channel);
|
|
2523
|
+
let value = this.getChannelValue(channel);
|
|
2524
|
+
return new (0, $1dfb119a85e764e5$export$cc77c4ff7e8673c5)(locale, options).format(value);
|
|
2525
|
+
}
|
|
2526
|
+
getColorSpace() {
|
|
2527
|
+
return "rgb";
|
|
2528
|
+
}
|
|
2529
|
+
static {
|
|
2530
|
+
this.colorChannels = [
|
|
2531
|
+
"red",
|
|
2532
|
+
"green",
|
|
2533
|
+
"blue"
|
|
2534
|
+
];
|
|
2535
|
+
}
|
|
2536
|
+
getColorChannels() {
|
|
2537
|
+
return _$890783418b00a858$var$RGBColor.colorChannels;
|
|
2538
|
+
}
|
|
2539
|
+
};
|
|
2540
|
+
var $890783418b00a858$var$HSB_REGEX = /hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;
|
|
2541
|
+
var $890783418b00a858$var$HSBColor = class _$890783418b00a858$var$HSBColor extends $890783418b00a858$var$Color {
|
|
2542
|
+
constructor(hue, saturation, brightness, alpha) {
|
|
2543
|
+
super(), this.hue = hue, this.saturation = saturation, this.brightness = brightness, this.alpha = alpha;
|
|
2544
|
+
}
|
|
2545
|
+
static parse(value) {
|
|
2546
|
+
let m;
|
|
2547
|
+
if (m = value.match($890783418b00a858$var$HSB_REGEX)) {
|
|
2548
|
+
const [h, s, b, a] = (m[1] ?? m[2]).split(",").map((n) => Number(n.trim().replace("%", "")));
|
|
2549
|
+
return new _$890783418b00a858$var$HSBColor($890783418b00a858$export$87f5012e10bb20b2(h), (0, $240e9101ba2842f5$export$7d15b64cf5a3a4c4)(s, 0, 100), (0, $240e9101ba2842f5$export$7d15b64cf5a3a4c4)(b, 0, 100), (0, $240e9101ba2842f5$export$7d15b64cf5a3a4c4)(a ?? 1, 0, 1));
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
toString(format = "css") {
|
|
2553
|
+
switch (format) {
|
|
2554
|
+
case "css":
|
|
2555
|
+
return this.toHSL().toString("css");
|
|
2556
|
+
case "hex":
|
|
2557
|
+
return this.toRGB().toString("hex");
|
|
2558
|
+
case "hexa":
|
|
2559
|
+
return this.toRGB().toString("hexa");
|
|
2560
|
+
case "hsb":
|
|
2561
|
+
return `hsb(${this.hue}, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.saturation, 2)}%, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.brightness, 2)}%)`;
|
|
2562
|
+
case "hsba":
|
|
2563
|
+
return `hsba(${this.hue}, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.saturation, 2)}%, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.brightness, 2)}%, ${this.alpha})`;
|
|
2564
|
+
default:
|
|
2565
|
+
return this.toFormat(format).toString(format);
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
toFormat(format) {
|
|
2569
|
+
switch (format) {
|
|
2570
|
+
case "hsb":
|
|
2571
|
+
case "hsba":
|
|
2572
|
+
return this;
|
|
2573
|
+
case "hsl":
|
|
2574
|
+
case "hsla":
|
|
2575
|
+
return this.toHSL();
|
|
2576
|
+
case "rgb":
|
|
2577
|
+
case "rgba":
|
|
2578
|
+
return this.toRGB();
|
|
2579
|
+
default:
|
|
2580
|
+
throw new Error("Unsupported color conversion: hsb -> " + format);
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
/**
|
|
2584
|
+
* Converts a HSB color to HSL.
|
|
2585
|
+
* Conversion formula adapted from https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_HSL.
|
|
2586
|
+
* @returns An HSLColor object.
|
|
2587
|
+
*/
|
|
2588
|
+
toHSL() {
|
|
2589
|
+
let saturation = this.saturation / 100;
|
|
2590
|
+
let brightness = this.brightness / 100;
|
|
2591
|
+
let lightness = brightness * (1 - saturation / 2);
|
|
2592
|
+
saturation = lightness === 0 || lightness === 1 ? 0 : (brightness - lightness) / Math.min(lightness, 1 - lightness);
|
|
2593
|
+
return new $890783418b00a858$var$HSLColor((0, $240e9101ba2842f5$export$b6268554fba451f)(this.hue, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(saturation * 100, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(lightness * 100, 2), this.alpha);
|
|
2594
|
+
}
|
|
2595
|
+
/**
|
|
2596
|
+
* Converts a HSV color value to RGB.
|
|
2597
|
+
* Conversion formula adapted from https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_RGB_alternative.
|
|
2598
|
+
* @returns An RGBColor object.
|
|
2599
|
+
*/
|
|
2600
|
+
toRGB() {
|
|
2601
|
+
let hue = this.hue;
|
|
2602
|
+
let saturation = this.saturation / 100;
|
|
2603
|
+
let brightness = this.brightness / 100;
|
|
2604
|
+
let fn = (n, k = (n + hue / 60) % 6) => brightness - saturation * brightness * Math.max(Math.min(k, 4 - k, 1), 0);
|
|
2605
|
+
return new $890783418b00a858$var$RGBColor(Math.round(fn(5) * 255), Math.round(fn(3) * 255), Math.round(fn(1) * 255), this.alpha);
|
|
2606
|
+
}
|
|
2607
|
+
clone() {
|
|
2608
|
+
return new _$890783418b00a858$var$HSBColor(this.hue, this.saturation, this.brightness, this.alpha);
|
|
2609
|
+
}
|
|
2610
|
+
getChannelRange(channel) {
|
|
2611
|
+
switch (channel) {
|
|
2612
|
+
case "hue":
|
|
2613
|
+
return {
|
|
2614
|
+
minValue: 0,
|
|
2615
|
+
maxValue: 360,
|
|
2616
|
+
step: 1,
|
|
2617
|
+
pageSize: 15
|
|
2618
|
+
};
|
|
2619
|
+
case "saturation":
|
|
2620
|
+
case "brightness":
|
|
2621
|
+
return {
|
|
2622
|
+
minValue: 0,
|
|
2623
|
+
maxValue: 100,
|
|
2624
|
+
step: 1,
|
|
2625
|
+
pageSize: 10
|
|
2626
|
+
};
|
|
2627
|
+
case "alpha":
|
|
2628
|
+
return {
|
|
2629
|
+
minValue: 0,
|
|
2630
|
+
maxValue: 1,
|
|
2631
|
+
step: 0.01,
|
|
2632
|
+
pageSize: 0.1
|
|
2633
|
+
};
|
|
2634
|
+
default:
|
|
2635
|
+
throw new Error("Unknown color channel: " + channel);
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
getChannelFormatOptions(channel) {
|
|
2639
|
+
switch (channel) {
|
|
2640
|
+
case "hue":
|
|
2641
|
+
return {
|
|
2642
|
+
style: "unit",
|
|
2643
|
+
unit: "degree",
|
|
2644
|
+
unitDisplay: "narrow"
|
|
2645
|
+
};
|
|
2646
|
+
case "saturation":
|
|
2647
|
+
case "brightness":
|
|
2648
|
+
case "alpha":
|
|
2649
|
+
return {
|
|
2650
|
+
style: "percent"
|
|
2651
|
+
};
|
|
2652
|
+
default:
|
|
2653
|
+
throw new Error("Unknown color channel: " + channel);
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
formatChannelValue(channel, locale) {
|
|
2657
|
+
let options = this.getChannelFormatOptions(channel);
|
|
2658
|
+
let value = this.getChannelValue(channel);
|
|
2659
|
+
if (channel === "saturation" || channel === "brightness") value /= 100;
|
|
2660
|
+
return new (0, $1dfb119a85e764e5$export$cc77c4ff7e8673c5)(locale, options).format(value);
|
|
2661
|
+
}
|
|
2662
|
+
getColorSpace() {
|
|
2663
|
+
return "hsb";
|
|
2664
|
+
}
|
|
2665
|
+
static {
|
|
2666
|
+
this.colorChannels = [
|
|
2667
|
+
"hue",
|
|
2668
|
+
"saturation",
|
|
2669
|
+
"brightness"
|
|
2670
|
+
];
|
|
2671
|
+
}
|
|
2672
|
+
getColorChannels() {
|
|
2673
|
+
return _$890783418b00a858$var$HSBColor.colorChannels;
|
|
2674
|
+
}
|
|
2675
|
+
};
|
|
2676
|
+
var $890783418b00a858$var$HSL_REGEX = /hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;
|
|
2677
|
+
var $890783418b00a858$var$HSLColor = class _$890783418b00a858$var$HSLColor extends $890783418b00a858$var$Color {
|
|
2678
|
+
constructor(hue, saturation, lightness, alpha) {
|
|
2679
|
+
super(), this.hue = hue, this.saturation = saturation, this.lightness = lightness, this.alpha = alpha;
|
|
2680
|
+
}
|
|
2681
|
+
static parse(value) {
|
|
2682
|
+
let m;
|
|
2683
|
+
if (m = value.match($890783418b00a858$var$HSL_REGEX)) {
|
|
2684
|
+
const [h, s, l, a] = (m[1] ?? m[2]).split(",").map((n) => Number(n.trim().replace("%", "")));
|
|
2685
|
+
return new _$890783418b00a858$var$HSLColor($890783418b00a858$export$87f5012e10bb20b2(h), (0, $240e9101ba2842f5$export$7d15b64cf5a3a4c4)(s, 0, 100), (0, $240e9101ba2842f5$export$7d15b64cf5a3a4c4)(l, 0, 100), (0, $240e9101ba2842f5$export$7d15b64cf5a3a4c4)(a ?? 1, 0, 1));
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
toString(format = "css") {
|
|
2689
|
+
switch (format) {
|
|
2690
|
+
case "hex":
|
|
2691
|
+
return this.toRGB().toString("hex");
|
|
2692
|
+
case "hexa":
|
|
2693
|
+
return this.toRGB().toString("hexa");
|
|
2694
|
+
case "hsl":
|
|
2695
|
+
return `hsl(${this.hue}, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.saturation, 2)}%, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.lightness, 2)}%)`;
|
|
2696
|
+
case "css":
|
|
2697
|
+
case "hsla":
|
|
2698
|
+
return `hsla(${this.hue}, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.saturation, 2)}%, ${(0, $240e9101ba2842f5$export$b6268554fba451f)(this.lightness, 2)}%, ${this.alpha})`;
|
|
2699
|
+
default:
|
|
2700
|
+
return this.toFormat(format).toString(format);
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
toFormat(format) {
|
|
2704
|
+
switch (format) {
|
|
2705
|
+
case "hsl":
|
|
2706
|
+
case "hsla":
|
|
2707
|
+
return this;
|
|
2708
|
+
case "hsb":
|
|
2709
|
+
case "hsba":
|
|
2710
|
+
return this.toHSB();
|
|
2711
|
+
case "rgb":
|
|
2712
|
+
case "rgba":
|
|
2713
|
+
return this.toRGB();
|
|
2714
|
+
default:
|
|
2715
|
+
throw new Error("Unsupported color conversion: hsl -> " + format);
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
/**
|
|
2719
|
+
* Converts a HSL color to HSB.
|
|
2720
|
+
* Conversion formula adapted from https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_HSV.
|
|
2721
|
+
* @returns An HSBColor object.
|
|
2722
|
+
*/
|
|
2723
|
+
toHSB() {
|
|
2724
|
+
let saturation = this.saturation / 100;
|
|
2725
|
+
let lightness = this.lightness / 100;
|
|
2726
|
+
let brightness = lightness + saturation * Math.min(lightness, 1 - lightness);
|
|
2727
|
+
saturation = brightness === 0 ? 0 : 2 * (1 - lightness / brightness);
|
|
2728
|
+
return new $890783418b00a858$var$HSBColor((0, $240e9101ba2842f5$export$b6268554fba451f)(this.hue, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(saturation * 100, 2), (0, $240e9101ba2842f5$export$b6268554fba451f)(brightness * 100, 2), this.alpha);
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* Converts a HSL color to RGB.
|
|
2732
|
+
* Conversion formula adapted from https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_RGB_alternative.
|
|
2733
|
+
* @returns An RGBColor object.
|
|
2734
|
+
*/
|
|
2735
|
+
toRGB() {
|
|
2736
|
+
let hue = this.hue;
|
|
2737
|
+
let saturation = this.saturation / 100;
|
|
2738
|
+
let lightness = this.lightness / 100;
|
|
2739
|
+
let a = saturation * Math.min(lightness, 1 - lightness);
|
|
2740
|
+
let fn = (n, k = (n + hue / 30) % 12) => lightness - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
|
|
2741
|
+
return new $890783418b00a858$var$RGBColor(Math.round(fn(0) * 255), Math.round(fn(8) * 255), Math.round(fn(4) * 255), this.alpha);
|
|
2742
|
+
}
|
|
2743
|
+
clone() {
|
|
2744
|
+
return new _$890783418b00a858$var$HSLColor(this.hue, this.saturation, this.lightness, this.alpha);
|
|
2745
|
+
}
|
|
2746
|
+
getChannelRange(channel) {
|
|
2747
|
+
switch (channel) {
|
|
2748
|
+
case "hue":
|
|
2749
|
+
return {
|
|
2750
|
+
minValue: 0,
|
|
2751
|
+
maxValue: 360,
|
|
2752
|
+
step: 1,
|
|
2753
|
+
pageSize: 15
|
|
2754
|
+
};
|
|
2755
|
+
case "saturation":
|
|
2756
|
+
case "lightness":
|
|
2757
|
+
return {
|
|
2758
|
+
minValue: 0,
|
|
2759
|
+
maxValue: 100,
|
|
2760
|
+
step: 1,
|
|
2761
|
+
pageSize: 10
|
|
2762
|
+
};
|
|
2763
|
+
case "alpha":
|
|
2764
|
+
return {
|
|
2765
|
+
minValue: 0,
|
|
2766
|
+
maxValue: 1,
|
|
2767
|
+
step: 0.01,
|
|
2768
|
+
pageSize: 0.1
|
|
2769
|
+
};
|
|
2770
|
+
default:
|
|
2771
|
+
throw new Error("Unknown color channel: " + channel);
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
getChannelFormatOptions(channel) {
|
|
2775
|
+
switch (channel) {
|
|
2776
|
+
case "hue":
|
|
2777
|
+
return {
|
|
2778
|
+
style: "unit",
|
|
2779
|
+
unit: "degree",
|
|
2780
|
+
unitDisplay: "narrow"
|
|
2781
|
+
};
|
|
2782
|
+
case "saturation":
|
|
2783
|
+
case "lightness":
|
|
2784
|
+
case "alpha":
|
|
2785
|
+
return {
|
|
2786
|
+
style: "percent"
|
|
2787
|
+
};
|
|
2788
|
+
default:
|
|
2789
|
+
throw new Error("Unknown color channel: " + channel);
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
formatChannelValue(channel, locale) {
|
|
2793
|
+
let options = this.getChannelFormatOptions(channel);
|
|
2794
|
+
let value = this.getChannelValue(channel);
|
|
2795
|
+
if (channel === "saturation" || channel === "lightness") value /= 100;
|
|
2796
|
+
return new (0, $1dfb119a85e764e5$export$cc77c4ff7e8673c5)(locale, options).format(value);
|
|
2797
|
+
}
|
|
2798
|
+
getColorSpace() {
|
|
2799
|
+
return "hsl";
|
|
2800
|
+
}
|
|
2801
|
+
static {
|
|
2802
|
+
this.colorChannels = [
|
|
2803
|
+
"hue",
|
|
2804
|
+
"saturation",
|
|
2805
|
+
"lightness"
|
|
2806
|
+
];
|
|
2807
|
+
}
|
|
2808
|
+
getColorChannels() {
|
|
2809
|
+
return _$890783418b00a858$var$HSLColor.colorChannels;
|
|
2810
|
+
}
|
|
2811
|
+
};
|
|
2812
|
+
function $890783418b00a858$var$toOKLCH(color) {
|
|
2813
|
+
let rgb = color.toFormat("rgb");
|
|
2814
|
+
let red = rgb.getChannelValue("red") / 255;
|
|
2815
|
+
let green = rgb.getChannelValue("green") / 255;
|
|
2816
|
+
let blue = rgb.getChannelValue("blue") / 255;
|
|
2817
|
+
[red, green, blue] = $890783418b00a858$var$lin_sRGB(red, green, blue);
|
|
2818
|
+
let [x, y, z] = $890783418b00a858$var$lin_sRGB_to_XYZ(red, green, blue);
|
|
2819
|
+
let [l, a, b] = $890783418b00a858$var$XYZ_to_OKLab(x, y, z);
|
|
2820
|
+
return $890783418b00a858$var$OKLab_to_OKLCH(l, a, b);
|
|
2821
|
+
}
|
|
2822
|
+
function $890783418b00a858$var$OKLab_to_OKLCH(l, a, b) {
|
|
2823
|
+
var hue = Math.atan2(b, a) * 180 / Math.PI;
|
|
2824
|
+
return [
|
|
2825
|
+
l,
|
|
2826
|
+
Math.sqrt(a ** 2 + b ** 2),
|
|
2827
|
+
hue >= 0 ? hue : hue + 360
|
|
2828
|
+
// Hue, in degrees [0 to 360)
|
|
2829
|
+
];
|
|
2830
|
+
}
|
|
2831
|
+
function $890783418b00a858$var$lin_sRGB(r, g, b) {
|
|
2832
|
+
return [
|
|
2833
|
+
$890783418b00a858$var$lin_sRGB_component(r),
|
|
2834
|
+
$890783418b00a858$var$lin_sRGB_component(g),
|
|
2835
|
+
$890783418b00a858$var$lin_sRGB_component(b)
|
|
2836
|
+
];
|
|
2837
|
+
}
|
|
2838
|
+
function $890783418b00a858$var$lin_sRGB_component(val) {
|
|
2839
|
+
let sign = val < 0 ? -1 : 1;
|
|
2840
|
+
let abs = Math.abs(val);
|
|
2841
|
+
if (abs <= 0.04045) return val / 12.92;
|
|
2842
|
+
return sign * Math.pow((abs + 0.055) / 1.055, 2.4);
|
|
2843
|
+
}
|
|
2844
|
+
function $890783418b00a858$var$lin_sRGB_to_XYZ(r, g, b) {
|
|
2845
|
+
const M = [
|
|
2846
|
+
506752 / 1228815,
|
|
2847
|
+
87881 / 245763,
|
|
2848
|
+
12673 / 70218,
|
|
2849
|
+
87098 / 409605,
|
|
2850
|
+
175762 / 245763,
|
|
2851
|
+
12673 / 175545,
|
|
2852
|
+
7918 / 409605,
|
|
2853
|
+
87881 / 737289,
|
|
2854
|
+
1001167 / 1053270
|
|
2855
|
+
];
|
|
2856
|
+
return $890783418b00a858$var$multiplyMatrix(M, r, g, b);
|
|
2857
|
+
}
|
|
2858
|
+
function $890783418b00a858$var$XYZ_to_OKLab(x, y, z) {
|
|
2859
|
+
const XYZtoLMS = [
|
|
2860
|
+
0.819022437996703,
|
|
2861
|
+
0.3619062600528904,
|
|
2862
|
+
-0.1288737815209879,
|
|
2863
|
+
0.0329836539323885,
|
|
2864
|
+
0.9292868615863434,
|
|
2865
|
+
0.0361446663506424,
|
|
2866
|
+
0.0481771893596242,
|
|
2867
|
+
0.2642395317527308,
|
|
2868
|
+
0.6335478284694309
|
|
2869
|
+
];
|
|
2870
|
+
const LMStoOKLab = [
|
|
2871
|
+
0.210454268309314,
|
|
2872
|
+
0.7936177747023054,
|
|
2873
|
+
-0.0040720430116193,
|
|
2874
|
+
1.9779985324311684,
|
|
2875
|
+
-2.42859224204858,
|
|
2876
|
+
0.450593709617411,
|
|
2877
|
+
0.0259040424655478,
|
|
2878
|
+
0.7827717124575296,
|
|
2879
|
+
-0.8086757549230774
|
|
2880
|
+
];
|
|
2881
|
+
let [a, b, c] = $890783418b00a858$var$multiplyMatrix(XYZtoLMS, x, y, z);
|
|
2882
|
+
return $890783418b00a858$var$multiplyMatrix(LMStoOKLab, Math.cbrt(a), Math.cbrt(b), Math.cbrt(c));
|
|
2883
|
+
}
|
|
2884
|
+
function $890783418b00a858$var$multiplyMatrix(m, x, y, z) {
|
|
2885
|
+
let a = m[0] * x + m[1] * y + m[2] * z;
|
|
2886
|
+
let b = m[3] * x + m[4] * y + m[5] * z;
|
|
2887
|
+
let c = m[6] * x + m[7] * y + m[8] * z;
|
|
2888
|
+
return [
|
|
2889
|
+
a,
|
|
2890
|
+
b,
|
|
2891
|
+
c
|
|
2892
|
+
];
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
// node_modules/react-stately/dist/private/collections/getChildNodes.mjs
|
|
2896
|
+
function $cd5ea4b915021f1d$export$1005530eda016c13(node, collection) {
|
|
2897
|
+
if (typeof collection.getChildren === "function") return collection.getChildren(node.key);
|
|
2898
|
+
return node.childNodes;
|
|
2899
|
+
}
|
|
2900
|
+
function $cd5ea4b915021f1d$export$fbdeaa6a76694f71(iterable) {
|
|
2901
|
+
return $cd5ea4b915021f1d$export$5f3398f8733f90e2(iterable, 0);
|
|
2902
|
+
}
|
|
2903
|
+
function $cd5ea4b915021f1d$export$5f3398f8733f90e2(iterable, index) {
|
|
2904
|
+
if (index < 0) return void 0;
|
|
2905
|
+
let i = 0;
|
|
2906
|
+
for (let item of iterable) {
|
|
2907
|
+
if (i === index) return item;
|
|
2908
|
+
i++;
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
function $cd5ea4b915021f1d$export$7475b2c64539e4cf(iterable) {
|
|
2912
|
+
let lastItem = void 0;
|
|
2913
|
+
for (let value of iterable) lastItem = value;
|
|
2914
|
+
return lastItem;
|
|
2915
|
+
}
|
|
2916
|
+
function $cd5ea4b915021f1d$export$8c434b3a7a4dad6(collection, a, b) {
|
|
2917
|
+
if (a.parentKey === b.parentKey) return a.index - b.index;
|
|
2918
|
+
let aAncestors = [
|
|
2919
|
+
...$cd5ea4b915021f1d$var$getAncestors(collection, a),
|
|
2920
|
+
a
|
|
2921
|
+
];
|
|
2922
|
+
let bAncestors = [
|
|
2923
|
+
...$cd5ea4b915021f1d$var$getAncestors(collection, b),
|
|
2924
|
+
b
|
|
2925
|
+
];
|
|
2926
|
+
let firstNonMatchingAncestor = aAncestors.slice(0, bAncestors.length).findIndex((a2, i) => a2 !== bAncestors[i]);
|
|
2927
|
+
if (firstNonMatchingAncestor !== -1) {
|
|
2928
|
+
a = aAncestors[firstNonMatchingAncestor];
|
|
2929
|
+
b = bAncestors[firstNonMatchingAncestor];
|
|
2930
|
+
return a.index - b.index;
|
|
2931
|
+
}
|
|
2932
|
+
if (aAncestors.findIndex((node) => node === b) >= 0) return 1;
|
|
2933
|
+
else if (bAncestors.findIndex((node) => node === a) >= 0) return -1;
|
|
2934
|
+
return -1;
|
|
2935
|
+
}
|
|
2936
|
+
function $cd5ea4b915021f1d$var$getAncestors(collection, node) {
|
|
2937
|
+
let parents = [];
|
|
2938
|
+
let currNode = node;
|
|
2939
|
+
while (currNode?.parentKey != null) {
|
|
2940
|
+
currNode = collection.getItem(currNode.parentKey);
|
|
2941
|
+
if (currNode) parents.unshift(currNode);
|
|
2942
|
+
}
|
|
2943
|
+
return parents;
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
export {
|
|
2947
|
+
$3e6197669829fe11$export$40bfa8c7b0832715,
|
|
2948
|
+
$240e9101ba2842f5$export$7d15b64cf5a3a4c4,
|
|
2949
|
+
$240e9101ba2842f5$export$cb6e0bb50bc19463,
|
|
2950
|
+
$fd2148440a13ec26$export$aca958c65c314e6c,
|
|
2951
|
+
$fd2148440a13ec26$export$dad6ae84456c676a,
|
|
2952
|
+
$fd2148440a13ec26$export$a763b9476acd3eb,
|
|
2953
|
+
$fd2148440a13ec26$export$fc1a364ae1f3ff10,
|
|
2954
|
+
$fd2148440a13ec26$export$75ee7c75d68f5b0e,
|
|
2955
|
+
$fd3c5e01e837dc20$export$8042c6c013fd5226,
|
|
2956
|
+
$a747a10fe70a57da$export$c17fa47878dc55b6,
|
|
2957
|
+
$b27c684a33948c64$export$2f817fcdc4b89ae0,
|
|
2958
|
+
$1dfb119a85e764e5$export$cc77c4ff7e8673c5,
|
|
2959
|
+
$eb76cf4feb040f77$export$cd11ab140839f11d,
|
|
2960
|
+
$890783418b00a858$export$6e865ea70d7724f,
|
|
2961
|
+
$cd5ea4b915021f1d$export$1005530eda016c13,
|
|
2962
|
+
$cd5ea4b915021f1d$export$fbdeaa6a76694f71,
|
|
2963
|
+
$cd5ea4b915021f1d$export$5f3398f8733f90e2,
|
|
2964
|
+
$cd5ea4b915021f1d$export$7475b2c64539e4cf,
|
|
2965
|
+
$cd5ea4b915021f1d$export$8c434b3a7a4dad6
|
|
2966
|
+
};
|