@bigbinary/neeto-form-frontend 1.0.26 → 1.0.27
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/README.md +1 -0
- package/dist/index.cjs.js +213 -152
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +213 -152
- package/dist/index.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React$2 = require('react');
|
|
6
6
|
var formik = require('formik');
|
|
7
|
+
var pure = require('@bigbinary/neeto-commons-frontend/pure');
|
|
7
8
|
var PageLoader = require('neetomolecules/PageLoader');
|
|
8
9
|
var neetoui = require('@bigbinary/neetoui');
|
|
9
10
|
var ramda = require('ramda');
|
|
10
11
|
var ReactDOM = require('react-dom');
|
|
11
12
|
var axios = require('axios');
|
|
12
13
|
var formik$1 = require('@bigbinary/neetoui/formik');
|
|
13
|
-
var pure = require('@bigbinary/neeto-commons-frontend/pure');
|
|
14
14
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
15
15
|
var zustand = require('zustand');
|
|
16
16
|
var classnames = require('classnames');
|
|
@@ -32003,7 +32003,7 @@ var formValidationSchema = (cov_13igvew484().s[2]++, yup.object().shape({
|
|
|
32003
32003
|
|
|
32004
32004
|
function cov_2nbnnlcv5p() {
|
|
32005
32005
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/index.jsx";
|
|
32006
|
-
var hash = "
|
|
32006
|
+
var hash = "b88e0689ba4e946eb5dc0499c0e2d153481098de";
|
|
32007
32007
|
var global = new Function("return this")();
|
|
32008
32008
|
var gcv = "__coverage__";
|
|
32009
32009
|
var coverageData = {
|
|
@@ -32011,201 +32011,201 @@ function cov_2nbnnlcv5p() {
|
|
|
32011
32011
|
statementMap: {
|
|
32012
32012
|
"0": {
|
|
32013
32013
|
start: {
|
|
32014
|
-
line:
|
|
32014
|
+
line: 17,
|
|
32015
32015
|
column: 18
|
|
32016
32016
|
},
|
|
32017
32017
|
end: {
|
|
32018
|
-
line:
|
|
32018
|
+
line: 140,
|
|
32019
32019
|
column: 1
|
|
32020
32020
|
}
|
|
32021
32021
|
},
|
|
32022
32022
|
"1": {
|
|
32023
32023
|
start: {
|
|
32024
|
-
line:
|
|
32024
|
+
line: 30,
|
|
32025
32025
|
column: 54
|
|
32026
32026
|
},
|
|
32027
32027
|
end: {
|
|
32028
|
-
line:
|
|
32028
|
+
line: 30,
|
|
32029
32029
|
column: 69
|
|
32030
32030
|
}
|
|
32031
32031
|
},
|
|
32032
32032
|
"2": {
|
|
32033
32033
|
start: {
|
|
32034
|
-
line:
|
|
32034
|
+
line: 32,
|
|
32035
32035
|
column: 22
|
|
32036
32036
|
},
|
|
32037
32037
|
end: {
|
|
32038
|
-
line:
|
|
32038
|
+
line: 32,
|
|
32039
32039
|
column: 38
|
|
32040
32040
|
}
|
|
32041
32041
|
},
|
|
32042
32042
|
"3": {
|
|
32043
32043
|
start: {
|
|
32044
|
-
line:
|
|
32044
|
+
line: 34,
|
|
32045
32045
|
column: 43
|
|
32046
32046
|
},
|
|
32047
32047
|
end: {
|
|
32048
|
-
line:
|
|
32048
|
+
line: 39,
|
|
32049
32049
|
column: 4
|
|
32050
32050
|
}
|
|
32051
32051
|
},
|
|
32052
32052
|
"4": {
|
|
32053
32053
|
start: {
|
|
32054
|
-
line:
|
|
32054
|
+
line: 36,
|
|
32055
32055
|
column: 22
|
|
32056
32056
|
},
|
|
32057
32057
|
end: {
|
|
32058
|
-
line:
|
|
32058
|
+
line: 36,
|
|
32059
32059
|
column: 41
|
|
32060
32060
|
}
|
|
32061
32061
|
},
|
|
32062
32062
|
"5": {
|
|
32063
32063
|
start: {
|
|
32064
|
-
line:
|
|
32064
|
+
line: 38,
|
|
32065
32065
|
column: 6
|
|
32066
32066
|
},
|
|
32067
32067
|
end: {
|
|
32068
|
-
line:
|
|
32068
|
+
line: 38,
|
|
32069
32069
|
column: 28
|
|
32070
32070
|
}
|
|
32071
32071
|
},
|
|
32072
32072
|
"6": {
|
|
32073
32073
|
start: {
|
|
32074
|
-
line:
|
|
32074
|
+
line: 47,
|
|
32075
32075
|
column: 6
|
|
32076
32076
|
},
|
|
32077
32077
|
end: {
|
|
32078
|
-
line:
|
|
32078
|
+
line: 65,
|
|
32079
32079
|
column: 4
|
|
32080
32080
|
}
|
|
32081
32081
|
},
|
|
32082
32082
|
"7": {
|
|
32083
32083
|
start: {
|
|
32084
|
-
line:
|
|
32084
|
+
line: 49,
|
|
32085
32085
|
column: 23
|
|
32086
32086
|
},
|
|
32087
32087
|
end: {
|
|
32088
|
-
line:
|
|
32088
|
+
line: 49,
|
|
32089
32089
|
column: 39
|
|
32090
32090
|
}
|
|
32091
32091
|
},
|
|
32092
32092
|
"8": {
|
|
32093
32093
|
start: {
|
|
32094
|
-
line:
|
|
32094
|
+
line: 67,
|
|
32095
32095
|
column: 23
|
|
32096
32096
|
},
|
|
32097
32097
|
end: {
|
|
32098
|
-
line:
|
|
32098
|
+
line: 74,
|
|
32099
32099
|
column: 6
|
|
32100
32100
|
}
|
|
32101
32101
|
},
|
|
32102
32102
|
"9": {
|
|
32103
32103
|
start: {
|
|
32104
|
-
line:
|
|
32104
|
+
line: 68,
|
|
32105
32105
|
column: 4
|
|
32106
32106
|
},
|
|
32107
32107
|
end: {
|
|
32108
|
-
line:
|
|
32108
|
+
line: 74,
|
|
32109
32109
|
column: 6
|
|
32110
32110
|
}
|
|
32111
32111
|
},
|
|
32112
32112
|
"10": {
|
|
32113
32113
|
start: {
|
|
32114
|
-
line:
|
|
32114
|
+
line: 76,
|
|
32115
32115
|
column: 24
|
|
32116
32116
|
},
|
|
32117
32117
|
end: {
|
|
32118
|
-
line:
|
|
32118
|
+
line: 88,
|
|
32119
32119
|
column: 3
|
|
32120
32120
|
}
|
|
32121
32121
|
},
|
|
32122
32122
|
"11": {
|
|
32123
32123
|
start: {
|
|
32124
|
-
line:
|
|
32124
|
+
line: 77,
|
|
32125
32125
|
column: 32
|
|
32126
32126
|
},
|
|
32127
32127
|
end: {
|
|
32128
|
-
line:
|
|
32128
|
+
line: 80,
|
|
32129
32129
|
column: 6
|
|
32130
32130
|
}
|
|
32131
32131
|
},
|
|
32132
32132
|
"12": {
|
|
32133
32133
|
start: {
|
|
32134
|
-
line:
|
|
32134
|
+
line: 82,
|
|
32135
32135
|
column: 4
|
|
32136
32136
|
},
|
|
32137
32137
|
end: {
|
|
32138
|
-
line:
|
|
32138
|
+
line: 87,
|
|
32139
32139
|
column: 5
|
|
32140
32140
|
}
|
|
32141
32141
|
},
|
|
32142
32142
|
"13": {
|
|
32143
32143
|
start: {
|
|
32144
|
-
line:
|
|
32144
|
+
line: 83,
|
|
32145
32145
|
column: 6
|
|
32146
32146
|
},
|
|
32147
32147
|
end: {
|
|
32148
|
-
line:
|
|
32148
|
+
line: 86,
|
|
32149
32149
|
column: 8
|
|
32150
32150
|
}
|
|
32151
32151
|
},
|
|
32152
32152
|
"14": {
|
|
32153
32153
|
start: {
|
|
32154
|
-
line:
|
|
32154
|
+
line: 90,
|
|
32155
32155
|
column: 2
|
|
32156
32156
|
},
|
|
32157
32157
|
end: {
|
|
32158
|
-
line:
|
|
32158
|
+
line: 96,
|
|
32159
32159
|
column: 3
|
|
32160
32160
|
}
|
|
32161
32161
|
},
|
|
32162
32162
|
"15": {
|
|
32163
32163
|
start: {
|
|
32164
|
-
line:
|
|
32164
|
+
line: 91,
|
|
32165
32165
|
column: 4
|
|
32166
32166
|
},
|
|
32167
32167
|
end: {
|
|
32168
|
-
line:
|
|
32168
|
+
line: 95,
|
|
32169
32169
|
column: 6
|
|
32170
32170
|
}
|
|
32171
32171
|
},
|
|
32172
32172
|
"16": {
|
|
32173
32173
|
start: {
|
|
32174
|
-
line:
|
|
32174
|
+
line: 98,
|
|
32175
32175
|
column: 2
|
|
32176
32176
|
},
|
|
32177
32177
|
end: {
|
|
32178
|
-
line:
|
|
32178
|
+
line: 139,
|
|
32179
32179
|
column: 4
|
|
32180
32180
|
}
|
|
32181
32181
|
},
|
|
32182
32182
|
"17": {
|
|
32183
32183
|
start: {
|
|
32184
|
-
line:
|
|
32184
|
+
line: 111,
|
|
32185
32185
|
column: 10
|
|
32186
32186
|
},
|
|
32187
32187
|
end: {
|
|
32188
|
-
line:
|
|
32188
|
+
line: 130,
|
|
32189
32189
|
column: 12
|
|
32190
32190
|
}
|
|
32191
32191
|
},
|
|
32192
32192
|
"18": {
|
|
32193
32193
|
start: {
|
|
32194
|
-
line:
|
|
32194
|
+
line: 126,
|
|
32195
32195
|
column: 14
|
|
32196
32196
|
},
|
|
32197
32197
|
end: {
|
|
32198
|
-
line:
|
|
32198
|
+
line: 128,
|
|
32199
32199
|
column: 15
|
|
32200
32200
|
}
|
|
32201
32201
|
},
|
|
32202
32202
|
"19": {
|
|
32203
32203
|
start: {
|
|
32204
|
-
line:
|
|
32204
|
+
line: 127,
|
|
32205
32205
|
column: 16
|
|
32206
32206
|
},
|
|
32207
32207
|
end: {
|
|
32208
|
-
line:
|
|
32208
|
+
line: 127,
|
|
32209
32209
|
column: 49
|
|
32210
32210
|
}
|
|
32211
32211
|
}
|
|
@@ -32215,359 +32215,383 @@ function cov_2nbnnlcv5p() {
|
|
|
32215
32215
|
name: "(anonymous_0)",
|
|
32216
32216
|
decl: {
|
|
32217
32217
|
start: {
|
|
32218
|
-
line:
|
|
32218
|
+
line: 17,
|
|
32219
32219
|
column: 18
|
|
32220
32220
|
},
|
|
32221
32221
|
end: {
|
|
32222
|
-
line:
|
|
32222
|
+
line: 17,
|
|
32223
32223
|
column: 19
|
|
32224
32224
|
}
|
|
32225
32225
|
},
|
|
32226
32226
|
loc: {
|
|
32227
32227
|
start: {
|
|
32228
|
-
line:
|
|
32228
|
+
line: 29,
|
|
32229
32229
|
column: 6
|
|
32230
32230
|
},
|
|
32231
32231
|
end: {
|
|
32232
|
-
line:
|
|
32232
|
+
line: 140,
|
|
32233
32233
|
column: 1
|
|
32234
32234
|
}
|
|
32235
32235
|
},
|
|
32236
|
-
line:
|
|
32236
|
+
line: 29
|
|
32237
32237
|
},
|
|
32238
32238
|
"1": {
|
|
32239
32239
|
name: "(anonymous_1)",
|
|
32240
32240
|
decl: {
|
|
32241
32241
|
start: {
|
|
32242
|
-
line:
|
|
32242
|
+
line: 36,
|
|
32243
32243
|
column: 13
|
|
32244
32244
|
},
|
|
32245
32245
|
end: {
|
|
32246
|
-
line:
|
|
32246
|
+
line: 36,
|
|
32247
32247
|
column: 14
|
|
32248
32248
|
}
|
|
32249
32249
|
},
|
|
32250
32250
|
loc: {
|
|
32251
32251
|
start: {
|
|
32252
|
-
line:
|
|
32252
|
+
line: 36,
|
|
32253
32253
|
column: 22
|
|
32254
32254
|
},
|
|
32255
32255
|
end: {
|
|
32256
|
-
line:
|
|
32256
|
+
line: 36,
|
|
32257
32257
|
column: 41
|
|
32258
32258
|
}
|
|
32259
32259
|
},
|
|
32260
|
-
line:
|
|
32260
|
+
line: 36
|
|
32261
32261
|
},
|
|
32262
32262
|
"2": {
|
|
32263
32263
|
name: "(anonymous_2)",
|
|
32264
32264
|
decl: {
|
|
32265
32265
|
start: {
|
|
32266
|
-
line:
|
|
32266
|
+
line: 37,
|
|
32267
32267
|
column: 15
|
|
32268
32268
|
},
|
|
32269
32269
|
end: {
|
|
32270
|
-
line:
|
|
32270
|
+
line: 37,
|
|
32271
32271
|
column: 16
|
|
32272
32272
|
}
|
|
32273
32273
|
},
|
|
32274
32274
|
loc: {
|
|
32275
32275
|
start: {
|
|
32276
|
-
line:
|
|
32276
|
+
line: 38,
|
|
32277
32277
|
column: 6
|
|
32278
32278
|
},
|
|
32279
32279
|
end: {
|
|
32280
|
-
line:
|
|
32280
|
+
line: 38,
|
|
32281
32281
|
column: 28
|
|
32282
32282
|
}
|
|
32283
32283
|
},
|
|
32284
|
-
line:
|
|
32284
|
+
line: 38
|
|
32285
32285
|
},
|
|
32286
32286
|
"3": {
|
|
32287
32287
|
name: "(anonymous_3)",
|
|
32288
32288
|
decl: {
|
|
32289
32289
|
start: {
|
|
32290
|
-
line:
|
|
32290
|
+
line: 49,
|
|
32291
32291
|
column: 15
|
|
32292
32292
|
},
|
|
32293
32293
|
end: {
|
|
32294
|
-
line:
|
|
32294
|
+
line: 49,
|
|
32295
32295
|
column: 16
|
|
32296
32296
|
}
|
|
32297
32297
|
},
|
|
32298
32298
|
loc: {
|
|
32299
32299
|
start: {
|
|
32300
|
-
line:
|
|
32300
|
+
line: 49,
|
|
32301
32301
|
column: 23
|
|
32302
32302
|
},
|
|
32303
32303
|
end: {
|
|
32304
|
-
line:
|
|
32304
|
+
line: 49,
|
|
32305
32305
|
column: 39
|
|
32306
32306
|
}
|
|
32307
32307
|
},
|
|
32308
|
-
line:
|
|
32308
|
+
line: 49
|
|
32309
32309
|
},
|
|
32310
32310
|
"4": {
|
|
32311
32311
|
name: "(anonymous_4)",
|
|
32312
32312
|
decl: {
|
|
32313
32313
|
start: {
|
|
32314
|
-
line:
|
|
32314
|
+
line: 67,
|
|
32315
32315
|
column: 23
|
|
32316
32316
|
},
|
|
32317
32317
|
end: {
|
|
32318
|
-
line:
|
|
32318
|
+
line: 67,
|
|
32319
32319
|
column: 24
|
|
32320
32320
|
}
|
|
32321
32321
|
},
|
|
32322
32322
|
loc: {
|
|
32323
32323
|
start: {
|
|
32324
|
-
line:
|
|
32324
|
+
line: 68,
|
|
32325
32325
|
column: 4
|
|
32326
32326
|
},
|
|
32327
32327
|
end: {
|
|
32328
|
-
line:
|
|
32328
|
+
line: 74,
|
|
32329
32329
|
column: 6
|
|
32330
32330
|
}
|
|
32331
32331
|
},
|
|
32332
|
-
line:
|
|
32332
|
+
line: 68
|
|
32333
32333
|
},
|
|
32334
32334
|
"5": {
|
|
32335
32335
|
name: "(anonymous_5)",
|
|
32336
32336
|
decl: {
|
|
32337
32337
|
start: {
|
|
32338
|
-
line:
|
|
32338
|
+
line: 76,
|
|
32339
32339
|
column: 24
|
|
32340
32340
|
},
|
|
32341
32341
|
end: {
|
|
32342
|
-
line:
|
|
32342
|
+
line: 76,
|
|
32343
32343
|
column: 25
|
|
32344
32344
|
}
|
|
32345
32345
|
},
|
|
32346
32346
|
loc: {
|
|
32347
32347
|
start: {
|
|
32348
|
-
line:
|
|
32348
|
+
line: 76,
|
|
32349
32349
|
column: 37
|
|
32350
32350
|
},
|
|
32351
32351
|
end: {
|
|
32352
|
-
line:
|
|
32352
|
+
line: 88,
|
|
32353
32353
|
column: 3
|
|
32354
32354
|
}
|
|
32355
32355
|
},
|
|
32356
|
-
line:
|
|
32356
|
+
line: 76
|
|
32357
32357
|
},
|
|
32358
32358
|
"6": {
|
|
32359
32359
|
name: "(anonymous_6)",
|
|
32360
32360
|
decl: {
|
|
32361
32361
|
start: {
|
|
32362
|
-
line:
|
|
32362
|
+
line: 110,
|
|
32363
32363
|
column: 9
|
|
32364
32364
|
},
|
|
32365
32365
|
end: {
|
|
32366
|
-
line:
|
|
32366
|
+
line: 110,
|
|
32367
32367
|
column: 10
|
|
32368
32368
|
}
|
|
32369
32369
|
},
|
|
32370
32370
|
loc: {
|
|
32371
32371
|
start: {
|
|
32372
|
-
line:
|
|
32372
|
+
line: 111,
|
|
32373
32373
|
column: 10
|
|
32374
32374
|
},
|
|
32375
32375
|
end: {
|
|
32376
|
-
line:
|
|
32376
|
+
line: 130,
|
|
32377
32377
|
column: 12
|
|
32378
32378
|
}
|
|
32379
32379
|
},
|
|
32380
|
-
line:
|
|
32380
|
+
line: 111
|
|
32381
32381
|
},
|
|
32382
32382
|
"7": {
|
|
32383
32383
|
name: "(anonymous_7)",
|
|
32384
32384
|
decl: {
|
|
32385
32385
|
start: {
|
|
32386
|
-
line:
|
|
32386
|
+
line: 125,
|
|
32387
32387
|
column: 22
|
|
32388
32388
|
},
|
|
32389
32389
|
end: {
|
|
32390
|
-
line:
|
|
32390
|
+
line: 125,
|
|
32391
32391
|
column: 23
|
|
32392
32392
|
}
|
|
32393
32393
|
},
|
|
32394
32394
|
loc: {
|
|
32395
32395
|
start: {
|
|
32396
|
-
line:
|
|
32396
|
+
line: 125,
|
|
32397
32397
|
column: 31
|
|
32398
32398
|
},
|
|
32399
32399
|
end: {
|
|
32400
|
-
line:
|
|
32400
|
+
line: 129,
|
|
32401
32401
|
column: 13
|
|
32402
32402
|
}
|
|
32403
32403
|
},
|
|
32404
|
-
line:
|
|
32404
|
+
line: 125
|
|
32405
32405
|
}
|
|
32406
32406
|
},
|
|
32407
32407
|
branchMap: {
|
|
32408
32408
|
"0": {
|
|
32409
32409
|
loc: {
|
|
32410
32410
|
start: {
|
|
32411
|
-
line:
|
|
32411
|
+
line: 21,
|
|
32412
32412
|
column: 2
|
|
32413
32413
|
},
|
|
32414
32414
|
end: {
|
|
32415
|
-
line:
|
|
32415
|
+
line: 21,
|
|
32416
32416
|
column: 31
|
|
32417
32417
|
}
|
|
32418
32418
|
},
|
|
32419
32419
|
type: "default-arg",
|
|
32420
32420
|
locations: [{
|
|
32421
32421
|
start: {
|
|
32422
|
-
line:
|
|
32422
|
+
line: 21,
|
|
32423
32423
|
column: 27
|
|
32424
32424
|
},
|
|
32425
32425
|
end: {
|
|
32426
|
-
line:
|
|
32426
|
+
line: 21,
|
|
32427
32427
|
column: 31
|
|
32428
32428
|
}
|
|
32429
32429
|
}],
|
|
32430
|
-
line:
|
|
32430
|
+
line: 21
|
|
32431
32431
|
},
|
|
32432
32432
|
"1": {
|
|
32433
32433
|
loc: {
|
|
32434
32434
|
start: {
|
|
32435
|
-
line:
|
|
32435
|
+
line: 22,
|
|
32436
32436
|
column: 2
|
|
32437
32437
|
},
|
|
32438
32438
|
end: {
|
|
32439
|
-
line:
|
|
32439
|
+
line: 22,
|
|
32440
32440
|
column: 25
|
|
32441
32441
|
}
|
|
32442
32442
|
},
|
|
32443
32443
|
type: "default-arg",
|
|
32444
32444
|
locations: [{
|
|
32445
32445
|
start: {
|
|
32446
|
-
line:
|
|
32446
|
+
line: 22,
|
|
32447
32447
|
column: 23
|
|
32448
32448
|
},
|
|
32449
32449
|
end: {
|
|
32450
|
-
line:
|
|
32450
|
+
line: 22,
|
|
32451
32451
|
column: 25
|
|
32452
32452
|
}
|
|
32453
32453
|
}],
|
|
32454
|
-
line:
|
|
32454
|
+
line: 22
|
|
32455
32455
|
},
|
|
32456
32456
|
"2": {
|
|
32457
32457
|
loc: {
|
|
32458
32458
|
start: {
|
|
32459
|
-
line:
|
|
32459
|
+
line: 23,
|
|
32460
32460
|
column: 2
|
|
32461
32461
|
},
|
|
32462
32462
|
end: {
|
|
32463
|
-
line:
|
|
32463
|
+
line: 23,
|
|
32464
32464
|
column: 21
|
|
32465
32465
|
}
|
|
32466
32466
|
},
|
|
32467
32467
|
type: "default-arg",
|
|
32468
32468
|
locations: [{
|
|
32469
32469
|
start: {
|
|
32470
|
-
line:
|
|
32470
|
+
line: 23,
|
|
32471
32471
|
column: 19
|
|
32472
32472
|
},
|
|
32473
32473
|
end: {
|
|
32474
|
-
line:
|
|
32474
|
+
line: 23,
|
|
32475
32475
|
column: 21
|
|
32476
32476
|
}
|
|
32477
32477
|
}],
|
|
32478
|
-
line:
|
|
32478
|
+
line: 23
|
|
32479
32479
|
},
|
|
32480
32480
|
"3": {
|
|
32481
32481
|
loc: {
|
|
32482
32482
|
start: {
|
|
32483
|
-
line:
|
|
32483
|
+
line: 25,
|
|
32484
32484
|
column: 2
|
|
32485
32485
|
},
|
|
32486
32486
|
end: {
|
|
32487
|
-
line:
|
|
32487
|
+
line: 25,
|
|
32488
32488
|
column: 24
|
|
32489
32489
|
}
|
|
32490
32490
|
},
|
|
32491
32491
|
type: "default-arg",
|
|
32492
32492
|
locations: [{
|
|
32493
32493
|
start: {
|
|
32494
|
-
line:
|
|
32494
|
+
line: 25,
|
|
32495
32495
|
column: 20
|
|
32496
32496
|
},
|
|
32497
32497
|
end: {
|
|
32498
|
-
line:
|
|
32498
|
+
line: 25,
|
|
32499
32499
|
column: 24
|
|
32500
32500
|
}
|
|
32501
32501
|
}],
|
|
32502
|
-
line:
|
|
32502
|
+
line: 25
|
|
32503
32503
|
},
|
|
32504
32504
|
"4": {
|
|
32505
32505
|
loc: {
|
|
32506
32506
|
start: {
|
|
32507
|
-
line:
|
|
32507
|
+
line: 28,
|
|
32508
|
+
column: 2
|
|
32509
|
+
},
|
|
32510
|
+
end: {
|
|
32511
|
+
line: 28,
|
|
32512
|
+
column: 20
|
|
32513
|
+
}
|
|
32514
|
+
},
|
|
32515
|
+
type: "default-arg",
|
|
32516
|
+
locations: [{
|
|
32517
|
+
start: {
|
|
32518
|
+
line: 28,
|
|
32508
32519
|
column: 18
|
|
32509
32520
|
},
|
|
32510
32521
|
end: {
|
|
32511
|
-
line:
|
|
32522
|
+
line: 28,
|
|
32523
|
+
column: 20
|
|
32524
|
+
}
|
|
32525
|
+
}],
|
|
32526
|
+
line: 28
|
|
32527
|
+
},
|
|
32528
|
+
"5": {
|
|
32529
|
+
loc: {
|
|
32530
|
+
start: {
|
|
32531
|
+
line: 37,
|
|
32532
|
+
column: 18
|
|
32533
|
+
},
|
|
32534
|
+
end: {
|
|
32535
|
+
line: 37,
|
|
32512
32536
|
column: 70
|
|
32513
32537
|
}
|
|
32514
32538
|
},
|
|
32515
32539
|
type: "default-arg",
|
|
32516
32540
|
locations: [{
|
|
32517
32541
|
start: {
|
|
32518
|
-
line:
|
|
32542
|
+
line: 37,
|
|
32519
32543
|
column: 27
|
|
32520
32544
|
},
|
|
32521
32545
|
end: {
|
|
32522
|
-
line:
|
|
32546
|
+
line: 37,
|
|
32523
32547
|
column: 70
|
|
32524
32548
|
}
|
|
32525
32549
|
}],
|
|
32526
|
-
line:
|
|
32550
|
+
line: 37
|
|
32527
32551
|
},
|
|
32528
|
-
"
|
|
32552
|
+
"6": {
|
|
32529
32553
|
loc: {
|
|
32530
32554
|
start: {
|
|
32531
|
-
line:
|
|
32555
|
+
line: 42,
|
|
32532
32556
|
column: 10
|
|
32533
32557
|
},
|
|
32534
32558
|
end: {
|
|
32535
|
-
line:
|
|
32559
|
+
line: 45,
|
|
32536
32560
|
column: 5
|
|
32537
32561
|
}
|
|
32538
32562
|
},
|
|
32539
32563
|
type: "default-arg",
|
|
32540
32564
|
locations: [{
|
|
32541
32565
|
start: {
|
|
32542
|
-
line:
|
|
32566
|
+
line: 42,
|
|
32543
32567
|
column: 46
|
|
32544
32568
|
},
|
|
32545
32569
|
end: {
|
|
32546
|
-
line:
|
|
32570
|
+
line: 45,
|
|
32547
32571
|
column: 5
|
|
32548
32572
|
}
|
|
32549
32573
|
}],
|
|
32550
|
-
line:
|
|
32574
|
+
line: 42
|
|
32551
32575
|
},
|
|
32552
|
-
"
|
|
32576
|
+
"7": {
|
|
32553
32577
|
loc: {
|
|
32554
32578
|
start: {
|
|
32555
|
-
line:
|
|
32579
|
+
line: 82,
|
|
32556
32580
|
column: 4
|
|
32557
32581
|
},
|
|
32558
32582
|
end: {
|
|
32559
|
-
line:
|
|
32583
|
+
line: 87,
|
|
32560
32584
|
column: 5
|
|
32561
32585
|
}
|
|
32562
32586
|
},
|
|
32563
32587
|
type: "if",
|
|
32564
32588
|
locations: [{
|
|
32565
32589
|
start: {
|
|
32566
|
-
line:
|
|
32590
|
+
line: 82,
|
|
32567
32591
|
column: 4
|
|
32568
32592
|
},
|
|
32569
32593
|
end: {
|
|
32570
|
-
line:
|
|
32594
|
+
line: 87,
|
|
32571
32595
|
column: 5
|
|
32572
32596
|
}
|
|
32573
32597
|
}, {
|
|
@@ -32580,27 +32604,27 @@ function cov_2nbnnlcv5p() {
|
|
|
32580
32604
|
column: undefined
|
|
32581
32605
|
}
|
|
32582
32606
|
}],
|
|
32583
|
-
line:
|
|
32607
|
+
line: 82
|
|
32584
32608
|
},
|
|
32585
|
-
"
|
|
32609
|
+
"8": {
|
|
32586
32610
|
loc: {
|
|
32587
32611
|
start: {
|
|
32588
|
-
line:
|
|
32612
|
+
line: 90,
|
|
32589
32613
|
column: 2
|
|
32590
32614
|
},
|
|
32591
32615
|
end: {
|
|
32592
|
-
line:
|
|
32616
|
+
line: 96,
|
|
32593
32617
|
column: 3
|
|
32594
32618
|
}
|
|
32595
32619
|
},
|
|
32596
32620
|
type: "if",
|
|
32597
32621
|
locations: [{
|
|
32598
32622
|
start: {
|
|
32599
|
-
line:
|
|
32623
|
+
line: 90,
|
|
32600
32624
|
column: 2
|
|
32601
32625
|
},
|
|
32602
32626
|
end: {
|
|
32603
|
-
line:
|
|
32627
|
+
line: 96,
|
|
32604
32628
|
column: 3
|
|
32605
32629
|
}
|
|
32606
32630
|
}, {
|
|
@@ -32613,27 +32637,60 @@ function cov_2nbnnlcv5p() {
|
|
|
32613
32637
|
column: undefined
|
|
32614
32638
|
}
|
|
32615
32639
|
}],
|
|
32616
|
-
line:
|
|
32640
|
+
line: 90
|
|
32617
32641
|
},
|
|
32618
|
-
"
|
|
32642
|
+
"9": {
|
|
32619
32643
|
loc: {
|
|
32620
32644
|
start: {
|
|
32621
32645
|
line: 122,
|
|
32622
32646
|
column: 14
|
|
32623
32647
|
},
|
|
32624
32648
|
end: {
|
|
32625
|
-
line:
|
|
32649
|
+
line: 122,
|
|
32650
|
+
column: 71
|
|
32651
|
+
}
|
|
32652
|
+
},
|
|
32653
|
+
type: "cond-expr",
|
|
32654
|
+
locations: [{
|
|
32655
|
+
start: {
|
|
32656
|
+
line: 122,
|
|
32657
|
+
column: 41
|
|
32658
|
+
},
|
|
32659
|
+
end: {
|
|
32660
|
+
line: 122,
|
|
32661
|
+
column: 54
|
|
32662
|
+
}
|
|
32663
|
+
}, {
|
|
32664
|
+
start: {
|
|
32665
|
+
line: 122,
|
|
32666
|
+
column: 57
|
|
32667
|
+
},
|
|
32668
|
+
end: {
|
|
32669
|
+
line: 122,
|
|
32670
|
+
column: 71
|
|
32671
|
+
}
|
|
32672
|
+
}],
|
|
32673
|
+
line: 122
|
|
32674
|
+
},
|
|
32675
|
+
"10": {
|
|
32676
|
+
loc: {
|
|
32677
|
+
start: {
|
|
32678
|
+
line: 126,
|
|
32679
|
+
column: 14
|
|
32680
|
+
},
|
|
32681
|
+
end: {
|
|
32682
|
+
line: 128,
|
|
32626
32683
|
column: 15
|
|
32627
32684
|
}
|
|
32628
32685
|
},
|
|
32629
32686
|
type: "if",
|
|
32630
32687
|
locations: [{
|
|
32631
32688
|
start: {
|
|
32632
|
-
line:
|
|
32689
|
+
line: 126,
|
|
32633
32690
|
column: 14
|
|
32634
32691
|
},
|
|
32635
32692
|
end: {
|
|
32636
|
-
line:
|
|
32693
|
+
line: 128,
|
|
32637
32694
|
column: 15
|
|
32638
32695
|
}
|
|
32639
32696
|
}, {
|
|
@@ -32646,40 +32703,40 @@ function cov_2nbnnlcv5p() {
|
|
|
32646
32703
|
column: undefined
|
|
32647
32704
|
}
|
|
32648
32705
|
}],
|
|
32649
|
-
line:
|
|
32706
|
+
line: 126
|
|
32650
32707
|
},
|
|
32651
|
-
"
|
|
32708
|
+
"11": {
|
|
32652
32709
|
loc: {
|
|
32653
32710
|
start: {
|
|
32654
|
-
line:
|
|
32711
|
+
line: 133,
|
|
32655
32712
|
column: 7
|
|
32656
32713
|
},
|
|
32657
32714
|
end: {
|
|
32658
|
-
line:
|
|
32715
|
+
line: 137,
|
|
32659
32716
|
column: 7
|
|
32660
32717
|
}
|
|
32661
32718
|
},
|
|
32662
32719
|
type: "binary-expr",
|
|
32663
32720
|
locations: [{
|
|
32664
32721
|
start: {
|
|
32665
|
-
line:
|
|
32722
|
+
line: 133,
|
|
32666
32723
|
column: 7
|
|
32667
32724
|
},
|
|
32668
32725
|
end: {
|
|
32669
|
-
line:
|
|
32726
|
+
line: 133,
|
|
32670
32727
|
column: 25
|
|
32671
32728
|
}
|
|
32672
32729
|
}, {
|
|
32673
32730
|
start: {
|
|
32674
|
-
line:
|
|
32731
|
+
line: 134,
|
|
32675
32732
|
column: 8
|
|
32676
32733
|
},
|
|
32677
32734
|
end: {
|
|
32678
|
-
line:
|
|
32735
|
+
line: 136,
|
|
32679
32736
|
column: 14
|
|
32680
32737
|
}
|
|
32681
32738
|
}],
|
|
32682
|
-
line:
|
|
32739
|
+
line: 133
|
|
32683
32740
|
}
|
|
32684
32741
|
},
|
|
32685
32742
|
s: {
|
|
@@ -32721,13 +32778,15 @@ function cov_2nbnnlcv5p() {
|
|
|
32721
32778
|
"3": [0],
|
|
32722
32779
|
"4": [0],
|
|
32723
32780
|
"5": [0],
|
|
32724
|
-
"6": [0
|
|
32781
|
+
"6": [0],
|
|
32725
32782
|
"7": [0, 0],
|
|
32726
32783
|
"8": [0, 0],
|
|
32727
|
-
"9": [0, 0]
|
|
32784
|
+
"9": [0, 0],
|
|
32785
|
+
"10": [0, 0],
|
|
32786
|
+
"11": [0, 0]
|
|
32728
32787
|
},
|
|
32729
32788
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
32730
|
-
hash: "
|
|
32789
|
+
hash: "b88e0689ba4e946eb5dc0499c0e2d153481098de"
|
|
32731
32790
|
};
|
|
32732
32791
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
32733
32792
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -32760,7 +32819,9 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32760
32819
|
_ref$showActionBlock = _ref.showActionBlock,
|
|
32761
32820
|
showActionBlock = _ref$showActionBlock === void 0 ? (cov_2nbnnlcv5p().b[3][0]++, true) : _ref$showActionBlock,
|
|
32762
32821
|
submitButtonProps = _ref.submitButtonProps,
|
|
32763
|
-
cancelButtonProps = _ref.cancelButtonProps
|
|
32822
|
+
cancelButtonProps = _ref.cancelButtonProps,
|
|
32823
|
+
_ref$questionKinds = _ref.questionKinds,
|
|
32824
|
+
questionKinds = _ref$questionKinds === void 0 ? (cov_2nbnnlcv5p().b[4][0]++, []) : _ref$questionKinds;
|
|
32764
32825
|
cov_2nbnnlcv5p().f[0]++;
|
|
32765
32826
|
var _ref2 = (cov_2nbnnlcv5p().s[1]++, React$2.useState(false)),
|
|
32766
32827
|
_ref3 = _slicedToArray$6(_ref2, 2),
|
|
@@ -32776,7 +32837,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32776
32837
|
},
|
|
32777
32838
|
onSuccess: function onSuccess(_ref5) {
|
|
32778
32839
|
var _ref5$notice = _ref5.notice,
|
|
32779
|
-
notice = _ref5$notice === void 0 ? (cov_2nbnnlcv5p().b[
|
|
32840
|
+
notice = _ref5$notice === void 0 ? (cov_2nbnnlcv5p().b[5][0]++, "Questions have been updated successfully!") : _ref5$notice;
|
|
32780
32841
|
cov_2nbnnlcv5p().f[2]++;
|
|
32781
32842
|
cov_2nbnnlcv5p().s[5]++;
|
|
32782
32843
|
return neetoui.Toastr.success(notice);
|
|
@@ -32804,7 +32865,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32804
32865
|
}
|
|
32805
32866
|
})),
|
|
32806
32867
|
_ref6$data = _ref6.data,
|
|
32807
|
-
_ref6$data2 = _ref6$data === void 0 ? (cov_2nbnnlcv5p().b[
|
|
32868
|
+
_ref6$data2 = _ref6$data === void 0 ? (cov_2nbnnlcv5p().b[6][0]++, {
|
|
32808
32869
|
title: "",
|
|
32809
32870
|
questions: []
|
|
32810
32871
|
}) : _ref6$data,
|
|
@@ -32829,22 +32890,22 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32829
32890
|
dataUpdateCount = _ref7.dataUpdateCount;
|
|
32830
32891
|
cov_2nbnnlcv5p().s[12]++;
|
|
32831
32892
|
if (dataUpdateCount > 0) {
|
|
32832
|
-
cov_2nbnnlcv5p().b[
|
|
32893
|
+
cov_2nbnnlcv5p().b[7][0]++;
|
|
32833
32894
|
cov_2nbnnlcv5p().s[13]++;
|
|
32834
32895
|
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], ramda.assoc("questions", questions));
|
|
32835
32896
|
} else {
|
|
32836
|
-
cov_2nbnnlcv5p().b[
|
|
32897
|
+
cov_2nbnnlcv5p().b[7][1]++;
|
|
32837
32898
|
}
|
|
32838
32899
|
};
|
|
32839
32900
|
cov_2nbnnlcv5p().s[14]++;
|
|
32840
32901
|
if (isLoading) {
|
|
32841
|
-
cov_2nbnnlcv5p().b[
|
|
32902
|
+
cov_2nbnnlcv5p().b[8][0]++;
|
|
32842
32903
|
cov_2nbnnlcv5p().s[15]++;
|
|
32843
32904
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32844
32905
|
className: "flex h-full w-full items-center justify-center py-6"
|
|
32845
32906
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
|
|
32846
32907
|
} else {
|
|
32847
|
-
cov_2nbnnlcv5p().b[
|
|
32908
|
+
cov_2nbnnlcv5p().b[8][1]++;
|
|
32848
32909
|
}
|
|
32849
32910
|
cov_2nbnnlcv5p().s[16]++;
|
|
32850
32911
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -32867,26 +32928,26 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32867
32928
|
cancelButtonProps: cancelButtonProps,
|
|
32868
32929
|
formId: id,
|
|
32869
32930
|
nonRemovableFields: nonRemovableFields,
|
|
32870
|
-
questionKinds: QUESTION_KINDS,
|
|
32871
32931
|
requiredFields: requiredFields,
|
|
32872
32932
|
setShouldValidate: setShouldValidateForm,
|
|
32873
32933
|
showActionBlock: showActionBlock,
|
|
32874
32934
|
showAddQuestionDivider: showAddQuestionDivider,
|
|
32875
32935
|
submitButtonProps: submitButtonProps,
|
|
32936
|
+
questionKinds: pure.isPresent(questionKinds) ? (cov_2nbnnlcv5p().b[9][0]++, questionKinds) : (cov_2nbnnlcv5p().b[9][1]++, QUESTION_KINDS),
|
|
32876
32937
|
onValueChange: onValueChange,
|
|
32877
32938
|
onChange: function onChange(event) {
|
|
32878
32939
|
cov_2nbnnlcv5p().f[7]++;
|
|
32879
32940
|
cov_2nbnnlcv5p().s[18]++;
|
|
32880
32941
|
if (!ramda.isEmpty(errors)) {
|
|
32881
|
-
cov_2nbnnlcv5p().b[
|
|
32942
|
+
cov_2nbnnlcv5p().b[10][0]++;
|
|
32882
32943
|
cov_2nbnnlcv5p().s[19]++;
|
|
32883
32944
|
setFieldError(event.target.name);
|
|
32884
32945
|
} else {
|
|
32885
|
-
cov_2nbnnlcv5p().b[
|
|
32946
|
+
cov_2nbnnlcv5p().b[10][1]++;
|
|
32886
32947
|
}
|
|
32887
32948
|
}
|
|
32888
32949
|
}));
|
|
32889
|
-
}), (cov_2nbnnlcv5p().b[
|
|
32950
|
+
}), (cov_2nbnnlcv5p().b[11][0]++, isQuestionsLoading) && (cov_2nbnnlcv5p().b[11][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32890
32951
|
className: "neeto-ui-bg-gray-100 absolute top-0 left-0 right-0 bottom-0 flex items-center justify-center opacity-75"
|
|
32891
32952
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null))));
|
|
32892
32953
|
};
|