@zkwq/business 0.0.46 → 0.0.47

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,65 @@
1
+ @keyframes linear-double {
2
+ 0% {
3
+ -webkit-transform: translateX(-56%);
4
+ transform: translateX(-56%)
5
+ }
6
+
7
+ to {
8
+ -webkit-transform: translateX(56%);
9
+ transform: translateX(56%)
10
+ }
11
+ }
12
+ @keyframes Bounce {
13
+ 0%,to {
14
+ -webkit-transform: translateY(-100%);
15
+ transform: translateY(-100%)
16
+ }
17
+ 50% {
18
+ -webkit-transform: translateY(100%);
19
+ transform: translateY(100%)
20
+ }
21
+ }
22
+ @keyframes BounceUp {
23
+ 25% {
24
+ transform: translateY(-3px)
25
+ }
26
+ 50% {
27
+ transform: translateY(0)
28
+ }
29
+ 75% {
30
+ transform: translateY(3px)
31
+ }
32
+ 100% {
33
+ transform: translateY(0)
34
+ }
35
+ }
36
+ .fade-enter-active, .fade-leave-active {
37
+ transition: opacity .5s;
38
+ }
39
+ .fade-enter, .fade-leave-to {
40
+ opacity: 0;
41
+ }
42
+ .fade-fast-enter-active, .fade-fast-leave-active {
43
+ transition: opacity .2s linear;
44
+ }
45
+ .fade-fast-enter, .fade-fast-leave-to {
46
+ opacity: 0;
47
+ }
48
+
49
+ @keyframes fadeInOut {
50
+ 0%{opacity:0}
51
+ 25%{opacity:.25}
52
+ to{opacity:1}
53
+ }
54
+ .fade-enter-active, .fade-leave-active {
55
+ transition: opacity .5s;
56
+ }
57
+ .fade-enter, .fade-leave-to {
58
+ opacity: 0;
59
+ }
60
+ .fade-fast-enter-active, .fade-fast-leave-active {
61
+ transition: opacity .2s linear;
62
+ }
63
+ .fade-fast-enter, .fade-fast-leave-to {
64
+ opacity: 0;
65
+ }
@@ -1,47 +1,4 @@
1
- .AppDialog__wrapper.base-dialog__wrapper {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- overflow-x: hidden;
6
- overflow-y: auto;
7
- }
8
- .AppDialog {
9
- max-height: 100vh;
10
- transition: max-height 0.8s ease, height 0.8s ease;
11
- }
12
- .AppDialog.base-dialog {
13
- margin-top: 0 !important;
14
- margin-bottom: 0 !important;
15
- }
16
- .AppDialog .base-dialog__header {
17
- padding: 0;
18
- }
19
- .AppDialog .base-dialog__body {
20
- padding: 0;
21
- }
22
- .AppDialog--fullPage {
23
- height: 100vh;
24
- }
25
- .AppDialog--fullPage.AppDialog .base-dialog__body {
26
- height: 100%;
27
- }
28
- .AppDialog--fullPage.AppDialog .AppDialog__inner {
29
- height: 100vh;
30
- overflow: visible;
31
- }
32
- .AppDialog--fullPage.AppDialog .AppDialog__content {
33
- height: 100%;
34
- }
35
- .Modal__closeButton {
36
- position: absolute;
37
- top: 8px;
38
- right: -60px;
39
- padding: 12px;
40
- }
41
- .Modal__closeIcon {
42
- vertical-align: top;
43
- fill: #FFF;
44
- }
1
+
45
2
 
46
3
 
47
4
 
@@ -159,4 +116,47 @@
159
116
  .AppDialog__subtitle--left[data-v-47783249] {
160
117
  padding: 0 16px;
161
118
  }
