@tmagic/form 1.0.0-beta.2 → 1.0.0-beta.3
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 +3 -2
- package/src/containers/Table.vue +8 -6
- package/src/theme/table.scss +0 -1
- package/dist/style.css +0 -161
- package/dist/tmagic-form.es.js +0 -3751
- package/dist/tmagic-form.es.js.map +0 -1
- package/dist/tmagic-form.umd.js +0 -3792
- package/dist/tmagic-form.umd.js.map +0 -1
- package/dist/types/src/Form.vue.d.ts +0 -301
- package/dist/types/src/FormDialog.vue.d.ts +0 -638
- package/dist/types/src/containers/Container.vue.d.ts +0 -69
- package/dist/types/src/containers/Fieldset.vue.d.ts +0 -56
- package/dist/types/src/containers/GroupList.vue.d.ts +0 -56
- package/dist/types/src/containers/GroupListItem.vue.d.ts +0 -72
- package/dist/types/src/containers/Panel.vue.d.ts +0 -41
- package/dist/types/src/containers/Row.vue.d.ts +0 -42
- package/dist/types/src/containers/Step.vue.d.ts +0 -45
- package/dist/types/src/containers/Table.vue.d.ts +0 -1401
- package/dist/types/src/containers/Tabs.vue.d.ts +0 -45
- package/dist/types/src/fields/Cascader.vue.d.ts +0 -1748
- package/dist/types/src/fields/Checkbox.vue.d.ts +0 -59
- package/dist/types/src/fields/CheckboxGroup.vue.d.ts +0 -56
- package/dist/types/src/fields/Date.vue.d.ts +0 -58
- package/dist/types/src/fields/DateTime.vue.d.ts +0 -57
- package/dist/types/src/fields/Daterange.vue.d.ts +0 -57
- package/dist/types/src/fields/Display.vue.d.ts +0 -3
- package/dist/types/src/fields/DynamicField.vue.d.ts +0 -76
- package/dist/types/src/fields/Hidden.vue.d.ts +0 -3
- package/dist/types/src/fields/Link.vue.d.ts +0 -1358
- package/dist/types/src/fields/Number.vue.d.ts +0 -59
- package/dist/types/src/fields/RadioGroup.vue.d.ts +0 -55
- package/dist/types/src/fields/Select.vue.d.ts +0 -975
- package/dist/types/src/fields/Switch.vue.d.ts +0 -59
- package/dist/types/src/fields/Text.vue.d.ts +0 -61
- package/dist/types/src/fields/Textarea.vue.d.ts +0 -56
- package/dist/types/src/fields/Time.vue.d.ts +0 -54
- package/dist/types/src/index.d.ts +0 -36
- package/dist/types/src/schema.d.ts +0 -495
- package/dist/types/src/shims-vue.d.ts +0 -6
- package/dist/types/src/utils/config.d.ts +0 -3
- package/dist/types/src/utils/fieldProps.d.ts +0 -21
- package/dist/types/src/utils/form.d.ts +0 -8
- package/dist/types/src/utils/useAddField.d.ts +0 -1
- package/dist/types/src/vite-env.d.ts +0 -1
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import type { FormConfig, FormState, TabConfig, TabPaneConfig } from '../schema';
|
|
3
|
-
declare const Tab: DefineComponent<{
|
|
4
|
-
labelWidth: StringConstructor;
|
|
5
|
-
expandMore: BooleanConstructor;
|
|
6
|
-
model: {
|
|
7
|
-
type: ObjectConstructor;
|
|
8
|
-
default: () => {};
|
|
9
|
-
};
|
|
10
|
-
config: {
|
|
11
|
-
type: PropType<TabConfig>;
|
|
12
|
-
default: () => {};
|
|
13
|
-
};
|
|
14
|
-
prop: StringConstructor;
|
|
15
|
-
size: StringConstructor;
|
|
16
|
-
}, {
|
|
17
|
-
mForm: FormState | undefined;
|
|
18
|
-
activeTabName: any;
|
|
19
|
-
tabs: ComputedRef<any>;
|
|
20
|
-
filter: (config: any) => any;
|
|
21
|
-
tabItems: (tab: TabPaneConfig) => FormConfig | TabPaneConfig[];
|
|
22
|
-
tabClickHandler: (tab: any) => void;
|
|
23
|
-
onTabAdd: () => void;
|
|
24
|
-
onTabRemove: (tabName: string) => void;
|
|
25
|
-
display: (displayConfig: any) => any;
|
|
26
|
-
changeHandler: () => void;
|
|
27
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
28
|
-
labelWidth: StringConstructor;
|
|
29
|
-
expandMore: BooleanConstructor;
|
|
30
|
-
model: {
|
|
31
|
-
type: ObjectConstructor;
|
|
32
|
-
default: () => {};
|
|
33
|
-
};
|
|
34
|
-
config: {
|
|
35
|
-
type: PropType<TabConfig>;
|
|
36
|
-
default: () => {};
|
|
37
|
-
};
|
|
38
|
-
prop: StringConstructor;
|
|
39
|
-
size: StringConstructor;
|
|
40
|
-
}>>, {
|
|
41
|
-
config: TabConfig;
|
|
42
|
-
model: Record<string, any>;
|
|
43
|
-
expandMore: boolean;
|
|
44
|
-
}>;
|
|
45
|
-
export default Tab;
|