@oneflowui/ui 0.5.3 → 0.5.5

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.en.md CHANGED
@@ -93,7 +93,7 @@ pnpm add mermaid # required only when using MermaidChart
93
93
  ```ts
94
94
  import { createApp } from 'vue'
95
95
  import App from './App.vue'
96
- import OneflowUI from '@oneflowui/ui'
96
+ import OneflowUI from '@oneflowui/ui/plugin'
97
97
  import '@oneflowui/ui/styles'
98
98
 
99
99
  const app = createApp(App)
@@ -108,6 +108,8 @@ import { KanbanBoard, DataTable, AiMessageList, MermaidChart } from '@oneflowui/
108
108
  import '@oneflowui/ui/styles'
109
109
  ```
110
110
 
111
+ Note: starting from `0.5.4`, the plugin entry is separated from the root entry. Use `@oneflowui/ui/plugin` for `app.use(...)`, and keep named imports on `@oneflowui/ui`.
112
+
111
113
  ---
112
114
 
113
115
  ## Usage Examples
package/README.md CHANGED
@@ -80,7 +80,7 @@ pnpm add mermaid # 使用 MermaidChart 时需要
80
80
  ```ts
81
81
  import { createApp } from 'vue'
82
82
  import App from './App.vue'
83
- import OneflowUI from '@oneflowui/ui'
83
+ import OneflowUI from '@oneflowui/ui/plugin'
84
84
  import '@oneflowui/ui/styles'
85
85
 
86
86
  const app = createApp(App)
@@ -95,6 +95,8 @@ import { KanbanBoard, DataTable, AiMessageList, MermaidChart } from '@oneflowui/
95
95
  import '@oneflowui/ui/styles'
96
96
  ```
97
97
 
98
+ 说明:从 `0.5.4` 开始,`plugin` 入口与根入口解耦。全局注册走 `@oneflowui/ui/plugin`,命名导入继续走 `@oneflowui/ui`。
99
+
98
100
  ---
99
101
 
100
102
  ## 页面级方案
@@ -1,7 +1,7 @@
1
1
  import o from "./Breadcrumb.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-460cd1d5"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-1a7571e0"]]);
5
5
  export {
6
- c as default
6
+ e as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BreadcrumbItem.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-23cd2804"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cfd104cd"]]);
5
5
  export {
6
- c as default
6
+ a as default
7
7
  };
@@ -115,6 +115,18 @@ declare const _default: <T extends {
115
115
  };
116
116
  col: TableColumn;
117
117
  }): any;
118
+ cell?(_: {
119
+ row: Record<string, unknown> & {
120
+ id: string;
121
+ };
122
+ col: TableColumn;
123
+ }): any;
124
+ cell?(_: {
125
+ row: Record<string, unknown> & {
126
+ id: string;
127
+ };
128
+ col: TableColumn;
129
+ }): any;
118
130
  };
119
131
  emit: ((evt: "paste", payload: {
120
132
  startRowId: string;
@@ -1,7 +1,7 @@
1
- import o from "./DataTable.vue2.js";
1
+ import a from "./DataTable.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5e8101e6"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ o(a, [["__scopeId", "data-v-2581396a"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };