@robot-admin/naive-ui-components 0.24.2 → 0.24.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 +13 -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 +6 -6
- package/dist/constants2.d.ts +6 -6
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- 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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +5 -5
- package/dist/index11.vue.d.cts +5 -5
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index15.vue.d.ts +8 -8
- package/dist/index16.vue.d.cts +8 -8
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +2 -2
- package/dist/index26.vue.d.cts +4 -4
- package/dist/index26.vue.d.ts +4 -4
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index28.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/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +180 -170
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- 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 +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +3 -3
- package/dist/useEdgeInteraction.d.ts +3 -3
- 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 +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +97 -97
- package/dist/useWorkflowValidation.d.ts +97 -97
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- 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
|
@@ -72,13 +72,13 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __
|
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
74
|
expand: (key: string) => any;
|
|
75
|
-
collapse: (key: string) => any;
|
|
76
75
|
"update:activeKeys": (keys: string[]) => any;
|
|
76
|
+
collapse: (key: string) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
79
|
onExpand?: ((key: string) => any) | undefined;
|
|
80
|
-
onCollapse?: ((key: string) => any) | undefined;
|
|
81
80
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
81
|
+
onCollapse?: ((key: string) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
84
84
|
persistKey: string;
|
|
@@ -72,13 +72,13 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __
|
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
74
|
expand: (key: string) => any;
|
|
75
|
-
collapse: (key: string) => any;
|
|
76
75
|
"update:activeKeys": (keys: string[]) => any;
|
|
76
|
+
collapse: (key: string) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
79
|
onExpand?: ((key: string) => any) | undefined;
|
|
80
|
-
onCollapse?: ((key: string) => any) | undefined;
|
|
81
80
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
81
|
+
onCollapse?: ((key: string) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
84
84
|
persistKey: string;
|
|
@@ -52,20 +52,19 @@ 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;
|
|
58
56
|
crop: (result: CropResult) => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => 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;
|
|
64
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
68
|
-
|
|
67
|
+
disabled: boolean;
|
|
69
68
|
src: string;
|
|
70
69
|
aspectRatio: number;
|
|
71
70
|
outputFormat: CropOutputFormat;
|
|
@@ -76,6 +75,7 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
76
75
|
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,19 @@ 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;
|
|
58
56
|
crop: (result: CropResult) => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => 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;
|
|
64
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
68
|
-
|
|
67
|
+
disabled: boolean;
|
|
69
68
|
src: string;
|
|
70
69
|
aspectRatio: number;
|
|
71
70
|
outputFormat: CropOutputFormat;
|
|
@@ -76,6 +75,7 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
76
75
|
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};
|
|
@@ -199,8 +199,8 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
199
199
|
//#region src/components/C_Table/index.vue.d.ts
|
|
200
200
|
declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
201
201
|
props: vue.PublicProps & __VLS_PrettifyLocal$2<TableRuntimeProps<T, C> & {
|
|
202
|
-
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
203
202
|
onSave?: ((rowData: T, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
203
|
+
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
204
204
|
"onPagination-change"?: ((page: number, pageSize: number) => any) | undefined;
|
|
205
205
|
"onRow-delete"?: ((deletedRow: T, index: number) => any) | undefined;
|
|
206
206
|
"onBatch-action-error"?: ((error: unknown, actionKey: string) => any) | undefined;
|
|
@@ -235,7 +235,7 @@ declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS
|
|
|
235
235
|
} & {
|
|
236
236
|
empty?: (props: {}) => any;
|
|
237
237
|
};
|
|
238
|
-
emit: ((evt: "
|
|
238
|
+
emit: ((evt: "save", rowData: T, rowIndex: number, columnKey?: string | undefined) => void) & ((evt: "cancel", rowData: T, rowIndex: number) => void) & ((evt: "pagination-change", page: number, pageSize: number) => void) & ((evt: "row-delete", deletedRow: T, index: number) => void) & ((evt: "batch-action-error", error: unknown, actionKey: string) => void) & ((evt: "row-key-error", issues: TableRowKeyIssue<T>[]) => void) & ((evt: "row-add", newRow: T) => void) & ((evt: "row-copy", originalRow: T, newRow: T) => void) & ((evt: "row-move", row: T, fromIndex: number, toIndex: number) => void) & ((evt: "row-selection-change", selectedKey: DataTableRowKey | null, selectedRow: T | null) => void) & ((evt: "view-detail", data: T) => void) & ((evt: "column-change", columns: TableColumn<T>[]) => void) & ((evt: "expand-change", expandedKeys: DataTableRowKey[], row?: T | undefined, expanded?: boolean | undefined) => void) & ((evt: "selection-change", checkedKeys: DataTableRowKey[], checkedRows: T[], childSelections?: Map<DataTableRowKey, DataTableRowKey[]> | undefined) => void) & ((evt: "child-selection-change", parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: C[]) => void) & ((evt: "parent-child-link-change", parentKey: DataTableRowKey, shouldSelect: boolean) => void) & ((evt: "update:data", data: T[]) => void) & ((evt: "edit-error", error: unknown) => void);
|
|
239
239
|
}>) => vue.VNode & {
|
|
240
240
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
241
241
|
};
|
|
@@ -189,8 +189,8 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
189
189
|
//#region src/components/C_Table/index.vue.d.ts
|
|
190
190
|
declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
191
191
|
props: vue.PublicProps & __VLS_PrettifyLocal$2<TableRuntimeProps<T, C> & {
|
|
192
|
-
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
193
192
|
onSave?: ((rowData: T, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
193
|
+
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
194
194
|
"onPagination-change"?: ((page: number, pageSize: number) => any) | undefined;
|
|
195
195
|
"onRow-delete"?: ((deletedRow: T, index: number) => any) | undefined;
|
|
196
196
|
"onBatch-action-error"?: ((error: unknown, actionKey: string) => any) | undefined;
|
|
@@ -225,7 +225,7 @@ declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS
|
|
|
225
225
|
} & {
|
|
226
226
|
empty?: (props: {}) => any;
|
|
227
227
|
};
|
|
228
|
-
emit: ((evt: "
|
|
228
|
+
emit: ((evt: "save", rowData: T, rowIndex: number, columnKey?: string | undefined) => void) & ((evt: "cancel", rowData: T, rowIndex: number) => void) & ((evt: "pagination-change", page: number, pageSize: number) => void) & ((evt: "row-delete", deletedRow: T, index: number) => void) & ((evt: "batch-action-error", error: unknown, actionKey: string) => void) & ((evt: "row-key-error", issues: TableRowKeyIssue<T>[]) => void) & ((evt: "row-add", newRow: T) => void) & ((evt: "row-copy", originalRow: T, newRow: T) => void) & ((evt: "row-move", row: T, fromIndex: number, toIndex: number) => void) & ((evt: "row-selection-change", selectedKey: DataTableRowKey | null, selectedRow: T | null) => void) & ((evt: "view-detail", data: T) => void) & ((evt: "column-change", columns: TableColumn<T>[]) => void) & ((evt: "expand-change", expandedKeys: DataTableRowKey[], row?: T | undefined, expanded?: boolean | undefined) => void) & ((evt: "selection-change", checkedKeys: DataTableRowKey[], checkedRows: T[], childSelections?: Map<DataTableRowKey, DataTableRowKey[]> | undefined) => void) & ((evt: "child-selection-change", parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: C[]) => void) & ((evt: "parent-child-link-change", parentKey: DataTableRowKey, shouldSelect: boolean) => void) & ((evt: "update:data", data: T[]) => void) & ((evt: "edit-error", error: unknown) => void);
|
|
229
229
|
}>) => vue.VNode & {
|
|
230
230
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
231
231
|
};
|
|
@@ -264,11 +264,11 @@ 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
|
-
width: string | number;
|
|
269
267
|
height: string | number;
|
|
270
|
-
readonly: boolean;
|
|
271
268
|
showToolbar: boolean;
|
|
269
|
+
width: string | number;
|
|
270
|
+
readonly: boolean;
|
|
271
|
+
theme: "light" | "dark";
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
274
274
|
//#endregion
|
|
@@ -264,11 +264,11 @@ 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
|
-
width: string | number;
|
|
269
267
|
height: string | number;
|
|
270
|
-
readonly: boolean;
|
|
271
268
|
showToolbar: boolean;
|
|
269
|
+
width: string | number;
|
|
270
|
+
readonly: boolean;
|
|
271
|
+
theme: "light" | "dark";
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
274
274
|
//#endregion
|
|
@@ -87,11 +87,11 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
loading: boolean;
|
|
91
|
-
virtualScroll: boolean;
|
|
92
90
|
gap: number;
|
|
91
|
+
loading: boolean;
|
|
93
92
|
columns: number;
|
|
94
93
|
lazy: boolean;
|
|
94
|
+
virtualScroll: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
|
97
97
|
skeletonCount: number;
|
|
@@ -87,11 +87,11 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
loading: boolean;
|
|
91
|
-
virtualScroll: boolean;
|
|
92
90
|
gap: number;
|
|
91
|
+
loading: boolean;
|
|
93
92
|
columns: number;
|
|
94
93
|
lazy: boolean;
|
|
94
|
+
virtualScroll: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
|
97
97
|
skeletonCount: number;
|
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
|
-
|
|
53
|
+
mode: RenderMode;
|
|
54
54
|
size: number;
|
|
55
55
|
color: string;
|
|
56
|
-
|
|
57
|
-
showBorder: boolean;
|
|
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
|
-
|
|
53
|
+
mode: RenderMode;
|
|
54
54
|
size: number;
|
|
55
55
|
color: string;
|
|
56
|
-
|
|
57
|
-
showBorder: boolean;
|
|
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;
|
|
@@ -93,8 +93,8 @@ interface SignatureEmits {
|
|
|
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
95
|
change: (data: SignatureStroke[]) => any;
|
|
96
|
-
error: (error: Error) => any;
|
|
97
96
|
clear: () => any;
|
|
97
|
+
error: (error: Error) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
@@ -102,19 +102,19 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
104
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
|
-
onError?: ((error: Error) => any) | undefined;
|
|
106
105
|
onClear?: (() => any) | undefined;
|
|
106
|
+
onError?: ((error: Error) => 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
|
+
height: number | string;
|
|
113
114
|
disabled: boolean;
|
|
115
|
+
showToolbar: boolean;
|
|
114
116
|
width: number | string;
|
|
115
|
-
height: number | string;
|
|
116
117
|
readonly: boolean;
|
|
117
|
-
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -93,8 +93,8 @@ interface SignatureEmits {
|
|
|
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
95
|
change: (data: SignatureStroke[]) => any;
|
|
96
|
-
error: (error: Error) => any;
|
|
97
96
|
clear: () => any;
|
|
97
|
+
error: (error: Error) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
@@ -102,19 +102,19 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
104
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
|
-
onError?: ((error: Error) => any) | undefined;
|
|
106
105
|
onClear?: (() => any) | undefined;
|
|
106
|
+
onError?: ((error: Error) => 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
|
+
height: number | string;
|
|
113
114
|
disabled: boolean;
|
|
115
|
+
showToolbar: boolean;
|
|
114
116
|
width: number | string;
|
|
115
|
-
height: number | string;
|
|
116
117
|
readonly: boolean;
|
|
117
|
-
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -58,28 +58,28 @@ 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;
|
|
76
|
+
step: number;
|
|
75
77
|
defaultSize: number;
|
|
76
78
|
minSize: number;
|
|
77
79
|
minFirstSize: number;
|
|
78
80
|
minSecondSize: number;
|
|
79
|
-
collapsible: boolean;
|
|
80
81
|
showCollapseButton: boolean;
|
|
81
82
|
gutterSize: number;
|
|
82
|
-
step: number;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -58,28 +58,28 @@ 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;
|
|
76
|
+
step: number;
|
|
75
77
|
defaultSize: number;
|
|
76
78
|
minSize: number;
|
|
77
79
|
minFirstSize: number;
|
|
78
80
|
minSecondSize: number;
|
|
79
|
-
collapsible: boolean;
|
|
80
81
|
showCollapseButton: boolean;
|
|
81
82
|
gutterSize: number;
|
|
82
|
-
step: number;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|