zartui 0.1.113 → 2.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.
Files changed (159) hide show
  1. package/es/action-sheet/index.css +1 -1
  2. package/es/action-sheet/index.js +3 -3
  3. package/es/action-sheet/index.less +12 -8
  4. package/es/area/style/index.js +1 -0
  5. package/es/area/style/less.js +1 -0
  6. package/es/avatar/index.css +1 -1
  7. package/es/button/index.css +1 -1
  8. package/es/button/index.js +28 -13
  9. package/es/button/index.less +60 -27
  10. package/es/calendar/components/Header.js +1 -6
  11. package/es/calendar/index.css +1 -1
  12. package/es/calendar/index.js +31 -8
  13. package/es/calendar/index.less +16 -10
  14. package/es/cell/index.css +1 -1
  15. package/es/cell/index.js +60 -38
  16. package/es/cell/index.less +67 -12
  17. package/es/cell/shared.js +2 -0
  18. package/es/checkbox/index.css +1 -1
  19. package/es/checkbox/index.less +18 -6
  20. package/es/checkbox-group/index.js +1 -0
  21. package/es/datetime-picker/style/index.js +1 -0
  22. package/es/datetime-picker/style/less.js +1 -0
  23. package/es/field/index.css +1 -1
  24. package/es/field/index.js +80 -7
  25. package/es/field/index.less +60 -8
  26. package/es/icon/index.css +1 -1
  27. package/es/image/index.css +1 -1
  28. package/es/image-preview/ImagePreview.js +1 -1
  29. package/es/image-preview/index.css +1 -1
  30. package/es/image-preview/index.less +4 -2
  31. package/es/index.js +1 -1
  32. package/es/loading/index.css +1 -1
  33. package/es/loading/index.js +3 -3
  34. package/es/loading/index.less +1 -1
  35. package/es/media-picker/image/PickFileIcon.js +2 -9
  36. package/es/media-picker/image/PickPhotoIcon.js +2 -9
  37. package/es/media-picker/image/TakeAudioIcon.js +2 -9
  38. package/es/media-picker/image/TakePhotoIcon.js +2 -9
  39. package/es/media-picker/image/TakeVideoIcon.js +2 -9
  40. package/es/media-picker/index.css +1 -1
  41. package/es/media-picker/index.less +6 -4
  42. package/es/mixins/checkbox.js +12 -30
  43. package/es/multiple-picker/index.css +1 -1
  44. package/es/multiple-picker/index.js +18 -11
  45. package/es/multiple-picker/index.less +11 -5
  46. package/es/multiple-picker/style/index.js +1 -0
  47. package/es/multiple-picker/style/less.js +1 -0
  48. package/es/pdf-viewer/style/index.js +1 -0
  49. package/es/pdf-viewer/style/less.js +1 -0
  50. package/es/picker/index.css +1 -1
  51. package/es/picker/index.js +18 -9
  52. package/es/picker/index.less +18 -2
  53. package/es/picker/style/index.js +1 -0
  54. package/es/picker/style/less.js +1 -0
  55. package/es/popup/index.css +1 -1
  56. package/es/popup/index.js +1 -1
  57. package/es/popup/index.less +2 -2
  58. package/es/radio/index.css +1 -1
  59. package/es/radio/index.less +23 -22
  60. package/es/radio-group/index.js +1 -0
  61. package/es/signature/index.js +7 -6
  62. package/es/signature/index.less +1 -1
  63. package/es/step/index.css +1 -1
  64. package/es/step/index.js +3 -5
  65. package/es/step/index.less +3 -1
  66. package/es/stepper/index.css +1 -1
  67. package/es/steps/index.css +1 -1
  68. package/es/steps/index.less +3 -3
  69. package/es/style/reset.css +1 -1
  70. package/es/style/var.less +92 -53
  71. package/es/switch-cell/index.css +1 -1
  72. package/es/tabs/Title.js +6 -1
  73. package/es/tabs/index.css +1 -1
  74. package/es/tabs/index.js +2 -4
  75. package/es/tabs/index.less +18 -15
  76. package/es/toast/index.css +1 -1
  77. package/es/uploader/index.css +1 -1
  78. package/lib/action-sheet/index.css +1 -1
  79. package/lib/action-sheet/index.js +3 -3
  80. package/lib/action-sheet/index.less +12 -8
  81. package/lib/area/style/index.js +1 -0
  82. package/lib/area/style/less.js +1 -0
  83. package/lib/avatar/index.css +1 -1
  84. package/lib/button/index.css +1 -1
  85. package/lib/button/index.js +28 -13
  86. package/lib/button/index.less +60 -27
  87. package/lib/calendar/components/Header.js +1 -6
  88. package/lib/calendar/index.css +1 -1
  89. package/lib/calendar/index.js +31 -8
  90. package/lib/calendar/index.less +16 -10
  91. package/lib/cell/index.css +1 -1
  92. package/lib/cell/index.js +60 -38
  93. package/lib/cell/index.less +67 -12
  94. package/lib/cell/shared.js +2 -0
  95. package/lib/checkbox/index.css +1 -1
  96. package/lib/checkbox/index.less +18 -6
  97. package/lib/checkbox-group/index.js +1 -0
  98. package/lib/datetime-picker/style/index.js +1 -0
  99. package/lib/datetime-picker/style/less.js +1 -0
  100. package/lib/field/index.css +1 -1
  101. package/lib/field/index.js +80 -7
  102. package/lib/field/index.less +60 -8
  103. package/lib/icon/index.css +1 -1
  104. package/lib/image/index.css +1 -1
  105. package/lib/image-preview/ImagePreview.js +1 -1
  106. package/lib/image-preview/index.css +1 -1
  107. package/lib/image-preview/index.less +4 -2
  108. package/lib/index.css +1 -1
  109. package/lib/index.js +1 -1
  110. package/lib/index.less +1 -1
  111. package/lib/loading/index.css +1 -1
  112. package/lib/loading/index.js +3 -3
  113. package/lib/loading/index.less +1 -1
  114. package/lib/media-picker/image/PickFileIcon.js +2 -9
  115. package/lib/media-picker/image/PickPhotoIcon.js +2 -9
  116. package/lib/media-picker/image/TakeAudioIcon.js +2 -9
  117. package/lib/media-picker/image/TakePhotoIcon.js +2 -9
  118. package/lib/media-picker/image/TakeVideoIcon.js +2 -9
  119. package/lib/media-picker/index.css +1 -1
  120. package/lib/media-picker/index.less +6 -4
  121. package/lib/mixins/checkbox.js +12 -30
  122. package/lib/multiple-picker/index.css +1 -1
  123. package/lib/multiple-picker/index.js +19 -11
  124. package/lib/multiple-picker/index.less +11 -5
  125. package/lib/multiple-picker/style/index.js +1 -0
  126. package/lib/multiple-picker/style/less.js +1 -0
  127. package/lib/pdf-viewer/style/index.js +1 -0
  128. package/lib/pdf-viewer/style/less.js +1 -0
  129. package/lib/picker/index.css +1 -1
  130. package/lib/picker/index.js +19 -9
  131. package/lib/picker/index.less +18 -2
  132. package/lib/picker/style/index.js +1 -0
  133. package/lib/picker/style/less.js +1 -0
  134. package/lib/popup/index.css +1 -1
  135. package/lib/popup/index.js +1 -1
  136. package/lib/popup/index.less +2 -2
  137. package/lib/radio/index.css +1 -1
  138. package/lib/radio/index.less +23 -22
  139. package/lib/radio-group/index.js +1 -0
  140. package/lib/signature/index.js +7 -6
  141. package/lib/signature/index.less +1 -1
  142. package/lib/step/index.css +1 -1
  143. package/lib/step/index.js +3 -5
  144. package/lib/step/index.less +3 -1
  145. package/lib/stepper/index.css +1 -1
  146. package/lib/steps/index.css +1 -1
  147. package/lib/steps/index.less +3 -3
  148. package/lib/style/reset.css +1 -1
  149. package/lib/style/var.less +92 -53
  150. package/lib/switch-cell/index.css +1 -1
  151. package/lib/tabs/Title.js +6 -1
  152. package/lib/tabs/index.css +1 -1
  153. package/lib/tabs/index.js +2 -4
  154. package/lib/tabs/index.less +18 -15
  155. package/lib/toast/index.css +1 -1
  156. package/lib/uploader/index.css +1 -1
  157. package/lib/zart.js +547 -450
  158. package/lib/zart.min.js +1 -1
  159. package/package.json +3 -3
package/lib/zart.js CHANGED
@@ -56033,7 +56033,7 @@ var popup_createNamespace = Object(utils["b" /* createNamespace */])('popup'),
56033
56033
  safeAreaInsetBottom: Boolean,
56034
56034
  closeIcon: {
56035
56035
  type: String,
56036
- default: 'cross'
56036
+ default: 'clear'
56037
56037
  },
56038
56038
  closeIconPosition: {
56039
56039
  type: String,
@@ -56173,7 +56173,7 @@ function LoadingIcon(h, props) {
56173
56173
  }
56174
56174
  })]);
