@vuer-ai/vuer-uikit 0.0.98 → 0.0.99
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/dial-cli/README.md +137 -0
- package/{src/cli → dial-cli}/dial-cli.ts +9 -6
- package/{cli → dial-cli/dist}/dial-cli.js +10 -5
- package/dial-cli/node_modules/.bin/api-extractor +17 -0
- package/dial-cli/node_modules/.bin/jiti +17 -0
- package/dial-cli/node_modules/.bin/tsc +17 -0
- package/dial-cli/node_modules/.bin/tsserver +17 -0
- package/dial-cli/node_modules/.bin/tsup +17 -0
- package/dial-cli/node_modules/.bin/tsup-node +17 -0
- package/dial-cli/node_modules/.bin/tsx +17 -0
- package/dial-cli/node_modules/.bin/yaml +17 -0
- package/dial-cli/package.json +47 -0
- package/dial-cli/tsconfig.json +20 -0
- package/dial-cli/tsup.config.ts +18 -0
- package/dist/SyncScroll/SyncScroll.cjs +12 -12
- package/dist/SyncScroll/SyncScroll.mjs +5 -5
- package/dist/SyncScroll/index.cjs +12 -12
- package/dist/SyncScroll/index.mjs +5 -5
- package/dist/chunk-AIYM5PFP.cjs +66 -0
- package/dist/chunk-OWEYAVGT.mjs +62 -0
- package/dist/{chunk-7GWDO25E.cjs → chunk-WIGYDOHM.cjs} +2 -2
- package/dist/{chunk-TTYSYGVE.mjs → chunk-XMFU7SDD.mjs} +2 -2
- package/dist/dial/DialPanel.cjs +28 -27
- package/dist/dial/DialPanel.mjs +27 -26
- package/dist/dial/index.cjs +44 -43
- package/dist/dial/index.mjs +27 -26
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +31 -30
- package/dist/dial/wrapped-inputs/ControlledInputs.mjs +27 -26
- package/dist/dial/wrapped-inputs/DialInputs.cjs +38 -37
- package/dist/dial/wrapped-inputs/DialInputs.mjs +27 -26
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +28 -27
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +27 -26
- package/dist/dial/wrapped-inputs/index.cjs +43 -42
- package/dist/dial/wrapped-inputs/index.mjs +27 -26
- package/dist/highlight-cursor/cursor-provider.cjs +3 -3
- package/dist/highlight-cursor/cursor-provider.mjs +2 -2
- package/dist/highlight-cursor/enhanced-components.cjs +5 -5
- package/dist/highlight-cursor/enhanced-components.mjs +5 -5
- package/dist/highlight-cursor/index.cjs +11 -11
- package/dist/highlight-cursor/index.mjs +6 -6
- package/dist/hooks/index.cjs +12 -12
- package/dist/hooks/index.mjs +3 -3
- package/dist/hooks/useQueryParams.cjs +3 -3
- package/dist/hooks/useQueryParams.mjs +2 -2
- package/dist/index.cjs +187 -174
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +27 -26
- package/dist/ui/DialBadge.cjs +28 -0
- package/dist/ui/DialBadge.d.cts +33 -0
- package/dist/ui/DialBadge.d.ts +33 -0
- package/dist/ui/DialBadge.mjs +11 -0
- package/dist/ui/UIKitBadge.cjs +8 -8
- package/dist/ui/UIKitBadge.mjs +4 -4
- package/dist/ui/avatar.cjs +3 -3
- package/dist/ui/avatar.mjs +3 -3
- package/dist/ui/badge.cjs +3 -3
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/badge.mjs +3 -3
- package/dist/ui/button.cjs +3 -3
- package/dist/ui/button.mjs +3 -3
- package/dist/ui/card.cjs +3 -3
- package/dist/ui/card.mjs +3 -3
- package/dist/ui/checkbox.cjs +3 -3
- package/dist/ui/checkbox.mjs +3 -3
- package/dist/ui/collapsible.cjs +3 -3
- package/dist/ui/collapsible.mjs +3 -3
- package/dist/ui/drawer.cjs +3 -3
- package/dist/ui/drawer.mjs +3 -3
- package/dist/ui/dropdown.cjs +3 -3
- package/dist/ui/dropdown.mjs +3 -3
- package/dist/ui/index.cjs +105 -92
- package/dist/ui/index.d.cts +1 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.mjs +22 -21
- package/dist/ui/inputs/color-input.cjs +3 -3
- package/dist/ui/inputs/color-input.mjs +3 -3
- package/dist/ui/inputs/index.cjs +18 -18
- package/dist/ui/inputs/index.mjs +6 -6
- package/dist/ui/inputs/input-numbers.cjs +3 -3
- package/dist/ui/inputs/input-numbers.mjs +3 -3
- package/dist/ui/inputs/input.cjs +3 -3
- package/dist/ui/inputs/input.d.cts +1 -1
- package/dist/ui/inputs/input.d.ts +1 -1
- package/dist/ui/inputs/input.mjs +3 -3
- package/dist/ui/inputs/number-inputs/CmInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/CmInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/DegInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/DegInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/EulerInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/EulerInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/InchInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/InchInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/IntInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/IntInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/KVectorInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/KVectorInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/RadInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/RadInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/TimeInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/TimeInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/Vec3Input.cjs +3 -3
- package/dist/ui/inputs/number-inputs/Vec3Input.mjs +3 -3
- package/dist/ui/inputs/number-inputs/VectorInput.cjs +3 -3
- package/dist/ui/inputs/number-inputs/VectorInput.mjs +3 -3
- package/dist/ui/inputs/number-inputs/index.cjs +13 -13
- package/dist/ui/inputs/number-inputs/index.mjs +5 -5
- package/dist/ui/inputs/presets-input.cjs +3 -3
- package/dist/ui/inputs/presets-input.mjs +3 -3
- package/dist/ui/label.cjs +3 -3
- package/dist/ui/label.mjs +3 -3
- package/dist/ui/layout.cjs +3 -3
- package/dist/ui/layout.mjs +3 -3
- package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +3 -3
- package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +3 -3
- package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +3 -3
- package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +3 -3
- package/dist/ui/layouts/dock-layout/index.cjs +3 -3
- package/dist/ui/layouts/dock-layout/index.mjs +3 -3
- package/dist/ui/layouts/index.cjs +3 -3
- package/dist/ui/layouts/index.mjs +3 -3
- package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +3 -3
- package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +3 -3
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +3 -3
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +3 -3
- package/dist/ui/layouts/liquid-layout/index.cjs +3 -3
- package/dist/ui/layouts/liquid-layout/index.mjs +3 -3
- package/dist/ui/modal.cjs +3 -3
- package/dist/ui/modal.mjs +3 -3
- package/dist/ui/navigation.cjs +3 -3
- package/dist/ui/navigation.mjs +3 -3
- package/dist/ui/pagination.cjs +3 -3
- package/dist/ui/pagination.mjs +3 -3
- package/dist/ui/panel.cjs +3 -3
- package/dist/ui/panel.mjs +3 -3
- package/dist/ui/popover.cjs +3 -3
- package/dist/ui/popover.mjs +3 -3
- package/dist/ui/radio-group.cjs +3 -3
- package/dist/ui/radio-group.mjs +3 -3
- package/dist/ui/resizable.cjs +3 -3
- package/dist/ui/resizable.mjs +3 -3
- package/dist/ui/select.cjs +3 -3
- package/dist/ui/select.d.cts +1 -1
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/select.mjs +3 -3
- package/dist/ui/separator.cjs +3 -3
- package/dist/ui/separator.mjs +3 -3
- package/dist/ui/sheet.cjs +3 -3
- package/dist/ui/sheet.mjs +3 -3
- package/dist/ui/sidebar.cjs +28 -28
- package/dist/ui/sidebar.mjs +4 -4
- package/dist/ui/simple-tree-view.cjs +3 -3
- package/dist/ui/simple-tree-view.mjs +3 -3
- package/dist/ui/skeleton.cjs +3 -3
- package/dist/ui/skeleton.mjs +3 -3
- package/dist/ui/slider.cjs +3 -3
- package/dist/ui/slider.mjs +3 -3
- package/dist/ui/switch.cjs +3 -3
- package/dist/ui/switch.mjs +3 -3
- package/dist/ui/table.cjs +3 -3
- package/dist/ui/table.mjs +3 -3
- package/dist/ui/tabs.cjs +3 -3
- package/dist/ui/tabs.mjs +3 -3
- package/dist/ui/textarea.cjs +3 -3
- package/dist/ui/textarea.d.cts +1 -1
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/textarea.mjs +3 -3
- package/dist/ui/theme/ThemeToggles.cjs +3 -3
- package/dist/ui/theme/ThemeToggles.mjs +3 -3
- package/dist/ui/theme/index.cjs +3 -3
- package/dist/ui/theme/index.mjs +3 -3
- package/dist/ui/toggle-buttons.cjs +3 -3
- package/dist/ui/toggle-buttons.mjs +3 -3
- package/dist/ui/toggle-group.cjs +3 -3
- package/dist/ui/toggle-group.mjs +3 -3
- package/dist/ui/toggle.cjs +3 -3
- package/dist/ui/toggle.mjs +3 -3
- package/dist/ui/toolbar.cjs +3 -3
- package/dist/ui/toolbar.mjs +3 -3
- package/dist/ui/tooltip.cjs +3 -3
- package/dist/ui/tooltip.mjs +3 -3
- package/dist/ui/tree-view/TreeSearchBar.cjs +3 -3
- package/dist/ui/tree-view/TreeSearchBar.mjs +3 -3
- package/dist/ui/tree-view/TreeView.cjs +3 -3
- package/dist/ui/tree-view/TreeView.mjs +3 -3
- package/dist/ui/tree-view/index.cjs +3 -3
- package/dist/ui/tree-view/index.mjs +3 -3
- package/dist/ui/tree-view-legacy.cjs +11 -11
- package/dist/ui/tree-view-legacy.mjs +7 -7
- package/dist/ui/waterfall/CursorOverlay.cjs +3 -3
- package/dist/ui/waterfall/CursorOverlay.mjs +3 -3
- package/dist/ui/waterfall/TimelineEvent.cjs +3 -3
- package/dist/ui/waterfall/TimelineEvent.mjs +3 -3
- package/dist/ui/waterfall/TimelineProcessBar.cjs +3 -3
- package/dist/ui/waterfall/TimelineProcessBar.mjs +3 -3
- package/dist/ui/waterfall/Wedges.cjs +3 -3
- package/dist/ui/waterfall/Wedges.mjs +3 -3
- package/dist/ui/waterfall/index.cjs +9 -9
- package/dist/ui/waterfall/index.mjs +8 -8
- package/package.json +4 -5
- package/src/ui/DialBadge.tsx +97 -0
- package/src/ui/index.ts +1 -0
- package/dist/chunk-4KWGGESI.cjs +0 -494
- package/dist/chunk-A5LCX2UQ.cjs +0 -208
- package/dist/chunk-BEJIZ56L.mjs +0 -300
- package/dist/chunk-C7VGRU3O.mjs +0 -283
- package/dist/chunk-LJMNHTTG.cjs +0 -679
- package/dist/chunk-O66RESRR.cjs +0 -285
- package/dist/chunk-VA3PEYFM.mjs +0 -489
- package/dist/chunk-VBBJSIY7.cjs +0 -308
- package/dist/chunk-W4JCKCW7.mjs +0 -661
- package/dist/chunk-WWGF6TBZ.mjs +0 -206
- package/dist/{chunk-XMUP5MIM.mjs → chunk-G3EIVAVR.mjs} +0 -0
- package/dist/{chunk-7IS37C3P.cjs → chunk-K4I4YU6N.cjs} +1 -1
- package/dist/{chunk-BIUDC66P.mjs → chunk-K4VD5PPY.mjs} +1 -1
- package/dist/{chunk-OX2U5RAG.cjs → chunk-KFPS5CCR.cjs} +0 -0
- package/dist/{chunk-2OZK5DY5.mjs → chunk-KXKEZ3MH.mjs} +1 -1
- package/dist/{chunk-ZGN4UEJR.cjs → chunk-OEI7NCF6.cjs} +3 -3
- package/dist/{chunk-LYZJNEOR.cjs → chunk-Q4XH2Z5M.cjs} +1 -1
- package/dist/{chunk-ZQLRMOUW.mjs → chunk-QHPFLC2O.mjs} +3 -3
- package/dist/{chunk-OYNLQTHW.cjs → chunk-RKJR6RZU.cjs} +1 -1
- package/dist/{chunk-OEIF3JCH.mjs → chunk-U3LN5NB6.mjs} +1 -1
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# @vuer-ai/dial-cli
|
|
2
|
+
|
|
3
|
+
A powerful CLI tool for generating dial metadata from TypeScript/React components. This tool parses JSDoc annotations to automatically create UI control schemas.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @vuer-ai/dial-cli
|
|
9
|
+
# or
|
|
10
|
+
pnpm install -g @vuer-ai/dial-cli
|
|
11
|
+
# or
|
|
12
|
+
yarn global add @vuer-ai/dial-cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
dial-cli [options] <file.tsx> [file2.tsx ...]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Options
|
|
22
|
+
|
|
23
|
+
- `-o, --output <dir>` - Output directory for generated metadata files (default: `./metadata`)
|
|
24
|
+
- `-i, --ignore <prop>` - Property names or patterns to exclude from dial schema generation
|
|
25
|
+
- `-h, --help` - Display help message
|
|
26
|
+
- `-v, --version` - Display version information
|
|
27
|
+
- `--verbose` - Enable verbose output with detailed processing information
|
|
28
|
+
- `--quiet` - Suppress all output except errors
|
|
29
|
+
|
|
30
|
+
### Examples
|
|
31
|
+
|
|
32
|
+
Generate metadata for a single component:
|
|
33
|
+
```bash
|
|
34
|
+
dial-cli MyComponent.tsx
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Specify a custom output directory:
|
|
38
|
+
```bash
|
|
39
|
+
dial-cli -o ./docs/metadata MyComponent.tsx
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Process multiple files:
|
|
43
|
+
```bash
|
|
44
|
+
dial-cli Component1.tsx Component2.tsx Component3.tsx
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Process all components in a directory:
|
|
48
|
+
```bash
|
|
49
|
+
dial-cli src/components/*.tsx
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Exclude specific properties:
|
|
53
|
+
```bash
|
|
54
|
+
dial-cli -i className -i style -i children MyComponent.tsx
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Dial Annotations
|
|
58
|
+
|
|
59
|
+
The tool recognizes the following `@dial` annotations in JSDoc comments:
|
|
60
|
+
|
|
61
|
+
### Grouping
|
|
62
|
+
- `@dial <group>` - Group related properties (transform, visibility, etc.)
|
|
63
|
+
|
|
64
|
+
### Property Configuration
|
|
65
|
+
- `@dial-dtype <type>` - Data type (vector3, euler, boolean, int, etc.)
|
|
66
|
+
- `@dial-min <number>` - Minimum value for numeric inputs
|
|
67
|
+
- `@dial-max <number>` - Maximum value for numeric inputs
|
|
68
|
+
- `@dial-step <number>` - Step increment for numeric inputs
|
|
69
|
+
- `@dial-default <value>` - Default value (overrides component default)
|
|
70
|
+
- `@dial-options [...]` - Array of preset values
|
|
71
|
+
- `@dial-icon <name>` - Lucide icon name for the control
|
|
72
|
+
- `@dial-ignore` - Exclude this property from dial schema generation
|
|
73
|
+
|
|
74
|
+
### Layout
|
|
75
|
+
- `@dial-col-<n>` - Display in column layout with n columns
|
|
76
|
+
- `@dial-row-<n>` - Display in row layout with n items per row
|
|
77
|
+
- `@dial-label-<pos>` - Label position (left, right, top, bottom, inline)
|
|
78
|
+
- `@dial-no-wrap` - Prevent line wrapping
|
|
79
|
+
|
|
80
|
+
### Vector Types
|
|
81
|
+
- `@dial-mins <n,n,n>` - Comma-separated min values for vector elements
|
|
82
|
+
- `@dial-maxs <n,n,n>` - Comma-separated max values for vector elements
|
|
83
|
+
- `@dial-steps <n,n,n>` - Comma-separated step values for vector elements
|
|
84
|
+
- `@dial-dtypes <t,t,t>` - Comma-separated data types for vector elements
|
|
85
|
+
|
|
86
|
+
## Example Component
|
|
87
|
+
|
|
88
|
+
```typescript
|
|
89
|
+
interface Props {
|
|
90
|
+
/**
|
|
91
|
+
* Position in 3D space
|
|
92
|
+
* @dial transform
|
|
93
|
+
* @dial-dtype vector3
|
|
94
|
+
* @dial-mins -10,-10,-10
|
|
95
|
+
* @dial-maxs 10,10,10
|
|
96
|
+
* @dial-steps 0.1,0.1,0.1
|
|
97
|
+
* @dial-icon Move3d
|
|
98
|
+
*/
|
|
99
|
+
position: [number, number, number];
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Visibility toggle
|
|
103
|
+
* @dial visibility
|
|
104
|
+
* @dial-dtype boolean
|
|
105
|
+
* @dial-icon Eye
|
|
106
|
+
*/
|
|
107
|
+
visible: boolean;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Color value
|
|
111
|
+
* @dial-ignore
|
|
112
|
+
*/
|
|
113
|
+
color: string;
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Output Files
|
|
118
|
+
|
|
119
|
+
The tool generates three types of output files for each input:
|
|
120
|
+
|
|
121
|
+
- `*-raw.json` - Raw output from react-docgen-typescript
|
|
122
|
+
- `*-combined.json` - Enhanced metadata with dial schema information
|
|
123
|
+
- `*-schemas.json` - Just the dial schemas for UI generation
|
|
124
|
+
|
|
125
|
+
## License
|
|
126
|
+
|
|
127
|
+
MIT
|
|
128
|
+
|
|
129
|
+
## Author
|
|
130
|
+
|
|
131
|
+
Ge Yang
|
|
132
|
+
|
|
133
|
+
## Links
|
|
134
|
+
|
|
135
|
+
- [GitHub Repository](https://github.com/vuer-ai/vuer-uikit)
|
|
136
|
+
- [Issue Tracker](https://github.com/vuer-ai/vuer-uikit/issues)
|
|
137
|
+
- [Documentation](https://uikit.vuer.ai/dial)
|
|
@@ -14,19 +14,22 @@ function getVersionInfo(): { version: string; gitHash?: string } {
|
|
|
14
14
|
const __dirname = dirname(__filename);
|
|
15
15
|
|
|
16
16
|
// Try multiple possible locations for package.json
|
|
17
|
-
// When built, the CLI is in ./cli/dial-cli.js, so package.json is at ../package.json
|
|
18
|
-
// When running from source, it's in ./src/cli/, so package.json is at ../../package.json
|
|
19
17
|
const possiblePaths = [
|
|
20
|
-
resolve(__dirname, '
|
|
21
|
-
resolve(__dirname, '
|
|
18
|
+
resolve(__dirname, './package.json'), // Same directory (for standalone package)
|
|
19
|
+
resolve(__dirname, '../package.json'), // Parent directory (built version)
|
|
20
|
+
resolve(__dirname, '../../package.json'), // Two levels up (for development)
|
|
22
21
|
];
|
|
23
22
|
|
|
24
23
|
let packageJson: any = null;
|
|
25
24
|
for (const path of possiblePaths) {
|
|
26
25
|
try {
|
|
27
26
|
if (existsSync(path)) {
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
const content = JSON.parse(readFileSync(path, 'utf-8'));
|
|
28
|
+
// Check if this is the dial-cli package
|
|
29
|
+
if (content.name === '@vuer-ai/dial-cli' || content.bin?.['dial-cli']) {
|
|
30
|
+
packageJson = content;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
30
33
|
}
|
|
31
34
|
} catch {
|
|
32
35
|
// Continue to next path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// dial-cli.ts
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
5
5
|
import { basename, dirname, join, resolve } from "path";
|
|
6
6
|
import { parseArgs } from "util";
|
|
@@ -13,17 +13,22 @@ function getVersionInfo() {
|
|
|
13
13
|
const __filename2 = fileURLToPath(import.meta.url);
|
|
14
14
|
const __dirname2 = dirname(__filename2);
|
|
15
15
|
const possiblePaths = [
|
|
16
|
+
resolve(__dirname2, "./package.json"),
|
|
17
|
+
// Same directory (for standalone package)
|
|
16
18
|
resolve(__dirname2, "../package.json"),
|
|
17
|
-
//
|
|
19
|
+
// Parent directory (built version)
|
|
18
20
|
resolve(__dirname2, "../../package.json")
|
|
19
|
-
//
|
|
21
|
+
// Two levels up (for development)
|
|
20
22
|
];
|
|
21
23
|
let packageJson = null;
|
|
22
24
|
for (const path of possiblePaths) {
|
|
23
25
|
try {
|
|
24
26
|
if (existsSync(path)) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
const content = JSON.parse(readFileSync(path, "utf-8"));
|
|
28
|
+
if (content.name === "@vuer-ai/dial-cli" || content.bin?.["dial-cli"]) {
|
|
29
|
+
packageJson = content;
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
27
32
|
}
|
|
28
33
|
} catch {
|
|
29
34
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/api-extractor/bin/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/api-extractor/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/api-extractor/bin/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/api-extractor/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/api-extractor/bin/api-extractor" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/@microsoft+api-extractor@7.52.11_@types+node@20.19.10/node_modules/@microsoft/api-extractor/bin/api-extractor" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/jiti@2.5.1/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/jiti@2.5.1/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../typescript/bin/tsc" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/dist/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/dist/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../tsup/dist/cli-default.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../tsup/dist/cli-default.js" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/dist/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/dist/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules/tsup/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@20.19.10__@swc+core@1.13.3_jiti@2.5.1_ssw6nogw5ucdmkhtuq36f4dhm4/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../tsup/dist/cli-node.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../tsup/dist/cli-node.js" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsx@4.20.5/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/tsx@4.20.5/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/cli.mjs" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/cli.mjs" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/yaml@2.8.1/node_modules/yaml/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/yaml@2.8.1/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/yaml@2.8.1/node_modules/yaml/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/yaml@2.8.1/node_modules:/Users/ge/fortyfive/vuer-uikit-workspace/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/yaml@2.8.1/node_modules/yaml/bin.mjs" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/yaml@2.8.1/node_modules/yaml/bin.mjs" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vuer-ai/dial-cli",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"description": "CLI tool for generating dial metadata from TypeScript/React components",
|
|
5
|
+
"author": "Ge Yang",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/dial-cli.js",
|
|
9
|
+
"bin": {
|
|
10
|
+
"dial-cli": "./dist/dial-cli.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsup",
|
|
18
|
+
"dev": "tsup --watch",
|
|
19
|
+
"prepublishOnly": "pnpm build"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"react-docgen-typescript": "^2.2.2",
|
|
23
|
+
"typescript": "~5.8.3"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/node": "^20.0.0",
|
|
27
|
+
"tsup": "^8.5.0"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"cli",
|
|
31
|
+
"dial",
|
|
32
|
+
"react",
|
|
33
|
+
"typescript",
|
|
34
|
+
"documentation",
|
|
35
|
+
"metadata",
|
|
36
|
+
"ui",
|
|
37
|
+
"components"
|
|
38
|
+
],
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "https://github.com/vuer-ai/vuer-uikit"
|
|
42
|
+
},
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/vuer-ai/vuer-uikit/issues"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://uikit.vuer.ai/dial"
|
|
47
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"lib": ["ESNext"],
|
|
6
|
+
"moduleResolution": "bundler",
|
|
7
|
+
"resolveJsonModule": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"forceConsistentCasingInFileNames": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"declaration": false,
|
|
14
|
+
"outDir": "./dist",
|
|
15
|
+
"rootDir": "./",
|
|
16
|
+
"types": ["node"]
|
|
17
|
+
},
|
|
18
|
+
"include": ["*.ts"],
|
|
19
|
+
"exclude": ["node_modules", "dist"]
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig } from "tsup";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
entry: ["dial-cli.ts"],
|
|
5
|
+
format: ["esm"],
|
|
6
|
+
dts: false,
|
|
7
|
+
clean: true,
|
|
8
|
+
shims: true,
|
|
9
|
+
splitting: false,
|
|
10
|
+
banner: {
|
|
11
|
+
js: "#!/usr/bin/env node",
|
|
12
|
+
},
|
|
13
|
+
external: [
|
|
14
|
+
// Don't bundle these, they're dependencies
|
|
15
|
+
"react-docgen-typescript",
|
|
16
|
+
"typescript",
|
|
17
|
+
],
|
|
18
|
+
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-G4FJGNY5.cjs');
|
|
3
|
+
var chunkG5JZGNKY_cjs = require('../chunk-G5JZGNKY.cjs');
|
|
5
4
|
require('../chunk-QN4N4I3Z.cjs');
|
|
6
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-Q4XH2Z5M.cjs');
|
|
6
|
+
require('../chunk-6BOWMGFG.cjs');
|
|
7
7
|
require('../chunk-YZIR6LIY.cjs');
|
|
8
8
|
require('../chunk-RPTRTGC2.cjs');
|
|
9
|
+
require('../chunk-OHIB3TEN.cjs');
|
|
9
10
|
require('../chunk-LBWMTA5T.cjs');
|
|
10
11
|
require('../chunk-Q7E73DVJ.cjs');
|
|
11
12
|
require('../chunk-JR4TVE43.cjs');
|
|
12
13
|
require('../chunk-VXZURKMQ.cjs');
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-OHIB3TEN.cjs');
|
|
14
|
+
require('../chunk-G4FJGNY5.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "SyncDrag", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDrag; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "SyncDragSlave", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragSlave; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "SyncDragSlaveX", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragSlaveX; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "SyncDragX", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragX; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "SyncDragY", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragY; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "SyncScroll", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncScroll; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "SyncScrollSlave", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncScrollSlave; }
|
|
45
45
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { SyncDrag, SyncDragSlave, SyncDragSlaveX, SyncDragX, SyncDragY, SyncScroll, SyncScrollSlave } from '../chunk-
|
|
2
|
-
import '../chunk-SAGQV2YZ.mjs';
|
|
1
|
+
export { SyncDrag, SyncDragSlave, SyncDragSlaveX, SyncDragX, SyncDragY, SyncScroll, SyncScrollSlave } from '../chunk-PDOFOJ4P.mjs';
|
|
3
2
|
import '../chunk-F7ZHPSLA.mjs';
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-U3LN5NB6.mjs';
|
|
4
|
+
import '../chunk-IZARTVYN.mjs';
|
|
5
5
|
import '../chunk-VA4LUFKD.mjs';
|
|
6
6
|
import '../chunk-4F2GSF2T.mjs';
|
|
7
|
+
import '../chunk-HMN4IKTG.mjs';
|
|
7
8
|
import '../chunk-IDUVYPN7.mjs';
|
|
8
9
|
import '../chunk-3QT5VABC.mjs';
|
|
9
10
|
import '../chunk-XHJDRQD7.mjs';
|
|
10
11
|
import '../chunk-LQOPO4KU.mjs';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-HMN4IKTG.mjs';
|
|
12
|
+
import '../chunk-SAGQV2YZ.mjs';
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-JMCH2AFN.cjs');
|
|
4
|
-
var
|
|
5
|
-
var chunkG4FJGNY5_cjs = require('../chunk-G4FJGNY5.cjs');
|
|
4
|
+
var chunkG5JZGNKY_cjs = require('../chunk-G5JZGNKY.cjs');
|
|
6
5
|
require('../chunk-QN4N4I3Z.cjs');
|
|
7
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-Q4XH2Z5M.cjs');
|
|
7
|
+
require('../chunk-6BOWMGFG.cjs');
|
|
8
8
|
require('../chunk-YZIR6LIY.cjs');
|
|
9
9
|
require('../chunk-RPTRTGC2.cjs');
|
|
10
|
+
require('../chunk-OHIB3TEN.cjs');
|
|
10
11
|
require('../chunk-LBWMTA5T.cjs');
|
|
11
12
|
require('../chunk-Q7E73DVJ.cjs');
|
|
12
13
|
require('../chunk-JR4TVE43.cjs');
|
|
13
14
|
require('../chunk-VXZURKMQ.cjs');
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-OHIB3TEN.cjs');
|
|
15
|
+
var chunkG4FJGNY5_cjs = require('../chunk-G4FJGNY5.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "SyncDrag", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDrag; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "SyncDragSlave", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragSlave; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "SyncDragSlaveX", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragSlaveX; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "SyncDragX", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragX; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "SyncDragY", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncDragY; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "SyncScroll", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncScroll; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "SyncScrollSlave", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkG5JZGNKY_cjs.SyncScrollSlave; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "SyncScrollProvider", {
|
|
48
48
|
enumerable: true,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import '../chunk-BNDRHLLZ.mjs';
|
|
2
|
-
export { SyncDrag, SyncDragSlave, SyncDragSlaveX, SyncDragX, SyncDragY, SyncScroll, SyncScrollSlave } from '../chunk-
|
|
3
|
-
export { SyncScrollProvider, useScrollSlave, useSyncDrag, useSyncScroll } from '../chunk-SAGQV2YZ.mjs';
|
|
2
|
+
export { SyncDrag, SyncDragSlave, SyncDragSlaveX, SyncDragX, SyncDragY, SyncScroll, SyncScrollSlave } from '../chunk-PDOFOJ4P.mjs';
|
|
4
3
|
import '../chunk-F7ZHPSLA.mjs';
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-U3LN5NB6.mjs';
|
|
5
|
+
import '../chunk-IZARTVYN.mjs';
|
|
6
6
|
import '../chunk-VA4LUFKD.mjs';
|
|
7
7
|
import '../chunk-4F2GSF2T.mjs';
|
|
8
|
+
import '../chunk-HMN4IKTG.mjs';
|
|
8
9
|
import '../chunk-IDUVYPN7.mjs';
|
|
9
10
|
import '../chunk-3QT5VABC.mjs';
|
|
10
11
|
import '../chunk-XHJDRQD7.mjs';
|
|
11
12
|
import '../chunk-LQOPO4KU.mjs';
|
|
12
|
-
|
|
13
|
-
import '../chunk-HMN4IKTG.mjs';
|
|
13
|
+
export { SyncScrollProvider, useScrollSlave, useSyncDrag, useSyncScroll } from '../chunk-SAGQV2YZ.mjs';
|