cc1-ui 0.0.1

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.
@@ -0,0 +1,194 @@
1
+ declare const zindex: number;
2
+ declare const colse: () => void;
3
+ declare const conf: {
4
+ show: boolean;
5
+ id: string;
6
+ };
7
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
+ declare var __VLS_9: {};
9
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ default?: (props: typeof __VLS_9) => any;
11
+ }>;
12
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ /**
14
+ * 是否显示
15
+ */
16
+ show: {
17
+ default: boolean;
18
+ };
19
+ /**
20
+ * 开启背景色
21
+ */
22
+ mask: {
23
+ default: boolean;
24
+ };
25
+ /**
26
+ * 背景色
27
+ */
28
+ maskBgColor: {
29
+ default: string;
30
+ };
31
+ /**
32
+ * 是否可以点击背景关闭
33
+ */
34
+ closemask: {
35
+ default: boolean;
36
+ };
37
+ /**
38
+ * 放置位置
39
+ */
40
+ to: {
41
+ default: string;
42
+ };
43
+ /**
44
+ * 是否是布局显示,默认是全屏
45
+ */
46
+ box: {
47
+ default: any;
48
+ };
49
+ }>, {
50
+ zindex: typeof zindex;
51
+ colse: typeof colse;
52
+ conf: typeof conf;
53
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ "update:show": (...args: any[]) => void;
55
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
+ /**
57
+ * 是否显示
58
+ */
59
+ show: {
60
+ default: boolean;
61
+ };
62
+ /**
63
+ * 开启背景色
64
+ */
65
+ mask: {
66
+ default: boolean;
67
+ };
68
+ /**
69
+ * 背景色
70
+ */
71
+ maskBgColor: {
72
+ default: string;
73
+ };
74
+ /**
75
+ * 是否可以点击背景关闭
76
+ */
77
+ closemask: {
78
+ default: boolean;
79
+ };
80
+ /**
81
+ * 放置位置
82
+ */
83
+ to: {
84
+ default: string;
85
+ };
86
+ /**
87
+ * 是否是布局显示,默认是全屏
88
+ */
89
+ box: {
90
+ default: any;
91
+ };
92
+ }>> & Readonly<{
93
+ "onUpdate:show"?: ((...args: any[]) => any) | undefined;
94
+ }>, {
95
+ mask: boolean;
96
+ show: boolean;
97
+ maskBgColor: string;
98
+ closemask: boolean;
99
+ to: string;
100
+ box: any;
101
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
102
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
103
+ /**
104
+ * 是否显示
105
+ */
106
+ show: {
107
+ default: boolean;
108
+ };
109
+ /**
110
+ * 开启背景色
111
+ */
112
+ mask: {
113
+ default: boolean;
114
+ };
115
+ /**
116
+ * 背景色
117
+ */
118
+ maskBgColor: {
119
+ default: string;
120
+ };
121
+ /**
122
+ * 是否可以点击背景关闭
123
+ */
124
+ closemask: {
125
+ default: boolean;
126
+ };
127
+ /**
128
+ * 放置位置
129
+ */
130
+ to: {
131
+ default: string;
132
+ };
133
+ /**
134
+ * 是否是布局显示,默认是全屏
135
+ */
136
+ box: {
137
+ default: any;
138
+ };
139
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
140
+ "update:show": (...args: any[]) => void;
141
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
142
+ /**
143
+ * 是否显示
144
+ */
145
+ show: {
146
+ default: boolean;
147
+ };
148
+ /**
149
+ * 开启背景色
150
+ */
151
+ mask: {
152
+ default: boolean;
153
+ };
154
+ /**
155
+ * 背景色
156
+ */
157
+ maskBgColor: {
158
+ default: string;
159
+ };
160
+ /**
161
+ * 是否可以点击背景关闭
162
+ */
163
+ closemask: {
164
+ default: boolean;
165
+ };
166
+ /**
167
+ * 放置位置
168
+ */
169
+ to: {
170
+ default: string;
171
+ };
172
+ /**
173
+ * 是否是布局显示,默认是全屏
174
+ */
175
+ box: {
176
+ default: any;
177
+ };
178
+ }>> & Readonly<{
179
+ "onUpdate:show"?: ((...args: any[]) => any) | undefined;
180
+ }>, {
181
+ mask: boolean;
182
+ show: boolean;
183
+ maskBgColor: string;
184
+ closemask: boolean;
185
+ to: string;
186
+ box: any;
187
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
188
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
189
+ export default _default;
190
+ type __VLS_WithSlots<T, S> = T & {
191
+ new (): {
192
+ $slots: S;
193
+ };
194
+ };
@@ -0,0 +1,30 @@
1
+ .v-mask-enter-from {
2
+ opacity: 0;
3
+ }
4
+ .v-mask-leave-to {
5
+ opacity: 0;
6
+ }
7
+ .v-mask {
8
+ position: fixed;
9
+ top: 0;
10
+ left: 0;
11
+ width: 100%;
12
+ height: 100%;
13
+ transition: all 0.3s ease;
14
+ }
15
+ .v-mask-box {
16
+ position: absolute;
17
+ }
18
+ .v-mask-ctx {
19
+ position: relative;
20
+ width: 100%;
21
+ height: 100%;
22
+ }
23
+ .v-mask-ctx > div {
24
+ width: 100%;
25
+ height: 100%;
26
+ pointer-events: none;
27
+ }
28
+ .v-mask-ctx > div > div {
29
+ pointer-events: all;
30
+ }
@@ -0,0 +1,135 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ /**
3
+ * 加载静态资源地址,如https://cdn.xx.xx/vsicon或者/static/vsicon
4
+ */
5
+ url: {
6
+ default: string;
7
+ };
8
+ /**
9
+ * 使用的图标库名称,默认为''
10
+ */
11
+ lib: {
12
+ default: string;
13
+ };
14
+ /**
15
+ * 使用的图标名称,默认为'up'
16
+ */
17
+ name: {
18
+ default: string;
19
+ };
20
+ /**
21
+ * 使用的图标大小,默认为'20'
22
+ */
23
+ size: {
24
+ default: any;
25
+ };
26
+ /**
27
+ * 图标大小-宽
28
+ */
29
+ width: {
30
+ default: any;
31
+ };
32
+ /**
33
+ * 图标大小-高
34
+ */
35
+ height: {
36
+ default: any;
37
+ };
38
+ /**
39
+ * 使用的图标颜色,默认为[]
40
+ */
41
+ color: {
42
+ default: string[] | string;
43
+ };
44
+ /**
45
+ * 鼠标悬浮时使用的图标颜色,默认为[]
46
+ */
47
+ hoverColor: {
48
+ default: string[] | string;
49
+ };
50
+ /**
51
+ * 用于hover时的dom元素id或者class,默认为undefined
52
+ */
53
+ pid: {
54
+ default: string | undefined;
55
+ };
56
+ /**
57
+ * 图标宽高显示单位,默认为px
58
+ */
59
+ unit: {
60
+ default: string;
61
+ };
62
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
+ /**
64
+ * 加载静态资源地址,如https://cdn.xx.xx/vsicon或者/static/vsicon
65
+ */
66
+ url: {
67
+ default: string;
68
+ };
69
+ /**
70
+ * 使用的图标库名称,默认为''
71
+ */
72
+ lib: {
73
+ default: string;
74
+ };
75
+ /**
76
+ * 使用的图标名称,默认为'up'
77
+ */
78
+ name: {
79
+ default: string;
80
+ };
81
+ /**
82
+ * 使用的图标大小,默认为'20'
83
+ */
84
+ size: {
85
+ default: any;
86
+ };
87
+ /**
88
+ * 图标大小-宽
89
+ */
90
+ width: {
91
+ default: any;
92
+ };
93
+ /**
94
+ * 图标大小-高
95
+ */
96
+ height: {
97
+ default: any;
98
+ };
99
+ /**
100
+ * 使用的图标颜色,默认为[]
101
+ */
102
+ color: {
103
+ default: string[] | string;
104
+ };
105
+ /**
106
+ * 鼠标悬浮时使用的图标颜色,默认为[]
107
+ */
108
+ hoverColor: {
109
+ default: string[] | string;
110
+ };
111
+ /**
112
+ * 用于hover时的dom元素id或者class,默认为undefined
113
+ */
114
+ pid: {
115
+ default: string | undefined;
116
+ };
117
+ /**
118
+ * 图标宽高显示单位,默认为px
119
+ */
120
+ unit: {
121
+ default: string;
122
+ };
123
+ }>> & Readonly<{}>, {
124
+ size: any;
125
+ width: any;
126
+ height: any;
127
+ name: string;
128
+ url: string;
129
+ lib: string;
130
+ color: string | string[];
131
+ unit: string;
132
+ hoverColor: string | string[];
133
+ pid: string;
134
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
135
+ export default _default;
File without changes
@@ -0,0 +1,21 @@
1
+ declare const conf: {
2
+ transform: string;
3
+ top: number;
4
+ left: number;
5
+ };
6
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ }>;
11
+ declare const __VLS_self: import("vue").DefineComponent<{}, {
12
+ conf: typeof conf;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,19 @@
1
+ .v-scale-box {
2
+ width: 100vw;
3
+ height: 100vh;
4
+ display: flex;
5
+ justify-content: center;
6
+ overflow: hidden;
7
+ }
8
+ .v-scale-container {
9
+ width: 100vw;
10
+ height: 100vh;
11
+ position: absolute;
12
+ }
13
+ .v-scale-content {
14
+ width: 1920px;
15
+ min-width: 1920px;
16
+ height: 1080px;
17
+ position: relative;
18
+ transform-origin: top left;
19
+ }
@@ -0,0 +1,49 @@
1
+ type Item = {
2
+ label: string;
3
+ value: any;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ list: {
7
+ default: Item[];
8
+ };
9
+ active: {
10
+ default: any;
11
+ };
12
+ placeholder: {
13
+ default: string;
14
+ };
15
+ /**
16
+ * 可输入进行过滤
17
+ */
18
+ filterable: {
19
+ default: any;
20
+ };
21
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ change: (...args: any[]) => void;
23
+ "update:active": (...args: any[]) => void;
24
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
+ list: {
26
+ default: Item[];
27
+ };
28
+ active: {
29
+ default: any;
30
+ };
31
+ placeholder: {
32
+ default: string;
33
+ };
34
+ /**
35
+ * 可输入进行过滤
36
+ */
37
+ filterable: {
38
+ default: any;
39
+ };
40
+ }>> & Readonly<{
41
+ onChange?: ((...args: any[]) => any) | undefined;
42
+ "onUpdate:active"?: ((...args: any[]) => any) | undefined;
43
+ }>, {
44
+ active: any;
45
+ placeholder: string;
46
+ list: Item[];
47
+ filterable: any;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
+ export default _default;
@@ -0,0 +1,78 @@
1
+ .v-select {
2
+ position: relative;
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: space-between;
6
+ font-size: 14px;
7
+ padding: 1px 11px;
8
+ box-shadow: 0 0 0 1px #dcdfe6 inset;
9
+ background-color: #fff;
10
+ color: #a8abb2;
11
+ cursor: pointer;
12
+ line-height: 32px;
13
+ width: 220px;
14
+ min-width: 120px;
15
+ border-radius: 4px;
16
+ }
17
+ .v-select input {
18
+ border: none;
19
+ outline: none;
20
+ padding: 0;
21
+ color: #606266;
22
+ font-size: 14px;
23
+ appearance: none;
24
+ height: 28px;
25
+ background-color: transparent;
26
+ width: 100%;
27
+ cursor: pointer;
28
+ }
29
+ .v-select-dialog {
30
+ position: absolute;
31
+ left: 0;
32
+ width: 100%;
33
+ background-color: #ffffff;
34
+ box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
35
+ border-radius: 4px;
36
+ }
37
+ .v-select-dialog-arrows {
38
+ border: 1px solid #e4e7ed;
39
+ background: #ffffff;
40
+ right: 50%;
41
+ position: absolute;
42
+ width: 10px;
43
+ height: 10px;
44
+ content: ' ';
45
+ transform: rotate(45deg);
46
+ box-sizing: border-box;
47
+ }
48
+ .v-select-dialog-arrows.down {
49
+ top: -5px;
50
+ border-top-left-radius: 2px;
51
+ border-bottom-color: transparent !important;
52
+ border-right-color: transparent !important;
53
+ }
54
+ .v-select-dialog-arrows.up {
55
+ bottom: -5px;
56
+ border-bottom-right-radius: 2px;
57
+ border-top-color: transparent !important;
58
+ border-left-color: transparent !important;
59
+ }
60
+ .v-select-dialog-item {
61
+ padding: 0 32px 0 20px;
62
+ position: relative;
63
+ white-space: nowrap;
64
+ overflow: hidden;
65
+ text-overflow: ellipsis;
66
+ height: 34px;
67
+ line-height: 34px;
68
+ box-sizing: border-box;
69
+ color: #606266;
70
+ cursor: pointer;
71
+ }
72
+ .v-select-dialog-item:hover {
73
+ background-color: #f5f7fa;
74
+ }
75
+ .v-select-dialog-item.selected {
76
+ color: #409eff;
77
+ font-weight: bold;
78
+ }
@@ -0,0 +1,37 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ theme: {
3
+ default: string;
4
+ };
5
+ value: {
6
+ default: boolean;
7
+ };
8
+ offLabel: {
9
+ default: string;
10
+ };
11
+ onLabel: {
12
+ default: string;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:value": (...args: any[]) => void;
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ theme: {
18
+ default: string;
19
+ };
20
+ value: {
21
+ default: boolean;
22
+ };
23
+ offLabel: {
24
+ default: string;
25
+ };
26
+ onLabel: {
27
+ default: string;
28
+ };
29
+ }>> & Readonly<{
30
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
31
+ }>, {
32
+ theme: string;
33
+ value: boolean;
34
+ offLabel: string;
35
+ onLabel: string;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
+ export default _default;
@@ -0,0 +1,39 @@
1
+ .v-switch-container {
2
+ cursor: pointer;
3
+ height: 24px;
4
+ width: 100%;
5
+ position: relative;
6
+ }
7
+ .v-switch-container * {
8
+ user-select: none;
9
+ -webkit-user-drag: none;
10
+ }
11
+ .v-switch-circle {
12
+ display: inline-flex;
13
+ width: 100%;
14
+ height: 24px;
15
+ border-radius: 15px;
16
+ opacity: 1;
17
+ position: relative;
18
+ transition: 0.3s all ease-in-out;
19
+ align-items: center;
20
+ }
21
+ .v-switch-circle > span:nth-child(1),
22
+ .v-switch-circle > span:nth-child(2) {
23
+ display: inline-block;
24
+ font-size: 16px;
25
+ font-weight: 500;
26
+ color: #ffffff;
27
+ position: absolute;
28
+ line-height: 28px;
29
+ margin: 0px 8px;
30
+ }
31
+ .v-switch-btn {
32
+ position: absolute;
33
+ width: 18px;
34
+ height: 18px;
35
+ border-radius: 50%;
36
+ top: 3px;
37
+ left: 3;
38
+ transition: 0.3s all ease-in-out;
39
+ }