@vtj/designer 0.11.14 → 0.11.15

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.11.14",
4
+ "version": "0.11.15",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -24,12 +24,12 @@
24
24
  "html2canvas": "~1.4.1",
25
25
  "mockjs": "~1.1.0",
26
26
  "monaco-editor": "~0.52.0",
27
- "@vtj/core": "~0.11.14",
28
- "@vtj/icons": "~0.11.14",
29
- "@vtj/ui": "~0.11.14",
30
- "@vtj/renderer": "~0.11.14",
31
- "@vtj/uni": "~0.11.14",
32
- "@vtj/utils": "~0.11.14"
27
+ "@vtj/icons": "~0.11.15",
28
+ "@vtj/core": "~0.11.15",
29
+ "@vtj/renderer": "~0.11.15",
30
+ "@vtj/ui": "~0.11.15",
31
+ "@vtj/uni": "~0.11.15",
32
+ "@vtj/utils": "~0.11.15"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/mockjs": "~1.0.10",
@@ -28,17 +28,21 @@ declare function __VLS_template(): {
28
28
  $props: Partial<{
29
29
  footer: boolean;
30
30
  inline: boolean;
31
+ footerAlign: "center" | "left" | "right";
31
32
  tooltipMessage: boolean | Partial< ElTooltipProps>;
32
33
  model: Record<string, any>;
33
34
  submitText: string | null;
34
35
  resetText: string | null;
35
36
  enterSubmit: boolean;
37
+ sticky: boolean;
36
38
  }> & Omit<{
37
39
  readonly footer: boolean;
38
40
  readonly inline: boolean;
39
41
  readonly submitText: string | null;
40
42
  readonly resetText: string | null;
41
43
  readonly enterSubmit: boolean;
44
+ readonly sticky: boolean;
45
+ readonly footerAlign: "left" | "right" | "center";
42
46
  readonly model?: Record<string, any> | undefined;
43
47
  readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
44
48
  readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
@@ -46,7 +50,7 @@ declare function __VLS_template(): {
46
50
  readonly onReset?: (() => any) | undefined | undefined;
47
51
  readonly onSubmit?: ((model: Record<string, any>) => any) | undefined | undefined;
48
52
  readonly onChange?: ((model: Record<string, any>) => any) | undefined | undefined;
49
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit">;
53
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign">;
50
54
  $attrs: {
51
55
  [x: string]: unknown;
52
56
  };
@@ -280,6 +284,14 @@ declare function __VLS_template(): {
280
284
  type: BooleanConstructor;
281
285
  default: boolean;
282
286
  };
287
+ sticky: {
288
+ type: BooleanConstructor;
289
+ default: boolean;
290
+ };
291
+ footerAlign: {
292
+ type: PropType<"left" | "center" | "right">;
293
+ default: string;
294
+ };
283
295
  }>> & Readonly<{
284
296
  onReset?: (() => any) | undefined;
285
297
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
@@ -298,11 +310,13 @@ declare function __VLS_template(): {
298
310
  }, string, {
299
311
  footer: boolean;
300
312
  inline: boolean;
313
+ footerAlign: "center" | "left" | "right";
301
314
  tooltipMessage: boolean | Partial< ElTooltipProps>;
302
315
  model: Record<string, any>;
303
316
  submitText: string | null;
304
317
  resetText: string | null;
305
318
  enterSubmit: boolean;
319
+ sticky: boolean;
306
320
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
307
321
  beforeCreate?: (() => void) | (() => void)[];
308
322
  created?: (() => void) | (() => void)[];
@@ -326,11 +340,13 @@ declare function __VLS_template(): {
326
340
  } & Readonly<{
327
341
  footer: boolean;
328
342
  inline: boolean;
343
+ footerAlign: "center" | "left" | "right";
329
344
  tooltipMessage: boolean | Partial< ElTooltipProps>;
330
345
  model: Record<string, any>;
331
346
  submitText: string | null;
332
347
  resetText: string | null;
333
348
  enterSubmit: boolean;
349
+ sticky: boolean;
334
350
  }> & Omit<Readonly< ExtractPropTypes<{
335
351
  model: {
336
352
  type: PropType<Record<string, any>>;
@@ -365,11 +381,19 @@ declare function __VLS_template(): {
365
381
  type: BooleanConstructor;
366
382
  default: boolean;
367
383
  };
384
+ sticky: {
385
+ type: BooleanConstructor;
386
+ default: boolean;
387
+ };
388
+ footerAlign: {
389
+ type: PropType<"left" | "center" | "right">;
390
+ default: string;
391
+ };
368
392
  }>> & Readonly<{
369
393
  onReset?: (() => any) | undefined;
370
394
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
371
395
  onChange?: ((model: Record<string, any>) => any) | undefined;
372
- }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
396
+ }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
373
397
  formRef: Ref<any, any>;
374
398
  model: FormModel;
375
399
  submit: () => Promise<void>;
@@ -408,17 +432,21 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
408
432
  $props: Partial<{
409
433
  footer: boolean;
410
434
  inline: boolean;
435
+ footerAlign: "center" | "left" | "right";
411
436
  tooltipMessage: boolean | Partial< ElTooltipProps>;
412
437
  model: Record<string, any>;
413
438
  submitText: string | null;
414
439
  resetText: string | null;
415
440
  enterSubmit: boolean;
441
+ sticky: boolean;
416
442
  }> & Omit<{
417
443
  readonly footer: boolean;
418
444
  readonly inline: boolean;
419
445
  readonly submitText: string | null;
420
446
  readonly resetText: string | null;
421
447
  readonly enterSubmit: boolean;
448
+ readonly sticky: boolean;
449
+ readonly footerAlign: "left" | "right" | "center";
422
450
  readonly model?: Record<string, any> | undefined;
423
451
  readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
424
452
  readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
@@ -426,7 +454,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
426
454
  readonly onReset?: (() => any) | undefined | undefined;
427
455
  readonly onSubmit?: ((model: Record<string, any>) => any) | undefined | undefined;
428
456
  readonly onChange?: ((model: Record<string, any>) => any) | undefined | undefined;
429
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit">;
457
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign">;
430
458
  $attrs: {
431
459
  [x: string]: unknown;
432
460
  };
@@ -660,6 +688,14 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
660
688
  type: BooleanConstructor;
661
689
  default: boolean;
662
690
  };
691
+ sticky: {
692
+ type: BooleanConstructor;
693
+ default: boolean;
694
+ };
695
+ footerAlign: {
696
+ type: PropType<"left" | "center" | "right">;
697
+ default: string;
698
+ };
663
699
  }>> & Readonly<{
664
700
  onReset?: (() => any) | undefined;
665
701
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
@@ -678,11 +714,13 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
678
714
  }, string, {
679
715
  footer: boolean;
680
716
  inline: boolean;
717
+ footerAlign: "center" | "left" | "right";
681
718
  tooltipMessage: boolean | Partial< ElTooltipProps>;
682
719
  model: Record<string, any>;
683
720
  submitText: string | null;
684
721
  resetText: string | null;
685
722
  enterSubmit: boolean;
723
+ sticky: boolean;
686
724
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
687
725
  beforeCreate?: (() => void) | (() => void)[];
688
726
  created?: (() => void) | (() => void)[];
@@ -706,11 +744,13 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
706
744
  } & Readonly<{
707
745
  footer: boolean;
708
746
  inline: boolean;
747
+ footerAlign: "center" | "left" | "right";
709
748
  tooltipMessage: boolean | Partial< ElTooltipProps>;
710
749
  model: Record<string, any>;
711
750
  submitText: string | null;
712
751
  resetText: string | null;
713
752
  enterSubmit: boolean;
753
+ sticky: boolean;
714
754
  }> & Omit<Readonly< ExtractPropTypes<{
715
755
  model: {
716
756
  type: PropType<Record<string, any>>;
@@ -745,11 +785,19 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
745
785
  type: BooleanConstructor;
746
786
  default: boolean;
747
787
  };
788
+ sticky: {
789
+ type: BooleanConstructor;
790
+ default: boolean;
791
+ };
792
+ footerAlign: {
793
+ type: PropType<"left" | "center" | "right">;
794
+ default: string;
795
+ };
748
796
  }>> & Readonly<{
749
797
  onReset?: (() => any) | undefined;
750
798
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
751
799
  onChange?: ((model: Record<string, any>) => any) | undefined;
752
- }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
800
+ }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
753
801
  formRef: Ref<any, any>;
754
802
  model: FormModel;
755
803
  submit: () => Promise<void>;
@@ -1168,17 +1168,21 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1168
1168
  $props: Partial<{
1169
1169
  footer: boolean;
1170
1170
  inline: boolean;
1171
+ footerAlign: "center" | "left" | "right";
1171
1172
  tooltipMessage: boolean | Partial< ElTooltipProps>;
1172
1173
  model: Record<string, any>;
1173
1174
  submitText: string | null;
1174
1175
  resetText: string | null;
1175
1176
  enterSubmit: boolean;
1177
+ sticky: boolean;
1176
1178
  }> & Omit<{
1177
1179
  readonly footer: boolean;
1178
1180
  readonly inline: boolean;
1179
1181
  readonly submitText: string | null;
1180
1182
  readonly resetText: string | null;
1181
1183
  readonly enterSubmit: boolean;
1184
+ readonly sticky: boolean;
1185
+ readonly footerAlign: "left" | "right" | "center";
1182
1186
  readonly model?: Record<string, any> | undefined;
1183
1187
  readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
1184
1188
  readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
@@ -1186,7 +1190,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1186
1190
  readonly onReset?: (() => any) | undefined | undefined;
1187
1191
  readonly onSubmit?: ((model: Record<string, any>) => any) | undefined | undefined;
1188
1192
  readonly onChange?: ((model: Record<string, any>) => any) | undefined | undefined;
1189
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit">;
1193
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign">;
1190
1194
  $attrs: {
1191
1195
  [x: string]: unknown;
1192
1196
  };
@@ -1420,6 +1424,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1420
1424
  type: BooleanConstructor;
1421
1425
  default: boolean;
1422
1426
  };
1427
+ sticky: {
1428
+ type: BooleanConstructor;
1429
+ default: boolean;
1430
+ };
1431
+ footerAlign: {
1432
+ type: PropType<"left" | "center" | "right">;
1433
+ default: string;
1434
+ };
1423
1435
  }>> & Readonly<{
1424
1436
  onReset?: (() => any) | undefined;
1425
1437
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
@@ -1438,11 +1450,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1438
1450
  }, string, {
1439
1451
  footer: boolean;
1440
1452
  inline: boolean;
1453
+ footerAlign: "center" | "left" | "right";
1441
1454
  tooltipMessage: boolean | Partial< ElTooltipProps>;
1442
1455
  model: Record<string, any>;
1443
1456
  submitText: string | null;
1444
1457
  resetText: string | null;
1445
1458
  enterSubmit: boolean;
1459
+ sticky: boolean;
1446
1460
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1447
1461
  beforeCreate?: (() => void) | (() => void)[];
1448
1462
  created?: (() => void) | (() => void)[];
@@ -1466,11 +1480,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1466
1480
  } & Readonly<{
1467
1481
  footer: boolean;
1468
1482
  inline: boolean;
1483
+ footerAlign: "center" | "left" | "right";
1469
1484
  tooltipMessage: boolean | Partial< ElTooltipProps>;
1470
1485
  model: Record<string, any>;
1471
1486
  submitText: string | null;
1472
1487
  resetText: string | null;
1473
1488
  enterSubmit: boolean;
1489
+ sticky: boolean;
1474
1490
  }> & Omit<Readonly< ExtractPropTypes<{
1475
1491
  model: {
1476
1492
  type: PropType<Record<string, any>>;
@@ -1505,11 +1521,19 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1505
1521
  type: BooleanConstructor;
1506
1522
  default: boolean;
1507
1523
  };
1524
+ sticky: {
1525
+ type: BooleanConstructor;
1526
+ default: boolean;
1527
+ };
1528
+ footerAlign: {
1529
+ type: PropType<"left" | "center" | "right">;
1530
+ default: string;
1531
+ };
1508
1532
  }>> & Readonly<{
1509
1533
  onReset?: (() => any) | undefined;
1510
1534
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
1511
1535
  onChange?: ((model: Record<string, any>) => any) | undefined;
1512
- }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
1536
+ }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
1513
1537
  formRef: Ref<any, any>;
1514
1538
  model: FormModel;
1515
1539
  submit: () => Promise<void>;
@@ -26,6 +26,7 @@ export declare class Report {
26
26
  private api;
27
27
  private debounceSend;
28
28
  constructor(remote: string, access: Access, service?: Service | undefined);
29
+ private isVtjUrl;
29
30
  private bindServerError;
30
31
  private bindGlobalError;
31
32
  private getSessionId;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.11.13
5
+ * @version 0.11.14
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.11.13";
8
+ export declare const version = "0.11.14";