@tmagic/editor 1.7.0-beta.1 → 1.7.0-beta.2

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 (2) hide show
  1. package/package.json +7 -7
  2. package/types/index.d.ts +27 -27
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.0-beta.1",
2
+ "version": "1.7.0-beta.2",
3
3
  "name": "@tmagic/editor",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -58,11 +58,11 @@
58
58
  "moveable": "^0.53.0",
59
59
  "serialize-javascript": "^6.0.2",
60
60
  "sortablejs": "^1.15.6",
61
- "@tmagic/design": "1.7.0-beta.1",
62
- "@tmagic/stage": "1.7.0-beta.1",
63
- "@tmagic/table": "1.7.0-beta.1",
64
- "@tmagic/utils": "1.7.0-beta.1",
65
- "@tmagic/form": "1.7.0-beta.1"
61
+ "@tmagic/design": "1.7.0-beta.2",
62
+ "@tmagic/form": "1.7.0-beta.2",
63
+ "@tmagic/stage": "1.7.0-beta.2",
64
+ "@tmagic/table": "1.7.0-beta.2",
65
+ "@tmagic/utils": "1.7.0-beta.2"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/events": "^3.0.3",
@@ -76,7 +76,7 @@
76
76
  "monaco-editor": "^0.48.0",
77
77
  "typescript": "^5.9.3",
78
78
  "vue": "^3.5.22",
