centaline-data-driven 1.5.95 → 1.5.96

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.5.95",
3
+ "version": "1.5.96",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,10 @@
1
+ # v1.5.96
2
+ 2024-01-22
3
+ 优化
4
+
5
+ 日历控件只显示当前月天
6
+
7
+
1
8
  # v1.5.95
2
9
  2024-01-11
3
10
  优化
@@ -42,7 +42,7 @@
42
42
  <section
43
43
  v-for="(item, index) in getDayData(value.day)"
44
44
  :key="index"
45
- v-if="model.columns"
45
+ v-if="value.isCurrentMonth&&model.columns"
46
46
  >
47
47
  <div v-for="(col, index) in model.columns" :key="index">
48
48
  <div v-if="col.fieldName != 'operation'">
@@ -70566,7 +70566,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70566
70566
  "use strict";
70567
70567
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCalendar_vue__ = __webpack_require__(150);
70568
70568
  /* unused harmony namespace reexport */
70569
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_076dba22_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCalendar_vue__ = __webpack_require__(516);
70569
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9ee2cf18_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCalendar_vue__ = __webpack_require__(516);
70570
70570
  function injectStyle (ssrContext) {
70571
70571
  __webpack_require__(509)
70572
70572
  }
@@ -70586,7 +70586,7 @@ var __vue_scopeId__ = null
70586
70586
  var __vue_module_identifier__ = null
70587
70587
  var Component = normalizeComponent(
70588
70588
  __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCalendar_vue__["a" /* default */],
70589
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_076dba22_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCalendar_vue__["a" /* default */],
70589
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9ee2cf18_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCalendar_vue__["a" /* default */],
70590
70590
  __vue_template_functional__,
70591
70591
  __vue_styles__,
70592
70592
  __vue_scopeId__,
@@ -70607,7 +70607,7 @@ var content = __webpack_require__(510);
70607
70607
  if(typeof content === 'string') content = [[module.i, content, '']];
70608
70608
  if(content.locals) module.exports = content.locals;
70609
70609
  // add the styles to the DOM
70610
- var update = __webpack_require__(3)("2e741dd0", content, true, {});
70610
+ var update = __webpack_require__(3)("8c5db542", content, true, {});
70611
70611
 
70612
70612
  /***/ }),
70613
70613
  /* 510 */
@@ -70989,7 +70989,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
70989
70989
  value.isCurrentMonth ? '' : 'item-disabled',
70990
70990
  value.isSelected && !value.isToday ? 'canlendar_selected' : '',
70991
70991
  value.isToday ? 'canlendar_today' : '',
70992
- 'item canlendar_item flex flex-column flex-center' ],attrs:{"id":"fieldName"},on:{"contextmenu":function($event){$event.preventDefault();$event.stopPropagation();_vm.openRightClick($event, value)}}},_vm._l((_vm.getDayData(value.day)),function(item,index){return (_vm.model.columns)?_c('section',{key:index},_vm._l((_vm.model.columns),function(col,index){return _c('div',{key:index},[(col.fieldName != 'operation')?_c('div',[(col.fieldName == 'date')?_c('span',{staticClass:"date-text"},[_vm._v("\n "+_vm._s(_vm.extractedDate(item[col.fieldName]))+"\n ")]):_c('span',{domProps:{"innerHTML":_vm._s(item[col.fieldName])}})]):_vm._e()])})):_vm._e()}))})],2)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.menuVisible && _vm.actionRouter),expression:"menuVisible && actionRouter"}],staticClass:"box-menu",style:({ left: _vm.menu_left + 'px', top: _vm.menu_top + 'px' }),attrs:{"id":"boxMenu"}},_vm._l((_vm.actionRouter),function(item,index){return _c('div',{key:index,staticClass:"opertion",on:{"click":function($event){_vm.routerClickHandler(item)}}},[(_vm.currentData[item.rightField] == 1)?_c('div',[_c('div',{staticClass:"memuItem"},[_vm._v(_vm._s(item.label))])]):_vm._e()])}))],1)}
70992
+ 'item canlendar_item flex flex-column flex-center' ],attrs:{"id":"fieldName"},on:{"contextmenu":function($event){$event.preventDefault();$event.stopPropagation();_vm.openRightClick($event, value)}}},_vm._l((_vm.getDayData(value.day)),function(item,index){return (value.isCurrentMonth&&_vm.model.columns)?_c('section',{key:index},_vm._l((_vm.model.columns),function(col,index){return _c('div',{key:index},[(col.fieldName != 'operation')?_c('div',[(col.fieldName == 'date')?_c('span',{staticClass:"date-text"},[_vm._v("\n "+_vm._s(_vm.extractedDate(item[col.fieldName]))+"\n ")]):_c('span',{domProps:{"innerHTML":_vm._s(item[col.fieldName])}})]):_vm._e()])})):_vm._e()}))})],2)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.menuVisible && _vm.actionRouter),expression:"menuVisible && actionRouter"}],staticClass:"box-menu",style:({ left: _vm.menu_left + 'px', top: _vm.menu_top + 'px' }),attrs:{"id":"boxMenu"}},_vm._l((_vm.actionRouter),function(item,index){return _c('div',{key:index,staticClass:"opertion",on:{"click":function($event){_vm.routerClickHandler(item)}}},[(_vm.currentData[item.rightField] == 1)?_c('div',[_c('div',{staticClass:"memuItem"},[_vm._v(_vm._s(item.label))])]):_vm._e()])}))],1)}
70993
70993
  var staticRenderFns = []
70994
70994
  var esExports = { render: render, staticRenderFns: staticRenderFns }
70995
70995
  /* harmony default export */ __webpack_exports__["a"] = (esExports);