@robot-admin/naive-ui-components 0.11.0 → 0.11.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.
Files changed (91) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/C_Table.base.css +86 -86
  3. package/dist/C_Table.css +86 -86
  4. package/dist/constants.d.cts +5 -5
  5. package/dist/constants.d.ts +5 -5
  6. package/dist/constants2.d.cts +5 -5
  7. package/dist/constants2.d.ts +5 -5
  8. package/dist/constants3.d.cts +3 -3
  9. package/dist/constants3.d.ts +3 -3
  10. package/dist/constants4.d.cts +3 -3
  11. package/dist/constants4.d.ts +3 -3
  12. package/dist/constants5.d.cts +2 -2
  13. package/dist/constants5.d.ts +2 -2
  14. package/dist/data.d.cts +2 -2
  15. package/dist/data.d.ts +2 -2
  16. package/dist/index10.vue.d.cts +2 -2
  17. package/dist/index10.vue.d.ts +3 -3
  18. package/dist/index11.vue.d.cts +3 -3
  19. package/dist/index11.vue.d.ts +3 -3
  20. package/dist/index12.vue.d.cts +3 -3
  21. package/dist/index12.vue.d.ts +5 -5
  22. package/dist/index13.vue.d.cts +5 -5
  23. package/dist/index13.vue.d.ts +3 -3
  24. package/dist/index14.vue.d.cts +3 -3
  25. package/dist/index14.vue.d.ts +5 -5
  26. package/dist/index15.vue.d.cts +5 -5
  27. package/dist/index15.vue.d.ts +2 -2
  28. package/dist/index16.vue.d.cts +2 -2
  29. package/dist/index16.vue.d.ts +1 -1
  30. package/dist/index17.vue.d.cts +1 -1
  31. package/dist/index17.vue.d.ts +6 -6
  32. package/dist/index18.vue.d.cts +6 -6
  33. package/dist/index18.vue.d.ts +3 -3
  34. package/dist/index2.vue.d.cts +5 -5
  35. package/dist/index2.vue.d.ts +5 -5
  36. package/dist/index20.vue.d.cts +3 -3
  37. package/dist/index20.vue.d.ts +3 -3
  38. package/dist/index21.vue.d.cts +2 -2
  39. package/dist/index21.vue.d.ts +2 -2
  40. package/dist/index22.vue.d.cts +1 -1
  41. package/dist/index22.vue.d.ts +1 -1
  42. package/dist/index24.vue.d.cts +4 -4
  43. package/dist/index24.vue.d.ts +4 -4
  44. package/dist/index25.vue.d.cts +1 -1
  45. package/dist/index25.vue.d.ts +1 -1
  46. package/dist/index26.vue.d.cts +3 -3
  47. package/dist/index26.vue.d.ts +3 -3
  48. package/dist/index27.vue.d.cts +3 -3
  49. package/dist/index27.vue.d.ts +3 -3
  50. package/dist/index3.vue.d.cts +3 -3
  51. package/dist/index3.vue.d.ts +3 -3
  52. package/dist/index4.vue.d.cts +4 -4
  53. package/dist/index4.vue.d.ts +4 -4
  54. package/dist/index5.vue.d.cts +3 -3
  55. package/dist/index6.vue.d.ts +2 -2
  56. package/dist/index7.vue.d.cts +2 -2
  57. package/dist/index8.vue.d.ts +2 -2
  58. package/dist/index9.vue.d.cts +2 -2
  59. package/dist/index9.vue.d.ts +2 -2
  60. package/dist/style.css +86 -86
  61. package/dist/useCalendarEvents.d.cts +1 -1
  62. package/dist/useCalendarEvents.d.ts +1 -1
  63. package/dist/useCollapsePanel.d.cts +6 -6
  64. package/dist/useCollapsePanel.d.ts +6 -6
  65. package/dist/useCropperCore.d.cts +5 -5
  66. package/dist/useCropperCore.d.ts +5 -5
  67. package/dist/useDraggableLayout.d.cts +4 -4
  68. package/dist/useDraggableLayout.d.ts +4 -4
  69. package/dist/useEdgeInteraction.d.cts +2 -2
  70. package/dist/useEdgeInteraction.d.ts +2 -2
  71. package/dist/useFullscreen.d.cts +2 -2
  72. package/dist/useFullscreen.d.ts +2 -2
  73. package/dist/useQRCode.d.cts +2 -2
  74. package/dist/useQRCode.d.ts +2 -2
  75. package/dist/useSearchState.d.cts +22 -22
  76. package/dist/useSearchState.d.ts +22 -22
  77. package/dist/useSignatureHistory.d.cts +4 -4
  78. package/dist/useSignatureHistory.d.ts +4 -4
  79. package/dist/useSplitResize.d.cts +5 -5
  80. package/dist/useSplitResize.d.ts +5 -5
  81. package/dist/useTableQuery.cjs +1 -1
  82. package/dist/useTableQuery.d.cts +118 -155
  83. package/dist/useTableQuery.d.ts +118 -155
  84. package/dist/useTableQuery.js +1 -1
  85. package/dist/useTimeSelection.d.cts +3 -3
  86. package/dist/useTimeSelection.d.ts +3 -3
  87. package/dist/useTreeOperations.d.cts +5 -5
  88. package/dist/useTreeOperations.d.ts +5 -5
  89. package/dist/useWorkflowValidation.d.cts +5 -5
  90. package/dist/useWorkflowValidation.d.ts +5 -5
  91. package/package.json +3 -2
