vxe-pc-ui 3.18.0 → 3.18.2

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 (87) hide show
  1. package/es/components.js +3 -0
  2. package/es/divider/index.js +12 -0
  3. package/es/divider/src/divider.js +69 -0
  4. package/es/divider/style.css +83 -0
  5. package/es/divider/style.min.css +1 -0
  6. package/es/empty/index.js +7 -7
  7. package/es/empty/src/empty.js +5 -2
  8. package/es/icon/{iconfont.1788505321817.ttf → iconfont.1788693899721.ttf} +0 -0
  9. package/es/icon/iconfont.1788693899721.woff +0 -0
  10. package/es/icon/iconfont.1788693899721.woff2 +0 -0
  11. package/es/icon/style.css +13 -1
  12. package/es/icon/style.min.css +1 -1
  13. package/{lib/icon/style/iconfont.1788505321817.ttf → es/iconfont.1788693899721.ttf} +0 -0
  14. package/es/iconfont.1788693899721.woff +0 -0
  15. package/es/iconfont.1788693899721.woff2 +0 -0
  16. package/es/style.css +1 -1
  17. package/es/style.min.css +1 -1
  18. package/es/ui/index.js +2 -1
  19. package/es/ui/src/log.js +1 -1
  20. package/es/vxe-divider/index.js +3 -0
  21. package/es/vxe-divider/style.css +83 -0
  22. package/es/vxe-divider/style.min.css +1 -0
  23. package/es/vxe-icon/style.css +13 -1
  24. package/es/vxe-icon/style.min.css +1 -1
  25. package/lib/components.js +13 -1
  26. package/lib/components.min.js +1 -1
  27. package/lib/divider/index.js +19 -0
  28. package/lib/divider/index.min.js +1 -0
  29. package/lib/divider/src/divider.js +85 -0
  30. package/lib/divider/src/divider.min.js +1 -0
  31. package/lib/divider/style/index.js +1 -0
  32. package/lib/divider/style/style.css +83 -0
  33. package/lib/divider/style/style.min.css +1 -0
  34. package/lib/empty/index.js +5 -5
  35. package/lib/empty/index.min.js +1 -1
  36. package/lib/empty/src/empty.js +7 -2
  37. package/lib/empty/src/empty.min.js +1 -1
  38. package/lib/{iconfont.1788505321817.ttf → icon/style/iconfont.1788693899721.ttf} +0 -0
  39. package/lib/icon/style/iconfont.1788693899721.woff +0 -0
  40. package/lib/icon/style/iconfont.1788693899721.woff2 +0 -0
  41. package/lib/icon/style/style.css +13 -1
  42. package/lib/icon/style/style.min.css +13 -1
  43. package/{es/iconfont.1788505321817.ttf → lib/iconfont.1788693899721.ttf} +0 -0
  44. package/lib/iconfont.1788693899721.woff +0 -0
  45. package/lib/iconfont.1788693899721.woff2 +0 -0
  46. package/lib/index.umd.js +115 -12
  47. package/lib/index.umd.min.js +1 -1
  48. package/lib/style.css +1 -1
  49. package/lib/style.min.css +1 -1
  50. package/lib/ui/index.js +2 -1
  51. package/lib/ui/index.min.js +1 -1
  52. package/lib/ui/src/log.js +1 -1
  53. package/lib/ui/src/log.min.js +1 -1
  54. package/lib/vxe-divider/index.js +22 -0
  55. package/lib/vxe-divider/index.min.js +1 -0
  56. package/lib/vxe-divider/style/index.js +1 -0
  57. package/lib/vxe-divider/style/style.css +83 -0
  58. package/lib/vxe-divider/style/style.min.css +1 -0
  59. package/lib/vxe-icon/style/style.css +13 -1
  60. package/lib/vxe-icon/style/style.min.css +1 -1
  61. package/package.json +1 -1
  62. package/packages/components.ts +3 -0
  63. package/packages/divider/index.ts +16 -0
  64. package/packages/divider/src/divider.ts +79 -0
  65. package/packages/empty/index.ts +7 -7
  66. package/packages/empty/src/empty.ts +5 -2
  67. package/packages/ui/index.ts +1 -0
  68. package/styles/all.scss +1 -0
  69. package/styles/components/divider.scss +92 -0
  70. package/styles/components/icon.scss +13 -1
  71. package/styles/icon/iconfont.ttf +0 -0
  72. package/styles/icon/iconfont.woff +0 -0
  73. package/styles/icon/iconfont.woff2 +0 -0
  74. package/styles/theme/base.scss +27 -12
  75. package/types/all.d.ts +6 -0
  76. package/types/components/divider.d.ts +69 -0
  77. package/types/components/icon.d.ts +1 -1
  78. package/types/components/table.d.ts +11 -8
  79. package/types/ui/global-config.d.ts +2 -0
  80. package/es/icon/iconfont.1788505321817.woff +0 -0
  81. package/es/icon/iconfont.1788505321817.woff2 +0 -0
  82. package/es/iconfont.1788505321817.woff +0 -0
  83. package/es/iconfont.1788505321817.woff2 +0 -0
  84. package/lib/icon/style/iconfont.1788505321817.woff +0 -0
  85. package/lib/icon/style/iconfont.1788505321817.woff2 +0 -0
  86. package/lib/iconfont.1788505321817.woff +0 -0
  87. package/lib/iconfont.1788505321817.woff2 +0 -0
package/lib/index.umd.js CHANGED
@@ -11181,8 +11181,10 @@ __webpack_require__.d(__webpack_exports__, {
11181
11181
  DatePanel: function() { return /* reexport */ DatePanel; },
11182
11182
  DatePicker: function() { return /* reexport */ DatePicker; },
11183
11183
  DateRangePicker: function() { return /* reexport */ DateRangePicker; },
11184
+ Divider: function() { return /* reexport */ Divider; },
11184
11185
  Drawer: function() { return /* reexport */ Drawer; },
11185
11186
  DrawerController: function() { return /* reexport */ DrawerController; },
11187
+ Empty: function() { return /* reexport */ Empty; },
11186
11188
  Form: function() { return /* reexport */ Form; },
11187
11189
  FormGather: function() { return /* reexport */ FormGather; },
11188
11190
  FormGroup: function() { return /* reexport */ FormGroup; },
@@ -11278,7 +11280,9 @@ __webpack_require__.d(__webpack_exports__, {
11278
11280
  VxeDatePanel: function() { return /* reexport */ VxeDatePanel; },
11279
11281
  VxeDatePicker: function() { return /* reexport */ VxeDatePicker; },
11280
11282
  VxeDateRangePicker: function() { return /* reexport */ VxeDateRangePicker; },
11283
+ VxeDivider: function() { return /* reexport */ VxeDivider; },
11281
11284
  VxeDrawer: function() { return /* reexport */ VxeDrawer; },
11285
+ VxeEmpty: function() { return /* reexport */ VxeEmpty; },
11282
11286
  VxeForm: function() { return /* reexport */ VxeForm; },
11283
11287
  VxeFormGather: function() { return /* reexport */ VxeFormGather; },
11284
11288
  VxeFormGroup: function() { return /* reexport */ VxeFormGroup; },
@@ -11343,7 +11347,6 @@ __webpack_require__.d(__webpack_exports__, {
11343
11347
  VxeUI: function() { return /* reexport */ VxeUI; },
11344
11348
  VxeUpload: function() { return /* reexport */ VxeUpload; },
11345
11349
  VxeWatermark: function() { return /* reexport */ VxeWatermark; },
11346
- Vxeempty: function() { return /* reexport */ Vxeempty; },
11347
11350
  Watermark: function() { return /* reexport */ Watermark; },
11348
11351
  WatermarkController: function() { return /* reexport */ WatermarkController; },
11349
11352
  checkVersion: function() { return /* reexport */ checkVersion; },
@@ -11355,7 +11358,6 @@ __webpack_require__.d(__webpack_exports__, {
11355
11358
  createEvent: function() { return /* reexport */ createEvent; },
11356
11359
  "default": function() { return /* binding */ entry_lib; },
11357
11360
  drawer: function() { return /* reexport */ components_drawer; },
11358
- empty: function() { return /* reexport */ empty_empty; },
11359
11361
  formats: function() { return /* reexport */ formats; },
11360
11362
  getComponent: function() { return /* reexport */ getComponent; },
11361
11363
  getConfig: function() { return /* reexport */ getConfig; },
@@ -11431,8 +11433,10 @@ __webpack_require__.d(components_namespaceObject, {
11431
11433
  DatePanel: function() { return DatePanel; },
11432
11434
  DatePicker: function() { return DatePicker; },
11433
11435
  DateRangePicker: function() { return DateRangePicker; },
11436
+ Divider: function() { return Divider; },
11434
11437
  Drawer: function() { return Drawer; },
11435
11438
  DrawerController: function() { return DrawerController; },
11439
+ Empty: function() { return Empty; },
11436
11440
  Form: function() { return Form; },
11437
11441
  FormGather: function() { return FormGather; },
11438
11442
  FormGroup: function() { return FormGroup; },
@@ -11528,7 +11532,9 @@ __webpack_require__.d(components_namespaceObject, {
11528
11532
  VxeDatePanel: function() { return VxeDatePanel; },
11529
11533
  VxeDatePicker: function() { return VxeDatePicker; },
11530
11534
  VxeDateRangePicker: function() { return VxeDateRangePicker; },
11535
+ VxeDivider: function() { return VxeDivider; },
11531
11536
  VxeDrawer: function() { return VxeDrawer; },
11537
+ VxeEmpty: function() { return VxeEmpty; },
11532
11538
  VxeForm: function() { return VxeForm; },
11533
11539
  VxeFormGather: function() { return VxeFormGather; },
11534
11540
  VxeFormGroup: function() { return VxeFormGroup; },
@@ -11593,7 +11599,6 @@ __webpack_require__.d(components_namespaceObject, {
11593
11599
  VxeUI: function() { return VxeUI; },
11594
11600
  VxeUpload: function() { return VxeUpload; },
11595
11601
  VxeWatermark: function() { return VxeWatermark; },
11596
- Vxeempty: function() { return Vxeempty; },
11597
11602
  Watermark: function() { return Watermark; },
11598
11603
  WatermarkController: function() { return WatermarkController; },
11599
11604
  checkVersion: function() { return checkVersion; },
@@ -11604,7 +11609,6 @@ __webpack_require__.d(components_namespaceObject, {
11604
11609
  coreVersion: function() { return coreVersion; },
11605
11610
  createEvent: function() { return createEvent; },
11606
11611
  drawer: function() { return components_drawer; },
11607
- empty: function() { return empty_empty; },
11608
11612
  formats: function() { return formats; },
11609
11613
  getComponent: function() { return getComponent; },
11610
11614
  getConfig: function() { return getConfig; },
@@ -13284,7 +13288,7 @@ var es_array_join = __webpack_require__(8598);
13284
13288
 
13285
13289
 
13286
13290
  var log_log = VxeUI.log;
13287
- var uiVersion = "ui v".concat("3.18.0");
13291
+ var uiVersion = "ui v".concat("3.18.2");
13288
13292
  function createComponentLog(name) {
13289
13293
  var tableVersion = VxeUI.tableVersion ? "table v".concat(VxeUI.tableVersion) : '';
13290
13294
  var ganttVersion = VxeUI.ganttVersion ? "gantt v".concat(VxeUI.ganttVersion) : '';
@@ -13304,7 +13308,7 @@ var errLog = log_log.create('error', uiVersion);
13304
13308
 
13305
13309
 
13306
13310
 
13307
- var ui_version = "3.18.0";
13311
+ var ui_version = "3.18.2";
13308
13312
  VxeUI.uiVersion = ui_version;
13309
13313
  VxeUI.dynamicApp = dynamicApp;
13310
13314
  function config(options) {
@@ -13437,6 +13441,7 @@ setConfig({
13437
13441
  showClearButton: true,
13438
13442
  showConfirmButton: null
13439
13443
  },
13444
+ divider: {},
13440
13445
  drawer: {
13441
13446
  // size: null,
13442
13447
  // useHtml: false,
@@ -41099,6 +41104,97 @@ dynamicApp.use(VxeDateRangePicker);
41099
41104
  VxeUI.component(date_range_picker);
41100
41105
  var DateRangePicker = VxeDateRangePicker;
41101
41106
  /* harmony default export */ var packages_date_range_picker = (VxeDateRangePicker);
41107
+ ;// ./packages/divider/src/divider.ts
41108
+
41109
+
41110
+
41111
+
41112
+
41113
+ /* harmony default export */ var divider = (/* define-vxe-component start */defineVxeComponent({
41114
+ name: 'VxeDivider',
41115
+ mixins: [globalMixins.sizeMixin],
41116
+ props: {
41117
+ vertical: {
41118
+ type: Boolean,
41119
+ default: function _default() {
41120
+ return getConfig().divider.vertical;
41121
+ }
41122
+ },
41123
+ titleContent: {
41124
+ type: String,
41125
+ default: function _default() {
41126
+ return getConfig().divider.titleContent;
41127
+ }
41128
+ },
41129
+ titleAlign: {
41130
+ type: String,
41131
+ default: function _default() {
41132
+ return getConfig().divider.titleAlign;
41133
+ }
41134
+ },
41135
+ size: {
41136
+ type: String,
41137
+ default: function _default() {
41138
+ return getConfig().divider.size || getConfig().size;
41139
+ }
41140
+ }
41141
+ },
41142
+ data: function data() {
41143
+ var xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
41144
+ return {
41145
+ xID: xID
41146
+ };
41147
+ },
41148
+ computed: _objectSpread2({}, {}),
41149
+ methods: {
41150
+ //
41151
+ // Method
41152
+ //
41153
+ dispatchEvent: function dispatchEvent(type, params, evnt) {
41154
+ var $xeDivider = this;
41155
+ $xeDivider.$emit(type, createEvent(evnt, {
41156
+ $divider: $xeDivider
41157
+ }, params));
41158
+ },
41159
+ //
41160
+ // Render
41161
+ //
41162
+ renderVN: function renderVN(h) {
41163
+ var $xeDivider = this;
41164
+ var props = $xeDivider;
41165
+ var slots = $xeDivider.$scopedSlots;
41166
+ var vertical = props.vertical,
41167
+ titleContent = props.titleContent,
41168
+ titleAlign = props.titleAlign;
41169
+ var vSize = $xeDivider.computeSize;
41170
+ var titleSlot = slots.title;
41171
+ return h('div', {
41172
+ ref: 'refElem',
41173
+ class: ['vxe-divider', vertical ? 'is--vertical' : 'is--horizontal', "t--align-".concat(titleAlign || 'center'), _defineProperty({}, "size--".concat(vSize), vSize)]
41174
+ }, titleContent && !vertical ? [h('span', {
41175
+ class: 'vxe-divider--content'
41176
+ }, titleSlot ? titleSlot({}) : titleContent)] : []);
41177
+ }
41178
+ },
41179
+ render: function render(h) {
41180
+ return this.renderVN(h);
41181
+ }
41182
+ })); /* define-vxe-component end */
41183
+ ;// ./packages/divider/index.ts
41184
+
41185
+
41186
+
41187
+
41188
+
41189
+ var VxeDivider = Object.assign({}, divider, {
41190
+ install: function install(app) {
41191
+ app.component(divider.name, divider);
41192
+ }
41193
+ });
41194
+ dynamicApp.use(VxeDivider);
41195
+ VxeUI.component(divider);
41196
+ var Divider = VxeDivider;
41197
+ /* harmony default export */ var packages_divider = (VxeDivider);
41102
41198
  ;// ./packages/drawer/src/store.ts
41103
41199
  var allActiveDrawers = [];
41104
41200
  ;// ./packages/loading/index.ts
@@ -42132,7 +42228,12 @@ var Drawer = VxeDrawer;
42132
42228
  imageUrl: String,
42133
42229
  imageStyle: Object,
42134
42230
  icon: String,
42135
- status: String,
42231
+ status: {
42232
+ type: String,
42233
+ default: function _default() {
42234
+ return getConfig().empty.status;
42235
+ }
42236
+ },
42136
42237
  content: [String, Number]
42137
42238
  },
42138
42239
  data: function data() {
@@ -42195,15 +42296,15 @@ var Drawer = VxeDrawer;
42195
42296
 
42196
42297
 
42197
42298
 
42198
- var Vxeempty = Object.assign({}, empty, {
42299
+ var VxeEmpty = Object.assign({}, empty, {
42199
42300
  install: function install(app) {
42200
42301
  app.component(empty.name, empty);
42201
42302
  }
42202
42303
  });
42203
- dynamicApp.use(Vxeempty);
42304
+ dynamicApp.use(VxeEmpty);
42204
42305
  VxeUI.component(empty);
42205
- var empty_empty = Vxeempty;
42206
- /* harmony default export */ var packages_empty = (Vxeempty);
42306
+ var Empty = VxeEmpty;
42307
+ /* harmony default export */ var packages_empty = (VxeEmpty);
42207
42308
  ;// ./packages/form/src/itemInfo.ts
42208
42309
 
42209
42310
 
@@ -71789,13 +71890,14 @@ var Watermark = VxeWatermark;
71789
71890
 
71790
71891
 
71791
71892
 
71893
+
71792
71894
 
71793
71895
 
71794
71896
  var components_setI18n = VxeUI.setI18n,
71795
71897
  components_setLanguage = VxeUI.setLanguage,
71796
71898
  components_setTheme = VxeUI.setTheme,
71797
71899
  components_setConfig = VxeUI.setConfig;
71798
- var components_components = [packages_alert, packages_anchor, packages_anchor_link, packages_avatar, packages_backtop, packages_badge, packages_breadcrumb, packages_breadcrumb_item, packages_button, packages_button_group, packages_calendar, packages_card, packages_carousel, packages_carousel_item, packages_cascader, packages_checkbox, checkbox_button, checkbox_group, packages_col, packages_collapse, packages_collapse_pane, packages_color_picker, packages_context_menu, packages_countdown, packages_date_panel, packages_date_picker, packages_date_range_picker, packages_drawer, packages_empty, packages_form, form_gather, packages_form_group, packages_form_item, packages_icon, packages_icon_picker, packages_image, image_group, image_preview, packages_input, packages_layout_aside, packages_layout_body, packages_layout_container, packages_layout_footer, packages_layout_header, packages_link, packages_list, packages_loading, packages_menu, packages_modal, packages_notice_bar, packages_number_input, packages_optgroup, packages_option, packages_pager, packages_password_input, print_page_break, packages_print, packages_pulldown, packages_radio, radio_button, radio_group, packages_rate, packages_result, packages_row, packages_segmented, packages_select, packages_splitter, packages_splitter_panel, split, split_pane, packages_slider, packages_space, packages_steps, packages_switch, packages_tab_pane, packages_table_select, packages_table_transfer, packages_tabs, packages_tag, packages_text_ellipsis, packages_text, packages_textarea, packages_timeline, packages_timeline_item, packages_tip, packages_tooltip, packages_tour, packages_transfer, packages_tree, packages_tree_select, packages_upload, packages_watermark];
71900
+ var components_components = [packages_alert, packages_anchor, packages_anchor_link, packages_avatar, packages_backtop, packages_badge, packages_breadcrumb, packages_breadcrumb_item, packages_button, packages_button_group, packages_calendar, packages_card, packages_carousel, packages_carousel_item, packages_cascader, packages_checkbox, checkbox_button, checkbox_group, packages_col, packages_collapse, packages_collapse_pane, packages_color_picker, packages_context_menu, packages_countdown, packages_date_panel, packages_date_picker, packages_date_range_picker, packages_divider, packages_drawer, packages_empty, packages_form, form_gather, packages_form_group, packages_form_item, packages_icon, packages_icon_picker, packages_image, image_group, image_preview, packages_input, packages_layout_aside, packages_layout_body, packages_layout_container, packages_layout_footer, packages_layout_header, packages_link, packages_list, packages_loading, packages_menu, packages_modal, packages_notice_bar, packages_number_input, packages_optgroup, packages_option, packages_pager, packages_password_input, print_page_break, packages_print, packages_pulldown, packages_radio, radio_button, radio_group, packages_rate, packages_result, packages_row, packages_segmented, packages_select, packages_splitter, packages_splitter_panel, split, split_pane, packages_slider, packages_space, packages_steps, packages_switch, packages_tab_pane, packages_table_select, packages_table_transfer, packages_tabs, packages_tag, packages_text_ellipsis, packages_text, packages_textarea, packages_timeline, packages_timeline_item, packages_tip, packages_tooltip, packages_tour, packages_transfer, packages_tree, packages_tree_select, packages_upload, packages_watermark];
71799
71901
  function install(app, options) {
71800
71902
  components_setConfig(options);
71801
71903
  components_components.forEach(function (component) {
@@ -71934,6 +72036,7 @@ var readFile = readLocalFile;
71934
72036
 
71935
72037
 
71936
72038
 
72039
+
71937
72040
 
71938
72041
 
71939
72042
  ;// ./index.ts