@robot-admin/naive-ui-components 0.31.2 → 0.31.3
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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_FormModal.css +1 -1
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_Table.base.css +109 -109
- package/dist/C_Table.css +109 -109
- package/dist/C_Table2.cjs +2 -2
- package/dist/C_Table2.js +2 -2
- package/dist/C_Time.css +4 -4
- package/dist/C_Time2.cjs +1 -1
- package/dist/C_Time2.js +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +4 -4
- package/dist/constants3.d.ts +4 -4
- package/dist/constants4.d.cts +7 -7
- package/dist/constants4.d.ts +7 -7
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +7 -7
- package/dist/data2.d.ts +7 -7
- package/dist/formField.d.cts +1 -1
- package/dist/formField.d.ts +1 -1
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +6 -6
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.cts +2 -2
- package/dist/index14.vue.d.ts +2 -2
- package/dist/index15.vue.d.cts +2 -2
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.cts +3 -3
- package/dist/index16.vue.d.ts +8 -8
- package/dist/index17.vue.d.cts +8 -8
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +3 -3
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +4 -4
- package/dist/index21.vue.d.cts +4 -4
- package/dist/index23.vue.d.cts +1 -1
- package/dist/index23.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index30.vue.d.cts +3 -3
- package/dist/index30.vue.d.ts +3 -3
- package/dist/index31.vue.d.cts +2 -2
- package/dist/index31.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +2 -2
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +6 -6
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/style.css +114 -114
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +5 -5
- package/dist/useCollapsePanel.d.ts +5 -5
- package/dist/useCropperCore.d.cts +10 -10
- package/dist/useCropperCore.d.ts +10 -10
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useTableQuery.d.cts +10 -10
- package/dist/useTableQuery.d.ts +10 -10
- package/dist/useTimeSelection.d.cts +12 -3
- package/dist/useTimeSelection.d.ts +12 -3
- package/dist/useWorkflowValidation.d.cts +4 -4
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/dist/verification.d.cts +3 -3
- package/dist/verification.d.ts +3 -3
- package/docs/guides/usage.en.md +1 -1
- package/docs/guides/usage.md +1 -1
- package/package.json +1 -1
|
@@ -84,19 +84,28 @@ declare function useTimeSelection(props: TimeRuntimeProps<TimeMode | undefined,
|
|
|
84
84
|
endTimeDisabled: vue.ComputedRef<boolean>;
|
|
85
85
|
singleTimeDisabled: vue.ComputedRef<boolean>;
|
|
86
86
|
mergedStartAttrs: vue.ComputedRef<{
|
|
87
|
-
size: "
|
|
87
|
+
size: "medium" | "small" | "large" | undefined;
|
|
88
88
|
clearable: boolean | undefined;
|
|
89
89
|
valueFormat: string | undefined;
|
|
90
|
+
hours: number[] | undefined;
|
|
91
|
+
minutes: number[] | undefined;
|
|
92
|
+
seconds: number[] | undefined;
|
|
90
93
|
}>;
|
|
91
94
|
mergedEndAttrs: vue.ComputedRef<{
|
|
92
|
-
size: "
|
|
95
|
+
size: "medium" | "small" | "large" | undefined;
|
|
93
96
|
clearable: boolean | undefined;
|
|
94
97
|
valueFormat: string | undefined;
|
|
98
|
+
hours: number[] | undefined;
|
|
99
|
+
minutes: number[] | undefined;
|
|
100
|
+
seconds: number[] | undefined;
|
|
95
101
|
}>;
|
|
96
102
|
mergedAttrs: vue.ComputedRef<{
|
|
97
|
-
size: "
|
|
103
|
+
size: "medium" | "small" | "large" | undefined;
|
|
98
104
|
clearable: boolean | undefined;
|
|
99
105
|
valueFormat: string | undefined;
|
|
106
|
+
hours: number[] | undefined;
|
|
107
|
+
minutes: number[] | undefined;
|
|
108
|
+
seconds: number[] | undefined;
|
|
100
109
|
}>;
|
|
101
110
|
isEndHourDisabled: (hour: number) => boolean;
|
|
102
111
|
isEndMinuteDisabled: (minute: number, selectedHour: number | null) => boolean;
|
|
@@ -259,26 +259,26 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
259
259
|
conditionNodes: number;
|
|
260
260
|
}>;
|
|
261
261
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
262
|
-
"update:modelValue": (value: WorkflowData) => any;
|
|
263
262
|
change: (value: WorkflowData) => any;
|
|
263
|
+
"update:modelValue": (value: WorkflowData) => any;
|
|
264
264
|
"node-click": (node: WorkflowNode<NodeType>) => any;
|
|
265
265
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
266
266
|
save: (data: WorkflowData) => any;
|
|
267
267
|
"validate-error": (errors: ValidationError[]) => any;
|
|
268
268
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
269
|
-
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
270
269
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
270
|
+
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
271
271
|
"onNode-click"?: ((node: WorkflowNode<NodeType>) => any) | undefined;
|
|
272
272
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
273
273
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
274
274
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
|
+
readonly: boolean;
|
|
277
|
+
theme: "light" | "dark";
|
|
276
278
|
users: User[];
|
|
277
279
|
roles: Role[];
|
|
278
280
|
departments: Department[];
|
|
279
|
-
readonly: boolean;
|
|
280
281
|
allowCycles: boolean;
|
|
281
|
-
theme: "light" | "dark";
|
|
282
282
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
283
283
|
declare const _default: typeof __VLS_export;
|
|
284
284
|
//#endregion
|
|
@@ -259,26 +259,26 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
259
259
|
conditionNodes: number;
|
|
260
260
|
}>;
|
|
261
261
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
262
|
-
"update:modelValue": (value: WorkflowData) => any;
|
|
263
262
|
change: (value: WorkflowData) => any;
|
|
263
|
+
"update:modelValue": (value: WorkflowData) => any;
|
|
264
264
|
"node-click": (node: WorkflowNode<NodeType>) => any;
|
|
265
265
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
266
266
|
save: (data: WorkflowData) => any;
|
|
267
267
|
"validate-error": (errors: ValidationError[]) => any;
|
|
268
268
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
269
|
-
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
270
269
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
270
|
+
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
271
271
|
"onNode-click"?: ((node: WorkflowNode<NodeType>) => any) | undefined;
|
|
272
272
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
273
273
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
274
274
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
|
+
readonly: boolean;
|
|
277
|
+
theme: "light" | "dark";
|
|
276
278
|
users: User[];
|
|
277
279
|
roles: Role[];
|
|
278
280
|
departments: Department[];
|
|
279
|
-
readonly: boolean;
|
|
280
281
|
allowCycles: boolean;
|
|
281
|
-
theme: "light" | "dark";
|
|
282
282
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
283
283
|
declare const _default: typeof __VLS_export;
|
|
284
284
|
//#endregion
|
package/dist/verification.d.cts
CHANGED
|
@@ -78,24 +78,24 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
79
79
|
change: (valid: boolean) => any;
|
|
80
80
|
success: (data: CaptchaSuccessPayload) => any;
|
|
81
|
-
reset: () => any;
|
|
82
81
|
fail: (error: string) => any;
|
|
83
82
|
"verify-error": (error: unknown) => any;
|
|
84
83
|
"load-error": (error: unknown) => any;
|
|
85
84
|
"visible-change": (visible: boolean) => any;
|
|
85
|
+
reset: () => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
87
87
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
88
88
|
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
|
-
onReset?: (() => any) | undefined;
|
|
90
89
|
onFail?: ((error: string) => any) | undefined;
|
|
91
90
|
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
92
91
|
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
93
92
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
93
|
+
onReset?: (() => any) | undefined;
|
|
94
94
|
}>, {
|
|
95
95
|
disabled: boolean;
|
|
96
|
-
theme: "light" | "dark";
|
|
97
96
|
provider: CaptchaProvider;
|
|
98
97
|
images: string[];
|
|
98
|
+
theme: "light" | "dark";
|
|
99
99
|
verificationTimeout: number;
|
|
100
100
|
requireServerVerification: boolean;
|
|
101
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/verification.d.ts
CHANGED
|
@@ -78,24 +78,24 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
79
79
|
change: (valid: boolean) => any;
|
|
80
80
|
success: (data: CaptchaSuccessPayload) => any;
|
|
81
|
-
reset: () => any;
|
|
82
81
|
fail: (error: string) => any;
|
|
83
82
|
"verify-error": (error: unknown) => any;
|
|
84
83
|
"load-error": (error: unknown) => any;
|
|
85
84
|
"visible-change": (visible: boolean) => any;
|
|
85
|
+
reset: () => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
87
87
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
88
88
|
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
|
-
onReset?: (() => any) | undefined;
|
|
90
89
|
onFail?: ((error: string) => any) | undefined;
|
|
91
90
|
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
92
91
|
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
93
92
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
93
|
+
onReset?: (() => any) | undefined;
|
|
94
94
|
}>, {
|
|
95
95
|
disabled: boolean;
|
|
96
|
-
theme: "light" | "dark";
|
|
97
96
|
provider: CaptchaProvider;
|
|
98
97
|
images: string[];
|
|
98
|
+
theme: "light" | "dark";
|
|
99
99
|
verificationTimeout: number;
|
|
100
100
|
requireServerVerification: boolean;
|
|
101
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/docs/guides/usage.en.md
CHANGED
|
@@ -697,7 +697,7 @@ With `C_FullCalendar` and `v-model:events`, listen for `@event-dropped` or `@eve
|
|
|
697
697
|
|
|
698
698
|
Upload `concurrency` applies across normal and chunk upload requests. Cancellation stops subsequent hash reads; a Blob read already in progress is discarded on completion. Application-provided check/merge callbacks retain responsibility for their own network lifecycle.
|
|
699
699
|
|
|
700
|
-
Excel previews preserve raw values, cell types and workbook display formatting. Sheets expand on demand. Defaults are 32 MiB per file and 100000 cells per sheet
|
|
700
|
+
Excel previews preserve raw values, cell types and workbook display formatting. Sheets expand on demand. Defaults are 32 MiB per file and 100000 cells per sheet. `previewLimits: { maxBytes, maxCells }` accepts finite safe positive integers. Remote Excel previews stop reading the response once the byte limit is exceeded. Over-budget previews ask users to download the original file. Memory used to decompress a workbook depends on its contents.
|
|
701
701
|
|
|
702
702
|
WaterFall fills a visible sentinel for at most five consecutive pages, then exposes a manual continuation. Custom `footer` slots receive `paused` and `loadMore`. Continue updating `loading` and `noMore` in the host. Draggable instances sort independently by default; cross-list transfers require an explicitly shared `group`.
|
|
703
703
|
|
package/docs/guides/usage.md
CHANGED
|
@@ -870,7 +870,7 @@ Excel 保留原始值、单元格类型和工作簿格式,不把文本编号
|
|
|
870
870
|
/>
|
|
871
871
|
```
|
|
872
872
|
|
|
873
|
-
|
|
873
|
+
预算必须是有限安全正整数。远程 Excel 会在读取响应时执行字节上限,超限立即取消读取。工作簿解压后的内存消耗取决于文件内容。
|
|
874
874
|
|
|
875
875
|
WaterFall 会在哨兵持续可见时继续补页,每轮最多自动请求 5 页,避免空响应循环。达到上限后可点击“继续加载”;自定义 `footer` 插槽获得 `paused` 和 `loadMore`。使用侧继续维护 `loading` 和 `noMore`。
|
|
876
876
|
|