@toolmain/components 1.2.15 → 1.2.16

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 (3) hide show
  1. package/dist/index.d.ts +31 -0
  2. package/dist/index.js +4693 -4746
  3. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -108,6 +108,26 @@ declare type __VLS_Props_5 = {
108
108
  provider: ComponentProvider;
109
109
  };
110
110
 
111
+ declare type __VLS_Props_6 = {
112
+ /**
113
+ * drag bar size, specified as width when moving horizontally, and height when moving vertically
114
+ */
115
+ size: number | string;
116
+ /**
117
+ * drag bar is attached to the `direction` of the `target` element
118
+ */
119
+ direction: "top" | "right" | "bottom" | "left";
120
+ /**
121
+ * the targe element which size will be changed, if not set,
122
+ * represent current element's parent element
123
+ */
124
+ target?: HTMLElement | null;
125
+ /**
126
+ * the target element's style
127
+ */
128
+ modelValue: CSSProperties;
129
+ };
130
+
111
131
  declare type __VLS_Slots = {} & {
112
132
  default?: (props: typeof __VLS_1) => any;
113
133
  };
@@ -409,6 +429,7 @@ export declare type ComponentEvents = {
409
429
  */
410
430
  args: string[];
411
431
  returnType?: string;
432
+ version?: string;
412
433
  };
413
434
 
414
435
  export declare class ComponentGenerator {
@@ -1361,6 +1382,16 @@ export declare type RendererConf = {
1361
1382
  clearColor: string;
1362
1383
  };
1363
1384
 
1385
+ export declare const Resize: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1386
+ scaling: () => any;
1387
+ afterScale: () => any;
1388
+ "update:modelValue": (value: CSSProperties) => any;
1389
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
1390
+ onScaling?: (() => any) | undefined;
1391
+ onAfterScale?: (() => any) | undefined;
1392
+ "onUpdate:modelValue"?: ((value: CSSProperties) => any) | undefined;
1393
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1394
+
1364
1395
  /**
1365
1396
  * tranlate rgb color to hex string
1366
1397
  */