@robot-admin/naive-ui-components 0.11.0 → 0.11.2

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 (95) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/C_Table.base.css +86 -86
  3. package/dist/C_Table.css +86 -86
  4. package/dist/constants.d.cts +4 -4
  5. package/dist/constants.d.ts +4 -4
  6. package/dist/constants2.d.cts +4 -4
  7. package/dist/constants2.d.ts +4 -4
  8. package/dist/constants3.d.cts +4 -4
  9. package/dist/constants3.d.ts +4 -4
  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 +3 -3
  15. package/dist/data.d.ts +3 -3
  16. package/dist/index10.vue.d.ts +4 -4
  17. package/dist/index11.vue.d.cts +4 -4
  18. package/dist/index11.vue.d.ts +4 -4
  19. package/dist/index12.vue.d.cts +4 -4
  20. package/dist/index12.vue.d.ts +3 -3
  21. package/dist/index13.vue.d.cts +3 -3
  22. package/dist/index13.vue.d.ts +3 -3
  23. package/dist/index14.vue.d.cts +3 -3
  24. package/dist/index14.vue.d.ts +7 -7
  25. package/dist/index15.vue.d.cts +7 -7
  26. package/dist/index15.vue.d.ts +2 -2
  27. package/dist/index16.vue.d.cts +2 -2
  28. package/dist/index16.vue.d.ts +1 -1
  29. package/dist/index17.vue.d.cts +1 -1
  30. package/dist/index17.vue.d.ts +5 -5
  31. package/dist/index18.vue.d.cts +5 -5
  32. package/dist/index18.vue.d.ts +3 -3
  33. package/dist/index19.vue.d.cts +2 -2
  34. package/dist/index19.vue.d.ts +2 -2
  35. package/dist/index2.vue.d.cts +1 -1
  36. package/dist/index2.vue.d.ts +1 -1
  37. package/dist/index20.vue.d.cts +2 -2
  38. package/dist/index20.vue.d.ts +2 -2
  39. package/dist/index21.vue.d.cts +3 -3
  40. package/dist/index21.vue.d.ts +3 -3
  41. package/dist/index22.vue.d.cts +4 -4
  42. package/dist/index22.vue.d.ts +4 -4
  43. package/dist/index24.vue.d.cts +2 -2
  44. package/dist/index24.vue.d.ts +2 -2
  45. package/dist/index25.vue.d.cts +1 -1
  46. package/dist/index25.vue.d.ts +1 -1
  47. package/dist/index26.vue.d.cts +1 -1
  48. package/dist/index26.vue.d.ts +1 -1
  49. package/dist/index27.vue.d.cts +3 -3
  50. package/dist/index27.vue.d.ts +3 -3
  51. package/dist/index3.vue.d.cts +3 -3
  52. package/dist/index3.vue.d.ts +3 -3
  53. package/dist/index4.vue.d.cts +3 -3
  54. package/dist/index4.vue.d.ts +3 -3
  55. package/dist/index5.vue.d.cts +3 -3
  56. package/dist/index6.vue.d.ts +2 -2
  57. package/dist/index7.vue.d.cts +2 -2
  58. package/dist/index7.vue.d.ts +4 -4
  59. package/dist/index8.vue.d.cts +4 -4
  60. package/dist/index8.vue.d.ts +2 -2
  61. package/dist/index9.vue.d.cts +2 -2
  62. package/dist/style.css +86 -86
  63. package/dist/useCalendarEvents.d.cts +1 -1
  64. package/dist/useCalendarEvents.d.ts +1 -1
  65. package/dist/useCollapsePanel.d.cts +3 -3
  66. package/dist/useCollapsePanel.d.ts +3 -3
  67. package/dist/useCropperCore.d.cts +6 -6
  68. package/dist/useCropperCore.d.ts +6 -6
  69. package/dist/useDraggableLayout.d.cts +5 -5
  70. package/dist/useDraggableLayout.d.ts +5 -5
  71. package/dist/useDynamicFormState.d.cts +2 -2
  72. package/dist/useDynamicFormState.d.ts +2 -2
  73. package/dist/useEdgeInteraction.d.cts +2 -2
  74. package/dist/useEdgeInteraction.d.ts +2 -2
  75. package/dist/useInfiniteScroll.d.cts +2 -2
  76. package/dist/useInfiniteScroll.d.ts +2 -2
  77. package/dist/useQRCode.d.cts +3 -3
  78. package/dist/useQRCode.d.ts +3 -3
  79. package/dist/useSearchState.d.cts +21 -21
  80. package/dist/useSearchState.d.ts +21 -21
  81. package/dist/useSignatureHistory.d.cts +2 -2
  82. package/dist/useSignatureHistory.d.ts +2 -2
  83. package/dist/useSplitResize.d.cts +5 -5
  84. package/dist/useSplitResize.d.ts +5 -5
  85. package/dist/useTableQuery.cjs +1 -1
  86. package/dist/useTableQuery.d.cts +122 -159
  87. package/dist/useTableQuery.d.ts +122 -159
  88. package/dist/useTableQuery.js +1 -1
  89. package/dist/useTimeSelection.d.cts +4 -4
  90. package/dist/useTimeSelection.d.ts +4 -4
  91. package/dist/useTreeOperations.d.cts +6 -6
  92. package/dist/useTreeOperations.d.ts +6 -6
  93. package/dist/useWorkflowValidation.d.cts +4 -4
  94. package/dist/useWorkflowValidation.d.ts +4 -4
  95. package/package.json +3 -2
