@fangzhongya/fang-ui 0.0.31 → 0.0.33
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/components/alert/index.d.ts +4 -3
- package/dist/components/array/index.d.ts +7 -6
- package/dist/components/array/src/data.d.ts +1 -1
- package/dist/components/array/src/index.d.ts +2 -2
- package/dist/components/box/index.d.ts +4 -3
- package/dist/components/box-adjust/index.d.ts +4 -3
- package/dist/components/box-local/index.d.ts +4 -3
- package/dist/components/box-mask/index.d.ts +8 -23
- package/dist/components/box-teleport/index.d.ts +4 -3
- package/dist/components/box-title/index.d.ts +4 -3
- package/dist/components/button/index.d.ts +4 -3
- package/dist/components/buttons/index.d.ts +30 -72
- package/dist/components/card/index.d.ts +4 -3
- package/dist/components/cascader/index.d.ts +4 -3
- package/dist/components/cascader-panel/index.d.ts +4 -3
- package/dist/components/cascaders/index.d.ts +50 -119
- package/dist/components/checkbox/index.d.ts +7 -6
- package/dist/components/checkbox/src/index.d.ts +6 -6
- package/dist/components/checkbox-group/index.d.ts +4 -3
- package/dist/components/checks/index.d.ts +50 -119
- package/dist/components/choice-select/index.d.ts +10 -31
- package/dist/components/choice-select/src/data.cjs +0 -1
- package/dist/components/choice-select/src/data.js +0 -1
- package/dist/components/choice-select/src/index.cjs +0 -1
- package/dist/components/choice-select/src/index.js +0 -1
- package/dist/components/collapse/index.d.ts +4 -3
- package/dist/components/collapse-item/index.d.ts +4 -3
- package/dist/components/color-picker/index.d.ts +4 -3
- package/dist/components/common/compons.cjs +0 -1
- package/dist/components/common/compons.js +0 -1
- package/dist/components/common/urls.cjs +10 -5
- package/dist/components/common/urls.d.ts +10 -5
- package/dist/components/common/urls.js +10 -5
- package/dist/components/common/use.cjs +0 -1
- package/dist/components/common/use.d.ts +1 -1
- package/dist/components/common/use.js +0 -1
- package/dist/components/company-select/index.d.ts +50 -118
- package/dist/components/company-select/src/data.cjs +0 -1
- package/dist/components/company-select/src/data.js +0 -1
- package/dist/components/company-select/src/index.cjs +0 -1
- package/dist/components/company-select/src/index.js +0 -1
- package/dist/components/config-provider/index.d.ts +4 -3
- package/dist/components/cs-config/index.d.ts +4 -3
- package/dist/components/cs-config/src/data.cjs +0 -1
- package/dist/components/cs-config/src/data.js +0 -1
- package/dist/components/cs-config/src/index.cjs +0 -1
- package/dist/components/cs-config/src/index.js +0 -1
- package/dist/components/cs-emits/index.d.ts +6 -23
- package/dist/components/cs-expose/index.d.ts +4 -21
- package/dist/components/cs-i18n/index.d.ts +10 -30
- package/dist/components/cs-props/index.d.ts +38 -90
- package/dist/components/cs-slot/index.d.ts +4 -3
- package/dist/components/cs-title/index.d.ts +4 -3
- package/dist/components/date-picker/index.d.ts +4 -3
- package/dist/components/dates/index.d.ts +50 -118
- package/dist/components/dates-divide/index.d.ts +4 -3
- package/dist/components/dates-picker/index.d.ts +4 -3
- package/dist/components/department-select/index.d.ts +4 -3
- package/dist/components/department-select/src/data.cjs +0 -1
- package/dist/components/department-select/src/data.js +0 -1
- package/dist/components/dialog/index.d.ts +4 -3
- package/dist/components/divider/index.d.ts +4 -3
- package/dist/components/drawer/index.d.ts +4 -3
- package/dist/components/dropdown/index.d.ts +4 -3
- package/dist/components/dropdown-item/index.d.ts +4 -3
- package/dist/components/dropdown-menu/index.d.ts +4 -3
- package/dist/components/edit/index.d.ts +91 -119
- package/dist/components/edit-float/index.d.ts +97 -130
- package/dist/components/form/index.d.ts +5 -4
- package/dist/components/form/src/index.d.ts +2 -2
- package/dist/components/form-item/index.d.ts +4 -3
- package/dist/components/forms/index.d.ts +43 -12
- package/dist/components/forms/src/data.cjs +53 -13
- package/dist/components/forms/src/data.d.ts +86 -21
- package/dist/components/forms/src/data.js +53 -13
- package/dist/components/forms/src/index.cjs +21 -1
- package/dist/components/forms/src/index.d.ts +37 -5
- package/dist/components/forms/src/index.js +21 -1
- package/dist/components/forms/src/setup.cjs +0 -1
- package/dist/components/forms/src/setup.d.ts +1 -1
- package/dist/components/forms/src/setup.js +0 -1
- package/dist/components/forms-div/index.d.ts +26 -72
- package/dist/components/forms-div/src/index.cjs +0 -1
- package/dist/components/forms-div/src/index.js +0 -1
- package/dist/components/forms-drag/index.d.ts +59 -8
- package/dist/components/forms-drag/src/index.cjs +10 -6
- package/dist/components/forms-drag/src/index.d.ts +23 -3
- package/dist/components/forms-drag/src/index.js +10 -6
- package/dist/components/forms-item/index.d.ts +4 -3
- package/dist/components/forms-items/index.d.ts +4 -3
- package/dist/components/global-config/index.d.ts +23 -63
- package/dist/components/history/index.d.ts +4 -3
- package/dist/components/icon/index.d.ts +4 -3
- package/dist/components/icon/src/data.cjs +1 -2
- package/dist/components/icon/src/data.d.ts +1 -1
- package/dist/components/icon/src/data.js +1 -2
- package/dist/components/icon/src/index.cjs +0 -1
- package/dist/components/icon/src/index.js +0 -1
- package/dist/components/icon-picker/index.d.ts +4 -3
- package/dist/components/icon-picker/src/data.cjs +0 -1
- package/dist/components/icon-picker/src/data.js +0 -1
- package/dist/components/icon-picker/src/index.cjs +0 -1
- package/dist/components/icon-picker/src/index.js +0 -1
- package/dist/components/iframe/index.d.ts +30 -78
- package/dist/components/iframe/src/data.cjs +0 -1
- package/dist/components/iframe/src/data.js +0 -1
- package/dist/components/image/index.d.ts +4 -3
- package/dist/components/images/index.d.ts +4 -3
- package/dist/components/index.cjs +98 -96
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.scss +1 -0
- package/dist/components/index2.scss +53 -0
- package/dist/components/input/index.d.ts +4 -3
- package/dist/components/input-array/index.d.ts +4 -3
- package/dist/components/input-history/index.d.ts +4 -3
- package/dist/components/input-num/index.d.ts +4 -3
- package/dist/components/input-number/index.d.ts +4 -3
- package/dist/components/input-select/index.d.ts +4 -3
- package/dist/components/inputs/index.d.ts +4 -3
- package/dist/components/labels/index.d.ts +58 -139
- package/dist/components/lists/common/img.cjs +35 -5
- package/dist/components/lists/common/img.js +35 -5
- package/dist/components/lists/common/img2.cjs +2 -32
- package/dist/components/lists/common/img2.js +1 -31
- package/dist/components/lists/index.css +8 -0
- package/dist/components/lists/index.d.ts +59 -160
- package/dist/components/lists/index.scss +9 -0
- package/dist/components/lists/src/index.cjs +2 -2
- package/dist/components/lists/src/index.js +2 -2
- package/dist/components/menus/index.d.ts +4 -3
- package/dist/components/menus/src/menu-ll.cjs +0 -1
- package/dist/components/menus/src/menu-ll.js +0 -1
- package/dist/components/option/index.d.ts +118 -135
- package/dist/components/option-group/index.d.ts +4 -3
- package/dist/components/page/index.css +8 -0
- package/dist/components/page/index.d.ts +39 -13
- package/dist/components/page/src/index.d.ts +70 -20
- package/dist/components/pagination/index.d.ts +4 -3
- package/dist/components/paging/index.d.ts +16 -48
- package/dist/components/popconfirm/index.d.ts +4 -3
- package/dist/components/popover/index.d.ts +4 -3
- package/dist/components/popup/index.d.ts +4 -3
- package/dist/components/radio/index.d.ts +7 -6
- package/dist/components/radio/src/index.d.ts +6 -6
- package/dist/components/radio-group/index.d.ts +4 -3
- package/dist/components/retract/index.d.ts +4 -3
- package/dist/components/retract/src/data.cjs +0 -1
- package/dist/components/retract/src/data.js +0 -1
- package/dist/components/retract/src/index.cjs +0 -1
- package/dist/components/retract/src/index.js +0 -1
- package/dist/components/right-key/index.d.ts +4 -3
- package/dist/components/right-key/src/data.cjs +0 -1
- package/dist/components/right-key/src/data.js +0 -1
- package/dist/components/right-key/src/index.cjs +0 -1
- package/dist/components/right-key/src/index.js +0 -1
- package/dist/components/role-select/index.d.ts +4 -3
- package/dist/components/role-select/src/data.cjs +0 -1
- package/dist/components/role-select/src/data.js +0 -1
- package/dist/components/role-select/src/index.cjs +0 -1
- package/dist/components/role-select/src/index.js +0 -1
- package/dist/components/seamless-scroll/index.cjs +8 -0
- package/dist/components/seamless-scroll/index.css +30 -0
- package/dist/components/seamless-scroll/index.d.ts +118 -0
- package/dist/components/seamless-scroll/index.js +8 -0
- package/dist/components/seamless-scroll/index.scss +19 -0
- package/dist/components/seamless-scroll/src/data.cjs +34 -0
- package/dist/components/seamless-scroll/src/data.d.ts +44 -0
- package/dist/components/seamless-scroll/src/data.js +34 -0
- package/dist/components/seamless-scroll/src/index.cjs +148 -0
- package/dist/components/seamless-scroll/src/index.d.ts +80 -0
- package/dist/components/seamless-scroll/src/index.js +148 -0
- package/dist/components/seamless-scroll/src/index2.cjs +4 -0
- package/dist/components/seamless-scroll/src/index2.js +4 -0
- package/dist/components/select/index.d.ts +4 -3
- package/dist/components/select-dialog/index.d.ts +4 -3
- package/dist/components/select-dialog/src/data.cjs +0 -1
- package/dist/components/select-dialog/src/data.js +0 -1
- package/dist/components/select-dialog/src/index.cjs +0 -1
- package/dist/components/select-dialog/src/index.js +0 -1
- package/dist/components/select-popover/index.d.ts +4 -3
- package/dist/components/select-popover/src/data.cjs +0 -1
- package/dist/components/select-popover/src/data.js +0 -1
- package/dist/components/select-scroll/index.d.ts +34 -84
- package/dist/components/selector/index.d.ts +45 -116
- package/dist/components/selects/index.d.ts +53 -124
- package/dist/components/slider/index.d.ts +4 -3
- package/dist/components/stick-div/index.d.ts +4 -3
- package/dist/components/stick-edge/index.d.ts +4 -3
- package/dist/components/stick-window/index.d.ts +4 -3
- package/dist/components/switch/index.d.ts +4 -3
- package/dist/components/switchs/index.d.ts +47 -111
- package/dist/components/tab-pane/index.d.ts +4 -3
- package/dist/components/tables/common/pagin.cjs +0 -1
- package/dist/components/tables/common/pagin.d.ts +14 -6
- package/dist/components/tables/common/pagin.js +0 -1
- package/dist/components/tables/common/util.cjs +0 -1
- package/dist/components/tables/common/util.js +0 -1
- package/dist/components/tables/index.d.ts +4 -3
- package/dist/components/tablesp/index.d.ts +10 -6
- package/dist/components/tablesp/src/index.cjs +2 -1
- package/dist/components/tablesp/src/index.d.ts +2 -1
- package/dist/components/tablesp/src/index.js +2 -1
- package/dist/components/tabless/index.d.ts +4 -3
- package/dist/components/tablesv/index.d.ts +4 -3
- package/dist/components/tablesv/src/column.cjs +0 -1
- package/dist/components/tablesv/src/column.js +0 -1
- package/dist/components/tablesvp/index.d.ts +4 -3
- package/dist/components/tabs/index.d.ts +4 -3
- package/dist/components/text/index.d.ts +10 -30
- package/dist/components/time-picker/index.d.ts +4 -3
- package/dist/components/time-select/index.d.ts +4 -3
- package/dist/components/tooltip/index.d.ts +4 -3
- package/dist/components/tree/index.d.ts +4 -3
- package/dist/components/tree-select/index.d.ts +4 -3
- package/dist/components/tree-select-box/index.d.ts +4 -3
- package/dist/components/tree-select-box/src/data.cjs +0 -1
- package/dist/components/tree-select-box/src/data.js +0 -1
- package/dist/components/tree-select-box/src/index.cjs +0 -1
- package/dist/components/tree-select-box/src/index.js +0 -1
- package/dist/components/upload/index.d.ts +7 -6
- package/dist/components/upload/src/index.d.ts +6 -6
- package/dist/components/user-select/index.d.ts +4 -3
- package/dist/components/user-select/src/data.cjs +0 -1
- package/dist/components/user-select/src/data.js +0 -1
- package/dist/components/user-select/src/index.cjs +0 -1
- package/dist/components/user-select/src/index.js +0 -1
- package/dist/components/window/index.d.ts +4 -3
- package/dist/expand/{chunk-XJ2UIJNI.js → chunk-IMQMZ66E.js} +1 -0
- package/dist/expand/{chunk-JOH5MZT3.cjs → chunk-KYVOOBKQ.cjs} +1 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/hooks/inherit/index.cjs +0 -1
- package/dist/hooks/inherit/index.js +0 -1
- package/dist/index.cjs +116 -114
- package/dist/index.css +25 -0
- package/dist/index.js +2 -0
- package/dist/type.d.ts +21 -0
- package/dist/utils/vues/withInstall.cjs +2 -16
- package/dist/utils/vues/withInstall.d.ts +2 -1
- package/dist/utils/vues/withInstall.js +2 -16
- package/package.json +10 -8
- package/dist/index2.css +0 -4
- /package/dist/components/{radio-group → collapse-item}/index.css +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
3
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
3
4
|
import { CheckboxValueType } from 'element-plus/es/components/checkbox';
|
|
4
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
|
-
declare const Checkbox: {
|
|
6
|
+
declare const Checkbox: SFCWithInstall<{
|
|
6
7
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
7
8
|
refEl: Ref<any, any>;
|
|
8
9
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
@@ -31,8 +32,8 @@ declare const Checkbox: {
|
|
|
31
32
|
readonly indeterminate: boolean;
|
|
32
33
|
readonly checked: boolean;
|
|
33
34
|
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
34
|
-
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
35
35
|
readonly name?: string | undefined;
|
|
36
|
+
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
36
37
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
37
38
|
readonly modelValue?: string | number | boolean | undefined;
|
|
38
39
|
readonly id?: string | undefined;
|
|
@@ -44,7 +45,7 @@ declare const Checkbox: {
|
|
|
44
45
|
readonly falseLabel?: string | number | undefined;
|
|
45
46
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
46
47
|
onChange?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
47
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
48
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "label" | "value" | "modelValue" | "disabled" | "id" | "validateEvent" | "border" | "indeterminate" | "checked" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
48
49
|
$attrs: {
|
|
49
50
|
[x: string]: unknown;
|
|
50
51
|
};
|
|
@@ -224,7 +225,7 @@ declare const Checkbox: {
|
|
|
224
225
|
}>> & {
|
|
225
226
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
226
227
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
227
|
-
}, "
|
|
228
|
+
}, "name" | "label" | "value" | "modelValue" | "disabled" | "id" | "validateEvent" | "border" | "indeterminate" | "checked" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
228
229
|
$slots: {
|
|
229
230
|
default?(_: {}): any;
|
|
230
231
|
};
|
|
@@ -246,5 +247,5 @@ declare const Checkbox: {
|
|
|
246
247
|
refEl: Ref<any, any>;
|
|
247
248
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
248
249
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
249
|
-
})
|
|
250
|
+
})>;
|
|
250
251
|
export { Checkbox, Checkbox as default };
|
|
@@ -31,8 +31,8 @@ declare function __VLS_template(): {
|
|
|
31
31
|
readonly indeterminate: boolean;
|
|
32
32
|
readonly checked: boolean;
|
|
33
33
|
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
34
|
-
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
35
34
|
readonly name?: string | undefined;
|
|
35
|
+
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
36
36
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
37
37
|
readonly modelValue?: string | number | boolean | undefined;
|
|
38
38
|
readonly id?: string | undefined;
|
|
@@ -44,7 +44,7 @@ declare function __VLS_template(): {
|
|
|
44
44
|
readonly falseLabel?: string | number | undefined;
|
|
45
45
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
46
46
|
onChange?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
47
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
47
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "label" | "value" | "modelValue" | "disabled" | "id" | "validateEvent" | "border" | "indeterminate" | "checked" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
48
48
|
$attrs: {
|
|
49
49
|
[x: string]: unknown;
|
|
50
50
|
};
|
|
@@ -224,7 +224,7 @@ declare function __VLS_template(): {
|
|
|
224
224
|
}>> & {
|
|
225
225
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
226
226
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
227
|
-
}, "
|
|
227
|
+
}, "name" | "label" | "value" | "modelValue" | "disabled" | "id" | "validateEvent" | "border" | "indeterminate" | "checked" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
228
228
|
$slots: {
|
|
229
229
|
default?(_: {}): any;
|
|
230
230
|
};
|
|
@@ -261,8 +261,8 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
261
261
|
readonly indeterminate: boolean;
|
|
262
262
|
readonly checked: boolean;
|
|
263
263
|
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
264
|
-
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
265
264
|
readonly name?: string | undefined;
|
|
265
|
+
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
266
266
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
267
267
|
readonly modelValue?: string | number | boolean | undefined;
|
|
268
268
|
readonly id?: string | undefined;
|
|
@@ -274,7 +274,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
274
274
|
readonly falseLabel?: string | number | undefined;
|
|
275
275
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
276
276
|
onChange?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
277
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
277
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "label" | "value" | "modelValue" | "disabled" | "id" | "validateEvent" | "border" | "indeterminate" | "checked" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
278
278
|
$attrs: {
|
|
279
279
|
[x: string]: unknown;
|
|
280
280
|
};
|
|
@@ -454,7 +454,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
454
454
|
}>> & {
|
|
455
455
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
456
456
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
457
|
-
}, "
|
|
457
|
+
}, "name" | "label" | "value" | "modelValue" | "disabled" | "id" | "validateEvent" | "border" | "indeterminate" | "checked" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
458
458
|
$slots: {
|
|
459
459
|
default?(_: {}): any;
|
|
460
460
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
3
|
import { CheckboxGroupValueType } from 'element-plus/es/components/checkbox';
|
|
3
4
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
4
5
|
import { CheckboxValueType } from 'element-plus/es/index';
|
|
5
6
|
import { OnCleanup } from '@vue/reactivity';
|
|
6
|
-
declare const CheckboxGroup: {
|
|
7
|
+
declare const CheckboxGroup: SFCWithInstall<{
|
|
7
8
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
8
9
|
refEl: Ref<any, any>;
|
|
9
10
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
@@ -136,5 +137,5 @@ declare const CheckboxGroup: {
|
|
|
136
137
|
refEl: Ref<any, any>;
|
|
137
138
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
138
139
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
139
|
-
})
|
|
140
|
+
})>;
|
|
140
141
|
export { CheckboxGroup, CheckboxGroup as default };
|
|
@@ -1,121 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
default(): never[];
|
|
25
|
-
};
|
|
26
|
-
clearAbsent: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
};
|
|
29
|
-
label: {
|
|
30
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
prop: {
|
|
34
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
modelValue: {
|
|
38
|
-
type: null;
|
|
39
|
-
};
|
|
40
|
-
multiple: {
|
|
41
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
42
|
-
};
|
|
43
|
-
load: {
|
|
44
|
-
type: BooleanConstructor[];
|
|
45
|
-
};
|
|
46
|
-
optobj: {
|
|
47
|
-
type: BooleanConstructor[];
|
|
48
|
-
};
|
|
49
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
50
|
-
label: string | Function;
|
|
51
|
-
options: ObjAny[];
|
|
52
|
-
prop: string | Function;
|
|
53
|
-
but: boolean;
|
|
54
|
-
clearAbsent: boolean;
|
|
55
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
56
|
-
P: {};
|
|
57
|
-
B: {};
|
|
58
|
-
D: {};
|
|
59
|
-
C: {};
|
|
60
|
-
M: {};
|
|
61
|
-
Defaults: {};
|
|
62
|
-
}, Readonly< ExtractPropTypes<{
|
|
63
|
-
but: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
};
|
|
66
|
-
options: {
|
|
67
|
-
type: {
|
|
68
|
-
(arrayLength: number): ObjAny[];
|
|
69
|
-
(...items: ObjAny[]): ObjAny[];
|
|
70
|
-
new (arrayLength: number): ObjAny[];
|
|
71
|
-
new (...items: ObjAny[]): ObjAny[];
|
|
72
|
-
isArray(arg: any): arg is any[];
|
|
73
|
-
readonly prototype: any[];
|
|
74
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
75
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
76
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
77
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
78
|
-
of<T>(...items: T[]): T[];
|
|
79
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
80
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
81
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
82
|
-
};
|
|
83
|
-
default(): never[];
|
|
84
|
-
};
|
|
85
|
-
clearAbsent: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
};
|
|
88
|
-
label: {
|
|
89
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
prop: {
|
|
93
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
94
|
-
default: string;
|
|
95
|
-
};
|
|
96
|
-
modelValue: {
|
|
97
|
-
type: null;
|
|
98
|
-
};
|
|
99
|
-
multiple: {
|
|
100
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
101
|
-
};
|
|
102
|
-
load: {
|
|
103
|
-
type: BooleanConstructor[];
|
|
104
|
-
};
|
|
105
|
-
optobj: {
|
|
106
|
-
type: BooleanConstructor[];
|
|
1
|
+
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const Checks: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
4
|
+
but: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: {
|
|
9
|
+
(arrayLength: number): ObjAny[];
|
|
10
|
+
(...items: ObjAny[]): ObjAny[];
|
|
11
|
+
new (arrayLength: number): ObjAny[];
|
|
12
|
+
new (...items: ObjAny[]): ObjAny[];
|
|
13
|
+
isArray(arg: any): arg is any[];
|
|
14
|
+
readonly prototype: any[];
|
|
15
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
16
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
17
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
18
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
19
|
+
of<T>(...items: T[]): T[];
|
|
20
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
21
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
22
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
107
23
|
};
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
24
|
+
default(): never[];
|
|
25
|
+
};
|
|
26
|
+
clearAbsent: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
};
|
|
29
|
+
label: {
|
|
30
|
+
type: (FunctionConstructor | StringConstructor)[];
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
prop: {
|
|
34
|
+
type: (FunctionConstructor | StringConstructor)[];
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
modelValue: {
|
|
38
|
+
type: null;
|
|
39
|
+
};
|
|
40
|
+
multiple: {
|
|
41
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
42
|
+
};
|
|
43
|
+
load: {
|
|
44
|
+
type: BooleanConstructor[];
|
|
45
|
+
};
|
|
46
|
+
optobj: {
|
|
47
|
+
type: BooleanConstructor[];
|
|
48
|
+
};
|
|
49
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
119
50
|
but: {
|
|
120
51
|
type: BooleanConstructor;
|
|
121
52
|
};
|
|
@@ -161,11 +92,11 @@ declare const Checks: {
|
|
|
161
92
|
optobj: {
|
|
162
93
|
type: BooleanConstructor[];
|
|
163
94
|
};
|
|
164
|
-
}>> & Readonly<{}>, {
|
|
95
|
+
}>> & Readonly<{}>, {
|
|
165
96
|
label: string | Function;
|
|
166
97
|
options: ObjAny[];
|
|
167
98
|
prop: string | Function;
|
|
168
99
|
but: boolean;
|
|
169
100
|
clearAbsent: boolean;
|
|
170
|
-
}, {},
|
|
101
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>>;
|
|
171
102
|
export { Checks, Checks as default };
|
|
@@ -1,37 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
many: {
|
|
5
|
-
type: never[];
|
|
6
|
-
};
|
|
7
|
-
}>> & Readonly<{
|
|
8
|
-
onChange?: ((evt: string | string[]) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
-
change: (evt: string | string[]) => void;
|
|
11
|
-
}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
12
|
-
P: {};
|
|
13
|
-
B: {};
|
|
14
|
-
D: {};
|
|
15
|
-
C: {};
|
|
16
|
-
M: {};
|
|
17
|
-
Defaults: {};
|
|
18
|
-
}, Readonly< ExtractPropTypes<{
|
|
19
|
-
many: {
|
|
20
|
-
type: never[];
|
|
21
|
-
};
|
|
22
|
-
}>> & Readonly<{
|
|
23
|
-
onChange?: ((evt: string | string[]) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, {}>;
|
|
25
|
-
__isFragment?: never;
|
|
26
|
-
__isTeleport?: never;
|
|
27
|
-
__isSuspense?: never;
|
|
28
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1
|
+
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const ChoiceSelect: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
29
4
|
many: {
|
|
30
5
|
type: never[];
|
|
31
6
|
};
|
|
32
|
-
}>> & Readonly<{
|
|
33
|
-
onChange?: ((evt: string | string[]) => any) | undefined;
|
|
34
7
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
35
8
|
change: (evt: string | string[]) => void;
|
|
36
|
-
}, string,
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
10
|
+
many: {
|
|
11
|
+
type: never[];
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onChange?: ((evt: string | string[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>>;
|
|
37
16
|
export { ChoiceSelect, ChoiceSelect as default };
|
|
@@ -15,7 +15,6 @@ require("@fangzhongya/utils/basic/object/deepCopy");
|
|
|
15
15
|
require("@fangzhongya/utils/basic/Array/toggleArray");
|
|
16
16
|
require("@fangzhongya/utils/basic/object/objValue");
|
|
17
17
|
require("../../../utils/vues/getBuildProps.cjs");
|
|
18
|
-
require("../../../utils/vues/withInstall.cjs");
|
|
19
18
|
require("@fangzhongya/utils/css/setObjStyle");
|
|
20
19
|
require("@fangzhongya/utils/css/getCss");
|
|
21
20
|
const dataProps = buildProps.buildProps({
|
|
@@ -13,7 +13,6 @@ import "@fangzhongya/utils/basic/object/deepCopy";
|
|
|
13
13
|
import "@fangzhongya/utils/basic/Array/toggleArray";
|
|
14
14
|
import "@fangzhongya/utils/basic/object/objValue";
|
|
15
15
|
import "../../../utils/vues/getBuildProps.js";
|
|
16
|
-
import "../../../utils/vues/withInstall.js";
|
|
17
16
|
import "@fangzhongya/utils/css/setObjStyle";
|
|
18
17
|
import "@fangzhongya/utils/css/getCss";
|
|
19
18
|
const dataProps = buildProps({
|
|
@@ -18,7 +18,6 @@ require("@fangzhongya/utils/basic/object/objValue");
|
|
|
18
18
|
require("../../../hooks/global-config/index.cjs");
|
|
19
19
|
const index = require("../../../hooks/locale/index.cjs");
|
|
20
20
|
require("../../../utils/vues/getBuildProps.cjs");
|
|
21
|
-
require("../../../utils/vues/withInstall.cjs");
|
|
22
21
|
require("@fangzhongya/utils/css/setObjStyle");
|
|
23
22
|
require("@fangzhongya/utils/css/getCss");
|
|
24
23
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -16,7 +16,6 @@ import "@fangzhongya/utils/basic/object/objValue";
|
|
|
16
16
|
import "../../../hooks/global-config/index.js";
|
|
17
17
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
18
18
|
import "../../../utils/vues/getBuildProps.js";
|
|
19
|
-
import "../../../utils/vues/withInstall.js";
|
|
20
19
|
import "@fangzhongya/utils/css/setObjStyle";
|
|
21
20
|
import "@fangzhongya/utils/css/getCss";
|
|
22
21
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
3
|
import { EpPropMergeType, Awaitable, EpPropFinalized } from 'element-plus/es/utils';
|
|
3
4
|
import { CollapseActiveName, CollapseModelValue, CollapseIconPositionType } from 'element-plus/es/components/collapse';
|
|
4
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
|
-
declare const Collapse: {
|
|
6
|
+
declare const Collapse: SFCWithInstall<{
|
|
6
7
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
7
8
|
refEl: Ref<any, any>;
|
|
8
9
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
@@ -120,5 +121,5 @@ declare const Collapse: {
|
|
|
120
121
|
refEl: Ref<any, any>;
|
|
121
122
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
122
123
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
123
|
-
})
|
|
124
|
+
})>;
|
|
124
125
|
export { Collapse, Collapse as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
3
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
3
4
|
import { CollapseActiveName } from 'element-plus/es/index';
|
|
4
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
|
-
declare const CollapseItem: {
|
|
6
|
+
declare const CollapseItem: SFCWithInstall<{
|
|
6
7
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
7
8
|
refEl: Ref<any, any>;
|
|
8
9
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
@@ -113,5 +114,5 @@ declare const CollapseItem: {
|
|
|
113
114
|
refEl: Ref<any, any>;
|
|
114
115
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
115
116
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
116
|
-
})
|
|
117
|
+
})>;
|
|
117
118
|
export { CollapseItem, CollapseItem as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
|
|
2
3
|
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
3
4
|
import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/color-picker/src/utils/color';
|
|
4
|
-
declare const ColorPicker: {
|
|
5
|
+
declare const ColorPicker: SFCWithInstall<{
|
|
5
6
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
6
7
|
refEl: Ref<any, any>;
|
|
7
8
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
@@ -128,5 +129,5 @@ declare const ColorPicker: {
|
|
|
128
129
|
refEl: Ref<any, any>;
|
|
129
130
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
130
131
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
131
|
-
})
|
|
132
|
+
})>;
|
|
132
133
|
export { ColorPicker, ColorPicker as default };
|
|
@@ -14,7 +14,6 @@ require("@fangzhongya/utils/basic/object/deepCopy");
|
|
|
14
14
|
require("@fangzhongya/utils/basic/Array/toggleArray");
|
|
15
15
|
require("@fangzhongya/utils/basic/object/objValue");
|
|
16
16
|
require("../../utils/vues/getBuildProps.cjs");
|
|
17
|
-
require("../../utils/vues/withInstall.cjs");
|
|
18
17
|
require("@fangzhongya/utils/css/setObjStyle");
|
|
19
18
|
require("@fangzhongya/utils/css/getCss");
|
|
20
19
|
const index$l = require("../array/index.cjs");
|
|
@@ -12,7 +12,6 @@ import "@fangzhongya/utils/basic/object/deepCopy";
|
|
|
12
12
|
import "@fangzhongya/utils/basic/Array/toggleArray";
|
|
13
13
|
import "@fangzhongya/utils/basic/object/objValue";
|
|
14
14
|
import "../../utils/vues/getBuildProps.js";
|
|
15
|
-
import "../../utils/vues/withInstall.js";
|
|
16
15
|
import "@fangzhongya/utils/css/setObjStyle";
|
|
17
16
|
import "@fangzhongya/utils/css/getCss";
|
|
18
17
|
import { Array } from "../array/index.js";
|
|
@@ -6,13 +6,15 @@ const props = {
|
|
|
6
6
|
type: Object
|
|
7
7
|
},
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* 请求接口地址或者方法
|
|
10
|
+
* @props { String, Function } ajax
|
|
10
11
|
*/
|
|
11
12
|
ajax: {
|
|
12
13
|
type: [String, Function]
|
|
13
14
|
},
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* 接口参数
|
|
17
|
+
* @props { Object } param
|
|
16
18
|
*/
|
|
17
19
|
param: {
|
|
18
20
|
type: Object,
|
|
@@ -21,13 +23,15 @@ const props = {
|
|
|
21
23
|
}
|
|
22
24
|
},
|
|
23
25
|
/**
|
|
24
|
-
*
|
|
26
|
+
* 请求接口配置
|
|
27
|
+
* @props ajaxConfig ajax 为字符串时有用
|
|
25
28
|
*/
|
|
26
29
|
ajaxConfig: {
|
|
27
30
|
type: Object
|
|
28
31
|
},
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
* 过滤接口返回数据
|
|
34
|
+
* @props { Function } inDataFilter (res, obj) 必须返回对象
|
|
31
35
|
*/
|
|
32
36
|
onRequestAfter: {
|
|
33
37
|
type: Function
|
|
@@ -36,7 +40,8 @@ const props = {
|
|
|
36
40
|
// },
|
|
37
41
|
},
|
|
38
42
|
/**
|
|
39
|
-
*
|
|
43
|
+
* 过滤接口请求数据
|
|
44
|
+
* @props { Function } inParamFilter (obj) 必须返回对象
|
|
40
45
|
*/
|
|
41
46
|
onRequestBefore: {
|
|
42
47
|
type: Function
|
|
@@ -7,32 +7,37 @@ export declare const props: {
|
|
|
7
7
|
type: () => ObjAny;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 请求接口地址或者方法
|
|
11
|
+
* @props { String, Function } ajax
|
|
11
12
|
*/
|
|
12
13
|
ajax: {
|
|
13
14
|
type: (FunctionConstructor | StringConstructor)[];
|
|
14
15
|
};
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* 接口参数
|
|
18
|
+
* @props { Object } param
|
|
17
19
|
*/
|
|
18
20
|
param: {
|
|
19
21
|
type: ObjectConstructor;
|
|
20
22
|
default(): {};
|
|
21
23
|
};
|
|
22
24
|
/**
|
|
23
|
-
*
|
|
25
|
+
* 请求接口配置
|
|
26
|
+
* @props ajaxConfig ajax 为字符串时有用
|
|
24
27
|
*/
|
|
25
28
|
ajaxConfig: {
|
|
26
29
|
type: ObjectConstructor;
|
|
27
30
|
};
|
|
28
31
|
/**
|
|
29
|
-
*
|
|
32
|
+
* 过滤接口返回数据
|
|
33
|
+
* @props { Function } inDataFilter (res, obj) 必须返回对象
|
|
30
34
|
*/
|
|
31
35
|
onRequestAfter: {
|
|
32
36
|
type: FunctionConstructor;
|
|
33
37
|
};
|
|
34
38
|
/**
|
|
35
|
-
*
|
|
39
|
+
* 过滤接口请求数据
|
|
40
|
+
* @props { Function } inParamFilter (obj) 必须返回对象
|
|
36
41
|
*/
|
|
37
42
|
onRequestBefore: {
|
|
38
43
|
type: FunctionConstructor;
|
|
@@ -4,13 +4,15 @@ const props = {
|
|
|
4
4
|
type: Object
|
|
5
5
|
},
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* 请求接口地址或者方法
|
|
8
|
+
* @props { String, Function } ajax
|
|
8
9
|
*/
|
|
9
10
|
ajax: {
|
|
10
11
|
type: [String, Function]
|
|
11
12
|
},
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* 接口参数
|
|
15
|
+
* @props { Object } param
|
|
14
16
|
*/
|
|
15
17
|
param: {
|
|
16
18
|
type: Object,
|
|
@@ -19,13 +21,15 @@ const props = {
|
|
|
19
21
|
}
|
|
20
22
|
},
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
24
|
+
* 请求接口配置
|
|
25
|
+
* @props ajaxConfig ajax 为字符串时有用
|
|
23
26
|
*/
|
|
24
27
|
ajaxConfig: {
|
|
25
28
|
type: Object
|
|
26
29
|
},
|
|
27
30
|
/**
|
|
28
|
-
*
|
|
31
|
+
* 过滤接口返回数据
|
|
32
|
+
* @props { Function } inDataFilter (res, obj) 必须返回对象
|
|
29
33
|
*/
|
|
30
34
|
onRequestAfter: {
|
|
31
35
|
type: Function
|
|
@@ -34,7 +38,8 @@ const props = {
|
|
|
34
38
|
// },
|
|
35
39
|
},
|
|
36
40
|
/**
|
|
37
|
-
*
|
|
41
|
+
* 过滤接口请求数据
|
|
42
|
+
* @props { Function } inParamFilter (obj) 必须返回对象
|
|
38
43
|
*/
|
|
39
44
|
onRequestBefore: {
|
|
40
45
|
type: Function
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const util = require("../../utils/util.cjs");
|
|
5
5
|
require("../../utils/vues/getBuildProps.cjs");
|
|
6
|
-
require("../../utils/vues/withInstall.cjs");
|
|
7
6
|
require("@fangzhongya/utils/css/setObjStyle");
|
|
8
7
|
require("@fangzhongya/utils/css/getCss");
|
|
9
8
|
const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
|
|
@@ -2,7 +2,7 @@ import { Component, VNode, RendererNode, RendererElement } from 'vue';
|
|
|
2
2
|
export declare function useVueValue(v: any, key: string | Function): any;
|
|
3
3
|
export declare function getFormRule(obj: ListObj): string | undefined;
|
|
4
4
|
export declare function setFormDefaultValue(obj: ListObj, value: ObjAny): void;
|
|
5
|
-
export declare function useHide(v: ListObj, form?: any):
|
|
5
|
+
export declare function useHide(v: ListObj, form?: any): boolean;
|
|
6
6
|
export declare function getOnObjs(obj: ListObj, data: ObjAny, emit: Function, ...arrs: any[]): {
|
|
7
7
|
[key: string]: (...arr: any[]) => void;
|
|
8
8
|
};
|