119
+ }.AppDialog__wrapper.base-dialog__wrapper {
120
+ display: flex;
121
+ flex-direction: column;
122
+ justify-content: center;
123
+ overflow-x: hidden;
124
+ overflow-y: auto;
125
+ }
126
+ .AppDialog {
127
+ max-height: 100vh;
128
+ transition: max-height 0.8s ease, height 0.8s ease;
129
+ }
130
+ .AppDialog.base-dialog {
131
+ margin-top: 0 !important;
132
+ margin-bottom: 0 !important;
133
+ }
134
+ .AppDialog .base-dialog__header {
135
+ padding: 0;
136
+ }
137
+ .AppDialog .base-dialog__body {
138
+ padding: 0;
139
+ }
140
+ .AppDialog--fullPage {
141
+ height: 100vh;
142
+ }
143
+ .AppDialog--fullPage.AppDialog .base-dialog__body {
144
+ height: 100%;
145
+ }
146
+ .AppDialog--fullPage.AppDialog .AppDialog__inner {
147
+ height: 100vh;
148
+ overflow: visible;
149
+ }
150
+ .AppDialog--fullPage.AppDialog .AppDialog__content {
151
+ height: 100%;
152
+ }
153
+ .Modal__closeButton {
154
+ position: absolute;
155
+ top: 8px;
156
+ right: -60px;
157
+ padding: 12px;
158
+ }
159
+ .Modal__closeIcon {
160
+ vertical-align: top;
161
+ fill: #FFF;
162
162
  }
