vft 0.0.154 → 0.0.156
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/app-components/button/button-custom.d.ts +1 -1
- package/es/app-components/form/hooks/use-form-common-props.d.ts +5 -4
- package/es/app-components/hooks/use-id.d.ts +2 -1
- package/es/component.js +135 -133
- package/es/components/affix/affix.d.ts +2 -2
- package/es/components/affix/affix.vue.d.ts +1 -1
- package/es/components/affix/index.d.ts +3 -3
- package/es/components/autocomplete/autocomplete.vue.d.ts +18 -18
- package/es/components/autocomplete/index.d.ts +54 -54
- package/es/components/backtop/backtop.vue2.js +3 -2
- package/es/components/button/button-custom.d.ts +1 -1
- package/es/components/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +3 -3
- package/es/components/button/use-button.d.ts +3 -3
- package/es/components/button/use-button.js +3 -3
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +19 -19
- package/es/components/carousel/use-carousel.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +48 -48
- package/es/components/clamp/clamp.vue.d.ts +4 -15
- package/es/components/clamp/clamp.vue2.js +28 -25
- package/es/components/clamp/index.d.ts +10 -3
- package/es/components/clamp/types.d.ts +14 -0
- package/es/components/clamp/types.js +1 -0
- package/es/components/clamp-tooltip/clamp-tooltip.vue.d.ts +12 -0
- package/es/components/clamp-tooltip/clamp-tooltip.vue.js +4 -0
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +47 -0
- package/es/components/clamp-tooltip/index.d.ts +61 -0
- package/es/components/clamp-tooltip/index.js +12 -0
- package/es/components/clamp-tooltip/style/css.d.ts +0 -0
- package/es/components/clamp-tooltip/style/css.js +2 -0
- package/es/components/clamp-tooltip/style/index.d.ts +0 -0
- package/es/components/clamp-tooltip/style/index.js +2 -0
- package/es/components/clamp-tooltip/types.d.ts +6 -0
- package/es/components/clamp-tooltip/types.js +1 -0
- package/es/components/config-provider/hooks/use-global-config.d.ts +3 -2
- package/es/components/container/main.vue2.js +6 -5
- package/es/components/context-menu/context-menu.vue2.js +3 -2
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +4 -20
- package/es/components/date-picker/index.d.ts +8 -40
- package/es/components/date-picker/props/date-picker.d.ts +1 -9
- package/es/components/date-picker/props/shared.d.ts +1 -1
- package/es/components/date-picker/utils.d.ts +1 -1
- package/es/components/dialog/dialog.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/drawer/drawer.vue.d.ts +2 -2
- package/es/components/drawer/index.d.ts +6 -6
- package/es/components/dropdown/dropdown.vue.d.ts +3 -3
- package/es/components/dropdown/index.d.ts +45 -45
- package/es/components/footer-layout/footer-layout.vue2.js +3 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +6 -4
- package/es/components/full-screen/full-screen.vue2.js +13 -10
- package/es/components/full-screen/index.d.ts +18 -0
- package/es/components/header-layout/header-layout.vue2.js +3 -2
- package/es/components/icon/icon.vue2.js +21 -20
- package/es/components/icon-text/icon-text.vue.d.ts +5 -0
- package/es/components/icon-text/icon-text.vue2.js +36 -27
- package/es/components/icon-text/index.d.ts +18 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +335 -333
- package/es/components/loading/index.d.ts +17 -9
- package/es/components/loading/loading.d.ts +17 -9
- package/es/components/md-container/md-container.vue2.js +3 -2
- package/es/components/menu/menu-item.vue2.js +3 -2
- package/es/components/menu/sub-menu.vue2.js +24 -23
- package/es/components/modal/index.d.ts +11 -11
- package/es/components/modal/modal-footer-action.vue2.js +3 -2
- package/es/components/modal/modal.vue.d.ts +1 -1
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +4 -3
- package/es/components/popconfirm/index.d.ts +11 -11
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popover/index.d.ts +8 -8
- package/es/components/popper/composables/use-content-dom.d.ts +3 -1
- package/es/components/popper/composables/use-content.d.ts +70 -6
- package/es/components/popper/index.d.ts +3 -3
- package/es/components/popper/popper.vue.d.ts +2 -1
- package/es/components/popper/utils.d.ts +45 -2
- package/es/components/progress/index.d.ts +4 -4
- package/es/components/radio/index.d.ts +24 -24
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/result/result.vue2.js +3 -2
- package/es/components/router-view-content/index.d.ts +12 -0
- package/es/components/router-view-content/router-view-content.vue.d.ts +2 -0
- package/es/components/router-view-content/router-view-content.vue2.js +48 -33
- package/es/components/select/defaults.d.ts +4 -3
- package/es/components/select/index.d.ts +60 -60
- package/es/components/select/select.vue.d.ts +30 -30
- package/es/components/select/useSelect.d.ts +19 -19
- package/es/components/side-menu/index.d.ts +8 -4
- package/es/components/side-menu/side-menu.vue.d.ts +2 -2
- package/es/components/side-menu/side-menu.vue2.js +6 -3
- package/es/components/slider/composables/use-slide.d.ts +6 -6
- package/es/components/slider/index.d.ts +2 -2
- package/es/components/slider/slider.d.ts +3 -3
- package/es/components/space/index.d.ts +5 -2
- package/es/components/space/space.d.ts +5 -2
- package/es/components/super-form/component-map.js +13 -12
- package/es/components/super-form/index.d.ts +3 -3
- package/es/components/super-form/super-form-action.vue2.js +3 -2
- package/es/components/super-form/super-form-item.vue2.js +3 -2
- package/es/components/super-form/super-form.vue.d.ts +1 -1
- package/es/components/super-form/super-form.vue2.js +3 -2
- package/es/components/table/field.js +19 -18
- package/es/components/table/index.d.ts +32 -32
- package/es/components/table/use/use-columns.d.ts +801 -3
- package/es/components/tabs/index.d.ts +6 -0
- package/es/components/tabs/tab-nav.vue.d.ts +2 -0
- package/es/components/tabs/tab-nav.vue2.js +95 -87
- package/es/components/tabs/tabs.vue.d.ts +2 -0
- package/es/components/tabs/tabs.vue2.js +42 -36
- package/es/components/time-picker/common/picker.vue.d.ts +6 -21
- package/es/components/time-picker/common/props.d.ts +2 -9
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +8 -40
- package/es/components/time-picker/time-picker.d.ts +4 -20
- package/es/components/time-picker/utils.d.ts +1 -1
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +16 -16
- package/es/components/tooltip/utils.d.ts +1 -1
- package/es/components/tree/index.d.ts +16 -16
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/upload/upload.vue.d.ts +1 -1
- package/es/components/upload/use-handlers.d.ts +21 -1
- package/es/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/es/hooks/use-id/index.d.ts +2 -1
- package/es/hooks/use-model-toggle/index.d.ts +2 -2
- package/es/hooks/use-popper/index.d.ts +70 -7
- package/es/hooks/use-same-target/index.d.ts +3 -3
- package/es/hooks/use-z-index/index.d.ts +1 -1
- package/es/index.js +456 -454
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/app-components/button/button-custom.d.ts +1 -1
- package/lib/app-components/form/hooks/use-form-common-props.d.ts +5 -4
- package/lib/app-components/hooks/use-id.d.ts +2 -1
- package/lib/component.cjs +1 -1
- package/lib/components/affix/affix.d.ts +2 -2
- package/lib/components/affix/affix.vue.d.ts +1 -1
- package/lib/components/affix/index.d.ts +3 -3
- package/lib/components/autocomplete/autocomplete.vue.d.ts +18 -18
- package/lib/components/autocomplete/index.d.ts +54 -54
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/button/button-custom.d.ts +1 -1
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +3 -3
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +3 -3
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +19 -19
- package/lib/components/carousel/use-carousel.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +48 -48
- package/lib/components/clamp/clamp.vue.d.ts +4 -15
- package/lib/components/clamp/clamp.vue2.cjs +1 -1
- package/lib/components/clamp/index.d.ts +10 -3
- package/lib/components/clamp/types.cjs +1 -0
- package/lib/components/clamp/types.d.ts +14 -0
- package/lib/components/clamp-tooltip/clamp-tooltip.vue.cjs +1 -0
- package/lib/components/clamp-tooltip/clamp-tooltip.vue.d.ts +12 -0
- package/lib/components/clamp-tooltip/clamp-tooltip.vue2.cjs +1 -0
- package/lib/components/clamp-tooltip/index.cjs +1 -0
- package/lib/components/clamp-tooltip/index.d.ts +61 -0
- package/lib/components/clamp-tooltip/style/css.cjs +1 -0
- package/lib/components/clamp-tooltip/style/css.d.ts +0 -0
- package/lib/components/clamp-tooltip/style/index.cjs +1 -0
- package/lib/components/clamp-tooltip/style/index.d.ts +0 -0
- package/lib/components/clamp-tooltip/types.cjs +1 -0
- package/lib/components/clamp-tooltip/types.d.ts +6 -0
- package/lib/components/config-provider/hooks/use-global-config.d.ts +3 -2
- package/lib/components/container/main.vue2.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +4 -20
- package/lib/components/date-picker/index.d.ts +8 -40
- package/lib/components/date-picker/props/date-picker.d.ts +1 -9
- package/lib/components/date-picker/props/shared.d.ts +1 -1
- package/lib/components/date-picker/utils.d.ts +1 -1
- package/lib/components/dialog/dialog.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/drawer/drawer.vue.d.ts +2 -2
- package/lib/components/drawer/index.d.ts +6 -6
- package/lib/components/dropdown/dropdown.vue.d.ts +3 -3
- package/lib/components/dropdown/index.d.ts +45 -45
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/form/hooks/use-form-common-props.d.ts +6 -4
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/full-screen/index.d.ts +18 -0
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon-text/icon-text.vue.d.ts +5 -0
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/icon-text/index.d.ts +18 -0
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/loading/index.d.ts +17 -9
- package/lib/components/loading/loading.d.ts +17 -9
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/modal/index.d.ts +11 -11
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/modal/modal.vue.d.ts +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +11 -11
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/index.d.ts +8 -8
- package/lib/components/popper/composables/use-content-dom.d.ts +3 -1
- package/lib/components/popper/composables/use-content.d.ts +70 -6
- package/lib/components/popper/index.d.ts +3 -3
- package/lib/components/popper/popper.vue.d.ts +2 -1
- package/lib/components/popper/utils.d.ts +45 -2
- package/lib/components/progress/index.d.ts +4 -4
- package/lib/components/radio/index.d.ts +24 -24
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/router-view-content/index.d.ts +12 -0
- package/lib/components/router-view-content/router-view-content.vue.d.ts +2 -0
- package/lib/components/router-view-content/router-view-content.vue2.cjs +1 -1
- package/lib/components/select/defaults.d.ts +4 -3
- package/lib/components/select/index.d.ts +60 -60
- package/lib/components/select/select.vue.d.ts +30 -30
- package/lib/components/select/useSelect.d.ts +19 -19
- package/lib/components/side-menu/index.d.ts +8 -4
- package/lib/components/side-menu/side-menu.vue.d.ts +2 -2
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/slider/composables/use-slide.d.ts +6 -6
- package/lib/components/slider/index.d.ts +2 -2
- package/lib/components/slider/slider.d.ts +3 -3
- package/lib/components/space/index.d.ts +5 -2
- package/lib/components/space/space.d.ts +5 -2
- package/lib/components/super-form/component-map.cjs +1 -1
- package/lib/components/super-form/index.d.ts +3 -3
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue.d.ts +1 -1
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/index.d.ts +32 -32
- package/lib/components/table/use/use-columns.d.ts +801 -3
- package/lib/components/tabs/index.d.ts +6 -0
- package/lib/components/tabs/tab-nav.vue.d.ts +2 -0
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +2 -0
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +6 -21
- package/lib/components/time-picker/common/props.d.ts +2 -9
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +8 -40
- package/lib/components/time-picker/time-picker.d.ts +4 -20
- package/lib/components/time-picker/utils.d.ts +1 -1
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +16 -16
- package/lib/components/tooltip/utils.d.ts +1 -1
- package/lib/components/tree/index.d.ts +16 -16
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/components/upload/upload.vue.d.ts +1 -1
- package/lib/components/upload/use-handlers.d.ts +21 -1
- package/lib/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/lib/hooks/use-id/index.d.ts +2 -1
- package/lib/hooks/use-model-toggle/index.d.ts +2 -2
- package/lib/hooks/use-popper/index.d.ts +70 -7
- package/lib/hooks/use-same-target/index.d.ts +3 -3
- package/lib/hooks/use-z-index/index.d.ts +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +6 -6
- package/tags.json +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/clamp-tooltip.scss +0 -0
- package/theme-style/src/icon-text.scss +8 -0
- package/theme-style/src/switch.scss +56 -52
- package/theme-style/src/tabs.scss +11 -2
- package/theme-style/vft-clamp-tooltip.css +0 -0
- package/theme-style/vft-icon-text.css +1 -1
- package/theme-style/vft-switch.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/web-types.json +1 -1
|
@@ -467,20 +467,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
467
467
|
disabled: {
|
|
468
468
|
type: globalThis.PropType<boolean>;
|
|
469
469
|
};
|
|
470
|
-
|
|
471
|
-
type: globalThis.PropType<
|
|
472
|
-
default: string;
|
|
470
|
+
min: {
|
|
471
|
+
type: globalThis.PropType<number>;
|
|
473
472
|
};
|
|
474
473
|
max: {
|
|
475
474
|
type: globalThis.PropType<number>;
|
|
476
475
|
};
|
|
476
|
+
tag: {
|
|
477
|
+
type: globalThis.PropType<string>;
|
|
478
|
+
default: string;
|
|
479
|
+
};
|
|
477
480
|
validateEvent: {
|
|
478
481
|
type: globalThis.PropType<boolean>;
|
|
479
482
|
default: boolean;
|
|
480
483
|
};
|
|
481
|
-
min: {
|
|
482
|
-
type: globalThis.PropType<number>;
|
|
483
|
-
};
|
|
484
484
|
textColor: {
|
|
485
485
|
type: globalThis.PropType<string>;
|
|
486
486
|
};
|
|
@@ -513,20 +513,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
513
513
|
disabled: {
|
|
514
514
|
type: globalThis.PropType<boolean>;
|
|
515
515
|
};
|
|
516
|
-
|
|
517
|
-
type: globalThis.PropType<
|
|
518
|
-
default: string;
|
|
516
|
+
min: {
|
|
517
|
+
type: globalThis.PropType<number>;
|
|
519
518
|
};
|
|
520
519
|
max: {
|
|
521
520
|
type: globalThis.PropType<number>;
|
|
522
521
|
};
|
|
522
|
+
tag: {
|
|
523
|
+
type: globalThis.PropType<string>;
|
|
524
|
+
default: string;
|
|
525
|
+
};
|
|
523
526
|
validateEvent: {
|
|
524
527
|
type: globalThis.PropType<boolean>;
|
|
525
528
|
default: boolean;
|
|
526
529
|
};
|
|
527
|
-
min: {
|
|
528
|
-
type: globalThis.PropType<number>;
|
|
529
|
-
};
|
|
530
530
|
textColor: {
|
|
531
531
|
type: globalThis.PropType<string>;
|
|
532
532
|
};
|
|
@@ -567,20 +567,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
567
567
|
disabled: {
|
|
568
568
|
type: globalThis.PropType<boolean>;
|
|
569
569
|
};
|
|
570
|
-
|
|
571
|
-
type: globalThis.PropType<
|
|
572
|
-
default: string;
|
|
570
|
+
min: {
|
|
571
|
+
type: globalThis.PropType<number>;
|
|
573
572
|
};
|
|
574
573
|
max: {
|
|
575
574
|
type: globalThis.PropType<number>;
|
|
576
575
|
};
|
|
576
|
+
tag: {
|
|
577
|
+
type: globalThis.PropType<string>;
|
|
578
|
+
default: string;
|
|
579
|
+
};
|
|
577
580
|
validateEvent: {
|
|
578
581
|
type: globalThis.PropType<boolean>;
|
|
579
582
|
default: boolean;
|
|
580
583
|
};
|
|
581
|
-
min: {
|
|
582
|
-
type: globalThis.PropType<number>;
|
|
583
|
-
};
|
|
584
584
|
textColor: {
|
|
585
585
|
type: globalThis.PropType<string>;
|
|
586
586
|
};
|
|
@@ -618,20 +618,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
618
618
|
disabled: {
|
|
619
619
|
type: globalThis.PropType<boolean>;
|
|
620
620
|
};
|
|
621
|
-
|
|
622
|
-
type: globalThis.PropType<
|
|
623
|
-
default: string;
|
|
621
|
+
min: {
|
|
622
|
+
type: globalThis.PropType<number>;
|
|
624
623
|
};
|
|
625
624
|
max: {
|
|
626
625
|
type: globalThis.PropType<number>;
|
|
627
626
|
};
|
|
627
|
+
tag: {
|
|
628
|
+
type: globalThis.PropType<string>;
|
|
629
|
+
default: string;
|
|
630
|
+
};
|
|
628
631
|
validateEvent: {
|
|
629
632
|
type: globalThis.PropType<boolean>;
|
|
630
633
|
default: boolean;
|
|
631
634
|
};
|
|
632
|
-
min: {
|
|
633
|
-
type: globalThis.PropType<number>;
|
|
634
|
-
};
|
|
635
635
|
textColor: {
|
|
636
636
|
type: globalThis.PropType<string>;
|
|
637
637
|
};
|
|
@@ -895,20 +895,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
895
895
|
disabled: {
|
|
896
896
|
type: globalThis.PropType<boolean>;
|
|
897
897
|
};
|
|
898
|
-
|
|
899
|
-
type: globalThis.PropType<
|
|
900
|
-
default: string;
|
|
898
|
+
min: {
|
|
899
|
+
type: globalThis.PropType<number>;
|
|
901
900
|
};
|
|
902
901
|
max: {
|
|
903
902
|
type: globalThis.PropType<number>;
|
|
904
903
|
};
|
|
904
|
+
tag: {
|
|
905
|
+
type: globalThis.PropType<string>;
|
|
906
|
+
default: string;
|
|
907
|
+
};
|
|
905
908
|
validateEvent: {
|
|
906
909
|
type: globalThis.PropType<boolean>;
|
|
907
910
|
default: boolean;
|
|
908
911
|
};
|
|
909
|
-
min: {
|
|
910
|
-
type: globalThis.PropType<number>;
|
|
911
|
-
};
|
|
912
912
|
textColor: {
|
|
913
913
|
type: globalThis.PropType<string>;
|
|
914
914
|
};
|
|
@@ -941,20 +941,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
941
941
|
disabled: {
|
|
942
942
|
type: globalThis.PropType<boolean>;
|
|
943
943
|
};
|
|
944
|
-
|
|
945
|
-
type: globalThis.PropType<
|
|
946
|
-
default: string;
|
|
944
|
+
min: {
|
|
945
|
+
type: globalThis.PropType<number>;
|
|
947
946
|
};
|
|
948
947
|
max: {
|
|
949
948
|
type: globalThis.PropType<number>;
|
|
950
949
|
};
|
|
950
|
+
tag: {
|
|
951
|
+
type: globalThis.PropType<string>;
|
|
952
|
+
default: string;
|
|
953
|
+
};
|
|
951
954
|
validateEvent: {
|
|
952
955
|
type: globalThis.PropType<boolean>;
|
|
953
956
|
default: boolean;
|
|
954
957
|
};
|
|
955
|
-
min: {
|
|
956
|
-
type: globalThis.PropType<number>;
|
|
957
|
-
};
|
|
958
958
|
textColor: {
|
|
959
959
|
type: globalThis.PropType<string>;
|
|
960
960
|
};
|
|
@@ -995,20 +995,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
995
995
|
disabled: {
|
|
996
996
|
type: globalThis.PropType<boolean>;
|
|
997
997
|
};
|
|
998
|
-
|
|
999
|
-
type: globalThis.PropType<
|
|
1000
|
-
default: string;
|
|
998
|
+
min: {
|
|
999
|
+
type: globalThis.PropType<number>;
|
|
1001
1000
|
};
|
|
1002
1001
|
max: {
|
|
1003
1002
|
type: globalThis.PropType<number>;
|
|
1004
1003
|
};
|
|
1004
|
+
tag: {
|
|
1005
|
+
type: globalThis.PropType<string>;
|
|
1006
|
+
default: string;
|
|
1007
|
+
};
|
|
1005
1008
|
validateEvent: {
|
|
1006
1009
|
type: globalThis.PropType<boolean>;
|
|
1007
1010
|
default: boolean;
|
|
1008
1011
|
};
|
|
1009
|
-
min: {
|
|
1010
|
-
type: globalThis.PropType<number>;
|
|
1011
|
-
};
|
|
1012
1012
|
textColor: {
|
|
1013
1013
|
type: globalThis.PropType<string>;
|
|
1014
1014
|
};
|
|
@@ -1046,20 +1046,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
1046
1046
|
disabled: {
|
|
1047
1047
|
type: globalThis.PropType<boolean>;
|
|
1048
1048
|
};
|
|
1049
|
-
|
|
1050
|
-
type: globalThis.PropType<
|
|
1051
|
-
default: string;
|
|
1049
|
+
min: {
|
|
1050
|
+
type: globalThis.PropType<number>;
|
|
1052
1051
|
};
|
|
1053
1052
|
max: {
|
|
1054
1053
|
type: globalThis.PropType<number>;
|
|
1055
1054
|
};
|
|
1055
|
+
tag: {
|
|
1056
|
+
type: globalThis.PropType<string>;
|
|
1057
|
+
default: string;
|
|
1058
|
+
};
|
|
1056
1059
|
validateEvent: {
|
|
1057
1060
|
type: globalThis.PropType<boolean>;
|
|
1058
1061
|
default: boolean;
|
|
1059
1062
|
};
|
|
1060
|
-
min: {
|
|
1061
|
-
type: globalThis.PropType<number>;
|
|
1062
|
-
};
|
|
1063
1063
|
textColor: {
|
|
1064
1064
|
type: globalThis.PropType<string>;
|
|
1065
1065
|
};
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/** 最多几行 */
|
|
6
|
-
maxLines?: number;
|
|
7
|
-
/** 是否需要展开设置 */
|
|
8
|
-
expanded?: boolean;
|
|
9
|
-
/** ...文字设置 */
|
|
10
|
-
ellipsis?: string;
|
|
11
|
-
/** resize 是否监听 */
|
|
12
|
-
autoResize?: boolean;
|
|
13
|
-
location?: 'start' | 'middle' | 'end';
|
|
14
|
-
}
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ClampProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1
|
+
import type { ClampProps } from './types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ClampProps>, {
|
|
3
|
+
isClamped: globalThis.ComputedRef<boolean>;
|
|
4
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
5
|
"clamp-change": (data: boolean) => void;
|
|
17
6
|
"update:expanded": (data: boolean) => void;
|
|
18
7
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ClampProps>>> & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as M, ref as v, reactive as
|
|
2
|
-
import { addUnit as
|
|
3
|
-
import { addListener as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as M, ref as v, reactive as N, computed as u, watch as s, nextTick as E, onUnmounted as V, onMounted as q, openBlock as D, createElementBlock as G, normalizeStyle as I, createElementVNode as w, renderSlot as B } from "vue";
|
|
2
|
+
import { addUnit as J } from "@vft/utils";
|
|
3
|
+
import { addListener as K, removeListener as P } from "resize-detector";
|
|
4
|
+
const Q = ["title", "aria-label"], W = M({
|
|
5
5
|
name: "vft-clamp"
|
|
6
|
-
}),
|
|
7
|
-
...
|
|
6
|
+
}), p = /* @__PURE__ */ M({
|
|
7
|
+
...W,
|
|
8
8
|
props: {
|
|
9
9
|
text: {},
|
|
10
10
|
maxHeight: {},
|
|
@@ -15,21 +15,21 @@ const P = ["aria-label"], Q = M({
|
|
|
15
15
|
location: { default: "end" }
|
|
16
16
|
},
|
|
17
17
|
emits: ["clamp-change", "update:expanded"],
|
|
18
|
-
setup(e, {
|
|
19
|
-
const R =
|
|
18
|
+
setup(e, { expose: T, emit: $ }) {
|
|
19
|
+
const R = $, a = v(null), r = v(null), x = v(null), l = N({
|
|
20
20
|
offset: 0,
|
|
21
21
|
localExpanded: e.expanded,
|
|
22
22
|
unregisterResizeCallback: null
|
|
23
|
-
}),
|
|
23
|
+
}), j = u(() => {
|
|
24
24
|
if (!l.localExpanded && e.maxHeight)
|
|
25
|
-
return
|
|
25
|
+
return J(e.maxHeight);
|
|
26
26
|
}), y = () => {
|
|
27
|
-
x.value && (x.value.textContent =
|
|
27
|
+
x.value && (x.value.textContent = S.value);
|
|
28
28
|
}, c = () => {
|
|
29
29
|
l.localExpanded || (y(), (d() || n.value) && g());
|
|
30
30
|
}, k = () => {
|
|
31
|
-
e.text && (l.offset = e.text.length, C(), e.autoResize && a.value && (
|
|
32
|
-
a.value &&
|
|
31
|
+
e.text && (l.offset = e.text.length, C(), e.autoResize && a.value && (K(a.value, c), l.unregisterResizeCallback = () => {
|
|
32
|
+
a.value && P(a.value, c);
|
|
33
33
|
}), c());
|
|
34
34
|
}, C = () => {
|
|
35
35
|
var t;
|
|
@@ -42,19 +42,19 @@ const P = ["aria-label"], Q = M({
|
|
|
42
42
|
).length : 0, g = (...t) => {
|
|
43
43
|
const [i = 0, f = l.offset] = t;
|
|
44
44
|
if (f - i <= 3) {
|
|
45
|
-
|
|
45
|
+
U();
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
48
|
const o = Math.floor((f + i) / 2);
|
|
49
49
|
h(o), d() ? g(i, o) : g(o, f);
|
|
50
50
|
}, h = (t) => {
|
|
51
51
|
l.offset = t, y();
|
|
52
|
-
}, j = () => {
|
|
53
|
-
U(), A();
|
|
54
52
|
}, U = () => {
|
|
53
|
+
A(), O();
|
|
54
|
+
}, A = () => {
|
|
55
55
|
for (; (!d() || m() < 2) && l.offset < e.text.length; )
|
|
56
56
|
H(1);
|
|
57
|
-
},
|
|
57
|
+
}, O = () => {
|
|
58
58
|
for (; d() && m() > 1 && l.offset > 0; )
|
|
59
59
|
H(-1);
|
|
60
60
|
}, H = (t) => {
|
|
@@ -69,7 +69,7 @@ const P = ["aria-label"], Q = M({
|
|
|
69
69
|
},
|
|
70
70
|
{ immediate: !0 }
|
|
71
71
|
);
|
|
72
|
-
const
|
|
72
|
+
const S = u(() => n.value ? F.value : e.text), F = u(() => {
|
|
73
73
|
if (e.location === "start")
|
|
74
74
|
return e.ellipsis + (e.text.slice(0, l.offset) || "").trim();
|
|
75
75
|
if (e.location === "middle") {
|
|
@@ -108,17 +108,19 @@ const P = ["aria-label"], Q = M({
|
|
|
108
108
|
k();
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
),
|
|
111
|
+
), V(() => {
|
|
112
112
|
C();
|
|
113
|
-
}),
|
|
113
|
+
}), q(() => {
|
|
114
114
|
k();
|
|
115
|
-
}), (
|
|
115
|
+
}), T({
|
|
116
|
+
isClamped: n
|
|
117
|
+
}), (t, i) => (D(), G("div", {
|
|
116
118
|
ref_key: "textClampRef",
|
|
117
119
|
ref: a,
|
|
118
120
|
class: "text-clamp",
|
|
119
|
-
style:
|
|
121
|
+
style: I({
|
|
120
122
|
overflow: "hidden",
|
|
121
|
-
maxHeight:
|
|
123
|
+
maxHeight: j.value
|
|
122
124
|
})
|
|
123
125
|
}, [
|
|
124
126
|
w("span", {
|
|
@@ -135,8 +137,9 @@ const P = ["aria-label"], Q = M({
|
|
|
135
137
|
w("span", {
|
|
136
138
|
ref_key: "textRef",
|
|
137
139
|
ref: x,
|
|
140
|
+
title: t.text,
|
|
138
141
|
"aria-label": t.text
|
|
139
|
-
}, null, 8,
|
|
142
|
+
}, null, 8, Q),
|
|
140
143
|
B(t.$slots, "after", {
|
|
141
144
|
expand: L,
|
|
142
145
|
collapse: b,
|
|
@@ -149,5 +152,5 @@ const P = ["aria-label"], Q = M({
|
|
|
149
152
|
}
|
|
150
153
|
});
|
|
151
154
|
export {
|
|
152
|
-
|
|
155
|
+
p as default
|
|
153
156
|
};
|
|
@@ -25,7 +25,9 @@ export declare const VftClamp: import("vft/es/utils").SFCWithInstall<{
|
|
|
25
25
|
}>> & {
|
|
26
26
|
"onClamp-change"?: ((data: boolean) => any) | undefined;
|
|
27
27
|
"onUpdate:expanded"?: ((data: boolean) => any) | undefined;
|
|
28
|
-
}, {
|
|
28
|
+
}, {
|
|
29
|
+
isClamped: globalThis.ComputedRef<boolean>;
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
31
|
"clamp-change": (data: boolean) => void;
|
|
30
32
|
"update:expanded": (data: boolean) => void;
|
|
31
33
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -87,7 +89,9 @@ export declare const VftClamp: import("vft/es/utils").SFCWithInstall<{
|
|
|
87
89
|
}>> & {
|
|
88
90
|
"onClamp-change"?: ((data: boolean) => any) | undefined;
|
|
89
91
|
"onUpdate:expanded"?: ((data: boolean) => any) | undefined;
|
|
90
|
-
}, {
|
|
92
|
+
}, {
|
|
93
|
+
isClamped: globalThis.ComputedRef<boolean>;
|
|
94
|
+
}, {}, {}, {}, {}>;
|
|
91
95
|
__isFragment?: undefined;
|
|
92
96
|
__isTeleport?: undefined;
|
|
93
97
|
__isSuspense?: undefined;
|
|
@@ -117,7 +121,9 @@ export declare const VftClamp: import("vft/es/utils").SFCWithInstall<{
|
|
|
117
121
|
}>> & {
|
|
118
122
|
"onClamp-change"?: ((data: boolean) => any) | undefined;
|
|
119
123
|
"onUpdate:expanded"?: ((data: boolean) => any) | undefined;
|
|
120
|
-
}, {
|
|
124
|
+
}, {
|
|
125
|
+
isClamped: globalThis.ComputedRef<boolean>;
|
|
126
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
121
127
|
"clamp-change": (data: boolean) => void;
|
|
122
128
|
"update:expanded": (data: boolean) => void;
|
|
123
129
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -138,4 +144,5 @@ export declare const VftClamp: import("vft/es/utils").SFCWithInstall<{
|
|
|
138
144
|
}): any;
|
|
139
145
|
};
|
|
140
146
|
})> & Record<string, any>;
|
|
147
|
+
export * from './types';
|
|
141
148
|
export default VftClamp;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ClampProps {
|
|
2
|
+
text: string;
|
|
3
|
+
/** 最大高度 */
|
|
4
|
+
maxHeight?: string | number;
|
|
5
|
+
/** 最多几行 */
|
|
6
|
+
maxLines?: number;
|
|
7
|
+
/** 是否需要展开设置 */
|
|
8
|
+
expanded?: boolean;
|
|
9
|
+
/** ...文字设置 */
|
|
10
|
+
ellipsis?: string;
|
|
11
|
+
/** resize 是否监听 */
|
|
12
|
+
autoResize?: boolean;
|
|
13
|
+
location?: 'start' | 'middle' | 'end';
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ClampTooltipProps } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ClampTooltipProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ClampTooltipProps>>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as _, resolveComponent as m, openBlock as o, createElementBlock as d, Fragment as k, createVNode as l, unref as t, withCtx as r, mergeProps as s, createBlock as c } from "vue";
|
|
2
|
+
import { createReusableTemplate as y } from "@vueuse/core";
|
|
3
|
+
const v = /* @__PURE__ */ _({
|
|
4
|
+
__name: "clamp-tooltip",
|
|
5
|
+
props: {
|
|
6
|
+
showTooltip: { type: Boolean },
|
|
7
|
+
tooltipCfg: {},
|
|
8
|
+
text: {},
|
|
9
|
+
maxHeight: {},
|
|
10
|
+
maxLines: {},
|
|
11
|
+
expanded: { type: Boolean },
|
|
12
|
+
ellipsis: {},
|
|
13
|
+
autoResize: { type: Boolean },
|
|
14
|
+
location: {}
|
|
15
|
+
},
|
|
16
|
+
setup(B) {
|
|
17
|
+
const p = ref(), [i, n] = y();
|
|
18
|
+
return (e, C) => {
|
|
19
|
+
var a;
|
|
20
|
+
const f = m("vft-clamp"), u = m("vft-tooltip");
|
|
21
|
+
return o(), d(k, null, [
|
|
22
|
+
l(t(i), null, {
|
|
23
|
+
default: r(() => [
|
|
24
|
+
l(f, s({
|
|
25
|
+
ref_key: "clampRef",
|
|
26
|
+
ref: p
|
|
27
|
+
}, e.$props), null, 16)
|
|
28
|
+
]),
|
|
29
|
+
_: 1
|
|
30
|
+
}),
|
|
31
|
+
e.showTooltip ? (o(), c(u, s({
|
|
32
|
+
key: 0,
|
|
33
|
+
disabled: !((a = t(p)) != null && a.isClamped),
|
|
34
|
+
content: e.text
|
|
35
|
+
}, e.tooltipCfg), {
|
|
36
|
+
default: r(() => [
|
|
37
|
+
l(t(n))
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 16, ["disabled", "content"])) : (o(), c(t(n), { key: 1 }))
|
|
41
|
+
], 64);
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
v as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export declare const VftClampTooltip: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
showTooltip: {
|
|
4
|
+
type: globalThis.PropType<boolean>;
|
|
5
|
+
};
|
|
6
|
+
tooltipCfg: {
|
|
7
|
+
type: globalThis.PropType<Partial<import("..").ToolTipProps>>;
|
|
8
|
+
};
|
|
9
|
+
text: {
|
|
10
|
+
type: globalThis.PropType<string>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
maxHeight: {
|
|
14
|
+
type: globalThis.PropType<string | number>;
|
|
15
|
+
};
|
|
16
|
+
maxLines: {
|
|
17
|
+
type: globalThis.PropType<number>;
|
|
18
|
+
};
|
|
19
|
+
expanded: {
|
|
20
|
+
type: globalThis.PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
ellipsis: {
|
|
23
|
+
type: globalThis.PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
autoResize: {
|
|
26
|
+
type: globalThis.PropType<boolean>;
|
|
27
|
+
};
|
|
28
|
+
location: {
|
|
29
|
+
type: globalThis.PropType<"start" | "end" | "middle">;
|
|
30
|
+
};
|
|
31
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
32
|
+
showTooltip: {
|
|
33
|
+
type: globalThis.PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
tooltipCfg: {
|
|
36
|
+
type: globalThis.PropType<Partial<import("..").ToolTipProps>>;
|
|
37
|
+
};
|
|
38
|
+
text: {
|
|
39
|
+
type: globalThis.PropType<string>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
maxHeight: {
|
|
43
|
+
type: globalThis.PropType<string | number>;
|
|
44
|
+
};
|
|
45
|
+
maxLines: {
|
|
46
|
+
type: globalThis.PropType<number>;
|
|
47
|
+
};
|
|
48
|
+
expanded: {
|
|
49
|
+
type: globalThis.PropType<boolean>;
|
|
50
|
+
};
|
|
51
|
+
ellipsis: {
|
|
52
|
+
type: globalThis.PropType<string>;
|
|
53
|
+
};
|
|
54
|
+
autoResize: {
|
|
55
|
+
type: globalThis.PropType<boolean>;
|
|
56
|
+
};
|
|
57
|
+
location: {
|
|
58
|
+
type: globalThis.PropType<"start" | "end" | "middle">;
|
|
59
|
+
};
|
|
60
|
+
}>>, {}, {}>> & Record<string, any>;
|
|
61
|
+
export default VftClampTooltip;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
3
|
+
import "../../utils/ns-cover.js";
|
|
4
|
+
import { withInstall as t } from "../../utils/vue/install.js";
|
|
5
|
+
import "lodash";
|
|
6
|
+
import "vue";
|
|
7
|
+
import o from "./clamp-tooltip.vue2.js";
|
|
8
|
+
const s = t(o);
|
|
9
|
+
export {
|
|
10
|
+
s as VftClampTooltip,
|
|
11
|
+
s as default
|
|
12
|
+
};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MaybeRef } from '@vueuse/core';
|
|
1
2
|
import type { App, Ref } from 'vue';
|
|
2
3
|
import type { ConfigProviderContext } from '../constants';
|
|
3
4
|
export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
|
|
@@ -22,9 +23,9 @@ export declare function useGlobalComponentSettings(block: string): {
|
|
|
22
23
|
cssVarBlockName: (name: string) => string;
|
|
23
24
|
};
|
|
24
25
|
zIndex: {
|
|
25
|
-
initialZIndex: globalThis.ComputedRef<number
|
|
26
|
+
initialZIndex: globalThis.ComputedRef<number>;
|
|
26
27
|
currentZIndex: globalThis.ComputedRef<number>;
|
|
27
28
|
nextZIndex: () => number;
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
|
-
export declare const provideGlobalConfig: (config: MaybeRef<
|
|
31
|
+
export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => globalThis.ComputedRef<Partial<import("../config-provider.vue").ConfigProviderProps>> | undefined;
|
|
@@ -6,18 +6,19 @@ import "lodash";
|
|
|
6
6
|
import { useNamespace as p } from "../../hooks/use-namespace/index.js";
|
|
7
7
|
import "@popperjs/core";
|
|
8
8
|
import "../../hooks/use-z-index/index.js";
|
|
9
|
-
const
|
|
9
|
+
const t = (
|
|
10
10
|
/* hoist-static*/
|
|
11
11
|
p("main")
|
|
12
12
|
), i = e({
|
|
13
|
-
name:
|
|
13
|
+
name: t.b()
|
|
14
14
|
}), h = /* @__PURE__ */ e({
|
|
15
15
|
...i,
|
|
16
16
|
setup(c) {
|
|
17
|
-
return (
|
|
18
|
-
|
|
17
|
+
return (o, l) => (r(), m("main", {
|
|
18
|
+
ref: "testRef",
|
|
19
|
+
class: n(s(t).b())
|
|
19
20
|
}, [
|
|
20
|
-
a(
|
|
21
|
+
a(o.$slots, "default")
|
|
21
22
|
], 2));
|
|
22
23
|
}
|
|
23
24
|
});
|
|
@@ -9,6 +9,7 @@ import "../check-tag/index.js";
|
|
|
9
9
|
import "../checkbox/index.js";
|
|
10
10
|
import "../clamp/index.js";
|
|
11
11
|
import "../clamp-toggle/index.js";
|
|
12
|
+
import "../clamp-tooltip/index.js";
|
|
12
13
|
import "../col/index.js";
|
|
13
14
|
import "../collapse-transition/index.js";
|
|
14
15
|
import "../color-picker/index.js";
|
|
@@ -98,7 +99,7 @@ const R = { class: "vft-sub-menu" }, v = (
|
|
|
98
99
|
N("context-menu")
|
|
99
100
|
), T = f({
|
|
100
101
|
name: v.b()
|
|
101
|
-
}),
|
|
102
|
+
}), $o = /* @__PURE__ */ f({
|
|
102
103
|
...T,
|
|
103
104
|
props: {
|
|
104
105
|
axis: {},
|
|
@@ -186,5 +187,5 @@ const R = { class: "vft-sub-menu" }, v = (
|
|
|
186
187
|
}
|
|
187
188
|
});
|
|
188
189
|
export {
|
|
189
|
-
|
|
190
|
+
$o as default
|
|
190
191
|
};
|
|
@@ -55,7 +55,7 @@ export declare const useRangePicker: (props: PanelRangeSharedProps, { defaultVal
|
|
|
55
55
|
startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
56
56
|
endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
57
57
|
format: (template?: string | undefined) => string;
|
|
58
|
-
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "
|
|
58
|
+
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
|
|
59
59
|
valueOf: () => number;
|
|
60
60
|
unix: () => number;
|
|
61
61
|
daysInMonth: () => number;
|