@loja-integrada/admin-components 0.21.0 → 0.21.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.
- package/dist/Forms/commonStyles.d.ts +5 -3
- package/dist/admin-components.cjs.development.js +567 -384
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +567 -384
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/Button/Button.tsx +15 -3
- package/src/Components/Table/Table.tsx +1 -1
- package/src/Components/TableList/TableList.tsx +1 -1
- package/src/Forms/Checkbox/Checkbox.tsx +1 -1
- package/src/Forms/Input/Input.tsx +6 -4
- package/src/Forms/InputLabel/InputLabel.tsx +1 -1
- package/src/Forms/commonStyles.ts +26 -5
- package/src/Indicators/Toast/Toast.tsx +1 -1
- package/src/Layout/Box/Components/Header/BoxHeader.tsx +1 -1
|
@@ -9908,7 +9908,7 @@ cov_291gn7p4uo();
|
|
|
9908
9908
|
|
|
9909
9909
|
function cov_2anqb7tsc9() {
|
|
9910
9910
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Components/Button/Button.tsx";
|
|
9911
|
-
var hash = "
|
|
9911
|
+
var hash = "310211796e7cac517fdaed464926d8392a590612";
|
|
9912
9912
|
var global = new Function("return this")();
|
|
9913
9913
|
var gcv = "__coverage__";
|
|
9914
9914
|
var coverageData = {
|
|
@@ -9977,7 +9977,7 @@ function cov_2anqb7tsc9() {
|
|
|
9977
9977
|
"6": {
|
|
9978
9978
|
start: {
|
|
9979
9979
|
line: 45,
|
|
9980
|
-
column:
|
|
9980
|
+
column: 27
|
|
9981
9981
|
},
|
|
9982
9982
|
end: {
|
|
9983
9983
|
line: 49,
|
|
@@ -9987,240 +9987,260 @@ function cov_2anqb7tsc9() {
|
|
|
9987
9987
|
"7": {
|
|
9988
9988
|
start: {
|
|
9989
9989
|
line: 50,
|
|
9990
|
+
column: 20
|
|
9991
|
+
},
|
|
9992
|
+
end: {
|
|
9993
|
+
line: 54,
|
|
9994
|
+
column: 1
|
|
9995
|
+
}
|
|
9996
|
+
},
|
|
9997
|
+
"8": {
|
|
9998
|
+
start: {
|
|
9999
|
+
line: 55,
|
|
9990
10000
|
column: 19
|
|
9991
10001
|
},
|
|
9992
10002
|
end: {
|
|
9993
|
-
line:
|
|
10003
|
+
line: 63,
|
|
9994
10004
|
column: 2
|
|
9995
10005
|
}
|
|
9996
10006
|
},
|
|
9997
|
-
"
|
|
10007
|
+
"9": {
|
|
9998
10008
|
start: {
|
|
9999
|
-
line:
|
|
10009
|
+
line: 56,
|
|
10000
10010
|
column: 4
|
|
10001
10011
|
},
|
|
10002
10012
|
end: {
|
|
10003
|
-
line:
|
|
10013
|
+
line: 57,
|
|
10004
10014
|
column: 92
|
|
10005
10015
|
}
|
|
10006
10016
|
},
|
|
10007
|
-
"
|
|
10017
|
+
"10": {
|
|
10008
10018
|
start: {
|
|
10009
|
-
line:
|
|
10019
|
+
line: 57,
|
|
10010
10020
|
column: 8
|
|
10011
10021
|
},
|
|
10012
10022
|
end: {
|
|
10013
|
-
line:
|
|
10023
|
+
line: 57,
|
|
10014
10024
|
column: 92
|
|
10015
10025
|
}
|
|
10016
10026
|
},
|
|
10017
|
-
"
|
|
10027
|
+
"11": {
|
|
10018
10028
|
start: {
|
|
10019
|
-
line:
|
|
10029
|
+
line: 58,
|
|
10020
10030
|
column: 4
|
|
10021
10031
|
},
|
|
10022
10032
|
end: {
|
|
10023
|
-
line:
|
|
10033
|
+
line: 61,
|
|
10024
10034
|
column: 5
|
|
10025
10035
|
}
|
|
10026
10036
|
},
|
|
10027
|
-
"
|
|
10037
|
+
"12": {
|
|
10028
10038
|
start: {
|
|
10029
|
-
line:
|
|
10039
|
+
line: 60,
|
|
10030
10040
|
column: 8
|
|
10031
10041
|
},
|
|
10032
10042
|
end: {
|
|
10033
|
-
line:
|
|
10043
|
+
line: 60,
|
|
10034
10044
|
column: 30
|
|
10035
10045
|
}
|
|
10036
10046
|
},
|
|
10037
|
-
"
|
|
10047
|
+
"13": {
|
|
10038
10048
|
start: {
|
|
10039
|
-
line:
|
|
10049
|
+
line: 62,
|
|
10040
10050
|
column: 4
|
|
10041
10051
|
},
|
|
10042
10052
|
end: {
|
|
10043
|
-
line:
|
|
10053
|
+
line: 62,
|
|
10044
10054
|
column: 93
|
|
10045
10055
|
}
|
|
10046
10056
|
},
|
|
10047
|
-
"
|
|
10057
|
+
"14": {
|
|
10048
10058
|
start: {
|
|
10049
|
-
line:
|
|
10059
|
+
line: 64,
|
|
10050
10060
|
column: 24
|
|
10051
10061
|
},
|
|
10052
10062
|
end: {
|
|
10053
|
-
line:
|
|
10063
|
+
line: 94,
|
|
10054
10064
|
column: 1
|
|
10055
10065
|
}
|
|
10056
10066
|
},
|
|
10057
|
-
"
|
|
10067
|
+
"15": {
|
|
10058
10068
|
start: {
|
|
10059
|
-
line:
|
|
10069
|
+
line: 65,
|
|
10060
10070
|
column: 24
|
|
10061
10071
|
},
|
|
10062
10072
|
end: {
|
|
10063
|
-
line:
|
|
10073
|
+
line: 68,
|
|
10064
10074
|
column: 5
|
|
10065
10075
|
}
|
|
10066
10076
|
},
|
|
10067
|
-
"
|
|
10077
|
+
"16": {
|
|
10068
10078
|
start: {
|
|
10069
|
-
line:
|
|
10079
|
+
line: 67,
|
|
10070
10080
|
column: 8
|
|
10071
10081
|
},
|
|
10072
10082
|
end: {
|
|
10073
|
-
line:
|
|
10083
|
+
line: 67,
|
|
10074
10084
|
column: 61
|
|
10075
10085
|
}
|
|
10076
10086
|
},
|
|
10077
|
-
"
|
|
10087
|
+
"17": {
|
|
10078
10088
|
start: {
|
|
10079
|
-
line:
|
|
10089
|
+
line: 72,
|
|
10090
|
+
column: 30
|
|
10091
|
+
},
|
|
10092
|
+
end: {
|
|
10093
|
+
line: 72,
|
|
10094
|
+
column: 105
|
|
10095
|
+
}
|
|
10096
|
+
},
|
|
10097
|
+
"18": {
|
|
10098
|
+
start: {
|
|
10099
|
+
line: 73,
|
|
10080
10100
|
column: 18
|
|
10081
10101
|
},
|
|
10082
10102
|
end: {
|
|
10083
|
-
line:
|
|
10084
|
-
column:
|
|
10103
|
+
line: 73,
|
|
10104
|
+
column: 213
|
|
10085
10105
|
}
|
|
10086
10106
|
},
|
|
10087
|
-
"
|
|
10107
|
+
"19": {
|
|
10088
10108
|
start: {
|
|
10089
|
-
line:
|
|
10109
|
+
line: 74,
|
|
10090
10110
|
column: 4
|
|
10091
10111
|
},
|
|
10092
10112
|
end: {
|
|
10093
|
-
line:
|
|
10113
|
+
line: 83,
|
|
10094
10114
|
column: 5
|
|
10095
10115
|
}
|
|
10096
10116
|
},
|
|
10097
|
-
"
|
|
10117
|
+
"20": {
|
|
10098
10118
|
start: {
|
|
10099
|
-
line:
|
|
10119
|
+
line: 75,
|
|
10100
10120
|
column: 8
|
|
10101
10121
|
},
|
|
10102
10122
|
end: {
|
|
10103
|
-
line:
|
|
10123
|
+
line: 76,
|
|
10104
10124
|
column: 153
|
|
10105
10125
|
}
|
|
10106
10126
|
},
|
|
10107
|
-
"
|
|
10127
|
+
"21": {
|
|
10108
10128
|
start: {
|
|
10109
|
-
line:
|
|
10129
|
+
line: 78,
|
|
10110
10130
|
column: 9
|
|
10111
10131
|
},
|
|
10112
10132
|
end: {
|
|
10113
|
-
line:
|
|
10133
|
+
line: 83,
|
|
10114
10134
|
column: 5
|
|
10115
10135
|
}
|
|
10116
10136
|
},
|
|
10117
|
-
"
|
|
10137
|
+
"22": {
|
|
10118
10138
|
start: {
|
|
10119
|
-
line:
|
|
10139
|
+
line: 79,
|
|
10120
10140
|
column: 8
|
|
10121
10141
|
},
|
|
10122
10142
|
end: {
|
|
10123
|
-
line:
|
|
10143
|
+
line: 79,
|
|
10124
10144
|
column: 49
|
|
10125
10145
|
}
|
|
10126
10146
|
},
|
|
10127
|
-
"
|
|
10147
|
+
"23": {
|
|
10128
10148
|
start: {
|
|
10129
|
-
line:
|
|
10149
|
+
line: 82,
|
|
10130
10150
|
column: 8
|
|
10131
10151
|
},
|
|
10132
10152
|
end: {
|
|
10133
|
-
line:
|
|
10153
|
+
line: 82,
|
|
10134
10154
|
column: 47
|
|
10135
10155
|
}
|
|
10136
10156
|
},
|
|
10137
|
-
"
|
|
10157
|
+
"24": {
|
|
10138
10158
|
start: {
|
|
10139
|
-
line:
|
|
10159
|
+
line: 84,
|
|
10140
10160
|
column: 4
|
|
10141
10161
|
},
|
|
10142
10162
|
end: {
|
|
10143
|
-
line:
|
|
10163
|
+
line: 84,
|
|
10144
10164
|
column: 39
|
|
10145
10165
|
}
|
|
10146
10166
|
},
|
|
10147
|
-
"
|
|
10167
|
+
"25": {
|
|
10148
10168
|
start: {
|
|
10149
|
-
line:
|
|
10169
|
+
line: 85,
|
|
10150
10170
|
column: 4
|
|
10151
10171
|
},
|
|
10152
10172
|
end: {
|
|
10153
|
-
line:
|
|
10173
|
+
line: 86,
|
|
10154
10174
|
column: 29
|
|
10155
10175
|
}
|
|
10156
10176
|
},
|
|
10157
|
-
"
|
|
10177
|
+
"26": {
|
|
10158
10178
|
start: {
|
|
10159
|
-
line:
|
|
10179
|
+
line: 86,
|
|
10160
10180
|
column: 8
|
|
10161
10181
|
},
|
|
10162
10182
|
end: {
|
|
10163
|
-
line:
|
|
10183
|
+
line: 86,
|
|
10164
10184
|
column: 29
|
|
10165
10185
|
}
|
|
10166
10186
|
},
|
|
10167
|
-
"
|
|
10187
|
+
"27": {
|
|
10168
10188
|
start: {
|
|
10169
|
-
line:
|
|
10189
|
+
line: 87,
|
|
10170
10190
|
column: 4
|
|
10171
10191
|
},
|
|
10172
10192
|
end: {
|
|
10173
|
-
line:
|
|
10193
|
+
line: 88,
|
|
10174
10194
|
column: 29
|
|
10175
10195
|
}
|
|
10176
10196
|
},
|
|
10177
|
-
"
|
|
10197
|
+
"28": {
|
|
10178
10198
|
start: {
|
|
10179
|
-
line:
|
|
10199
|
+
line: 88,
|
|
10180
10200
|
column: 8
|
|
10181
10201
|
},
|
|
10182
10202
|
end: {
|
|
10183
|
-
line:
|
|
10203
|
+
line: 88,
|
|
10184
10204
|
column: 29
|
|
10185
10205
|
}
|
|
10186
10206
|
},
|
|
10187
|
-
"
|
|
10207
|
+
"29": {
|
|
10188
10208
|
start: {
|
|
10189
|
-
line:
|
|
10209
|
+
line: 89,
|
|
10190
10210
|
column: 24
|
|
10191
10211
|
},
|
|
10192
10212
|
end: {
|
|
10193
|
-
line:
|
|
10213
|
+
line: 89,
|
|
10194
10214
|
column: 54
|
|
10195
10215
|
}
|
|
10196
10216
|
},
|
|
10197
|
-
"
|
|
10217
|
+
"30": {
|
|
10198
10218
|
start: {
|
|
10199
|
-
line:
|
|
10219
|
+
line: 90,
|
|
10200
10220
|
column: 4
|
|
10201
10221
|
},
|
|
10202
10222
|
end: {
|
|
10203
|
-
line:
|
|
10223
|
+
line: 93,
|
|
10204
10224
|
column: 168
|
|
10205
10225
|
}
|
|
10206
10226
|
},
|
|
10207
|
-
"
|
|
10227
|
+
"31": {
|
|
10208
10228
|
start: {
|
|
10209
|
-
line:
|
|
10229
|
+
line: 95,
|
|
10210
10230
|
column: 28
|
|
10211
10231
|
},
|
|
10212
10232
|
end: {
|
|
10213
|
-
line:
|
|
10233
|
+
line: 95,
|
|
10214
10234
|
column: 61
|
|
10215
10235
|
}
|
|
10216
10236
|
},
|
|
10217
|
-
"
|
|
10237
|
+
"32": {
|
|
10218
10238
|
start: {
|
|
10219
|
-
line:
|
|
10239
|
+
line: 96,
|
|
10220
10240
|
column: 22
|
|
10221
10241
|
},
|
|
10222
10242
|
end: {
|
|
10223
|
-
line:
|
|
10243
|
+
line: 96,
|
|
10224
10244
|
column: 53
|
|
10225
10245
|
}
|
|
10226
10246
|
}
|
|
@@ -10230,95 +10250,95 @@ function cov_2anqb7tsc9() {
|
|
|
10230
10250
|
name: "(anonymous_0)",
|
|
10231
10251
|
decl: {
|
|
10232
10252
|
start: {
|
|
10233
|
-
line:
|
|
10253
|
+
line: 55,
|
|
10234
10254
|
column: 36
|
|
10235
10255
|
},
|
|
10236
10256
|
end: {
|
|
10237
|
-
line:
|
|
10257
|
+
line: 55,
|
|
10238
10258
|
column: 37
|
|
10239
10259
|
}
|
|
10240
10260
|
},
|
|
10241
10261
|
loc: {
|
|
10242
10262
|
start: {
|
|
10243
|
-
line:
|
|
10263
|
+
line: 55,
|
|
10244
10264
|
column: 73
|
|
10245
10265
|
},
|
|
10246
10266
|
end: {
|
|
10247
|
-
line:
|
|
10267
|
+
line: 63,
|
|
10248
10268
|
column: 1
|
|
10249
10269
|
}
|
|
10250
10270
|
},
|
|
10251
|
-
line:
|
|
10271
|
+
line: 55
|
|
10252
10272
|
},
|
|
10253
10273
|
"1": {
|
|
10254
10274
|
name: "(anonymous_1)",
|
|
10255
10275
|
decl: {
|
|
10256
10276
|
start: {
|
|
10257
|
-
line:
|
|
10277
|
+
line: 64,
|
|
10258
10278
|
column: 24
|
|
10259
10279
|
},
|
|
10260
10280
|
end: {
|
|
10261
|
-
line:
|
|
10281
|
+
line: 64,
|
|
10262
10282
|
column: 25
|
|
10263
10283
|
}
|
|
10264
10284
|
},
|
|
10265
10285
|
loc: {
|
|
10266
10286
|
start: {
|
|
10267
|
-
line:
|
|
10287
|
+
line: 64,
|
|
10268
10288
|
column: 176
|
|
10269
10289
|
},
|
|
10270
10290
|
end: {
|
|
10271
|
-
line:
|
|
10291
|
+
line: 94,
|
|
10272
10292
|
column: 1
|
|
10273
10293
|
}
|
|
10274
10294
|
},
|
|
10275
|
-
line:
|
|
10295
|
+
line: 64
|
|
10276
10296
|
},
|
|
10277
10297
|
"2": {
|
|
10278
10298
|
name: "(anonymous_2)",
|
|
10279
10299
|
decl: {
|
|
10280
10300
|
start: {
|
|
10281
|
-
line:
|
|
10301
|
+
line: 65,
|
|
10282
10302
|
column: 24
|
|
10283
10303
|
},
|
|
10284
10304
|
end: {
|
|
10285
|
-
line:
|
|
10305
|
+
line: 65,
|
|
10286
10306
|
column: 25
|
|
10287
10307
|
}
|
|
10288
10308
|
},
|
|
10289
10309
|
loc: {
|
|
10290
10310
|
start: {
|
|
10291
|
-
line:
|
|
10311
|
+
line: 65,
|
|
10292
10312
|
column: 35
|
|
10293
10313
|
},
|
|
10294
10314
|
end: {
|
|
10295
|
-
line:
|
|
10315
|
+
line: 68,
|
|
10296
10316
|
column: 5
|
|
10297
10317
|
}
|
|
10298
10318
|
},
|
|
10299
|
-
line:
|
|
10319
|
+
line: 65
|
|
10300
10320
|
}
|
|
10301
10321
|
},
|
|
10302
10322
|
branchMap: {
|
|
10303
10323
|
"0": {
|
|
10304
10324
|
loc: {
|
|
10305
10325
|
start: {
|
|
10306
|
-
line:
|
|
10326
|
+
line: 56,
|
|
10307
10327
|
column: 4
|
|
10308
10328
|
},
|
|
10309
10329
|
end: {
|
|
10310
|
-
line:
|
|
10330
|
+
line: 57,
|
|
10311
10331
|
column: 92
|
|
10312
10332
|
}
|
|
10313
10333
|
},
|
|
10314
10334
|
type: "if",
|
|
10315
10335
|
locations: [{
|
|
10316
10336
|
start: {
|
|
10317
|
-
line:
|
|
10337
|
+
line: 56,
|
|
10318
10338
|
column: 4
|
|
10319
10339
|
},
|
|
10320
10340
|
end: {
|
|
10321
|
-
line:
|
|
10341
|
+
line: 57,
|
|
10322
10342
|
column: 92
|
|
10323
10343
|
}
|
|
10324
10344
|
}, {
|
|
@@ -10331,60 +10351,60 @@ function cov_2anqb7tsc9() {
|
|
|
10331
10351
|
column: undefined
|
|
10332
10352
|
}
|
|
10333
10353
|
}],
|
|
10334
|
-
line:
|
|
10354
|
+
line: 56
|
|
10335
10355
|
},
|
|
10336
10356
|
"1": {
|
|
10337
10357
|
loc: {
|
|
10338
10358
|
start: {
|
|
10339
|
-
line:
|
|
10359
|
+
line: 56,
|
|
10340
10360
|
column: 8
|
|
10341
10361
|
},
|
|
10342
10362
|
end: {
|
|
10343
|
-
line:
|
|
10363
|
+
line: 56,
|
|
10344
10364
|
column: 32
|
|
10345
10365
|
}
|
|
10346
10366
|
},
|
|
10347
10367
|
type: "binary-expr",
|
|
10348
10368
|
locations: [{
|
|
10349
10369
|
start: {
|
|
10350
|
-
line:
|
|
10370
|
+
line: 56,
|
|
10351
10371
|
column: 8
|
|
10352
10372
|
},
|
|
10353
10373
|
end: {
|
|
10354
|
-
line:
|
|
10374
|
+
line: 56,
|
|
10355
10375
|
column: 18
|
|
10356
10376
|
}
|
|
10357
10377
|
}, {
|
|
10358
10378
|
start: {
|
|
10359
|
-
line:
|
|
10379
|
+
line: 56,
|
|
10360
10380
|
column: 22
|
|
10361
10381
|
},
|
|
10362
10382
|
end: {
|
|
10363
|
-
line:
|
|
10383
|
+
line: 56,
|
|
10364
10384
|
column: 32
|
|
10365
10385
|
}
|
|
10366
10386
|
}],
|
|
10367
|
-
line:
|
|
10387
|
+
line: 56
|
|
10368
10388
|
},
|
|
10369
10389
|
"2": {
|
|
10370
10390
|
loc: {
|
|
10371
10391
|
start: {
|
|
10372
|
-
line:
|
|
10392
|
+
line: 58,
|
|
10373
10393
|
column: 4
|
|
10374
10394
|
},
|
|
10375
10395
|
end: {
|
|
10376
|
-
line:
|
|
10396
|
+
line: 61,
|
|
10377
10397
|
column: 5
|
|
10378
10398
|
}
|
|
10379
10399
|
},
|
|
10380
10400
|
type: "if",
|
|
10381
10401
|
locations: [{
|
|
10382
10402
|
start: {
|
|
10383
|
-
line:
|
|
10403
|
+
line: 58,
|
|
10384
10404
|
column: 4
|
|
10385
10405
|
},
|
|
10386
10406
|
end: {
|
|
10387
|
-
line:
|
|
10407
|
+
line: 61,
|
|
10388
10408
|
column: 5
|
|
10389
10409
|
}
|
|
10390
10410
|
}, {
|
|
@@ -10397,216 +10417,249 @@ function cov_2anqb7tsc9() {
|
|
|
10397
10417
|
column: undefined
|
|
10398
10418
|
}
|
|
10399
10419
|
}],
|
|
10400
|
-
line:
|
|
10420
|
+
line: 58
|
|
10401
10421
|
},
|
|
10402
10422
|
"3": {
|
|
10403
10423
|
loc: {
|
|
10404
10424
|
start: {
|
|
10405
|
-
line:
|
|
10425
|
+
line: 64,
|
|
10406
10426
|
column: 46
|
|
10407
10427
|
},
|
|
10408
10428
|
end: {
|
|
10409
|
-
line:
|
|
10429
|
+
line: 64,
|
|
10410
10430
|
column: 65
|
|
10411
10431
|
}
|
|
10412
10432
|
},
|
|
10413
10433
|
type: "default-arg",
|
|
10414
10434
|
locations: [{
|
|
10415
10435
|
start: {
|
|
10416
|
-
line:
|
|
10436
|
+
line: 64,
|
|
10417
10437
|
column: 56
|
|
10418
10438
|
},
|
|
10419
10439
|
end: {
|
|
10420
|
-
line:
|
|
10440
|
+
line: 64,
|
|
10421
10441
|
column: 65
|
|
10422
10442
|
}
|
|
10423
10443
|
}],
|
|
10424
|
-
line:
|
|
10444
|
+
line: 64
|
|
10425
10445
|
},
|
|
10426
10446
|
"4": {
|
|
10427
10447
|
loc: {
|
|
10428
10448
|
start: {
|
|
10429
|
-
line:
|
|
10449
|
+
line: 64,
|
|
10430
10450
|
column: 114
|
|
10431
10451
|
},
|
|
10432
10452
|
end: {
|
|
10433
|
-
line:
|
|
10453
|
+
line: 64,
|
|
10434
10454
|
column: 130
|
|
10435
10455
|
}
|
|
10436
10456
|
},
|
|
10437
10457
|
type: "default-arg",
|
|
10438
10458
|
locations: [{
|
|
10439
10459
|
start: {
|
|
10440
|
-
line:
|
|
10460
|
+
line: 64,
|
|
10441
10461
|
column: 121
|
|
10442
10462
|
},
|
|
10443
10463
|
end: {
|
|
10444
|
-
line:
|
|
10464
|
+
line: 64,
|
|
10445
10465
|
column: 130
|
|
10446
10466
|
}
|
|
10447
10467
|
}],
|
|
10448
|
-
line:
|
|
10468
|
+
line: 64
|
|
10449
10469
|
},
|
|
10450
10470
|
"5": {
|
|
10451
10471
|
loc: {
|
|
10452
10472
|
start: {
|
|
10453
|
-
line:
|
|
10473
|
+
line: 64,
|
|
10454
10474
|
column: 132
|
|
10455
10475
|
},
|
|
10456
10476
|
end: {
|
|
10457
|
-
line:
|
|
10477
|
+
line: 64,
|
|
10458
10478
|
column: 154
|
|
10459
10479
|
}
|
|
10460
10480
|
},
|
|
10461
10481
|
type: "default-arg",
|
|
10462
10482
|
locations: [{
|
|
10463
10483
|
start: {
|
|
10464
|
-
line:
|
|
10484
|
+
line: 64,
|
|
10465
10485
|
column: 147
|
|
10466
10486
|
},
|
|
10467
10487
|
end: {
|
|
10468
|
-
line:
|
|
10488
|
+
line: 64,
|
|
10469
10489
|
column: 154
|
|
10470
10490
|
}
|
|
10471
10491
|
}],
|
|
10472
|
-
line:
|
|
10492
|
+
line: 64
|
|
10473
10493
|
},
|
|
10474
10494
|
"6": {
|
|
10475
10495
|
loc: {
|
|
10476
10496
|
start: {
|
|
10477
|
-
line:
|
|
10497
|
+
line: 67,
|
|
10478
10498
|
column: 8
|
|
10479
10499
|
},
|
|
10480
10500
|
end: {
|
|
10481
|
-
line:
|
|
10501
|
+
line: 67,
|
|
10482
10502
|
column: 60
|
|
10483
10503
|
}
|
|
10484
10504
|
},
|
|
10485
10505
|
type: "binary-expr",
|
|
10486
10506
|
locations: [{
|
|
10487
10507
|
start: {
|
|
10488
|
-
line:
|
|
10508
|
+
line: 67,
|
|
10489
10509
|
column: 9
|
|
10490
10510
|
},
|
|
10491
10511
|
end: {
|
|
10492
|
-
line:
|
|
10512
|
+
line: 67,
|
|
10493
10513
|
column: 18
|
|
10494
10514
|
}
|
|
10495
10515
|
}, {
|
|
10496
10516
|
start: {
|
|
10497
|
-
line:
|
|
10517
|
+
line: 67,
|
|
10498
10518
|
column: 22
|
|
10499
10519
|
},
|
|
10500
10520
|
end: {
|
|
10501
|
-
line:
|
|
10521
|
+
line: 67,
|
|
10502
10522
|
column: 30
|
|
10503
10523
|
}
|
|
10504
10524
|
}, {
|
|
10505
10525
|
start: {
|
|
10506
|
-
line:
|
|
10526
|
+
line: 67,
|
|
10507
10527
|
column: 35
|
|
10508
10528
|
},
|
|
10509
10529
|
end: {
|
|
10510
|
-
line:
|
|
10530
|
+
line: 67,
|
|
10511
10531
|
column: 42
|
|
10512
10532
|
}
|
|
10513
10533
|
}, {
|
|
10514
10534
|
start: {
|
|
10515
|
-
line:
|
|
10535
|
+
line: 67,
|
|
10516
10536
|
column: 46
|
|
10517
10537
|
},
|
|
10518
10538
|
end: {
|
|
10519
|
-
line:
|
|
10539
|
+
line: 67,
|
|
10520
10540
|
column: 60
|
|
10521
10541
|
}
|
|
10522
10542
|
}],
|
|
10523
|
-
line:
|
|
10543
|
+
line: 67
|
|
10524
10544
|
},
|
|
10525
10545
|
"7": {
|
|
10526
10546
|
loc: {
|
|
10527
10547
|
start: {
|
|
10528
|
-
line:
|
|
10529
|
-
column:
|
|
10548
|
+
line: 72,
|
|
10549
|
+
column: 30
|
|
10550
|
+
},
|
|
10551
|
+
end: {
|
|
10552
|
+
line: 72,
|
|
10553
|
+
column: 105
|
|
10554
|
+
}
|
|
10555
|
+
},
|
|
10556
|
+
type: "cond-expr",
|
|
10557
|
+
locations: [{
|
|
10558
|
+
start: {
|
|
10559
|
+
line: 72,
|
|
10560
|
+
column: 55
|
|
10530
10561
|
},
|
|
10531
10562
|
end: {
|
|
10563
|
+
line: 72,
|
|
10564
|
+
column: 57
|
|
10565
|
+
}
|
|
10566
|
+
}, {
|
|
10567
|
+
start: {
|
|
10568
|
+
line: 72,
|
|
10569
|
+
column: 60
|
|
10570
|
+
},
|
|
10571
|
+
end: {
|
|
10572
|
+
line: 72,
|
|
10573
|
+
column: 105
|
|
10574
|
+
}
|
|
10575
|
+
}],
|
|
10576
|
+
line: 72
|
|
10577
|
+
},
|
|
10578
|
+
"8": {
|
|
10579
|
+
loc: {
|
|
10580
|
+
start: {
|
|
10532
10581
|
line: 74,
|
|
10582
|
+
column: 4
|
|
10583
|
+
},
|
|
10584
|
+
end: {
|
|
10585
|
+
line: 83,
|
|
10533
10586
|
column: 5
|
|
10534
10587
|
}
|
|
10535
10588
|
},
|
|
10536
10589
|
type: "if",
|
|
10537
10590
|
locations: [{
|
|
10538
10591
|
start: {
|
|
10539
|
-
line:
|
|
10592
|
+
line: 74,
|
|
10540
10593
|
column: 4
|
|
10541
10594
|
},
|
|
10542
10595
|
end: {
|
|
10543
|
-
line:
|
|
10596
|
+
line: 83,
|
|
10544
10597
|
column: 5
|
|
10545
10598
|
}
|
|
10546
10599
|
}, {
|
|
10547
10600
|
start: {
|
|
10548
|
-
line:
|
|
10601
|
+
line: 78,
|
|
10549
10602
|
column: 9
|
|
10550
10603
|
},
|
|
10551
10604
|
end: {
|
|
10552
|
-
line:
|
|
10605
|
+
line: 83,
|
|
10553
10606
|
column: 5
|
|
10554
10607
|
}
|
|
10555
10608
|
}],
|
|
10556
|
-
line:
|
|
10609
|
+
line: 74
|
|
10557
10610
|
},
|
|
10558
|
-
"
|
|
10611
|
+
"9": {
|
|
10559
10612
|
loc: {
|
|
10560
10613
|
start: {
|
|
10561
|
-
line:
|
|
10614
|
+
line: 78,
|
|
10562
10615
|
column: 9
|
|
10563
10616
|
},
|
|
10564
10617
|
end: {
|
|
10565
|
-
line:
|
|
10618
|
+
line: 83,
|
|
10566
10619
|
column: 5
|
|
10567
10620
|
}
|
|
10568
10621
|
},
|
|
10569
10622
|
type: "if",
|
|
10570
10623
|
locations: [{
|
|
10571
10624
|
start: {
|
|
10572
|
-
line:
|
|
10625
|
+
line: 78,
|
|
10573
10626
|
column: 9
|
|
10574
10627
|
},
|
|
10575
10628
|
end: {
|
|
10576
|
-
line:
|
|
10629
|
+
line: 83,
|
|
10577
10630
|
column: 5
|
|
10578
10631
|
}
|
|
10579
10632
|
}, {
|
|
10580
10633
|
start: {
|
|
10581
|
-
line:
|
|
10634
|
+
line: 81,
|
|
10582
10635
|
column: 9
|
|
10583
10636
|
},
|
|
10584
10637
|
end: {
|
|
10585
|
-
line:
|
|
10638
|
+
line: 83,
|
|
10586
10639
|
column: 5
|
|
10587
10640
|
}
|
|
10588
10641
|
}],
|
|
10589
|
-
line:
|
|
10642
|
+
line: 78
|
|
10590
10643
|
},
|
|
10591
|
-
"
|
|
10644
|
+
"10": {
|
|
10592
10645
|
loc: {
|
|
10593
10646
|
start: {
|
|
10594
|
-
line:
|
|
10647
|
+
line: 85,
|
|
10595
10648
|
column: 4
|
|
10596
10649
|
},
|
|
10597
10650
|
end: {
|
|
10598
|
-
line:
|
|
10651
|
+
line: 86,
|
|
10599
10652
|
column: 29
|
|
10600
10653
|
}
|
|
10601
10654
|
},
|
|
10602
10655
|
type: "if",
|
|
10603
10656
|
locations: [{
|
|
10604
10657
|
start: {
|
|
10605
|
-
line:
|
|
10658
|
+
line: 85,
|
|
10606
10659
|
column: 4
|
|
10607
10660
|
},
|
|
10608
10661
|
end: {
|
|
10609
|
-
line:
|
|
10662
|
+
line: 86,
|
|
10610
10663
|
column: 29
|
|
10611
10664
|
}
|
|
10612
10665
|
}, {
|
|
@@ -10619,27 +10672,27 @@ function cov_2anqb7tsc9() {
|
|
|
10619
10672
|
column: undefined
|
|
10620
10673
|
}
|
|
10621
10674
|
}],
|
|
10622
|
-
line:
|
|
10675
|
+
line: 85
|
|
10623
10676
|
},
|
|
10624
|
-
"
|
|
10677
|
+
"11": {
|
|
10625
10678
|
loc: {
|
|
10626
10679
|
start: {
|
|
10627
|
-
line:
|
|
10680
|
+
line: 87,
|
|
10628
10681
|
column: 4
|
|
10629
10682
|
},
|
|
10630
10683
|
end: {
|
|
10631
|
-
line:
|
|
10684
|
+
line: 88,
|
|
10632
10685
|
column: 29
|
|
10633
10686
|
}
|
|
10634
10687
|
},
|
|
10635
10688
|
type: "if",
|
|
10636
10689
|
locations: [{
|
|
10637
10690
|
start: {
|
|
10638
|
-
line:
|
|
10691
|
+
line: 87,
|
|
10639
10692
|
column: 4
|
|
10640
10693
|
},
|
|
10641
10694
|
end: {
|
|
10642
|
-
line:
|
|
10695
|
+
line: 88,
|
|
10643
10696
|
column: 29
|
|
10644
10697
|
}
|
|
10645
10698
|
}, {
|
|
@@ -10652,199 +10705,199 @@ function cov_2anqb7tsc9() {
|
|
|
10652
10705
|
column: undefined
|
|
10653
10706
|
}
|
|
10654
10707
|
}],
|
|
10655
|
-
line:
|
|
10708
|
+
line: 87
|
|
10656
10709
|
},
|
|
10657
|
-
"
|
|
10710
|
+
"12": {
|
|
10658
10711
|
loc: {
|
|
10659
10712
|
start: {
|
|
10660
|
-
line:
|
|
10713
|
+
line: 89,
|
|
10661
10714
|
column: 24
|
|
10662
10715
|
},
|
|
10663
10716
|
end: {
|
|
10664
|
-
line:
|
|
10717
|
+
line: 89,
|
|
10665
10718
|
column: 54
|
|
10666
10719
|
}
|
|
10667
10720
|
},
|
|
10668
10721
|
type: "binary-expr",
|
|
10669
10722
|
locations: [{
|
|
10670
10723
|
start: {
|
|
10671
|
-
line:
|
|
10724
|
+
line: 89,
|
|
10672
10725
|
column: 25
|
|
10673
10726
|
},
|
|
10674
10727
|
end: {
|
|
10675
|
-
line:
|
|
10728
|
+
line: 89,
|
|
10676
10729
|
column: 32
|
|
10677
10730
|
}
|
|
10678
10731
|
}, {
|
|
10679
10732
|
start: {
|
|
10680
|
-
line:
|
|
10733
|
+
line: 89,
|
|
10681
10734
|
column: 36
|
|
10682
10735
|
},
|
|
10683
10736
|
end: {
|
|
10684
|
-
line:
|
|
10737
|
+
line: 89,
|
|
10685
10738
|
column: 45
|
|
10686
10739
|
}
|
|
10687
10740
|
}, {
|
|
10688
10741
|
start: {
|
|
10689
|
-
line:
|
|
10742
|
+
line: 89,
|
|
10690
10743
|
column: 50
|
|
10691
10744
|
},
|
|
10692
10745
|
end: {
|
|
10693
|
-
line:
|
|
10746
|
+
line: 89,
|
|
10694
10747
|
column: 54
|
|
10695
10748
|
}
|
|
10696
10749
|
}],
|
|
10697
|
-
line:
|
|
10750
|
+
line: 89
|
|
10698
10751
|
},
|
|
10699
|
-
"
|
|
10752
|
+
"13": {
|
|
10700
10753
|
loc: {
|
|
10701
10754
|
start: {
|
|
10702
|
-
line:
|
|
10755
|
+
line: 91,
|
|
10703
10756
|
column: 8
|
|
10704
10757
|
},
|
|
10705
10758
|
end: {
|
|
10706
|
-
line:
|
|
10759
|
+
line: 91,
|
|
10707
10760
|
column: 164
|
|
10708
10761
|
}
|
|
10709
10762
|
},
|
|
10710
10763
|
type: "binary-expr",
|
|
10711
10764
|
locations: [{
|
|
10712
10765
|
start: {
|
|
10713
|
-
line:
|
|
10766
|
+
line: 91,
|
|
10714
10767
|
column: 8
|
|
10715
10768
|
},
|
|
10716
10769
|
end: {
|
|
10717
|
-
line:
|
|
10770
|
+
line: 91,
|
|
10718
10771
|
column: 19
|
|
10719
10772
|
}
|
|
10720
10773
|
}, {
|
|
10721
10774
|
start: {
|
|
10722
|
-
line:
|
|
10775
|
+
line: 91,
|
|
10723
10776
|
column: 23
|
|
10724
10777
|
},
|
|
10725
10778
|
end: {
|
|
10726
|
-
line:
|
|
10779
|
+
line: 91,
|
|
10727
10780
|
column: 46
|
|
10728
10781
|
}
|
|
10729
10782
|
}, {
|
|
10730
10783
|
start: {
|
|
10731
|
-
line:
|
|
10784
|
+
line: 91,
|
|
10732
10785
|
column: 51
|
|
10733
10786
|
},
|
|
10734
10787
|
end: {
|
|
10735
|
-
line:
|
|
10788
|
+
line: 91,
|
|
10736
10789
|
column: 163
|
|
10737
10790
|
}
|
|
10738
10791
|
}],
|
|
10739
|
-
line:
|
|
10792
|
+
line: 91
|
|
10740
10793
|
},
|
|
10741
|
-
"
|
|
10794
|
+
"14": {
|
|
10742
10795
|
loc: {
|
|
10743
10796
|
start: {
|
|
10744
|
-
line:
|
|
10797
|
+
line: 91,
|
|
10745
10798
|
column: 104
|
|
10746
10799
|
},
|
|
10747
10800
|
end: {
|
|
10748
|
-
line:
|
|
10801
|
+
line: 91,
|
|
10749
10802
|
column: 128
|
|
10750
10803
|
}
|
|
10751
10804
|
},
|
|
10752
10805
|
type: "cond-expr",
|
|
10753
10806
|
locations: [{
|
|
10754
10807
|
start: {
|
|
10755
|
-
line:
|
|
10808
|
+
line: 91,
|
|
10756
10809
|
column: 123
|
|
10757
10810
|
},
|
|
10758
10811
|
end: {
|
|
10759
|
-
line:
|
|
10812
|
+
line: 91,
|
|
10760
10813
|
column: 124
|
|
10761
10814
|
}
|
|
10762
10815
|
}, {
|
|
10763
10816
|
start: {
|
|
10764
|
-
line:
|
|
10817
|
+
line: 91,
|
|
10765
10818
|
column: 127
|
|
10766
10819
|
},
|
|
10767
10820
|
end: {
|
|
10768
|
-
line:
|
|
10821
|
+
line: 91,
|
|
10769
10822
|
column: 128
|
|
10770
10823
|
}
|
|
10771
10824
|
}],
|
|
10772
|
-
line:
|
|
10825
|
+
line: 91
|
|
10773
10826
|
},
|
|
10774
|
-
"
|
|
10827
|
+
"15": {
|
|
10775
10828
|
loc: {
|
|
10776
10829
|
start: {
|
|
10777
|
-
line:
|
|
10830
|
+
line: 93,
|
|
10778
10831
|
column: 8
|
|
10779
10832
|
},
|
|
10780
10833
|
end: {
|
|
10781
|
-
line:
|
|
10834
|
+
line: 93,
|
|
10782
10835
|
column: 165
|
|
10783
10836
|
}
|
|
10784
10837
|
},
|
|
10785
10838
|
type: "binary-expr",
|
|
10786
10839
|
locations: [{
|
|
10787
10840
|
start: {
|
|
10788
|
-
line:
|
|
10841
|
+
line: 93,
|
|
10789
10842
|
column: 8
|
|
10790
10843
|
},
|
|
10791
10844
|
end: {
|
|
10792
|
-
line:
|
|
10845
|
+
line: 93,
|
|
10793
10846
|
column: 19
|
|
10794
10847
|
}
|
|
10795
10848
|
}, {
|
|
10796
10849
|
start: {
|
|
10797
|
-
line:
|
|
10850
|
+
line: 93,
|
|
10798
10851
|
column: 23
|
|
10799
10852
|
},
|
|
10800
10853
|
end: {
|
|
10801
|
-
line:
|
|
10854
|
+
line: 93,
|
|
10802
10855
|
column: 47
|
|
10803
10856
|
}
|
|
10804
10857
|
}, {
|
|
10805
10858
|
start: {
|
|
10806
|
-
line:
|
|
10859
|
+
line: 93,
|
|
10807
10860
|
column: 52
|
|
10808
10861
|
},
|
|
10809
10862
|
end: {
|
|
10810
|
-
line:
|
|
10863
|
+
line: 93,
|
|
10811
10864
|
column: 164
|
|
10812
10865
|
}
|
|
10813
10866
|
}],
|
|
10814
|
-
line:
|
|
10867
|
+
line: 93
|
|
10815
10868
|
},
|
|
10816
|
-
"
|
|
10869
|
+
"16": {
|
|
10817
10870
|
loc: {
|
|
10818
10871
|
start: {
|
|
10819
|
-
line:
|
|
10872
|
+
line: 93,
|
|
10820
10873
|
column: 105
|
|
10821
10874
|
},
|
|
10822
10875
|
end: {
|
|
10823
|
-
line:
|
|
10876
|
+
line: 93,
|
|
10824
10877
|
column: 129
|
|
10825
10878
|
}
|
|
10826
10879
|
},
|
|
10827
10880
|
type: "cond-expr",
|
|
10828
10881
|
locations: [{
|
|
10829
10882
|
start: {
|
|
10830
|
-
line:
|
|
10883
|
+
line: 93,
|
|
10831
10884
|
column: 124
|
|
10832
10885
|
},
|
|
10833
10886
|
end: {
|
|
10834
|
-
line:
|
|
10887
|
+
line: 93,
|
|
10835
10888
|
column: 125
|
|
10836
10889
|
}
|
|
10837
10890
|
}, {
|
|
10838
10891
|
start: {
|
|
10839
|
-
line:
|
|
10892
|
+
line: 93,
|
|
10840
10893
|
column: 128
|
|
10841
10894
|
},
|
|
10842
10895
|
end: {
|
|
10843
|
-
line:
|
|
10896
|
+
line: 93,
|
|
10844
10897
|
column: 129
|
|
10845
10898
|
}
|
|
10846
10899
|
}],
|
|
10847
|
-
line:
|
|
10900
|
+
line: 93
|
|
10848
10901
|
}
|
|
10849
10902
|
},
|
|
10850
10903
|
s: {
|
|
@@ -10878,7 +10931,9 @@ function cov_2anqb7tsc9() {
|
|
|
10878
10931
|
"27": 0,
|
|
10879
10932
|
"28": 0,
|
|
10880
10933
|
"29": 0,
|
|
10881
|
-
"30": 0
|
|
10934
|
+
"30": 0,
|
|
10935
|
+
"31": 0,
|
|
10936
|
+
"32": 0
|
|
10882
10937
|
},
|
|
10883
10938
|
f: {
|
|
10884
10939
|
"0": 0,
|
|
@@ -10897,14 +10952,15 @@ function cov_2anqb7tsc9() {
|
|
|
10897
10952
|
"8": [0, 0],
|
|
10898
10953
|
"9": [0, 0],
|
|
10899
10954
|
"10": [0, 0],
|
|
10900
|
-
"11": [0, 0
|
|
10955
|
+
"11": [0, 0],
|
|
10901
10956
|
"12": [0, 0, 0],
|
|
10902
|
-
"13": [0, 0],
|
|
10903
|
-
"14": [0, 0
|
|
10904
|
-
"15": [0, 0]
|
|
10957
|
+
"13": [0, 0, 0],
|
|
10958
|
+
"14": [0, 0],
|
|
10959
|
+
"15": [0, 0, 0],
|
|
10960
|
+
"16": [0, 0]
|
|
10905
10961
|
},
|
|
10906
10962
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
10907
|
-
hash: "
|
|
10963
|
+
hash: "310211796e7cac517fdaed464926d8392a590612"
|
|
10908
10964
|
};
|
|
10909
10965
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
10910
10966
|
|
|
@@ -10965,22 +11021,27 @@ var listOfStylesDisabled = ( /*#__PURE__*/cov_2anqb7tsc9().s[5]++, {
|
|
|
10965
11021
|
outline: defaultDisabledStyle,
|
|
10966
11022
|
onlyText: "bg-transparent text-on-base-3 shadow-none ring-0 border-0 "
|
|
10967
11023
|
});
|
|
10968
|
-
var
|
|
10969
|
-
small: "
|
|
11024
|
+
var listOfSizePaddings = ( /*#__PURE__*/cov_2anqb7tsc9().s[6]++, {
|
|
11025
|
+
small: "komea:px-3",
|
|
11026
|
+
"default": "",
|
|
11027
|
+
large: "komea:px-6"
|
|
11028
|
+
});
|
|
11029
|
+
var listOfSizes = ( /*#__PURE__*/cov_2anqb7tsc9().s[7]++, {
|
|
11030
|
+
small: "text-f6 komea:h-8 h-10",
|
|
10970
11031
|
"default": "text-f6 komea:h-9 h-12",
|
|
10971
|
-
large: "text-f5 komea:h-10
|
|
11032
|
+
large: "text-f5 komea:h-10 h-14"
|
|
10972
11033
|
});
|
|
10973
|
-
var ButtonType = ( /*#__PURE__*/cov_2anqb7tsc9().s[
|
|
11034
|
+
var ButtonType = ( /*#__PURE__*/cov_2anqb7tsc9().s[8]++, /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10974
11035
|
var as = _ref.as,
|
|
10975
11036
|
children = _ref.children,
|
|
10976
11037
|
props = _objectWithoutPropertiesLoose(_ref, ["as", "children"]);
|
|
10977
11038
|
|
|
10978
11039
|
cov_2anqb7tsc9().f[0]++;
|
|
10979
|
-
cov_2anqb7tsc9().s[
|
|
11040
|
+
cov_2anqb7tsc9().s[9]++;
|
|
10980
11041
|
|
|
10981
11042
|
if ((cov_2anqb7tsc9().b[1][0]++, as === 'a') || (cov_2anqb7tsc9().b[1][1]++, props.href)) {
|
|
10982
11043
|
cov_2anqb7tsc9().b[0][0]++;
|
|
10983
|
-
cov_2anqb7tsc9().s[
|
|
11044
|
+
cov_2anqb7tsc9().s[10]++;
|
|
10984
11045
|
return /*#__PURE__*/React.createElement("a", Object.assign({}, props, {
|
|
10985
11046
|
ref: ref
|
|
10986
11047
|
}), children);
|
|
@@ -10988,23 +11049,23 @@ var ButtonType = ( /*#__PURE__*/cov_2anqb7tsc9().s[7]++, /*#__PURE__*/React.forw
|
|
|
10988
11049
|
cov_2anqb7tsc9().b[0][1]++;
|
|
10989
11050
|
}
|
|
10990
11051
|
|
|
10991
|
-
cov_2anqb7tsc9().s[
|
|
11052
|
+
cov_2anqb7tsc9().s[11]++;
|
|
10992
11053
|
|
|
10993
11054
|
if (!props.type) {
|
|
10994
11055
|
cov_2anqb7tsc9().b[2][0]++;
|
|
10995
|
-
cov_2anqb7tsc9().s[
|
|
11056
|
+
cov_2anqb7tsc9().s[12]++;
|
|
10996
11057
|
// Default to button when missing type
|
|
10997
11058
|
props.type = 'button';
|
|
10998
11059
|
} else {
|
|
10999
11060
|
cov_2anqb7tsc9().b[2][1]++;
|
|
11000
11061
|
}
|
|
11001
11062
|
|
|
11002
|
-
cov_2anqb7tsc9().s[
|
|
11063
|
+
cov_2anqb7tsc9().s[13]++;
|
|
11003
11064
|
return /*#__PURE__*/React.createElement("button", Object.assign({}, props, {
|
|
11004
11065
|
ref: ref
|
|
11005
11066
|
}), children);
|
|
11006
11067
|
}));
|
|
11007
|
-
cov_2anqb7tsc9().s[
|
|
11068
|
+
cov_2anqb7tsc9().s[14]++;
|
|
11008
11069
|
|
|
11009
11070
|
var ButtonComponent = function ButtonComponent(_ref2, ref) {
|
|
11010
11071
|
var children = _ref2.children,
|
|
@@ -11023,78 +11084,82 @@ var ButtonComponent = function ButtonComponent(_ref2, ref) {
|
|
|
11023
11084
|
props = _objectWithoutPropertiesLoose(_ref2, ["children", "loading", "variant", "fullWidth", "icon", "disabled", "className", "onClick", "size", "iconPosition"]);
|
|
11024
11085
|
|
|
11025
11086
|
cov_2anqb7tsc9().f[1]++;
|
|
11026
|
-
cov_2anqb7tsc9().s[
|
|
11087
|
+
cov_2anqb7tsc9().s[15]++;
|
|
11027
11088
|
|
|
11028
11089
|
var handleClick = function handleClick(event) {
|
|
11029
11090
|
cov_2anqb7tsc9().f[2]++;
|
|
11030
|
-
cov_2anqb7tsc9().s[
|
|
11091
|
+
cov_2anqb7tsc9().s[16]++;
|
|
11031
11092
|
((cov_2anqb7tsc9().b[6][0]++, !disabled) || (cov_2anqb7tsc9().b[6][1]++, !loading)) && (cov_2anqb7tsc9().b[6][2]++, onClick) && (cov_2anqb7tsc9().b[6][3]++, onClick(event));
|
|
11032
|
-
};
|
|
11093
|
+
}; // `onlyText` é o único que não tem caixa, e o padding horizontal fica fora dele. Não dá para
|
|
11094
|
+
// apenas parear com `komea:px-0`: as duas classes empatam em especificidade e o Tailwind emite
|
|
11095
|
+
// `px-0` antes de `px-3`/`px-4`/`px-6`, então o zero perderia pela ordem.
|
|
11096
|
+
|
|
11033
11097
|
|
|
11034
|
-
var
|
|
11035
|
-
cov_2anqb7tsc9().s[
|
|
11098
|
+
var horizontalPadding = (cov_2anqb7tsc9().s[17]++, variant === 'onlyText' ? (cov_2anqb7tsc9().b[7][0]++, '') : (cov_2anqb7tsc9().b[7][1]++, "px-5 komea:px-4 " + listOfSizePaddings[size]));
|
|
11099
|
+
var classes = (cov_2anqb7tsc9().s[18]++, "inline-flex font-semibold komea:font-medium items-center justify-center " + horizontalPadding + " text-center no-underline cursor-pointer transition rounded-md after:align-middle focus:outline-none ");
|
|
11100
|
+
cov_2anqb7tsc9().s[19]++;
|
|
11036
11101
|
|
|
11037
11102
|
if (loading) {
|
|
11038
|
-
cov_2anqb7tsc9().b[
|
|
11039
|
-
cov_2anqb7tsc9().s[
|
|
11103
|
+
cov_2anqb7tsc9().b[8][0]++;
|
|
11104
|
+
cov_2anqb7tsc9().s[20]++;
|
|
11040
11105
|
classes += 'bg-base-3 cursor-default text-on-base-2 pointer-events-none shadow-none ring-0 border-0 hover:bg-base-3 hover:text-on-base-2 focus:ring-0 ';
|
|
11041
11106
|
} else {
|
|
11042
|
-
cov_2anqb7tsc9().b[
|
|
11043
|
-
cov_2anqb7tsc9().s[
|
|
11107
|
+
cov_2anqb7tsc9().b[8][1]++;
|
|
11108
|
+
cov_2anqb7tsc9().s[21]++;
|
|
11044
11109
|
|
|
11045
11110
|
if (disabled) {
|
|
11046
|
-
cov_2anqb7tsc9().b[
|
|
11047
|
-
cov_2anqb7tsc9().s[
|
|
11111
|
+
cov_2anqb7tsc9().b[9][0]++;
|
|
11112
|
+
cov_2anqb7tsc9().s[22]++;
|
|
11048
11113
|
classes += listOfStylesDisabled[variant];
|
|
11049
11114
|
} else {
|
|
11050
|
-
cov_2anqb7tsc9().b[
|
|
11051
|
-
cov_2anqb7tsc9().s[
|
|
11115
|
+
cov_2anqb7tsc9().b[9][1]++;
|
|
11116
|
+
cov_2anqb7tsc9().s[23]++;
|
|
11052
11117
|
classes += listOfStyles[variant] + " ";
|
|
11053
11118
|
}
|
|
11054
11119
|
}
|
|
11055
11120
|
|
|
11056
|
-
cov_2anqb7tsc9().s[
|
|
11121
|
+
cov_2anqb7tsc9().s[24]++;
|
|
11057
11122
|
classes += listOfSizes[size] + " ";
|
|
11058
|
-
cov_2anqb7tsc9().s[
|
|
11123
|
+
cov_2anqb7tsc9().s[25]++;
|
|
11059
11124
|
|
|
11060
11125
|
if (fullWidth) {
|
|
11061
|
-
cov_2anqb7tsc9().b[
|
|
11062
|
-
cov_2anqb7tsc9().s[
|
|
11126
|
+
cov_2anqb7tsc9().b[10][0]++;
|
|
11127
|
+
cov_2anqb7tsc9().s[26]++;
|
|
11063
11128
|
classes += 'w-full ';
|
|
11064
11129
|
} else {
|
|
11065
|
-
cov_2anqb7tsc9().b[
|
|
11130
|
+
cov_2anqb7tsc9().b[10][1]++;
|
|
11066
11131
|
}
|
|
11067
11132
|
|
|
11068
|
-
cov_2anqb7tsc9().s[
|
|
11133
|
+
cov_2anqb7tsc9().s[27]++;
|
|
11069
11134
|
|
|
11070
11135
|
if (className) {
|
|
11071
|
-
cov_2anqb7tsc9().b[
|
|
11072
|
-
cov_2anqb7tsc9().s[
|
|
11136
|
+
cov_2anqb7tsc9().b[11][0]++;
|
|
11137
|
+
cov_2anqb7tsc9().s[28]++;
|
|
11073
11138
|
classes += className;
|
|
11074
11139
|
} else {
|
|
11075
|
-
cov_2anqb7tsc9().b[
|
|
11140
|
+
cov_2anqb7tsc9().b[11][1]++;
|
|
11076
11141
|
}
|
|
11077
11142
|
|
|
11078
|
-
var currentIcon = (cov_2anqb7tsc9().s[
|
|
11079
|
-
cov_2anqb7tsc9().s[
|
|
11143
|
+
var currentIcon = (cov_2anqb7tsc9().s[29]++, (cov_2anqb7tsc9().b[12][0]++, loading) && (cov_2anqb7tsc9().b[12][1]++, 'loading') || (cov_2anqb7tsc9().b[12][2]++, icon));
|
|
11144
|
+
cov_2anqb7tsc9().s[30]++;
|
|
11080
11145
|
return /*#__PURE__*/React.createElement(ButtonType, Object.assign({
|
|
11081
11146
|
ref: ref,
|
|
11082
11147
|
className: classes,
|
|
11083
11148
|
disabled: disabled,
|
|
11084
11149
|
onClick: handleClick
|
|
11085
|
-
}, props), (cov_2anqb7tsc9().b[
|
|
11150
|
+
}, props), (cov_2anqb7tsc9().b[13][0]++, currentIcon) && (cov_2anqb7tsc9().b[13][1]++, iconPosition === 'left') && (cov_2anqb7tsc9().b[13][2]++, /*#__PURE__*/React.createElement(Icon, {
|
|
11086
11151
|
icon: currentIcon,
|
|
11087
|
-
size: size === 'small' ? (cov_2anqb7tsc9().b[
|
|
11152
|
+
size: size === 'small' ? (cov_2anqb7tsc9().b[14][0]++, 3) : (cov_2anqb7tsc9().b[14][1]++, 4),
|
|
11088
11153
|
className: "mr-2 inline-block"
|
|
11089
|
-
})), children, (cov_2anqb7tsc9().b[
|
|
11154
|
+
})), children, (cov_2anqb7tsc9().b[15][0]++, currentIcon) && (cov_2anqb7tsc9().b[15][1]++, iconPosition === 'right') && (cov_2anqb7tsc9().b[15][2]++, /*#__PURE__*/React.createElement(Icon, {
|
|
11090
11155
|
icon: currentIcon,
|
|
11091
|
-
size: size === 'small' ? (cov_2anqb7tsc9().b[
|
|
11156
|
+
size: size === 'small' ? (cov_2anqb7tsc9().b[16][0]++, 3) : (cov_2anqb7tsc9().b[16][1]++, 4),
|
|
11092
11157
|
className: "ml-3 inline-block"
|
|
11093
11158
|
})));
|
|
11094
11159
|
};
|
|
11095
11160
|
|
|
11096
|
-
var ButtonWithFowardRef = ( /*#__PURE__*/cov_2anqb7tsc9().s[
|
|
11097
|
-
var Button = ( /*#__PURE__*/cov_2anqb7tsc9().s[
|
|
11161
|
+
var ButtonWithFowardRef = ( /*#__PURE__*/cov_2anqb7tsc9().s[31]++, /*#__PURE__*/React.forwardRef(ButtonComponent));
|
|
11162
|
+
var Button = ( /*#__PURE__*/cov_2anqb7tsc9().s[32]++, /*#__PURE__*/React.memo(ButtonWithFowardRef));
|
|
11098
11163
|
|
|
11099
11164
|
function cov_7nvmxoy3u() {
|
|
11100
11165
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Components/Button/index.tsx";
|
|
@@ -11304,7 +11369,7 @@ cov_cu6b8o2y0();
|
|
|
11304
11369
|
|
|
11305
11370
|
function cov_1repz67rdq() {
|
|
11306
11371
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/InputLabel/InputLabel.tsx";
|
|
11307
|
-
var hash = "
|
|
11372
|
+
var hash = "c0f5ed9d8fbcc3c7624903e8d6c6695c6f7a1fb2";
|
|
11308
11373
|
var global = new Function("return this")();
|
|
11309
11374
|
var gcv = "__coverage__";
|
|
11310
11375
|
var coverageData = {
|
|
@@ -11487,31 +11552,31 @@ function cov_1repz67rdq() {
|
|
|
11487
11552
|
loc: {
|
|
11488
11553
|
start: {
|
|
11489
11554
|
line: 5,
|
|
11490
|
-
column:
|
|
11555
|
+
column: 141
|
|
11491
11556
|
},
|
|
11492
11557
|
end: {
|
|
11493
11558
|
line: 5,
|
|
11494
|
-
column:
|
|
11559
|
+
column: 182
|
|
11495
11560
|
}
|
|
11496
11561
|
},
|
|
11497
11562
|
type: "cond-expr",
|
|
11498
11563
|
locations: [{
|
|
11499
11564
|
start: {
|
|
11500
11565
|
line: 5,
|
|
11501
|
-
column:
|
|
11566
|
+
column: 152
|
|
11502
11567
|
},
|
|
11503
11568
|
end: {
|
|
11504
11569
|
line: 5,
|
|
11505
|
-
column:
|
|
11570
|
+
column: 165
|
|
11506
11571
|
}
|
|
11507
11572
|
}, {
|
|
11508
11573
|
start: {
|
|
11509
11574
|
line: 5,
|
|
11510
|
-
column:
|
|
11575
|
+
column: 168
|
|
11511
11576
|
},
|
|
11512
11577
|
end: {
|
|
11513
11578
|
line: 5,
|
|
11514
|
-
column:
|
|
11579
|
+
column: 182
|
|
11515
11580
|
}
|
|
11516
11581
|
}],
|
|
11517
11582
|
line: 5
|
|
@@ -11602,7 +11667,7 @@ function cov_1repz67rdq() {
|
|
|
11602
11667
|
"6": [0, 0]
|
|
11603
11668
|
},
|
|
11604
11669
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
11605
|
-
hash: "
|
|
11670
|
+
hash: "c0f5ed9d8fbcc3c7624903e8d6c6695c6f7a1fb2"
|
|
11606
11671
|
};
|
|
11607
11672
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
11608
11673
|
|
|
@@ -11644,7 +11709,7 @@ var InputLabel = ( /*#__PURE__*/cov_1repz67rdq().s[0]++, /*#__PURE__*/React.memo
|
|
|
11644
11709
|
|
|
11645
11710
|
cov_1repz67rdq().s[3]++;
|
|
11646
11711
|
return /*#__PURE__*/React.createElement("label", {
|
|
11647
|
-
className: "input-label text-f6 font-medium inline-flex items-center mb-0.5 " + (hasError ? (cov_1repz67rdq().b[4][0]++, 'text-danger') : (cov_1repz67rdq().b[4][1]++, 'text-on-base')) + " " + className,
|
|
11712
|
+
className: "input-label text-f6 font-semibold komea:font-medium inline-flex items-center mb-0.5 " + (hasError ? (cov_1repz67rdq().b[4][0]++, 'text-danger') : (cov_1repz67rdq().b[4][1]++, 'text-on-base')) + " " + className,
|
|
11648
11713
|
htmlFor: htmlFor
|
|
11649
11714
|
}, "" + label + (required ? (cov_1repz67rdq().b[5][0]++, '*') : (cov_1repz67rdq().b[5][1]++, '')), (cov_1repz67rdq().b[6][0]++, labelComplement) && (cov_1repz67rdq().b[6][1]++, /*#__PURE__*/React.createElement("span", {
|
|
11650
11715
|
className: "ml-2"
|
|
@@ -11970,7 +12035,7 @@ cov_1kzhtm5i1u();
|
|
|
11970
12035
|
|
|
11971
12036
|
function cov_psbeb0r8e() {
|
|
11972
12037
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/commonStyles.ts";
|
|
11973
|
-
var hash = "
|
|
12038
|
+
var hash = "5f9282f0918978247399fbaf63c4522ef682625b";
|
|
11974
12039
|
var global = new Function("return this")();
|
|
11975
12040
|
var gcv = "__coverage__";
|
|
11976
12041
|
var coverageData = {
|
|
@@ -11993,7 +12058,7 @@ function cov_psbeb0r8e() {
|
|
|
11993
12058
|
},
|
|
11994
12059
|
end: {
|
|
11995
12060
|
line: 2,
|
|
11996
|
-
column:
|
|
12061
|
+
column: 148
|
|
11997
12062
|
}
|
|
11998
12063
|
},
|
|
11999
12064
|
"2": {
|
|
@@ -12013,7 +12078,7 @@ function cov_psbeb0r8e() {
|
|
|
12013
12078
|
},
|
|
12014
12079
|
end: {
|
|
12015
12080
|
line: 4,
|
|
12016
|
-
column:
|
|
12081
|
+
column: 136
|
|
12017
12082
|
}
|
|
12018
12083
|
},
|
|
12019
12084
|
"4": {
|
|
@@ -12023,7 +12088,7 @@ function cov_psbeb0r8e() {
|
|
|
12023
12088
|
},
|
|
12024
12089
|
end: {
|
|
12025
12090
|
line: 5,
|
|
12026
|
-
column:
|
|
12091
|
+
column: 147
|
|
12027
12092
|
}
|
|
12028
12093
|
},
|
|
12029
12094
|
"5": {
|
|
@@ -12043,7 +12108,7 @@ function cov_psbeb0r8e() {
|
|
|
12043
12108
|
},
|
|
12044
12109
|
end: {
|
|
12045
12110
|
line: 7,
|
|
12046
|
-
column:
|
|
12111
|
+
column: 305
|
|
12047
12112
|
}
|
|
12048
12113
|
},
|
|
12049
12114
|
"7": {
|
|
@@ -12053,7 +12118,7 @@ function cov_psbeb0r8e() {
|
|
|
12053
12118
|
},
|
|
12054
12119
|
end: {
|
|
12055
12120
|
line: 8,
|
|
12056
|
-
column:
|
|
12121
|
+
column: 295
|
|
12057
12122
|
}
|
|
12058
12123
|
},
|
|
12059
12124
|
"8": {
|
|
@@ -12068,31 +12133,61 @@ function cov_psbeb0r8e() {
|
|
|
12068
12133
|
},
|
|
12069
12134
|
"9": {
|
|
12070
12135
|
start: {
|
|
12071
|
-
line:
|
|
12136
|
+
line: 24,
|
|
12137
|
+
column: 28
|
|
12138
|
+
},
|
|
12139
|
+
end: {
|
|
12140
|
+
line: 24,
|
|
12141
|
+
column: 65
|
|
12142
|
+
}
|
|
12143
|
+
},
|
|
12144
|
+
"10": {
|
|
12145
|
+
start: {
|
|
12146
|
+
line: 25,
|
|
12147
|
+
column: 44
|
|
12148
|
+
},
|
|
12149
|
+
end: {
|
|
12150
|
+
line: 25,
|
|
12151
|
+
column: 124
|
|
12152
|
+
}
|
|
12153
|
+
},
|
|
12154
|
+
"11": {
|
|
12155
|
+
start: {
|
|
12156
|
+
line: 26,
|
|
12157
|
+
column: 43
|
|
12158
|
+
},
|
|
12159
|
+
end: {
|
|
12160
|
+
line: 26,
|
|
12161
|
+
column: 121
|
|
12162
|
+
}
|
|
12163
|
+
},
|
|
12164
|
+
"12": {
|
|
12165
|
+
start: {
|
|
12166
|
+
line: 27,
|
|
12072
12167
|
column: 29
|
|
12073
12168
|
},
|
|
12074
12169
|
end: {
|
|
12075
|
-
line:
|
|
12170
|
+
line: 27,
|
|
12076
12171
|
column: 67
|
|
12077
12172
|
}
|
|
12078
12173
|
},
|
|
12079
|
-
"
|
|
12174
|
+
"13": {
|
|
12080
12175
|
start: {
|
|
12081
|
-
line:
|
|
12176
|
+
line: 28,
|
|
12082
12177
|
column: 28
|
|
12083
12178
|
},
|
|
12084
12179
|
end: {
|
|
12085
|
-
line:
|
|
12180
|
+
line: 28,
|
|
12086
12181
|
column: 67
|
|
12087
12182
|
}
|
|
12088
12183
|
},
|
|
12089
|
-
"
|
|
12184
|
+
"14": {
|
|
12090
12185
|
start: {
|
|
12091
|
-
line:
|
|
12186
|
+
line: 29,
|
|
12092
12187
|
column: 30
|
|
12093
12188
|
},
|
|
12094
12189
|
end: {
|
|
12095
|
-
line:
|
|
12190
|
+
line: 34,
|
|
12096
12191
|
column: 1
|
|
12097
12192
|
}
|
|
12098
12193
|
}
|
|
@@ -12111,12 +12206,15 @@ function cov_psbeb0r8e() {
|
|
|
12111
12206
|
"8": 0,
|
|
12112
12207
|
"9": 0,
|
|
12113
12208
|
"10": 0,
|
|
12114
|
-
"11": 0
|
|
12209
|
+
"11": 0,
|
|
12210
|
+
"12": 0,
|
|
12211
|
+
"13": 0,
|
|
12212
|
+
"14": 0
|
|
12115
12213
|
},
|
|
12116
12214
|
f: {},
|
|
12117
12215
|
b: {},
|
|
12118
12216
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
12119
|
-
hash: "
|
|
12217
|
+
hash: "5f9282f0918978247399fbaf63c4522ef682625b"
|
|
12120
12218
|
};
|
|
12121
12219
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
12122
12220
|
|
|
@@ -12136,17 +12234,34 @@ function cov_psbeb0r8e() {
|
|
|
12136
12234
|
|
|
12137
12235
|
cov_psbeb0r8e();
|
|
12138
12236
|
var inputPlaceholderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[0]++, 'placeholder-on-base-2');
|
|
12139
|
-
var inputContainerDisabledClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[1]++, '!bg-base-3 !pointer-events-none !text-on-base-2');
|
|
12237
|
+
var inputContainerDisabledClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[1]++, '!bg-base-3 !pointer-events-none !text-on-base-2 komea:!bg-base-1 komea:!text-on-base komea:opacity-50');
|
|
12140
12238
|
var inputContainerReadonlyClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[2]++, '!bg-base-2');
|
|
12141
|
-
var errorBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[3]++, 'border-danger focus:border-danger komea:focus:ring-danger/20');
|
|
12142
|
-
var defaultBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[4]++, 'border-card-stroke komea:border-input-stroke');
|
|
12239
|
+
var errorBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[3]++, 'border-danger focus:border-danger komea:focus-within:border-danger komea:focus-within:ring-danger/20');
|
|
12240
|
+
var defaultBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[4]++, 'border-card-stroke komea:border-input-stroke komea:focus-within:border-focus komea:focus-within:ring-focus/50');
|
|
12143
12241
|
var focusClass = ( /*#__PURE__*/cov_psbeb0r8e().s[5]++, 'focus:border-inverted-1');
|
|
12144
|
-
var inputClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[6]++, "appearance-none shadow-none outline-none bg-base-1 border px-4 rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 komea:
|
|
12145
|
-
var inputContainerClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[7]++, "flex focus-within:border-inverted-1 bg-base-1 border rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 overflow-hidden komea:
|
|
12146
|
-
var adornmentClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[8]++, "adornment flex justify-center items-center relative w-16 text-f6 text-inverted-2 -mt-px");
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12242
|
+
var inputClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[6]++, "appearance-none shadow-none outline-none bg-base-1 border px-4 rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 komea:px-3 komea:shadow-sm komea:text-body-large md:komea:text-body komea:focus-within:ring-[3px] " + focusClass + " " + inputPlaceholderClasses);
|
|
12243
|
+
var inputContainerClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[7]++, "flex focus-within:border-inverted-1 bg-base-1 border rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 overflow-hidden komea:shadow-sm komea:text-body-large md:komea:text-body komea:focus-within:ring-[3px] " + inputPlaceholderClasses);
|
|
12244
|
+
var adornmentClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[8]++, "adornment flex justify-center items-center relative w-16 text-f6 text-inverted-2 -mt-px"); // Sem borda o adorno não é uma caixa, é o addon do komea-ds: 12px de recuo, ícone de 16px e 8px até
|
|
12245
|
+
// o valor.
|
|
12246
|
+
//
|
|
12247
|
+
// O ícone é normalizado porque o default do nosso `Icon` é 5 (20px) e o DS usa 16 nos campos — é o
|
|
12248
|
+
// que torna a geometria determinística em vez de depender do `size` que a app passou. Descendente e
|
|
12249
|
+
// não filho direto (`[&_svg]`, não `[&>svg]`) porque a app pode embrulhar o ícone: o campo de busca
|
|
12250
|
+
// põe um `<button>` no meio. E `h-4 w-4` em vez de `size-4`, porque `size-*` só existe do Tailwind
|
|
12251
|
+
// 3.4 em diante e há app desta linha pinada em 3.3.0, onde a classe não seria gerada.
|
|
12252
|
+
//
|
|
12253
|
+
// Os 8px até o valor saem do padding do **campo**, não do adorno: um filho `w-full` — o botão do
|
|
12254
|
+
// campo de busca — ocuparia a caixa de conteúdo inteira e comeria um padding posto aqui.
|
|
12255
|
+
//
|
|
12256
|
+
// `shrink-0` porque o adorno é item flex: sem ele o `w-7` é só uma base e o navegador comprime a
|
|
12257
|
+
// caixa quando o campo é estreito, levando a geometria junto.
|
|
12258
|
+
|
|
12259
|
+
var borderlessKomeaIcon = ( /*#__PURE__*/cov_psbeb0r8e().s[9]++, 'komea:[&_svg]:h-4 komea:[&_svg]:w-4');
|
|
12260
|
+
var prefixBorderlessKomeaClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[10]++, "komea:w-7 komea:shrink-0 komea:justify-start komea:pl-3 " + borderlessKomeaIcon);
|
|
12261
|
+
var sufixBorderlessKomeaClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[11]++, "komea:w-7 komea:shrink-0 komea:justify-end komea:pr-3 " + borderlessKomeaIcon);
|
|
12262
|
+
var prefixClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[12]++, adornmentClasses + " rounded-l left-0");
|
|
12263
|
+
var sufixClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[13]++, adornmentClasses + " rounded-r right-0");
|
|
12264
|
+
var variantClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[14]++, {
|
|
12150
12265
|
"default": 'komea:h-9 h-12',
|
|
12151
12266
|
small: 'komea:h-8 h-10',
|
|
12152
12267
|
large: 'komea:h-10 h-14',
|
|
@@ -12155,7 +12270,7 @@ var variantClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[11]++, {
|
|
|
12155
12270
|
|
|
12156
12271
|
function cov_19tsj3a3jt() {
|
|
12157
12272
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/Input/Input.tsx";
|
|
12158
|
-
var hash = "
|
|
12273
|
+
var hash = "243dfe5f9ad41aca2ee474c5f6d0f802661638b4";
|
|
12159
12274
|
var global = new Function("return this")();
|
|
12160
12275
|
var gcv = "__coverage__";
|
|
12161
12276
|
var coverageData = {
|
|
@@ -12198,7 +12313,7 @@ function cov_19tsj3a3jt() {
|
|
|
12198
12313
|
},
|
|
12199
12314
|
end: {
|
|
12200
12315
|
line: 8,
|
|
12201
|
-
column:
|
|
12316
|
+
column: 164
|
|
12202
12317
|
}
|
|
12203
12318
|
},
|
|
12204
12319
|
"4": {
|
|
@@ -12208,7 +12323,7 @@ function cov_19tsj3a3jt() {
|
|
|
12208
12323
|
},
|
|
12209
12324
|
end: {
|
|
12210
12325
|
line: 9,
|
|
12211
|
-
column:
|
|
12326
|
+
column: 160
|
|
12212
12327
|
}
|
|
12213
12328
|
},
|
|
12214
12329
|
"5": {
|
|
@@ -12298,7 +12413,7 @@ function cov_19tsj3a3jt() {
|
|
|
12298
12413
|
},
|
|
12299
12414
|
end: {
|
|
12300
12415
|
line: 23,
|
|
12301
|
-
column:
|
|
12416
|
+
column: 378
|
|
12302
12417
|
}
|
|
12303
12418
|
},
|
|
12304
12419
|
"14": {
|
|
@@ -12647,6 +12762,39 @@ function cov_19tsj3a3jt() {
|
|
|
12647
12762
|
line: 8
|
|
12648
12763
|
},
|
|
12649
12764
|
"10": {
|
|
12765
|
+
loc: {
|
|
12766
|
+
start: {
|
|
12767
|
+
line: 8,
|
|
12768
|
+
column: 114
|
|
12769
|
+
},
|
|
12770
|
+
end: {
|
|
12771
|
+
line: 8,
|
|
12772
|
+
column: 162
|
|
12773
|
+
}
|
|
12774
|
+
},
|
|
12775
|
+
type: "cond-expr",
|
|
12776
|
+
locations: [{
|
|
12777
|
+
start: {
|
|
12778
|
+
line: 8,
|
|
12779
|
+
column: 129
|
|
12780
|
+
},
|
|
12781
|
+
end: {
|
|
12782
|
+
line: 8,
|
|
12783
|
+
column: 131
|
|
12784
|
+
}
|
|
12785
|
+
}, {
|
|
12786
|
+
start: {
|
|
12787
|
+
line: 8,
|
|
12788
|
+
column: 134
|
|
12789
|
+
},
|
|
12790
|
+
end: {
|
|
12791
|
+
line: 8,
|
|
12792
|
+
column: 162
|
|
12793
|
+
}
|
|
12794
|
+
}],
|
|
12795
|
+
line: 8
|
|
12796
|
+
},
|
|
12797
|
+
"11": {
|
|
12650
12798
|
loc: {
|
|
12651
12799
|
start: {
|
|
12652
12800
|
line: 9,
|
|
@@ -12679,7 +12827,40 @@ function cov_19tsj3a3jt() {
|
|
|
12679
12827
|
}],
|
|
12680
12828
|
line: 9
|
|
12681
12829
|
},
|
|
12682
|
-
"
|
|
12830
|
+
"12": {
|
|
12831
|
+
loc: {
|
|
12832
|
+
start: {
|
|
12833
|
+
line: 9,
|
|
12834
|
+
column: 112
|
|
12835
|
+
},
|
|
12836
|
+
end: {
|
|
12837
|
+
line: 9,
|
|
12838
|
+
column: 158
|
|
12839
|
+
}
|
|
12840
|
+
},
|
|
12841
|
+
type: "cond-expr",
|
|
12842
|
+
locations: [{
|
|
12843
|
+
start: {
|
|
12844
|
+
line: 9,
|
|
12845
|
+
column: 126
|
|
12846
|
+
},
|
|
12847
|
+
end: {
|
|
12848
|
+
line: 9,
|
|
12849
|
+
column: 128
|
|
12850
|
+
}
|
|
12851
|
+
}, {
|
|
12852
|
+
start: {
|
|
12853
|
+
line: 9,
|
|
12854
|
+
column: 131
|
|
12855
|
+
},
|
|
12856
|
+
end: {
|
|
12857
|
+
line: 9,
|
|
12858
|
+
column: 158
|
|
12859
|
+
}
|
|
12860
|
+
}],
|
|
12861
|
+
line: 9
|
|
12862
|
+
},
|
|
12863
|
+
"13": {
|
|
12683
12864
|
loc: {
|
|
12684
12865
|
start: {
|
|
12685
12866
|
line: 11,
|
|
@@ -12712,7 +12893,7 @@ function cov_19tsj3a3jt() {
|
|
|
12712
12893
|
}],
|
|
12713
12894
|
line: 11
|
|
12714
12895
|
},
|
|
12715
|
-
"
|
|
12896
|
+
"14": {
|
|
12716
12897
|
loc: {
|
|
12717
12898
|
start: {
|
|
12718
12899
|
line: 14,
|
|
@@ -12745,7 +12926,7 @@ function cov_19tsj3a3jt() {
|
|
|
12745
12926
|
}],
|
|
12746
12927
|
line: 14
|
|
12747
12928
|
},
|
|
12748
|
-
"
|
|
12929
|
+
"15": {
|
|
12749
12930
|
loc: {
|
|
12750
12931
|
start: {
|
|
12751
12932
|
line: 17,
|
|
@@ -12778,7 +12959,7 @@ function cov_19tsj3a3jt() {
|
|
|
12778
12959
|
}],
|
|
12779
12960
|
line: 17
|
|
12780
12961
|
},
|
|
12781
|
-
"
|
|
12962
|
+
"16": {
|
|
12782
12963
|
loc: {
|
|
12783
12964
|
start: {
|
|
12784
12965
|
line: 23,
|
|
@@ -12811,7 +12992,7 @@ function cov_19tsj3a3jt() {
|
|
|
12811
12992
|
}],
|
|
12812
12993
|
line: 23
|
|
12813
12994
|
},
|
|
12814
|
-
"
|
|
12995
|
+
"17": {
|
|
12815
12996
|
loc: {
|
|
12816
12997
|
start: {
|
|
12817
12998
|
line: 23,
|
|
@@ -12844,7 +13025,7 @@ function cov_19tsj3a3jt() {
|
|
|
12844
13025
|
}],
|
|
12845
13026
|
line: 23
|
|
12846
13027
|
},
|
|
12847
|
-
"
|
|
13028
|
+
"18": {
|
|
12848
13029
|
loc: {
|
|
12849
13030
|
start: {
|
|
12850
13031
|
line: 23,
|
|
@@ -12877,7 +13058,7 @@ function cov_19tsj3a3jt() {
|
|
|
12877
13058
|
}],
|
|
12878
13059
|
line: 23
|
|
12879
13060
|
},
|
|
12880
|
-
"
|
|
13061
|
+
"19": {
|
|
12881
13062
|
loc: {
|
|
12882
13063
|
start: {
|
|
12883
13064
|
line: 23,
|
|
@@ -12910,7 +13091,7 @@ function cov_19tsj3a3jt() {
|
|
|
12910
13091
|
}],
|
|
12911
13092
|
line: 23
|
|
12912
13093
|
},
|
|
12913
|
-
"
|
|
13094
|
+
"20": {
|
|
12914
13095
|
loc: {
|
|
12915
13096
|
start: {
|
|
12916
13097
|
line: 23,
|
|
@@ -12943,7 +13124,7 @@ function cov_19tsj3a3jt() {
|
|
|
12943
13124
|
}],
|
|
12944
13125
|
line: 23
|
|
12945
13126
|
},
|
|
12946
|
-
"
|
|
13127
|
+
"21": {
|
|
12947
13128
|
loc: {
|
|
12948
13129
|
start: {
|
|
12949
13130
|
line: 23,
|
|
@@ -12951,7 +13132,7 @@ function cov_19tsj3a3jt() {
|
|
|
12951
13132
|
},
|
|
12952
13133
|
end: {
|
|
12953
13134
|
line: 23,
|
|
12954
|
-
column:
|
|
13135
|
+
column: 326
|
|
12955
13136
|
}
|
|
12956
13137
|
},
|
|
12957
13138
|
type: "cond-expr",
|
|
@@ -12962,21 +13143,21 @@ function cov_19tsj3a3jt() {
|
|
|
12962
13143
|
},
|
|
12963
13144
|
end: {
|
|
12964
13145
|
line: 23,
|
|
12965
|
-
column:
|
|
13146
|
+
column: 321
|
|
12966
13147
|
}
|
|
12967
13148
|
}, {
|
|
12968
13149
|
start: {
|
|
12969
13150
|
line: 23,
|
|
12970
|
-
column:
|
|
13151
|
+
column: 324
|
|
12971
13152
|
},
|
|
12972
13153
|
end: {
|
|
12973
13154
|
line: 23,
|
|
12974
|
-
column:
|
|
13155
|
+
column: 326
|
|
12975
13156
|
}
|
|
12976
13157
|
}],
|
|
12977
13158
|
line: 23
|
|
12978
13159
|
},
|
|
12979
|
-
"
|
|
13160
|
+
"22": {
|
|
12980
13161
|
loc: {
|
|
12981
13162
|
start: {
|
|
12982
13163
|
line: 23,
|
|
@@ -13009,73 +13190,73 @@ function cov_19tsj3a3jt() {
|
|
|
13009
13190
|
}],
|
|
13010
13191
|
line: 23
|
|
13011
13192
|
},
|
|
13012
|
-
"
|
|
13193
|
+
"23": {
|
|
13013
13194
|
loc: {
|
|
13014
13195
|
start: {
|
|
13015
13196
|
line: 23,
|
|
13016
|
-
column:
|
|
13197
|
+
column: 330
|
|
13017
13198
|
},
|
|
13018
13199
|
end: {
|
|
13019
13200
|
line: 23,
|
|
13020
|
-
column:
|
|
13201
|
+
column: 376
|
|
13021
13202
|
}
|
|
13022
13203
|
},
|
|
13023
13204
|
type: "cond-expr",
|
|
13024
13205
|
locations: [{
|
|
13025
13206
|
start: {
|
|
13026
13207
|
line: 23,
|
|
13027
|
-
column:
|
|
13208
|
+
column: 354
|
|
13028
13209
|
},
|
|
13029
13210
|
end: {
|
|
13030
13211
|
line: 23,
|
|
13031
|
-
column:
|
|
13212
|
+
column: 371
|
|
13032
13213
|
}
|
|
13033
13214
|
}, {
|
|
13034
13215
|
start: {
|
|
13035
13216
|
line: 23,
|
|
13036
|
-
column:
|
|
13217
|
+
column: 374
|
|
13037
13218
|
},
|
|
13038
13219
|
end: {
|
|
13039
13220
|
line: 23,
|
|
13040
|
-
column:
|
|
13221
|
+
column: 376
|
|
13041
13222
|
}
|
|
13042
13223
|
}],
|
|
13043
13224
|
line: 23
|
|
13044
13225
|
},
|
|
13045
|
-
"
|
|
13226
|
+
"24": {
|
|
13046
13227
|
loc: {
|
|
13047
13228
|
start: {
|
|
13048
13229
|
line: 23,
|
|
13049
|
-
column:
|
|
13230
|
+
column: 330
|
|
13050
13231
|
},
|
|
13051
13232
|
end: {
|
|
13052
13233
|
line: 23,
|
|
13053
|
-
column:
|
|
13234
|
+
column: 351
|
|
13054
13235
|
}
|
|
13055
13236
|
},
|
|
13056
13237
|
type: "binary-expr",
|
|
13057
13238
|
locations: [{
|
|
13058
13239
|
start: {
|
|
13059
13240
|
line: 23,
|
|
13060
|
-
column:
|
|
13241
|
+
column: 330
|
|
13061
13242
|
},
|
|
13062
13243
|
end: {
|
|
13063
13244
|
line: 23,
|
|
13064
|
-
column:
|
|
13245
|
+
column: 335
|
|
13065
13246
|
}
|
|
13066
13247
|
}, {
|
|
13067
13248
|
start: {
|
|
13068
13249
|
line: 23,
|
|
13069
|
-
column:
|
|
13250
|
+
column: 339
|
|
13070
13251
|
},
|
|
13071
13252
|
end: {
|
|
13072
13253
|
line: 23,
|
|
13073
|
-
column:
|
|
13254
|
+
column: 351
|
|
13074
13255
|
}
|
|
13075
13256
|
}],
|
|
13076
13257
|
line: 23
|
|
13077
13258
|
},
|
|
13078
|
-
"
|
|
13259
|
+
"25": {
|
|
13079
13260
|
loc: {
|
|
13080
13261
|
start: {
|
|
13081
13262
|
line: 25,
|
|
@@ -13108,7 +13289,7 @@ function cov_19tsj3a3jt() {
|
|
|
13108
13289
|
}],
|
|
13109
13290
|
line: 25
|
|
13110
13291
|
},
|
|
13111
|
-
"
|
|
13292
|
+
"26": {
|
|
13112
13293
|
loc: {
|
|
13113
13294
|
start: {
|
|
13114
13295
|
line: 29,
|
|
@@ -13141,7 +13322,7 @@ function cov_19tsj3a3jt() {
|
|
|
13141
13322
|
}],
|
|
13142
13323
|
line: 29
|
|
13143
13324
|
},
|
|
13144
|
-
"
|
|
13325
|
+
"27": {
|
|
13145
13326
|
loc: {
|
|
13146
13327
|
start: {
|
|
13147
13328
|
line: 31,
|
|
@@ -13225,10 +13406,12 @@ function cov_19tsj3a3jt() {
|
|
|
13225
13406
|
"22": [0, 0],
|
|
13226
13407
|
"23": [0, 0],
|
|
13227
13408
|
"24": [0, 0],
|
|
13228
|
-
"25": [0, 0]
|
|
13409
|
+
"25": [0, 0],
|
|
13410
|
+
"26": [0, 0],
|
|
13411
|
+
"27": [0, 0]
|
|
13229
13412
|
},
|
|
13230
13413
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
13231
|
-
hash: "
|
|
13414
|
+
hash: "243dfe5f9ad41aca2ee474c5f6d0f802661638b4"
|
|
13232
13415
|
};
|
|
13233
13416
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
13234
13417
|
|
|
@@ -13279,40 +13462,40 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13279
13462
|
cov_19tsj3a3jt().f[0]++;
|
|
13280
13463
|
var inputId = (cov_19tsj3a3jt().s[1]++, (cov_19tsj3a3jt().b[7][0]++, id) || (cov_19tsj3a3jt().b[7][1]++, name));
|
|
13281
13464
|
var hasErrorState = (cov_19tsj3a3jt().s[2]++, (cov_19tsj3a3jt().b[8][0]++, hasError) || (cov_19tsj3a3jt().b[8][1]++, !!errorMessage));
|
|
13282
|
-
var prefixClass = (cov_19tsj3a3jt().s[3]++, prefixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[9][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[9][1]++, '')));
|
|
13283
|
-
var sufixClass = (cov_19tsj3a3jt().s[4]++, sufixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[
|
|
13465
|
+
var prefixClass = (cov_19tsj3a3jt().s[3]++, prefixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[9][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[9][1]++, '')) + " " + (prefixBorder ? (cov_19tsj3a3jt().b[10][0]++, '') : (cov_19tsj3a3jt().b[10][1]++, prefixBorderlessKomeaClasses)));
|
|
13466
|
+
var sufixClass = (cov_19tsj3a3jt().s[4]++, sufixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[11][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[11][1]++, '')) + " " + (sufixBorder ? (cov_19tsj3a3jt().b[12][0]++, '') : (cov_19tsj3a3jt().b[12][1]++, sufixBorderlessKomeaClasses)));
|
|
13284
13467
|
var inputContainerClass = (cov_19tsj3a3jt().s[5]++, inputContainerClasses + " " + variantClasses[variant]);
|
|
13285
13468
|
cov_19tsj3a3jt().s[6]++;
|
|
13286
13469
|
|
|
13287
13470
|
if (disabled) {
|
|
13288
|
-
cov_19tsj3a3jt().b[
|
|
13471
|
+
cov_19tsj3a3jt().b[13][0]++;
|
|
13289
13472
|
cov_19tsj3a3jt().s[7]++;
|
|
13290
13473
|
inputContainerClass += " " + defaultBorderClasses + " " + inputContainerDisabledClasses;
|
|
13291
13474
|
} else {
|
|
13292
|
-
cov_19tsj3a3jt().b[
|
|
13475
|
+
cov_19tsj3a3jt().b[13][1]++;
|
|
13293
13476
|
cov_19tsj3a3jt().s[8]++;
|
|
13294
13477
|
|
|
13295
13478
|
if (readOnly) {
|
|
13296
|
-
cov_19tsj3a3jt().b[
|
|
13479
|
+
cov_19tsj3a3jt().b[14][0]++;
|
|
13297
13480
|
cov_19tsj3a3jt().s[9]++;
|
|
13298
13481
|
inputContainerClass += " " + defaultBorderClasses + " " + inputContainerReadonlyClasses;
|
|
13299
13482
|
} else {
|
|
13300
|
-
cov_19tsj3a3jt().b[
|
|
13483
|
+
cov_19tsj3a3jt().b[14][1]++;
|
|
13301
13484
|
cov_19tsj3a3jt().s[10]++;
|
|
13302
13485
|
|
|
13303
13486
|
if (hasErrorState) {
|
|
13304
|
-
cov_19tsj3a3jt().b[
|
|
13487
|
+
cov_19tsj3a3jt().b[15][0]++;
|
|
13305
13488
|
cov_19tsj3a3jt().s[11]++;
|
|
13306
13489
|
inputContainerClass += " " + errorBorderClasses;
|
|
13307
13490
|
} else {
|
|
13308
|
-
cov_19tsj3a3jt().b[
|
|
13491
|
+
cov_19tsj3a3jt().b[15][1]++;
|
|
13309
13492
|
cov_19tsj3a3jt().s[12]++;
|
|
13310
13493
|
inputContainerClass += " " + defaultBorderClasses;
|
|
13311
13494
|
}
|
|
13312
13495
|
}
|
|
13313
13496
|
}
|
|
13314
13497
|
|
|
13315
|
-
var inputClass = (cov_19tsj3a3jt().s[13]++, "w-full px-4 komea:px-3 appearance-none shadow-none outline-none bg-transparent box-border " + focusClass + " " + (hasErrorState ? (cov_19tsj3a3jt().b[
|
|
13498
|
+
var inputClass = (cov_19tsj3a3jt().s[13]++, "w-full px-4 komea:px-3 appearance-none shadow-none outline-none bg-transparent box-border " + focusClass + " " + (hasErrorState ? (cov_19tsj3a3jt().b[16][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[16][1]++, defaultBorderClasses)) + " " + ((cov_19tsj3a3jt().b[18][0]++, prefix) && (cov_19tsj3a3jt().b[18][1]++, prefixBorder) ? (cov_19tsj3a3jt().b[17][0]++, 'border-l') : (cov_19tsj3a3jt().b[17][1]++, '')) + " " + ((cov_19tsj3a3jt().b[20][0]++, sufix) && (cov_19tsj3a3jt().b[20][1]++, sufixBorder) ? (cov_19tsj3a3jt().b[19][0]++, 'border-r') : (cov_19tsj3a3jt().b[19][1]++, '')) + " " + ((cov_19tsj3a3jt().b[22][0]++, prefix) && (cov_19tsj3a3jt().b[22][1]++, !prefixBorder) ? (cov_19tsj3a3jt().b[21][0]++, 'pl-0 komea:pl-2') : (cov_19tsj3a3jt().b[21][1]++, '')) + " " + ((cov_19tsj3a3jt().b[24][0]++, sufix) && (cov_19tsj3a3jt().b[24][1]++, !sufixBorder) ? (cov_19tsj3a3jt().b[23][0]++, 'pr-0 komea:pr-2') : (cov_19tsj3a3jt().b[23][1]++, '')));
|
|
13316
13499
|
var LabelComponent = (cov_19tsj3a3jt().s[14]++, /*#__PURE__*/React.createElement(InputLabel, {
|
|
13317
13500
|
label: label,
|
|
13318
13501
|
labelComplement: labelComplement,
|
|
@@ -13322,7 +13505,7 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13322
13505
|
className: "mb-1"
|
|
13323
13506
|
}));
|
|
13324
13507
|
var HelpTextComponent = (cov_19tsj3a3jt().s[15]++, /*#__PURE__*/React.createElement(InputHelpText, {
|
|
13325
|
-
helpText: (cov_19tsj3a3jt().b[
|
|
13508
|
+
helpText: (cov_19tsj3a3jt().b[25][0]++, errorMessage) || (cov_19tsj3a3jt().b[25][1]++, helpText),
|
|
13326
13509
|
hasError: hasErrorState,
|
|
13327
13510
|
className: "mt-2"
|
|
13328
13511
|
}));
|
|
@@ -13331,7 +13514,7 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13331
13514
|
className: "form-group flex flex-col " + className
|
|
13332
13515
|
}, LabelComponent, /*#__PURE__*/React.createElement("div", {
|
|
13333
13516
|
className: inputContainerClass
|
|
13334
|
-
}, (cov_19tsj3a3jt().b[
|
|
13517
|
+
}, (cov_19tsj3a3jt().b[26][0]++, prefix) && (cov_19tsj3a3jt().b[26][1]++, /*#__PURE__*/React.createElement("label", {
|
|
13335
13518
|
htmlFor: inputId,
|
|
13336
13519
|
className: prefixClass
|
|
13337
13520
|
}, prefix)), /*#__PURE__*/React.createElement("input", Object.assign({
|
|
@@ -13343,7 +13526,7 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13343
13526
|
disabled: disabled,
|
|
13344
13527
|
readOnly: readOnly,
|
|
13345
13528
|
className: inputClass
|
|
13346
|
-
}, props)), (cov_19tsj3a3jt().b[
|
|
13529
|
+
}, props)), (cov_19tsj3a3jt().b[27][0]++, sufix) && (cov_19tsj3a3jt().b[27][1]++, /*#__PURE__*/React.createElement("label", {
|
|
13347
13530
|
htmlFor: inputId,
|
|
13348
13531
|
className: sufixClass
|
|
13349
13532
|
}, sufix))), HelpTextComponent);
|
|
@@ -23810,7 +23993,7 @@ cov_2msfl1k6vq();
|
|
|
23810
23993
|
|
|
23811
23994
|
function cov_1r6wbwfdtn() {
|
|
23812
23995
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/Checkbox/Checkbox.tsx";
|
|
23813
|
-
var hash = "
|
|
23996
|
+
var hash = "dad1952543e995090c47839799c9152034d7d782";
|
|
23814
23997
|
var global = new Function("return this")();
|
|
23815
23998
|
var gcv = "__coverage__";
|
|
23816
23999
|
var coverageData = {
|
|
@@ -24737,7 +24920,7 @@ function cov_1r6wbwfdtn() {
|
|
|
24737
24920
|
},
|
|
24738
24921
|
end: {
|
|
24739
24922
|
line: 34,
|
|
24740
|
-
column:
|
|
24923
|
+
column: 62
|
|
24741
24924
|
}
|
|
24742
24925
|
}, {
|
|
24743
24926
|
start: {
|
|
@@ -25160,7 +25343,7 @@ function cov_1r6wbwfdtn() {
|
|
|
25160
25343
|
"26": [0, 0]
|
|
25161
25344
|
},
|
|
25162
25345
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
25163
|
-
hash: "
|
|
25346
|
+
hash: "dad1952543e995090c47839799c9152034d7d782"
|
|
25164
25347
|
};
|
|
25165
25348
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
25166
25349
|
|
|
@@ -25277,7 +25460,7 @@ var CheckboxComponent = function CheckboxComponent(_ref, ref) {
|
|
|
25277
25460
|
};
|
|
25278
25461
|
|
|
25279
25462
|
var checkboxIconClasses = (cov_1r6wbwfdtn().s[23]++, "transition duration-200 ease-in-out " + ((cov_1r6wbwfdtn().b[14][0]++, isChecked) || (cov_1r6wbwfdtn().b[14][1]++, isIndeterminate) ? (cov_1r6wbwfdtn().b[13][0]++, 'scale-100') : (cov_1r6wbwfdtn().b[13][1]++, 'scale-0')));
|
|
25280
|
-
var checkboxIconContainerClasses = (cov_1r6wbwfdtn().s[24]++, "border border-card-stroke komea:border-input-stroke komea:shadow-sm transition duration-200 ease-in-out\n " + (disabled ? (cov_1r6wbwfdtn().b[15][0]++, 'bg-base-4') : (cov_1r6wbwfdtn().b[15][1]++, (cov_1r6wbwfdtn().b[17][0]++, isChecked) || (cov_1r6wbwfdtn().b[17][1]++, isIndeterminate) ? (cov_1r6wbwfdtn().b[16][0]++, 'bg-primary border-primary') : (cov_1r6wbwfdtn().b[16][1]++, 'bg-base-1'))) + "\n " + (isCenterBoxAlign ? (cov_1r6wbwfdtn().b[18][0]++, 'items-center') : (cov_1r6wbwfdtn().b[18][1]++, '')) + "\n rounded-xs w-4 h-4 flex justify-center m-px\n ");
|
|
25463
|
+
var checkboxIconContainerClasses = (cov_1r6wbwfdtn().s[24]++, "border border-card-stroke komea:border-input-stroke komea:shadow-sm transition duration-200 ease-in-out\n " + (disabled ? (cov_1r6wbwfdtn().b[15][0]++, 'bg-base-4') : (cov_1r6wbwfdtn().b[15][1]++, (cov_1r6wbwfdtn().b[17][0]++, isChecked) || (cov_1r6wbwfdtn().b[17][1]++, isIndeterminate) ? (cov_1r6wbwfdtn().b[16][0]++, 'bg-primary border-primary komea:border-primary') : (cov_1r6wbwfdtn().b[16][1]++, 'bg-base-1'))) + "\n " + (isCenterBoxAlign ? (cov_1r6wbwfdtn().b[18][0]++, 'items-center') : (cov_1r6wbwfdtn().b[18][1]++, '')) + "\n rounded-xs w-4 h-4 flex justify-center m-px\n ");
|
|
25281
25464
|
var checkboxLabelClasses = (cov_1r6wbwfdtn().s[25]++, "ml-1 input-label text-f6 " + (hasErrorState ? (cov_1r6wbwfdtn().b[19][0]++, 'text-danger') : (cov_1r6wbwfdtn().b[19][1]++, disabled ? (cov_1r6wbwfdtn().b[20][0]++, 'text-inverted-2') : (cov_1r6wbwfdtn().b[20][1]++, ''))));
|
|
25282
25465
|
var alignOptions = (cov_1r6wbwfdtn().s[26]++, {
|
|
25283
25466
|
start: 'items-start',
|
|
@@ -28868,7 +29051,7 @@ cov_2r04xg5myw();
|
|
|
28868
29051
|
|
|
28869
29052
|
function cov_230axym0f2() {
|
|
28870
29053
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Components/Table/Table.tsx";
|
|
28871
|
-
var hash = "
|
|
29054
|
+
var hash = "abf4106f2fb5bb138dcceb55581668fa7fc8d5d9";
|
|
28872
29055
|
var global = new Function("return this")();
|
|
28873
29056
|
var gcv = "__coverage__";
|
|
28874
29057
|
var coverageData = {
|
|
@@ -30213,17 +30396,17 @@ function cov_230axym0f2() {
|
|
|
30213
30396
|
decl: {
|
|
30214
30397
|
start: {
|
|
30215
30398
|
line: 107,
|
|
30216
|
-
column:
|
|
30399
|
+
column: 169
|
|
30217
30400
|
},
|
|
30218
30401
|
end: {
|
|
30219
30402
|
line: 107,
|
|
30220
|
-
column:
|
|
30403
|
+
column: 170
|
|
30221
30404
|
}
|
|
30222
30405
|
},
|
|
30223
30406
|
loc: {
|
|
30224
30407
|
start: {
|
|
30225
30408
|
line: 107,
|
|
30226
|
-
column:
|
|
30409
|
+
column: 185
|
|
30227
30410
|
},
|
|
30228
30411
|
end: {
|
|
30229
30412
|
line: 123,
|
|
@@ -31039,12 +31222,12 @@ function cov_230axym0f2() {
|
|
|
31039
31222
|
},
|
|
31040
31223
|
end: {
|
|
31041
31224
|
line: 107,
|
|
31042
|
-
column:
|
|
31225
|
+
column: 155
|
|
31043
31226
|
}
|
|
31044
31227
|
}, {
|
|
31045
31228
|
start: {
|
|
31046
31229
|
line: 107,
|
|
31047
|
-
column:
|
|
31230
|
+
column: 160
|
|
31048
31231
|
},
|
|
31049
31232
|
end: {
|
|
31050
31233
|
line: 123,
|
|
@@ -31360,7 +31543,7 @@ function cov_230axym0f2() {
|
|
|
31360
31543
|
"29": [0, 0]
|
|
31361
31544
|
},
|
|
31362
31545
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
31363
|
-
hash: "
|
|
31546
|
+
hash: "abf4106f2fb5bb138dcceb55581668fa7fc8d5d9"
|
|
31364
31547
|
};
|
|
31365
31548
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
31366
31549
|
|
|
@@ -31667,7 +31850,7 @@ var TableComponent = function TableComponent(_ref2) {
|
|
|
31667
31850
|
colSpan: (cov_230axym0f2().b[26][0]++, columnsLength) || (cov_230axym0f2().b[26][1]++, 1),
|
|
31668
31851
|
className: "" + TdClasses
|
|
31669
31852
|
}, /*#__PURE__*/React.createElement(TdWrapper, null, /*#__PURE__*/React.createElement("div", {
|
|
31670
|
-
className: "text-center py-16 text-xl font-medium text-on-base-2"
|
|
31853
|
+
className: "text-center py-16 text-xl font-semibold komea:font-medium text-on-base-2"
|
|
31671
31854
|
}, emptyText))))) : (cov_230axym0f2().b[24][1]++, rows.map(function (row, index) {
|
|
31672
31855
|
cov_230axym0f2().f[23]++;
|
|
31673
31856
|
cov_230axym0f2().s[67]++;
|
|
@@ -33282,7 +33465,7 @@ cov_env9w4joo();
|
|
|
33282
33465
|
|
|
33283
33466
|
function cov_1mrr9rcomk() {
|
|
33284
33467
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Indicators/Toast/Toast.tsx";
|
|
33285
|
-
var hash = "
|
|
33468
|
+
var hash = "e1afa03b0444d6c67d80c8e48de8fbcfc2dcafaa";
|
|
33286
33469
|
var global = new Function("return this")();
|
|
33287
33470
|
var gcv = "__coverage__";
|
|
33288
33471
|
var coverageData = {
|
|
@@ -33355,33 +33538,33 @@ function cov_1mrr9rcomk() {
|
|
|
33355
33538
|
},
|
|
33356
33539
|
end: {
|
|
33357
33540
|
line: 25,
|
|
33358
|
-
column:
|
|
33541
|
+
column: 217
|
|
33359
33542
|
}
|
|
33360
33543
|
},
|
|
33361
33544
|
"7": {
|
|
33362
33545
|
start: {
|
|
33363
33546
|
line: 25,
|
|
33364
|
-
column:
|
|
33547
|
+
column: 240
|
|
33365
33548
|
},
|
|
33366
33549
|
end: {
|
|
33367
33550
|
line: 25,
|
|
33368
|
-
column:
|
|
33551
|
+
column: 286
|
|
33369
33552
|
}
|
|
33370
33553
|
},
|
|
33371
33554
|
"8": {
|
|
33372
33555
|
start: {
|
|
33373
33556
|
line: 25,
|
|
33374
|
-
column:
|
|
33557
|
+
column: 318
|
|
33375
33558
|
},
|
|
33376
33559
|
end: {
|
|
33377
33560
|
line: 25,
|
|
33378
|
-
column:
|
|
33561
|
+
column: 395
|
|
33379
33562
|
}
|
|
33380
33563
|
},
|
|
33381
33564
|
"9": {
|
|
33382
33565
|
start: {
|
|
33383
33566
|
line: 25,
|
|
33384
|
-
column:
|
|
33567
|
+
column: 431
|
|
33385
33568
|
},
|
|
33386
33569
|
end: {
|
|
33387
33570
|
line: 26,
|
|
@@ -33507,7 +33690,7 @@ function cov_1mrr9rcomk() {
|
|
|
33507
33690
|
},
|
|
33508
33691
|
end: {
|
|
33509
33692
|
line: 25,
|
|
33510
|
-
column:
|
|
33693
|
+
column: 217
|
|
33511
33694
|
}
|
|
33512
33695
|
},
|
|
33513
33696
|
line: 25
|
|
@@ -33517,21 +33700,21 @@ function cov_1mrr9rcomk() {
|
|
|
33517
33700
|
decl: {
|
|
33518
33701
|
start: {
|
|
33519
33702
|
line: 25,
|
|
33520
|
-
column:
|
|
33703
|
+
column: 234
|
|
33521
33704
|
},
|
|
33522
33705
|
end: {
|
|
33523
33706
|
line: 25,
|
|
33524
|
-
column:
|
|
33707
|
+
column: 235
|
|
33525
33708
|
}
|
|
33526
33709
|
},
|
|
33527
33710
|
loc: {
|
|
33528
33711
|
start: {
|
|
33529
33712
|
line: 25,
|
|
33530
|
-
column:
|
|
33713
|
+
column: 240
|
|
33531
33714
|
},
|
|
33532
33715
|
end: {
|
|
33533
33716
|
line: 25,
|
|
33534
|
-
column:
|
|
33717
|
+
column: 286
|
|
33535
33718
|
}
|
|
33536
33719
|
},
|
|
33537
33720
|
line: 25
|
|
@@ -33541,21 +33724,21 @@ function cov_1mrr9rcomk() {
|
|
|
33541
33724
|
decl: {
|
|
33542
33725
|
start: {
|
|
33543
33726
|
line: 25,
|
|
33544
|
-
column:
|
|
33727
|
+
column: 307
|
|
33545
33728
|
},
|
|
33546
33729
|
end: {
|
|
33547
33730
|
line: 25,
|
|
33548
|
-
column:
|
|
33731
|
+
column: 308
|
|
33549
33732
|
}
|
|
33550
33733
|
},
|
|
33551
33734
|
loc: {
|
|
33552
33735
|
start: {
|
|
33553
33736
|
line: 25,
|
|
33554
|
-
column:
|
|
33737
|
+
column: 318
|
|
33555
33738
|
},
|
|
33556
33739
|
end: {
|
|
33557
33740
|
line: 25,
|
|
33558
|
-
column:
|
|
33741
|
+
column: 395
|
|
33559
33742
|
}
|
|
33560
33743
|
},
|
|
33561
33744
|
line: 25
|
|
@@ -33565,17 +33748,17 @@ function cov_1mrr9rcomk() {
|
|
|
33565
33748
|
decl: {
|
|
33566
33749
|
start: {
|
|
33567
33750
|
line: 25,
|
|
33568
|
-
column:
|
|
33751
|
+
column: 410
|
|
33569
33752
|
},
|
|
33570
33753
|
end: {
|
|
33571
33754
|
line: 25,
|
|
33572
|
-
column:
|
|
33755
|
+
column: 411
|
|
33573
33756
|
}
|
|
33574
33757
|
},
|
|
33575
33758
|
loc: {
|
|
33576
33759
|
start: {
|
|
33577
33760
|
line: 25,
|
|
33578
|
-
column:
|
|
33761
|
+
column: 431
|
|
33579
33762
|
},
|
|
33580
33763
|
end: {
|
|
33581
33764
|
line: 26,
|
|
@@ -33614,31 +33797,31 @@ function cov_1mrr9rcomk() {
|
|
|
33614
33797
|
loc: {
|
|
33615
33798
|
start: {
|
|
33616
33799
|
line: 25,
|
|
33617
|
-
column:
|
|
33800
|
+
column: 193
|
|
33618
33801
|
},
|
|
33619
33802
|
end: {
|
|
33620
33803
|
line: 25,
|
|
33621
|
-
column:
|
|
33804
|
+
column: 214
|
|
33622
33805
|
}
|
|
33623
33806
|
},
|
|
33624
33807
|
type: "binary-expr",
|
|
33625
33808
|
locations: [{
|
|
33626
33809
|
start: {
|
|
33627
33810
|
line: 25,
|
|
33628
|
-
column:
|
|
33811
|
+
column: 193
|
|
33629
33812
|
},
|
|
33630
33813
|
end: {
|
|
33631
33814
|
line: 25,
|
|
33632
|
-
column:
|
|
33815
|
+
column: 204
|
|
33633
33816
|
}
|
|
33634
33817
|
}, {
|
|
33635
33818
|
start: {
|
|
33636
33819
|
line: 25,
|
|
33637
|
-
column:
|
|
33820
|
+
column: 208
|
|
33638
33821
|
},
|
|
33639
33822
|
end: {
|
|
33640
33823
|
line: 25,
|
|
33641
|
-
column:
|
|
33824
|
+
column: 214
|
|
33642
33825
|
}
|
|
33643
33826
|
}],
|
|
33644
33827
|
line: 25
|
|
@@ -33647,31 +33830,31 @@ function cov_1mrr9rcomk() {
|
|
|
33647
33830
|
loc: {
|
|
33648
33831
|
start: {
|
|
33649
33832
|
line: 25,
|
|
33650
|
-
column:
|
|
33833
|
+
column: 371
|
|
33651
33834
|
},
|
|
33652
33835
|
end: {
|
|
33653
33836
|
line: 25,
|
|
33654
|
-
column:
|
|
33837
|
+
column: 392
|
|
33655
33838
|
}
|
|
33656
33839
|
},
|
|
33657
33840
|
type: "binary-expr",
|
|
33658
33841
|
locations: [{
|
|
33659
33842
|
start: {
|
|
33660
33843
|
line: 25,
|
|
33661
|
-
column:
|
|
33844
|
+
column: 371
|
|
33662
33845
|
},
|
|
33663
33846
|
end: {
|
|
33664
33847
|
line: 25,
|
|
33665
|
-
column:
|
|
33848
|
+
column: 382
|
|
33666
33849
|
}
|
|
33667
33850
|
}, {
|
|
33668
33851
|
start: {
|
|
33669
33852
|
line: 25,
|
|
33670
|
-
column:
|
|
33853
|
+
column: 386
|
|
33671
33854
|
},
|
|
33672
33855
|
end: {
|
|
33673
33856
|
line: 25,
|
|
33674
|
-
column:
|
|
33857
|
+
column: 392
|
|
33675
33858
|
}
|
|
33676
33859
|
}],
|
|
33677
33860
|
line: 25
|
|
@@ -33810,7 +33993,7 @@ function cov_1mrr9rcomk() {
|
|
|
33810
33993
|
"4": [0, 0]
|
|
33811
33994
|
},
|
|
33812
33995
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33813
|
-
hash: "
|
|
33996
|
+
hash: "e1afa03b0444d6c67d80c8e48de8fbcfc2dcafaa"
|
|
33814
33997
|
};
|
|
33815
33998
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
33816
33999
|
|
|
@@ -33862,7 +34045,7 @@ var Container = function Container() {
|
|
|
33862
34045
|
toastClassName: function toastClassName(props) {
|
|
33863
34046
|
cov_1mrr9rcomk().f[2]++;
|
|
33864
34047
|
cov_1mrr9rcomk().s[6]++;
|
|
33865
|
-
return "mb-3 border flex items-top justify-between p-3 pb-4 pr-4 relative rounded shadow-md " + contextClass[(cov_1mrr9rcomk().b[0][0]++, props == null ? void 0 : props.type) || (cov_1mrr9rcomk().b[0][1]++, 'info')];
|
|
34048
|
+
return "mb-3 border flex items-top justify-between p-3 pb-4 pr-4 relative rounded shadow-md overflow-hidden " + contextClass[(cov_1mrr9rcomk().b[0][0]++, props == null ? void 0 : props.type) || (cov_1mrr9rcomk().b[0][1]++, 'info')];
|
|
33866
34049
|
},
|
|
33867
34050
|
bodyClassName: function bodyClassName() {
|
|
33868
34051
|
cov_1mrr9rcomk().f[3]++;
|
|
@@ -37931,7 +38114,7 @@ var TableListComponent = function TableListComponent(_ref) {
|
|
|
37931
38114
|
}, (cov_9szfv8g7n().b[11][0]++, empty.illustration) && (cov_9szfv8g7n().b[11][1]++, /*#__PURE__*/React.createElement("div", {
|
|
37932
38115
|
className: "table-list-empty-illustration text-center"
|
|
37933
38116
|
}, empty.illustration)), /*#__PURE__*/React.createElement("div", {
|
|
37934
|
-
className: "table-list-empty-title text-center text-f4 font-medium text-primary-bold"
|
|
38117
|
+
className: "table-list-empty-title text-center text-f4 font-semibold komea:font-medium text-primary-bold"
|
|
37935
38118
|
}, empty.title), (cov_9szfv8g7n().b[12][0]++, empty.subTitle) && (cov_9szfv8g7n().b[12][1]++, /*#__PURE__*/React.createElement("div", {
|
|
37936
38119
|
className: "table-list-empty-subtitle text-center text-f6 text-on-base-2 -mt-1"
|
|
37937
38120
|
}, empty.subTitle)), (cov_9szfv8g7n().b[13][0]++, empty.action) && (cov_9szfv8g7n().b[13][1]++, /*#__PURE__*/React.createElement("div", {
|
|
@@ -41956,7 +42139,7 @@ var Observer = function Observer(_ref) {
|
|
|
41956
42139
|
|
|
41957
42140
|
function cov_2ly1akim9i() {
|
|
41958
42141
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Layout/Box/Components/Header/BoxHeader.tsx";
|
|
41959
|
-
var hash = "
|
|
42142
|
+
var hash = "07900909c73f684b5a790768e18ab6758502fa92";
|
|
41960
42143
|
var global = new Function("return this")();
|
|
41961
42144
|
var gcv = "__coverage__";
|
|
41962
42145
|
var coverageData = {
|
|
@@ -42431,7 +42614,7 @@ function cov_2ly1akim9i() {
|
|
|
42431
42614
|
},
|
|
42432
42615
|
end: {
|
|
42433
42616
|
line: 12,
|
|
42434
|
-
column:
|
|
42617
|
+
column: 140
|
|
42435
42618
|
}
|
|
42436
42619
|
},
|
|
42437
42620
|
type: "binary-expr",
|
|
@@ -42451,7 +42634,7 @@ function cov_2ly1akim9i() {
|
|
|
42451
42634
|
},
|
|
42452
42635
|
end: {
|
|
42453
42636
|
line: 12,
|
|
42454
|
-
column:
|
|
42637
|
+
column: 139
|
|
42455
42638
|
}
|
|
42456
42639
|
}],
|
|
42457
42640
|
line: 12
|
|
@@ -42688,7 +42871,7 @@ function cov_2ly1akim9i() {
|
|
|
42688
42871
|
"16": [0, 0]
|
|
42689
42872
|
},
|
|
42690
42873
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
42691
|
-
hash: "
|
|
42874
|
+
hash: "07900909c73f684b5a790768e18ab6758502fa92"
|
|
42692
42875
|
};
|
|
42693
42876
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
42694
42877
|
|
|
@@ -42736,7 +42919,7 @@ var BoxHeader = ( /*#__PURE__*/cov_2ly1akim9i().s[0]++, /*#__PURE__*/React.memo(
|
|
|
42736
42919
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42737
42920
|
className: "flex-1 min-w-0 mr-2"
|
|
42738
42921
|
}, (cov_2ly1akim9i().b[10][0]++, title) && (cov_2ly1akim9i().b[10][1]++, /*#__PURE__*/React.createElement("h3", {
|
|
42739
|
-
className: "text-f5 font-medium break-words lg:text-f4"
|
|
42922
|
+
className: "text-f5 font-semibold komea:font-medium break-words lg:text-f4"
|
|
42740
42923
|
}, title)), (cov_2ly1akim9i().b[11][0]++, subtitle) && (cov_2ly1akim9i().b[11][1]++, /*#__PURE__*/React.createElement("h4", {
|
|
42741
42924
|
className: "text-f7 text-on-base-2 break-words lg:text-f6"
|
|
42742
42925
|
}, subtitle))), /*#__PURE__*/React.createElement("div", {
|