@eficy/dsh-plugin 0.2.0 → 0.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/dist/THIRD-PARTY-NOTICES.txt +1 -21
- package/dist/client.js +2 -2
- package/dist/runtime-manifest.json +2 -2
- package/package.json +1 -1
- package/samples/analytics.eficy +2 -2
- package/samples/operations.eficy +2 -2
- package/samples/workbench.eficy +2 -2
- package/skills/eficy/SKILL.md +2 -2
- package/skills/eficy/references/components.md +4 -4
- package/skills/eficy/references/shadcn.md +2 -2
- package/skills/eficy/scripts/export-html.mjs +2 -2
package/package.json
CHANGED
package/samples/analytics.eficy
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { signal, computed, component } from 'eficy';
|
|
2
|
-
import * as ui from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
3
|
-
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
2
|
+
import * as ui from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.js';
|
|
3
|
+
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.css';
|
|
4
4
|
import { AreaChart, Area, BarChart, Bar, CartesianGrid, XAxis, YAxis, Tooltip as ChartTooltip } from 'https://cdn.jsdelivr.net/npm/@eficy/charts@0.1.0/dist/index.js';
|
|
5
5
|
import { Compass, LayoutDashboard, ShoppingBag, Repeat, ArrowUpRight, Search, CalendarDays, Users, CreditCard, MousePointerClick, Receipt } from 'https://esm.sh/lucide-react@0.468.0?external=react';
|
|
6
6
|
|
package/samples/operations.eficy
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { signal, computed, component } from 'eficy';
|
|
2
|
-
import * as ui from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
3
|
-
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
2
|
+
import * as ui from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.js';
|
|
3
|
+
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.css';
|
|
4
4
|
import { BarChart, Bar, PieChart, Pie, Cell, XAxis, CartesianGrid, Tooltip as ChartTooltip } from 'https://cdn.jsdelivr.net/npm/@eficy/charts@0.1.0/dist/index.js';
|
|
5
5
|
import { Package, Search, Truck, CheckCircle, Clock, RotateCcw } from 'https://esm.sh/lucide-react@0.468.0?external=react';
|
|
6
6
|
|
package/samples/workbench.eficy
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { signal, computed, component } from 'eficy';
|
|
2
|
-
import { Button, Input } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
3
|
-
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
2
|
+
import { Button, Input } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.js';
|
|
3
|
+
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.css';
|
|
4
4
|
|
|
5
5
|
const tasks = signal([
|
|
6
6
|
{ id: 1, title: '打开 .eficy 文件,直接预览', detail: '当前页面就是磁盘文件渲染的结果。', done: true },
|
package/skills/eficy/SKILL.md
CHANGED
|
@@ -18,8 +18,8 @@ description: 创建或修复 .eficy 交互页面、分析报告、看板和图
|
|
|
18
18
|
|
|
19
19
|
```tsx
|
|
20
20
|
import { signal, computed, component, bind } from 'eficy';
|
|
21
|
-
import { Button, Input, Card, CardContent } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
22
|
-
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
21
|
+
import { Button, Input, Card, CardContent } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.js';
|
|
22
|
+
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.css';
|
|
23
23
|
const name = signal('Ada');
|
|
24
24
|
const count = signal(0);
|
|
25
25
|
const doubled = computed(() => count.value * 2);
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
15
|
import { signal, computed, component, batch } from 'eficy';
|
|
16
|
-
import * as ui from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
17
|
-
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
16
|
+
import * as ui from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.js';
|
|
17
|
+
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.css';
|
|
18
18
|
import { Search, ArrowUpRight, LayoutDashboard, BarChart3 } from 'https://esm.sh/lucide-react@0.468.0?external=react';
|
|
19
19
|
import { AreaChart, Area, BarChart, Bar, XAxis, YAxis, CartesianGrid,
|
|
20
20
|
PieChart, Pie, Cell, LineChart, Line, Tooltip as ChartTooltip, Legend as ChartLegend } from 'https://esm.sh/recharts@2.15.4?external=react,react-dom';
|
|
@@ -51,8 +51,8 @@ const { Card, CardHeader, CardTitle, CardDescription, CardContent,
|
|
|
51
51
|
|
|
52
52
|
```tsx
|
|
53
53
|
import { signal, computed, component } from 'eficy';
|
|
54
|
-
import { Card, CardContent, Input, Button } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
55
|
-
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
54
|
+
import { Card, CardContent, Input, Button } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.js';
|
|
55
|
+
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.css';
|
|
56
56
|
const name = signal('');
|
|
57
57
|
const message = computed(() => name.value.trim() ? `你好,${name.value.trim()}` : '输入姓名开始');
|
|
58
58
|
const Preview = component(() => <main className="p-4">
|
|
@@ -8,8 +8,8 @@ shadcn 是组件写法,不是文件类型。统一生成 `page.eficy`,只需
|
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
10
10
|
import { signal, computed, component } from 'eficy';
|
|
11
|
-
import { Card, CardContent, Button, Input } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
12
|
-
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.
|
|
11
|
+
import { Card, CardContent, Button, Input } from 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.js';
|
|
12
|
+
import 'https://cdn.jsdelivr.net/npm/@eficy/shadcn-ui@1.2.0/dist/index.css';
|
|
13
13
|
import { Activity } from 'https://esm.sh/lucide-react@0.468.0?external=react';
|
|
14
14
|
import { Recharts } from 'https://cdn.jsdelivr.net/npm/@eficy/charts@0.1.0/dist/index.js';
|
|
15
15
|
const { ResponsiveContainer, BarChart, Bar, XAxis, YAxis, Tooltip, Legend } = Recharts;
|