@robot-admin/naive-ui-components 0.24.2 → 0.24.4
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 +20 -0
- package/README.md +4 -2
- package/README_EN.md +4 -2
- package/SECURITY.md +12 -2
- package/dist/C_AntV2.cjs +1 -1
- package/dist/C_AntV2.js +3 -3
- package/dist/C_Form.base.css +40 -40
- package/dist/C_Form.css +40 -40
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_Table.base.css +150 -150
- package/dist/C_Table.css +110 -110
- package/dist/C_Table2.cjs +2 -2
- package/dist/C_Table2.js +2 -2
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer.css +30 -20
- package/dist/C_VideoPlayer2.cjs +2 -2
- package/dist/C_VideoPlayer2.js +3 -3
- package/dist/Steps.cjs +1 -1
- package/dist/Steps.js +1 -1
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/constants2.d.cts +3 -3
- package/dist/constants2.d.ts +3 -3
- package/dist/constants3.d.cts +4 -4
- package/dist/constants3.d.ts +4 -4
- package/dist/data2.cjs +1 -1
- package/dist/data2.d.cts +4 -4
- package/dist/data2.d.ts +4 -4
- package/dist/data2.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +1 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index15.vue.d.ts +5 -5
- package/dist/index16.vue.d.cts +5 -5
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- package/dist/index18.vue.d.ts +1 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +1 -1
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.cts +1 -1
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index24.vue.d.cts +1 -1
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index29.vue.d.cts +2 -2
- package/dist/index29.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index5.vue.d.cts +2 -2
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +180 -170
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.cts +6 -6
- package/dist/useCropperCore.d.ts +6 -6
- package/dist/useDictionary.cjs +1 -1
- package/dist/useDictionary.js +1 -1
- package/dist/useDynamicFormState.d.cts +10 -10
- package/dist/useDynamicFormState.d.ts +10 -10
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.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 +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useWorkflowValidation.d.cts +32 -32
- package/dist/useWorkflowValidation.d.ts +32 -32
- package/dist/verification.d.cts +4 -4
- package/dist/verification.d.ts +4 -4
- package/docs/engineering.en.md +1 -1
- package/docs/engineering.md +1 -1
- package/docs/stability-review-20261031.md +46 -0
- package/package.json +4 -2
|
@@ -73,8 +73,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
editable: boolean;
|
|
76
|
-
initialView: CalendarViewType;
|
|
77
76
|
events: CalendarEvent[];
|
|
77
|
+
initialView: CalendarViewType;
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -73,8 +73,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
editable: boolean;
|
|
76
|
-
initialView: CalendarViewType;
|
|
77
76
|
events: CalendarEvent[];
|
|
77
|
+
initialView: CalendarViewType;
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -71,22 +71,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
74
75
|
expand: (key: string) => any;
|
|
75
76
|
collapse: (key: string) => any;
|
|
76
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
79
80
|
onExpand?: ((key: string) => any) | undefined;
|
|
80
81
|
onCollapse?: ((key: string) => any) | undefined;
|
|
81
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
84
|
-
persistKey: string;
|
|
85
84
|
activeKeys: string[];
|
|
86
85
|
defaultActiveKeys: string[];
|
|
87
86
|
accordion: boolean;
|
|
88
87
|
variant: CollapsePanelVariant;
|
|
89
88
|
expandIconPosition: ExpandIconPosition;
|
|
89
|
+
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
92
92
|
declare const _default: typeof __VLS_export;
|
|
@@ -71,22 +71,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
74
75
|
expand: (key: string) => any;
|
|
75
76
|
collapse: (key: string) => any;
|
|
76
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
79
80
|
onExpand?: ((key: string) => any) | undefined;
|
|
80
81
|
onCollapse?: ((key: string) => any) | undefined;
|
|
81
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
84
|
-
persistKey: string;
|
|
85
84
|
activeKeys: string[];
|
|
86
85
|
defaultActiveKeys: string[];
|
|
87
86
|
accordion: boolean;
|
|
88
87
|
variant: CollapsePanelVariant;
|
|
89
88
|
expandIconPosition: ExpandIconPosition;
|
|
89
|
+
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
92
92
|
declare const _default: typeof __VLS_export;
|
|
@@ -52,20 +52,20 @@ interface ImageCropperEmits {
|
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
|
-
cancel: () => any;
|
|
56
|
-
confirm: (result: CropResult) => any;
|
|
57
55
|
ready: () => any;
|
|
56
|
+
confirm: (result: CropResult) => any;
|
|
57
|
+
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onCancel?: (() => any) | undefined;
|
|
62
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
61
|
onReady?: (() => any) | undefined;
|
|
62
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
|
-
|
|
68
|
+
showToolbar: boolean;
|
|
69
69
|
src: string;
|
|
70
70
|
aspectRatio: number;
|
|
71
71
|
outputFormat: CropOutputFormat;
|
|
@@ -73,9 +73,9 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
73
73
|
maxOutputWidth: number;
|
|
74
74
|
maxOutputHeight: number;
|
|
75
75
|
showPreview: boolean;
|
|
76
|
-
showToolbar: boolean;
|
|
77
76
|
circular: boolean;
|
|
78
77
|
modal: boolean;
|
|
78
|
+
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -52,20 +52,20 @@ interface ImageCropperEmits {
|
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
|
-
cancel: () => any;
|
|
56
|
-
confirm: (result: CropResult) => any;
|
|
57
55
|
ready: () => any;
|
|
56
|
+
confirm: (result: CropResult) => any;
|
|
57
|
+
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onCancel?: (() => any) | undefined;
|
|
62
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
61
|
onReady?: (() => any) | undefined;
|
|
62
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
|
-
|
|
68
|
+
showToolbar: boolean;
|
|
69
69
|
src: string;
|
|
70
70
|
aspectRatio: number;
|
|
71
71
|
outputFormat: CropOutputFormat;
|
|
@@ -73,9 +73,9 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
73
73
|
maxOutputWidth: number;
|
|
74
74
|
maxOutputHeight: number;
|
|
75
75
|
showPreview: boolean;
|
|
76
|
-
showToolbar: boolean;
|
|
77
76
|
circular: boolean;
|
|
78
77
|
modal: boolean;
|
|
78
|
+
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/useDictionary.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./dictionary.cjs`),t=require(`./observer.cjs`),n=require(`./config.cjs`);let r=require(`vue`);const i=Object.freeze([]);function a(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`number`&&Number.isFinite(e)}function o(e,t){if(!e||typeof e.label!=`string`||!a(e.value))throw TypeError(`[dictionary] 选项必须有字符串 label 和有限的原始 value`);if(e.disabled!==void 0&&typeof e.disabled!=`boolean`)throw TypeError(`[dictionary] disabled 必须是 boolean`);if(t.has(e.value))throw TypeError(`[dictionary] 选项 value 不得重复`);return t.add(e.value),{...e}}function s(a,s={}){let c=(0,r.getCurrentInstance)()?(0,r.inject)(n.DICTIONARY_PROVIDER_KEY,void 0):void 0,l=new Map,u=(0,r.shallowReactive)(new Map),d=(0,r.shallowReactive)(new Map),f=(0,r.shallowReactive)(new Map),p=(0,r.shallowReactive)(new Map),m=!1,h=(e,t)=>!m&&l.get(e)===t,g=(e,t,n)=>h(e,t)&&!n.signal.aborted&&t.controller===n,_=(e,n)=>{f.set(e,n),t.t(()=>s.onError?.(n,e))},v=e=>{if(!Array.isArray(e))throw TypeError(`[dictionary] 选项源必须返回数组`);let t=new Set;return e.map(e=>o(e,t))},y=(t,n)=>{let
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./dictionary.cjs`),t=require(`./observer.cjs`),n=require(`./config.cjs`);let r=require(`vue`);const i=Object.freeze([]);function a(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`number`&&Number.isFinite(e)}function o(e,t){if(!e||typeof e.label!=`string`||!a(e.value))throw TypeError(`[dictionary] 选项必须有字符串 label 和有限的原始 value`);if(e.disabled!==void 0&&typeof e.disabled!=`boolean`)throw TypeError(`[dictionary] disabled 必须是 boolean`);if(t.has(e.value))throw TypeError(`[dictionary] 选项 value 不得重复`);return t.add(e.value),{...e}}function s(a,s={}){let c=(0,r.getCurrentInstance)()?(0,r.inject)(n.DICTIONARY_PROVIDER_KEY,void 0):void 0,l=new Map,u=(0,r.shallowReactive)(new Map),d=(0,r.shallowReactive)(new Map),f=(0,r.shallowReactive)(new Map),p=(0,r.shallowReactive)(new Map),m=!1,h=(e,t)=>!m&&l.get(e)===t,g=(e,t,n)=>h(e,t)&&!n.signal.aborted&&t.controller===n,_=(e,n,r)=>{m||r&&!h(e,r)||(f.set(e,n),!m&&(!r||h(e,r))&&t.t(()=>s.onError?.(n,e)))},v=e=>{if(!Array.isArray(e))throw TypeError(`[dictionary] 选项源必须返回数组`);let t=new Set;return e.map(e=>o(e,t))},y=(t,n,r)=>{let i=v(r);return!h(t,n)||(u.set(t,i),!h(t,n))?!1:(p.set(t,e.t(i)),h(t,n))};function b(e,t){if(h(e,t))try{y(e,t,t.source.getOptions())&&f.delete(e)}catch(n){_(e,n,t)}}async function x(e,t,n){let r=new AbortController;t.controller=r;let{revision:i}=t;if(d.set(e,!0),g(e,t,r)&&(f.delete(e),g(e,t,r)))try{let a=await n.call(t.source,{signal:r.signal});if(!g(e,t,r))return;y(e,t,i===t.revision?a:t.source.getOptions())}catch(n){g(e,t,r)&&_(e,n,t)}finally{h(e,t)&&t.controller===r&&(t.controller=void 0,d.set(e,!1))}}async function S(e,t){if(!h(e,t))return;let n=t.controller;if(t.controller=void 0,n?.abort(),!h(e,t)||t.controller)return;let r=t.source.load;r?await x(e,t,r):b(e,t)}function C(e,n){if(b(e,n),h(e,n)){try{let r=n.source.subscribe?.(()=>{h(e,n)&&(n.revision++,b(e,n))});h(e,n)?n.unsubscribe=r:t.t(()=>r?.())}catch(t){_(e,t,n)}n.source.load&&S(e,n)}}function w({key:e,binding:t,source:n,error:r}){if(m)return;let i=l.get(e);if(i&&i.source===n&&i.binding===t||(T(e),m))return;if(!n){t!==void 0&&_(e,r??Error(`[dictionary] 未注册字典: ${String(t)}`));return}let a={binding:t,source:n,revision:0};l.set(e,a),C(e,a)}function T(e){let t=l.get(e);l.delete(e),t?.controller?.abort();try{t?.unsubscribe?.()}catch(t){m||_(e,t)}u.delete(e),d.delete(e),f.delete(e),p.delete(e)}let E=()=>{};(0,r.getCurrentScope)()&&(0,r.onScopeDispose)(D),E=(0,r.watch)(()=>[...(0,r.toValue)(a)].map(([e,t])=>{try{return{key:e,binding:t,source:typeof t==`string`?c?.getDictionary(t):t}}catch(n){return{key:e,binding:t,source:void 0,error:n}}}),e=>{let t=new Set(e.map(e=>e.key));for(let e of new Set([...l.keys(),...f.keys()]))t.has(e)||T(e);e.forEach(w)},{immediate:!0}),m&&E();function D(){if(!m){m=!0,E();for(let e of new Set([...l.keys(),...f.keys()]))T(e)}}return{dispose:D,getOptions:e=>u.get(e)??i,getLabel:(e,t)=>p.get(e)?.(t)??String(t??``),isLoading:e=>d.get(e)??!1,getError:e=>f.get(e),async reload(e){let t=e===void 0?[...l]:l.has(e)?[[e,l.get(e)]]:[];await Promise.all(t.map(([e,t])=>S(e,t)))}}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
package/dist/useDictionary.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./dictionary.js";import{t}from"./observer.js";import{DICTIONARY_PROVIDER_KEY as n}from"./config.js";import{getCurrentInstance as r,getCurrentScope as i,inject as a,onScopeDispose as o,shallowReactive as s,toValue as c,watch as l}from"vue";const u=Object.freeze([]);function d(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`number`&&Number.isFinite(e)}function f(e,t){if(!e||typeof e.label!=`string`||!d(e.value))throw TypeError(`[dictionary] 选项必须有字符串 label 和有限的原始 value`);if(e.disabled!==void 0&&typeof e.disabled!=`boolean`)throw TypeError(`[dictionary] disabled 必须是 boolean`);if(t.has(e.value))throw TypeError(`[dictionary] 选项 value 不得重复`);return t.add(e.value),{...e}}function p(d,p={}){let m=r()?a(n,void 0):void 0,h=new Map,g=s(new Map),_=s(new Map),v=s(new Map),y=s(new Map),b=!1,x=(e,t)=>!b&&h.get(e)===t,S=(e,t,n)=>x(e,t)&&!n.signal.aborted&&t.controller===n,C=(e,n)=>{v.set(e,n),t(()=>p.onError?.(n,e))},w=e=>{if(!Array.isArray(e))throw TypeError(`[dictionary] 选项源必须返回数组`);let t=new Set;return e.map(e=>f(e,t))},T=(t,n)=>{let
|
|
1
|
+
import{t as e}from"./dictionary.js";import{t}from"./observer.js";import{DICTIONARY_PROVIDER_KEY as n}from"./config.js";import{getCurrentInstance as r,getCurrentScope as i,inject as a,onScopeDispose as o,shallowReactive as s,toValue as c,watch as l}from"vue";const u=Object.freeze([]);function d(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`number`&&Number.isFinite(e)}function f(e,t){if(!e||typeof e.label!=`string`||!d(e.value))throw TypeError(`[dictionary] 选项必须有字符串 label 和有限的原始 value`);if(e.disabled!==void 0&&typeof e.disabled!=`boolean`)throw TypeError(`[dictionary] disabled 必须是 boolean`);if(t.has(e.value))throw TypeError(`[dictionary] 选项 value 不得重复`);return t.add(e.value),{...e}}function p(d,p={}){let m=r()?a(n,void 0):void 0,h=new Map,g=s(new Map),_=s(new Map),v=s(new Map),y=s(new Map),b=!1,x=(e,t)=>!b&&h.get(e)===t,S=(e,t,n)=>x(e,t)&&!n.signal.aborted&&t.controller===n,C=(e,n,r)=>{b||r&&!x(e,r)||(v.set(e,n),!b&&(!r||x(e,r))&&t(()=>p.onError?.(n,e)))},w=e=>{if(!Array.isArray(e))throw TypeError(`[dictionary] 选项源必须返回数组`);let t=new Set;return e.map(e=>f(e,t))},T=(t,n,r)=>{let i=w(r);return!x(t,n)||(g.set(t,i),!x(t,n))?!1:(y.set(t,e(i)),x(t,n))};function E(e,t){if(x(e,t))try{T(e,t,t.source.getOptions())&&v.delete(e)}catch(n){C(e,n,t)}}async function D(e,t,n){let r=new AbortController;t.controller=r;let{revision:i}=t;if(_.set(e,!0),S(e,t,r)&&(v.delete(e),S(e,t,r)))try{let a=await n.call(t.source,{signal:r.signal});if(!S(e,t,r))return;T(e,t,i===t.revision?a:t.source.getOptions())}catch(n){S(e,t,r)&&C(e,n,t)}finally{x(e,t)&&t.controller===r&&(t.controller=void 0,_.set(e,!1))}}async function O(e,t){if(!x(e,t))return;let n=t.controller;if(t.controller=void 0,n?.abort(),!x(e,t)||t.controller)return;let r=t.source.load;r?await D(e,t,r):E(e,t)}function k(e,n){if(E(e,n),x(e,n)){try{let r=n.source.subscribe?.(()=>{x(e,n)&&(n.revision++,E(e,n))});x(e,n)?n.unsubscribe=r:t(()=>r?.())}catch(t){C(e,t,n)}n.source.load&&O(e,n)}}function A({key:e,binding:t,source:n,error:r}){if(b)return;let i=h.get(e);if(i&&i.source===n&&i.binding===t||(j(e),b))return;if(!n){t!==void 0&&C(e,r??Error(`[dictionary] 未注册字典: ${String(t)}`));return}let a={binding:t,source:n,revision:0};h.set(e,a),k(e,a)}function j(e){let t=h.get(e);h.delete(e),t?.controller?.abort();try{t?.unsubscribe?.()}catch(t){b||C(e,t)}g.delete(e),_.delete(e),v.delete(e),y.delete(e)}let M=()=>{};i()&&o(N),M=l(()=>[...c(d)].map(([e,t])=>{try{return{key:e,binding:t,source:typeof t==`string`?m?.getDictionary(t):t}}catch(n){return{key:e,binding:t,source:void 0,error:n}}}),e=>{let t=new Set(e.map(e=>e.key));for(let e of new Set([...h.keys(),...v.keys()]))t.has(e)||j(e);e.forEach(A)},{immediate:!0}),b&&M();function N(){if(!b){b=!0,M();for(let e of new Set([...h.keys(),...v.keys()]))j(e)}}return{dispose:N,getOptions:e=>g.get(e)??u,getLabel:(e,t)=>y.get(e)?.(t)??String(t??``),isLoading:e=>_.get(e)??!1,getError:e=>v.get(e),async reload(e){let t=e===void 0?[...h]:h.has(e)?[[e,h.get(e)]]:[];await Promise.all(t.map(([e,t])=>O(e,t)))}}}export{p as t};
|
|
@@ -968,25 +968,25 @@ declare const __VLS_export$1: <T extends object = TreeNodeData>(__VLS_props: Non
|
|
|
968
968
|
props: vue.PublicProps & __VLS_PrettifyLocal$1<TreeProps$1<T> & {
|
|
969
969
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
970
970
|
onRefresh?: (() => any) | undefined;
|
|
971
|
-
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
972
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
973
|
-
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
974
971
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
975
|
-
"onUpdate:
|
|
976
|
-
"onUpdate:
|
|
972
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
973
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
974
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
977
975
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
978
976
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
977
|
+
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
978
|
+
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
979
979
|
}> & (typeof globalThis extends {
|
|
980
980
|
__VLS_PROPS_FALLBACK: infer P;
|
|
981
981
|
} ? P : {});
|
|
982
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
982
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
983
983
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
984
984
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
985
985
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
986
986
|
}>) => void;
|
|
987
987
|
attrs: any;
|
|
988
988
|
slots: TreeSlots<T>;
|
|
989
|
-
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "
|
|
989
|
+
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "load-error", error: unknown, node: T) => void);
|
|
990
990
|
}>) => vue.VNode & {
|
|
991
991
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
992
992
|
};
|
|
@@ -1024,7 +1024,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
1024
1024
|
handleDrop: (info: DropInfo<T>) => void;
|
|
1025
1025
|
handleAdd: () => void;
|
|
1026
1026
|
handleRefresh: () => void;
|
|
1027
|
-
expose: Omit<TreeExpose<T>, "
|
|
1027
|
+
expose: Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
1028
1028
|
expandedKeys: Ref<TreeKey[]>;
|
|
1029
1029
|
selectedKeys: Ref<TreeKey[]>;
|
|
1030
1030
|
checkedKeys: Ref<TreeKey[]>;
|
|
@@ -1067,8 +1067,8 @@ interface FormModalEmits<T extends object = FormRecord> {
|
|
|
1067
1067
|
//#region src/components/C_FormModal/index.vue.d.ts
|
|
1068
1068
|
declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1069
1069
|
props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
|
|
1070
|
-
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
1071
1070
|
onClose?: (() => any) | undefined;
|
|
1071
|
+
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
1072
1072
|
}> & (typeof globalThis extends {
|
|
1073
1073
|
__VLS_PROPS_FALLBACK: infer P;
|
|
1074
1074
|
} ? P : {});
|
|
@@ -1077,7 +1077,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
1077
1077
|
slots: {
|
|
1078
1078
|
[x: string]: ((props: any) => any) | undefined;
|
|
1079
1079
|
};
|
|
1080
|
-
emit: ((evt: "
|
|
1080
|
+
emit: ((evt: "close") => void) & ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void);
|
|
1081
1081
|
}>) => vue.VNode & {
|
|
1082
1082
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1083
1083
|
};
|
|
@@ -958,25 +958,25 @@ declare const __VLS_export$1: <T extends object = TreeNodeData>(__VLS_props: Non
|
|
|
958
958
|
props: vue.PublicProps & __VLS_PrettifyLocal$1<TreeProps$1<T> & {
|
|
959
959
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
960
960
|
onRefresh?: (() => any) | undefined;
|
|
961
|
-
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
962
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
963
|
-
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
964
961
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
965
|
-
"onUpdate:
|
|
966
|
-
"onUpdate:
|
|
962
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
963
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
964
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
967
965
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
968
966
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
967
|
+
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
968
|
+
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
969
969
|
}> & (typeof globalThis extends {
|
|
970
970
|
__VLS_PROPS_FALLBACK: infer P;
|
|
971
971
|
} ? P : {});
|
|
972
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
972
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
973
973
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
974
974
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
975
975
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
976
976
|
}>) => void;
|
|
977
977
|
attrs: any;
|
|
978
978
|
slots: TreeSlots<T>;
|
|
979
|
-
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "
|
|
979
|
+
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "load-error", error: unknown, node: T) => void);
|
|
980
980
|
}>) => vue.VNode & {
|
|
981
981
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
982
982
|
};
|
|
@@ -1014,7 +1014,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
1014
1014
|
handleDrop: (info: DropInfo<T>) => void;
|
|
1015
1015
|
handleAdd: () => void;
|
|
1016
1016
|
handleRefresh: () => void;
|
|
1017
|
-
expose: Omit<TreeExpose<T>, "
|
|
1017
|
+
expose: Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
1018
1018
|
expandedKeys: Ref<TreeKey[]>;
|
|
1019
1019
|
selectedKeys: Ref<TreeKey[]>;
|
|
1020
1020
|
checkedKeys: Ref<TreeKey[]>;
|
|
@@ -1057,8 +1057,8 @@ interface FormModalEmits<T extends object = FormRecord> {
|
|
|
1057
1057
|
//#region src/components/C_FormModal/index.vue.d.ts
|
|
1058
1058
|
declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1059
1059
|
props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
|
|
1060
|
-
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
1061
1060
|
onClose?: (() => any) | undefined;
|
|
1061
|
+
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
1062
1062
|
}> & (typeof globalThis extends {
|
|
1063
1063
|
__VLS_PROPS_FALLBACK: infer P;
|
|
1064
1064
|
} ? P : {});
|
|
@@ -1067,7 +1067,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
1067
1067
|
slots: {
|
|
1068
1068
|
[x: string]: ((props: any) => any) | undefined;
|
|
1069
1069
|
};
|
|
1070
|
-
emit: ((evt: "
|
|
1070
|
+
emit: ((evt: "close") => void) & ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void);
|
|
1071
1071
|
}>) => vue.VNode & {
|
|
1072
1072
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1073
1073
|
};
|
|
@@ -264,8 +264,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
theme: "light" | "dark";
|
|
268
267
|
width: string | number;
|
|
268
|
+
theme: "light" | "dark";
|
|
269
269
|
height: string | number;
|
|
270
270
|
readonly: boolean;
|
|
271
271
|
showToolbar: boolean;
|
|
@@ -264,8 +264,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
theme: "light" | "dark";
|
|
268
267
|
width: string | number;
|
|
268
|
+
theme: "light" | "dark";
|
|
269
269
|
height: string | number;
|
|
270
270
|
readonly: boolean;
|
|
271
271
|
showToolbar: boolean;
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -94,11 +94,11 @@ interface ExcelLoadResult {
|
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/C_FilePreview/index.vue.d.ts
|
|
96
96
|
declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
97
|
-
preview: (file: string | File) => any;
|
|
98
97
|
download: (file: string | File) => any;
|
|
98
|
+
preview: (file: string | File) => any;
|
|
99
99
|
}, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
100
|
-
onPreview?: ((file: string | File) => any) | undefined;
|
|
101
100
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
101
|
+
onPreview?: ((file: string | File) => any) | undefined;
|
|
102
102
|
}>, {
|
|
103
103
|
inline: boolean;
|
|
104
104
|
fileName: string;
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -94,11 +94,11 @@ interface ExcelLoadResult {
|
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/C_FilePreview/index.vue.d.ts
|
|
96
96
|
declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
97
|
-
preview: (file: string | File) => any;
|
|
98
97
|
download: (file: string | File) => any;
|
|
98
|
+
preview: (file: string | File) => any;
|
|
99
99
|
}, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
100
|
-
onPreview?: ((file: string | File) => any) | undefined;
|
|
101
100
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
101
|
+
onPreview?: ((file: string | File) => any) | undefined;
|
|
102
102
|
}>, {
|
|
103
103
|
inline: boolean;
|
|
104
104
|
fileName: string;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,15 +50,15 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
label: string;
|
|
54
|
-
size: number;
|
|
55
53
|
color: string;
|
|
56
54
|
mode: RenderMode;
|
|
57
|
-
|
|
55
|
+
size: number;
|
|
56
|
+
label: string;
|
|
58
57
|
bgColor: string;
|
|
59
58
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
60
59
|
margin: number;
|
|
61
60
|
logo: LogoOptions;
|
|
61
|
+
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,15 +50,15 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
label: string;
|
|
54
|
-
size: number;
|
|
55
53
|
color: string;
|
|
56
54
|
mode: RenderMode;
|
|
57
|
-
|
|
55
|
+
size: number;
|
|
56
|
+
label: string;
|
|
58
57
|
bgColor: string;
|
|
59
58
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
60
59
|
margin: number;
|
|
61
60
|
logo: LogoOptions;
|
|
61
|
+
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
@@ -92,26 +92,26 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
+
clear: () => any;
|
|
95
96
|
change: (data: SignatureStroke[]) => any;
|
|
96
97
|
error: (error: Error) => any;
|
|
97
|
-
clear: () => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
+
onClear?: (() => any) | undefined;
|
|
104
105
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
106
|
onError?: ((error: Error) => any) | undefined;
|
|
106
|
-
onClear?: (() => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
disabled: boolean;
|
|
114
113
|
width: number | string;
|
|
114
|
+
disabled: boolean;
|
|
115
115
|
height: number | string;
|
|
116
116
|
readonly: boolean;
|
|
117
117
|
showToolbar: boolean;
|
|
@@ -92,26 +92,26 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
+
clear: () => any;
|
|
95
96
|
change: (data: SignatureStroke[]) => any;
|
|
96
97
|
error: (error: Error) => any;
|
|
97
|
-
clear: () => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
+
onClear?: (() => any) | undefined;
|
|
104
105
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
106
|
onError?: ((error: Error) => any) | undefined;
|
|
106
|
-
onClear?: (() => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
disabled: boolean;
|
|
114
113
|
width: number | string;
|
|
114
|
+
disabled: boolean;
|
|
115
115
|
height: number | string;
|
|
116
116
|
readonly: boolean;
|
|
117
117
|
showToolbar: boolean;
|
|
@@ -58,25 +58,25 @@ declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {
|
|
|
58
58
|
"drag-start": (size: number) => any;
|
|
59
59
|
"drag-end": (size: number) => any;
|
|
60
60
|
expand: (target: CollapseTarget) => any;
|
|
61
|
-
"update:size": (size: number) => any;
|
|
62
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
63
61
|
collapse: (target: CollapseTarget) => any;
|
|
62
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
63
|
+
"update:size": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
65
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
66
66
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
67
67
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
68
|
-
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
69
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
|
+
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
72
|
disabled: boolean;
|
|
73
73
|
direction: SplitDirection;
|
|
74
|
+
collapsible: boolean;
|
|
74
75
|
maxSize: number;
|
|
75
76
|
defaultSize: number;
|
|
76
77
|
minSize: number;
|
|
77
78
|
minFirstSize: number;
|
|
78
79
|
minSecondSize: number;
|
|
79
|
-
collapsible: boolean;
|
|
80
80
|
showCollapseButton: boolean;
|
|
81
81
|
gutterSize: number;
|
|
82
82
|
step: number;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -58,25 +58,25 @@ declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {
|
|
|
58
58
|
"drag-start": (size: number) => any;
|
|
59
59
|
"drag-end": (size: number) => any;
|
|
60
60
|
expand: (target: CollapseTarget) => any;
|
|
61
|
-
"update:size": (size: number) => any;
|
|
62
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
63
61
|
collapse: (target: CollapseTarget) => any;
|
|
62
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
63
|
+
"update:size": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
65
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
66
66
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
67
67
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
68
|
-
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
69
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
|
+
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
72
|
disabled: boolean;
|
|
73
73
|
direction: SplitDirection;
|
|
74
|
+
collapsible: boolean;
|
|
74
75
|
maxSize: number;
|
|
75
76
|
defaultSize: number;
|
|
76
77
|
minSize: number;
|
|
77
78
|
minFirstSize: number;
|
|
78
79
|
minSecondSize: number;
|
|
79
|
-
collapsible: boolean;
|
|
80
80
|
showCollapseButton: boolean;
|
|
81
81
|
gutterSize: number;
|
|
82
82
|
step: number;
|