@@ -102,17 +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
- actions: ActionConfig[];
106
- mode: TreeMode;
107
- defaultExpandedKeys: (string | number)[];
108
105
  labelField: string;
109
- keyField: string;
110
106
  childrenField: string;
107
+ actions: ActionConfig[];
108
+ mode: TreeMode;
111
109
  showToolbar: boolean;
110
+ defaultExpandAll: boolean;
111
+ draggable: boolean;
112
+ keyField: string;
112
113
  searchPattern: string;
113
114
  searchable: boolean;
114
115
  searchPlaceholder: string;
115
- draggable: boolean;
116
116
  showLine: boolean;
117
117
  addable: boolean;
118
118
  addText: string;
@@ -120,7 +120,7 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
120
120
  iconField: string;
121
121
  iconConfig: IconConfig;
122
122
  statusConfigs: StatusConfig[];
123
- 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,19 +237,19 @@ 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;
241
+ "update:modelValue": (value: WorkflowData) => any;
242
242
  save: (data: WorkflowData) => any;
243
243
  "node-click": (node: WorkflowNode) => any;
244
- "validate-error": (errors: ValidationError[]) => any;
245
244
  "edge-click": (edge: WorkflowEdge) => any;
245
+ "validate-error": (errors: ValidationError[]) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
- "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
247
  onChange?: ((value: WorkflowData) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
249
249
  onSave?: ((data: WorkflowData) => any) | undefined;
250
250
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
- "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
252
251
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
253
253
  }>, {
254
254
  theme: "light" | "dark";
255
255
  readonly: boolean;
@@ -237,19 +237,19 @@ 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;
241
+ "update:modelValue": (value: WorkflowData) => any;
242
242
  save: (data: WorkflowData) => any;
243
243
  "node-click": (node: WorkflowNode) => any;
244
- "validate-error": (errors: ValidationError[]) => any;
245
244
  "edge-click": (edge: WorkflowEdge) => any;
245
+ "validate-error": (errors: ValidationError[]) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
- "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
247
  onChange?: ((value: WorkflowData) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
249
249
  onSave?: ((data: WorkflowData) => any) | undefined;
250
250
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
- "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
252
251
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
253
253
  }>, {
254
254
  theme: "light" | "dark";
255
255
  readonly: boolean;
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.2",
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",