shineout 1.11.2 → 1.11.3-beta.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.
- package/css/Select/Select.js +3 -2
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +104 -69
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/Select/Select.js +3 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/Select/Select.js +3 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/Select/Select.js
CHANGED
|
@@ -620,7 +620,8 @@ function (_PureComponent) {
|
|
|
620
620
|
innerTitle = _this$props12.innerTitle,
|
|
621
621
|
keygen = _this$props12.keygen,
|
|
622
622
|
convertBr = _this$props12.convertBr,
|
|
623
|
-
data = _this$props12.data
|
|
623
|
+
data = _this$props12.data,
|
|
624
|
+
onFilter = _this$props12.onFilter;
|
|
624
625
|
var disabled = this.getDisabledStatus();
|
|
625
626
|
var className = (0, _styles.selectClass)('inner', size, this.state.focus && 'focus', this.state.position, multiple && 'multiple', disabled === true && (0, _classname.getDirectionClass)('disabled'), !trim && 'pre');
|
|
626
627
|
return _react.default.createElement("div", {
|
|
@@ -640,7 +641,7 @@ function (_PureComponent) {
|
|
|
640
641
|
onClear: clearable ? this.handleClear : undefined,
|
|
641
642
|
onCreate: onCreate,
|
|
642
643
|
onRemove: this.handleRemove,
|
|
643
|
-
onFilter: this.handleFilter,
|
|
644
|
+
onFilter: onFilter && this.handleFilter,
|
|
644
645
|
datum: datum,
|
|
645
646
|
disabled: disabled,
|
|
646
647
|
focus: this.state.focus,
|
package/css/index.d.ts
CHANGED
package/css/index.js
CHANGED
package/dist/shineout.js
CHANGED
|
@@ -246798,7 +246798,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
246798
246798
|
/* harmony import */ var _utils_classname__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../utils/classname */ "./src/utils/classname.js");
|
|
246799
246799
|
var cov_h7vvkvfs0 = function () {
|
|
246800
246800
|
var path = "/Users/10008649/Desktop/workspace/fe/shein/shineout/src/Select/Select.js",
|
|
246801
|
-
hash = "
|
|
246801
|
+
hash = "8720ed73ac5ed7b418ae55810d9ad30b06808d93",
|
|
246802
246802
|
Function = function () {}.constructor,
|
|
246803
246803
|
global = new Function('return this')(),
|
|
246804
246804
|
gcv = "__coverage__",
|
|
@@ -249507,71 +249507,71 @@ var cov_h7vvkvfs0 = function () {
|
|
|
249507
249507
|
},
|
|
249508
249508
|
"270": {
|
|
249509
249509
|
start: {
|
|
249510
|
-
line:
|
|
249510
|
+
line: 564,
|
|
249511
249511
|
column: 8
|
|
249512
249512
|
},
|
|
249513
249513
|
end: {
|
|
249514
|
-
line:
|
|
249514
|
+
line: 564,
|
|
249515
249515
|
column: 18
|
|
249516
249516
|
}
|
|
249517
249517
|
},
|
|
249518
249518
|
"271": {
|
|
249519
249519
|
start: {
|
|
249520
|
-
line:
|
|
249520
|
+
line: 565,
|
|
249521
249521
|
column: 21
|
|
249522
249522
|
},
|
|
249523
249523
|
end: {
|
|
249524
|
-
line:
|
|
249524
|
+
line: 565,
|
|
249525
249525
|
column: 45
|
|
249526
249526
|
}
|
|
249527
249527
|
},
|
|
249528
249528
|
"272": {
|
|
249529
249529
|
start: {
|
|
249530
|
-
line:
|
|
249530
|
+
line: 566,
|
|
249531
249531
|
column: 22
|
|
249532
249532
|
},
|
|
249533
249533
|
end: {
|
|
249534
|
-
line:
|
|
249534
|
+
line: 574,
|
|
249535
249535
|
column: 5
|
|
249536
249536
|
}
|
|
249537
249537
|
},
|
|
249538
249538
|
"273": {
|
|
249539
249539
|
start: {
|
|
249540
|
-
line:
|
|
249540
|
+
line: 576,
|
|
249541
249541
|
column: 4
|
|
249542
249542
|
},
|
|
249543
249543
|
end: {
|
|
249544
|
-
line:
|
|
249544
|
+
line: 622,
|
|
249545
249545
|
column: 5
|
|
249546
249546
|
}
|
|
249547
249547
|
},
|
|
249548
249548
|
"274": {
|
|
249549
249549
|
start: {
|
|
249550
|
-
line:
|
|
249550
|
+
line: 626,
|
|
249551
249551
|
column: 0
|
|
249552
249552
|
},
|
|
249553
249553
|
end: {
|
|
249554
|
-
line:
|
|
249554
|
+
line: 669,
|
|
249555
249555
|
column: 1
|
|
249556
249556
|
}
|
|
249557
249557
|
},
|
|
249558
249558
|
"275": {
|
|
249559
249559
|
start: {
|
|
249560
|
-
line:
|
|
249560
|
+
line: 671,
|
|
249561
249561
|
column: 0
|
|
249562
249562
|
},
|
|
249563
249563
|
end: {
|
|
249564
|
-
line:
|
|
249564
|
+
line: 686,
|
|
249565
249565
|
column: 1
|
|
249566
249566
|
}
|
|
249567
249567
|
},
|
|
249568
249568
|
"276": {
|
|
249569
249569
|
start: {
|
|
249570
|
-
line:
|
|
249570
|
+
line: 679,
|
|
249571
249571
|
column: 19
|
|
249572
249572
|
},
|
|
249573
249573
|
end: {
|
|
249574
|
-
line:
|
|
249574
|
+
line: 679,
|
|
249575
249575
|
column: 20
|
|
249576
249576
|
}
|
|
249577
249577
|
}
|
|
@@ -250603,7 +250603,7 @@ var cov_h7vvkvfs0 = function () {
|
|
|
250603
250603
|
column: 11
|
|
250604
250604
|
},
|
|
250605
250605
|
end: {
|
|
250606
|
-
line:
|
|
250606
|
+
line: 623,
|
|
250607
250607
|
column: 3
|
|
250608
250608
|
}
|
|
250609
250609
|
},
|
|
@@ -250613,25 +250613,25 @@ var cov_h7vvkvfs0 = function () {
|
|
|
250613
250613
|
name: "(anonymous_43)",
|
|
250614
250614
|
decl: {
|
|
250615
250615
|
start: {
|
|
250616
|
-
line:
|
|
250616
|
+
line: 679,
|
|
250617
250617
|
column: 14
|
|
250618
250618
|
},
|
|
250619
250619
|
end: {
|
|
250620
|
-
line:
|
|
250620
|
+
line: 679,
|
|
250621
250621
|
column: 15
|
|
250622
250622
|
}
|
|
250623
250623
|
},
|
|
250624
250624
|
loc: {
|
|
250625
250625
|
start: {
|
|
250626
|
-
line:
|
|
250626
|
+
line: 679,
|
|
250627
250627
|
column: 19
|
|
250628
250628
|
},
|
|
250629
250629
|
end: {
|
|
250630
|
-
line:
|
|
250630
|
+
line: 679,
|
|
250631
250631
|
column: 20
|
|
250632
250632
|
}
|
|
250633
250633
|
},
|
|
250634
|
-
line:
|
|
250634
|
+
line: 679
|
|
250635
250635
|
}
|
|
250636
250636
|
},
|
|
250637
250637
|
branchMap: {
|
|
@@ -254064,200 +254064,233 @@ var cov_h7vvkvfs0 = function () {
|
|
|
254064
254064
|
"100": {
|
|
254065
254065
|
loc: {
|
|
254066
254066
|
start: {
|
|
254067
|
-
line:
|
|
254067
|
+
line: 569,
|
|
254068
254068
|
column: 6
|
|
254069
254069
|
},
|
|
254070
254070
|
end: {
|
|
254071
|
-
line:
|
|
254071
|
+
line: 569,
|
|
254072
254072
|
column: 33
|
|
254073
254073
|
}
|
|
254074
254074
|
},
|
|
254075
254075
|
type: "binary-expr",
|
|
254076
254076
|
locations: [{
|
|
254077
254077
|
start: {
|
|
254078
|
-
line:
|
|
254078
|
+
line: 569,
|
|
254079
254079
|
column: 6
|
|
254080
254080
|
},
|
|
254081
254081
|
end: {
|
|
254082
|
-
line:
|
|
254082
|
+
line: 569,
|
|
254083
254083
|
column: 22
|
|
254084
254084
|
}
|
|
254085
254085
|
}, {
|
|
254086
254086
|
start: {
|
|
254087
|
-
line:
|
|
254087
|
+
line: 569,
|
|
254088
254088
|
column: 26
|
|
254089
254089
|
},
|
|
254090
254090
|
end: {
|
|
254091
|
-
line:
|
|
254091
|
+
line: 569,
|
|
254092
254092
|
column: 33
|
|
254093
254093
|
}
|
|
254094
254094
|
}],
|
|
254095
|
-
line:
|
|
254095
|
+
line: 569
|
|
254096
254096
|
},
|
|
254097
254097
|
"101": {
|
|
254098
254098
|
loc: {
|
|
254099
254099
|
start: {
|
|
254100
|
-
line:
|
|
254100
|
+
line: 571,
|
|
254101
254101
|
column: 6
|
|
254102
254102
|
},
|
|
254103
254103
|
end: {
|
|
254104
|
-
line:
|
|
254104
|
+
line: 571,
|
|
254105
254105
|
column: 28
|
|
254106
254106
|
}
|
|
254107
254107
|
},
|
|
254108
254108
|
type: "binary-expr",
|
|
254109
254109
|
locations: [{
|
|
254110
254110
|
start: {
|
|
254111
|
-
line:
|
|
254111
|
+
line: 571,
|
|
254112
254112
|
column: 6
|
|
254113
254113
|
},
|
|
254114
254114
|
end: {
|
|
254115
|
-
line:
|
|
254115
|
+
line: 571,
|
|
254116
254116
|
column: 14
|
|
254117
254117
|
}
|
|
254118
254118
|
}, {
|
|
254119
254119
|
start: {
|
|
254120
|
-
line:
|
|
254120
|
+
line: 571,
|
|
254121
254121
|
column: 18
|
|
254122
254122
|
},
|
|
254123
254123
|
end: {
|
|
254124
|
-
line:
|
|
254124
|
+
line: 571,
|
|
254125
254125
|
column: 28
|
|
254126
254126
|
}
|
|
254127
254127
|
}],
|
|
254128
|
-
line:
|
|
254128
|
+
line: 571
|
|
254129
254129
|
},
|
|
254130
254130
|
"102": {
|
|
254131
254131
|
loc: {
|
|
254132
254132
|
start: {
|
|
254133
|
-
line:
|
|
254133
|
+
line: 572,
|
|
254134
254134
|
column: 6
|
|
254135
254135
|
},
|
|
254136
254136
|
end: {
|
|
254137
|
-
line:
|
|
254137
|
+
line: 572,
|
|
254138
254138
|
column: 56
|
|
254139
254139
|
}
|
|
254140
254140
|
},
|
|
254141
254141
|
type: "binary-expr",
|
|
254142
254142
|
locations: [{
|
|
254143
254143
|
start: {
|
|
254144
|
-
line:
|
|
254144
|
+
line: 572,
|
|
254145
254145
|
column: 6
|
|
254146
254146
|
},
|
|
254147
254147
|
end: {
|
|
254148
|
-
line:
|
|
254148
|
+
line: 572,
|
|
254149
254149
|
column: 23
|
|
254150
254150
|
}
|
|
254151
254151
|
}, {
|
|
254152
254152
|
start: {
|
|
254153
|
-
line:
|
|
254153
|
+
line: 572,
|
|
254154
254154
|
column: 27
|
|
254155
254155
|
},
|
|
254156
254156
|
end: {
|
|
254157
|
-
line:
|
|
254157
|
+
line: 572,
|
|
254158
254158
|
column: 56
|
|
254159
254159
|
}
|
|
254160
254160
|
}],
|
|
254161
|
-
line:
|
|
254161
|
+
line: 572
|
|
254162
254162
|
},
|
|
254163
254163
|
"103": {
|
|
254164
254164
|
loc: {
|
|
254165
254165
|
start: {
|
|
254166
|
-
line:
|
|
254166
|
+
line: 573,
|
|
254167
254167
|
column: 6
|
|
254168
254168
|
},
|
|
254169
254169
|
end: {
|
|
254170
|
-
line:
|
|
254170
|
+
line: 573,
|
|
254171
254171
|
column: 20
|
|
254172
254172
|
}
|
|
254173
254173
|
},
|
|
254174
254174
|
type: "binary-expr",
|
|
254175
254175
|
locations: [{
|
|
254176
254176
|
start: {
|
|
254177
|
-
line:
|
|
254177
|
+
line: 573,
|
|
254178
254178
|
column: 6
|
|
254179
254179
|
},
|
|
254180
254180
|
end: {
|
|
254181
|
-
line:
|
|
254181
|
+
line: 573,
|
|
254182
254182
|
column: 11
|
|
254183
254183
|
}
|
|
254184
254184
|
}, {
|
|
254185
254185
|
start: {
|
|
254186
|
-
line:
|
|
254186
|
+
line: 573,
|
|
254187
254187
|
column: 15
|
|
254188
254188
|
},
|
|
254189
254189
|
end: {
|
|
254190
|
-
line:
|
|
254190
|
+
line: 573,
|
|
254191
254191
|
column: 20
|
|
254192
254192
|
}
|
|
254193
254193
|
}],
|
|
254194
|
-
line:
|
|
254194
|
+
line: 573
|
|
254195
254195
|
},
|
|
254196
254196
|
"104": {
|
|
254197
254197
|
loc: {
|
|
254198
254198
|
start: {
|
|
254199
|
-
line:
|
|
254199
|
+
line: 579,
|
|
254200
254200
|
column: 18
|
|
254201
254201
|
},
|
|
254202
254202
|
end: {
|
|
254203
|
-
line:
|
|
254203
|
+
line: 579,
|
|
254204
254204
|
column: 44
|
|
254205
254205
|
}
|
|
254206
254206
|
},
|
|
254207
254207
|
type: "cond-expr",
|
|
254208
254208
|
locations: [{
|
|
254209
254209
|
start: {
|
|
254210
|
-
line:
|
|
254210
|
+
line: 579,
|
|
254211
254211
|
column: 38
|
|
254212
254212
|
},
|
|
254213
254213
|
end: {
|
|
254214
|
-
line:
|
|
254214
|
+
line: 579,
|
|
254215
254215
|
column: 40
|
|
254216
254216
|
}
|
|
254217
254217
|
}, {
|
|
254218
254218
|
start: {
|
|
254219
|
-
line:
|
|
254219
|
+
line: 579,
|
|
254220
254220
|
column: 43
|
|
254221
254221
|
},
|
|
254222
254222
|
end: {
|
|
254223
|
-
line:
|
|
254223
|
+
line: 579,
|
|
254224
254224
|
column: 44
|
|
254225
254225
|
}
|
|
254226
254226
|
}],
|
|
254227
|
-
line:
|
|
254227
|
+
line: 579
|
|
254228
254228
|
},
|
|
254229
254229
|
"105": {
|
|
254230
254230
|
loc: {
|
|
254231
254231
|
start: {
|
|
254232
|
-
line:
|
|
254232
|
+
line: 592,
|
|
254233
254233
|
column: 19
|
|
254234
254234
|
},
|
|
254235
254235
|
end: {
|
|
254236
|
-
line:
|
|
254236
|
+
line: 592,
|
|
254237
254237
|
column: 59
|
|
254238
254238
|
}
|
|
254239
254239
|
},
|
|
254240
254240
|
type: "cond-expr",
|
|
254241
254241
|
locations: [{
|
|
254242
254242
|
start: {
|
|
254243
|
-
line:
|
|
254243
|
+
line: 592,
|
|
254244
254244
|
column: 31
|
|
254245
254245
|
},
|
|
254246
254246
|
end: {
|
|
254247
|
-
line:
|
|
254247
|
+
line: 592,
|
|
254248
254248
|
column: 47
|
|
254249
254249
|
}
|
|
254250
254250
|
}, {
|
|
254251
254251
|
start: {
|
|
254252
|
-
line:
|
|
254252
|
+
line: 592,
|
|
254253
254253
|
column: 50
|
|
254254
254254
|
},
|
|
254255
254255
|
end: {
|
|
254256
|
-
line:
|
|
254256
|
+
line: 592,
|
|
254257
254257
|
column: 59
|
|
254258
254258
|
}
|
|
254259
254259
|
}],
|
|
254260
|
-
line:
|
|
254260
|
+
line: 592
|
|
254261
|
+
},
|
|
254262
|
+
"106": {
|
|
254263
|
+
loc: {
|
|
254264
|
+
start: {
|
|
254265
|
+
line: 595,
|
|
254266
|
+
column: 20
|
|
254267
|
+
},
|
|
254268
|
+
end: {
|
|
254269
|
+
line: 595,
|
|
254270
|
+
column: 49
|
|
254271
|
+
}
|
|
254272
|
+
},
|
|
254273
|
+
type: "binary-expr",
|
|
254274
|
+
locations: [{
|
|
254275
|
+
start: {
|
|
254276
|
+
line: 595,
|
|
254277
|
+
column: 20
|
|
254278
|
+
},
|
|
254279
|
+
end: {
|
|
254280
|
+
line: 595,
|
|
254281
|
+
column: 28
|
|
254282
|
+
}
|
|
254283
|
+
}, {
|
|
254284
|
+
start: {
|
|
254285
|
+
line: 595,
|
|
254286
|
+
column: 32
|
|
254287
|
+
},
|
|
254288
|
+
end: {
|
|
254289
|
+
line: 595,
|
|
254290
|
+
column: 49
|
|
254291
|
+
}
|
|
254292
|
+
}],
|
|
254293
|
+
line: 595
|
|
254261
254294
|
}
|
|
254262
254295
|
},
|
|
254263
254296
|
s: {
|
|
@@ -254691,7 +254724,8 @@ var cov_h7vvkvfs0 = function () {
|
|
|
254691
254724
|
"102": [0, 0],
|
|
254692
254725
|
"103": [0, 0],
|
|
254693
254726
|
"104": [0, 0],
|
|
254694
|
-
"105": [0, 0]
|
|
254727
|
+
"105": [0, 0],
|
|
254728
|
+
"106": [0, 0]
|
|
254695
254729
|
},
|
|
254696
254730
|
_coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184"
|
|
254697
254731
|
},
|
|
@@ -256078,7 +256112,8 @@ function (_PureComponent) {
|
|
|
256078
256112
|
innerTitle = _ref22.innerTitle,
|
|
256079
256113
|
keygen = _ref22.keygen,
|
|
256080
256114
|
convertBr = _ref22.convertBr,
|
|
256081
|
-
data = _ref22.data
|
|
256115
|
+
data = _ref22.data,
|
|
256116
|
+
onFilter = _ref22.onFilter;
|
|
256082
256117
|
|
|
256083
256118
|
var disabled = (cov_h7vvkvfs0.s[271]++, this.getDisabledStatus());
|
|
256084
256119
|
var className = (cov_h7vvkvfs0.s[272]++, Object(_styles__WEBPACK_IMPORTED_MODULE_14__["selectClass"])('inner', size, (cov_h7vvkvfs0.b[100][0]++, this.state.focus) && (cov_h7vvkvfs0.b[100][1]++, 'focus'), this.state.position, (cov_h7vvkvfs0.b[101][0]++, multiple) && (cov_h7vvkvfs0.b[101][1]++, 'multiple'), (cov_h7vvkvfs0.b[102][0]++, disabled === true) && (cov_h7vvkvfs0.b[102][1]++, Object(_utils_classname__WEBPACK_IMPORTED_MODULE_24__["getDirectionClass"])('disabled')), (cov_h7vvkvfs0.b[103][0]++, !trim) && (cov_h7vvkvfs0.b[103][1]++, 'pre')));
|
|
@@ -256098,7 +256133,7 @@ function (_PureComponent) {
|
|
|
256098
256133
|
__self: this,
|
|
256099
256134
|
__source: {
|
|
256100
256135
|
fileName: _jsxFileName,
|
|
256101
|
-
lineNumber:
|
|
256136
|
+
lineNumber: 577,
|
|
256102
256137
|
columnNumber: 7
|
|
256103
256138
|
}
|
|
256104
256139
|
},
|
|
@@ -256110,7 +256145,7 @@ function (_PureComponent) {
|
|
|
256110
256145
|
onClear: clearable ? (cov_h7vvkvfs0.b[105][0]++, this.handleClear) : (cov_h7vvkvfs0.b[105][1]++, undefined),
|
|
256111
256146
|
onCreate: onCreate,
|
|
256112
256147
|
onRemove: this.handleRemove,
|
|
256113
|
-
onFilter: this.handleFilter,
|
|
256148
|
+
onFilter: (cov_h7vvkvfs0.b[106][0]++, onFilter) && (cov_h7vvkvfs0.b[106][1]++, this.handleFilter),
|
|
256114
256149
|
datum: datum,
|
|
256115
256150
|
disabled: disabled,
|
|
256116
256151
|
focus: this.state.focus,
|
|
@@ -256137,7 +256172,7 @@ function (_PureComponent) {
|
|
|
256137
256172
|
__self: this,
|
|
256138
256173
|
__source: {
|
|
256139
256174
|
fileName: _jsxFileName,
|
|
256140
|
-
lineNumber:
|
|
256175
|
+
lineNumber: 588,
|
|
256141
256176
|
columnNumber: 9
|
|
256142
256177
|
}
|
|
256143
256178
|
}), this.renderOptions())
|
|
@@ -413033,7 +413068,7 @@ var cov_4ci5pu20k = function () {
|
|
|
413033
413068
|
|
|
413034
413069
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
413035
413070
|
utils: _utils__WEBPACK_IMPORTED_MODULE_0__,
|
|
413036
|
-
version: '1.11.
|
|
413071
|
+
version: '1.11.3-beta.1'
|
|
413037
413072
|
});
|
|
413038
413073
|
|
|
413039
413074
|
|