79
- "@tmagic/core": "1.7.0-beta.1"
79
+ "@tmagic/core": "1.7.0-beta.2"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "typescript": {
package/types/index.d.ts CHANGED
@@ -1871,8 +1871,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
1871
1871
  preventSubmitDefault?: boolean;
1872
1872
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
1873
1873
  }> & Readonly<{
1874
- onChange?: ((...args: any[]) => any) | undefined;
1875
1874
  onError?: ((...args: any[]) => any) | undefined;
1875
+ onChange?: ((...args: any[]) => any) | undefined;
1876
1876
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
1877
1877
  "onField-change"?: ((...args: any[]) => any) | undefined;
1878
1878
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -1887,8 +1887,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
1887
1887
  submitForm: (native?: boolean) => Promise<any>;
1888
1888
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
1889
1889
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1890
- change: (...args: any[]) => void;
1891
1890
  error: (...args: any[]) => void;
1891
+ change: (...args: any[]) => void;
1892
1892
  "update:stepActive": (...args: any[]) => void;
1893
1893
  "field-change": (...args: any[]) => void;
1894
1894
  "field-input": (...args: any[]) => void;
@@ -1930,8 +1930,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
1930
1930
  preventSubmitDefault?: boolean;
1931
1931
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
1932
1932
  }> & Readonly<{
1933
- onChange?: ((...args: any[]) => any) | undefined;
1934
1933
  onError?: ((...args: any[]) => any) | undefined;
1934
+ onChange?: ((...args: any[]) => any) | undefined;
1935
1935
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
1936
1936
  "onField-change"?: ((...args: any[]) => any) | undefined;
1937
1937
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2019,8 +2019,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2019
2019
  preventSubmitDefault?: boolean;
2020
2020
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2021
2021
  }> & Readonly<{
2022
- onChange?: ((...args: any[]) => any) | undefined;
2023
2022
  onError?: ((...args: any[]) => any) | undefined;
2023
+ onChange?: ((...args: any[]) => any) | undefined;
2024
2024
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2025
2025
  "onField-change"?: ((...args: any[]) => any) | undefined;
2026
2026
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2035,8 +2035,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2035
2035
  submitForm: (native?: boolean) => Promise<any>;
2036
2036
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2037
2037
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2038
- change: (...args: any[]) => void;
2039
2038
  error: (...args: any[]) => void;
2039
+ change: (...args: any[]) => void;
2040
2040
  "update:stepActive": (...args: any[]) => void;
2041
2041
  "field-change": (...args: any[]) => void;
2042
2042
  "field-input": (...args: any[]) => void;
@@ -2078,8 +2078,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2078
2078
  preventSubmitDefault?: boolean;
2079
2079
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2080
2080
  }> & Readonly<{
2081
- onChange?: ((...args: any[]) => any) | undefined;
2082
2081
  onError?: ((...args: any[]) => any) | undefined;
2082
+ onChange?: ((...args: any[]) => any) | undefined;
2083
2083
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2084
2084
  "onField-change"?: ((...args: any[]) => any) | undefined;
2085
2085
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2182,8 +2182,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2182
2182
  preventSubmitDefault?: boolean;
2183
2183
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2184
2184
  }> & Readonly<{
2185
- onChange?: ((...args: any[]) => any) | undefined;
2186
2185
  onError?: ((...args: any[]) => any) | undefined;
2186
+ onChange?: ((...args: any[]) => any) | undefined;
2187
2187
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2188
2188
  "onField-change"?: ((...args: any[]) => any) | undefined;
2189
2189
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2198,8 +2198,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2198
2198
  submitForm: (native?: boolean) => Promise<any>;
2199
2199
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2200
2200
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2201
- change: (...args: any[]) => void;
2202
2201
  error: (...args: any[]) => void;
2202
+ change: (...args: any[]) => void;
2203
2203
  "update:stepActive": (...args: any[]) => void;
2204
2204
  "field-change": (...args: any[]) => void;
2205
2205
  "field-input": (...args: any[]) => void;
@@ -2241,8 +2241,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2241
2241
  preventSubmitDefault?: boolean;
2242
2242
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2243
2243
  }> & Readonly<{
2244
- onChange?: ((...args: any[]) => any) | undefined;
2245
2244
  onError?: ((...args: any[]) => any) | undefined;
2245
+ onChange?: ((...args: any[]) => any) | undefined;
2246
2246
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2247
2247
  "onField-change"?: ((...args: any[]) => any) | undefined;
2248
2248
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2330,8 +2330,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2330
2330
  preventSubmitDefault?: boolean;
2331
2331
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2332
2332
  }> & Readonly<{
2333
- onChange?: ((...args: any[]) => any) | undefined;
2334
2333
  onError?: ((...args: any[]) => any) | undefined;
2334
+ onChange?: ((...args: any[]) => any) | undefined;
2335
2335
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2336
2336
  "onField-change"?: ((...args: any[]) => any) | undefined;
2337
2337
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2346,8 +2346,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2346
2346
  submitForm: (native?: boolean) => Promise<any>;
2347
2347
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2348
2348
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2349
- change: (...args: any[]) => void;
2350
2349
  error: (...args: any[]) => void;
2350
+ change: (...args: any[]) => void;
2351
2351
  "update:stepActive": (...args: any[]) => void;
2352
2352
  "field-change": (...args: any[]) => void;
2353
2353
  "field-input": (...args: any[]) => void;
@@ -2389,8 +2389,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2389
2389
  preventSubmitDefault?: boolean;
2390
2390
  extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2391
2391
  }> & Readonly<{
2392
- onChange?: ((...args: any[]) => any) | undefined;
2393
2392
  onError?: ((...args: any[]) => any) | undefined;
2393
+ onChange?: ((...args: any[]) => any) | undefined;
2394
2394
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2395
2395
  "onField-change"?: ((...args: any[]) => any) | undefined;
2396
2396
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2813,8 +2813,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2813
2813
  preventSubmitDefault?: boolean;
2814
2814
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2815
2815
  }> & Readonly<{
2816
- onChange?: ((...args: any[]) => any) | undefined;
2817
2816
  onError?: ((...args: any[]) => any) | undefined;
2817
+ onChange?: ((...args: any[]) => any) | undefined;
2818
2818
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2819
2819
  "onField-change"?: ((...args: any[]) => any) | undefined;
2820
2820
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2829,8 +2829,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2829
2829
  submitForm: (native?: boolean) => Promise<any>;
2830
2830
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2831
2831
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2832
- change: (...args: any[]) => void;
2833
2832
  error: (...args: any[]) => void;
2833
+ change: (...args: any[]) => void;
2834
2834
  "update:stepActive": (...args: any[]) => void;
2835
2835
  "field-change": (...args: any[]) => void;
2836
2836
  "field-input": (...args: any[]) => void;
@@ -2872,8 +2872,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2872
2872
  preventSubmitDefault?: boolean;
2873
2873
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2874
2874
  }> & Readonly<{
2875
- onChange?: ((...args: any[]) => any) | undefined;
2876
2875
  onError?: ((...args: any[]) => any) | undefined;
2876
+ onChange?: ((...args: any[]) => any) | undefined;
2877
2877
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2878
2878
  "onField-change"?: ((...args: any[]) => any) | undefined;
2879
2879
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2961,8 +2961,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2961
2961
  preventSubmitDefault?: boolean;
2962
2962
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2963
2963
  }> & Readonly<{
2964
- onChange?: ((...args: any[]) => any) | undefined;
2965
2964
  onError?: ((...args: any[]) => any) | undefined;
2965
+ onChange?: ((...args: any[]) => any) | undefined;
2966
2966
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2967
2967
  "onField-change"?: ((...args: any[]) => any) | undefined;
2968
2968
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -2977,8 +2977,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2977
2977
  submitForm: (native?: boolean) => Promise<any>;
2978
2978
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2979
2979
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2980
- change: (...args: any[]) => void;
2981
2980
  error: (...args: any[]) => void;
2981
+ change: (...args: any[]) => void;
2982
2982
  "update:stepActive": (...args: any[]) => void;
2983
2983
  "field-change": (...args: any[]) => void;
2984
2984
  "field-input": (...args: any[]) => void;
@@ -3020,8 +3020,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3020
3020
  preventSubmitDefault?: boolean;
3021
3021
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3022
3022
  }> & Readonly<{
3023
- onChange?: ((...args: any[]) => any) | undefined;
3024
3023
  onError?: ((...args: any[]) => any) | undefined;
3024
+ onChange?: ((...args: any[]) => any) | undefined;
3025
3025
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3026
3026
  "onField-change"?: ((...args: any[]) => any) | undefined;
3027
3027
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -3123,8 +3123,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3123
3123
  preventSubmitDefault?: boolean;
3124
3124
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3125
3125
  }> & Readonly<{
3126
- onChange?: ((...args: any[]) => any) | undefined;
3127
3126
  onError?: ((...args: any[]) => any) | undefined;
3127
+ onChange?: ((...args: any[]) => any) | undefined;
3128
3128
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3129
3129
  "onField-change"?: ((...args: any[]) => any) | undefined;
3130
3130
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -3139,8 +3139,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3139
3139
  submitForm: (native?: boolean) => Promise<any>;
3140
3140
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
3141
3141
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
3142
- change: (...args: any[]) => void;
3143
3142
  error: (...args: any[]) => void;
3143
+ change: (...args: any[]) => void;
3144
3144
  "update:stepActive": (...args: any[]) => void;
3145
3145
  "field-change": (...args: any[]) => void;
3146
3146
  "field-input": (...args: any[]) => void;
@@ -3182,8 +3182,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3182
3182
  preventSubmitDefault?: boolean;
3183
3183
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3184
3184
  }> & Readonly<{
3185
- onChange?: ((...args: any[]) => any) | undefined;
3186
3185
  onError?: ((...args: any[]) => any) | undefined;
3186
+ onChange?: ((...args: any[]) => any) | undefined;
3187
3187
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3188
3188
  "onField-change"?: ((...args: any[]) => any) | undefined;
3189
3189
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -3271,8 +3271,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3271
3271
  preventSubmitDefault?: boolean;
3272
3272
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3273
3273
  }> & Readonly<{
3274
- onChange?: ((...args: any[]) => any) | undefined;
3275
3274
  onError?: ((...args: any[]) => any) | undefined;
3275
+ onChange?: ((...args: any[]) => any) | undefined;
3276
3276
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3277
3277
  "onField-change"?: ((...args: any[]) => any) | undefined;
3278
3278
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -3287,8 +3287,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3287
3287
  submitForm: (native?: boolean) => Promise<any>;
3288
3288
  getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
3289
3289
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
3290
- change: (...args: any[]) => void;
3291
3290
  error: (...args: any[]) => void;
3291
+ change: (...args: any[]) => void;
3292
3292
  "update:stepActive": (...args: any[]) => void;
3293
3293
  "field-change": (...args: any[]) => void;
3294
3294
  "field-input": (...args: any[]) => void;
@@ -3330,8 +3330,8 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3330
3330
  preventSubmitDefault?: boolean;
3331
3331
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3332
3332
  }> & Readonly<{
3333
- onChange?: ((...args: any[]) => any) | undefined;
3334
3333
  onError?: ((...args: any[]) => any) | undefined;
3334
+ onChange?: ((...args: any[]) => any) | undefined;
3335
3335
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3336
3336
  "onField-change"?: ((...args: any[]) => any) | undefined;
3337
3337
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -3409,8 +3409,8 @@ declare const __VLS_base$6: _vue_runtime_core.DefineComponent<__VLS_Props$c, {
3409
3409
  preventSubmitDefault?: boolean;
3410
3410
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3411
3411
  }> & Readonly<{
3412
- onChange?: ((...args: any[]) => any) | undefined;
3413
3412
  onError?: ((...args: any[]) => any) | undefined;
3413
+ onChange?: ((...args: any[]) => any) | undefined;
3414
3414
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3415
3415
  "onField-change"?: ((...args: any[]) => any) | undefined;
3416
3416
  "onField-input"?: ((...args: any[]) => any) | undefined;
@@ -3425,8 +3425,8 @@ declare const __VLS_base$6: _vue_runtime_core.DefineComponent<__VLS_Props$c, {
3425
3425
  submitForm: (native?: boolean) => Promise<any>;
3426
3426
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
3427
3427
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
3428
- change: (...args: any[]) => void;
3429
3428
  error: (...args: any[]) => void;
3429
+ change: (...args: any[]) => void;
3430
3430
  "update:stepActive": (...args: any[]) => void;
3431
3431
  "field-change": (...args: any[]) => void;
3432
3432
  "field-input": (...args: any[]) => void;
@@ -3468,8 +3468,8 @@ declare const __VLS_base$6: _vue_runtime_core.DefineComponent<__VLS_Props$c, {
3468
3468
  preventSubmitDefault?: boolean;
3469
3469
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3470
3470
  }> & Readonly<{
3471
- onChange?: ((...args: any[]) => any) | undefined;
3472
3471
  onError?: ((...args: any[]) => any) | undefined;
3472
+ onChange?: ((...args: any[]) => any) | undefined;
3473
3473
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3474
3474
  "onField-change"?: ((...args: any[]) => any) | undefined;
3475
3475
  "onField-input"?: ((...args: any[]) => any) | undefined;