wargerm 0.5.32 → 0.5.33
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/dist/components/Calendar/index.d.ts +0 -1
- package/dist/index.css +0 -65
- package/dist/index.esm.css +0 -65
- package/dist/index.esm.js +8 -0
- package/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -28171,68 +28171,3 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
|
|
28171
28171
|
opacity: 1;
|
28172
28172
|
background: #9cd0ef;
|
28173
28173
|
}
|
28174
|
-
|
28175
|
-
.content_container {
|
28176
|
-
width: 100%;
|
28177
|
-
height: 100%;
|
28178
|
-
}
|
28179
|
-
.content_container .toolbar_container {
|
28180
|
-
position: relative;
|
28181
|
-
display: flex;
|
28182
|
-
align-items: center;
|
28183
|
-
justify-content: center;
|
28184
|
-
height: 94px;
|
28185
|
-
background: white;
|
28186
|
-
border: 1px solid rgb(215 215 215);
|
28187
|
-
}
|
28188
|
-
.content_container .calendar_header_wrapper {
|
28189
|
-
display: grid;
|
28190
|
-
grid-template-columns: repeat(7, 1fr);
|
28191
|
-
width: 100%;
|
28192
|
-
height: 47px;
|
28193
|
-
color: #fff;
|
28194
|
-
background: #26958c;
|
28195
|
-
border: 1px solid rgb(215 215 215);
|
28196
|
-
}
|
28197
|
-
.content_container .content_wrapper {
|
28198
|
-
display: grid;
|
28199
|
-
grid-template-columns: repeat(7, 1fr);
|
28200
|
-
border: 1px solid rgb(215 215 215);
|
28201
|
-
}
|
28202
|
-
.content_container .content_wrapper .day_container {
|
28203
|
-
position: relative;
|
28204
|
-
display: flex;
|
28205
|
-
align-items: center;
|
28206
|
-
justify-content: center;
|
28207
|
-
height: 100px;
|
28208
|
-
color: #333;
|
28209
|
-
background: #f6f6f6;
|
28210
|
-
border-right: 1px solid rgb(215 215 215);
|
28211
|
-
border-bottom: 1px solid rgb(215 215 215);
|
28212
|
-
cursor: pointer;
|
28213
|
-
}
|
28214
|
-
.content_container .content_wrapper .day_container:hover {
|
28215
|
-
box-shadow: inset 0px 0px 5px 1px lightgreen;
|
28216
|
-
}
|
28217
|
-
.content_container .content_wrapper .date_title {
|
28218
|
-
display: inline-block;
|
28219
|
-
width: 24px;
|
28220
|
-
height: 20px;
|
28221
|
-
margin-left: 4px;
|
28222
|
-
color: rgb(103 113 122);
|
28223
|
-
font-weight: 400;
|
28224
|
-
font-size: 16px;
|
28225
|
-
font-family: PingFangSC-Regular, PingFang SC;
|
28226
|
-
line-height: 20px;
|
28227
|
-
text-align: center;
|
28228
|
-
}
|
28229
|
-
.content_container .content_wrapper .isCurrentMonth {
|
28230
|
-
color: #000;
|
28231
|
-
background: #fff;
|
28232
|
-
}
|
28233
|
-
.content_container .content_wrapper .isToday {
|
28234
|
-
background: lightgreen;
|
28235
|
-
}
|
28236
|
-
.content_container .content_wrapper .isCurrentDay {
|
28237
|
-
box-shadow: inset 0px 0px 5px 1px lightgreen;
|
28238
|
-
}
|
package/dist/index.esm.css
CHANGED
@@ -28171,68 +28171,3 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
|
|
28171
28171
|
opacity: 1;
|
28172
28172
|
background: #9cd0ef;
|
28173
28173
|
}
|
28174
|
-
|
28175
|
-
.content_container {
|
28176
|
-
width: 100%;
|
28177
|
-
height: 100%;
|
28178
|
-
}
|
28179
|
-
.content_container .toolbar_container {
|
28180
|
-
position: relative;
|
28181
|
-
display: flex;
|
28182
|
-
align-items: center;
|
28183
|
-
justify-content: center;
|
28184
|
-
height: 94px;
|
28185
|
-
background: white;
|
28186
|
-
border: 1px solid rgb(215 215 215);
|
28187
|
-
}
|
28188
|
-
.content_container .calendar_header_wrapper {
|
28189
|
-
display: grid;
|
28190
|
-
grid-template-columns: repeat(7, 1fr);
|
28191
|
-
width: 100%;
|
28192
|
-
height: 47px;
|
28193
|
-
color: #fff;
|
28194
|
-
background: #26958c;
|
28195
|
-
border: 1px solid rgb(215 215 215);
|
28196
|
-
}
|
28197
|
-
.content_container .content_wrapper {
|
28198
|
-
display: grid;
|
28199
|
-
grid-template-columns: repeat(7, 1fr);
|
28200
|
-
border: 1px solid rgb(215 215 215);
|
28201
|
-
}
|
28202
|
-
.content_container .content_wrapper .day_container {
|
28203
|
-
position: relative;
|
28204
|
-
display: flex;
|
28205
|
-
align-items: center;
|
28206
|
-
justify-content: center;
|
28207
|
-
height: 100px;
|
28208
|
-
color: #333;
|
28209
|
-
background: #f6f6f6;
|
28210
|
-
border-right: 1px solid rgb(215 215 215);
|
28211
|
-
border-bottom: 1px solid rgb(215 215 215);
|
28212
|
-
cursor: pointer;
|
28213
|
-
}
|
28214
|
-
.content_container .content_wrapper .day_container:hover {
|
28215
|
-
box-shadow: inset 0px 0px 5px 1px lightgreen;
|
28216
|
-
}
|
28217
|
-
.content_container .content_wrapper .date_title {
|
28218
|
-
display: inline-block;
|
28219
|
-
width: 24px;
|
28220
|
-
height: 20px;
|
28221
|
-
margin-left: 4px;
|
28222
|
-
color: rgb(103 113 122);
|
28223
|
-
font-weight: 400;
|
28224
|
-
font-size: 16px;
|
28225
|
-
font-family: PingFangSC-Regular, PingFang SC;
|
28226
|
-
line-height: 20px;
|
28227
|
-
text-align: center;
|
28228
|
-
}
|
28229
|
-
.content_container .content_wrapper .isCurrentMonth {
|
28230
|
-
color: #000;
|
28231
|
-
background: #fff;
|
28232
|
-
}
|
28233
|
-
.content_container .content_wrapper .isToday {
|
28234
|
-
background: lightgreen;
|
28235
|
-
}
|
28236
|
-
.content_container .content_wrapper .isCurrentDay {
|
28237
|
-
box-shadow: inset 0px 0px 5px 1px lightgreen;
|
28238
|
-
}
|
package/dist/index.esm.js
CHANGED
@@ -11312,6 +11312,7 @@ var INIT_DAYS = Array(TOTAL_LENGTH).fill(0).map(function (_, index) {
|
|
11312
11312
|
return +index + 1;
|
11313
11313
|
});
|
11314
11314
|
|
11315
|
+
hooks.locale('zh-cn');
|
11315
11316
|
/**
|
11316
11317
|
* 获取当前月的天数
|
11317
11318
|
*/
|
@@ -11449,6 +11450,8 @@ function initWeekCalendar(type, date) {
|
|
11449
11450
|
return days;
|
11450
11451
|
}
|
11451
11452
|
|
11453
|
+
hooks.locale('zh-cn');
|
11454
|
+
|
11452
11455
|
function Calendar(_ref, ref) {
|
11453
11456
|
var value = _ref.value,
|
11454
11457
|
onChange = _ref.onChange,
|
@@ -11477,6 +11480,11 @@ function Calendar(_ref, ref) {
|
|
11477
11480
|
|
11478
11481
|
var getweekDay = function getweekDay(date) {
|
11479
11482
|
var index = hooks(date).day();
|
11483
|
+
|
11484
|
+
if (index == 0) {
|
11485
|
+
index = 7;
|
11486
|
+
}
|
11487
|
+
|
11480
11488
|
return [weekLabelArray[index - 1]];
|
11481
11489
|
};
|
11482
11490
|
|
package/dist/index.js
CHANGED
@@ -11374,6 +11374,7 @@ var INIT_DAYS = Array(TOTAL_LENGTH).fill(0).map(function (_, index) {
|
|
11374
11374
|
return +index + 1;
|
11375
11375
|
});
|
11376
11376
|
|
11377
|
+
hooks.locale('zh-cn');
|
11377
11378
|
/**
|
11378
11379
|
* 获取当前月的天数
|
11379
11380
|
*/
|
@@ -11511,6 +11512,8 @@ function initWeekCalendar(type, date) {
|
|
11511
11512
|
return days;
|
11512
11513
|
}
|
11513
11514
|
|
11515
|
+
hooks.locale('zh-cn');
|
11516
|
+
|
11514
11517
|
function Calendar(_ref, ref) {
|
11515
11518
|
var value = _ref.value,
|
11516
11519
|
onChange = _ref.onChange,
|
@@ -11539,6 +11542,11 @@ function Calendar(_ref, ref) {
|
|
11539
11542
|
|
11540
11543
|
var getweekDay = function getweekDay(date) {
|
11541
11544
|
var index = hooks(date).day();
|
11545
|
+
|
11546
|
+
if (index == 0) {
|
11547
|
+
index = 7;
|
11548
|
+
}
|
11549
|
+
|
11542
11550
|
return [weekLabelArray[index - 1]];
|
11543
11551
|
};
|
11544
11552
|
|