@zy-frontend/element-plus-form 2.0.13 → 2.0.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.
@@ -1,33 +1,33 @@
1
1
  import { CheckboxGroupValueType } from 'element-plus';
2
- import { Component } from '@zy/form-core';
2
+ import { Component } from '@zy-frontend/form-core';
3
3
  import { ComponentOptionsMixin } from 'vue';
4
4
  import { ComponentProvideOptions } from 'vue';
5
5
  import { DefineComponent } from 'vue';
6
- import { DELETED_FIELD_IDENTIFIER } from '@zy/form-core';
6
+ import { DELETED_FIELD_IDENTIFIER } from '@zy-frontend/form-core';
7
7
  import { ExtractPropTypes } from 'vue';
8
- import { Field } from '@zy/form-core';
9
- import { FileRemoveMethod } from '@zy/form-core';
10
- import { Form } from '@zy/form-core';
11
- import { FORM_DATA_REFRESH_SYMBOL } from '@zy/form-core';
12
- import { FORM_DISABLED_SYMBOL } from '@zy/form-core';
13
- import { FORM_GROUP_SYMBOL } from '@zy/form-core';
14
- import { FORM_UNFULFILLED_FIELD_SYMBOL } from '@zy/form-core';
15
- import { FormGutter } from '@zy/form-core';
8
+ import { Field } from '@zy-frontend/form-core';
9
+ import { FileRemoveMethod } from '@zy-frontend/form-core';
10
+ import { Form } from '@zy-frontend/form-core';
11
+ import { FORM_DATA_REFRESH_SYMBOL } from '@zy-frontend/form-core';
12
+ import { FORM_DISABLED_SYMBOL } from '@zy-frontend/form-core';
13
+ import { FORM_GROUP_SYMBOL } from '@zy-frontend/form-core';
14
+ import { FORM_UNFULFILLED_FIELD_SYMBOL } from '@zy-frontend/form-core';
15
+ import { FormGutter } from '@zy-frontend/form-core';
16
16
  import { FormItemProp } from 'element-plus';
17
- import { FormProps } from '@zy/form-core';
17
+ import { FormProps } from '@zy-frontend/form-core';
18
18
  import { FormRules } from 'element-plus';
19
19
  import { FormValidateCallback } from 'element-plus';
20
20
  import { FormValidationResult } from 'element-plus';
21
21
  import { MessageHandler } from 'element-plus';
22
- import { Option as Option_2 } from '@zy/form-core';
22
+ import { Option as Option_2 } from '@zy-frontend/form-core';
23
23
  import { PropType } from 'vue';
24
24
  import { PublicProps } from 'vue';
25
- import { RemoteMethod } from '@zy/form-core';
26
- import { RequestFunction } from '@zy/form-core';
27
- import { UIComponents } from '@zy/form-core';
28
- import { UIComponentsWithTab } from '@zy/form-core';
29
- import { UnfulfilledField } from '@zy/form-core';
30
- import { UploadMethod } from '@zy/form-core';
25
+ import { RemoteMethod } from '@zy-frontend/form-core';
26
+ import { RequestFunction } from '@zy-frontend/form-core';
27
+ import { UIComponents } from '@zy-frontend/form-core';
28
+ import { UIComponentsWithTab } from '@zy-frontend/form-core';
29
+ import { UnfulfilledField } from '@zy-frontend/form-core';
30
+ import { UploadMethod } from '@zy-frontend/form-core';
31
31
  import { useFormItem } from 'element-plus';
32
32
 
33
33
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -405,6 +405,7 @@ export declare interface DynamicTabsProps {
405
405
  disabled?: boolean;
406
406
  readonly?: boolean;
407
407
  uniqueKeyProp?: string;
408
+ showTabsWhenSingle?: boolean;
408
409
  }
409
410
 
410
411
  declare type FieldComponentPropsMap = {
@@ -1959,6 +1960,10 @@ type: PropType<string[]>;
1959
1960
  required: true;
1960
1961
  default: () => never[];
1961
1962
  };
1963
+ showTabsWhenSingle: {
1964
+ type: PropType<boolean>;
1965
+ default: boolean;
1966
+ };
1962
1967
  }>, {
1963
1968
  validate: (maxLevel?: number | undefined) => Promise<void>;
1964
1969
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -2013,6 +2018,10 @@ type: PropType<string[]>;
2013
2018
  required: true;
2014
2019
  default: () => never[];
2015
2020
  };
2021
+ showTabsWhenSingle: {
2022
+ type: PropType<boolean>;
2023
+ default: boolean;
2024
+ };
2016
2025
  }>> & Readonly<{
2017
2026
  onBlur?: ((...args: any[]) => any) | undefined;
2018
2027
  onChange?: ((...args: any[]) => any) | undefined;
@@ -2024,6 +2033,7 @@ uniqueKeyProp: string;
2024
2033
  initFormValue: Record<string, any>;
2025
2034
  customComponents: Record<string, any>;
2026
2035
  titleList: string[];
2036
+ showTabsWhenSingle: boolean;
2027
2037
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2028
2038
 
2029
2039
  export declare const ZYForm: DefineComponent<ExtractPropTypes< {
@@ -3180,6 +3190,6 @@ uploadMethod: UploadMethod;
3180
3190
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3181
3191
 
3182
3192
 
3183
- export * from "@zy/form-core";
3193
+ export * from "@zy-frontend/form-core";
3184
3194
 
3185
3195
  export { }