@dineug/erd-editor 3.2.0 → 3.2.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/README.md +2 -2
- package/dist/components/appContext.d.ts +7 -7
- package/dist/components/customElementRegistry.d.ts +0 -1
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.d.ts +1 -1
- package/dist/components/erd/automatic-table-placement/createAutomaticTablePlacement.d.ts +2 -2
- package/dist/components/erd/canvas/canvas-svg/relationship/Relationship.d.ts +1 -1
- package/dist/components/erd/canvas/canvas-svg/relationship/Relationship.template.d.ts +1 -1
- package/dist/components/erd/canvas/draw-relationship/DrawRelationship.d.ts +1 -1
- package/dist/components/erd/canvas/high-level-table/HighLevelTable.d.ts +1 -1
- package/dist/components/erd/canvas/memo/Memo.d.ts +1 -1
- package/dist/components/erd/canvas/memo/memo-sash/MemoSash.d.ts +1 -1
- package/dist/components/erd/canvas/shared-mouse-tracker/shared-mouse-cursor/SharedMouseCursor.d.ts +1 -1
- package/dist/components/erd/canvas/table/Table.d.ts +1 -1
- package/dist/components/erd/canvas/table/column/Column.d.ts +2 -2
- package/dist/components/erd/canvas/table/column/column-data-type/ColumnDataType.d.ts +1 -1
- package/dist/components/erd/canvas/table/useFocusTable.d.ts +2 -2
- package/dist/components/erd/canvas/table/useMoveTable.d.ts +1 -1
- package/dist/components/erd/diff-viewer/DiffViewer.d.ts +1 -1
- package/dist/components/erd/diff-viewer/diff.d.ts +2 -2
- package/dist/components/erd/diff-viewer/erd-viewer/ErdViewer.d.ts +2 -2
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.d.ts +2 -2
- package/dist/components/erd/erd-context-menu/ErdContextMenu.d.ts +1 -1
- package/dist/components/erd/erd-context-menu/menus/databaseMenus.d.ts +1 -1
- package/dist/components/erd/erd-context-menu/menus/drawRelationshipMenus.d.ts +2 -2
- package/dist/components/erd/erd-context-menu/menus/exportMenus.d.ts +1 -1
- package/dist/components/erd/erd-context-menu/menus/importMenus.d.ts +1 -1
- package/dist/components/erd/erd-context-menu/menus/relationshipMenus.d.ts +1 -1
- package/dist/components/erd/erd-context-menu/menus/showMenus.d.ts +1 -1
- package/dist/components/erd/erdShortcutPerformCheck.d.ts +1 -1
- package/dist/components/erd/minimap/memo/Memo.d.ts +1 -1
- package/dist/components/erd/minimap/table/Table.d.ts +1 -1
- package/dist/components/erd/minimap/useMinimapScroll.d.ts +1 -1
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.d.ts +1 -1
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.d.ts +1 -1
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.d.ts +1 -1
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.d.ts +1 -1
- package/dist/components/erd/time-travel/TimeTravel.d.ts +9 -0
- package/dist/components/erd/time-travel/TimeTravel.styles.d.ts +4 -0
- package/dist/components/erd/useErdShortcut.d.ts +1 -1
- package/dist/components/erd/virtual-scroll/useVirtualScroll.d.ts +1 -1
- package/dist/components/erd-editor/ErdEditor.d.ts +5 -5
- package/dist/components/erd-editor/ErdEditor.stories.d.ts +0 -1
- package/dist/components/erd-editor/useErdEditorAttachElement.d.ts +4 -4
- package/dist/components/generator-code/generator-code-context-menu/menus/columnNameCaseMenus.d.ts +1 -1
- package/dist/components/generator-code/generator-code-context-menu/menus/languageMenus.d.ts +1 -1
- package/dist/components/generator-code/generator-code-context-menu/menus/tableNameCaseMenus.d.ts +1 -1
- package/dist/components/primitives/code-block/CodeBlock.d.ts +1 -1
- package/dist/components/primitives/color-picker/ColorPicker.d.ts +1 -1
- package/dist/components/primitives/context-menu/context-menu-root/contextMenuRootContext.d.ts +1 -1
- package/dist/components/primitives/icon/icons.d.ts +1 -1
- package/dist/components/primitives/sash/Sash.d.ts +2 -2
- package/dist/components/primitives/slider/Slider.d.ts +9 -0
- package/dist/components/primitives/slider/Slider.stories.d.ts +23 -0
- package/dist/components/primitives/slider/Slider.styles.d.ts +4 -0
- package/dist/components/quick-search/actions.d.ts +1 -1
- package/dist/components/schema-sql/schema-sql-context-menu/menus/bracketMenus.d.ts +1 -1
- package/dist/components/settings/settings-lnb/SettingsLnb.d.ts +1 -1
- package/dist/components/theme/Theme.d.ts +1 -1
- package/dist/components/theme-builder/ThemeBuilder.d.ts +1 -1
- package/dist/components/visualization/createVisualization.d.ts +1 -1
- package/dist/components/visualization/table/Table.d.ts +1 -1
- package/dist/components/visualization/table/column/Column.d.ts +1 -1
- package/dist/constants/open.d.ts +2 -1
- package/dist/constants/sql/dataType/MSSQL.d.ts +1 -1
- package/dist/constants/sql/dataType/MariaDB.d.ts +1 -1
- package/dist/constants/sql/dataType/MySQL.d.ts +1 -1
- package/dist/constants/sql/dataType/Oracle.d.ts +1 -1
- package/dist/constants/sql/dataType/PostgreSQL.d.ts +1 -1
- package/dist/constants/sql/dataType/SQLite.d.ts +1 -1
- package/dist/constants/sql/dataType/index.d.ts +1 -1
- package/dist/constants/sql/database.d.ts +1 -1
- package/dist/engine/actions.d.ts +24 -24
- package/dist/engine/generator.actions.d.ts +2 -2
- package/dist/engine/history.actions.d.ts +3 -3
- package/dist/engine/history.d.ts +24 -10
- package/dist/engine/hooks.d.ts +2 -2
- package/dist/engine/modules/editor/actions.d.ts +3 -3
- package/dist/engine/modules/editor/generator.actions.d.ts +2 -2
- package/dist/engine/modules/editor/history.d.ts +1 -1
- package/dist/engine/modules/editor/state.d.ts +1 -1
- package/dist/engine/modules/editor/utils/focus.d.ts +3 -3
- package/dist/engine/modules/index/actions.d.ts +3 -3
- package/dist/engine/modules/index/generator.actions.d.ts +1 -1
- package/dist/engine/modules/index/history.d.ts +1 -1
- package/dist/engine/modules/index-column/actions.d.ts +3 -3
- package/dist/engine/modules/index-column/generator.actions.d.ts +1 -1
- package/dist/engine/modules/index-column/history.d.ts +1 -1
- package/dist/engine/modules/memo/actions.d.ts +3 -3
- package/dist/engine/modules/memo/generator.actions.d.ts +1 -1
- package/dist/engine/modules/memo/history.d.ts +1 -1
- package/dist/engine/modules/relationship/actions.d.ts +3 -3
- package/dist/engine/modules/relationship/history.d.ts +1 -1
- package/dist/engine/modules/relationship/hooks.d.ts +1 -1
- package/dist/engine/modules/settings/actions.d.ts +3 -3
- package/dist/engine/modules/settings/generator.actions.d.ts +1 -1
- package/dist/engine/modules/settings/history.d.ts +1 -1
- package/dist/engine/modules/table/actions.d.ts +3 -3
- package/dist/engine/modules/table/generator.actions.d.ts +2 -2
- package/dist/engine/modules/table/history.d.ts +1 -1
- package/dist/engine/modules/table/hooks.d.ts +1 -1
- package/dist/engine/modules/table-column/actions.d.ts +3 -3
- package/dist/engine/modules/table-column/generator.actions.d.ts +2 -2
- package/dist/engine/modules/table-column/history.d.ts +1 -1
- package/dist/engine/modules/table-column/hooks.d.ts +1 -1
- package/dist/engine/modules/table-column/utils/dataType.d.ts +2 -2
- package/dist/engine/replication-store.d.ts +2 -2
- package/dist/engine/rx-store.d.ts +10 -3
- package/dist/engine/shared-store.d.ts +2 -2
- package/dist/engine/state.d.ts +1 -1
- package/dist/engine/store-hooks.d.ts +1 -1
- package/dist/engine/store.d.ts +2 -2
- package/dist/engine/tag.d.ts +1 -1
- package/dist/engine.js +8 -8
- package/dist/erd-editor.js +6950 -6738
- package/dist/hooks/useKeyBindingMap.d.ts +1 -1
- package/dist/hooks/useUnmounted.d.ts +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/{schemaGCService-8ppNbFYF.js → schemaGCService-tEI4URA5.js} +21 -21
- package/dist/services/schema-gc/procGC.d.ts +1 -1
- package/dist/services/schema-gc/schemaGCService.d.ts +1 -1
- package/dist/themes/radix-ui-theme.config.d.ts +1 -1
- package/dist/themes/radix-ui-theme.d.ts +2 -2
- package/dist/utils/calcMemo.d.ts +1 -1
- package/dist/utils/calcTable.d.ts +3 -3
- package/dist/utils/collection/index.entity.d.ts +1 -1
- package/dist/utils/collection/indexColumn.entity.d.ts +1 -1
- package/dist/utils/collection/memo.entity.d.ts +1 -1
- package/dist/utils/collection/relationship.entity.d.ts +1 -1
- package/dist/utils/collection/table.entity.d.ts +1 -1
- package/dist/utils/collection/tableColumn.entity.d.ts +1 -1
- package/dist/utils/dragSelect.d.ts +1 -1
- package/dist/utils/draw-relationship/calc.d.ts +3 -3
- package/dist/utils/draw-relationship/draw.d.ts +3 -3
- package/dist/utils/draw-relationship/index.d.ts +1 -1
- package/dist/utils/draw-relationship/pathFinding.d.ts +2 -2
- package/dist/utils/draw-relationship/sort.d.ts +1 -1
- package/dist/utils/emitter.d.ts +2 -2
- package/dist/utils/file/importFile.d.ts +1 -1
- package/dist/utils/focus.d.ts +1 -1
- package/dist/utils/generator-code/csharp.d.ts +1 -1
- package/dist/utils/generator-code/graphql.d.ts +1 -1
- package/dist/utils/generator-code/index.d.ts +2 -2
- package/dist/utils/generator-code/java.d.ts +1 -1
- package/dist/utils/generator-code/jpa.d.ts +1 -1
- package/dist/utils/generator-code/kotlin.d.ts +1 -1
- package/dist/utils/generator-code/scala.d.ts +1 -1
- package/dist/utils/generator-code/typescript.d.ts +1 -1
- package/dist/utils/generator-code/utils.d.ts +2 -2
- package/dist/utils/globalEmitter.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/internalEvents.d.ts +1 -1
- package/dist/utils/keyboard-shortcut/index.d.ts +1 -1
- package/dist/utils/rx-operators/fromCopy.d.ts +1 -1
- package/dist/utils/rx-operators/fromPaste.d.ts +1 -1
- package/dist/utils/schema-sql/MSSQL.d.ts +1 -1
- package/dist/utils/schema-sql/MariaDB.d.ts +1 -1
- package/dist/utils/schema-sql/MySQL.d.ts +1 -1
- package/dist/utils/schema-sql/Oracle.d.ts +1 -1
- package/dist/utils/schema-sql/PostgreSQL.d.ts +1 -1
- package/dist/utils/schema-sql/SQLite.d.ts +1 -1
- package/dist/utils/schema-sql/index.d.ts +2 -2
- package/dist/utils/schema-sql/utils.d.ts +1 -1
- package/dist/utils/schema-sql-parser/index.d.ts +1 -1
- package/dist/utils/table-clipboard/copy.d.ts +1 -1
- package/dist/utils/table-clipboard/index.d.ts +1 -1
- package/dist/utils/table-clipboard/paste.d.ts +2 -2
- package/package.json +14 -13
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Install
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
10
|
npm install @dineug/erd-editor
|
|
@@ -43,7 +43,7 @@ document.body.appendChild(editor);
|
|
|
43
43
|
</script>
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
## [Document](https://docs.erd-editor.io)
|
|
47
47
|
|
|
48
48
|
- [Web App](https://erd-editor.io)
|
|
49
49
|
- [VSCode Extension](https://marketplace.visualstudio.com/items?itemName=dineug.vuerd-vscode)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
|
-
import { Actions } from
|
|
3
|
-
import { EngineContext, InjectEngineContext } from
|
|
4
|
-
import { RxStore } from
|
|
5
|
-
import { Ctx } from
|
|
6
|
-
import { Emitter } from
|
|
7
|
-
import { KeyBindingMap, KeyBindingName } from
|
|
2
|
+
import { Actions } from '../engine/actions';
|
|
3
|
+
import { EngineContext, InjectEngineContext } from '../engine/context';
|
|
4
|
+
import { RxStore, RxStoreOptions } from '../engine/rx-store';
|
|
5
|
+
import { Ctx } from '../internal-types';
|
|
6
|
+
import { Emitter } from '../utils/emitter';
|
|
7
|
+
import { KeyBindingMap, KeyBindingName } from '../utils/keyboard-shortcut';
|
|
8
8
|
export type AppContext = EngineContext & {
|
|
9
9
|
actions: Actions;
|
|
10
10
|
store: RxStore;
|
|
@@ -17,7 +17,7 @@ export type AppContext = EngineContext & {
|
|
|
17
17
|
emitter: Emitter;
|
|
18
18
|
};
|
|
19
19
|
export type InjectAppContext = InjectEngineContext;
|
|
20
|
-
export declare function createAppContext(ctx: InjectAppContext,
|
|
20
|
+
export declare function createAppContext(ctx: InjectAppContext, options?: RxStoreOptions): AppContext;
|
|
21
21
|
export declare const appContext: import("@dineug/r-html").Context<AppContext>;
|
|
22
22
|
export declare const useAppContext: (ctx: Ctx, fallback?: AppContext) => import("@dineug/r-html").Ref<AppContext>;
|
|
23
23
|
export declare function appDestroy(app: AppContext): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./erd-editor/ErdEditor";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from '@dineug/r-html';
|
|
2
|
-
import { Relationship as RelationshipType } from
|
|
2
|
+
import { Relationship as RelationshipType } from '../../../../../internal-types';
|
|
3
3
|
export type RelationshipProps = {
|
|
4
4
|
relationship: RelationshipType;
|
|
5
5
|
strokeWidth: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DOMTemplateLiterals } from '@dineug/r-html';
|
|
2
|
-
import { RelationshipPath } from
|
|
2
|
+
import { RelationshipPath } from '../../../../../utils/draw-relationship';
|
|
3
3
|
export declare function relationshipShape(relationshipType: number, relationshipPath: RelationshipPath): DOMTemplateLiterals | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, Ref } from '@dineug/r-html';
|
|
2
|
-
import { DrawRelationship as DrawRelationshipType } from
|
|
2
|
+
import { DrawRelationship as DrawRelationshipType } from '../../../../engine/modules/editor/state';
|
|
3
3
|
export type DrawRelationshipProps = {
|
|
4
4
|
root: Ref<HTMLDivElement>;
|
|
5
5
|
draw: DrawRelationshipType;
|
package/dist/components/erd/canvas/shared-mouse-tracker/shared-mouse-cursor/SharedMouseCursor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from '@dineug/r-html';
|
|
2
|
-
import { SharedMouseTracker } from
|
|
2
|
+
import { SharedMouseTracker } from '../../../../../engine/modules/editor/state';
|
|
3
3
|
export type SharedMouseCursorProps = {
|
|
4
4
|
tracker: SharedMouseTracker;
|
|
5
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, Ref } from '@dineug/r-html';
|
|
2
|
-
import { AppContext } from
|
|
3
|
-
import { Column } from
|
|
2
|
+
import { AppContext } from '../../../../appContext';
|
|
3
|
+
import { Column } from '../../../../../internal-types';
|
|
4
4
|
export type ColumnProps = {
|
|
5
5
|
app: Ref<AppContext>;
|
|
6
6
|
column: Column;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FocusType } from
|
|
2
|
-
import { Ctx } from
|
|
1
|
+
import { FocusType } from '../../../../engine/modules/editor/state';
|
|
2
|
+
import { Ctx } from '../../../../internal-types';
|
|
3
3
|
export declare function useFocusTable(ctx: Ctx, tableId: string): {
|
|
4
4
|
hasFocus: (focusType: FocusType, columnId?: string) => boolean;
|
|
5
5
|
hasEdit: (focusType: FocusType, columnId?: string) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from
|
|
2
|
-
import { Column, Table } from
|
|
1
|
+
import { RootState } from '../../../engine/state';
|
|
2
|
+
import { Column, Table } from '../../../internal-types';
|
|
3
3
|
/**
|
|
4
4
|
* Map<uuid, [tag, Map<path, diff>]>
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from '@dineug/r-html';
|
|
2
|
-
import { AppContext } from
|
|
3
|
-
import { DiffMap } from
|
|
2
|
+
import { AppContext } from '../../../appContext';
|
|
3
|
+
import { DiffMap } from '../diff';
|
|
4
4
|
export type ErdViewerProps = {
|
|
5
5
|
app: AppContext;
|
|
6
6
|
diff: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from '@dineug/r-html';
|
|
2
|
-
import { AppContext } from
|
|
3
|
-
import { DiffMap } from
|
|
2
|
+
import { AppContext } from '../../../appContext';
|
|
3
|
+
import { DiffMap } from '../diff';
|
|
4
4
|
export type TreeViewerProps = {
|
|
5
5
|
prevApp: AppContext;
|
|
6
6
|
prevDiffMap: DiffMap;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AppContext } from
|
|
2
|
-
import { KeyBindingName } from
|
|
1
|
+
import { AppContext } from '../../../appContext';
|
|
2
|
+
import { KeyBindingName } from '../../../../utils/keyboard-shortcut';
|
|
3
3
|
type Menu = {
|
|
4
4
|
iconName: string;
|
|
5
5
|
name: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC, Ref } from '@dineug/r-html';
|
|
2
|
+
import { AppContext } from '../../appContext';
|
|
3
|
+
export type TimeTravelProps = {
|
|
4
|
+
app: Ref<AppContext>;
|
|
5
|
+
onChange: (cursor: number) => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
};
|
|
8
|
+
declare const TimeTravel: FC<TimeTravelProps>;
|
|
9
|
+
export default TimeTravel;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const root: import("@dineug/r-html").CSSTemplateLiterals;
|
|
2
|
+
export declare const container: import("@dineug/r-html").CSSTemplateLiterals;
|
|
3
|
+
export declare const slider: import("@dineug/r-html").CSSTemplateLiterals;
|
|
4
|
+
export declare const vertical: import("@dineug/r-html").CSSTemplateLiterals;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ctx } from
|
|
1
|
+
import { Ctx } from '../../internal-types';
|
|
2
2
|
export declare function useErdShortcut(ctx: Ctx): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DatabaseVendor } from
|
|
2
|
-
import { SharedStore, SharedStoreConfig } from
|
|
3
|
-
import { ThemeOptions } from
|
|
4
|
-
import { Theme as ThemeType } from
|
|
5
|
-
import { KeyBindingMap, KeyBindingName } from
|
|
1
|
+
import { DatabaseVendor } from '../../constants/sql/database';
|
|
2
|
+
import { SharedStore, SharedStoreConfig } from '../../engine/shared-store';
|
|
3
|
+
import { ThemeOptions } from '../../themes/radix-ui-theme';
|
|
4
|
+
import { Theme as ThemeType } from '../../themes/tokens';
|
|
5
|
+
import { KeyBindingMap, KeyBindingName } from '../../utils/keyboard-shortcut';
|
|
6
6
|
declare global {
|
|
7
7
|
interface HTMLElementTagNameMap {
|
|
8
8
|
'erd-editor': ErdEditorElement;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from '@dineug/r-html';
|
|
2
|
-
import { AppContext } from
|
|
3
|
-
import { Unsubscribe } from
|
|
4
|
-
import { ThemeOptions } from
|
|
5
|
-
import { Theme } from
|
|
2
|
+
import { AppContext } from '../appContext';
|
|
3
|
+
import { Unsubscribe } from '../../internal-types';
|
|
4
|
+
import { ThemeOptions } from '../../themes/radix-ui-theme';
|
|
5
|
+
import { Theme } from '../../themes/tokens';
|
|
6
6
|
import { ErdEditorElement, ErdEditorProps } from './ErdEditor';
|
|
7
7
|
type Props = {
|
|
8
8
|
props: ErdEditorProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from '@dineug/r-html';
|
|
2
|
-
import { ShikiService } from
|
|
2
|
+
import { ShikiService } from '../../../services/shikiService';
|
|
3
3
|
export type CodeBlockProps = {
|
|
4
4
|
value: string;
|
|
5
5
|
lang: Parameters<ShikiService['codeToHtml']>[1]['lang'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesType } from
|
|
1
|
+
import { ValuesType } from '../../../internal-types';
|
|
2
2
|
export declare const BASE_64_ICON: {
|
|
3
3
|
/** @deprecated */
|
|
4
4
|
readonly ZeroOneN: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0RFRDI1RjI0ODY0MTFFN0JEQTA4NTA5QjY4NEI4MzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Q0RFRDI1RjM0ODY0MTFFN0JEQTA4NTA5QjY4NEI4MzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCQTE2QzQzRDQ4NjQxMUU3QkRBMDg1MDlCNjg0QjgzMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCQTE2QzQzRTQ4NjQxMUU3QkRBMDg1MDlCNjg0QjgzMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnTT5ywAAAJMSURBVHja7Fc9T2JBFB3MZq1IqLSgsRM6G6TcAmK7VNoRK4yBxE6XP/CsNxBohc6G5w+AoCU0aEWpBfAD4AeM55AZMjvvg2dClsRwkxOeb+7ce+6dmTPPmJRSbNP2xJZtR2DrBH6k0+ndEkSxBHAD9AGpMAJc4Lfh1zDGn4GLgHglNb8kqANhSKVSTiaTkY7jyMFgILWNx2PZ7XZluVyW8BkBJWA1PhwO+f7ZinUO9DmH8xl3XfIGnefzuQwzBsvlcjKIAH4PWAh9zCLq9Xp48mq16knGwASTmkaShULBQ0B1ZlSr1TyFtFqtwOS3xWLxH2eyZctUUOKVFTGRtslk4iHAODZZ/k2yLDKIwLsZjJ2gM3Bo+V0wieu6vsvCCu0ucS+RPHC1vId8kp+YrWRwvHsIWaosO7Nun3DDqn1yD+zr+RQiz3WYz+dXz6iCP82g84lKB4jxF0Rv0G7P+Gw2E6ha9Ho9/eoPsRJAucbUzl53Wi79NmwU25QSJuLx+ObugkqlInD+l8+oTsAny1aHxDlKJpOBgzhBot1ui8Vi4R3cwCY8jbIJeap4JOHvAmd6flDQj+l06ncMD/yktdPp+AoW59nEeBqUnjjAzyACd7YQUcnUxL7CyJZWk7QWIs6xdcLQg6cvSzETEl+Q4iyXkAWZBHU3/stlpLvKpaWkm0sb5Tq+19exqfvWdbyU1gjX8SGLIlnKNJ9jPGYRP0gugQLwS717Az6AB+DJ+CC5Vs8vSkEffeIdK79mVALf95swtvvXbEdg2wQ+BRgAvLABcxKvek4AAAAASUVORK5CYII=";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from '@dineug/r-html';
|
|
2
|
-
import { ValuesType } from
|
|
3
|
-
import { DragMove } from
|
|
2
|
+
import { ValuesType } from '../../../internal-types';
|
|
3
|
+
import { DragMove } from '../../../utils/globalEventObservable';
|
|
4
4
|
export declare const Cursor: {
|
|
5
5
|
readonly default: "default";
|
|
6
6
|
readonly ewResize: "ew-resize";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/html';
|
|
2
|
+
import { SliderProps } from './Slider';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
render: (args: SliderProps) => DocumentFragment;
|
|
6
|
+
argTypes: {
|
|
7
|
+
min: {
|
|
8
|
+
control: string;
|
|
9
|
+
};
|
|
10
|
+
max: {
|
|
11
|
+
control: string;
|
|
12
|
+
};
|
|
13
|
+
value: {
|
|
14
|
+
control: string;
|
|
15
|
+
};
|
|
16
|
+
onChange: {
|
|
17
|
+
action: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default meta;
|
|
22
|
+
type Story = StoryObj<SliderProps>;
|
|
23
|
+
export declare const Normal: Story;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const root: import("@dineug/r-html").CSSTemplateLiterals;
|
|
2
|
+
export declare const track: import("@dineug/r-html").CSSTemplateLiterals;
|
|
3
|
+
export declare const range: import("@dineug/r-html").CSSTemplateLiterals;
|
|
4
|
+
export declare const thumb: import("@dineug/r-html").CSSTemplateLiterals;
|
package/dist/constants/open.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ValuesType } from
|
|
1
|
+
import { ValuesType } from '../internal-types';
|
|
2
2
|
export declare const Open: {
|
|
3
3
|
readonly automaticTablePlacement: "automaticTablePlacement";
|
|
4
4
|
readonly tableProperties: "tableProperties";
|
|
5
5
|
readonly search: "search";
|
|
6
6
|
readonly themeBuilder: "themeBuilder";
|
|
7
7
|
readonly diffViewer: "diffViewer";
|
|
8
|
+
readonly timeTravel: "timeTravel";
|
|
8
9
|
};
|
|
9
10
|
export type Open = ValuesType<typeof Open>;
|