@@ -102,17 +102,16 @@ 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
- actions: ActionConfig[];
106
105
  mode: TreeMode;
107
- defaultExpandedKeys: (string | number)[];
106
+ showToolbar: boolean;
107
+ actions: ActionConfig[];
108
108
  labelField: string;
109
- keyField: string;
110
109
  childrenField: string;
111
- showToolbar: boolean;
110
+ draggable: boolean;
111
+ keyField: string;
112
112
  searchPattern: string;
113
113
  searchable: boolean;
114
114
  searchPlaceholder: string;
115
- draggable: boolean;
116
115
  showLine: boolean;
117
116
  addable: boolean;
118
117
  addText: string;
@@ -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>;
@@ -237,22 +237,22 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
237
237
  conditionNodes: number;
238
238
  }>;
239
239
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
240
- "update:modelValue": (value: WorkflowData) => any;
241
240
  change: (value: WorkflowData) => any;
242
- save: (data: WorkflowData) => any;
241
+ "update:modelValue": (value: WorkflowData) => any;
243
242
  "node-click": (node: WorkflowNode) => any;
244
243
  "validate-error": (errors: ValidationError[]) => any;
245
244
  "edge-click": (edge: WorkflowEdge) => any;
245
+ save: (data: WorkflowData) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
- "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
247
  onChange?: ((value: WorkflowData) => any) | undefined;
249
- onSave?: ((data: WorkflowData) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
250
249
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
250
  "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
252
251
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
+ onSave?: ((data: WorkflowData) => any) | undefined;
253
253
  }>, {
254
- theme: "light" | "dark";
255
254
  readonly: boolean;
255
+ theme: "light" | "dark";
256
256
  users: User[];
257
257
  roles: Role[];
258
258
  departments: Department[];
@@ -237,22 +237,22 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
237
237
  conditionNodes: number;
238
238
  }>;
239
239
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
240
- "update:modelValue": (value: WorkflowData) => any;
241
240
  change: (value: WorkflowData) => any;
242
- save: (data: WorkflowData) => any;
241
+ "update:modelValue": (value: WorkflowData) => any;
243
242
  "node-click": (node: WorkflowNode) => any;
244
243
  "validate-error": (errors: ValidationError[]) => any;
245
244
  "edge-click": (edge: WorkflowEdge) => any;
245
+ save: (data: WorkflowData) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
- "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
247
  onChange?: ((value: WorkflowData) => any) | undefined;
249
- onSave?: ((data: WorkflowData) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
250
249
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
250
  "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
252
251
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
+ onSave?: ((data: WorkflowData) => any) | undefined;
253
253
  }>, {
254
- theme: "light" | "dark";
255
254
  readonly: boolean;
255
+ theme: "light" | "dark";
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.11.0",
6
+ "version": "0.11.1",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "packageManager": "bun@1.3.14",
9
9
  "engines": {
@@ -81,7 +81,8 @@
81
81
  "check:audit": "bun audit",
82
82
  "check:package": "node scripts/check-package-contract.js",
83
83
  "check:quality": "node scripts/check-source-quality.js",
84
- "verify": "bun run lint:check && bun run type-check && bun run test && bun run check:exports && bun run check:package && bun run check:quality && bun run build",
84
+ "check:consumer-types": "vue-tsc --noEmit -p tests/consumer/tsconfig.json",
85
+ "verify": "bun run lint:check && bun run type-check && bun run test && bun run check:exports && bun run check:package && bun run check:quality && bun run build && bun run check:consumer-types",
85
86
  "prepublishOnly": "bun run verify",
86
87
  "release": "changeset publish",
87
88
  "changeset": "changeset",