giime 0.0.0-beta.10 → 0.0.0-beta.11
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/index.css +118 -118
- package/es/components/src/base/countdown/Countdown.vue.d.ts +4 -1
- package/es/components/src/base/countdown/Countdown.vue2.mjs +24 -6
- package/es/components/src/base/countdown/Countdown.vue2.mjs.map +1 -1
- package/es/components/src/base/countdown/index.d.ts +6 -1
- package/es/components/src/base/statistic/Statistic.vue.d.ts +1 -0
- package/es/components/src/base/statistic/Statistic.vue2.mjs +6 -1
- package/es/components/src/base/statistic/Statistic.vue2.mjs.map +1 -1
- package/es/components/src/base/statistic/index.d.ts +1 -0
- package/es/components/src/base/step/Step.vue.d.ts +3 -1
- package/es/components/src/base/step/Step.vue2.mjs +17 -3
- package/es/components/src/base/step/Step.vue2.mjs.map +1 -1
- package/es/components/src/base/step/index.d.ts +3 -1
- package/es/components/src/base/switch/Switch.vue.d.ts +3 -1
- package/es/components/src/base/switch/Switch.vue2.mjs +17 -6
- package/es/components/src/base/switch/Switch.vue2.mjs.map +1 -1
- package/es/components/src/base/switch/index.d.ts +5 -1
- package/es/components/src/base/table/index.d.ts +15 -13
- package/es/components/src/base/table/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/index.css +118 -118
- package/lib/components/src/base/countdown/Countdown.vue.d.ts +4 -1
- package/lib/components/src/base/countdown/Countdown.vue2.js +23 -5
- package/lib/components/src/base/countdown/Countdown.vue2.js.map +1 -1
- package/lib/components/src/base/countdown/index.d.ts +6 -1
- package/lib/components/src/base/statistic/Statistic.vue.d.ts +1 -0
- package/lib/components/src/base/statistic/Statistic.vue2.js +6 -1
- package/lib/components/src/base/statistic/Statistic.vue2.js.map +1 -1
- package/lib/components/src/base/statistic/index.d.ts +1 -0
- package/lib/components/src/base/step/Step.vue.d.ts +3 -1
- package/lib/components/src/base/step/Step.vue2.js +17 -3
- package/lib/components/src/base/step/Step.vue2.js.map +1 -1
- package/lib/components/src/base/step/index.d.ts +3 -1
- package/lib/components/src/base/switch/Switch.vue.d.ts +3 -1
- package/lib/components/src/base/switch/Switch.vue2.js +16 -5
- package/lib/components/src/base/switch/Switch.vue2.js.map +1 -1
- package/lib/components/src/base/switch/index.d.ts +5 -1
- package/lib/components/src/base/table/index.d.ts +15 -13
- package/lib/components/src/base/table/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/index.css +118 -118
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,121 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
.drawer-title[data-v-8d23de37] {
|
|
3
|
-
font-size: 14px;
|
|
4
|
-
border-bottom: 2px solid #f2f2f2;
|
|
5
|
-
margin: 0 -20px;
|
|
6
|
-
padding: 0 20px 20px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
#column-group[data-v-8d23de37] {
|
|
10
|
-
height: calc(100vh - 265px);
|
|
11
|
-
overflow-y: auto;
|
|
12
|
-
}
|
|
13
|
-
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar {
|
|
14
|
-
/*滚动条整体样式*/
|
|
15
|
-
width: 4px;
|
|
16
|
-
/*高宽分别对应横竖滚动条的尺寸*/
|
|
17
|
-
height: 1px;
|
|
18
|
-
}
|
|
19
|
-
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar-thumb {
|
|
20
|
-
/*滚动条里面小方块*/
|
|
21
|
-
border-radius: 10px;
|
|
22
|
-
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
23
|
-
background: #999;
|
|
24
|
-
}
|
|
25
|
-
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar-track {
|
|
26
|
-
/*滚动条里面轨道*/
|
|
27
|
-
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
28
|
-
border-radius: 10px;
|
|
29
|
-
background: #eee;
|
|
30
|
-
}
|
|
31
|
-
#column-group[data-v-8d23de37] .column-checked[data-v-8d23de37] {
|
|
32
|
-
margin-left: -36px;
|
|
33
|
-
}
|
|
34
|
-
#column-group[data-v-8d23de37] [data-v-8d23de37] .el-input__wrapper {
|
|
35
|
-
box-shadow: none;
|
|
36
|
-
}
|
|
37
|
-
#column-group[data-v-8d23de37] ul[data-v-8d23de37]:last-child {
|
|
38
|
-
border-bottom: 1px solid #e5e7eb;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.column-class[data-v-8d23de37] > ul[data-v-8d23de37]:first-child {
|
|
42
|
-
padding-right: 4px;
|
|
43
|
-
}
|
|
44
|
-
.column-class[data-v-8d23de37] #column-group[data-v-8d23de37] ul[data-v-8d23de37]:last-child {
|
|
45
|
-
border-bottom: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.drawer-footer-btn[data-v-8d23de37] {
|
|
49
|
-
margin: 15px -20px -20px;
|
|
50
|
-
padding: 15px 20px;
|
|
51
|
-
}
|
|
52
|
-
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .cell {
|
|
53
|
-
white-space: pre-line !important;
|
|
54
|
-
}
|
|
55
|
-
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .el-tooltip {
|
|
56
|
-
white-space: nowrap !important;
|
|
57
|
-
}
|
|
58
|
-
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .el-scrollbar__bar.is-horizontal {
|
|
59
|
-
height: 12px;
|
|
60
|
-
border-radius: 12px;
|
|
61
|
-
}
|
|
62
|
-
#table-page[data-v-e6c3b52b] .operate-wrap[data-v-e6c3b52b] {
|
|
63
|
-
text-align: center;
|
|
64
|
-
}
|
|
65
|
-
#table-page[data-v-e6c3b52b] .el-button[data-v-e6c3b52b] {
|
|
66
|
-
margin: 0 3px !important;
|
|
67
|
-
}
|
|
68
|
-
@charset "UTF-8";
|
|
69
|
-
.drawer-title[data-v-7b4ee322] {
|
|
70
|
-
font-size: 14px;
|
|
71
|
-
border-bottom: 2px solid #f2f2f2;
|
|
72
|
-
margin: 0 -20px;
|
|
73
|
-
padding: 0 20px 20px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
#column-group[data-v-7b4ee322] {
|
|
77
|
-
height: calc(100vh - 265px);
|
|
78
|
-
overflow-y: auto;
|
|
79
|
-
}
|
|
80
|
-
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar {
|
|
81
|
-
/*滚动条整体样式*/
|
|
82
|
-
width: 4px;
|
|
83
|
-
/*高宽分别对应横竖滚动条的尺寸*/
|
|
84
|
-
height: 1px;
|
|
85
|
-
}
|
|
86
|
-
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar-thumb {
|
|
87
|
-
/*滚动条里面小方块*/
|
|
88
|
-
border-radius: 10px;
|
|
89
|
-
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
90
|
-
background: #999;
|
|
91
|
-
}
|
|
92
|
-
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar-track {
|
|
93
|
-
/*滚动条里面轨道*/
|
|
94
|
-
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
95
|
-
border-radius: 10px;
|
|
96
|
-
background: #eee;
|
|
97
|
-
}
|
|
98
|
-
#column-group[data-v-7b4ee322] .column-checked[data-v-7b4ee322] {
|
|
99
|
-
margin-left: -36px;
|
|
100
|
-
}
|
|
101
|
-
#column-group[data-v-7b4ee322] [data-v-7b4ee322] .el-input__wrapper {
|
|
102
|
-
box-shadow: none;
|
|
103
|
-
}
|
|
104
|
-
#column-group[data-v-7b4ee322] ul[data-v-7b4ee322]:last-child {
|
|
105
|
-
border-bottom: 1px solid #e5e7eb;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.column-class[data-v-7b4ee322] > ul[data-v-7b4ee322]:first-child {
|
|
109
|
-
padding-right: 4px;
|
|
110
|
-
}
|
|
111
|
-
.column-class[data-v-7b4ee322] #column-group[data-v-7b4ee322] ul[data-v-7b4ee322]:last-child {
|
|
112
|
-
border-bottom: none;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.drawer-footer-btn[data-v-7b4ee322] {
|
|
116
|
-
margin: 15px -20px -20px;
|
|
117
|
-
padding: 15px 20px;
|
|
118
|
-
}
|
|
119
1
|
/*
|
|
120
2
|
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
|
|
121
3
|
*//*
|
|
@@ -752,4 +634,122 @@ video {
|
|
|
752
634
|
.gm-text-orange-400 {
|
|
753
635
|
--tw-text-opacity: 1;
|
|
754
636
|
color: rgb(251 146 60 / var(--tw-text-opacity));
|
|
637
|
+
}
|
|
638
|
+
@charset "UTF-8";
|
|
639
|
+
.drawer-title[data-v-7b4ee322] {
|
|
640
|
+
font-size: 14px;
|
|
641
|
+
border-bottom: 2px solid #f2f2f2;
|
|
642
|
+
margin: 0 -20px;
|
|
643
|
+
padding: 0 20px 20px;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
#column-group[data-v-7b4ee322] {
|
|
647
|
+
height: calc(100vh - 265px);
|
|
648
|
+
overflow-y: auto;
|
|
649
|
+
}
|
|
650
|
+
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar {
|
|
651
|
+
/*滚动条整体样式*/
|
|
652
|
+
width: 4px;
|
|
653
|
+
/*高宽分别对应横竖滚动条的尺寸*/
|
|
654
|
+
height: 1px;
|
|
655
|
+
}
|
|
656
|
+
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar-thumb {
|
|
657
|
+
/*滚动条里面小方块*/
|
|
658
|
+
border-radius: 10px;
|
|
659
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
660
|
+
background: #999;
|
|
661
|
+
}
|
|
662
|
+
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar-track {
|
|
663
|
+
/*滚动条里面轨道*/
|
|
664
|
+
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
665
|
+
border-radius: 10px;
|
|
666
|
+
background: #eee;
|
|
667
|
+
}
|
|
668
|
+
#column-group[data-v-7b4ee322] .column-checked[data-v-7b4ee322] {
|
|
669
|
+
margin-left: -36px;
|
|
670
|
+
}
|
|
671
|
+
#column-group[data-v-7b4ee322] [data-v-7b4ee322] .el-input__wrapper {
|
|
672
|
+
box-shadow: none;
|
|
673
|
+
}
|
|
674
|
+
#column-group[data-v-7b4ee322] ul[data-v-7b4ee322]:last-child {
|
|
675
|
+
border-bottom: 1px solid #e5e7eb;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.column-class[data-v-7b4ee322] > ul[data-v-7b4ee322]:first-child {
|
|
679
|
+
padding-right: 4px;
|
|
680
|
+
}
|
|
681
|
+
.column-class[data-v-7b4ee322] #column-group[data-v-7b4ee322] ul[data-v-7b4ee322]:last-child {
|
|
682
|
+
border-bottom: none;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.drawer-footer-btn[data-v-7b4ee322] {
|
|
686
|
+
margin: 15px -20px -20px;
|
|
687
|
+
padding: 15px 20px;
|
|
688
|
+
}
|
|
689
|
+
@charset "UTF-8";
|
|
690
|
+
.drawer-title[data-v-8d23de37] {
|
|
691
|
+
font-size: 14px;
|
|
692
|
+
border-bottom: 2px solid #f2f2f2;
|
|
693
|
+
margin: 0 -20px;
|
|
694
|
+
padding: 0 20px 20px;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
#column-group[data-v-8d23de37] {
|
|
698
|
+
height: calc(100vh - 265px);
|
|
699
|
+
overflow-y: auto;
|
|
700
|
+
}
|
|
701
|
+
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar {
|
|
702
|
+
/*滚动条整体样式*/
|
|
703
|
+
width: 4px;
|
|
704
|
+
/*高宽分别对应横竖滚动条的尺寸*/
|
|
705
|
+
height: 1px;
|
|
706
|
+
}
|
|
707
|
+
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar-thumb {
|
|
708
|
+
/*滚动条里面小方块*/
|
|
709
|
+
border-radius: 10px;
|
|
710
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
711
|
+
background: #999;
|
|
712
|
+
}
|
|
713
|
+
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar-track {
|
|
714
|
+
/*滚动条里面轨道*/
|
|
715
|
+
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
716
|
+
border-radius: 10px;
|
|
717
|
+
background: #eee;
|
|
718
|
+
}
|
|
719
|
+
#column-group[data-v-8d23de37] .column-checked[data-v-8d23de37] {
|
|
720
|
+
margin-left: -36px;
|
|
721
|
+
}
|
|
722
|
+
#column-group[data-v-8d23de37] [data-v-8d23de37] .el-input__wrapper {
|
|
723
|
+
box-shadow: none;
|
|
724
|
+
}
|
|
725
|
+
#column-group[data-v-8d23de37] ul[data-v-8d23de37]:last-child {
|
|
726
|
+
border-bottom: 1px solid #e5e7eb;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.column-class[data-v-8d23de37] > ul[data-v-8d23de37]:first-child {
|
|
730
|
+
padding-right: 4px;
|
|
731
|
+
}
|
|
732
|
+
.column-class[data-v-8d23de37] #column-group[data-v-8d23de37] ul[data-v-8d23de37]:last-child {
|
|
733
|
+
border-bottom: none;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.drawer-footer-btn[data-v-8d23de37] {
|
|
737
|
+
margin: 15px -20px -20px;
|
|
738
|
+
padding: 15px 20px;
|
|
739
|
+
}
|
|
740
|
+
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .cell {
|
|
741
|
+
white-space: pre-line !important;
|
|
742
|
+
}
|
|
743
|
+
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .el-tooltip {
|
|
744
|
+
white-space: nowrap !important;
|
|
745
|
+
}
|
|
746
|
+
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .el-scrollbar__bar.is-horizontal {
|
|
747
|
+
height: 12px;
|
|
748
|
+
border-radius: 12px;
|
|
749
|
+
}
|
|
750
|
+
#table-page[data-v-e6c3b52b] .operate-wrap[data-v-e6c3b52b] {
|
|
751
|
+
text-align: center;
|
|
752
|
+
}
|
|
753
|
+
#table-page[data-v-e6c3b52b] .el-button[data-v-e6c3b52b] {
|
|
754
|
+
margin: 0 3px !important;
|
|
755
755
|
}
|
|
@@ -12,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
__epPropKey: true;
|
|
13
13
|
};
|
|
14
14
|
}, {
|
|
15
|
+
displayValue: string;
|
|
15
16
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
16
17
|
readonly format: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "HH:mm:ss", boolean>;
|
|
17
18
|
readonly prefix: StringConstructor;
|
|
@@ -292,7 +293,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
292
293
|
value: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => number | import("dayjs").Dayjs) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => number | import("dayjs").Dayjs) | (() => number | import("dayjs").Dayjs))[], unknown, unknown>;
|
|
293
294
|
format: string;
|
|
294
295
|
}, {}>, {
|
|
295
|
-
|
|
296
|
+
title?(_: {}): any;
|
|
297
|
+
prefix?(_: {}): any;
|
|
298
|
+
suffix?(_: {}): any;
|
|
296
299
|
}>;
|
|
297
300
|
export default _default;
|
|
298
301
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent, useSlots, ref, resolveComponent, openBlock, createBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot
|
|
1
|
+
import { defineComponent, useSlots, ref, resolveComponent, openBlock, createBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
3
|
import { countdownEmits as countdownEmits$1 } from 'element-plus';
|
|
4
4
|
import { countdownProps, countdownEmits } from './countdown.mjs';
|
|
5
5
|
import { getGmEvent } from '../../../../utils/src/elementPlus/event.mjs';
|
|
6
|
+
import { getGmExports } from '../../../../utils/src/elementPlus/exports.mjs';
|
|
6
7
|
|
|
7
8
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
...{
|
|
@@ -17,8 +18,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
18
|
const emit = __emit;
|
|
18
19
|
const elEvents = getGmEvent(countdownEmits$1, emit);
|
|
19
20
|
const elRef = ref();
|
|
21
|
+
const exposeEvents = ["displayValue"];
|
|
22
|
+
const { exposeFns } = getGmExports(elRef, exposeEvents);
|
|
20
23
|
__expose({
|
|
21
|
-
elRef
|
|
24
|
+
elRef,
|
|
25
|
+
...exposeFns
|
|
22
26
|
});
|
|
23
27
|
return (_ctx, _cache) => {
|
|
24
28
|
const _component_el_countdown = resolveComponent("el-countdown");
|
|
@@ -32,12 +36,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
36
|
_: 2
|
|
33
37
|
/* DYNAMIC */
|
|
34
38
|
}, [
|
|
35
|
-
unref(slots).
|
|
36
|
-
name: "
|
|
37
|
-
fn: withCtx((
|
|
38
|
-
renderSlot(_ctx.$slots, "
|
|
39
|
+
unref(slots).title ? {
|
|
40
|
+
name: "title",
|
|
41
|
+
fn: withCtx(() => [
|
|
42
|
+
renderSlot(_ctx.$slots, "title")
|
|
39
43
|
]),
|
|
40
44
|
key: "0"
|
|
45
|
+
} : void 0,
|
|
46
|
+
unref(slots).prefix ? {
|
|
47
|
+
name: "prefix",
|
|
48
|
+
fn: withCtx(() => [
|
|
49
|
+
renderSlot(_ctx.$slots, "prefix")
|
|
50
|
+
]),
|
|
51
|
+
key: "1"
|
|
52
|
+
} : void 0,
|
|
53
|
+
unref(slots).suffix ? {
|
|
54
|
+
name: "suffix",
|
|
55
|
+
fn: withCtx(() => [
|
|
56
|
+
renderSlot(_ctx.$slots, "suffix")
|
|
57
|
+
]),
|
|
58
|
+
key: "2"
|
|
41
59
|
} : void 0
|
|
42
60
|
]),
|
|
43
61
|
1040
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Countdown.vue2.mjs","sources":["../../../../../../../packages/components/src/base/countdown/Countdown.vue"],"sourcesContent":["<template>\n <el-countdown ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.
|
|
1
|
+
{"version":3,"file":"Countdown.vue2.mjs","sources":["../../../../../../../packages/components/src/base/countdown/Countdown.vue"],"sourcesContent":["<template>\r\n <el-countdown ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\r\n <template v-if=\"slots.title\" #title>\r\n <slot name=\"title\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <slot name=\"prefix\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <slot name=\"suffix\" />\r\n </template>\r\n </el-countdown>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { getGmEvent, getGmExports } from '@giime/utils';\r\nimport { countdownEmits as elCountdownEmits } from 'element-plus';\r\nimport { countdownEmits, countdownProps } from './countdown';\r\nimport type { CountdownInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmCountdown',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(countdownProps);\r\nconst emit = defineEmits(countdownEmits);\r\n// 重发el的事件\r\nconst elEvents = getGmEvent(elCountdownEmits, emit);\r\n\r\nconst elRef = ref<CountdownInstance>();\r\nconst exposeEvents = [ 'displayValue'] as const;\r\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\r\ndefineExpose({\r\n elRef,\r\n ...exposeFns\r\n});\r\n</script>\r\n"],"names":["elCountdownEmits"],"mappings":";;;;;;;;;;;;;;;AAuBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,QAAA,GAAW,UAAW,CAAAA,gBAAA,EAAkB,IAAI,CAAA,CAAA;AAElD,IAAA,MAAM,QAAQ,GAAuB,EAAA,CAAA;AACrC,IAAM,MAAA,YAAA,GAAe,CAAE,cAAc,CAAA,CAAA;AACrC,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,MACA,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -17,6 +17,7 @@ export declare const GmCountdown: import("../../../../utils").SFCWithInstall<{
|
|
|
17
17
|
onChange?: ((value: number) => any) | undefined;
|
|
18
18
|
onFinish?: (() => any) | undefined;
|
|
19
19
|
}, {
|
|
20
|
+
displayValue: string;
|
|
20
21
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
21
22
|
readonly format: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, "HH:mm:ss", boolean>;
|
|
22
23
|
readonly prefix: StringConstructor;
|
|
@@ -319,6 +320,7 @@ export declare const GmCountdown: import("../../../../utils").SFCWithInstall<{
|
|
|
319
320
|
onChange?: ((value: number) => any) | undefined;
|
|
320
321
|
onFinish?: (() => any) | undefined;
|
|
321
322
|
}, {
|
|
323
|
+
displayValue: string;
|
|
322
324
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
323
325
|
readonly format: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, "HH:mm:ss", boolean>;
|
|
324
326
|
readonly prefix: StringConstructor;
|
|
@@ -600,6 +602,7 @@ export declare const GmCountdown: import("../../../../utils").SFCWithInstall<{
|
|
|
600
602
|
onChange?: ((value: number) => any) | undefined;
|
|
601
603
|
onFinish?: (() => any) | undefined;
|
|
602
604
|
}, {
|
|
605
|
+
displayValue: string;
|
|
603
606
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
604
607
|
readonly format: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, "HH:mm:ss", boolean>;
|
|
605
608
|
readonly prefix: StringConstructor;
|
|
@@ -866,7 +869,9 @@ export declare const GmCountdown: import("../../../../utils").SFCWithInstall<{
|
|
|
866
869
|
format: string;
|
|
867
870
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
868
871
|
$slots: {
|
|
869
|
-
|
|
872
|
+
title?(_: {}): any;
|
|
873
|
+
prefix?(_: {}): any;
|
|
874
|
+
suffix?(_: {}): any;
|
|
870
875
|
};
|
|
871
876
|
})> & Record<string, any>;
|
|
872
877
|
export type CountdownInstance = InstanceType<typeof Countdown>;
|
|
@@ -15,6 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
__epPropKey: true;
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
18
|
+
displayValue: any;
|
|
18
19
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
19
20
|
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
20
21
|
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { defineComponent, useSlots, ref, resolveComponent, openBlock, createBlock, mergeProps, createSlots, unref, withCtx, createVNode } from 'vue';
|
|
2
2
|
import VNodeRenderer from '../../common/VNodeRenderer.mjs';
|
|
3
3
|
import { statisticProps } from './statistic.mjs';
|
|
4
|
+
import '../../../../utils/index.mjs';
|
|
5
|
+
import { getGmExports } from '../../../../utils/src/elementPlus/exports.mjs';
|
|
4
6
|
|
|
5
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
8
|
...{
|
|
@@ -12,8 +14,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
14
|
const slots = useSlots();
|
|
13
15
|
const props = __props;
|
|
14
16
|
const elRef = ref();
|
|
17
|
+
const exposeEvents = ["displayValue"];
|
|
18
|
+
const { exposeFns } = getGmExports(elRef, exposeEvents);
|
|
15
19
|
__expose({
|
|
16
|
-
elRef
|
|
20
|
+
elRef,
|
|
21
|
+
...exposeFns
|
|
17
22
|
});
|
|
18
23
|
return (_ctx, _cache) => {
|
|
19
24
|
const _component_el_statistic = resolveComponent("el-statistic");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Statistic.vue2.mjs","sources":["../../../../../../../packages/components/src/base/statistic/Statistic.vue"],"sourcesContent":["<template>\r\n <el-statistic ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.title\" #title>\r\n <VNodeRenderer :vnode=\"slots.title?.()\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <VNodeRenderer :vnode=\"slots.suffix?.()\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <VNodeRenderer :vnode=\"slots.prefix?.()\" />\r\n </template>\r\n </el-statistic>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport VNodeRenderer from '../../common/VNodeRenderer';\r\nimport { statisticProps } from './statistic';\r\nimport type { StatisticInstance } from 'element-plus';\r\ndefineOptions({\r\n name: 'GmStatistic',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(statisticProps);\r\n\r\nconst elRef = ref<StatisticInstance>();\r\ndefineExpose({\r\n elRef,\r\n});\r\n</script>\r\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Statistic.vue2.mjs","sources":["../../../../../../../packages/components/src/base/statistic/Statistic.vue"],"sourcesContent":["<template>\r\n <el-statistic ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.title\" #title>\r\n <VNodeRenderer :vnode=\"slots.title?.()\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <VNodeRenderer :vnode=\"slots.suffix?.()\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <VNodeRenderer :vnode=\"slots.prefix?.()\" />\r\n </template>\r\n </el-statistic>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport VNodeRenderer from '../../common/VNodeRenderer';\r\nimport { statisticProps } from './statistic';\r\nimport type { StatisticInstance } from 'element-plus';\r\nimport { getGmExports } from '@giime/utils';\r\ndefineOptions({\r\n name: 'GmStatistic',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(statisticProps);\r\n\r\nconst elRef = ref<StatisticInstance>();\r\nconst exposeEvents = ['displayValue'] as const;\r\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\r\ndefineExpose({\r\n elRef,\r\n ...exposeFns,\r\n});\r\n</script>\r\n"],"names":[],"mappings":";;;;;;;;;;;;;AAsBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,QAAQ,GAAuB,EAAA,CAAA;AACrC,IAAM,MAAA,YAAA,GAAe,CAAC,cAAc,CAAA,CAAA;AACpC,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,MACA,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -16,6 +16,7 @@ export declare const GmStatistic: import("../../../../utils").SFCWithInstall<imp
|
|
|
16
16
|
__epPropKey: true;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
|
+
displayValue: any;
|
|
19
20
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
20
21
|
readonly decimalSeparator: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
21
22
|
readonly groupSeparator: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
@@ -312,7 +312,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
312
312
|
description: string;
|
|
313
313
|
status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "finish" | "wait" | "process", unknown>;
|
|
314
314
|
}, {}>, {
|
|
315
|
-
|
|
315
|
+
icon?(_: any): any;
|
|
316
|
+
title?(_: any): any;
|
|
317
|
+
description?(_: any): any;
|
|
316
318
|
}>;
|
|
317
319
|
export default _default;
|
|
318
320
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -26,12 +26,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
_: 2
|
|
27
27
|
/* DYNAMIC */
|
|
28
28
|
}, [
|
|
29
|
-
unref(slots).
|
|
30
|
-
name: "
|
|
29
|
+
unref(slots).icon ? {
|
|
30
|
+
name: "icon",
|
|
31
31
|
fn: withCtx((slotValue) => [
|
|
32
|
-
renderSlot(_ctx.$slots, "
|
|
32
|
+
renderSlot(_ctx.$slots, "icon", normalizeProps(guardReactiveProps(slotValue)))
|
|
33
33
|
]),
|
|
34
34
|
key: "0"
|
|
35
|
+
} : void 0,
|
|
36
|
+
unref(slots).title ? {
|
|
37
|
+
name: "title",
|
|
38
|
+
fn: withCtx((slotValue) => [
|
|
39
|
+
renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps(slotValue)))
|
|
40
|
+
]),
|
|
41
|
+
key: "1"
|
|
42
|
+
} : void 0,
|
|
43
|
+
unref(slots).description ? {
|
|
44
|
+
name: "description",
|
|
45
|
+
fn: withCtx((slotValue) => [
|
|
46
|
+
renderSlot(_ctx.$slots, "description", normalizeProps(guardReactiveProps(slotValue)))
|
|
47
|
+
]),
|
|
48
|
+
key: "2"
|
|
35
49
|
} : void 0
|
|
36
50
|
]),
|
|
37
51
|
1040
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.vue2.mjs","sources":["../../../../../../../packages/components/src/base/step/Step.vue"],"sourcesContent":["<template>\r\n <el-step ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.
|
|
1
|
+
{"version":3,"file":"Step.vue2.mjs","sources":["../../../../../../../packages/components/src/base/step/Step.vue"],"sourcesContent":["<template>\r\n <el-step ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.icon\" #icon=\"slotValue\">\r\n <slot name=\"icon\" v-bind=\"slotValue\" />\r\n </template>\r\n <template v-if=\"slots.title\" #title=\"slotValue\">\r\n <slot name='title' v-bind=\"slotValue\" />\r\n </template>\r\n <template v-if=\"slots.description\" #description=\"slotValue\">\r\n <slot name=\"description\" v-bind=\"slotValue\" />\r\n </template>\r\n </el-step>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { stepProps } from './step';\r\nimport type { StepInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmStep',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(stepProps);\r\n\r\nconst elRef = ref<StepInstance>();\r\ndefineExpose({\r\n elRef,\r\n});\r\n</script>\r\n"],"names":[],"mappings":";;;;;;;;;;AAqBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,QAAQ,GAAkB,EAAA,CAAA;AAChC,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -932,7 +932,9 @@ export declare const GmStep: import("../../../../utils").SFCWithInstall<{
|
|
|
932
932
|
status: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "error" | "success" | "finish" | "wait" | "process", unknown>;
|
|
933
933
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
934
934
|
$slots: {
|
|
935
|
-
|
|
935
|
+
icon?(_: any): any;
|
|
936
|
+
title?(_: any): any;
|
|
937
|
+
description?(_: any): any;
|
|
936
938
|
};
|
|
937
939
|
})> & Record<string, any>;
|
|
938
940
|
export type StepInstance = InstanceType<typeof Step>;
|
|
@@ -55,6 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
55
55
|
};
|
|
56
56
|
label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
57
57
|
}, {
|
|
58
|
+
focus: () => void;
|
|
58
59
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
59
60
|
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
60
61
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -675,7 +676,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
675
676
|
activeValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
676
677
|
inactiveValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
677
678
|
}, {}>, {
|
|
678
|
-
|
|
679
|
+
"active-action"?(_: {}): any;
|
|
680
|
+
"inactive-action"?(_: {}): any;
|
|
679
681
|
}>;
|
|
680
682
|
export default _default;
|
|
681
683
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent, useSlots, ref, resolveComponent, openBlock, createBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot
|
|
1
|
+
import { defineComponent, useSlots, ref, resolveComponent, openBlock, createBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
3
|
import { switchEmits as switchEmits$1 } from 'element-plus';
|
|
4
4
|
import { switchProps, switchEmits } from './switch.mjs';
|
|
5
5
|
import { getGmEvent } from '../../../../utils/src/elementPlus/event.mjs';
|
|
6
|
+
import { getGmExports } from '../../../../utils/src/elementPlus/exports.mjs';
|
|
6
7
|
|
|
7
8
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
...{
|
|
@@ -17,8 +18,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
18
|
const emit = __emit;
|
|
18
19
|
const elEvents = getGmEvent(switchEmits$1, emit);
|
|
19
20
|
const elRef = ref();
|
|
21
|
+
const exposeEvents = ["focus"];
|
|
22
|
+
const { exposeFns } = getGmExports(elRef, exposeEvents);
|
|
20
23
|
__expose({
|
|
21
|
-
elRef
|
|
24
|
+
elRef,
|
|
25
|
+
...exposeFns
|
|
22
26
|
});
|
|
23
27
|
return (_ctx, _cache) => {
|
|
24
28
|
const _component_el_switch = resolveComponent("el-switch");
|
|
@@ -32,12 +36,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
36
|
_: 2
|
|
33
37
|
/* DYNAMIC */
|
|
34
38
|
}, [
|
|
35
|
-
unref(slots)
|
|
36
|
-
name: "
|
|
37
|
-
fn: withCtx((
|
|
38
|
-
renderSlot(_ctx.$slots, "
|
|
39
|
+
unref(slots)["active-action"] ? {
|
|
40
|
+
name: "active-action",
|
|
41
|
+
fn: withCtx(() => [
|
|
42
|
+
renderSlot(_ctx.$slots, "active-action")
|
|
39
43
|
]),
|
|
40
44
|
key: "0"
|
|
45
|
+
} : void 0,
|
|
46
|
+
unref(slots)["inactive-action"] ? {
|
|
47
|
+
name: "inactive-action",
|
|
48
|
+
fn: withCtx(() => [
|
|
49
|
+
renderSlot(_ctx.$slots, "inactive-action")
|
|
50
|
+
]),
|
|
51
|
+
key: "1"
|
|
41
52
|
} : void 0
|
|
42
53
|
]),
|
|
43
54
|
1040
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.vue2.mjs","sources":["../../../../../../../packages/components/src/base/switch/Switch.vue"],"sourcesContent":["<template>\n <el-switch ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots
|
|
1
|
+
{"version":3,"file":"Switch.vue2.mjs","sources":["../../../../../../../packages/components/src/base/switch/Switch.vue"],"sourcesContent":["<template>\r\n <el-switch ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\r\n <template v-if=\"slots['active-action']\" #active-action>\r\n <slot name=\"active-action\" />\r\n </template>\r\n <template v-if=\"slots['inactive-action']\" #inactive-action>\r\n <slot name=\"inactive-action\" />\r\n </template>\r\n </el-switch>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { getGmEvent, getGmExports } from '@giime/utils';\r\nimport { switchEmits as elSwitchEmits } from 'element-plus';\r\nimport { switchEmits, switchProps } from './switch';\r\nimport type { SwitchInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmSwitch',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(switchProps);\r\nconst emit = defineEmits(switchEmits);\r\n// 重发el的事件\r\nconst elEvents = getGmEvent(elSwitchEmits, emit);\r\n\r\nconst elRef = ref<SwitchInstance>();\r\nconst exposeEvents = ['focus'] as const;\r\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\r\ndefineExpose({\r\n elRef,\r\n ...exposeFns,\r\n});\r\n</script>\r\n"],"names":["elSwitchEmits"],"mappings":";;;;;;;;;;;;;;;AAoBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,QAAA,GAAW,UAAW,CAAAA,aAAA,EAAe,IAAI,CAAA,CAAA;AAE/C,IAAA,MAAM,QAAQ,GAAoB,EAAA,CAAA;AAClC,IAAM,MAAA,YAAA,GAAe,CAAC,OAAO,CAAA,CAAA;AAC7B,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,MACA,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -61,6 +61,7 @@ export declare const GmSwitch: import("../../../../utils").SFCWithInstall<{
|
|
|
61
61
|
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
62
62
|
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
63
63
|
}, {
|
|
64
|
+
focus: () => void;
|
|
64
65
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
65
66
|
readonly modelValue: import("element-plus/es/utils/index.js").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
66
67
|
readonly disabled: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -748,6 +749,7 @@ export declare const GmSwitch: import("../../../../utils").SFCWithInstall<{
|
|
|
748
749
|
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
749
750
|
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
750
751
|
}, {
|
|
752
|
+
focus: () => void;
|
|
751
753
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
752
754
|
readonly modelValue: import("element-plus/es/utils/index.js").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
753
755
|
readonly disabled: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -1368,6 +1370,7 @@ export declare const GmSwitch: import("../../../../utils").SFCWithInstall<{
|
|
|
1368
1370
|
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
1369
1371
|
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
1370
1372
|
}, {
|
|
1373
|
+
focus: () => void;
|
|
1371
1374
|
elRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
1372
1375
|
readonly modelValue: import("element-plus/es/utils/index.js").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
1373
1376
|
readonly disabled: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -1929,7 +1932,8 @@ export declare const GmSwitch: import("../../../../utils").SFCWithInstall<{
|
|
|
1929
1932
|
inactiveValue: import("element-plus/es/utils/index.js").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1930
1933
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1931
1934
|
$slots: {
|
|
1932
|
-
|
|
1935
|
+
"active-action"?(_: {}): any;
|
|
1936
|
+
"inactive-action"?(_: {}): any;
|
|
1933
1937
|
};
|
|
1934
1938
|
})> & Record<string, any>;
|
|
1935
1939
|
export type SwitchInstance = InstanceType<typeof Switch>;
|