vdesign-ui 0.1.17 → 0.1.19

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.
Files changed (192) hide show
  1. package/dist/css/chunk-1952c402.04c2303e.css +1 -0
  2. package/dist/css/chunk-6a5c6104.38021b56.css +1 -0
  3. package/dist/css/chunk-vendors.4ecfba63.css +1 -0
  4. package/dist/css/sites.395ce21f.css +1 -0
  5. package/dist/img/404-dark.775df5bb.png +0 -0
  6. package/dist/img/bg_mobile.5909f667.png +0 -0
  7. package/dist/img/completed-dark.4183a8a8.png +0 -0
  8. package/dist/img/error-dark.b80857da.png +0 -0
  9. package/dist/img/icon.a67073c3.svg +7 -0
  10. package/dist/img/iphoneX.38c8778e.png +0 -0
  11. package/dist/img/logo-white.fad4f907.png +0 -0
  12. package/dist/img/logo.1eda11d6.png +0 -0
  13. package/dist/img/network-dark.11a147bb.png +0 -0
  14. package/dist/img/nodata-dark.b0ea0e39.png +0 -0
  15. package/dist/img/qrcode2.0a9d9044.png +0 -0
  16. package/dist/img/wait-dark.6aa28731.png +0 -0
  17. package/dist/index.html +1 -0
  18. package/dist/js/chunk-1952c402.c58ecfb5.js +1 -0
  19. package/dist/js/chunk-2d2183be.2a64419d.js +1 -0
  20. package/dist/js/chunk-6a5c6104.c8fa5635.js +1 -0
  21. package/dist/js/chunk-vendors.490b7673.js +37 -0
  22. package/dist/js/sites.5a217467.js +1 -0
  23. package/package.json +3 -3
  24. package/dist/components/actionbar/actionbar-cell/index.vue +0 -34
  25. package/dist/components/actionbar/index.js +0 -8
  26. package/dist/components/actionbar/index.vue +0 -39
  27. package/dist/components/actionbar/style.less +0 -48
  28. package/dist/components/actions-cell/actions/index.js +0 -7
  29. package/dist/components/actions-cell/actions/index.vue +0 -68
  30. package/dist/components/actions-cell/actions/style.less +0 -94
  31. package/dist/components/actions-cell/index.js +0 -7
  32. package/dist/components/actions-cell/index.vue +0 -94
  33. package/dist/components/actions-cell/style.less +0 -39
  34. package/dist/components/activityviews/index.js +0 -8
  35. package/dist/components/activityviews/index.vue +0 -107
  36. package/dist/components/activityviews/style.less +0 -152
  37. package/dist/components/badge/index.js +0 -8
  38. package/dist/components/badge/index.vue +0 -49
  39. package/dist/components/badge/style.less +0 -66
  40. package/dist/components/button/index.js +0 -8
  41. package/dist/components/button/index.vue +0 -89
  42. package/dist/components/button/style.less +0 -563
  43. package/dist/components/calendar/end.png +0 -0
  44. package/dist/components/calendar/index-element.vue +0 -84
  45. package/dist/components/calendar/index.js +0 -8
  46. package/dist/components/calendar/index.vue +0 -52
  47. package/dist/components/calendar/start.png +0 -0
  48. package/dist/components/calendar/style.less +0 -167
  49. package/dist/components/checkbox/assist.js +0 -34
  50. package/dist/components/checkbox/checkbox-group/index.js +0 -8
  51. package/dist/components/checkbox/checkbox-group/index.vue +0 -69
  52. package/dist/components/checkbox/index.js +0 -8
  53. package/dist/components/checkbox/index.vue +0 -184
  54. package/dist/components/checkbox/style.less +0 -289
  55. package/dist/components/common/state/index.vue +0 -80
  56. package/dist/components/data-list/index.js +0 -10
  57. package/dist/components/data-list/index.vue +0 -19
  58. package/dist/components/data-list/style.less +0 -624
  59. package/dist/components/datetime-picker/index.js +0 -8
  60. package/dist/components/datetime-picker/index.vue +0 -37
  61. package/dist/components/datetime-picker/style.less +0 -24
  62. package/dist/components/dialog/index copy.vue +0 -112
  63. package/dist/components/dialog/index.js +0 -8
  64. package/dist/components/dialog/index.vue +0 -112
  65. package/dist/components/dialog/style.less +0 -122
  66. package/dist/components/divider/index.js +0 -8
  67. package/dist/components/divider/index.vue +0 -54
  68. package/dist/components/divider/style.less +0 -92
  69. package/dist/components/dropdown/index.js +0 -8
  70. package/dist/components/dropdown/index.vue +0 -210
  71. package/dist/components/dropdown/style.less +0 -402
  72. package/dist/components/empty/empty-404.png +0 -0
  73. package/dist/components/empty/empty-img.png +0 -0
  74. package/dist/components/empty/empty-network.png +0 -0
  75. package/dist/components/empty/index.js +0 -8
  76. package/dist/components/empty/index.vue +0 -65
  77. package/dist/components/empty/style.less +0 -53
  78. package/dist/components/footer/index.js +0 -7
  79. package/dist/components/footer/index.vue +0 -29
  80. package/dist/components/footer/style.less +0 -22
  81. package/dist/components/footnav/footnav-item/index.js +0 -7
  82. package/dist/components/footnav/footnav-item/index.vue +0 -75
  83. package/dist/components/footnav/footnav-item/style.less +0 -39
  84. package/dist/components/footnav/index.js +0 -7
  85. package/dist/components/footnav/index.vue +0 -82
  86. package/dist/components/footnav/style.less +0 -22
  87. package/dist/components/form/index.js +0 -7
  88. package/dist/components/form/index.vue +0 -12
  89. package/dist/components/headnav/index.js +0 -7
  90. package/dist/components/headnav/index.vue +0 -139
  91. package/dist/components/headnav/style.less +0 -232
  92. package/dist/components/icon/font/iconfont.css +0 -817
  93. package/dist/components/icon/font/iconfont.js +0 -2
  94. package/dist/components/icon/index.js +0 -9
  95. package/dist/components/icon/index.vue +0 -46
  96. package/dist/components/icon/style.less +0 -44
  97. package/dist/components/input/calcTextareaHeight.js +0 -266
  98. package/dist/components/input/index.js +0 -8
  99. package/dist/components/input/index.vue +0 -343
  100. package/dist/components/input/password/index.js +0 -8
  101. package/dist/components/input/password/index.vue +0 -60
  102. package/dist/components/input/search/index.js +0 -8
  103. package/dist/components/input/search/index.vue +0 -66
  104. package/dist/components/input/stepper/index.js +0 -8
  105. package/dist/components/input/stepper/index.vue +0 -136
  106. package/dist/components/input/style.less +0 -496
  107. package/dist/components/list/index.js +0 -8
  108. package/dist/components/list/index.vue +0 -159
  109. package/dist/components/list/style.less +0 -292
  110. package/dist/components/loading/index.js +0 -7
  111. package/dist/components/loading/index.vue +0 -53
  112. package/dist/components/loading/loading.png +0 -0
  113. package/dist/components/loading/refresh.png +0 -0
  114. package/dist/components/loading/style.less +0 -48
  115. package/dist/components/mixins/clickoutside.js +0 -81
  116. package/dist/components/mixins/dom.js +0 -41
  117. package/dist/components/mixins/languageMixin.js +0 -38
  118. package/dist/components/mixins/outlineConfigPlugin.js +0 -40
  119. package/dist/components/mixins/router-link.js +0 -23
  120. package/dist/components/noticebar/index.js +0 -8
  121. package/dist/components/noticebar/index.vue +0 -246
  122. package/dist/components/noticebar/style.less +0 -309
  123. package/dist/components/overlay/index.js +0 -8
  124. package/dist/components/overlay/index.vue +0 -161
  125. package/dist/components/overlay/style.less +0 -23
  126. package/dist/components/pagebreak/index.js +0 -7
  127. package/dist/components/pagebreak/index.vue +0 -60
  128. package/dist/components/pagebreak/style.less +0 -43
  129. package/dist/components/popover/index.js +0 -8
  130. package/dist/components/popover/index.vue +0 -99
  131. package/dist/components/popover/style.less +0 -349
  132. package/dist/components/popover/vue-popover.vue +0 -314
  133. package/dist/components/radio/assist.js +0 -34
  134. package/dist/components/radio/index.js +0 -8
  135. package/dist/components/radio/index.vue +0 -159
  136. package/dist/components/radio/radio-group/index.vue +0 -70
  137. package/dist/components/radio/style.less +0 -297
  138. package/dist/components/result/completed.png +0 -0
  139. package/dist/components/result/error.png +0 -0
  140. package/dist/components/result/index.js +0 -8
  141. package/dist/components/result/index.vue +0 -47
  142. package/dist/components/result/style.less +0 -42
  143. package/dist/components/result/wait.png +0 -0
  144. package/dist/components/selector/index.js +0 -8
  145. package/dist/components/selector/index.vue +0 -124
  146. package/dist/components/selector/style.less +0 -474
  147. package/dist/components/skeleton/index.js +0 -7
  148. package/dist/components/skeleton/index.vue +0 -142
  149. package/dist/components/skeleton/style.less +0 -192
  150. package/dist/components/slider/draggable.js +0 -49
  151. package/dist/components/slider/index.js +0 -7
  152. package/dist/components/slider/index.vue +0 -173
  153. package/dist/components/slider/style.less +0 -95
  154. package/dist/components/slider/utils.js +0 -60
  155. package/dist/components/step/index.js +0 -7
  156. package/dist/components/step/index.vue +0 -48
  157. package/dist/components/step/style.less +0 -59
  158. package/dist/components/step-item/index.js +0 -7
  159. package/dist/components/step-item/index.vue +0 -89
  160. package/dist/components/step-item/style.less +0 -361
  161. package/dist/components/style/index.vue +0 -42
  162. package/dist/components/switch/index.js +0 -8
  163. package/dist/components/switch/index.vue +0 -72
  164. package/dist/components/switch/style.less +0 -54
  165. package/dist/components/tabs/index.js +0 -8
  166. package/dist/components/tabs/index.vue +0 -145
  167. package/dist/components/tabs/style.less +0 -383
  168. package/dist/components/tabs/tab/index.vue +0 -56
  169. package/dist/components/tag/index.js +0 -7
  170. package/dist/components/tag/index.vue +0 -50
  171. package/dist/components/tag/style.less +0 -211
  172. package/dist/components/title/index.js +0 -8
  173. package/dist/components/title/index.vue +0 -92
  174. package/dist/components/title/style.less +0 -188
  175. package/dist/components/toast/index.js +0 -80
  176. package/dist/components/toast/index.vue +0 -44
  177. package/dist/components/toast/style.less +0 -55
  178. package/dist/components/transition/index.js +0 -8
  179. package/dist/components/transition/index.vue +0 -13
  180. package/dist/components/transition/style.less +0 -208
  181. package/dist/components/upload/index.js +0 -7
  182. package/dist/components/upload/index.vue +0 -224
  183. package/dist/components/upload/style.less +0 -156
  184. package/dist/demo.html +0 -10
  185. package/dist/locale/ar.js +0 -98
  186. package/dist/locale/en.js +0 -98
  187. package/dist/locale/zh.js +0 -98
  188. package/dist/token.css +0 -2973
  189. package/dist/vdesign-ui.common.js +0 -26919
  190. package/dist/vdesign-ui.css +0 -1
  191. package/dist/vdesign-ui.umd.js +0 -26929
  192. package/dist/vdesign-ui.umd.min.js +0 -32
