@fangzhongya/fang-ui 0.0.41 → 0.0.42
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.scss +1 -1
- package/dist/components/array/index.scss +1 -1
- package/dist/components/box/index.scss +1 -1
- package/dist/components/box-adjust/index.scss +1 -1
- package/dist/components/box-local/index.scss +1 -1
- package/dist/components/box-mask/index.scss +1 -1
- package/dist/components/box-title/index.scss +1 -1
- package/dist/components/button/index.d.ts +3 -3
- package/dist/components/button/index.scss +1 -1
- package/dist/components/button/src/index.d.ts +6 -6
- package/dist/components/buttons/index.scss +1 -1
- package/dist/components/card/index.d.ts +3 -3
- package/dist/components/card/index.scss +1 -1
- package/dist/components/card/src/index.d.ts +6 -6
- package/dist/components/cascader/index.d.ts +49 -23
- package/dist/components/cascader/index.scss +1 -1
- package/dist/components/cascader/src/index.d.ts +96 -44
- package/dist/components/cascader-panel/index.d.ts +25 -13
- package/dist/components/cascader-panel/index.scss +1 -1
- package/dist/components/cascader-panel/src/index.d.ts +49 -25
- package/dist/components/cascaders/index.scss +1 -1
- package/dist/components/checkbox/index.scss +1 -1
- package/dist/components/checkbox-group/index.scss +1 -1
- package/dist/components/checks/index.scss +1 -1
- package/dist/components/collapse/index.scss +1 -1
- package/dist/components/collapse-item/index.scss +1 -1
- package/dist/components/color-picker/index.d.ts +20 -4
- package/dist/components/color-picker/index.scss +1 -1
- package/dist/components/color-picker/src/index.d.ts +40 -8
- package/dist/components/config-provider/index.d.ts +17 -5
- package/dist/components/config-provider/index.scss +1 -1
- package/dist/components/config-provider/src/index.d.ts +33 -9
- package/dist/components/date-picker/index.d.ts +12 -8
- package/dist/components/date-picker/index.scss +1 -1
- package/dist/components/date-picker/src/index.d.ts +24 -16
- package/dist/components/dates/index.scss +1 -1
- package/dist/components/dialog/index.d.ts +17 -5
- package/dist/components/dialog/index.scss +1 -1
- package/dist/components/dialog/src/index.d.ts +32 -8
- package/dist/components/dialogs/index.scss +1 -1
- package/dist/components/divider/index.scss +1 -1
- package/dist/components/drawer/index.d.ts +17 -5
- package/dist/components/drawer/index.scss +1 -1
- package/dist/components/drawer/src/index.d.ts +32 -8
- package/dist/components/dropdown/index.scss +1 -1
- package/dist/components/dropdown-item/index.scss +1 -1
- package/dist/components/dropdown-menu/index.scss +1 -1
- package/dist/components/edit/index.scss +1 -1
- package/dist/components/form/index.d.ts +14 -106
- package/dist/components/form/index.scss +1 -1
- package/dist/components/form-item/index.scss +1 -1
- package/dist/components/forms/index.d.ts +15 -411
- package/dist/components/forms/index.scss +1 -1
- package/dist/components/forms-div/index.scss +1 -1
- package/dist/components/forms-drag/index.d.ts +15 -488
- package/dist/components/forms-item/index.scss +1 -1
- package/dist/components/global-config/index.scss +1 -1
- package/dist/components/icon/index.scss +1 -1
- package/dist/components/icon/src/index2.cjs +6 -4
- package/dist/components/icon/src/index2.js +6 -4
- package/dist/components/image/index.scss +1 -1
- package/dist/components/input/index.scss +1 -1
- package/dist/components/input-array/index.scss +1 -1
- package/dist/components/input-num/index.scss +1 -1
- package/dist/components/input-number/index.d.ts +14 -2
- package/dist/components/input-number/index.scss +1 -1
- package/dist/components/input-number/src/index.d.ts +28 -4
- package/dist/components/input-select/index.scss +1 -1
- package/dist/components/inputs/index.scss +1 -1
- package/dist/components/lists/index.scss +1 -1
- package/dist/components/menus/index.scss +1 -1
- package/dist/components/message/index.d.ts +2 -2
- package/dist/components/message/src/index.d.ts +2 -2
- package/dist/components/option/index.scss +1 -1
- package/dist/components/option-group/index.scss +1 -1
- package/dist/components/page/index.d.ts +21 -2738
- package/dist/components/page/index.scss +1 -1
- package/dist/components/pagination/index.scss +1 -1
- package/dist/components/paging/index.scss +1 -1
- package/dist/components/popconfirm/index.d.ts +3 -3
- package/dist/components/popconfirm/index.scss +1 -1
- package/dist/components/popconfirm/src/index.d.ts +6 -6
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popover/index.scss +1 -1
- package/dist/components/popover/src/index.d.ts +6 -6
- package/dist/components/popup/index.scss +1 -1
- package/dist/components/radio/index.scss +1 -1
- package/dist/components/radio-group/index.scss +1 -1
- package/dist/components/right-key/index.scss +1 -1
- package/dist/components/seamless-scroll/index.scss +1 -1
- package/dist/components/select/index.d.ts +63 -19
- package/dist/components/select/index.scss +1 -1
- package/dist/components/select/src/index.d.ts +125 -37
- package/dist/components/selects/index.scss +1 -1
- package/dist/components/slider/index.scss +1 -1
- package/dist/components/switch/index.scss +1 -1
- package/dist/components/switchs/index.scss +1 -1
- package/dist/components/tab-pane/index.scss +1 -1
- package/dist/components/tables/index.d.ts +28 -24
- package/dist/components/tables/index.scss +1 -1
- package/dist/components/tables/src/index.d.ts +56 -48
- package/dist/components/tablesp/index.d.ts +28 -24
- package/dist/components/tablesp/index.scss +1 -1
- package/dist/components/tablesp/src/index.d.ts +56 -48
- package/dist/components/tabless/index.d.ts +28 -24
- package/dist/components/tabless/index.scss +1 -1
- package/dist/components/tabless/src/index.d.ts +56 -48
- package/dist/components/tablesv/index.scss +1 -1
- package/dist/components/tablesvp/index.scss +1 -1
- package/dist/components/tabs/index.scss +1 -1
- package/dist/components/text/index.scss +1 -1
- package/dist/components/time-picker/index.d.ts +12 -8
- package/dist/components/time-picker/index.scss +1 -1
- package/dist/components/time-picker/src/index.d.ts +24 -16
- package/dist/components/time-select/index.d.ts +40 -10
- package/dist/components/time-select/index.scss +1 -1
- package/dist/components/time-select/src/index.d.ts +80 -20
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/components/tooltip/index.scss +1 -1
- package/dist/components/tooltip/src/index.d.ts +6 -6
- package/dist/components/tree/index.d.ts +4 -4
- package/dist/components/tree/index.scss +1 -1
- package/dist/components/tree/src/index.d.ts +8 -8
- package/dist/components/tree-select/index.scss +1 -1
- package/dist/components/tree-select-box/index.d.ts +4 -4
- package/dist/components/tree-select-box/src/index.d.ts +8 -8
- package/dist/components/upload/index.d.ts +3 -3
- package/dist/components/upload/index.scss +1 -1
- package/dist/components/upload/src/index.d.ts +6 -6
- package/dist/components/user-select/index.d.ts +4 -4
- package/dist/components/user-select/src/index.d.ts +8 -8
- package/dist/components/window/index.scss +1 -1
- package/dist/css/array.css +70 -0
- package/dist/css/box-adjust.css +80 -0
- package/dist/css/box-local.css +87 -0
- package/dist/css/box-mask.css +25 -0
- package/dist/css/box-title.css +37 -0
- package/dist/css/box.css +83 -0
- package/dist/css/buttons.css +17 -0
- package/dist/css/cascaders.css +22 -0
- package/dist/css/checks.css +21 -0
- package/dist/css/collapse-item.css +13 -0
- package/dist/css/dates-divide.css +7 -0
- package/dist/css/dates.css +19 -0
- package/dist/css/dialogs.css +34 -0
- package/dist/css/edit-float.css +30 -0
- package/dist/css/edit.css +31 -0
- package/dist/css/forms-div.css +21 -0
- package/dist/css/forms-items.css +36 -0
- package/dist/css/forms.css +104 -0
- package/dist/css/global-config.css +17 -0
- package/dist/css/history.css +14 -0
- package/dist/css/icon.css +27 -0
- package/dist/css/index.css +899 -0
- package/dist/css/input-array.css +52 -0
- package/dist/css/input-history.css +64 -0
- package/dist/css/input-num.css +17 -0
- package/dist/css/input-select.css +72 -0
- package/dist/css/inputs.css +17 -0
- package/dist/css/labels.css +7 -0
- package/dist/css/lists.css +96 -0
- package/dist/css/menus.css +21 -0
- package/dist/css/page/set-column.css +38 -0
- package/dist/css/page.css +293 -0
- package/dist/css/paging.css +29 -0
- package/dist/css/popup.css +96 -0
- package/dist/css/right-key.css +41 -0
- package/dist/css/seamless-scroll.css +30 -0
- package/dist/css/select-scroll.css +52 -0
- package/dist/css/selector.css +64 -0
- package/dist/css/selects.css +21 -0
- package/dist/css/switchs.css +17 -0
- package/dist/css/tables.css +33 -0
- package/dist/css/tablesp.css +71 -0
- package/dist/css/tabless.css +36 -0
- package/dist/css/tablesv.css +92 -0
- package/dist/css/tablesvp.css +130 -0
- package/dist/css/window.css +89 -0
- package/dist/icons/index.css +54 -52
- package/dist/icons/index.json +10 -10
- package/package.json +13 -13
- package/dist/components/form/src/index.d.ts +0 -381
- package/dist/components/forms/src/index.d.ts +0 -681
- package/dist/components/forms-drag/src/index.d.ts +0 -879
- package/dist/components/page/src/index.d.ts +0 -5161
- /package/dist/components/{color-picker → collapse-item}/index.css +0 -0
- /package/dist/components/{css → scss}/common.scss +0 -0
- /package/dist/components/{css → scss}/config.scss +0 -0
- /package/dist/components/{css → scss}/function.scss +0 -0
- /package/dist/components/{css → scss}/mixins.scss +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, Ref, WritableComputedRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, PropType,
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, Ref, WritableComputedRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, PropType, ComponentProvideOptions, nextTick, WatchOptions, WatchStopHandle } from 'vue';
|
|
3
3
|
import { FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext } from 'element-plus/es/index';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
5
|
declare const FormsDrag: SFCWithInstall<{
|
|
@@ -192,7 +192,7 @@ declare const FormsDrag: SFCWithInstall<{
|
|
|
192
192
|
readonly requireAsteriskPosition: "left" | "right";
|
|
193
193
|
readonly labelSuffix: string;
|
|
194
194
|
readonly validateOnRuleChange: boolean;
|
|
195
|
-
readonly scrollIntoViewOptions: boolean |
|
|
195
|
+
readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
|
|
196
196
|
readonly statusIcon: boolean;
|
|
197
197
|
readonly hideRequiredAsterisk: boolean;
|
|
198
198
|
readonly scrollToError: boolean;
|
|
@@ -209,7 +209,7 @@ declare const FormsDrag: SFCWithInstall<{
|
|
|
209
209
|
readonly validateOnRuleChange: boolean;
|
|
210
210
|
readonly hideRequiredAsterisk: boolean;
|
|
211
211
|
readonly scrollToError: boolean;
|
|
212
|
-
readonly scrollIntoViewOptions: boolean |
|
|
212
|
+
readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
|
|
213
213
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
214
214
|
readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
|
|
215
215
|
readonly model?: Record<string, any> | undefined;
|
|
@@ -291,7 +291,7 @@ declare const FormsDrag: SFCWithInstall<{
|
|
|
291
291
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
292
292
|
readonly scrollToError: BooleanConstructor;
|
|
293
293
|
readonly scrollIntoViewOptions: {
|
|
294
|
-
readonly type: PropType<boolean |
|
|
294
|
+
readonly type: PropType<boolean | ScrollIntoViewOptions>;
|
|
295
295
|
readonly required: false;
|
|
296
296
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
297
297
|
__epPropKey: true;
|
|
@@ -314,498 +314,25 @@ declare const FormsDrag: SFCWithInstall<{
|
|
|
314
314
|
clearValidate: (props?: FormItemProp | FormItemProp[]) => void;
|
|
315
315
|
scrollToField: (prop: FormItemProp) => void;
|
|
316
316
|
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
317
|
-
fields:
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
},
|
|
321
|
-
|
|
322
|
-
readonly inline: boolean;
|
|
323
|
-
readonly labelWidth: string | number;
|
|
324
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
325
|
-
readonly inlineMessage: boolean;
|
|
326
|
-
readonly showMessage: boolean;
|
|
327
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
328
|
-
readonly labelSuffix: string;
|
|
329
|
-
readonly validateOnRuleChange: boolean;
|
|
330
|
-
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
331
|
-
readonly statusIcon: boolean;
|
|
332
|
-
readonly hideRequiredAsterisk: boolean;
|
|
333
|
-
readonly scrollToError: boolean;
|
|
334
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
335
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
336
|
-
created?: (() => void) | (() => void)[];
|
|
337
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
338
|
-
mounted?: (() => void) | (() => void)[];
|
|
339
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
340
|
-
updated?: (() => void) | (() => void)[];
|
|
341
|
-
activated?: (() => void) | (() => void)[];
|
|
342
|
-
deactivated?: (() => void) | (() => void)[];
|
|
343
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
344
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
345
|
-
destroyed?: (() => void) | (() => void)[];
|
|
346
|
-
unmounted?: (() => void) | (() => void)[];
|
|
347
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
348
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
349
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
317
|
+
fields: {
|
|
318
|
+
/*elided*/
|
|
319
|
+
}[];
|
|
320
|
+
}, /*... 14 more elided ...*/ any, ComponentProvideOptions> & {
|
|
321
|
+
/*elided*/
|
|
350
322
|
};
|
|
351
323
|
$forceUpdate: () => void;
|
|
352
324
|
$nextTick: nextTick;
|
|
353
325
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
354
|
-
} &
|
|
355
|
-
|
|
356
|
-
readonly inline: boolean;
|
|
357
|
-
readonly labelWidth: string | number;
|
|
358
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
359
|
-
readonly inlineMessage: boolean;
|
|
360
|
-
readonly showMessage: boolean;
|
|
361
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
362
|
-
readonly labelSuffix: string;
|
|
363
|
-
readonly validateOnRuleChange: boolean;
|
|
364
|
-
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
365
|
-
readonly statusIcon: boolean;
|
|
366
|
-
readonly hideRequiredAsterisk: boolean;
|
|
367
|
-
readonly scrollToError: boolean;
|
|
368
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
|
369
|
-
readonly model: ObjectConstructor;
|
|
370
|
-
readonly rules: {
|
|
371
|
-
readonly type: PropType<Partial<Record<string, FormItemRule | FormItemRule[]>>>;
|
|
372
|
-
readonly required: false;
|
|
373
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
374
|
-
__epPropKey: true;
|
|
375
|
-
};
|
|
376
|
-
readonly labelPosition: {
|
|
377
|
-
readonly type: PropType<"left" | "right" | "top">;
|
|
378
|
-
readonly required: false;
|
|
379
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
380
|
-
__epPropKey: true;
|
|
381
|
-
} & {
|
|
382
|
-
readonly default: "right";
|
|
383
|
-
};
|
|
384
|
-
readonly requireAsteriskPosition: {
|
|
385
|
-
readonly type: PropType<"left" | "right">;
|
|
386
|
-
readonly required: false;
|
|
387
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
388
|
-
__epPropKey: true;
|
|
389
|
-
} & {
|
|
390
|
-
readonly default: "left";
|
|
391
|
-
};
|
|
392
|
-
readonly labelWidth: {
|
|
393
|
-
readonly type: PropType<string | number>;
|
|
394
|
-
readonly required: false;
|
|
395
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
396
|
-
__epPropKey: true;
|
|
397
|
-
} & {
|
|
398
|
-
readonly default: "";
|
|
399
|
-
};
|
|
400
|
-
readonly labelSuffix: {
|
|
401
|
-
readonly type: PropType<string>;
|
|
402
|
-
readonly required: false;
|
|
403
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
404
|
-
__epPropKey: true;
|
|
405
|
-
} & {
|
|
406
|
-
readonly default: "";
|
|
407
|
-
};
|
|
408
|
-
readonly inline: BooleanConstructor;
|
|
409
|
-
readonly inlineMessage: BooleanConstructor;
|
|
410
|
-
readonly statusIcon: BooleanConstructor;
|
|
411
|
-
readonly showMessage: {
|
|
412
|
-
readonly type: PropType<boolean>;
|
|
413
|
-
readonly required: false;
|
|
414
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
415
|
-
__epPropKey: true;
|
|
416
|
-
} & {
|
|
417
|
-
readonly default: true;
|
|
418
|
-
};
|
|
419
|
-
readonly validateOnRuleChange: {
|
|
420
|
-
readonly type: PropType<boolean>;
|
|
421
|
-
readonly required: false;
|
|
422
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
423
|
-
__epPropKey: true;
|
|
424
|
-
} & {
|
|
425
|
-
readonly default: true;
|
|
426
|
-
};
|
|
427
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
428
|
-
readonly scrollToError: BooleanConstructor;
|
|
429
|
-
readonly scrollIntoViewOptions: {
|
|
430
|
-
readonly type: PropType<boolean | Record<string, any>>;
|
|
431
|
-
readonly required: false;
|
|
432
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
433
|
-
__epPropKey: true;
|
|
434
|
-
} & {
|
|
435
|
-
readonly default: true;
|
|
436
|
-
};
|
|
437
|
-
readonly size: {
|
|
438
|
-
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
439
|
-
readonly required: false;
|
|
440
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
441
|
-
__epPropKey: true;
|
|
442
|
-
};
|
|
443
|
-
readonly disabled: BooleanConstructor;
|
|
444
|
-
}>> & {
|
|
445
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
446
|
-
}, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef<{
|
|
447
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
448
|
-
validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
|
|
449
|
-
resetFields: (props?: FormItemProp | FormItemProp[]) => void;
|
|
450
|
-
clearValidate: (props?: FormItemProp | FormItemProp[]) => void;
|
|
451
|
-
scrollToField: (prop: FormItemProp) => void;
|
|
452
|
-
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
453
|
-
fields: Reactive< FormItemContext[]>;
|
|
454
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
455
|
-
$slots: {
|
|
456
|
-
default?(_: {}): any;
|
|
457
|
-
};
|
|
326
|
+
} & /*... 6 more elided ...*/ any & {
|
|
327
|
+
/*elided*/
|
|
458
328
|
}) | null;
|
|
459
|
-
}, any,
|
|
460
|
-
|
|
461
|
-
B: {};
|
|
462
|
-
D: {};
|
|
463
|
-
C: {};
|
|
464
|
-
M: {};
|
|
465
|
-
Defaults: {};
|
|
466
|
-
}, Readonly< ExtractPropTypes<{
|
|
467
|
-
itemClass: {
|
|
468
|
-
type: StringConstructor;
|
|
469
|
-
};
|
|
470
|
-
index: {
|
|
471
|
-
type: NumberConstructor;
|
|
472
|
-
};
|
|
473
|
-
butDisabled: BooleanConstructor;
|
|
474
|
-
list: {
|
|
475
|
-
type: {
|
|
476
|
-
(arrayLength: number): ListObj[];
|
|
477
|
-
(...items: ListObj[]): ListObj[];
|
|
478
|
-
new (arrayLength: number): ListObj[];
|
|
479
|
-
new (...items: ListObj[]): ListObj[];
|
|
480
|
-
isArray(arg: any): arg is any[];
|
|
481
|
-
readonly prototype: any[];
|
|
482
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
483
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
484
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
485
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
486
|
-
of<T>(...items: T[]): T[];
|
|
487
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
488
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
489
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
490
|
-
};
|
|
491
|
-
default(): never[];
|
|
492
|
-
};
|
|
493
|
-
column: {
|
|
494
|
-
type: NumberConstructor;
|
|
495
|
-
default(): number;
|
|
496
|
-
};
|
|
497
|
-
disabled: {
|
|
498
|
-
type: BooleanConstructor;
|
|
499
|
-
};
|
|
500
|
-
options: {
|
|
501
|
-
type: ObjectConstructor;
|
|
502
|
-
default(): {};
|
|
503
|
-
};
|
|
504
|
-
compons: {
|
|
505
|
-
type: () => {
|
|
506
|
-
[key: string]: Component;
|
|
507
|
-
};
|
|
508
|
-
default(): {};
|
|
509
|
-
};
|
|
510
|
-
labelWidth: {
|
|
511
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
512
|
-
default: string;
|
|
513
|
-
};
|
|
514
|
-
labelPosition: {
|
|
515
|
-
type: () => "left" | "top" | "right" | "center" | "auto";
|
|
516
|
-
default: string;
|
|
517
|
-
};
|
|
518
|
-
rowWidth: {
|
|
519
|
-
type: StringConstructor;
|
|
520
|
-
};
|
|
521
|
-
rowMinWidth: {
|
|
522
|
-
type: StringConstructor;
|
|
523
|
-
};
|
|
524
|
-
rowHeight: {
|
|
525
|
-
type: StringConstructor;
|
|
526
|
-
};
|
|
527
|
-
inline: {
|
|
528
|
-
type: BooleanConstructor;
|
|
529
|
-
};
|
|
530
|
-
inlineBox: {
|
|
531
|
-
type: BooleanConstructor;
|
|
532
|
-
};
|
|
533
|
-
query: {
|
|
534
|
-
type: BooleanConstructor;
|
|
535
|
-
};
|
|
536
|
-
queryInterval: {
|
|
537
|
-
type: StringConstructor;
|
|
538
|
-
default: string;
|
|
539
|
-
};
|
|
540
|
-
inlineRight: {
|
|
541
|
-
type: StringConstructor;
|
|
542
|
-
default: string;
|
|
543
|
-
};
|
|
544
|
-
itemBottom: {
|
|
545
|
-
type: StringConstructor;
|
|
546
|
-
default: string;
|
|
547
|
-
};
|
|
548
|
-
modelValue: {
|
|
549
|
-
type: ObjectConstructor;
|
|
550
|
-
};
|
|
551
|
-
buts: {
|
|
552
|
-
type: {
|
|
553
|
-
(arrayLength: number): ObjAny[];
|
|
554
|
-
(...items: ObjAny[]): ObjAny[];
|
|
555
|
-
new (arrayLength: number): ObjAny[];
|
|
556
|
-
new (...items: ObjAny[]): ObjAny[];
|
|
557
|
-
isArray(arg: any): arg is any[];
|
|
558
|
-
readonly prototype: any[];
|
|
559
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
560
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
561
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
562
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
563
|
-
of<T>(...items: T[]): T[];
|
|
564
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
565
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
566
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
567
|
-
};
|
|
568
|
-
};
|
|
569
|
-
butLeft: {
|
|
570
|
-
type: StringConstructor;
|
|
571
|
-
};
|
|
572
|
-
butHeight: {
|
|
573
|
-
type: StringConstructor;
|
|
574
|
-
};
|
|
575
|
-
colon: (BooleanConstructor | StringConstructor)[];
|
|
576
|
-
value: {
|
|
577
|
-
type: () => ObjAny;
|
|
578
|
-
};
|
|
579
|
-
ajax: {
|
|
580
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
581
|
-
};
|
|
582
|
-
param: {
|
|
583
|
-
type: ObjectConstructor;
|
|
584
|
-
default(): {};
|
|
585
|
-
};
|
|
586
|
-
ajaxConfig: {
|
|
587
|
-
type: ObjectConstructor;
|
|
588
|
-
};
|
|
589
|
-
onRequestAfter: {
|
|
590
|
-
type: FunctionConstructor;
|
|
591
|
-
};
|
|
592
|
-
onRequestBefore: {
|
|
593
|
-
type: FunctionConstructor;
|
|
594
|
-
};
|
|
595
|
-
}>> & Readonly<{
|
|
596
|
-
onSubmit?: ((obj: ObjAny) => any) | undefined;
|
|
597
|
-
"onUpdate:modelValue"?: ((value: ObjAny) => any) | undefined;
|
|
598
|
-
onCancel?: ((obj: ObjAny) => any) | undefined;
|
|
599
|
-
onButs?: ((obj: ObjAny, dataForm: ObjAny, index: number, event: Event) => any) | undefined;
|
|
600
|
-
onUpform?: ((dataForm: ObjAny) => any) | undefined;
|
|
601
|
-
"onUpdate:list"?: ((e: any) => any) | undefined;
|
|
602
|
-
"onUpdate:index"?: ((e: any) => any) | undefined;
|
|
603
|
-
onHandle?: ((a: any, b: any) => any) | undefined;
|
|
604
|
-
onAdjust?: ((a: any, b: any, c: any, d: any) => any) | undefined;
|
|
605
|
-
}>, {
|
|
606
|
-
el: Ref<any, any>;
|
|
607
|
-
dataForm: Ref<ObjAny, ObjAny> | WritableComputedRef<Record<string, any> | undefined, Record<string, any> | undefined>;
|
|
608
|
-
closeForm: () => void;
|
|
609
|
-
submitForm: (callback?: Function) => void;
|
|
610
|
-
resetFields: () => void;
|
|
611
|
-
validateField: (...arr: any[]) => void;
|
|
612
|
-
}, {}, {}, {}, {
|
|
613
|
-
disabled: boolean;
|
|
614
|
-
param: Record<string, any>;
|
|
615
|
-
options: Record<string, any>;
|
|
616
|
-
labelWidth: string | number;
|
|
617
|
-
labelPosition: "left" | "right" | "center" | "top" | "auto";
|
|
618
|
-
inline: boolean;
|
|
619
|
-
list: ListObj[];
|
|
620
|
-
column: number;
|
|
621
|
-
compons: {
|
|
622
|
-
[key: string]: Component;
|
|
623
|
-
};
|
|
624
|
-
inlineBox: boolean;
|
|
625
|
-
query: boolean;
|
|
626
|
-
queryInterval: string;
|
|
627
|
-
inlineRight: string;
|
|
628
|
-
itemBottom: string;
|
|
629
|
-
butDisabled: boolean;
|
|
329
|
+
}, /*... 8 more elided ...*/ any, {
|
|
330
|
+
/*elided*/
|
|
630
331
|
}>;
|
|
631
332
|
__isFragment?: never;
|
|
632
333
|
__isTeleport?: never;
|
|
633
334
|
__isSuspense?: never;
|
|
634
|
-
} &
|
|
635
|
-
|
|
636
|
-
type: StringConstructor;
|
|
637
|
-
};
|
|
638
|
-
index: {
|
|
639
|
-
type: NumberConstructor;
|
|
640
|
-
};
|
|
641
|
-
butDisabled: BooleanConstructor;
|
|
642
|
-
list: {
|
|
643
|
-
type: {
|
|
644
|
-
(arrayLength: number): ListObj[];
|
|
645
|
-
(...items: ListObj[]): ListObj[];
|
|
646
|
-
new (arrayLength: number): ListObj[];
|
|
647
|
-
new (...items: ListObj[]): ListObj[];
|
|
648
|
-
isArray(arg: any): arg is any[];
|
|
649
|
-
readonly prototype: any[];
|
|
650
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
651
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
652
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
653
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
654
|
-
of<T>(...items: T[]): T[];
|
|
655
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
656
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
657
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
658
|
-
};
|
|
659
|
-
default(): never[];
|
|
660
|
-
};
|
|
661
|
-
column: {
|
|
662
|
-
type: NumberConstructor;
|
|
663
|
-
default(): number;
|
|
664
|
-
};
|
|
665
|
-
disabled: {
|
|
666
|
-
type: BooleanConstructor;
|
|
667
|
-
};
|
|
668
|
-
options: {
|
|
669
|
-
type: ObjectConstructor;
|
|
670
|
-
default(): {};
|
|
671
|
-
};
|
|
672
|
-
compons: {
|
|
673
|
-
type: () => {
|
|
674
|
-
[key: string]: Component;
|
|
675
|
-
};
|
|
676
|
-
default(): {};
|
|
677
|
-
};
|
|
678
|
-
labelWidth: {
|
|
679
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
680
|
-
default: string;
|
|
681
|
-
};
|
|
682
|
-
labelPosition: {
|
|
683
|
-
type: () => "left" | "top" | "right" | "center" | "auto";
|
|
684
|
-
default: string;
|
|
685
|
-
};
|
|
686
|
-
rowWidth: {
|
|
687
|
-
type: StringConstructor;
|
|
688
|
-
};
|
|
689
|
-
rowMinWidth: {
|
|
690
|
-
type: StringConstructor;
|
|
691
|
-
};
|
|
692
|
-
rowHeight: {
|
|
693
|
-
type: StringConstructor;
|
|
694
|
-
};
|
|
695
|
-
inline: {
|
|
696
|
-
type: BooleanConstructor;
|
|
697
|
-
};
|
|
698
|
-
inlineBox: {
|
|
699
|
-
type: BooleanConstructor;
|
|
700
|
-
};
|
|
701
|
-
query: {
|
|
702
|
-
type: BooleanConstructor;
|
|
703
|
-
};
|
|
704
|
-
queryInterval: {
|
|
705
|
-
type: StringConstructor;
|
|
706
|
-
default: string;
|
|
707
|
-
};
|
|
708
|
-
inlineRight: {
|
|
709
|
-
type: StringConstructor;
|
|
710
|
-
default: string;
|
|
711
|
-
};
|
|
712
|
-
itemBottom: {
|
|
713
|
-
type: StringConstructor;
|
|
714
|
-
default: string;
|
|
715
|
-
};
|
|
716
|
-
modelValue: {
|
|
717
|
-
type: ObjectConstructor;
|
|
718
|
-
};
|
|
719
|
-
buts: {
|
|
720
|
-
type: {
|
|
721
|
-
(arrayLength: number): ObjAny[];
|
|
722
|
-
(...items: ObjAny[]): ObjAny[];
|
|
723
|
-
new (arrayLength: number): ObjAny[];
|
|
724
|
-
new (...items: ObjAny[]): ObjAny[];
|
|
725
|
-
isArray(arg: any): arg is any[];
|
|
726
|
-
readonly prototype: any[];
|
|
727
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
728
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
729
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
730
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
731
|
-
of<T>(...items: T[]): T[];
|
|
732
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
733
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
734
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
735
|
-
};
|
|
736
|
-
};
|
|
737
|
-
butLeft: {
|
|
738
|
-
type: StringConstructor;
|
|
739
|
-
};
|
|
740
|
-
butHeight: {
|
|
741
|
-
type: StringConstructor;
|
|
742
|
-
};
|
|
743
|
-
colon: (BooleanConstructor | StringConstructor)[];
|
|
744
|
-
value: {
|
|
745
|
-
type: () => ObjAny;
|
|
746
|
-
};
|
|
747
|
-
ajax: {
|
|
748
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
749
|
-
};
|
|
750
|
-
param: {
|
|
751
|
-
type: ObjectConstructor;
|
|
752
|
-
default(): {};
|
|
753
|
-
};
|
|
754
|
-
ajaxConfig: {
|
|
755
|
-
type: ObjectConstructor;
|
|
756
|
-
};
|
|
757
|
-
onRequestAfter: {
|
|
758
|
-
type: FunctionConstructor;
|
|
759
|
-
};
|
|
760
|
-
onRequestBefore: {
|
|
761
|
-
type: FunctionConstructor;
|
|
762
|
-
};
|
|
763
|
-
}>> & Readonly<{
|
|
764
|
-
onSubmit?: ((obj: ObjAny) => any) | undefined;
|
|
765
|
-
"onUpdate:modelValue"?: ((value: ObjAny) => any) | undefined;
|
|
766
|
-
onCancel?: ((obj: ObjAny) => any) | undefined;
|
|
767
|
-
onButs?: ((obj: ObjAny, dataForm: ObjAny, index: number, event: Event) => any) | undefined;
|
|
768
|
-
onUpform?: ((dataForm: ObjAny) => any) | undefined;
|
|
769
|
-
"onUpdate:list"?: ((e: any) => any) | undefined;
|
|
770
|
-
"onUpdate:index"?: ((e: any) => any) | undefined;
|
|
771
|
-
onHandle?: ((a: any, b: any) => any) | undefined;
|
|
772
|
-
onAdjust?: ((a: any, b: any, c: any, d: any) => any) | undefined;
|
|
773
|
-
}>, {
|
|
774
|
-
el: Ref<any, any>;
|
|
775
|
-
dataForm: Ref<ObjAny, ObjAny> | WritableComputedRef<Record<string, any> | undefined, Record<string, any> | undefined>;
|
|
776
|
-
closeForm: () => void;
|
|
777
|
-
submitForm: (callback?: Function) => void;
|
|
778
|
-
resetFields: () => void;
|
|
779
|
-
validateField: (...arr: any[]) => void;
|
|
780
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
781
|
-
submit: (obj: ObjAny) => void;
|
|
782
|
-
"update:modelValue": (value: ObjAny) => void;
|
|
783
|
-
cancel: (obj: ObjAny) => void;
|
|
784
|
-
buts: (obj: ObjAny, dataForm: ObjAny, index: number, event: Event) => void;
|
|
785
|
-
upform: (dataForm: ObjAny) => void;
|
|
786
|
-
"update:list": (e: any) => void;
|
|
787
|
-
"update:index": (e: any) => void;
|
|
788
|
-
handle: (a: any, b: any) => void;
|
|
789
|
-
adjust: (a: any, b: any, c: any, d: any) => void;
|
|
790
|
-
}, string, {
|
|
791
|
-
disabled: boolean;
|
|
792
|
-
param: Record<string, any>;
|
|
793
|
-
options: Record<string, any>;
|
|
794
|
-
labelWidth: string | number;
|
|
795
|
-
labelPosition: "left" | "right" | "center" | "top" | "auto";
|
|
796
|
-
inline: boolean;
|
|
797
|
-
list: ListObj[];
|
|
798
|
-
column: number;
|
|
799
|
-
compons: {
|
|
800
|
-
[key: string]: Component;
|
|
801
|
-
};
|
|
802
|
-
inlineBox: boolean;
|
|
803
|
-
query: boolean;
|
|
804
|
-
queryInterval: string;
|
|
805
|
-
inlineRight: string;
|
|
806
|
-
itemBottom: string;
|
|
807
|
-
butDisabled: boolean;
|
|
808
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
809
|
-
$slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>;
|
|
335
|
+
} & /*... 4 more elided ...*/ any & (new () => {
|
|
336
|
+
/*elided*/
|
|
810
337
|
})>;
|
|
811
338
|
export { FormsDrag, FormsDrag as default };
|
|
@@ -78,9 +78,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
78
78
|
return `<svg viewBox="0 0 ${props.size || 24} ${props.size || 24}" width="${props.size}" height="${props.size}" xmlns="http://www.w3.org/2000/svg">${name}</svg>`;
|
|
79
79
|
}
|
|
80
80
|
} else if (name.startsWith("f-")) {
|
|
81
|
-
return name.replace(/^f-/, "");
|
|
81
|
+
return name.replace(/^f-/, "icon");
|
|
82
82
|
} else if (name.startsWith("c-")) {
|
|
83
|
-
return name.replace(/^c-/, "");
|
|
83
|
+
return name.replace(/^c-/, "icon");
|
|
84
|
+
} else if (name.startsWith("i-")) {
|
|
85
|
+
return name.replace(/^i-/, "icon");
|
|
84
86
|
}
|
|
85
87
|
return name;
|
|
86
88
|
});
|
|
@@ -111,12 +113,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
111
113
|
outputType.value === "css" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
112
114
|
key: 0,
|
|
113
115
|
ctype: outputType.value,
|
|
114
|
-
class: vue.normalizeClass([
|
|
116
|
+
class: vue.normalizeClass([props.iconClass, outputName.value]),
|
|
115
117
|
style: vue.normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
116
118
|
}, null, 14, _hoisted_1)) : outputType.value === "font" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
117
119
|
key: 1,
|
|
118
120
|
ctype: outputType.value,
|
|
119
|
-
class: vue.normalizeClass([
|
|
121
|
+
class: vue.normalizeClass([props.iconClass, outputName.value]),
|
|
120
122
|
style: vue.normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
121
123
|
}, null, 14, _hoisted_2)) : outputType.value === "img" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
122
124
|
key: 2,
|
|
@@ -76,9 +76,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76
76
|
return `<svg viewBox="0 0 ${props.size || 24} ${props.size || 24}" width="${props.size}" height="${props.size}" xmlns="http://www.w3.org/2000/svg">${name}</svg>`;
|
|
77
77
|
}
|
|
78
78
|
} else if (name.startsWith("f-")) {
|
|
79
|
-
return name.replace(/^f-/, "");
|
|
79
|
+
return name.replace(/^f-/, "icon");
|
|
80
80
|
} else if (name.startsWith("c-")) {
|
|
81
|
-
return name.replace(/^c-/, "");
|
|
81
|
+
return name.replace(/^c-/, "icon");
|
|
82
|
+
} else if (name.startsWith("i-")) {
|
|
83
|
+
return name.replace(/^i-/, "icon");
|
|
82
84
|
}
|
|
83
85
|
return name;
|
|
84
86
|
});
|
|
@@ -109,12 +111,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
111
|
outputType.value === "css" ? (openBlock(), createElementBlock("i", {
|
|
110
112
|
key: 0,
|
|
111
113
|
ctype: outputType.value,
|
|
112
|
-
class: normalizeClass([
|
|
114
|
+
class: normalizeClass([props.iconClass, outputName.value]),
|
|
113
115
|
style: normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
114
116
|
}, null, 14, _hoisted_1)) : outputType.value === "font" ? (openBlock(), createElementBlock("i", {
|
|
115
117
|
key: 1,
|
|
116
118
|
ctype: outputType.value,
|
|
117
|
-
class: normalizeClass([
|
|
119
|
+
class: normalizeClass([props.iconClass, outputName.value]),
|
|
118
120
|
style: normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
119
121
|
}, null, 14, _hoisted_2)) : outputType.value === "img" ? (openBlock(), createElementBlock("img", {
|
|
120
122
|
key: 2,
|