@robot-admin/naive-ui-components 0.3.5 → 0.3.6

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.
@@ -102,18 +102,17 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
102
102
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
103
103
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
104
104
  }>, {
105
- showToolbar: boolean;
106
105
  labelField: string;
107
106
  childrenField: string;
108
- draggable: boolean;
109
- mode: TreeMode;
110
107
  actions: ActionConfig[];
111
- defaultExpandedKeys: (string | number)[];
108
+ mode: TreeMode;
109
+ draggable: boolean;
112
110
  keyField: string;
113
111
  searchPattern: string;
114
112
  searchable: boolean;
115
113
  searchPlaceholder: string;
116
114
  showLine: boolean;
115
+ showToolbar: boolean;
117
116
  addable: boolean;
118
117
  addText: string;
119
118
  refreshable: boolean;
@@ -121,6 +120,7 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
121
120
  iconConfig: IconConfig;
122
121
  statusConfigs: StatusConfig[];
123
122
  defaultExpandAll: boolean;
123
+ defaultExpandedKeys: (string | number)[];
124
124
  defaultSelectedKeys: (string | number)[];
125
125
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
126
126
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -239,20 +239,20 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
239
239
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
240
240
  "update:modelValue": (value: WorkflowData) => any;
241
241
  change: (value: WorkflowData) => any;
242
- "node-click": (node: WorkflowNode) => any;
243
- "edge-click": (edge: WorkflowEdge) => any;
244
242
  save: (data: WorkflowData) => any;
245
243
  "validate-error": (errors: ValidationError[]) => any;
244
+ "node-click": (node: WorkflowNode) => any;
245
+ "edge-click": (edge: WorkflowEdge) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
247
  "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
248
  onChange?: ((value: WorkflowData) => any) | undefined;
249
- "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
250
- "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
251
249
  onSave?: ((data: WorkflowData) => any) | undefined;
252
250
  "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
251
+ "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
252
+ "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
253
253
  }>, {
254
- readonly: boolean;
255
254
  theme: "light" | "dark";
255
+ readonly: boolean;
256
256
  users: User[];
257
257
  roles: Role[];
258
258
  departments: Department[];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.3.5",
6
+ "version": "0.3.6",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",