@@ -1,152 +0,0 @@
1
-
2
- @dialog-prefix-cls: vd-activityviews;
3
-
4
- .@{dialog-prefix-cls}{
5
-
6
- ::-webkit-scrollbar{width:3px;}
7
-
8
- position: absolute;
9
- left: 0;
10
- right: 0;
11
- bottom: 0;
12
- z-index: 2011;
13
- width: 100%;
14
- display: flex;
15
- flex-direction: column;
16
- max-height: 80%;
17
- overflow: hidden;
18
- background-color: var(--color-activityviews-bg);
19
- border-radius: calc(var(--radius-activityviews-title) * 1px) calc(var(--radius-activityviews-title) * 1px) 0 0;
20
-
21
- &__close{
22
- font-size: calc(var(--icon-activityviews-close) * 1px);
23
- }
24
-
25
- &__header{
26
- display: flex;
27
- flex-direction: column;
28
-
29
- padding-block-start: calc(var(--spacing-activityviews-head-padding_top) * 1px);
30
- padding-block-end: calc(var(--spacing-activityviews-head-padding_bottom) * 1px);
31
- padding-inline-start: calc(var(--spacing-activityviews-padding_left) * 1px);
32
- padding-inline-end: calc(var(--spacing-activityviews-padding_right) * 1px);
33
- }
34
-
35
- &__bar{
36
- position: relative;
37
- width: 100%;
38
- height: 16px;
39
- &::after{
40
- content: '';
41
- position: absolute;
42
- left: 50%;
43
- top: calc(var(--spacing-activityviews-title-margin_right) * 1px);
44
- transform: translate(-50%, 0);
45
- width: calc(var(--width-activityviews-bar) * 1px);
46
- height: calc(var(--height-activityviews-bar) * 1px);
47
- border-radius: calc(var(--radius-activityviews-bar) * 1px);
48
- background-color: var(--color-activityviews-bar);
49
- }
50
- }
51
-
52
- &__wrapper{
53
- display: flex;
54
- align-items: center;
55
- }
56
-
57
- &__title{
58
- text-align: center;
59
- margin-inline-end: auto;
60
- padding-inline-end: calc(var(--spacing-activityviews-title-margin_right) * 1px);
61
- font-size: calc(var(--en-single-f-e-s-fontSize) * 1px);
62
- font-weight: var(--en-single-f-e-s-fontWeight);
63
- color:var(--color-activityviews-title);
64
- }
65
-
66
- &__description{
67
- color: var(--color-activityviews-text_describe);
68
- margin-block-start: calc(var(--spacing-activityviews-describe-margin_top) * 1px);
69
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
70
- font-weight: var(--en-single-f-c-r-fontWeight);
71
- }
72
-
73
- &__done{
74
- height: 24px;
75
- line-height: 24px;
76
- padding-right: 0;
77
- }
78
-
79
- &__body{
80
- // background-color: #fff;
81
- background-color: var(--color-activityviews-bg);
82
-
83
- height: 80%;
84
- overflow-y: auto;
85
-
86
-
87
- &--action{
88
- overflow: hidden;
89
- }
90
- }
91
-
92
- &__action{
93
- padding: 0;
94
- height: 80%;
95
- overflow: hidden;
96
- display: flex;
97
- -webkit-box-orient: vertical;
98
- -webkit-box-direction: normal;
99
- flex-direction: column;
100
- &-title{
101
- flex-shrink: 0;
102
- font-size: 14px;
103
- text-align: center;
104
- padding-block-start:calc(var(--spacing-activityviews-actionsheet_title-padding_y) * 1px) ;
105
- padding-block-end:calc(var(--spacing-activityviews-actionsheet_title-padding_y) * 1px) ;
106
- color: var(--color-activityviews-actionsheet_title);
107
- }
108
-
109
- }
110
-
111
- &__actions{
112
- flex: 1;
113
- overflow: auto;
114
- -webkit-overflow-scrolling: touch;
115
-
116
- .vd-btn{
117
- border-radius: 0;
118
- }
119
- }
120
-
121
- &__gap{
122
- display: block;
123
- height: calc(var(--height-activityviews-actionsheet_divider) * 1px);
124
- background-color: var(--color-activityviews-actionsheet_divider);
125
- }
126
-
127
- &__cancel{
128
- flex-shrink: 0;
129
-
130
-
131
- .vd-btn{
132
- position: relative;
133
- border: none;
134
- height: calc(var(--height-activityviews-actionsheet) * 1px);
135
- border-radius: 0;
136
-
137
- &::before{
138
- position: absolute;
139
- box-sizing: border-box;
140
- content: ' ';
141
- pointer-events: none;
142
- top: -50%;
143
- right: -50%;
144
- bottom: -50%;
145
- left: -50%;
146
- border: 0 solid var(--divider-color-default-1);
147
- transform: scale(0.5);
148
- border-top-width: 1px;
149
- }
150
- }
151
- }
152
- }
@@ -1,8 +0,0 @@
1
- import Badge from './index.vue';
2
- import './style.less';
3
-
4
- Badge.install = function (Vue) {
5
- Vue.component(Badge.name, Badge);
6
- };
7
-
8
- export default Badge;
@@ -1,49 +0,0 @@
1
- <template>
2
- <div class="vd-badge">
3
- <slot></slot>
4
- <span v-show="!hidden && (content || content === 0 || isDot)" v-text="content" class="vd-badge__content" :class="[
5
- {
6
- 'vd-is-fixed': $slots.default,
7
- 'vd-is-dot': isDot,
8
- 'vd-ltr': direction
9
- }
10
- ]">
11
- </span>
12
- </div>
13
- </template>
14
-
15
- <script>
16
-
17
- export default {
18
- name: 'vd-badge',
19
- props: {
20
- value: [String, Number],
21
- max: Number,
22
- isDot: Boolean,
23
- hidden: Boolean,
24
- },
25
- computed: {
26
- content() {
27
- if (this.isDot) return;
28
-
29
- const value = this.value;
30
- const max = this.max;
31
-
32
- if (typeof value === 'number' && typeof max === 'number') {
33
- return max < value ? `${max}+` : value;
34
- }
35
-
36
- return value;
37
- },
38
- direction() {
39
- return {
40
- 'ltr': this.max
41
- }
42
- }
43
- }
44
- }
45
- </script>
46
-
47
- <style lang="less">
48
- @import './style.less';
49
- </style>
@@ -1,66 +0,0 @@
1
- @badge-prefix-cls: vd-badge;
2
-
3
- .@{badge-prefix-cls}{
4
- position: relative;
5
- display: inline-flex;
6
- line-height: 1;
7
- &__content{
8
- text-align: center;
9
- white-space: nowrap;
10
- background-color: var(--color-badge-bg);
11
- border-radius: calc(var(--radius-badge-count) * 1px);
12
- color: var(--color-badge-text);
13
- display: inline-block;
14
- font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
15
- font-weight: var(--en-single-f-b-r-fontWeight);
16
- min-width: calc(var(--height-badge-count) * 1px);
17
- height: calc(var(--height-badge-count) * 1px);
18
- // line-height: calc(var(--height-badge-count) * 1px);
19
- padding: calc(var(--spacing-badge-count-padding_x) * 1px) calc(var(--spacing-badge-count-padding_y) * 1px);
20
- // padding: 0 4px;
21
-
22
- // &::before {
23
- // content: '';
24
- // display: inline-block;
25
- // vertical-align: middle;
26
- // width: 0;
27
- // height: 100%;
28
- // margin-top: 1px;
29
- // }
30
- }
31
- .vd-is-dot{
32
- background-color: transparent;
33
- &::before{
34
- content: '';
35
- display: inline-block;
36
- width: calc(var(--width-badge-dot) * 1px);
37
- height: calc(var(--height-badge-dot) * 1px);
38
- background-color: var(--color-badge-bg);
39
- border-radius: calc(var(--radius-badge-count) * 1px);
40
-
41
- }
42
-
43
- }
44
-
45
- .vd-is-fixed{
46
- position: absolute;
47
- top: 0;
48
- right: 0;
49
- transform: translate(50%,-50%);
50
- }
51
-
52
- .vd-ltr{
53
- direction: ltr;
54
- }
55
- }
56
-
57
-
58
- [lang = 'ar']{
59
- .@{badge-prefix-cls}{
60
- .vd-is-fixed{
61
- left: 0;
62
- right: auto;
63
- transform: translate(-50%,-50%);
64
- }
65
- }
66
- }
@@ -1,8 +0,0 @@
1
- import HButton from './index.vue';
2
- import './style.less';
3
-
4
- HButton.install = function (Vue) {
5
- Vue.component(HButton.name, HButton);
6
- };
7
-
8
- export default HButton;
@@ -1,89 +0,0 @@
1
- <template>
2
- <button type="button" :class="classes" :disabled="disabled" @click="handleClick">
3
- <div class="vd-btn-inner">
4
- <vd-icon v-if="iconPosition === 'top' || iconPosition === 'left'" :name="beforeIconNode" :size="size"></vd-icon>
5
- <slot></slot>
6
- <vd-icon v-if="iconPosition === 'bottom' || iconPosition === 'right'" :name="icon" :size="size"></vd-icon>
7
- </div>
8
- </button>
9
- </template>
10
- <script>
11
- export default {
12
- name: 'vd-button',
13
- props: {
14
- type: {
15
- type: String,
16
- default: ''
17
- },
18
- size: {
19
- type: String,
20
- default: ''
21
- },
22
- plain: {
23
- type: Boolean,
24
- default: false
25
- },
26
- disabled: {
27
- type: Boolean,
28
- default: false
29
- },
30
- loading: {
31
- type: Boolean,
32
- default: false
33
- },
34
- loadingIcon: {
35
- type: String,
36
- default: 'icon_show_statisticsprice'
37
- },
38
- block: {
39
- type: Boolean,
40
- default: false
41
- },
42
- icon: {
43
- type: String,
44
- default: ''
45
- },
46
- iconPosition: {
47
- type: String,
48
- default: 'left'
49
- },
50
- round: {
51
- type: Boolean,
52
- default: false
53
- }
54
- },
55
- data() {
56
- return {
57
- }
58
- },
59
- computed: {
60
- classes() {
61
- const prefixCls = 'vd-btn'
62
- return {
63
- [prefixCls]: true,
64
- [`${prefixCls}-${this.type}`]: this.type,
65
- [`${prefixCls}-${this.size}`]: this.size,
66
- [`${prefixCls}-wireframe`]: this.plain || this.type === 'wireframe',
67
- [`${prefixCls}-disabled`]: this.disabled,
68
- [`${prefixCls}-block`]: this.block,
69
- [`${prefixCls}-loading`]: this.loading,
70
- [`${prefixCls}-round`]: this.round,
71
- [`${prefixCls}-icon`]: this.icon && this.iconPosition === 'top' || this.iconPosition === 'bottom'
72
- }
73
- },
74
- beforeIconNode() {
75
- return this.loading ? this.loadingIcon : this.icon
76
- }
77
- },
78
- methods: {
79
- handleClick(event) {
80
- if (!this.loading && !this.disabled) {
81
- this.$emit('click', event)
82
- }
83
- }
84
- }
85
- }
86
- </script>
87
- <style lang="less">
88
- @import './style.less';
89
- </style>