56175
56175
  } else {
56176
- //保证defs不会被重用
56176
+ // 保证defs不会被重用
56177
56177
  var firstHalfId = svgElementId++;
56178
56178
  var secondHalfId = svgElementId++;
56179
56179
  return h("svg", {
@@ -56186,7 +56186,7 @@ function LoadingIcon(h, props) {
56186
56186
  }
56187
56187
  }, [h("defs", [h("linearGradient", {
56188
56188
  "attrs": {
56189
- "id": secondHalfId
56189
+ "id": secondHalfId + ''
56190
56190
  }
56191
56191
  }, [h("stop", {
56192
56192
  "attrs": {
@@ -56202,7 +56202,7 @@ function LoadingIcon(h, props) {
56202
56202
  }
56203
56203
  })]), h("linearGradient", {
56204
56204
  "attrs": {
56205
- "id": firstHalfId
56205
+ "id": firstHalfId + ''
56206
56206
  }
56207
56207
  }, [h("stop", {
56208
56208
  "attrs": {
@@ -56411,8 +56411,8 @@ function ActionSheet(h, props, slots, ctx) {
56411
56411
  function CancelText() {
56412
56412
  if (cancelText) {
56413
56413
  return [h("div", {
56414
- "class": action_sheet_bem('gap')
56415
- }), h("button", {
56414
+ "class": action_sheet_bem('cancel-box')
56415
+ }, [h("button", {
56416
56416
  "attrs": {
56417
56417
  "type": "button"
56418
56418
  },
@@ -56420,7 +56420,7 @@ function ActionSheet(h, props, slots, ctx) {
56420
56420
  "on": {
56421
56421
  "click": onCancel
56422
56422
  }
56423
- }, [cancelText])];
56423
+ }, [cancelText])])];
56424
56424
  }
56425
56425
  }
56426
56426
 
@@ -56899,6 +56899,258 @@ function isOptionDisabled(option) {
56899
56899
  }, [this.genOptions()])]);
56900
56900
  }
56901
56901
  }));
56902
+ // CONCATENATED MODULE: ./es/utils/constant.js
56903
+ // color
56904
+ var RED = '#ee0a24';
56905
+ var BLUE = '#0091FA'; // border
56906
+
56907
+ var BORDER = 'zt-hairline';
56908
+ var BORDER_RIGHT = BORDER + "--right";
56909
+ var BORDER_TOP = BORDER + "--top";
56910
+ var BORDER_LEFT = BORDER + "--left";
56911
+ var BORDER_BOTTOM = BORDER + "--bottom";
56912
+ var BORDER_SURROUND = BORDER + "--surround";
56913
+ var BORDER_TOP_BOTTOM = BORDER + "--top-bottom";
56914
+ var BORDER_UNSET_TOP_BOTTOM = BORDER + "-unset--top-bottom";
56915
+ // CONCATENATED MODULE: ./es/utils/router.js
56916
+ /**
56917
+ * Vue Router support
56918
+ */
56919
+ function isRedundantNavigation(err) {
56920
+ return err.name === 'NavigationDuplicated' || err.message && err.message.indexOf('redundant navigation') !== -1;
56921
+ }
56922
+
56923
+ function route(router, config) {
56924
+ var to = config.to,
56925
+ url = config.url,
56926
+ replace = config.replace;
56927
+
56928
+ if (to && router) {
56929
+ var promise = router[replace ? 'replace' : 'push'](to);
56930
+ /* istanbul ignore else */
56931
+
56932
+ if (promise && promise.catch) {
56933
+ promise.catch(function (err) {
56934
+ if (err && !isRedundantNavigation(err)) {
56935
+ throw err;
56936
+ }
56937
+ });
56938
+ }
56939
+ } else if (url) {
56940
+ replace ? location.replace(url) : location.href = url;
56941
+ }
56942
+ }
56943
+ function functionalRoute(context) {
56944
+ route(context.parent && context.parent.$router, context.props);
56945
+ }
56946
+ var routeProps = {
56947
+ url: String,
56948
+ replace: Boolean,
56949
+ to: [String, Object]
56950
+ };
56951
+ // EXTERNAL MODULE: ./es/telemetry/index.js
56952
+ var telemetry = __webpack_require__(5);
56953
+
56954
+ // CONCATENATED MODULE: ./es/button/index.js
56955
+
56956
+ // Utils
56957
+
56958
+
56959
+
56960
+
56961
+
56962
+ // Components
56963
+
56964
+
56965
+ // Types
56966
+
56967
+ var button_createNamespace = Object(utils["b" /* createNamespace */])('button'),
56968
+ button_createComponent = button_createNamespace[0],
56969
+ button_bem = button_createNamespace[1];
56970
+
56971
+ function Button(h, props, slots, ctx) {
56972
+ var _ref;
56973
+
56974
+ var tag = props.tag,
56975
+ icon = props.icon,
56976
+ type = props.type,
56977
+ color = props.color,
56978
+ plain = props.plain,
56979
+ disabled = props.disabled,
56980
+ loading = props.loading,
56981
+ blockInner = props.blockInner,
56982
+ borderLess = props.borderLess,
56983
+ hairline = props.hairline,
56984
+ loadingText = props.loadingText,
56985
+ iconPosition = props.iconPosition,
56986
+ backgroundColor = props.backgroundColor,
56987
+ borderColor = props.borderColor;
56988
+ var style = {};
56989
+
56990
+ if (backgroundColor) {
56991
+ style.background = backgroundColor;
56992
+
56993
+ if (backgroundColor.includes('gradient')) {
56994
+ style.border = 0;
56995
+ } else {
56996
+ style.borderColor = backgroundColor;
56997
+ }
56998
+ }
56999
+
57000
+ if (borderColor) {
57001
+ style.borderColor = borderColor;
57002
+ }
57003
+
57004
+ if (color) {
57005
+ style.color = color;
57006
+ }
57007
+
57008
+ if (borderLess) {
57009
+ style.border = 0;
57010
+ }
57011
+
57012
+ function onClick(event) {
57013
+ if (props.loading) {
57014
+ event.preventDefault();
57015
+ }
57016
+
57017
+ if (!loading && !disabled) {
57018
+ functional_emit(ctx, 'click', event);
57019
+ functionalRoute(ctx);
57020
+ var trackEvent = new telemetry["b" /* TelemetryEvent */]('button', {});
57021
+ telemetry["a" /* Telemetry */].sharedInstance.trackClick(trackEvent);
57022
+ }
57023
+ }
57024
+
57025
+ function onTouchstart(event) {
57026
+ functional_emit(ctx, 'touchstart', event);
57027
+ }
57028
+
57029
+ var classes = [button_bem([type, props.size, {
57030
+ plain: plain,
57031
+ loading: loading,
57032
+ disabled: disabled,
57033
+ hairline: hairline,
57034
+ 'block-inner': blockInner ? 'block-inner' : '',
57035
+ block: props.block,
57036
+ round: props.round,
57037
+ square: props.square
57038
+ }]), (_ref = {}, _ref[BORDER_SURROUND] = hairline, _ref)];
57039
+
57040
+ function renderIcon() {
57041
+ if (loading) {
57042
+ return slots.loading ? slots.loading() : h(es_loading, {
57043
+ "class": button_bem('loading'),
57044
+ "attrs": {
57045
+ "size": props.loadingSize,
57046
+ "type": props.loadingType,
57047
+ "color": "currentColor"
57048
+ }
57049
+ });
57050
+ }
57051
+
57052
+ if (slots.icon) {
57053
+ return h("div", {
57054
+ "class": button_bem('icon', props.size)
57055
+ }, [slots.icon()]);
57056
+ }
57057
+
57058
+ if (icon) {
57059
+ return h(es_icon, {
57060
+ "attrs": {
57061
+ "name": icon,
57062
+ "classPrefix": props.iconPrefix
57063
+ },
57064
+ "class": button_bem('icon', props.size)
57065
+ });
57066
+ }
57067
+ }
57068
+
57069
+ function renderContent() {
57070
+ var content = [];
57071
+
57072
+ if (iconPosition === 'left') {
57073
+ content.push(renderIcon());
57074
+ }
57075
+
57076
+ var text;
57077
+
57078
+ if (loading) {
57079
+ text = loadingText;
57080
+ } else {
57081
+ text = slots.default ? slots.default() : props.text;
57082
+ }
57083
+
57084
+ if (text) {
57085
+ content.push(h("span", {
57086
+ "class": button_bem('text')
57087
+ }, [text]));
57088
+ }
57089
+
57090
+ if (iconPosition === 'right') {
57091
+ content.push(renderIcon());
57092
+ }
57093
+
57094
+ return content;
57095
+ }
57096
+
57097
+ return h(tag, helper_default()([{
57098
+ "style": style,
57099
+ "class": classes,
57100
+ "attrs": {
57101
+ "type": props.nativeType,
57102
+ "disabled": disabled
57103
+ },
57104
+ "on": {
57105
+ "click": onClick,
57106
+ "touchstart": onTouchstart
57107
+ }
57108
+ }, inherit(ctx)]), [h("div", {
57109
+ "class": button_bem('content')
57110
+ }, [renderContent()])]);
57111
+ }
57112
+
57113
+ Button.props = _extends({}, routeProps, {
57114
+ text: String,
57115
+ icon: String,
57116
+ color: String,
57117
+ backgroundColor: String,
57118
+ borderColor: String,
57119
+ blockInner: Boolean,
57120
+ borderLess: Boolean,
57121
+ block: Boolean,
57122
+ plain: Boolean,
57123
+ round: Boolean,
57124
+ square: Boolean,
57125
+ loading: Boolean,
57126
+ hairline: Boolean,
57127
+ disabled: Boolean,
57128
+ iconPrefix: String,
57129
+ nativeType: String,
57130
+ loadingText: String,
57131
+ loadingType: String,
57132
+ tag: {
57133
+ type: String,
57134
+ default: 'button'
57135
+ },
57136
+ type: {
57137
+ type: String,
57138
+ default: 'default'
57139
+ },
57140
+ size: {
57141
+ type: String,
57142
+ default: 'normal'
57143
+ },
57144
+ loadingSize: {
57145
+ type: String,
57146
+ default: '20px'
57147
+ },
57148
+ iconPosition: {
57149
+ type: String,
57150
+ default: 'left'
57151
+ }
57152
+ });
57153
+ /* harmony default export */ var es_button = (button_createComponent(Button));
56902
57154
  // CONCATENATED MODULE: ./es/picker/index.js
56903
57155
  // Utils
56904
57156
 
@@ -56912,6 +57164,7 @@ function isOptionDisabled(option) {
56912
57164
 
56913
57165
 
56914
57166
 
57167
+
56915
57168
  var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
56916
57169
  picker_createComponent = picker_createNamespace[0],
56917
57170
  picker_bem = picker_createNamespace[1],
@@ -56940,7 +57193,7 @@ var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
56940
57193
  },
56941
57194
  toolbarPosition: {
56942
57195
  type: String,
56943
- default: 'top'
57196
+ default: 'bottom'
56944
57197
  },
56945
57198
  valueKey: {
56946
57199
  type: String,
@@ -57224,11 +57477,15 @@ var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
57224
57477
  },
57225
57478
  genCancel: function genCancel() {
57226
57479
  var h = this.$createElement;
57227
- return h("button", {
57480
+ return h(es_button, {
57228
57481
  "attrs": {
57229
- "type": "button"
57482
+ "size": "normal",
57483
+ "block": true
57484
+ },
57485
+ "style": {
57486
+ marginRigth: "4px",
57487
+ backgroundColor: "white"
57230
57488
  },
57231
- "class": picker_bem('cancel'),
57232
57489
  "on": {
57233
57490
  "click": this.cancel
57234
57491
  }
@@ -57236,11 +57493,15 @@ var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
57236
57493
  },
57237
57494
  genConfirm: function genConfirm() {
57238
57495
  var h = this.$createElement;
57239
- return h("button", {
57496
+ return h(es_button, {
57240
57497
  "attrs": {
57241
- "type": "button"
57498
+ "type": "primary",
57499
+ "size": "normal",
57500
+ "block": true
57501
+ },
57502
+ "style": {
57503
+ marginLeft: "4px"
57242
57504
  },
57243
- "class": picker_bem('confirm'),
57244
57505
  "on": {
57245
57506
  "click": this.confirm
57246
57507
  }
@@ -57252,7 +57513,7 @@ var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
57252
57513
  if (this.showToolbar) {
57253
57514
  return h("div", {
57254
57515
  "class": picker_bem('toolbar')
57255
- }, [this.slots() || [this.genCancel(), this.genTitle(), this.genConfirm()]]);
57516
+ }, [this.slots() || [this.genCancel(), this.genConfirm()]]);
57256
57517
  }
57257
57518
  },
57258
57519
  genHeaders: function genHeaders() {
@@ -57341,7 +57602,7 @@ var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
57341
57602
  }, [h("div", {
57342
57603
  "class": picker_bem(),
57343
57604
  "ref": 'columnParent'
57344
- }, [this.toolbarPosition === 'top' ? this.genToolbar() : h(), this.toolbarPosition === 'top' ? h("div", {
57605
+ }, [this.toolbarPosition === 'top' ? this.genToolbar() : h(), this.toolbarPosition === 'top' ? h() : this.genTitle(), this.toolbarPosition === 'top' ? h("div", {
57345
57606
  "class": picker_bem('border')
57346
57607
  }) : h(), this.loading ? h(es_loading, {
57347
57608
  "class": picker_bem('loading')
@@ -58157,283 +58418,46 @@ var badge_createNamespace = Object(utils["b" /* createNamespace */])('badge'),
58157
58418
  content = this.content;
58158
58419
 
58159
58420
  if (!dot && this.hasContent()) {
58160
- if (this.$scopedSlots.content) {
58161
- return this.$scopedSlots.content();
58162
- }
58163
-
58164
- if (Object(utils["e" /* isDef */])(max) && Object(number["b" /* isNumeric */])(content) && +content > max) {
58165
- return max + "+";
58166
- }
58167
-
58168
- return content;
58169
- }
58170
- },
58171
- renderBadge: function renderBadge() {
58172
- var h = this.$createElement;
58173
-
58174
- if (this.hasContent() || this.dot) {
58175
- return h("div", {
58176
- "class": badge_bem({
58177
- dot: this.dot,
58178
- fixed: !!this.$scopedSlots.default
58179
- }),
58180
- "style": {
58181
- background: this.color
58182
- }
58183
- }, [this.renderContent()]);
58184
- }
58185
- }
58186
- },
58187
- render: function render() {
58188
- var h = arguments[0];
58189
-
58190
- if (this.$scopedSlots.default) {
58191
- var tag = this.tag;
58192
- return h(tag, {
58193
- "class": badge_bem('wrapper')
58194
- }, [this.$scopedSlots.default(), this.renderBadge()]);
58195
- }
58196
-
58197
- return this.renderBadge();
58198
- }
58199
- }));
58200
- // CONCATENATED MODULE: ./es/utils/constant.js
58201
- // color
58202
- var RED = '#ee0a24';
58203
- var BLUE = '#0091FA'; // border
58204
-
58205
- var BORDER = 'zt-hairline';
58206
- var BORDER_RIGHT = BORDER + "--right";
58207
- var BORDER_TOP = BORDER + "--top";
58208
- var BORDER_LEFT = BORDER + "--left";
58209
- var BORDER_BOTTOM = BORDER + "--bottom";
58210
- var BORDER_SURROUND = BORDER + "--surround";
58211
- var BORDER_TOP_BOTTOM = BORDER + "--top-bottom";
58212
- var BORDER_UNSET_TOP_BOTTOM = BORDER + "-unset--top-bottom";
58213
- // CONCATENATED MODULE: ./es/utils/router.js
58214
- /**
58215
- * Vue Router support
58216
- */
58217
- function isRedundantNavigation(err) {
58218
- return err.name === 'NavigationDuplicated' || err.message && err.message.indexOf('redundant navigation') !== -1;
58219
- }
58220
-
58221
- function route(router, config) {
58222
- var to = config.to,
58223
- url = config.url,
58224
- replace = config.replace;
58225
-
58226
- if (to && router) {
58227
- var promise = router[replace ? 'replace' : 'push'](to);
58228
- /* istanbul ignore else */
58229
-
58230
- if (promise && promise.catch) {
58231
- promise.catch(function (err) {
58232
- if (err && !isRedundantNavigation(err)) {
58233
- throw err;
58234
- }
58235
- });
58236
- }
58237
- } else if (url) {
58238
- replace ? location.replace(url) : location.href = url;
58239
- }
58240
- }
58241
- function functionalRoute(context) {
58242
- route(context.parent && context.parent.$router, context.props);
58243
- }
58244
- var routeProps = {
58245
- url: String,
58246
- replace: Boolean,
58247
- to: [String, Object]
58248
- };
58249
- // EXTERNAL MODULE: ./es/telemetry/index.js
58250
- var telemetry = __webpack_require__(5);
58251
-
58252
- // CONCATENATED MODULE: ./es/button/index.js
58253
-
58254
- // Utils
58255
-
58256
-
58257
-
58258
-
58259
-
58260
- // Components
58261
-
58262
-
58263
- // Types
58264
-
58265
- var button_createNamespace = Object(utils["b" /* createNamespace */])('button'),
58266
- button_createComponent = button_createNamespace[0],
58267
- button_bem = button_createNamespace[1];
58268
-
58269
- function Button(h, props, slots, ctx) {
58270
- var _ref;
58271
-
58272
- var tag = props.tag,
58273
- icon = props.icon,
58274
- type = props.type,
58275
- color = props.color,
58276
- plain = props.plain,
58277
- disabled = props.disabled,
58278
- loading = props.loading,
58279
- hairline = props.hairline,
58280
- loadingText = props.loadingText,
58281
- iconPosition = props.iconPosition;
58282
- var style = {};
58283
-
58284
- if (color) {
58285
- style.color = plain ? color : 'white';
58286
-
58287
- if (!plain) {
58288
- // Use background instead of backgroundColor to make linear-gradient work
58289
- style.background = color;
58290
- } // hide border when color is linear-gradient
58291
-
58292
-
58293
- if (color.indexOf('gradient') !== -1) {
58294
- style.border = 0;
58295
- } else {
58296
- style.borderColor = color;
58297
- }
58298
- }
58299
-
58300
- function onClick(event) {
58301
- if (props.loading) {
58302
- event.preventDefault();
58303
- }
58304
-
58305
- if (!loading && !disabled) {
58306
- functional_emit(ctx, 'click', event);
58307
- functionalRoute(ctx);
58308
- var trackEvent = new telemetry["b" /* TelemetryEvent */]('button', {});
58309
- telemetry["a" /* Telemetry */].sharedInstance.trackClick(trackEvent);
58310
- }
58311
- }
58312
-
58313
- function onTouchstart(event) {
58314
- functional_emit(ctx, 'touchstart', event);
58315
- }
58316
-
58317
- var classes = [button_bem([type, props.size, {
58318
- plain: plain,
58319
- loading: loading,
58320
- disabled: disabled,
58321
- hairline: hairline,
58322
- block: props.block,
58323
- round: props.round,
58324
- square: props.square
58325
- }]), (_ref = {}, _ref[BORDER_SURROUND] = hairline, _ref)];
58326
-
58327
- function renderIcon() {
58328
- if (loading) {
58329
- return slots.loading ? slots.loading() : h(es_loading, {
58330
- "class": button_bem('loading'),
58331
- "attrs": {
58332
- "size": props.loadingSize,
58333
- "type": props.loadingType,
58334
- "color": "currentColor"
58335
- }
58336
- });
58337
- }
58338
-
58339
- if (slots.icon) {
58340
- return h("div", {
58341
- "class": button_bem('icon')
58342
- }, [slots.icon()]);
58343
- }
58344
-
58345
- if (icon) {
58346
- return h(es_icon, {
58347
- "attrs": {
58348
- "name": icon,
58349
- "classPrefix": props.iconPrefix
58350
- },
58351
- "class": button_bem('icon')
58352
- });
58353
- }
58354
- }
58355
-
58356
- function renderContent() {
58357
- var content = [];
58358
-
58359
- if (iconPosition === 'left') {
58360
- content.push(renderIcon());
58361
- }
58362
-
58363
- var text;
58364
-
58365
- if (loading) {
58366
- text = loadingText;
58367
- } else {
58368
- text = slots.default ? slots.default() : props.text;
58369
- }
58370
-
58371
- if (text) {
58372
- content.push(h("span", {
58373
- "class": button_bem('text')
58374
- }, [text]));
58375
- }
58376
-
58377
- if (iconPosition === 'right') {
58378
- content.push(renderIcon());
58379
- }
58421
+ if (this.$scopedSlots.content) {
58422
+ return this.$scopedSlots.content();
58423
+ }
58380
58424
 
58381
- return content;
58382
- }
58425
+ if (Object(utils["e" /* isDef */])(max) && Object(number["b" /* isNumeric */])(content) && +content > max) {
58426
+ return max + "+";
58427
+ }
58383
58428
 
58384
- return h(tag, helper_default()([{
58385
- "style": style,
58386
- "class": classes,
58387
- "attrs": {
58388
- "type": props.nativeType,
58389
- "disabled": disabled
58429
+ return content;
58430
+ }
58390
58431
  },
58391
- "on": {
58392
- "click": onClick,
58393
- "touchstart": onTouchstart
58394
- }
58395
- }, inherit(ctx)]), [h("div", {
58396
- "class": button_bem('content')
58397
- }, [renderContent()])]);
58398
- }
58432
+ renderBadge: function renderBadge() {
58433
+ var h = this.$createElement;
58399
58434
 
58400
- Button.props = _extends({}, routeProps, {
58401
- text: String,
58402
- icon: String,
58403
- color: String,
58404
- block: Boolean,
58405
- plain: Boolean,
58406
- round: Boolean,
58407
- square: Boolean,
58408
- loading: Boolean,
58409
- hairline: Boolean,
58410
- disabled: Boolean,
58411
- iconPrefix: String,
58412
- nativeType: String,
58413
- loadingText: String,
58414
- loadingType: String,
58415
- tag: {
58416
- type: String,
58417
- default: 'button'
58418
- },
58419
- type: {
58420
- type: String,
58421
- default: 'default'
58422
- },
58423
- size: {
58424
- type: String,
58425
- default: 'normal'
58426
- },
58427
- loadingSize: {
58428
- type: String,
58429
- default: '20px'
58435
+ if (this.hasContent() || this.dot) {
58436
+ return h("div", {
58437
+ "class": badge_bem({
58438
+ dot: this.dot,
58439
+ fixed: !!this.$scopedSlots.default
58440
+ }),
58441
+ "style": {
58442
+ background: this.color
58443
+ }
58444
+ }, [this.renderContent()]);
58445
+ }
58446
+ }
58430
58447
  },
58431
- iconPosition: {
58432
- type: String,
58433
- default: 'left'
58448
+ render: function render() {
58449
+ var h = arguments[0];
58450
+
58451
+ if (this.$scopedSlots.default) {
58452
+ var tag = this.tag;
58453
+ return h(tag, {
58454
+ "class": badge_bem('wrapper')
58455
+ }, [this.$scopedSlots.default(), this.renderBadge()]);
58456
+ }
58457
+
58458
+ return this.renderBadge();
58434
58459
  }
58435
- });
58436
- /* harmony default export */ var es_button = (button_createComponent(Button));
58460
+ }));
58437
58461
  // EXTERNAL MODULE: ./es/utils/dom/raf.js
58438
58462
  var dom_raf = __webpack_require__(3);
58439
58463
 
@@ -59352,12 +59376,7 @@ var Header_createNamespace = Object(utils["b" /* createNamespace */])('calendar-
59352
59376
  var title = this.slots('title') || this.title || utils_t('title');
59353
59377
  return h("div", {
59354
59378
  "class": utils_bem('header-title')
59355
- }, [h("span", {
59356
- "class": "hint-block",
59357
- "style": {
59358
- "background": this.color
59359
- }
59360
- }), title]);
59379
+ }, [title]);
59361
59380
  }
59362
59381
  },
59363
59382
  genSubtitle: function genSubtitle() {
@@ -59559,6 +59578,9 @@ var Header_createNamespace = Object(utils["b" /* createNamespace */])('calendar-
59559
59578
  this.currentDate = date;
59560
59579
  this.scrollIntoView();
59561
59580
  },
59581
+ onCancel: function onCancel() {
59582
+ this.$emit('cancel');
59583
+ },
59562
59584
  init: function init() {
59563
59585
  var _this = this;
59564
59586
 
@@ -59849,7 +59871,22 @@ var Header_createNamespace = Object(utils["b" /* createNamespace */])('calendar-
59849
59871
 
59850
59872
  if (this.showConfirm) {
59851
59873
  var text = this.buttonDisabled ? this.confirmDisabledText : this.confirmText;
59852
- return h(es_button, {
59874
+ return [h(es_button, {
59875
+ "attrs": {
59876
+ "block": true,
59877
+ "color": this.color,
59878
+ "disabled": this.buttonDisabled,
59879
+ "nativeType": "button"
59880
+ },
59881
+ "class": utils_bem('confirm'),
59882
+ "on": {
59883
+ "click": this.onCancel
59884
+ },
59885
+ "style": {
59886
+ marginRight: "4px",
59887
+ backgroundColor: "white"
59888
+ }
59889
+ }, [text || '取消']), h(es_button, {
59853
59890
  "attrs": {
59854
59891
  "block": true,
59855
59892
  "type": "primary",
@@ -59860,8 +59897,11 @@ var Header_createNamespace = Object(utils["b" /* createNamespace */])('calendar-
59860
59897
  "class": utils_bem('confirm'),
59861
59898
  "on": {
59862
59899
  "click": this.onConfirm
59900
+ },
59901
+ "style": {
59902
+ marginLeft: "4px"
59863
59903
  }
59864
- }, [text || utils_t('confirm')]);
59904
+ }, [text || utils_t('confirm')])];
59865
59905
  }
59866
59906
  },
59867
59907
  genFooter: function genFooter() {
@@ -59907,8 +59947,6 @@ var Header_createNamespace = Object(utils["b" /* createNamespace */])('calendar-
59907
59947
  var h = arguments[0];
59908
59948
 
59909
59949
  if (this.poppable) {
59910
- var _attrs;
59911
-
59912
59950
  var createListener = function createListener(name) {
59913
59951
  return function () {
59914
59952
  return _this5.$emit(name);
@@ -59916,11 +59954,15 @@ var Header_createNamespace = Object(utils["b" /* createNamespace */])('calendar-
59916
59954
  };
59917
59955
 
59918
59956
  return h(popup, {
59919
- "attrs": (_attrs = {
59920
- "round": true,
59921
- "value": this.value
59922
- }, _attrs["round"] = this.round, _attrs["position"] = this.position, _attrs["closeable"] = this.showTitle || this.showSubtitle, _attrs["getContainer"] = this.getContainer, _attrs["closeOnPopstate"] = this.closeOnPopstate, _attrs["closeOnClickOverlay"] = this.closeOnClickOverlay, _attrs),
59923
59957
  "class": utils_bem('popup'),
59958
+ "attrs": {
59959
+ "value": this.value,
59960
+ "round": this.round,
59961
+ "position": this.position,
59962
+ "getContainer": this.getContainer,
59963
+ "closeOnPopstate": this.closeOnPopstate,
59964
+ "closeOnClickOverlay": this.closeOnClickOverlay
59965
+ },
59924
59966
  "on": {
59925
59967
  "input": this.togglePopup,
59926
59968
  "open": createListener('open'),
@@ -60245,7 +60287,11 @@ var Title_createNamespace = Object(utils["b" /* createNamespace */])('tab'),
60245
60287
  disabled: Boolean,
60246
60288
  scrollable: Boolean,
60247
60289
  activeColor: String,
60248
- inactiveColor: String
60290
+ inactiveColor: String,
60291
+ maxWidth: {
60292
+ type: String,
60293
+ default: '112px'
60294
+ }
60249
60295
  },
60250
60296
  computed: {
60251
60297
  style: function style() {
@@ -60272,6 +60318,7 @@ var Title_createNamespace = Object(utils["b" /* createNamespace */])('tab'),
60272
60318
  style.color = titleColor;
60273
60319
  }
60274
60320
 
60321
+ style.maxWidth = this.maxWidth;
60275
60322
  return style;
60276
60323
  }
60277
60324
  },
@@ -60939,11 +60986,10 @@ var tabs_createNamespace = Object(utils["b" /* createNamespace */])('tabs'),
60939
60986
  }
60940
60987
 
60941
60988
  var title = titles[_this4.currentIndex].$el;
60942
- var lineWidth = _this4.lineWidth,
60943
- lineHeight = _this4.lineHeight;
60989
+ var lineHeight = _this4.lineHeight;
60944
60990
  var left = title.offsetLeft + title.offsetWidth / 2;
60945
60991
  var lineStyle = {
60946
- width: Object(utils["a" /* addUnit */])(title.offsetWidth),
60992
+ // width: addUnit(title.offsetWidth),
60947
60993
  backgroundColor: _this4.color,
60948
60994
  transform: "translateX(" + left + "px) translateX(-50%)"
60949
60995
  };
@@ -61142,7 +61188,6 @@ var tabs_createNamespace = Object(utils["b" /* createNamespace */])('tabs'),
61142
61188
 
61143
61189
  var Wrap = h("div", {
61144
61190
  "ref": "wrap",
61145
- "style": wrapStyle,
61146
61191
  "class": [tabs_bem('wrap', {
61147
61192
  scrollable: scrollable
61148
61193
  }), (_ref = {}, _ref[BORDER_TOP_BOTTOM] = type === 'line' && this.border, _ref)]
@@ -61533,6 +61578,8 @@ var cellProps = {
61533
61578
  value: [Number, String],
61534
61579
  label: [Number, String],
61535
61580
  arrowDirection: String,
61581
+ direction: String,
61582
+ subtitle: String,
61536
61583
  border: {
61537
61584
  type: Boolean,
61538
61585
  default: true
@@ -61570,27 +61617,65 @@ function Cell(h, props, slots, ctx) {
61570
61617
  label = props.label,
61571
61618
  value = props.value,
61572
61619
  isLink = props.isLink,
61573
- placeholder = props.placeholder;
61620
+ placeholder = props.placeholder,
61621
+ direction = props.direction,
61622
+ subtitle = props.subtitle;
61574
61623
  var showTitle = slots.title || Object(utils["e" /* isDef */])(title);
61624
+ var clickable = (_props$clickable = props.clickable) != null ? _props$clickable : isLink;
61575
61625
 
61576
61626
  function Label() {
61577
61627
  var showLabel = slots.label || Object(utils["e" /* isDef */])(label);
61578
61628
 
61579
- if (showLabel) {
61629
+ if (showLabel && direction !== "column") {
61580
61630
  return h("div", {
61581
61631
  "class": [cell_bem('label'), props.labelClass]
61582
61632
  }, [slots.label ? slots.label() : label]);
61583
61633
  }
61584
61634
  }
61585
61635
 
61636
+ function LeftIcon() {
61637
+ if (slots.icon) {
61638
+ return slots.icon();
61639
+ }
61640
+
61641
+ if (icon) {
61642
+ return h(es_icon, {
61643
+ "class": cell_bem('left-icon'),
61644
+ "attrs": {
61645
+ "name": icon,
61646
+ "classPrefix": props.iconPrefix
61647
+ }
61648
+ });
61649
+ }
61650
+ } // 渲染副标题
61651
+
61652
+
61653
+ function renderSubTitle() {
61654
+ if (direction === "column") {
61655
+ if (slots != null && slots.subtitle) {
61656
+ return h("div", {
61657
+ "class": cell_bem('title-subtitle')
61658
+ }, [slots == null ? void 0 : slots.subtitle()]);
61659
+ }
61660
+
61661
+ if (subtitle) {
61662
+ return h("div", {
61663
+ "class": cell_bem('title-subtitle')
61664
+ }, [subtitle]);
61665
+ }
61666
+ }
61667
+ }
61668
+
61586
61669
  function Title() {
61587
61670
  if (showTitle) {
61588
61671
  return h("div", {
61589
61672
  "class": [cell_bem('title'), props.titleClass],
61590
61673
  "style": props.titleStyle
61591
- }, [slots.title ? slots.title() : h("span", [title]), Label(), props.required ? h("span", {
61674
+ }, [LeftIcon(), slots.title ? slots.title() : h("span", {
61675
+ "class": cell_bem('title-content')
61676
+ }, [title, Label()]), props.required ? h("span", {
61592
61677
  "style": "color:#ff5023;margin-left:4px;"
61593
- }, ["*"]) : ""]);
61678
+ }, ["*"]) : "", renderSubTitle()]);
61594
61679
  }
61595
61680
  }
61596
61681
 
@@ -61604,36 +61689,6 @@ function Cell(h, props, slots, ctx) {
61604
61689
  }
61605
61690
  }
61606
61691
 
61607
- function Value() {
61608
- var showValue = slots.default || Object(utils["e" /* isDef */])(value);
61609
-
61610
- if (showValue) {
61611
- return h("div", {
61612
- "class": [cell_bem('value', {
61613
- alone: !showTitle
61614
- }), props.valueClass]
61615
- }, [slots.default ? slots.default() : value !== "" ? h("span", [value]) : PlaceholderSpan()]);
61616
- } else {
61617
- return PlaceholderSpan();
61618
- }
61619
- }
61620
-
61621
- function LeftIcon() {
61622
- if (slots.icon) {
61623
- return slots.icon();
61624
- }
61625
-
61626
- if (icon) {
61627
- return h(es_icon, {
61628
- "class": cell_bem('left-icon'),
61629
- "attrs": {
61630
- "name": icon,
61631
- "classPrefix": props.iconPrefix
61632
- }
61633
- });
61634
- }
61635
- }
61636
-
61637
61692
  function RightIcon() {
61638
61693
  var rightIconSlot = slots['right-icon'];
61639
61694
 
@@ -61652,14 +61707,28 @@ function Cell(h, props, slots, ctx) {
61652
61707
  }
61653
61708
  }
61654
61709
 
61710
+ function Value() {
61711
+ var showValue = slots.default || Object(utils["e" /* isDef */])(value) || clickable;
61712
+
61713
+ if (showValue) {
61714
+ return h("div", {
61715
+ "class": [cell_bem('value', {
61716
+ alone: !showTitle
61717
+ }), props.valueClass, direction === 'column' && clickable ? cell_bem('clickable') : '']
61718
+ }, [slots.default ? slots.default() : value !== "" ? h("span", {
61719
+ "class": cell_bem('value-content')
61720
+ }, [value]) : PlaceholderSpan(), slots.extra == null ? void 0 : slots.extra(), RightIcon()]);
61721
+ } else {
61722
+ return PlaceholderSpan();
61723
+ }
61724
+ }
61725
+
61655
61726
  function onClick(event) {
61656
61727
  functional_emit(ctx, 'click', event);
61657
61728
  functionalRoute(ctx);
61658
61729
  }
61659
61730
 
61660
- var clickable = (_props$clickable = props.clickable) != null ? _props$clickable : isLink;
61661
61731
  var classes = {
61662
- clickable: clickable,
61663
61732
  center: props.center,
61664
61733
  // required: props.required,
61665
61734
  borderless: !props.border,
@@ -61671,7 +61740,7 @@ function Cell(h, props, slots, ctx) {
61671
61740
  }
61672
61741
 
61673
61742
  return h("div", helper_default()([{
61674
- "class": cell_bem(classes),
61743
+ "class": [cell_bem(classes), direction === 'column' ? cell_bem('direction-column') : '', clickable && direction !== 'column' ? cell_bem('clickable') : ''],
61675
61744
  "attrs": {
61676
61745
  "role": clickable ? 'button' : null,
61677
61746
  "tabindex": clickable ? 0 : null
@@ -61679,7 +61748,7 @@ function Cell(h, props, slots, ctx) {
61679
61748
  "on": {
61680
61749
  "click": onClick
61681
61750
  }
61682
- }, inherit(ctx)]), [LeftIcon(), Title(), Value(), RightIcon(), slots.extra == null ? void 0 : slots.extra()]);
61751
+ }, inherit(ctx)]), [Title(), Value()]);
61683
61752
  }
61684
61753
 
61685
61754
  Cell.props = _extends({}, cellProps, routeProps);
@@ -61771,6 +61840,8 @@ var checkbox_CheckboxMixin = function CheckboxMixin(_ref) {
61771
61840
  disabled: Boolean,
61772
61841
  iconSize: [Number, String],
61773
61842
  checkedColor: String,
61843
+ boxShadow: String,
61844
+ border: String,
61774
61845
  iconColor: String,
61775
61846
  labelPosition: String,
61776
61847
  labelDisabled: Boolean,
@@ -61795,12 +61866,15 @@ var checkbox_CheckboxMixin = function CheckboxMixin(_ref) {
61795
61866
  },
61796
61867
  iconStyle: function iconStyle() {
61797
61868
  var checkedColor = this.checkedColor || this.parent && this.parent.checkedColor;
61869
+ var boxShadow = this.boxShadow || this.parent && this.parent.boxShadow;
61870
+ var border = this.border || this.parent && this.parent.border;
61798
61871
  var iconColor = this.iconColor || this.parent && this.parent.iconColor;
61799
61872
 
61800
- if (checkedColor && this.checked && !this.isDisabled) {
61873
+ if ((boxShadow || checkedColor) && this.checked && !this.isDisabled) {
61801
61874
  return {
61802
61875
  color: iconColor,
61803
- borderColor: checkedColor,
61876
+ boxShadow: boxShadow,
61877
+ border: border,
61804
61878
  backgroundColor: checkedColor
61805
61879
  };
61806
61880
  }
@@ -61847,35 +61921,11 @@ var checkbox_CheckboxMixin = function CheckboxMixin(_ref) {
61847
61921
  }
61848
61922
  }, [this.slots('icon', {
61849
61923
  checked: checked
61850
- }) || (role === 'radio' && checked ? this.genRadioIcon() : h(es_icon, {
61924
+ }) || h(es_icon, {
61851
61925
  "attrs": {
61852
- "name": "success"
61926
+ "name": role === 'radio' ? "radio-round" : "checkBox-select"
61853
61927
  },
61854
61928
  "style": this.iconStyle
61855
- }))]);
61856
- },
61857
- genRadioIcon: function genRadioIcon() {
61858
- var h = this.$createElement;
61859
- var iconSize = this.iconSize || this.parent && this.parent.iconSize;
61860
- return h("svg", {
61861
- "attrs": {
61862
- "xmlns": "http://www.w3.org/2000/svg",
61863
- "viewBox": "0 0 24 24"
61864
- },
61865
- "class": bem("custom-svg"),
61866
- "style": {
61867
- width: iconSize,
61868
- height: iconSize
61869
- }
61870
- }, [h("path", {
61871
- "style": {
61872
- fill: this.checkedColor
61873
- },
61874
- "attrs": {
61875
- "d": "M12,2 C17.5228475,2 22,6.4771525 22,12 C22,17.5228475 17.5228475,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M12,7 C9.23857625,7 7,9.23857625 7,12 C7,14.7614237 9.23857625,17 12,17 C14.7614237,17 17,14.7614237 17,12 C17,9.23857625 14.7614237,7 12,7 Z",
61876
- "fill": "#0091FA",
61877
- "fill-rule": "nonzero"
61878
- }
61879
61929
  })]);
61880
61930
  },
61881
61931
  genLabel: function genLabel() {
@@ -61901,16 +61951,17 @@ var checkbox_CheckboxMixin = function CheckboxMixin(_ref) {
61901
61951
  Children.push(this.genLabel());
61902
61952
  }
61903
61953
 
61954
+ var checked = this.checked;
61904
61955
  return h("div", {
61905
61956
  "attrs": {
61906
61957
  "role": role,
61907
61958
  "tabindex": this.tabindex,
61908
61959
  "aria-checked": String(this.checked)
61909
61960
  },
61910
- "class": bem([{
61961
+ "class": [bem([{
61911
61962
  disabled: this.isDisabled,
61912
61963
  'label-disabled': this.labelDisabled
61913
- }, this.direction]),
61964
+ }, this.direction]), checked ? '' : bem('disable-icon')],
61914
61965
  "on": {
61915
61966
  "click": this.onClick
61916
61967
  }
@@ -62016,6 +62067,7 @@ var checkbox_group_createNamespace = Object(utils["b" /* createNamespace */])('c
62016
62067
  direction: String,
62017
62068
  iconSize: [Number, String],
62018
62069
  checkedColor: String,
62070
+ boxShadow: String,
62019
62071
  value: {
62020
62072
  type: Array,
62021
62073
  default: function _default() {
@@ -67883,7 +67935,7 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
67883
67935
  },
67884
67936
  error: {
67885
67937
  type: Boolean,
67886
- default: null
67938
+ default: false
67887
67939
  },
67888
67940
  colon: {
67889
67941
  type: Boolean,
@@ -68400,7 +68452,7 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
68400
68452
  if (message) {
68401
68453
  var errorMessageAlign = this.getProp('errorMessageAlign');
68402
68454
  return h("div", {
68403
- "class": field_bem('error-message', errorMessageAlign)
68455
+ "class": [field_bem('error-message', errorMessageAlign), this.error ? '' : field_bem('no-error')]
68404
68456
  }, [message]);
68405
68457
  }
68406
68458
  },
@@ -68422,12 +68474,14 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
68422
68474
  }
68423
68475
 
68424
68476
  if (this.label) {
68425
- return h("span", [this.label + colon]);
68477
+ return h("span", {
68478
+ "class": field_bem('label-content')
68479
+ }, [this.label + colon]);
68426
68480
  }
68427
68481
  }
68428
68482
  },
68429
68483
  render: function render() {
68430
- var _bem;
68484
+ var _bem2;
68431
68485
 
68432
68486
  var h = arguments[0];
68433
68487
  var slots = this.slots;
@@ -68452,6 +68506,76 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
68452
68506
  };
68453
68507
  }
68454
68508
 
68509
+ if (this.direction === 'column') {
68510
+ var _bem;
68511
+
68512
+ return h("div", {
68513
+ "class": [field_bem('root'), field_bem("column")]
68514
+ }, [h(cell, {
68515
+ "attrs": {
68516
+ "icon": this.leftIcon,
68517
+ "size": this.size,
68518
+ "center": this.center,
68519
+ "border": this.border,
68520
+ "isLink": this.isLink,
68521
+ "required": this.required,
68522
+ "clickable": this.clickable,
68523
+ "titleStyle": this.labelStyle,
68524
+ "valueClass": field_bem('value'),
68525
+ "titleClass": [field_bem('label', labelAlign), this.labelClass, {
68526
+ 'zt-field--error-label': this.showErrorMessage
68527
+ }],
68528
+ "arrowDirection": this.arrowDirection,
68529
+ "noFlex": this.type === 'textarea',
68530
+ "direction": this.direction
68531
+ },
68532
+ "scopedSlots": scopedSlots,
68533
+ "class": field_bem((_bem = {
68534
+ error: this.showError,
68535
+ disabled: disabled
68536
+ }, _bem["label-" + labelAlign] = labelAlign, _bem['min-height'] = this.type === 'textarea' && !this.autosize, _bem)),
68537
+ "on": {
68538
+ "click": this.onClick
68539
+ }
68540
+ }, [h("div", {
68541
+ "class": field_bem('body')
68542
+ }, [this.genInput(), this.showClear &&
68543
+ /*<Icon
68544
+ name="clear"
68545
+ class={bem('clear')}
68546
+ onTouchstart={this.onClear}
68547
+ />*/
68548
+ h("div", {
68549
+ "class": field_bem('zt-clear-icon'),
68550
+ "on": {
68551
+ "touchstart": this.onClear,
68552
+ "click": this.onClear
68553
+ }
68554
+ }, [h(ClearIcon, {
68555
+ "class": field_bem('zt-clear-size'),
68556
+ "attrs": {
68557
+ "color": this.iconColor
68558
+ }
68559
+ })]), this.type === 'password' && h("div", {
68560
+ "on": {
68561
+ "click": this.togglePwdVisible
68562
+ },
68563
+ "style": "width:20px;height:20px;margin-left:12px;display:flex;justify-content:center;align-items:center;color:rgba(0,0,0,.4);"
68564
+ }, [this.showPassword ? h(es_icon, {
68565
+ "attrs": {
68566
+ "name": "eye-open",
68567
+ "color": this.iconColor
68568
+ }
68569
+ }) : h(es_icon, {
68570
+ "attrs": {
68571
+ "name": "eye-closed",
68572
+ "color": this.iconColor
68573
+ }
68574
+ })]), this.genWordLimit(), this.genRightIcon(), slots('button') && h("div", {
68575
+ "class": field_bem('button')
68576
+ }, [slots('button')])])]), this.genMessage()]);
68577
+ }
68578
+
68455
68579
  return h("div", {
68456
68580
  "class": field_bem('root')
68457
68581
  }, [h(cell, {
@@ -68469,13 +68593,14 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
68469
68593
  'zt-field--error-label': this.showErrorMessage
68470
68594
  }],
68471
68595
  "arrowDirection": this.arrowDirection,
68472
- "noFlex": this.type === 'textarea'
68596
+ "noFlex": this.type === 'textarea',
68597
+ "direction": this.direction
68473
68598
  },
68474
68599
  "scopedSlots": scopedSlots,
68475
- "class": field_bem((_bem = {
68600
+ "class": field_bem((_bem2 = {
68476
68601
  error: this.showError,
68477
68602
  disabled: disabled
68478
- }, _bem["label-" + labelAlign] = labelAlign, _bem['min-height'] = this.type === 'textarea' && !this.autosize, _bem)),
68603
+ }, _bem2["label-" + labelAlign] = labelAlign, _bem2['min-height'] = this.type === 'textarea' && !this.autosize, _bem2)),
68479
68604
  "on": {
68480
68605
  "click": this.onClick
68481
68606
  }
@@ -70875,7 +71000,7 @@ function getDistance(touches) {
70875
71000
  "class": shared_bem('index')
70876
71001
  }, [this.slots('index', {
70877
71002
  index: this.active
70878
- }) || this.active + 1 + " / " + this.images.length]);
71003
+ }) || this.active + 1 + "/" + this.images.length]);
70879
71004
  }
70880
71005
  },
70881
71006
  genCover: function genCover() {
@@ -74701,17 +74826,10 @@ var image_processor_ImageProcessor = /** @class */ (function () {
74701
74826
  }
74702
74827
  }, [h("g", {
74703
74828
  "attrs": {
74704
- "fill": "#000",
74829
+ "fill": "#2D4B73",
74705
74830
  "fill-rule": "evenodd"
74706
74831
  }
74707
- }, [h("rect", {
74708
- "attrs": {
74709
- "opacity": ".04317801",
74710
- "width": "48",
74711
- "height": "48",
74712
- "rx": "4"
74713
- }
74714
- }), h("path", {
74832
+ }, [h("path", {
74715
74833
  "attrs": {
74716
74834
  "d": "M33.9975267,12 C34.5511774,12 35.1438351,12.4315052 35.3169059,12.9507178 L36.333,15.999 L37.9982567,16 C39.103789,16 40,16.8982124 40,17.9907951 L40,34.0092049 C40,35.1086907 39.1107383,36 37.9982567,36 L10.0017433,36 C8.89621101,36 8,35.1017876 8,34.0092049 L8,17.9907951 C8,16.8913093 8.88926172,16 10.0017433,16 L21.666,15.999 L22.6830941,12.9507178 C22.8581164,12.4256509 23.455761,12 24.0024733,12 L33.9975267,12 Z M29,19 C25.1340068,19 22,22.1340068 22,26 C22,29.8659932 25.1340068,33 29,33 C32.8659932,33 36,29.8659932 36,26 C36,22.1340068 32.8659932,19 29,19 Z M14.5,18 L14.3546371,18.0068666 C13.5897719,18.0795513 13,18.7203039 13,19.5 C13,20.3342028 13.6715729,21 14.5,21 L14.5,21 L14.6453629,20.9931334 C15.4102281,20.9204487 16,20.2796961 16,19.5 L16,19.5 L15.9931334,19.3546371 C15.9204487,18.5897719 15.2796961,18 14.5,18 L14.5,18 Z",
74717
74835
  "fill-opacity": ".8"
@@ -74743,17 +74861,10 @@ var image_processor_ImageProcessor = /** @class */ (function () {
74743
74861
  }
74744
74862
  }, [h("g", {
74745
74863
  "attrs": {
74746
- "fill": "#000",
74864
+ "fill": "#2D4B73",
74747
74865
  "fill-rule": "evenodd"
74748
74866
  }
74749
- }, [h("rect", {
74750
- "attrs": {
74751
- "opacity": ".04317801",
74752
- "width": "48",
74753
- "height": "48",
74754
- "rx": "4"
74755
- }
74756
- }), h("path", {
74867
+ }, [h("path", {
74757
74868
  "attrs": {
74758
74869
  "d": "M37.9982567,12 C39.103789,12 40,12.8970262 40,14.0049466 L40,33.9950534 C40,35.1023548 39.1107383,36 37.9982567,36 L37.764,35.999 L37.7634277,36 L10.8161621,36 L10.814,35.999 L10.0017433,36 C8.89621101,36 8,35.1029738 8,33.9950534 L8,14.0049466 C8,12.8976452 8.88926172,12 10.0017433,12 L37.9982567,12 Z M37.0034652,14 L10.9965348,14 C10.4398131,14 10,14.4440454 10,14.9918031 L10,14.9918031 L10,33.0081969 C10,33.0530776 10.0031223,33.0973902 10.0091668,33.1409155 L17.1114918,24.34032 C18.1544861,23.047797 19.8867064,22.9975446 20.9981014,24.247864 L27,31 L30.4453768,28.2436986 C31.3039715,27.5568228 32.7078383,27.5510237 33.578186,28.2285544 L37.999,31.669 L38,14.9918031 C38,14.4936268 37.6152975,14.0654579 37.1196822,14.0068326 L37.0034652,14 Z",
74759
74870
  "fill-opacity": ".8"
@@ -74785,17 +74896,10 @@ var image_processor_ImageProcessor = /** @class */ (function () {
74785
74896
  }
74786
74897
  }, [h("g", {
74787
74898
  "attrs": {
74788
- "fill": "#000",
74899
+ "fill": "#2D4B73",
74789
74900
  "fill-rule": "evenodd"
74790
74901
  }
74791
- }, [h("rect", {
74792
- "attrs": {
74793
- "opacity": ".04317801",
74794
- "width": "48",
74795
- "height": "48",
74796
- "rx": "4"
74797
- }
74798
- }), h("path", {
74902
+ }, [h("path", {
74799
74903
  "attrs": {
74800
74904
  "d": "M29.9944797,11 C32.2066675,11 34,12.7924676 34,14.99923 L34,27.00077 C34,29.2094838 32.2129147,31 29.9944797,31 L12.0055203,31 C9.7933325,31 8,29.2075324 8,27.00077 L8,14.99923 C8,12.7905162 9.78708529,11 12.0055203,11 L29.9944797,11 Z M19.5047388,16.9404618 C18.6820755,16.4262972 18,16.7952661 18,17.7762766 L18,17.7762766 L18,24.2237234 C18,25.1985621 18.6736945,25.5789409 19.5047388,25.0595382 L19.5047388,25.0595382 L24.4952612,21.9404618 C25.3179245,21.4262972 25.3263055,20.5789409 24.4952612,20.0595382 L24.4952612,20.0595382 Z",
74801
74905
  "fill-opacity": ".8"
@@ -74827,17 +74931,10 @@ var image_processor_ImageProcessor = /** @class */ (function () {
74827
74931
  }
74828
74932
  }, [h("g", {
74829
74933
  "attrs": {
74830
- "fill": "#000",
74934
+ "fill": "#2D4B73",
74831
74935
  "fill-rule": "evenodd"
74832
74936
  }
74833
- }, [h("rect", {
74834
- "attrs": {
74835
- "opacity": ".04317801",
74836
- "width": "48",
74837
- "height": "48",
74838
- "rx": "4"
74839
- }
74840
- }), h("path", {
74937
+ }, [h("path", {
74841
74938
  "attrs": {
74842
74939
  "d": "M23,35 L25,35 L25,39 L28.9975267,39 C29.5116309,39 29.9353477,39.3827202 29.9932556,39.8826674 L30,40 C30,40.5522847 29.544239,41 28.9975267,41 L19.0024733,41 C18.4488226,41 18,40.5561352 18,40 C18,39.4477153 18.455761,39 19.0024733,39 L23,39 L23,35 Z M24,7 C28.9706612,7 33,10.7806433 33,15.4055441 L33,22.5944559 C33,27.2367538 28.9605566,31 24,31 C19.0296047,31 15,27.2193567 15,22.5944559 L15,15.4055441 C15,10.7632462 19.0397093,7 24,7 Z M28.0046024,23 L19.9953976,23 C19.4556644,23 19,23.4477153 19,24 C19,24.5164112 19.3842635,24.9360179 19.8793132,24.993327 L19.9953976,25 L28.0046024,25 C28.5057832,25 28.9344762,24.6139598 28.993161,24.1166211 L29,24 L28.9933032,23.8826674 C28.935804,23.3827202 28.515078,23 28.0046024,23 Z M28.0046024,18 L19.9953976,18 C19.4556644,18 19,18.4477153 19,19 C19,19.5164112 19.3842635,19.9360179 19.8793132,19.993327 L19.9953976,20 L28.0046024,20 C28.5057832,20 28.9344762,19.6139598 28.993161,19.1166211 L29,19 L28.9933032,18.8826674 C28.935804,18.3827202 28.515078,18 28.0046024,18 Z M28.0046024,13 L19.9953976,13 C19.4556644,13 19,13.4477153 19,14 C19,14.5164112 19.3842635,14.9360179 19.8793132,14.993327 L19.9953976,15 L28.0046024,15 C28.5057832,15 28.9344762,14.6139598 28.993161,14.1166211 L29,14 L28.9933032,13.8826674 C28.935804,13.3827202 28.515078,13 28.0046024,13 Z",
74843
74940
  "fill-opacity": ".8"
@@ -74869,17 +74966,10 @@ var image_processor_ImageProcessor = /** @class */ (function () {
74869
74966
  }
74870
74967
  }, [h("g", {
74871
74968
  "attrs": {
74872
- "fill": "#000",
74969
+ "fill": "#2D4B73",
74873
74970
  "fill-rule": "evenodd"
74874
74971
  }
74875
- }, [h("rect", {
74876
- "attrs": {
74877
- "opacity": ".04317801",
74878
- "width": "48",
74879
- "height": "48",
74880
- "rx": "4"
74881
- }
74882
- }), h("path", {
74972
+ }, [h("path", {
74883
74973
  "attrs": {
74884
74974
  "d": "M29,8 L29,15 C29,15.5522847 29.4477153,16 30,16 L30,16 L37,16 L37,38 C37,39.1045695 36.1045695,40 35,40 L13,40 C11.8954305,40 11,39.1045695 11,38 L11,10 C11,8.8954305 11.8954305,8 13,8 L29,8 Z M29,31 L19,31 C18.4477153,31 18,31.4477153 18,32 C18,32.5522847 18.4477153,33 19,33 L19,33 L29,33 C29.5522847,33 30,32.5522847 30,32 C30,31.4477153 29.5522847,31 29,31 L29,31 Z M24.7071068,15.7071068 C24.3165825,15.3165825 23.6834175,15.3165825 23.2928932,15.7071068 L23.2928932,15.7071068 L17.8535534,21.1464466 C17.7597852,21.2402148 17.7071068,21.3673918 17.7071068,21.5 C17.7071068,21.7761424 17.9309644,22 18.2071068,22 L18.2071068,22 L21,22 L21,28 C21,28.5522847 21.4477153,29 22,29 L22,29 L26,29 C26.5522847,29 27,28.5522847 27,28 L27,28 L27,22 L29.7928932,22 C29.9255015,22 30.0526784,21.9473216 30.1464466,21.8535534 C30.3417088,21.6582912 30.3417088,21.3417088 30.1464466,21.1464466 L30.1464466,21.1464466 Z",
74885
74975
  "fill-opacity": ".8"
@@ -76753,6 +76843,7 @@ function MultiplePickerOptions_isOptionDisabled(option) {
76753
76843
 
76754
76844
 
76755
76845
 
76846
+
76756
76847
  var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('multiple-picker'),
76757
76848
  multiple_picker_createComponent = multiple_picker_createNamespace[0],
76758
76849
  multiple_picker_bem = multiple_picker_createNamespace[1],
@@ -76779,7 +76870,7 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
76779
76870
  },
76780
76871
  toolbarPosition: {
76781
76872
  type: String,
76782
- default: 'top'
76873
+ default: 'bottom'
76783
76874
  },
76784
76875
  valueKey: {
76785
76876
  type: String,
@@ -76868,11 +76959,15 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
76868
76959
  },
76869
76960
  genCancel: function genCancel() {
76870
76961
  var h = this.$createElement;
76871
- return h("button", {
76962
+ return h(es_button, {
76872
76963
  "attrs": {
76873
- "type": "button"
76964
+ "size": "normal",
76965
+ "block": true
76966
+ },
76967
+ "style": {
76968
+ marginRigth: "4px",
76969
+ backgroundColor: "white"
76874
76970
  },
76875
- "class": multiple_picker_bem('cancel'),
76876
76971
  "on": {
76877
76972
  "click": this.cancel
76878
76973
  }
@@ -76880,11 +76975,15 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
76880
76975
  },
76881
76976
  genConfirm: function genConfirm() {
76882
76977
  var h = this.$createElement;
76883
- return h("button", {
76978
+ return h(es_button, {
76884
76979
  "attrs": {
76885
- "type": "button"
76980
+ "type": "primary",
76981
+ "size": "normal",
76982
+ "block": true
76983
+ },
76984
+ "style": {
76985
+ marginLeft: "4px"
76886
76986
  },
76887
- "class": multiple_picker_bem('confirm'),
76888
76987
  "on": {
76889
76988
  "click": this.confirm
76890
76989
  }
@@ -76896,7 +76995,7 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
76896
76995
  if (this.showToolbar) {
76897
76996
  return h("div", {
76898
76997
  "class": multiple_picker_bem('toolbar')
76899
- }, [this.slots() || [this.genCancel(), this.genTitle(), this.genConfirm()]]);
76998
+ }, [this.slots() || [this.genCancel(), this.genConfirm()]]);
76900
76999
  }
76901
77000
  },
76902
77001
  genOptions: function genOptions() {
@@ -76968,9 +77067,7 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
76968
77067
  }, [h("div", {
76969
77068
  "class": multiple_picker_bem(),
76970
77069
  "ref": 'columnParent'
76971
- }, [this.toolbarPosition === 'top' ? this.genToolbar() : h(), this.toolbarPosition === 'top' ? h("div", {
76972
- "class": multiple_picker_bem('border')
76973
- }) : h(), this.loading ? h(es_loading, {
77070
+ }, [this.genTitle(), this.loading ? h(es_loading, {
76974
77071
  "class": multiple_picker_bem('loading')
76975
77072
  }) : h(), this.genOptions(), this.toolbarPosition === 'bottom' ? this.genToolbar() : h()])]);
76976
77073
  }
@@ -80187,6 +80284,7 @@ var radio_group_createNamespace = Object(utils["b" /* createNamespace */])('radi
80187
80284
  disabled: Boolean,
80188
80285
  direction: String,
80189
80286
  checkedColor: String,
80287
+ boxShadow: String,
80190
80288
  iconSize: [Number, String]
80191
80289
  },
80192
80290
  watch: {
@@ -80903,7 +81001,7 @@ var signature_createNamespace = Object(utils["b" /* createNamespace */])('signat
80903
81001
  },
80904
81002
  backgroundStyle: {
80905
81003
  type: String,
80906
- default: '#f5f5f5'
81004
+ default: '#FFFFFF'
80907
81005
  },
80908
81006
  imageType: {
80909
81007
  type: String,
@@ -81132,23 +81230,24 @@ var signature_createNamespace = Object(utils["b" /* createNamespace */])('signat
81132
81230
  "class": signature_bem('actions')
81133
81231
  }, [h(es_button, {
81134
81232
  "attrs": {
81135
- "plain": true,
81136
- "type": "warning"
81233
+ "border-color": "#FF8700",
81234
+ "color": "#FF8700",
81235
+ "background-color": "#fff"
81137
81236
  },
81138
81237
  "on": {
81139
81238
  "click": this.clear
81140
81239
  }
81141
81240
  }, [signature_t('reSign')]), h(es_button, {
81142
81241
  "attrs": {
81143
- "plain": true,
81144
- "type": "default"
81242
+ "border-color": "rgba(45,75,115,0.20)",
81243
+ "color": "#2D4B73",
81244
+ "background-color": "#fff"
81145
81245
  },
81146
81246
  "on": {
81147
81247
  "click": this.cancel
81148
81248
  }
81149
81249
  }, [signature_t('cancel')]), h(es_button, {
81150
81250
  "attrs": {
81151
- "block": true,
81152
81251
  "type": "primary",
81153
81252
  "disabled": this.isCompleteButtonDisabled
81154
81253
  },
@@ -81657,14 +81756,12 @@ var step_createNamespace = Object(utils["b" /* createNamespace */])('step'),
81657
81756
  if (this.active) {
81658
81757
  return {
81659
81758
  background: "" + (this.parent.activeBgColor || 'rgba(0,145,250,0.20)'),
81660
- border: "1px solid " + (this.parent.activeBorderColor || '#0091FA'),
81661
81759
  'font-weight': 'bold',
81662
81760
  color: "" + (this.parent.activeColor || '#0091FA')
81663
81761
  };
81664
81762
  } else {
81665
81763
  return {
81666
- background: "" + (this.parent.inactiveBgColor || 'rgba(0,0,0,0.20)'),
81667
- border: "1px solid " + (this.parent.inactiveBorderColor || 'rgba(0,0,0,0)'),
81764
+ background: "" + (this.parent.inactiveBgColor || 'rgba(45,75,115,0.20)'),
81668
81765
  'font-weight': 'normal',
81669
81766
  color: "" + (this.parent.inactiveColor || '#FFFFFF')
81670
81767
  };
@@ -81673,11 +81770,11 @@ var step_createNamespace = Object(utils["b" /* createNamespace */])('step'),
81673
81770
  titleStyle: function titleStyle() {
81674
81771
  if (this.active) {
81675
81772
  return {
81676
- color: this.parent.titleActiveColor || 'rgba(0,0,0,1)'
81773
+ color: this.parent.titleActiveColor || 'rgba(45, 75, 115, 1)'
81677
81774
  };
81678
81775
  } else {
81679
81776
  return {
81680
- color: this.parent.titleInactiveColor || 'rgba(0,0,0,0.4)'
81777
+ color: this.parent.titleInactiveColor || 'rgba(45, 75, 115, 0.6)'
81681
81778
  };
81682
81779
  }
81683
81780
  }
@@ -84549,7 +84646,7 @@ var uploader_createNamespace = Object(utils["b" /* createNamespace */])('uploade
84549
84646
 
84550
84647
 
84551
84648
 
84552
- var version = '0.1.113';
84649
+ var version = '2.0.1';
84553
84650
 
84554
84651
  function install(Vue) {
84555
84652
  var components = [action_sheet, es_area, avatar, back_top, badge, es_button, calendar, cascader, cell, cell_group, es_checkbox, checkbox_group, col, collapse, collapse_item, count_down, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, fold_dialog, es_form, grid, grid_item, hierarchy_select, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, lazyload, es_list, es_loading, locale["a" /* default */], media_picker, media_player, multiple_picker, nav_bar, notice_bar, number_keyboard, es_overlay, password_input, pdf_viewer, picker, popover, popup, pull_refresh, es_radio, radio_group, rate, row, search, signature, skeleton, slider, es_step, stepper, es_steps, es_sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, tabs, es_tag, timeline, es_toast, uploader];