@tmagic/form 1.8.0-manmanyu.25 → 1.8.0-manmanyu.27

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.
@@ -191,6 +191,7 @@ var Form_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
191
191
  * 详见 `@tmagic/design/theme.ts`。
192
192
  */
193
193
  provide(M_THEME_KEY, effectiveTheme);
194
+ provide("formInline", props.inline);
194
195
  provide(FORM_DIFF_CONFIG_KEY, {
195
196
  get showDiff() {
196
197
  return props.showDiff;
@@ -3623,6 +3623,7 @@
3623
3623
  * 详见 `@tmagic/design/theme.ts`。
3624
3624
  */
3625
3625
  (0, vue.provide)(_tmagic_design.M_THEME_KEY, effectiveTheme);
3626
+ (0, vue.provide)("formInline", props.inline);
3626
3627
  (0, vue.provide)(FORM_DIFF_CONFIG_KEY, {
3627
3628
  get showDiff() {
3628
3629
  return props.showDiff;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.0-manmanyu.25",
2
+ "version": "1.8.0-manmanyu.27",
3
3
  "name": "@tmagic/form",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -52,9 +52,9 @@
52
52
  "peerDependencies": {
53
53
  "vue": "^3.5.38",
54
54
  "typescript": "^6.0.3",
55
- "@tmagic/design": "1.8.0-manmanyu.25",
56
- "@tmagic/form-schema": "1.8.0-manmanyu.25",
57
- "@tmagic/utils": "1.8.0-manmanyu.25"
55
+ "@tmagic/design": "1.8.0-manmanyu.27",
56
+ "@tmagic/utils": "1.8.0-manmanyu.27",
57
+ "@tmagic/form-schema": "1.8.0-manmanyu.27"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "typescript": {
package/src/Form.vue CHANGED
@@ -299,7 +299,7 @@ provide('mForm', formState);
299
299
  * 详见 `@tmagic/design/theme.ts`。
300
300
  */
301
301
  provide(M_THEME_KEY, effectiveTheme);
302
-
302
+ provide('formInline', props.inline);
303
303
  // 对比相关配置单独通过 provide 下发,所有层级的 Container 通过 inject 获取,无需逐层透传 prop。
304
304
  // 用 getter 对象保证读取时回到最新的 props 值,维持响应式。
305
305
  provide(FORM_DIFF_CONFIG_KEY, {