@dineug/erd-editor 3.10.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +140 -158
- package/dist/components/appContext.d.ts +4 -0
- package/dist/components/erd/Erd.d.ts +3 -0
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.d.ts +2 -1
- package/dist/components/erd/automatic-table-placement/createAutomaticTablePlacement.d.ts +38 -2
- package/dist/components/erd/automatic-table-placement/elkPlacement.d.ts +42 -0
- package/dist/components/erd/automatic-table-placement/flowPlacement.d.ts +21 -0
- package/dist/components/erd/automatic-table-placement/placementActions.d.ts +14 -0
- package/dist/components/erd/automatic-table-placement/runElkPlacement.d.ts +0 -11
- package/dist/components/erd/canvas/DiffOutline.template.d.ts +14 -0
- package/dist/components/erd/canvas/SceneIcon.template.d.ts +2 -2
- package/dist/components/erd/canvas/entityDrag.d.ts +17 -1
- package/dist/components/erd/canvas/middleButtonPan.d.ts +11 -0
- package/dist/components/erd/canvas/sceneTokens.d.ts +40 -0
- package/dist/components/erd/canvas/table/Table.d.ts +9 -1
- package/dist/components/erd/canvas/table/doubleClick.d.ts +3 -4
- package/dist/components/erd/canvas/table-group/TableGroup.d.ts +17 -0
- package/dist/components/erd/canvas/table-group/TableGroupBody.d.ts +17 -0
- package/dist/components/erd/canvas/table-group/TableGroupDropTarget.d.ts +10 -0
- package/dist/components/erd/canvas/table-group/TableGroupSash.d.ts +35 -0
- package/dist/components/erd/canvas/table-group/TableGroups.d.ts +10 -0
- package/dist/components/erd/canvas/table-group/tableGroupBox.d.ts +40 -0
- package/dist/components/erd/canvas/table-group/titleLayout.d.ts +45 -0
- package/dist/components/erd/canvas/useMoveEntity.d.ts +2 -0
- package/dist/components/erd/diff-viewer/diff-tree/DiffTree.d.ts +19 -0
- package/dist/components/erd/diff-viewer/diff-tree/DiffTree.styles.d.ts +12 -0
- package/dist/components/erd/diff-viewer/diff-tree/diffTreeModel.d.ts +49 -0
- package/dist/components/erd/diff-viewer/diff.d.ts +21 -19
- package/dist/components/erd/draw-target/DrawTargetButtons.d.ts +16 -0
- package/dist/components/erd/draw-target/DrawTargetButtons.styles.d.ts +14 -0
- package/dist/components/erd/draw-target/drawTargetState.d.ts +26 -0
- package/dist/components/erd/draw-target/findDrawTarget.d.ts +29 -0
- package/dist/components/erd/draw-target/placePill.d.ts +47 -0
- package/dist/components/erd/erd-context-menu/ErdContextMenu.d.ts +6 -0
- package/dist/components/erd/erd-context-menu/menus/drawRelationshipMenus.d.ts +3 -0
- package/dist/components/erd/erd-context-menu/menus/exportMenus.d.ts +7 -2
- package/dist/components/erd/erd-context-menu/menus/importMenus.d.ts +5 -1
- package/dist/components/erd/erd-context-menu/menus/relationshipMenus.d.ts +6 -2
- package/dist/components/erd/erd-context-menu/menus/showMenus.d.ts +3 -1
- package/dist/components/erd/erd-context-menu/menus/tablePlacementMenus.d.ts +3 -0
- package/dist/components/erd/floating-toolbar/FloatingToolbar.d.ts +7 -4
- package/dist/components/erd/floating-toolbar/ToolbarCompass.template.d.ts +3 -1
- package/dist/components/erd/goToErdTarget.d.ts +40 -16
- package/dist/components/erd/hitTest.d.ts +16 -1
- package/dist/components/erd/minimap/MinimapScene.d.ts +1 -1
- package/dist/components/erd/minimap/table/Table.d.ts +3 -3
- package/dist/components/erd/minimap/table-group/TableGroup.d.ts +17 -0
- package/dist/components/erd/relationshipHighlight.d.ts +18 -0
- package/dist/components/erd/table-group/TableGroupDraft.d.ts +15 -0
- package/dist/components/erd/table-group/TableGroupDraft.styles.d.ts +6 -0
- package/dist/components/erd/table-group/tableGroupName.d.ts +21 -0
- package/dist/components/erd/table-group/useTableGroupDraw.d.ts +25 -0
- package/dist/components/erd/table-properties/TableProperties.styles.d.ts +2 -2
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-key/IndexesKey.d.ts +6 -0
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.d.ts +3 -0
- package/dist/components/erd/welcome-screen/WelcomeScreen.d.ts +17 -0
- package/dist/components/erd/welcome-screen/WelcomeScreen.styles.d.ts +17 -0
- package/dist/components/erd/welcome-screen/welcome-hints/WelcomeHints.d.ts +21 -0
- package/dist/components/erd/welcome-screen/welcome-hints/WelcomeHints.styles.d.ts +19 -0
- package/dist/components/erd/welcome-screen/welcome-hints/hintArrows.d.ts +10 -0
- package/dist/components/erd/welcome-screen/welcomeLayout.d.ts +91 -0
- package/dist/components/erd-editor/ErdEditor.d.ts +66 -6
- package/dist/components/erd-editor/ErdEditor.styles.d.ts +4 -0
- package/dist/components/erd-editor/useErdEditorAttachElement.d.ts +14 -1
- package/dist/components/erd-editor/viewportLayout.d.ts +52 -0
- package/dist/components/explorer/Explorer.d.ts +12 -0
- package/dist/components/explorer/explorer-controller/ExplorerController.d.ts +11 -0
- package/dist/components/explorer/explorer-panel/ExplorerPanel.d.ts +14 -0
- package/dist/components/explorer/explorer-panel/ExplorerPanel.styles.d.ts +13 -0
- package/dist/components/explorer/explorer-search/ExplorerSearch.d.ts +12 -0
- package/dist/components/explorer/explorer-search/ExplorerSearch.styles.d.ts +13 -0
- package/dist/components/explorer/explorerCommands.d.ts +28 -0
- package/dist/components/explorer/explorerNavigation.d.ts +14 -0
- package/dist/components/explorer/explorerSearch.d.ts +71 -0
- package/dist/components/explorer/explorerTree.d.ts +90 -0
- package/dist/components/explorer/explorerView.d.ts +54 -0
- package/dist/components/{find-replace → explorer}/matchTarget.d.ts +5 -7
- package/dist/components/export-image/ExportImage.d.ts +23 -0
- package/dist/components/export-image/ExportImage.styles.d.ts +34 -0
- package/dist/components/export-image/exportImageActions.d.ts +48 -0
- package/dist/components/generator-code/GeneratorCode.d.ts +1 -0
- package/dist/components/generator-code/generator-code-context-menu/GeneratorCodeContextMenu.d.ts +3 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/columnNameCaseMenus.d.ts +3 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/languageMenus.d.ts +8 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/tableNameCaseMenus.d.ts +3 -0
- package/dist/components/generator-code/generator-code-options/GeneratorCodeOptions.d.ts +17 -0
- package/dist/components/generator-code/generator-code-options/GeneratorCodeOptions.styles.d.ts +5 -0
- package/dist/components/generator-code/generatorCodeView.d.ts +12 -0
- package/dist/components/generator-code/languageSettings.d.ts +14 -0
- package/dist/components/locale-picker/LocalePicker.d.ts +13 -0
- package/dist/components/locale-picker/LocalePicker.styles.d.ts +19 -0
- package/dist/components/localeContext.d.ts +10 -0
- package/dist/components/localized/Localized.d.ts +18 -0
- package/dist/components/map-columns/MapColumnsBody.d.ts +24 -0
- package/dist/components/map-columns/MapColumnsDialog.d.ts +13 -0
- package/dist/components/map-columns/MapColumnsDialog.styles.d.ts +38 -0
- package/dist/components/map-columns/mapColumnsAction.d.ts +13 -0
- package/dist/components/map-columns/nameOf.d.ts +6 -0
- package/dist/components/map-columns/openMapColumns.d.ts +9 -0
- package/dist/components/primitives/code-block/CodeBlock.d.ts +6 -1
- package/dist/components/primitives/code-block/CodeBlock.styles.d.ts +2 -0
- package/dist/components/primitives/color-picker/ColorPicker.d.ts +10 -1
- package/dist/components/primitives/color-picker/ColorPicker.styles.d.ts +25 -0
- package/dist/components/primitives/color-picker/colorModel.d.ts +36 -0
- package/dist/components/primitives/color-picker/presetColors.d.ts +13 -0
- package/dist/components/primitives/color-picker/resolveColor.d.ts +7 -0
- package/dist/components/primitives/context-menu/ContextMenu.d.ts +2 -0
- package/dist/components/primitives/context-menu/context-menu-content/ContextMenuContent.d.ts +1 -0
- package/dist/components/primitives/context-menu/context-menu-content/fitMenu.d.ts +4 -4
- package/dist/components/primitives/context-menu/context-menu-separator/ContextMenuSeparator.d.ts +8 -0
- package/dist/components/primitives/context-menu/context-menu-separator/ContextMenuSeparator.styles.d.ts +2 -0
- package/dist/components/primitives/context-menu/menu/Menu.d.ts +2 -0
- package/dist/components/primitives/context-menu/submenu-chevron/SubmenuChevron.d.ts +5 -0
- package/dist/components/primitives/dialog/Dialog.d.ts +21 -0
- package/dist/components/primitives/dialog/Dialog.styles.d.ts +12 -0
- package/dist/components/primitives/highlighted-text/HighlightedText.d.ts +2 -5
- package/dist/components/primitives/icon/icons.d.ts +24 -3
- package/dist/components/primitives/sash/Sash.d.ts +1 -0
- package/dist/components/primitives/select/Select.d.ts +18 -0
- package/dist/components/primitives/select/Select.styles.d.ts +13 -0
- package/dist/components/primitives/text-input/TextInput.d.ts +2 -0
- package/dist/components/primitives/toast/Toast.d.ts +5 -1
- package/dist/components/primitives/toast/Toast.styles.d.ts +2 -2
- package/dist/components/primitives/tree/Tree.d.ts +30 -0
- package/dist/components/primitives/tree/Tree.styles.d.ts +5 -0
- package/dist/components/primitives/tree/treeModel.d.ts +42 -0
- package/dist/components/quick-search/QuickSearch.d.ts +2 -1
- package/dist/components/quick-search/QuickSearch.styles.d.ts +1 -0
- package/dist/components/quick-search/actions.d.ts +39 -7
- package/dist/components/quick-search/hangul.d.ts +16 -10
- package/dist/components/quick-search/paletteList.d.ts +7 -0
- package/dist/components/quick-search/paletteQuery.d.ts +5 -4
- package/dist/components/quick-search/scopedActions.d.ts +10 -15
- package/dist/components/schema-sql/SchemaSQL.d.ts +2 -0
- package/dist/components/schema-sql/SchemaSQL.styles.d.ts +7 -0
- package/dist/components/schema-sql/schema-sql-context-menu/SchemaSQLContextMenu.d.ts +3 -0
- package/dist/components/schema-sql/schema-sql-context-menu/menus/bracketMenus.d.ts +3 -0
- package/dist/components/schema-sql/schema-sql-context-menu/menus/headerMenus.d.ts +29 -0
- package/dist/components/schema-sql/schema-sql-context-menu/menus/statementsMenus.d.ts +27 -0
- package/dist/components/schema-sql/schema-sql-options/SchemaSQLOptions.d.ts +24 -0
- package/dist/components/schema-sql/schema-sql-options/SchemaSQLOptions.styles.d.ts +45 -0
- package/dist/components/schema-sql/schema-sql-options/ScriptEditor.d.ts +20 -0
- package/dist/components/schema-sql/schema-sql-options/ScriptEditor.styles.d.ts +13 -0
- package/dist/components/schema-sql/schema-sql-options/dropWarning.d.ts +8 -0
- package/dist/components/schema-sql/schemaSQLView.d.ts +71 -0
- package/dist/components/settings/Settings.styles.d.ts +7 -0
- package/dist/components/settings/columnTypeLabels.d.ts +8 -0
- package/dist/components/settings/lockSettingRows.d.ts +16 -0
- package/dist/components/settings/settings-lnb/SettingsLnb.d.ts +3 -0
- package/dist/components/settings/settingsPage.d.ts +10 -0
- package/dist/components/theme-builder/ThemeBuilder.d.ts +9 -1
- package/dist/components/theme-builder/ThemeBuilder.styles.d.ts +7 -4
- package/dist/components/toast-container/openStatusToast.d.ts +29 -0
- package/dist/components/toast-container/openToastWhileRunning.d.ts +1 -1
- package/dist/components/toolbar/Toolbar.d.ts +1 -0
- package/dist/components/toolbar/Toolbar.styles.d.ts +0 -1
- package/dist/components/visualization/graph-node/GraphNode.d.ts +2 -2
- package/dist/components/visualization/graphPan.d.ts +12 -0
- package/dist/components/visualization/visualizationView.d.ts +2 -2
- package/dist/constants/language.d.ts +1 -1
- package/dist/constants/layout.d.ts +41 -1
- package/dist/constants/open.d.ts +3 -1
- package/dist/constants/schema.d.ts +25 -4
- package/dist/constants/sql/dataType/PostgreSQL.d.ts +2 -1
- package/dist/constants/sql/dataType/SQLite.d.ts +3 -1
- package/dist/engine/actions.d.ts +20 -2
- package/dist/engine/context.d.ts +6 -0
- package/dist/engine/index.js +26 -21
- package/dist/engine/modules/editor/actions.d.ts +10 -2
- package/dist/engine/modules/editor/atom.actions.d.ts +49 -11
- package/dist/engine/modules/editor/generator.actions.d.ts +107 -8
- package/dist/engine/modules/editor/state.d.ts +16 -3
- package/dist/engine/modules/editor/utils/color.d.ts +21 -0
- package/dist/engine/modules/editor/utils/duplicate.d.ts +28 -1
- package/dist/engine/modules/editor/utils/focus.d.ts +16 -0
- package/dist/engine/modules/editor/utils/releaseHidden.d.ts +16 -0
- package/dist/engine/modules/editor/utils/selection.d.ts +12 -0
- package/dist/engine/modules/relationship/actions.d.ts +6 -0
- package/dist/engine/modules/relationship/atom.actions.d.ts +57 -1
- package/dist/engine/modules/relationship/endFlags.d.ts +14 -0
- package/dist/engine/modules/relationship/fkColumns.d.ts +25 -6
- package/dist/engine/modules/relationship/history.d.ts +1 -0
- package/dist/engine/modules/relationship/hooks.d.ts +0 -11
- package/dist/engine/modules/relationship/referenceType.d.ts +12 -0
- package/dist/engine/modules/settings/actions.d.ts +17 -4
- package/dist/engine/modules/settings/atom.actions.d.ts +63 -19
- package/dist/engine/modules/settings/generator.actions.d.ts +7 -0
- package/dist/engine/modules/settings/history.d.ts +1 -0
- package/dist/engine/modules/table/actions.d.ts +8 -0
- package/dist/engine/modules/table/atom.actions.d.ts +31 -0
- package/dist/engine/modules/table/generator.actions.d.ts +3 -3
- package/dist/engine/modules/table/history.d.ts +1 -0
- package/dist/engine/modules/table-column/generator.actions.d.ts +8 -0
- package/dist/engine/modules/table-column/hooks.d.ts +0 -6
- package/dist/engine/modules/table-column/keys.d.ts +14 -0
- package/dist/engine/modules/table-column/utils/dataType.d.ts +19 -1
- package/dist/engine/modules/table-group/actions.d.ts +63 -0
- package/dist/engine/modules/table-group/atom.actions.d.ts +238 -0
- package/dist/engine/modules/table-group/generator.actions.d.ts +111 -0
- package/dist/engine/modules/table-group/history.d.ts +13 -0
- package/dist/engine/peer-store.d.ts +9 -3
- package/dist/engine/replication-store.d.ts +6 -3
- package/dist/engine/rx-operators/groupByStreamActions.d.ts +5 -1
- package/dist/engine/rx-operators/lockIgnoreFilter.d.ts +8 -0
- package/dist/engine/rx-store.d.ts +2 -0
- package/dist/engine/settle.d.ts +9 -0
- package/dist/engine/store-hooks.d.ts +0 -8
- package/dist/erd-editor.umd.js +2350 -4222
- package/dist/hooks/useNavigatorLanguages.d.ts +7 -0
- package/dist/i18n/locales.d.ts +126 -0
- package/dist/i18n/menuLabel.d.ts +12 -0
- package/dist/i18n/messages/ar-SA.d.ts +425 -0
- package/dist/i18n/messages/de-DE.d.ts +405 -0
- package/dist/i18n/messages/en/code.d.ts +16 -0
- package/dist/i18n/messages/en/colorPicker.d.ts +35 -0
- package/dist/i18n/messages/en/common.d.ts +64 -0
- package/dist/i18n/messages/en/contextMenu.d.ts +29 -0
- package/dist/i18n/messages/en/explorer.d.ts +37 -0
- package/dist/i18n/messages/en/exportImage.d.ts +25 -0
- package/dist/i18n/messages/en/feedback.d.ts +11 -0
- package/dist/i18n/messages/en/findReplace.d.ts +40 -0
- package/dist/i18n/messages/en/floatingToolbar.d.ts +12 -0
- package/dist/i18n/messages/en/index.d.ts +408 -0
- package/dist/i18n/messages/en/mapColumns.d.ts +39 -0
- package/dist/i18n/messages/en/palette.d.ts +34 -0
- package/dist/i18n/messages/en/schemaSql.d.ts +28 -0
- package/dist/i18n/messages/en/settings.d.ts +22 -0
- package/dist/i18n/messages/en/shortcuts.d.ts +34 -0
- package/dist/i18n/messages/en/tableProperties.d.ts +34 -0
- package/dist/i18n/messages/en/themeBuilder.d.ts +7 -0
- package/dist/i18n/messages/en/toolbar.d.ts +8 -0
- package/dist/i18n/messages/en/visualization.d.ts +12 -0
- package/dist/i18n/messages/en/welcome.d.ts +13 -0
- package/dist/i18n/messages/es-ES.d.ts +410 -0
- package/dist/i18n/messages/eu-ES.d.ts +405 -0
- package/dist/i18n/messages/fa-IR.d.ts +405 -0
- package/dist/i18n/messages/fr-FR.d.ts +410 -0
- package/dist/i18n/messages/he-IL.d.ts +410 -0
- package/dist/i18n/messages/id-ID.d.ts +400 -0
- package/dist/i18n/messages/index.d.ts +11 -0
- package/dist/i18n/messages/it-IT.d.ts +410 -0
- package/dist/i18n/messages/ja-JP.d.ts +400 -0
- package/dist/i18n/messages/ko-KR.d.ts +400 -0
- package/dist/i18n/messages/nl-NL.d.ts +405 -0
- package/dist/i18n/messages/pl-PL.d.ts +415 -0
- package/dist/i18n/messages/pt-BR.d.ts +410 -0
- package/dist/i18n/messages/pt-PT.d.ts +410 -0
- package/dist/i18n/messages/ro-RO.d.ts +410 -0
- package/dist/i18n/messages/ru-RU.d.ts +415 -0
- package/dist/i18n/messages/sk-SK.d.ts +415 -0
- package/dist/i18n/messages/sl-SI.d.ts +415 -0
- package/dist/i18n/messages/sv-SE.d.ts +405 -0
- package/dist/i18n/messages/tr-TR.d.ts +405 -0
- package/dist/i18n/messages/uk-UA.d.ts +415 -0
- package/dist/i18n/messages/zh-CN.d.ts +400 -0
- package/dist/i18n/messages/zh-TW.d.ts +400 -0
- package/dist/i18n/resolveLocale.d.ts +11 -0
- package/dist/i18n/source.d.ts +7 -0
- package/dist/i18n/translate.d.ts +58 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +31169 -12611
- package/dist/internal-types/index.d.ts +2 -4
- package/dist/konva/scene/contentBounds.d.ts +18 -12
- package/dist/konva/scene/metrics.d.ts +2 -0
- package/dist/konva/scene/renderScene.d.ts +10 -4
- package/dist/konva/scene/stacking.d.ts +21 -0
- package/dist/konva/scene/viewLayout.d.ts +2 -1
- package/dist/loadValue-BKvXDYoC.js +12925 -0
- package/dist/peer/index.d.ts +6 -3
- package/dist/peer/index.js +82 -75
- package/dist/services/elk-layout/elkGraph.d.ts +6 -4
- package/dist/services/elk-layout/elkLayoutOptions.d.ts +20 -0
- package/dist/services/elk-layout/elkLayoutService.d.ts +3 -3
- package/dist/services/export-png/ExportScene.d.ts +3 -3
- package/dist/services/export-png/documentScene.d.ts +14 -9
- package/dist/services/export-png/exportBox.d.ts +40 -5
- package/dist/services/export-png/exportPngService.d.ts +15 -0
- package/dist/services/export-png/exportTheme.d.ts +26 -0
- package/dist/services/export-png/index.d.ts +44 -11
- package/dist/services/export-png/renderPng.d.ts +18 -10
- package/dist/services/export-png/renderSvg.d.ts +22 -0
- package/dist/services/export-png/sceneSvg.d.ts +54 -0
- package/dist/services/shiki/graphqlGrammar.d.ts +8 -0
- package/dist/shared-store-2IUOt99m.js +1341 -0
- package/dist/styles/scrollbar.styles.d.ts +1 -1
- package/dist/themes/radix-ui-theme.d.ts +11 -3
- package/dist/themes/tokens.d.ts +18 -4
- package/dist/utils/calcTable.d.ts +9 -0
- package/dist/utils/clipboard.d.ts +9 -0
- package/dist/utils/collection/tableGroup.entity.d.ts +3 -0
- package/dist/utils/contrastText.d.ts +21 -0
- package/dist/utils/deepMerge.d.ts +8 -0
- package/dist/utils/device-detect/index.d.ts +2 -6
- package/dist/utils/diff/compareEntities.d.ts +39 -0
- package/dist/utils/diff/diffDocuments.d.ts +12 -0
- package/dist/utils/diff/index.d.ts +5 -0
- package/dist/utils/diff/pairEntities.d.ts +41 -0
- package/dist/utils/diff/types.d.ts +77 -0
- package/dist/utils/domEvent.d.ts +18 -0
- package/dist/utils/dragSelect.d.ts +2 -0
- package/dist/utils/draw-relationship/bezier.d.ts +2 -0
- package/dist/utils/draw-relationship/corner.d.ts +9 -0
- package/dist/utils/draw-relationship/index.d.ts +18 -18
- package/dist/utils/draw-relationship/loop.d.ts +29 -0
- package/dist/utils/draw-relationship/pathFinding.d.ts +1 -1
- package/dist/utils/draw-relationship/sort.d.ts +8 -1
- package/dist/utils/draw-relationship/stub.d.ts +4 -3
- package/dist/utils/emitter.d.ts +53 -12
- package/dist/utils/file/exportFile.d.ts +15 -5
- package/dist/utils/file/importFile.d.ts +9 -5
- package/dist/utils/file/importSchema.d.ts +45 -0
- package/dist/utils/find-replace/findMatches.d.ts +25 -12
- package/dist/utils/find-replace/matcher.d.ts +2 -0
- package/dist/utils/find-replace/present.d.ts +8 -5
- package/dist/utils/find-replace/preserveCase.d.ts +10 -0
- package/dist/utils/generator-code/columnTypes.d.ts +99 -0
- package/dist/utils/generator-code/doctrine.d.ts +6 -0
- package/dist/utils/generator-code/doctrineReservedWords.d.ts +7 -0
- package/dist/utils/generator-code/graphql.d.ts +6 -0
- package/dist/utils/generator-code/heck.d.ts +5 -0
- package/dist/utils/generator-code/java.d.ts +28 -0
- package/dist/utils/generator-code/jsonSchema.d.ts +50 -0
- package/dist/utils/generator-code/jsonShape.d.ts +37 -0
- package/dist/utils/generator-code/kotlin.d.ts +1 -0
- package/dist/utils/generator-code/mermaid.d.ts +5 -0
- package/dist/utils/generator-code/php.d.ts +28 -0
- package/dist/utils/generator-code/rust.d.ts +13 -0
- package/dist/utils/generator-code/rustTypes.d.ts +44 -0
- package/dist/utils/generator-code/scala.d.ts +1 -0
- package/dist/utils/generator-code/seaorm.d.ts +22 -0
- package/dist/utils/generator-code/swift.d.ts +44 -0
- package/dist/utils/generator-code/utils.d.ts +19 -0
- package/dist/utils/generator-code/zod.d.ts +25 -0
- package/dist/utils/globalEventObservable.d.ts +10 -1
- package/dist/utils/highlightWords.d.ts +29 -0
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/keyboard-shortcut/bindKeys.d.ts +9 -0
- package/dist/utils/keyboard-shortcut/index.d.ts +19 -4
- package/dist/utils/keyboard-shortcut/utils.d.ts +21 -0
- package/dist/utils/map-columns/alignTypes.d.ts +37 -0
- package/dist/utils/map-columns/buildRows.d.ts +102 -0
- package/dist/utils/map-columns/candidateKeys.d.ts +24 -0
- package/dist/utils/map-columns/index.d.ts +8 -0
- package/dist/utils/map-columns/mapping.d.ts +67 -0
- package/dist/utils/map-columns/prefill.d.ts +26 -0
- package/dist/utils/map-columns/toMapColumnsActions.d.ts +10 -0
- package/dist/utils/map-columns/validate.d.ts +45 -0
- package/dist/utils/memo.d.ts +4 -0
- package/dist/utils/schema-aml-parser/types.d.ts +2 -0
- package/dist/utils/schema-dbml-parser/tokenizer.d.ts +2 -0
- package/dist/utils/schema-dbml-parser/types.d.ts +11 -0
- package/dist/utils/schema-sql/Databricks.d.ts +8 -3
- package/dist/utils/schema-sql/MSSQL.d.ts +14 -2
- package/dist/utils/schema-sql/MariaDB.d.ts +6 -5
- package/dist/utils/schema-sql/MySQL.d.ts +13 -4
- package/dist/utils/schema-sql/Oracle.d.ts +19 -5
- package/dist/utils/schema-sql/PostgreSQL.d.ts +16 -4
- package/dist/utils/schema-sql/SQLite.d.ts +16 -4
- package/dist/utils/schema-sql/Snowflake.d.ts +8 -3
- package/dist/utils/schema-sql/index.d.ts +16 -1
- package/dist/utils/schema-sql/options.d.ts +57 -0
- package/dist/utils/schema-sql/utils.d.ts +101 -2
- package/dist/utils/stageCursor.d.ts +20 -0
- package/dist/utils/table-clipboard/placement.d.ts +2 -0
- package/dist/utils/tableColor.d.ts +29 -0
- package/dist/utils/tableGroup.d.ts +142 -0
- package/dist/utils/tableKeys.d.ts +11 -3
- package/dist/utils/takeover.d.ts +6 -0
- package/dist/utils/virtualRange.d.ts +15 -0
- package/dist/workers/elkLayout.shared-worker.js +1 -1
- package/dist/workers/exportPng.shared-worker.js +30 -30
- package/dist/workers/shiki.shared-worker.js +1 -1
- package/dist/workers/spawn.d.ts +1 -2
- package/dist/workers/spawn.inline.d.ts +0 -1
- package/package.json +4 -11
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.d.ts +0 -12
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.styles.d.ts +0 -6
- package/dist/components/find-replace/FindReplace.d.ts +0 -13
- package/dist/components/find-replace/FindReplace.styles.d.ts +0 -27
- package/dist/components/find-replace/panelLayout.d.ts +0 -17
- package/dist/components/generator-code/GeneratorCode.styles.d.ts +0 -2
- package/dist/loadValue-Mdc5K4qO.js +0 -10858
- package/dist/schemaGCService-CZtGFh2z.js +0 -42
- package/dist/services/schema-gc/index.d.ts +0 -18
- package/dist/services/schema-gc/procGC.d.ts +0 -4
- package/dist/services/schema-gc/schemaGC.shared-worker.d.ts +0 -2
- package/dist/services/schema-gc/schemaGCService.d.ts +0 -10
- package/dist/shared-store-D82WVL5a.js +0 -1129
- package/dist/styles/colorPicker.style.d.ts +0 -7
- package/dist/utils/draw-relationship/chamfer.d.ts +0 -3
- package/dist/workers/schemaGC.shared-worker.js +0 -1
- /package/dist/components/{find-replace → explorer}/fieldIcon.d.ts +0 -0
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
/** The editor's own text in Traditional Chinese (Taiwan), key for key as English writes it. */
|
|
2
|
+
export declare const zhTW: {
|
|
3
|
+
'common.close': string;
|
|
4
|
+
'common.none': string;
|
|
5
|
+
'common.unnamed': string;
|
|
6
|
+
'common.system': string;
|
|
7
|
+
'common.light': string;
|
|
8
|
+
'common.dark': string;
|
|
9
|
+
'common.theme': string;
|
|
10
|
+
'common.displayLanguage': string;
|
|
11
|
+
'common.search': string;
|
|
12
|
+
'common.find': string;
|
|
13
|
+
'common.newTable': string;
|
|
14
|
+
'common.newMemo': string;
|
|
15
|
+
'common.newTableGroup': string;
|
|
16
|
+
'common.import': string;
|
|
17
|
+
'common.importAndAdd': string;
|
|
18
|
+
'common.export': string;
|
|
19
|
+
'common.image': string;
|
|
20
|
+
'common.autoLayout': string;
|
|
21
|
+
'common.database': string;
|
|
22
|
+
'common.bracket': string;
|
|
23
|
+
'common.codeLanguage': string;
|
|
24
|
+
'common.tableNameCase': string;
|
|
25
|
+
'common.columnNameCase': string;
|
|
26
|
+
'common.tableProperties': string;
|
|
27
|
+
'common.primaryKey': string;
|
|
28
|
+
'common.relationship': string;
|
|
29
|
+
'common.color': string;
|
|
30
|
+
'common.table': string;
|
|
31
|
+
'common.shortcuts': string;
|
|
32
|
+
'common.apply': string;
|
|
33
|
+
'common.cancel': string;
|
|
34
|
+
'common.tab.erd': string;
|
|
35
|
+
'common.tab.visualization': string;
|
|
36
|
+
'common.tab.schemaSql': string;
|
|
37
|
+
'common.tab.codeGenerator': string;
|
|
38
|
+
'common.tab.settings': string;
|
|
39
|
+
'common.relationshipType.zeroOne': string;
|
|
40
|
+
'common.relationshipType.zeroN': string;
|
|
41
|
+
'common.relationshipType.oneOnly': string;
|
|
42
|
+
'common.relationshipType.oneN': string;
|
|
43
|
+
'common.placement.force': string;
|
|
44
|
+
'common.placement.flow': string;
|
|
45
|
+
'common.placement.treeVertical': string;
|
|
46
|
+
'common.placement.treeHorizontal': string;
|
|
47
|
+
'common.column.name': string;
|
|
48
|
+
'common.column.dataType': string;
|
|
49
|
+
'common.column.notNull': string;
|
|
50
|
+
'common.column.unique': string;
|
|
51
|
+
'common.column.autoIncrement': string;
|
|
52
|
+
'common.column.default': string;
|
|
53
|
+
'common.column.comment': string;
|
|
54
|
+
'common.placeholder.table': string;
|
|
55
|
+
'common.placeholder.column': string;
|
|
56
|
+
'common.placeholder.comment': string;
|
|
57
|
+
'common.placeholder.default': string;
|
|
58
|
+
'common.placeholder.dataType': string;
|
|
59
|
+
'common.toast.noTablesToPlace': string;
|
|
60
|
+
'common.toast.couldNotPlaceTables': string;
|
|
61
|
+
'common.toast.copied': string;
|
|
62
|
+
'common.toast.copyFailed': string;
|
|
63
|
+
'contextMenu.delete': string;
|
|
64
|
+
'contextMenu.deleteSelected': string;
|
|
65
|
+
'contextMenu.deleteColumn': string;
|
|
66
|
+
'contextMenu.deleteColumns': string;
|
|
67
|
+
'contextMenu.removeColor': string;
|
|
68
|
+
'contextMenu.primaryKeyOnSelectedColumns': string;
|
|
69
|
+
'contextMenu.focusOnThisTable': string;
|
|
70
|
+
'contextMenu.focusOnSelectedTables': string;
|
|
71
|
+
'contextMenu.groupSelectedTables': string;
|
|
72
|
+
'contextMenu.removeFromGroup': string;
|
|
73
|
+
'contextMenu.selectTables': string;
|
|
74
|
+
'contextMenu.rename': string;
|
|
75
|
+
'contextMenu.relationshipType': string;
|
|
76
|
+
'contextMenu.onDelete': string;
|
|
77
|
+
'contextMenu.onUpdate': string;
|
|
78
|
+
'contextMenu.notSet': string;
|
|
79
|
+
'contextMenu.notInDatabase': string;
|
|
80
|
+
'contextMenu.viewOption': string;
|
|
81
|
+
'contextMenu.diffViewer': string;
|
|
82
|
+
'contextMenu.show.tableComment': string;
|
|
83
|
+
'contextMenu.show.columnComment': string;
|
|
84
|
+
'contextMenu.show.alternateKey': string;
|
|
85
|
+
'contextMenu.show.referentialActions': string;
|
|
86
|
+
'contextMenu.show.tableGroups': string;
|
|
87
|
+
'contextMenu.show.memos': string;
|
|
88
|
+
'floatingToolbar.hand': string;
|
|
89
|
+
'floatingToolbar.select': string;
|
|
90
|
+
'floatingToolbar.zoomOut': string;
|
|
91
|
+
'floatingToolbar.resetZoom': string;
|
|
92
|
+
'floatingToolbar.zoomIn': string;
|
|
93
|
+
'floatingToolbar.zenMode': string;
|
|
94
|
+
'floatingToolbar.goToContent': string;
|
|
95
|
+
'floatingToolbar.goToNearestContent': string;
|
|
96
|
+
'visualization.graph': string;
|
|
97
|
+
'visualization.fit': string;
|
|
98
|
+
'visualization.tidyUp': string;
|
|
99
|
+
'visualization.showAll': string;
|
|
100
|
+
'visualization.rowDisplay': string;
|
|
101
|
+
'visualization.showMode.nameOnly': string;
|
|
102
|
+
'visualization.showMode.keysOnly': string;
|
|
103
|
+
'visualization.showMode.allFields': string;
|
|
104
|
+
'code.label': string;
|
|
105
|
+
'code.copy': string;
|
|
106
|
+
'code.savedInDocument': string;
|
|
107
|
+
'code.saveFile': string;
|
|
108
|
+
'code.optionsPanel': string;
|
|
109
|
+
'code.hideOptions': string;
|
|
110
|
+
'code.showOptions': string;
|
|
111
|
+
'code.notUsedBy': string;
|
|
112
|
+
'schemaSql.thisWindowOnly': string;
|
|
113
|
+
'schemaSql.statements': string;
|
|
114
|
+
'schemaSql.header': string;
|
|
115
|
+
'schemaSql.tables': string;
|
|
116
|
+
'schemaSql.allTables': string;
|
|
117
|
+
'schemaSql.noGroup': string;
|
|
118
|
+
'schemaSql.noTablesChosen': string;
|
|
119
|
+
'schemaSql.notInDatabase': string;
|
|
120
|
+
'schemaSql.dropWarning': string;
|
|
121
|
+
'schemaSql.replaceWarning': string;
|
|
122
|
+
'schemaSql.moreTables': {
|
|
123
|
+
other: string;
|
|
124
|
+
};
|
|
125
|
+
'schemaSql.headerInvalidName': string;
|
|
126
|
+
'schemaSql.oracleLongNames': string;
|
|
127
|
+
'schemaSql.scriptsCaption': string;
|
|
128
|
+
'schemaSql.beforeTables': string;
|
|
129
|
+
'schemaSql.afterTables': string;
|
|
130
|
+
'schemaSql.afterPlaceholder': string;
|
|
131
|
+
'schemaSql.mssqlGoHint': string;
|
|
132
|
+
'findReplace.matchCase': string;
|
|
133
|
+
'findReplace.wholeWord': string;
|
|
134
|
+
'findReplace.regex': string;
|
|
135
|
+
'findReplace.preserveCase': string;
|
|
136
|
+
'findReplace.replace': string;
|
|
137
|
+
'findReplace.replaceAll': string;
|
|
138
|
+
'findReplace.previousMatch': string;
|
|
139
|
+
'findReplace.nextMatch': string;
|
|
140
|
+
'findReplace.scope.tableName': string;
|
|
141
|
+
'findReplace.scope.tableComment': string;
|
|
142
|
+
'findReplace.scope.columnName': string;
|
|
143
|
+
'findReplace.scope.columnComment': string;
|
|
144
|
+
'findReplace.scope.memo': string;
|
|
145
|
+
'findReplace.scope.indexName': string;
|
|
146
|
+
'findReplace.scope.tableGroupName': string;
|
|
147
|
+
'findReplace.invalidRegex': string;
|
|
148
|
+
'findReplace.noResults': string;
|
|
149
|
+
'findReplace.matchCount': {
|
|
150
|
+
other: string;
|
|
151
|
+
};
|
|
152
|
+
'findReplace.position': string;
|
|
153
|
+
'findReplace.replaced': {
|
|
154
|
+
other: string;
|
|
155
|
+
};
|
|
156
|
+
'findReplace.noChanges': string;
|
|
157
|
+
'findReplace.noMoreMatches': string;
|
|
158
|
+
'findReplace.field.tableName': string;
|
|
159
|
+
'findReplace.field.tableComment': string;
|
|
160
|
+
'findReplace.field.columnName': string;
|
|
161
|
+
'findReplace.field.columnComment': string;
|
|
162
|
+
'findReplace.field.memo': string;
|
|
163
|
+
'findReplace.field.indexName': string;
|
|
164
|
+
'findReplace.field.tableGroupName': string;
|
|
165
|
+
'findReplace.matchLocation': string;
|
|
166
|
+
'tableProperties.readOnly': string;
|
|
167
|
+
'tableProperties.indexes': string;
|
|
168
|
+
'tableProperties.keys': string;
|
|
169
|
+
'tableProperties.columns': string;
|
|
170
|
+
'tableProperties.indexOrder': string;
|
|
171
|
+
'tableProperties.dragToReorder': string;
|
|
172
|
+
'tableProperties.addIndex': string;
|
|
173
|
+
'tableProperties.noIndexes': string;
|
|
174
|
+
'tableProperties.noIndexesYet': string;
|
|
175
|
+
'tableProperties.noColumns': string;
|
|
176
|
+
'tableProperties.indexHasNoColumns': string;
|
|
177
|
+
'tableProperties.checkColumnsToAdd': string;
|
|
178
|
+
'tableProperties.selectedCount': {
|
|
179
|
+
other: string;
|
|
180
|
+
};
|
|
181
|
+
'tableProperties.readOnlyByPrimaryKey': string;
|
|
182
|
+
'tableProperties.readOnlyByUnique': string;
|
|
183
|
+
'tableProperties.selectKeyOrIndex': string;
|
|
184
|
+
'tableProperties.selectIndexToSee': string;
|
|
185
|
+
'tableProperties.selectIndexToEdit': string;
|
|
186
|
+
'tableProperties.noKeysOrIndexes': string;
|
|
187
|
+
'tableProperties.addIndexToChoose': string;
|
|
188
|
+
'tableProperties.uniqueColumn': string;
|
|
189
|
+
'tableProperties.readOnlyKey': string;
|
|
190
|
+
'tableProperties.indexName': string;
|
|
191
|
+
'tableProperties.alternateKeyN': string;
|
|
192
|
+
'tableProperties.remove': string;
|
|
193
|
+
'tableProperties.ascending': string;
|
|
194
|
+
'tableProperties.descending': string;
|
|
195
|
+
'colorPicker.saturationAndBrightness': string;
|
|
196
|
+
'colorPicker.slider2d': string;
|
|
197
|
+
'colorPicker.areaValue': string;
|
|
198
|
+
'colorPicker.hue': string;
|
|
199
|
+
'colorPicker.degrees': {
|
|
200
|
+
other: string;
|
|
201
|
+
};
|
|
202
|
+
'colorPicker.noColor': string;
|
|
203
|
+
'colorPicker.eyeDropper': string;
|
|
204
|
+
'colorPicker.channel.red': string;
|
|
205
|
+
'colorPicker.channel.green': string;
|
|
206
|
+
'colorPicker.channel.blue': string;
|
|
207
|
+
'colorPicker.presets': string;
|
|
208
|
+
'colorPicker.documentColors': string;
|
|
209
|
+
'colorPicker.preset.red': string;
|
|
210
|
+
'colorPicker.preset.orange': string;
|
|
211
|
+
'colorPicker.preset.amber': string;
|
|
212
|
+
'colorPicker.preset.yellow': string;
|
|
213
|
+
'colorPicker.preset.lime': string;
|
|
214
|
+
'colorPicker.preset.green': string;
|
|
215
|
+
'colorPicker.preset.teal': string;
|
|
216
|
+
'colorPicker.preset.cyan': string;
|
|
217
|
+
'colorPicker.preset.blue': string;
|
|
218
|
+
'colorPicker.preset.indigo': string;
|
|
219
|
+
'colorPicker.preset.violet': string;
|
|
220
|
+
'colorPicker.preset.purple': string;
|
|
221
|
+
'colorPicker.preset.pink': string;
|
|
222
|
+
'colorPicker.preset.crimson': string;
|
|
223
|
+
'colorPicker.preset.brown': string;
|
|
224
|
+
'colorPicker.preset.gray': string;
|
|
225
|
+
'palette.tab': string;
|
|
226
|
+
'palette.noCommandsMatch': string;
|
|
227
|
+
'palette.searchTables': string;
|
|
228
|
+
'palette.searchColumns': string;
|
|
229
|
+
'palette.searchText': string;
|
|
230
|
+
'palette.scope.tables': string;
|
|
231
|
+
'palette.scope.columns': string;
|
|
232
|
+
'palette.scope.text': string;
|
|
233
|
+
'palette.scope.help': string;
|
|
234
|
+
'palette.scopeDescription.tables': string;
|
|
235
|
+
'palette.scopeDescription.columns': string;
|
|
236
|
+
'palette.scopeDescription.text': string;
|
|
237
|
+
'palette.scopeDescription.help': string;
|
|
238
|
+
'palette.keywords.graphql': string;
|
|
239
|
+
'palette.keywords.dbml': string;
|
|
240
|
+
'palette.keywords.aml': string;
|
|
241
|
+
'palette.keywords.image': string;
|
|
242
|
+
'palette.keywords.explorer': string;
|
|
243
|
+
'palette.schemaSqlStatements': string;
|
|
244
|
+
'palette.schemaSqlHeader': string;
|
|
245
|
+
'palette.schemaSqlOptionsPanel': string;
|
|
246
|
+
'palette.codeGeneratorOptionsPanel': string;
|
|
247
|
+
'palette.groupSelectedTables': string;
|
|
248
|
+
'palette.keywords.schemaSqlStatements': string;
|
|
249
|
+
'palette.keywords.schemaSqlHeader': string;
|
|
250
|
+
'palette.keywords.schemaSqlOptionsPanel': string;
|
|
251
|
+
'palette.keywords.codeGeneratorOptionsPanel': string;
|
|
252
|
+
'settings.preferences': string;
|
|
253
|
+
'settings.relationshipDataTypeSync': string;
|
|
254
|
+
'settings.maxCommentWidth': string;
|
|
255
|
+
'settings.recalculateTableWidth': string;
|
|
256
|
+
'settings.sync': string;
|
|
257
|
+
'settings.toast.tableWidthRecalculated': string;
|
|
258
|
+
'settings.lockHeading': string;
|
|
259
|
+
'settings.lockSetting': string;
|
|
260
|
+
'settings.unlockSetting': string;
|
|
261
|
+
'settings.lockedValue': string;
|
|
262
|
+
'settings.currentValue': string;
|
|
263
|
+
'settings.lockRow.viewport': string;
|
|
264
|
+
'settings.lockRow.canvasType': string;
|
|
265
|
+
'settings.lockRow.bracketType': string;
|
|
266
|
+
'settings.columnOrder': string;
|
|
267
|
+
'shortcuts.command': string;
|
|
268
|
+
'shortcuts.keybinding': string;
|
|
269
|
+
'shortcuts.name.edit': string;
|
|
270
|
+
'shortcuts.name.stop': string;
|
|
271
|
+
'shortcuts.name.search': string;
|
|
272
|
+
'shortcuts.name.findReplace': string;
|
|
273
|
+
'shortcuts.name.undo': string;
|
|
274
|
+
'shortcuts.name.redo': string;
|
|
275
|
+
'shortcuts.name.addTable': string;
|
|
276
|
+
'shortcuts.name.addColumn': string;
|
|
277
|
+
'shortcuts.name.addMemo': string;
|
|
278
|
+
'shortcuts.name.addTableGroup': string;
|
|
279
|
+
'shortcuts.name.groupSelectedTables': string;
|
|
280
|
+
'shortcuts.name.removeTable': string;
|
|
281
|
+
'shortcuts.name.removeColumn': string;
|
|
282
|
+
'shortcuts.name.removeSelection': string;
|
|
283
|
+
'shortcuts.name.primaryKey': string;
|
|
284
|
+
'shortcuts.name.selectAllTable': string;
|
|
285
|
+
'shortcuts.name.selectAllColumn': string;
|
|
286
|
+
'shortcuts.name.relationshipZeroOne': string;
|
|
287
|
+
'shortcuts.name.relationshipZeroN': string;
|
|
288
|
+
'shortcuts.name.relationshipOneOnly': string;
|
|
289
|
+
'shortcuts.name.relationshipOneN': string;
|
|
290
|
+
'shortcuts.name.tableProperties': string;
|
|
291
|
+
'shortcuts.name.focusView': string;
|
|
292
|
+
'shortcuts.name.zoomIn': string;
|
|
293
|
+
'shortcuts.name.zoomOut': string;
|
|
294
|
+
'shortcuts.name.zoomReset': string;
|
|
295
|
+
'shortcuts.name.handTool': string;
|
|
296
|
+
'shortcuts.name.zenMode': string;
|
|
297
|
+
'exportImage.title': string;
|
|
298
|
+
'exportImage.preview': string;
|
|
299
|
+
'exportImage.loadingPreview': string;
|
|
300
|
+
'exportImage.background': string;
|
|
301
|
+
'exportImage.darkMode': string;
|
|
302
|
+
'exportImage.scale': string;
|
|
303
|
+
'exportImage.copyToClipboard': string;
|
|
304
|
+
'exportImage.reducedFrom': string;
|
|
305
|
+
'exportImage.reducedFromTo': string;
|
|
306
|
+
'exportImage.exporting': string;
|
|
307
|
+
'exportImage.exportFailed': string;
|
|
308
|
+
'exportImage.seeConsole': string;
|
|
309
|
+
'exportImage.exportedReduced': string;
|
|
310
|
+
'exportImage.copying': string;
|
|
311
|
+
'exportImage.copyFailed': string;
|
|
312
|
+
'exportImage.saveAsPng': string;
|
|
313
|
+
'exportImage.copiedReduced': string;
|
|
314
|
+
'exportImage.copied': string;
|
|
315
|
+
'feedback.importOnly': string;
|
|
316
|
+
'feedback.placingTables': string;
|
|
317
|
+
'feedback.placingProgress': string;
|
|
318
|
+
'feedback.diffViewer': string;
|
|
319
|
+
'toolbar.databaseName': string;
|
|
320
|
+
'toolbar.undo': string;
|
|
321
|
+
'toolbar.redo': string;
|
|
322
|
+
'toolbar.timeTravel': string;
|
|
323
|
+
'themeBuilder.accentColor': string;
|
|
324
|
+
'themeBuilder.grayColor': string;
|
|
325
|
+
'themeBuilder.appearance': string;
|
|
326
|
+
'welcome.heading': string;
|
|
327
|
+
'welcome.menu': string;
|
|
328
|
+
'welcome.commandPalette': string;
|
|
329
|
+
'welcome.back': string;
|
|
330
|
+
'welcome.hintPalette': string;
|
|
331
|
+
'welcome.hintThemeAndLanguage': string;
|
|
332
|
+
'welcome.hintTheme': string;
|
|
333
|
+
'welcome.hintLanguage': string;
|
|
334
|
+
'welcome.hintFloatingToolbar': string;
|
|
335
|
+
'mapColumns.title': string;
|
|
336
|
+
'mapColumns.subtitle': string;
|
|
337
|
+
'mapColumns.mapToExisting': string;
|
|
338
|
+
'mapColumns.createNew': string;
|
|
339
|
+
'mapColumns.noPrimaryKeyToCopy': string;
|
|
340
|
+
'mapColumns.references': string;
|
|
341
|
+
'mapColumns.unique': string;
|
|
342
|
+
'mapColumns.currentColumns': string;
|
|
343
|
+
'mapColumns.referencedColumn': string;
|
|
344
|
+
'mapColumns.foreignKeyColumn': string;
|
|
345
|
+
'mapColumns.pickColumn': string;
|
|
346
|
+
'mapColumns.pickEveryColumn': string;
|
|
347
|
+
'mapColumns.newColumn': string;
|
|
348
|
+
'mapColumns.columnOption': string;
|
|
349
|
+
'mapColumns.columnOptionInUse': string;
|
|
350
|
+
'mapColumns.removed': string;
|
|
351
|
+
'mapColumns.invalid': string;
|
|
352
|
+
'mapColumns.becomesType': string;
|
|
353
|
+
'mapColumns.typesDiffer': string;
|
|
354
|
+
'mapColumns.selfOnly': string;
|
|
355
|
+
'mapColumns.duplicate': string;
|
|
356
|
+
'mapColumns.noKey': string;
|
|
357
|
+
'mapColumns.notAKey': string;
|
|
358
|
+
'mapColumns.fixMapping': string;
|
|
359
|
+
'mapColumns.addKeyToFix': string;
|
|
360
|
+
'mapColumns.changedRemotely': string;
|
|
361
|
+
'mapColumns.map': string;
|
|
362
|
+
'mapColumns.save': string;
|
|
363
|
+
'mapColumns.closedTableRemoved': string;
|
|
364
|
+
'mapColumns.closedRelationshipRemoved': string;
|
|
365
|
+
'mapColumns.failed': string;
|
|
366
|
+
'explorer.title': string;
|
|
367
|
+
'explorer.collapseAll': string;
|
|
368
|
+
'explorer.toggle': string;
|
|
369
|
+
'explorer.toggleReplace': string;
|
|
370
|
+
'explorer.moreScopes': string;
|
|
371
|
+
'explorer.tooNarrow': string;
|
|
372
|
+
'explorer.folder.tables': string;
|
|
373
|
+
'explorer.folder.tableGroups': string;
|
|
374
|
+
'explorer.folder.memos': string;
|
|
375
|
+
'explorer.folder.columns': string;
|
|
376
|
+
'explorer.folder.indexes': string;
|
|
377
|
+
'explorer.folder.foreignKeys': string;
|
|
378
|
+
'explorer.diff.filter': string;
|
|
379
|
+
'explorer.diff.noChanges': string;
|
|
380
|
+
'explorer.diff.change': string;
|
|
381
|
+
'explorer.status.added': string;
|
|
382
|
+
'explorer.status.modified': string;
|
|
383
|
+
'explorer.status.deleted': string;
|
|
384
|
+
'explorer.status.renamed': string;
|
|
385
|
+
'explorer.status.inside': string;
|
|
386
|
+
'explorer.diff.field.name': string;
|
|
387
|
+
'explorer.diff.field.comment': string;
|
|
388
|
+
'explorer.diff.field.dataType': string;
|
|
389
|
+
'explorer.diff.field.default': string;
|
|
390
|
+
'explorer.diff.field.order': string;
|
|
391
|
+
'explorer.diff.field.tableGroup': string;
|
|
392
|
+
'explorer.diff.field.position': string;
|
|
393
|
+
'explorer.diff.field.size': string;
|
|
394
|
+
'explorer.diff.field.color': string;
|
|
395
|
+
'explorer.diff.field.members': string;
|
|
396
|
+
'explorer.diff.field.columns': string;
|
|
397
|
+
'explorer.diff.field.relationshipType': string;
|
|
398
|
+
'explorer.diff.field.value': string;
|
|
399
|
+
};
|
|
400
|
+
//# sourceMappingURL=zh-TW.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LocaleCode } from './locales';
|
|
2
|
+
/**
|
|
3
|
+
* The display language a list of BCP 47 tags asks for, read in order, case and
|
|
4
|
+
* underscores ignored: the first tag the editor has a language for wins, and
|
|
5
|
+
* English stands in for none. It reads no navigator; the caller hands the tags.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* resolveLocale(['nb', 'de']); // 'de-DE'
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveLocale(tags: string | ReadonlyArray<string> | null | undefined): LocaleCode;
|
|
11
|
+
//# sourceMappingURL=resolveLocale.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English, the language every string is written in first: what a component
|
|
3
|
+
* reads where nothing provides a language, and what a function outside the
|
|
4
|
+
* components falls back to when its caller passes none.
|
|
5
|
+
*/
|
|
6
|
+
export declare const sourceI18n: import('./translate').I18n;
|
|
7
|
+
//# sourceMappingURL=source.d.ts.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { LocaleCode, TextDirection } from './locales';
|
|
2
|
+
import { en } from './messages/en';
|
|
3
|
+
/** A message that shows a number: one form per plural category of its language, other always there. */
|
|
4
|
+
export type PluralMessage = {
|
|
5
|
+
readonly other: string;
|
|
6
|
+
} & Partial<Record<Exclude<Intl.LDMLPluralRule, 'other'>, string>>;
|
|
7
|
+
type PlaceholdersOf<S extends string> = S extends `${string}{${infer Name}}${infer Rest}` ? Name | PlaceholdersOf<Rest> : never;
|
|
8
|
+
type ParamsOfValue<V> = V extends string ? PlaceholdersOf<V> : V extends Readonly<Record<string, string>> ? PlaceholdersOf<V[keyof V]> | 'count' : never;
|
|
9
|
+
/** The names a message of a dictionary interpolates, every plural form's and count included. */
|
|
10
|
+
export type MessageParamsOf<S, K extends keyof S> = K extends keyof S ? ParamsOfValue<S[K]> : never;
|
|
11
|
+
export type MessageArgsOf<S, K extends keyof S> = [
|
|
12
|
+
MessageParamsOf<S, K>
|
|
13
|
+
] extends [never] ? [] : [params: {
|
|
14
|
+
readonly [P in MessageParamsOf<S, K>]: string | number;
|
|
15
|
+
}];
|
|
16
|
+
export type PlainMessageKeyOf<S> = {
|
|
17
|
+
[K in keyof S]: [MessageParamsOf<S, K>] extends [never] ? K : never;
|
|
18
|
+
}[keyof S];
|
|
19
|
+
export type TranslateOf<S> = <K extends keyof S & string>(key: K, ...args: MessageArgsOf<S, K>) => string;
|
|
20
|
+
/** Every key the English dictionary holds, the one every other dictionary is checked against. */
|
|
21
|
+
export type MessageKey = keyof typeof en;
|
|
22
|
+
export type Messages = {
|
|
23
|
+
readonly [K in MessageKey]: (typeof en)[K] extends string ? string : PluralMessage;
|
|
24
|
+
};
|
|
25
|
+
export type MessageArgs<K extends MessageKey> = MessageArgsOf<typeof en, K>;
|
|
26
|
+
/** The keys t() takes with no parameters: the type every label map and labelKey uses. */
|
|
27
|
+
export type PlainMessageKey = PlainMessageKeyOf<typeof en>;
|
|
28
|
+
export type Translate = TranslateOf<typeof en>;
|
|
29
|
+
/**
|
|
30
|
+
* The language the editor's own text is shown in. It is never frozen, so the
|
|
31
|
+
* element can assign a new language into the object every component already
|
|
32
|
+
* reads, and a component mounted later reads the new one too.
|
|
33
|
+
*/
|
|
34
|
+
export type I18n = {
|
|
35
|
+
locale: LocaleCode;
|
|
36
|
+
dir: TextDirection;
|
|
37
|
+
messages: Messages;
|
|
38
|
+
t: Translate;
|
|
39
|
+
};
|
|
40
|
+
/** What the export worker is handed to draw a scene in the reader's language. */
|
|
41
|
+
export type LocaleMessages = Pick<I18n, 'locale' | 'messages'>;
|
|
42
|
+
export type MessageValues = Readonly<Record<string, string | number>>;
|
|
43
|
+
/** A text wrapped in FSI and PDI, which keeps its own direction inside a sentence. */
|
|
44
|
+
export declare function isolate(value: string): string;
|
|
45
|
+
/**
|
|
46
|
+
* Writes each named value into its placeholder, leaving a name it is not given
|
|
47
|
+
* as typed. An isolated value is wrapped in FSI and PDI, so a name or a number
|
|
48
|
+
* keeps its own direction inside a right-to-left sentence.
|
|
49
|
+
*/
|
|
50
|
+
export declare function formatMessage(template: string, params?: MessageValues, isolated?: boolean): string;
|
|
51
|
+
/**
|
|
52
|
+
* A language with its dictionary and the t() that reads it. A plural picks the
|
|
53
|
+
* form its count falls in by the language's own rules, built once here, and
|
|
54
|
+
* falls back to other where the dictionary lacks that form.
|
|
55
|
+
*/
|
|
56
|
+
export declare function createI18n(locale: LocaleCode, messages: Messages): I18n;
|
|
57
|
+
export {};
|
|
58
|
+
//# sourceMappingURL=translate.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export type { ErdEditorElement } from './components/erd-editor/ErdEditor';
|
|
2
|
+
export type { LocaleCode, LocaleOption } from './i18n/locales';
|
|
2
3
|
export { setExportFileCallback } from './utils/file/exportFile';
|
|
3
4
|
export { setImportFileCallback } from './utils/file/importFile';
|
|
4
5
|
export { createKeyBindingMap, type KeyBindingMap, type KeyBindingName, type ShortcutOption, } from './utils/keyboard-shortcut';
|
|
6
|
+
export type { SchemaSQLOptions } from './utils/schema-sql';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|