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

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/dist/style.css CHANGED
@@ -1804,7 +1804,7 @@ fieldset.m-fieldset .m-form-tip {
1804
1804
  border: 1px solid #1d1f24;
1805
1805
  }
1806
1806
  .background-position-container .presets-value-list .position-icon.active {
1807
- background-color: var(#2882e0);
1807
+ background-color: #2882e0;
1808
1808
  }
1809
1809
  .background-position-container .presets-value-list .position-icon.active::after {
1810
1810
  border: 1px solid #fff;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.0-beta.0",
2
+ "version": "1.7.0-beta.1",
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.0",
62
- "@tmagic/form": "1.7.0-beta.0",
63
- "@tmagic/utils": "1.7.0-beta.0",
64
- "@tmagic/stage": "1.7.0-beta.0",
65
- "@tmagic/table": "1.7.0-beta.0"
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"
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.0"
79
+ "@tmagic/core": "1.7.0-beta.1"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "typescript": {
@@ -28,7 +28,7 @@
28
28
  height: 14px;
29
29
  border: 1px solid #1d1f24;
30
30
  &.active {
31
- background-color: var($theme-color);
31
+ background-color: $theme-color;
32
32
  &::after {
33
33
  border: 1px solid #fff;
34
34
  }
package/types/index.d.ts CHANGED
@@ -1885,6 +1885,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
1885
1885
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
1886
1886
  resetForm: () => void;
1887
1887
  submitForm: (native?: boolean) => Promise<any>;
1888
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
1888
1889
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1889
1890
  change: (...args: any[]) => void;
1890
1891
  error: (...args: any[]) => void;
@@ -1943,6 +1944,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
1943
1944
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
1944
1945
  resetForm: () => void;
1945
1946
  submitForm: (native?: boolean) => Promise<any>;
1947
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
1946
1948
  }, {}, {}, {}, {
1947
1949
  disabled: boolean;
1948
1950
  labelWidth: string;
@@ -2031,6 +2033,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2031
2033
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2032
2034
  resetForm: () => void;
2033
2035
  submitForm: (native?: boolean) => Promise<any>;
2036
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2034
2037
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2035
2038
  change: (...args: any[]) => void;
2036
2039
  error: (...args: any[]) => void;
@@ -2089,6 +2092,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2089
2092
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2090
2093
  resetForm: () => void;
2091
2094
  submitForm: (native?: boolean) => Promise<any>;
2095
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2092
2096
  }, {}, {}, {}, {
2093
2097
  disabled: boolean;
2094
2098
  labelWidth: string;
@@ -2192,6 +2196,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2192
2196
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2193
2197
  resetForm: () => void;
2194
2198
  submitForm: (native?: boolean) => Promise<any>;
2199
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2195
2200
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2196
2201
  change: (...args: any[]) => void;
2197
2202
  error: (...args: any[]) => void;
@@ -2250,6 +2255,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2250
2255
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2251
2256
  resetForm: () => void;
2252
2257
  submitForm: (native?: boolean) => Promise<any>;
2258
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2253
2259
  }, {}, {}, {}, {
2254
2260
  disabled: boolean;
2255
2261
  labelWidth: string;
@@ -2338,6 +2344,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2338
2344
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2339
2345
  resetForm: () => void;
2340
2346
  submitForm: (native?: boolean) => Promise<any>;
2347
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2341
2348
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2342
2349
  change: (...args: any[]) => void;
2343
2350
  error: (...args: any[]) => void;
@@ -2396,6 +2403,7 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2396
2403
  changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2397
2404
  resetForm: () => void;
2398
2405
  submitForm: (native?: boolean) => Promise<any>;
2406
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2399
2407
  }, {}, {}, {}, {
2400
2408
  disabled: boolean;
2401
2409
  labelWidth: string;
@@ -2819,6 +2827,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2819
2827
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
2820
2828
  resetForm: () => void;
2821
2829
  submitForm: (native?: boolean) => Promise<any>;
2830
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2822
2831
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2823
2832
  change: (...args: any[]) => void;
2824
2833
  error: (...args: any[]) => void;
@@ -2877,6 +2886,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2877
2886
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
2878
2887
  resetForm: () => void;
2879
2888
  submitForm: (native?: boolean) => Promise<any>;
2889
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2880
2890
  }, {}, {}, {}, {
2881
2891
  disabled: boolean;
2882
2892
  labelWidth: string;
@@ -2965,6 +2975,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
2965
2975
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
2966
2976
  resetForm: () => void;
2967
2977
  submitForm: (native?: boolean) => Promise<any>;
2978
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
2968
2979
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2969
2980
  change: (...args: any[]) => void;
2970
2981
  error: (...args: any[]) => void;
@@ -3023,6 +3034,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3023
3034
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3024
3035
  resetForm: () => void;
3025
3036
  submitForm: (native?: boolean) => Promise<any>;
3037
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
3026
3038
  }, {}, {}, {}, {
3027
3039
  disabled: boolean;
3028
3040
  labelWidth: string;
@@ -3125,6 +3137,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3125
3137
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3126
3138
  resetForm: () => void;
3127
3139
  submitForm: (native?: boolean) => Promise<any>;
3140
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
3128
3141
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
3129
3142
  change: (...args: any[]) => void;
3130
3143
  error: (...args: any[]) => void;
@@ -3183,6 +3196,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3183
3196
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3184
3197
  resetForm: () => void;
3185
3198
  submitForm: (native?: boolean) => Promise<any>;
3199
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
3186
3200
  }, {}, {}, {}, {
3187
3201
  disabled: boolean;
3188
3202
  labelWidth: string;
@@ -3271,6 +3285,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3271
3285
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3272
3286
  resetForm: () => void;
3273
3287
  submitForm: (native?: boolean) => Promise<any>;
3288
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
3274
3289
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
3275
3290
  change: (...args: any[]) => void;
3276
3291
  error: (...args: any[]) => void;
@@ -3329,6 +3344,7 @@ declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
3329
3344
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3330
3345
  resetForm: () => void;
3331
3346
  submitForm: (native?: boolean) => Promise<any>;
3347
+ getTextByName: (name: string, config?: _tmagic_form_schema.FormConfig) => string | undefined;
3332
3348
  }, {}, {}, {}, {
3333
3349
  disabled: boolean;
3334
3350
  labelWidth: string;
@@ -3407,6 +3423,7 @@ declare const __VLS_base$6: _vue_runtime_core.DefineComponent<__VLS_Props$c, {
3407
3423
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3408
3424
  resetForm: () => void;
3409
3425
  submitForm: (native?: boolean) => Promise<any>;
3426
+ getTextByName: (name: string, config?: FormConfig) => string | undefined;
3410
3427
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
3411
3428
  change: (...args: any[]) => void;
3412
3429
  error: (...args: any[]) => void;
@@ -3465,6 +3482,7 @@ declare const __VLS_base$6: _vue_runtime_core.DefineComponent<__VLS_Props$c, {
3465
3482
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3466
3483
  resetForm: () => void;
3467
3484
  submitForm: (native?: boolean) => Promise<any>;
3485
+ getTextByName: (name: string, config?: FormConfig) => string | undefined;
3468
3486
  }, {}, {}, {}, {
3469
3487
  disabled: boolean;
3470
3488
  labelWidth: string;