@@ -1 +1 @@
1
- .AppDialog__wrapper.base-dialog__wrapper{display:flex;flex-direction:column;justify-content:center;overflow-x:hidden;overflow-y:auto}.AppDialog{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog.base-dialog{margin-top:0!important;margin-bottom:0!important}.AppDialog .base-dialog__header{padding:0}.AppDialog .base-dialog__body{padding:0}.AppDialog--fullPage{height:100vh}.AppDialog--fullPage.AppDialog .base-dialog__body{height:100%}.AppDialog--fullPage.AppDialog .AppDialog__inner{height:100vh;overflow:visible}.AppDialog--fullPage.AppDialog .AppDialog__content{height:100%}.Modal__closeButton{position:absolute;top:8px;right:-60px;padding:12px}.Modal__closeIcon{vertical-align:top;fill:#FFF}[data-v-47783249]:export{primary:#2F3A91;success:#67C23A;warning:#FF791A;danger:#F1403C;info:#8590a6}.AppDialog__inner[data-v-47783249]{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog__content[data-v-47783249]{padding:10px 20px 50px}.AppDialog__title[data-v-47783249]{margin-top:40px;font-size:24px;font-weight:500;color:#2f3a91;text-align:center}.AppDialog__subtitle[data-v-47783249]{padding:0 38px;margin-top:4px;font-size:14px;line-height:1.5;color:#8590a6;text-align:center}.AppDialog__title--left[data-v-47783249]{padding:0 20px;font-size:15px;color:#2f3a91;font-weight:600;height:60px;line-height:60px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 20px;font-size:14px;line-height:1;color:#8590a6;text-align:left}@media (max-width:576px){.AppDialog__title--left[data-v-47783249]{padding:20px 16px 10px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 16px}}
1
+ [data-v-47783249]:export{primary:#2F3A91;success:#67C23A;warning:#FF791A;danger:#F1403C;info:#8590a6}.AppDialog__inner[data-v-47783249]{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog__content[data-v-47783249]{padding:10px 20px 50px}.AppDialog__title[data-v-47783249]{margin-top:40px;font-size:24px;font-weight:500;color:#2f3a91;text-align:center}.AppDialog__subtitle[data-v-47783249]{padding:0 38px;margin-top:4px;font-size:14px;line-height:1.5;color:#8590a6;text-align:center}.AppDialog__title--left[data-v-47783249]{padding:0 20px;font-size:15px;color:#2f3a91;font-weight:600;height:60px;line-height:60px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 20px;font-size:14px;line-height:1;color:#8590a6;text-align:left}@media (max-width:576px){.AppDialog__title--left[data-v-47783249]{padding:20px 16px 10px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 16px}}.AppDialog__wrapper.base-dialog__wrapper{display:flex;flex-direction:column;justify-content:center;overflow-x:hidden;overflow-y:auto}.AppDialog{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog.base-dialog{margin-top:0!important;margin-bottom:0!important}.AppDialog .base-dialog__header{padding:0}.AppDialog .base-dialog__body{padding:0}.AppDialog--fullPage{height:100vh}.AppDialog--fullPage.AppDialog .base-dialog__body{height:100%}.AppDialog--fullPage.AppDialog .AppDialog__inner{height:100vh;overflow:visible}.AppDialog--fullPage.AppDialog .AppDialog__content{height:100%}.Modal__closeButton{position:absolute;top:8px;right:-60px;padding:12px}.Modal__closeIcon{vertical-align:top;fill:#FFF}
@@ -0,0 +1,196 @@
1
+ @import "function";
2
+ @import "var";
3
+
4
+ /* Break-points
5
+ -------------------------- */
6
+ @mixin res($key, $map: $--breakpoints) {
7
+ @if map-has-key($map, $key) {
8
+ @media only screen and #{inspect(map-get($map, $key))} {
9
+ @content;
10
+ }
11
+ } @else {
12
+ @warn "Undefeined points: `#{$map}`";
13
+ }
14
+ }
15
+
16
+ /* Scrollbar
17
+ -------------------------- */
18
+ @mixin scroll-bar {
19
+ $--scrollbar-thumb-background: #b4bccc;
20
+ $--scrollbar-track-background: #fff;
21
+
22
+ &::-webkit-scrollbar {
23
+ z-index: 11;
24
+ width: 6px;
25
+
26
+ &:horizontal {
27
+ height: 6px;
28
+ }
29
+
30
+ &-thumb {
31
+ border-radius: 5px;
32
+ width: 6px;
33
+ background: $--scrollbar-thumb-background;
34
+ }
35
+
36
+ &-corner {
37
+ background: $--scrollbar-track-background;
38
+ }
39
+
40
+ &-track {
41
+ background: $--scrollbar-track-background;
42
+
43
+ &-piece {
44
+ background: $--scrollbar-track-background;
45
+ width: 6px;
46
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ /* Placeholder
52
+ -------------------------- */
53
+ @mixin placeholder {
54
+ &::-webkit-input-placeholder {
55
+ @content
56
+ }
57
+
58
+ &::-moz-placeholder {
59
+ @content
60
+ }
61
+
62
+ &:-ms-input-placeholder {
63
+ @content
64
+ }
65
+ }
66
+
67
+ /* BEM
68
+ -------------------------- */
69
+ @mixin b($block) {
70
+ $B: $namespace+'-'+$block !global;
71
+
72
+ .#{$B} {
73
+ @content;
74
+ }
75
+ }
76
+
77
+ @mixin e($element) {
78
+ $E: $element !global;
79
+ $selector: &;
80
+ $currentSelector: "";
81
+ @each $unit in $element {
82
+ $currentSelector: #{$currentSelector + "." + $B + $element-separator + $unit + ","};
83
+ }
84
+
85
+ @if hitAllSpecialNestRule($selector) {
86
+ @at-root {
87
+ #{$selector} {
88
+ #{$currentSelector} {
89
+ @content;
90
+ }
91
+ }
92
+ }
93
+ } @else {
94
+ @at-root {
95
+ #{$currentSelector} {
96
+ @content;
97
+ }
98
+ }
99
+ }
100
+ }
101
+
102
+ @mixin m($modifier) {
103
+ $selector: &;
104
+ $currentSelector: "";
105
+ @each $unit in $modifier {
106
+ $currentSelector: #{$currentSelector + & + $modifier-separator + $unit + ","};
107
+ }
108
+
109
+ @at-root {
110
+ #{$currentSelector} {
111
+ @content;
112
+ }
113
+ }
114
+ }
115
+
116
+ @mixin configurable-m($modifier, $E-flag: false) {
117
+ $selector: &;
118
+ $interpolation: '';
119
+
120
+ @if $E-flag {
121
+ $interpolation: $element-separator + $E-flag;
122
+ }
123
+
124
+ @at-root {
125
+ #{$selector} {
126
+ .#{$B+$interpolation+$modifier-separator+$modifier} {
127
+ @content;
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ @mixin spec-selector($specSelector: '', $element: $E, $modifier: false, $block: $B) {
134
+ $modifierCombo: '';
135
+
136
+ @if $modifier {
137
+ $modifierCombo: $modifier-separator + $modifier;
138
+ }
139
+
140
+ @at-root {
141
+ #{&}#{$specSelector}.#{$block+$element-separator+$element+$modifierCombo} {
142
+ @content
143
+ }
144
+ }
145
+ }
146
+
147
+ @mixin meb($modifier: false, $element: $E, $block: $B) {
148
+ $selector: &;
149
+ $modifierCombo: '';
150
+
151
+ @if $modifier {
152
+ $modifierCombo: $modifier-separator + $modifier;
153
+ }
154
+
155
+ @at-root {
156
+ #{$selector} {
157
+ .#{$block+$element-separator+$element+$modifierCombo} {
158
+ @content
159
+ }
160
+ }
161
+ }
162
+ }
163
+
164
+ @mixin when($state) {
165
+ @at-root {
166
+ &.#{$state-prefix + $state} {
167
+ @content;
168
+ }
169
+ }
170
+ }
171
+
172
+ @mixin must($state1, $state2) {
173
+ @at-root {
174
+ &.#{$state-prefix + $state1}.#{$state-prefix + $state2} {
175
+ @content;
176
+ }
177
+ }
178
+ }
179
+
180
+ @mixin extend-rule($name) {
181
+ @extend #{'%shared-'+$name};
182
+ }
183
+
184
+ @mixin share-rule($name) {
185
+ $rule-name: '%shared-'+$name;
186
+
187
+ @at-root #{$rule-name} {
188
+ @content
189
+ }
190
+ }
191
+
192
+ @mixin pseudo($pseudo) {
193
+ @at-root #{&}#{':#{$pseudo}'} {
194
+ @content
195
+ }
196
+ }
@@ -0,0 +1,138 @@
1
+ @import "var";
2
+
3
+ .fade-in-linear-enter-active,
4
+ .fade-in-linear-leave-active {
5
+ transition: $--fade-linear-transition;
6
+ }
7
+ .fade-in-linear-enter,
8
+ .fade-in-linear-leave,
9
+ .fade-in-linear-leave-active {
10
+ opacity: 0;
11
+ }
12
+
13
+ .base-fade-in-linear-enter-active,
14
+ .base-fade-in-linear-leave-active {
15
+ transition: $--fade-linear-transition;
16
+ }
17
+ .base-fade-in-linear-enter,
18
+ .base-fade-in-linear-leave,
19
+ .base-fade-in-linear-leave-active {
20
+ opacity: 0;
21
+ }
22
+
23
+ .base-fade-in-enter-active,
24
+ .base-fade-in-leave-active {
25
+ transition: all .3s cubic-bezier(.55,0,.1,1);
26
+ }
27
+ .base-fade-in-enter,
28
+ .base-fade-in-leave-active {
29
+ opacity: 0;
30
+ }
31
+
32
+ .base-zoom-in-center-enter-active,
33
+ .base-zoom-in-center-leave-active {
34
+ transition: all .3s cubic-bezier(.55,0,.1,1);
35
+ }
36
+ .base-zoom-in-center-enter,
37
+ .base-zoom-in-center-leave-active {
38
+ opacity: 0;
39
+ transform: scaleX(0);
40
+ }
41
+
42
+ .base-zoom-in-top-enter-active,
43
+ .base-zoom-in-top-leave-active {
44
+ opacity: 1;
45
+ transform: scaleY(1);
46
+ transition: $--md-fade-transition;
47
+ transform-origin: center top;
48
+ }
49
+ .base-zoom-in-top-enter,
50
+ .base-zoom-in-top-leave-active {
51
+ opacity: 0;
52
+ transform: scaleY(0);
53
+ }
54
+
55
+ .base-zoom-in-bottom-enter-active,
56
+ .base-zoom-in-bottom-leave-active {
57
+ opacity: 1;
58
+ transform: scaleY(1);
59
+ transition: $--md-fade-transition;
60
+ transform-origin: center bottom;
61
+ }
62
+ .base-zoom-in-bottom-enter,
63
+ .base-zoom-in-bottom-leave-active {
64
+ opacity: 0;
65
+ transform: scaleY(0);
66
+ }
67
+
68
+ .base-zoom-in-left-enter-active,
69
+ .base-zoom-in-left-leave-active {
70
+ opacity: 1;
71
+ transform: scale(1, 1);
72
+ transition: $--md-fade-transition;
73
+ transform-origin: top left;
74
+ }
75
+ .base-zoom-in-left-enter,
76
+ .base-zoom-in-left-leave-active {
77
+ opacity: 0;
78
+ transform: scale(.45, .45);
79
+ }
80
+
81
+ .base-tooltip-enter-active,
82
+ .base-tooltip-leave-active {
83
+ opacity: .9;
84
+ transform: scale(1, 1);
85
+ transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
86
+ }
87
+ .base-tooltip-enter,
88
+ .base-tooltip-leave-active {
89
+ opacity: 0;
90
+ transform: scale(0);
91
+ }
92
+ .base-tooltip-move {
93
+ transition: transform .6s
94
+ }
95
+
96
+ .collapse-transition {
97
+ transition: 0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out;
98
+ }
99
+ .horizontal-collapse-transition {
100
+ transition: 0.3s width ease-in-out, 0.3s padding-left ease-in-out, 0.3s padding-right ease-in-out;
101
+ }
102
+
103
+ .base-list-enter-active,
104
+ .base-list-leave-active {
105
+ transition: all 1s;
106
+ }
107
+ .base-list-enter, .base-list-leave-active {
108
+ opacity: 0;
109
+ transform: translateY(-30px);
110
+ }
111
+
112
+ .base-opacity-transition {
113
+ transition: opacity .3s cubic-bezier(.55,0,.1,1);
114
+ }
115
+
116
+ .base-slide-y-enter-active,
117
+ .base-slide-y-leave-active {
118
+ transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
119
+ }
120
+ .base-slide-y-move {
121
+ transition: transform .6s;
122
+ }
123
+ .base-slide-y-enter, .base-slide-y-leave-to {
124
+ opacity: 0;
125
+ transform: translateY(-15px);
126
+ }
127
+
128
+
129
+ .base-flip-list-enter, .base-flip-list-leave-to {
130
+ opacity: 0;
131
+ transform: translateY(30px);
132
+ }
133
+ .base-flip-list-leave-active {
134
+ position: absolute;
135
+ }
136
+ .base-flip-list-move {
137
+ transition: transform .6s;
138
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkwq/business",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "中科文情业务组件库",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.min.cjs",
package/vite.config.js CHANGED
@@ -14,7 +14,10 @@ export default defineConfig({
14
14
  hook:'closeBundle',
15
15
  targets:[
16
16
  { src: 'src/static/', dest: 'dist/' },
17
- { src: 'src/components/base/ui/style/var.scss', dest: 'dist/'}
17
+ { src: 'src/components/base/ui/style/var.scss', dest: 'dist/'},
18
+ { src: 'src/components/base/ui/style/animations.scss', dest: 'dist/'},
19
+ { src: 'src/components/base/ui/style/mixins.scss', dest: 'dist/'},
20
+ { src: 'src/components/base/ui/style/transition.scss', dest: 'dist/'}
18
21
  ]
19
22
  }),
20
23
  SplitStylePluginVite({