evui 3.3.32 → 3.3.35
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/LICENSE +1 -1
- package/dist/evui.common.js +9 -13
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +9 -13
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/calendar/uses.js +6 -11
- package/src/components/chart/plugins/plugins.legend.js +3 -0
- package/src/components/grid/uses.js +1 -1
package/LICENSE
CHANGED
package/dist/evui.common.js
CHANGED
|
@@ -7940,7 +7940,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7940
7940
|
/***/ "9224":
|
|
7941
7941
|
/***/ (function(module) {
|
|
7942
7942
|
|
|
7943
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7943
|
+
module.exports = JSON.parse("{\"a\":\"3.3.35\"}");
|
|
7944
7944
|
|
|
7945
7945
|
/***/ }),
|
|
7946
7946
|
|
|
@@ -20287,13 +20287,13 @@ var uses_useCalendarDate = function useCalendarDate(param) {
|
|
|
20287
20287
|
var isInvalidDate = isRangeMode && compareFromAndToDateTime(props.mode, calendarType, currDate, selectedValue.value); // time 모드인 경우 현재 값의 시간을 가지고 테스트
|
|
20288
20288
|
|
|
20289
20289
|
var timeValue = (_modelValue$split$ = (_modelValue2 = modelValue) === null || _modelValue2 === void 0 ? void 0 : _modelValue2.split(' ')[1]) !== null && _modelValue$split$ !== void 0 ? _modelValue$split$ : '';
|
|
20290
|
-
var isDisabled = disabledDate
|
|
20290
|
+
var isDisabled = disabledDate ? disabledDate(new Date("".concat(currDate, " ").concat(timeValue))) : isInvalidDate;
|
|
20291
20291
|
var index = +(calendarType !== 'main');
|
|
20292
20292
|
var isRangeSelected = isRangeMode && selectedValue.value.length > index && selectedValue.value[index].split(' ')[0].includes(currDate);
|
|
20293
20293
|
var isSelected = !isDisabled && (isRangeMode ? monthType === '' && isRangeSelected : (_selectedValue$value = selectedValue.value) === null || _selectedValue$value === void 0 ? void 0 : _selectedValue$value.includes(currDate)); // mode가 dateRange일 때는 이전, 다음달에 selected 를 하지 않는다.
|
|
20294
20294
|
|
|
20295
20295
|
calendarTableInfo[i][j] = {
|
|
20296
|
-
monthType: "".concat(monthType).concat(isDisabled
|
|
20296
|
+
monthType: "".concat(monthType).concat(isDisabled ? ' disabled' : ''),
|
|
20297
20297
|
isToday: TODAY_YMD === currDate,
|
|
20298
20298
|
isSelected: isSelected,
|
|
20299
20299
|
year: year,
|
|
@@ -20387,7 +20387,7 @@ var uses_useCalendarDate = function useCalendarDate(param) {
|
|
|
20387
20387
|
return true;
|
|
20388
20388
|
}
|
|
20389
20389
|
|
|
20390
|
-
return compareFromAndToDateTime(props.mode, calendarType, targetDateTimeValue, selectedValue.value);
|
|
20390
|
+
return !disabledDateFunc && compareFromAndToDateTime(props.mode, calendarType, targetDateTimeValue, selectedValue.value);
|
|
20391
20391
|
};
|
|
20392
20392
|
|
|
20393
20393
|
['hour', 'min', 'sec'].forEach(function (v) {
|
|
@@ -20660,7 +20660,7 @@ var calendar_uses_useEvent = function useEvent(param) {
|
|
|
20660
20660
|
};
|
|
20661
20661
|
|
|
20662
20662
|
var setRangeModeDateByIndex = function setRangeModeDateByIndex(currIndex, currDate) {
|
|
20663
|
-
if (compareFromAndToDateTime(props.mode, calendarType, currDate, selectedValue.value)) {
|
|
20663
|
+
if (!disabledDate && compareFromAndToDateTime(props.mode, calendarType, currDate, selectedValue.value)) {
|
|
20664
20664
|
return;
|
|
20665
20665
|
}
|
|
20666
20666
|
|
|
@@ -20946,13 +20946,6 @@ var calendar_uses_useEvent = function useEvent(param) {
|
|
|
20946
20946
|
currDateTime = getChangedValueByTimeFormat(timeFormat[index], currDateTime);
|
|
20947
20947
|
}
|
|
20948
20948
|
|
|
20949
|
-
var fromDate = index ? selectedValue.value[0] : currDateTime;
|
|
20950
|
-
var toDate = index ? currDateTime : selectedValue.value[1];
|
|
20951
|
-
|
|
20952
|
-
if (new Date(fromDate).getTime() > new Date(toDate).getTime()) {
|
|
20953
|
-
return;
|
|
20954
|
-
}
|
|
20955
|
-
|
|
20956
20949
|
selectedValue.value[index] = currDateTime;
|
|
20957
20950
|
}
|
|
20958
20951
|
|
|
@@ -29977,7 +29970,7 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
29977
29970
|
if (clickedRow) {
|
|
29978
29971
|
selectInfo.selectedRow = clickedRow;
|
|
29979
29972
|
setContextMenu();
|
|
29980
|
-
emit('update:selected', clickedRow);
|
|
29973
|
+
emit('update:selected', [clickedRow]);
|
|
29981
29974
|
} else {
|
|
29982
29975
|
selectInfo.selectedRow = [];
|
|
29983
29976
|
setContextMenu(false);
|
|
@@ -39384,6 +39377,9 @@ var plugins_legend_modules = {
|
|
|
39384
39377
|
this.setLegendColumnHeader();
|
|
39385
39378
|
this.legendBoxDOM.appendChild(this.legendTableDOM);
|
|
39386
39379
|
this.legendDOM.style.overflow = 'auto';
|
|
39380
|
+
} else {
|
|
39381
|
+
this.legendBoxDOM.style.overflowX = 'hidden';
|
|
39382
|
+
this.legendBoxDOM.style.overflowY = 'auto';
|
|
39387
39383
|
}
|
|
39388
39384
|
|
|
39389
39385
|
this.legendDOM.appendChild(this.legendBoxDOM);
|