@elyx-code/project-logic-tree 0.0.6531 → 0.0.6533
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/index.d.ts +1 -0
- package/dist/index.js +168 -154
- package/dist/index.umd.cjs +17 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18816,13 +18816,13 @@ and using the ID field provided by the response
|
|
|
18816
18816
|
DQe
|
|
18817
18817
|
],
|
|
18818
18818
|
parent: null
|
|
18819
|
-
},
|
|
18819
|
+
}, Ct = fe[p.Operation][Bt.GoogleDriveSmartFetchDocument], $Qe = [
|
|
18820
18820
|
"auto",
|
|
18821
18821
|
"native",
|
|
18822
18822
|
"plain-text",
|
|
18823
18823
|
"binary"
|
|
18824
18824
|
], PQe = {
|
|
18825
|
-
id:
|
|
18825
|
+
id: Ct.inputs.connection.dataType.id,
|
|
18826
18826
|
version: "1",
|
|
18827
18827
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
18828
18828
|
previousVersion: null,
|
|
@@ -18846,12 +18846,12 @@ and using the ID field provided by the response
|
|
|
18846
18846
|
parent: {
|
|
18847
18847
|
id: "external-integration--google-drive--smart-fetch-connection-input--ref",
|
|
18848
18848
|
type: p.GenericReference,
|
|
18849
|
-
entityId:
|
|
18849
|
+
entityId: Ct.inputs.connection.id,
|
|
18850
18850
|
version: "1",
|
|
18851
18851
|
entityType: p.ValueDescriptor
|
|
18852
18852
|
}
|
|
18853
18853
|
}, VQe = {
|
|
18854
|
-
id:
|
|
18854
|
+
id: Ct.inputs.connection.id,
|
|
18855
18855
|
version: "1",
|
|
18856
18856
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
18857
18857
|
previousVersion: null,
|
|
@@ -18869,12 +18869,12 @@ and using the ID field provided by the response
|
|
|
18869
18869
|
parent: {
|
|
18870
18870
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
18871
18871
|
type: p.GenericReference,
|
|
18872
|
-
entityId:
|
|
18872
|
+
entityId: Ct.id,
|
|
18873
18873
|
version: "1",
|
|
18874
18874
|
entityType: p.ActionDescriptor
|
|
18875
18875
|
}
|
|
18876
18876
|
}, NQe = {
|
|
18877
|
-
id:
|
|
18877
|
+
id: Ct.inputs.fileId.dataType.id,
|
|
18878
18878
|
version: "1",
|
|
18879
18879
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
18880
18880
|
previousVersion: null,
|
|
@@ -18898,12 +18898,12 @@ and using the ID field provided by the response
|
|
|
18898
18898
|
parent: {
|
|
18899
18899
|
id: "external-integration--google-drive--smart-fetch-file-id-input--ref",
|
|
18900
18900
|
type: p.GenericReference,
|
|
18901
|
-
entityId:
|
|
18901
|
+
entityId: Ct.inputs.fileId.id,
|
|
18902
18902
|
version: "1",
|
|
18903
18903
|
entityType: p.ValueDescriptor
|
|
18904
18904
|
}
|
|
18905
18905
|
}, xQe = {
|
|
18906
|
-
id:
|
|
18906
|
+
id: Ct.inputs.fileId.id,
|
|
18907
18907
|
version: "1",
|
|
18908
18908
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
18909
18909
|
previousVersion: null,
|
|
@@ -18921,12 +18921,12 @@ and using the ID field provided by the response
|
|
|
18921
18921
|
parent: {
|
|
18922
18922
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
18923
18923
|
type: p.GenericReference,
|
|
18924
|
-
entityId:
|
|
18924
|
+
entityId: Ct.id,
|
|
18925
18925
|
version: "1",
|
|
18926
18926
|
entityType: p.ActionDescriptor
|
|
18927
18927
|
}
|
|
18928
18928
|
}, LQe = {
|
|
18929
|
-
id:
|
|
18929
|
+
id: Ct.inputs.mode.dataType.id,
|
|
18930
18930
|
version: "1",
|
|
18931
18931
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
18932
18932
|
previousVersion: null,
|
|
@@ -18950,12 +18950,12 @@ and using the ID field provided by the response
|
|
|
18950
18950
|
parent: {
|
|
18951
18951
|
id: "external-integration--google-drive--smart-fetch-mode-input--ref",
|
|
18952
18952
|
type: p.GenericReference,
|
|
18953
|
-
entityId:
|
|
18953
|
+
entityId: Ct.inputs.mode.id,
|
|
18954
18954
|
version: "1",
|
|
18955
18955
|
entityType: p.ValueDescriptor
|
|
18956
18956
|
}
|
|
18957
18957
|
}, BQe = {
|
|
18958
|
-
id:
|
|
18958
|
+
id: Ct.inputs.mode.id,
|
|
18959
18959
|
version: "1",
|
|
18960
18960
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
18961
18961
|
previousVersion: null,
|
|
@@ -18984,7 +18984,7 @@ and using the ID field provided by the response
|
|
|
18984
18984
|
parent: {
|
|
18985
18985
|
id: "external-integration--google-drive--smart-fetch-mode-input--ref",
|
|
18986
18986
|
type: p.GenericReference,
|
|
18987
|
-
entityId:
|
|
18987
|
+
entityId: Ct.inputs.mode.id,
|
|
18988
18988
|
version: "1",
|
|
18989
18989
|
entityType: p.ValueDescriptor
|
|
18990
18990
|
}
|
|
@@ -18994,12 +18994,12 @@ and using the ID field provided by the response
|
|
|
18994
18994
|
parent: {
|
|
18995
18995
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
18996
18996
|
type: p.GenericReference,
|
|
18997
|
-
entityId:
|
|
18997
|
+
entityId: Ct.id,
|
|
18998
18998
|
version: "1",
|
|
18999
18999
|
entityType: p.ActionDescriptor
|
|
19000
19000
|
}
|
|
19001
19001
|
}, MQe = {
|
|
19002
|
-
id:
|
|
19002
|
+
id: Ct.outputs.kind.dataType.id,
|
|
19003
19003
|
version: "1",
|
|
19004
19004
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19005
19005
|
previousVersion: null,
|
|
@@ -19023,12 +19023,12 @@ and using the ID field provided by the response
|
|
|
19023
19023
|
parent: {
|
|
19024
19024
|
id: "external-integration--google-drive--smart-fetch-kind-output--ref",
|
|
19025
19025
|
type: p.GenericReference,
|
|
19026
|
-
entityId:
|
|
19026
|
+
entityId: Ct.outputs.kind.id,
|
|
19027
19027
|
version: "1",
|
|
19028
19028
|
entityType: p.ValueDescriptor
|
|
19029
19029
|
}
|
|
19030
19030
|
}, UQe = {
|
|
19031
|
-
id:
|
|
19031
|
+
id: Ct.outputs.kind.id,
|
|
19032
19032
|
version: "1",
|
|
19033
19033
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19034
19034
|
previousVersion: null,
|
|
@@ -19046,12 +19046,12 @@ and using the ID field provided by the response
|
|
|
19046
19046
|
parent: {
|
|
19047
19047
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19048
19048
|
type: p.GenericReference,
|
|
19049
|
-
entityId:
|
|
19049
|
+
entityId: Ct.id,
|
|
19050
19050
|
version: "1",
|
|
19051
19051
|
entityType: p.ActionDescriptor
|
|
19052
19052
|
}
|
|
19053
19053
|
}, GQe = {
|
|
19054
|
-
id:
|
|
19054
|
+
id: Ct.outputs.mimeType.dataType.id,
|
|
19055
19055
|
version: "1",
|
|
19056
19056
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19057
19057
|
previousVersion: null,
|
|
@@ -19075,12 +19075,12 @@ and using the ID field provided by the response
|
|
|
19075
19075
|
parent: {
|
|
19076
19076
|
id: "external-integration--google-drive--smart-fetch-mime-output--ref",
|
|
19077
19077
|
type: p.GenericReference,
|
|
19078
|
-
entityId:
|
|
19078
|
+
entityId: Ct.outputs.mimeType.id,
|
|
19079
19079
|
version: "1",
|
|
19080
19080
|
entityType: p.ValueDescriptor
|
|
19081
19081
|
}
|
|
19082
19082
|
}, jQe = {
|
|
19083
|
-
id:
|
|
19083
|
+
id: Ct.outputs.mimeType.id,
|
|
19084
19084
|
version: "1",
|
|
19085
19085
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19086
19086
|
previousVersion: null,
|
|
@@ -19098,12 +19098,12 @@ and using the ID field provided by the response
|
|
|
19098
19098
|
parent: {
|
|
19099
19099
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19100
19100
|
type: p.GenericReference,
|
|
19101
|
-
entityId:
|
|
19101
|
+
entityId: Ct.id,
|
|
19102
19102
|
version: "1",
|
|
19103
19103
|
entityType: p.ActionDescriptor
|
|
19104
19104
|
}
|
|
19105
19105
|
}, kQe = {
|
|
19106
|
-
id:
|
|
19106
|
+
id: Ct.outputs.isBinary.dataType.id,
|
|
19107
19107
|
version: "1",
|
|
19108
19108
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19109
19109
|
previousVersion: null,
|
|
@@ -19127,12 +19127,12 @@ and using the ID field provided by the response
|
|
|
19127
19127
|
parent: {
|
|
19128
19128
|
id: "external-integration--google-drive--smart-fetch-is-binary-output--ref",
|
|
19129
19129
|
type: p.GenericReference,
|
|
19130
|
-
entityId:
|
|
19130
|
+
entityId: Ct.outputs.isBinary.id,
|
|
19131
19131
|
version: "1",
|
|
19132
19132
|
entityType: p.ValueDescriptor
|
|
19133
19133
|
}
|
|
19134
19134
|
}, FQe = {
|
|
19135
|
-
id:
|
|
19135
|
+
id: Ct.outputs.isBinary.id,
|
|
19136
19136
|
version: "1",
|
|
19137
19137
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19138
19138
|
previousVersion: null,
|
|
@@ -19150,12 +19150,12 @@ and using the ID field provided by the response
|
|
|
19150
19150
|
parent: {
|
|
19151
19151
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19152
19152
|
type: p.GenericReference,
|
|
19153
|
-
entityId:
|
|
19153
|
+
entityId: Ct.id,
|
|
19154
19154
|
version: "1",
|
|
19155
19155
|
entityType: p.ActionDescriptor
|
|
19156
19156
|
}
|
|
19157
19157
|
}, KQe = {
|
|
19158
|
-
id:
|
|
19158
|
+
id: Ct.outputs.title.dataType.id,
|
|
19159
19159
|
version: "1",
|
|
19160
19160
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19161
19161
|
previousVersion: null,
|
|
@@ -19179,12 +19179,12 @@ and using the ID field provided by the response
|
|
|
19179
19179
|
parent: {
|
|
19180
19180
|
id: "external-integration--google-drive--smart-fetch-title-output--ref",
|
|
19181
19181
|
type: p.GenericReference,
|
|
19182
|
-
entityId:
|
|
19182
|
+
entityId: Ct.outputs.title.id,
|
|
19183
19183
|
version: "1",
|
|
19184
19184
|
entityType: p.ValueDescriptor
|
|
19185
19185
|
}
|
|
19186
19186
|
}, SQe = {
|
|
19187
|
-
id:
|
|
19187
|
+
id: Ct.outputs.title.id,
|
|
19188
19188
|
version: "1",
|
|
19189
19189
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19190
19190
|
previousVersion: null,
|
|
@@ -19202,12 +19202,12 @@ and using the ID field provided by the response
|
|
|
19202
19202
|
parent: {
|
|
19203
19203
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19204
19204
|
type: p.GenericReference,
|
|
19205
|
-
entityId:
|
|
19205
|
+
entityId: Ct.id,
|
|
19206
19206
|
version: "1",
|
|
19207
19207
|
entityType: p.ActionDescriptor
|
|
19208
19208
|
}
|
|
19209
19209
|
}, qQe = {
|
|
19210
|
-
id:
|
|
19210
|
+
id: Ct.outputs.sizeBytes.dataType.id,
|
|
19211
19211
|
version: "1",
|
|
19212
19212
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19213
19213
|
previousVersion: null,
|
|
@@ -19231,12 +19231,12 @@ and using the ID field provided by the response
|
|
|
19231
19231
|
parent: {
|
|
19232
19232
|
id: "external-integration--google-drive--smart-fetch-size-bytes-output--ref",
|
|
19233
19233
|
type: p.GenericReference,
|
|
19234
|
-
entityId:
|
|
19234
|
+
entityId: Ct.outputs.sizeBytes.id,
|
|
19235
19235
|
version: "1",
|
|
19236
19236
|
entityType: p.ValueDescriptor
|
|
19237
19237
|
}
|
|
19238
19238
|
}, ZQe = {
|
|
19239
|
-
id:
|
|
19239
|
+
id: Ct.outputs.sizeBytes.id,
|
|
19240
19240
|
version: "1",
|
|
19241
19241
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19242
19242
|
previousVersion: null,
|
|
@@ -19254,12 +19254,12 @@ and using the ID field provided by the response
|
|
|
19254
19254
|
parent: {
|
|
19255
19255
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19256
19256
|
type: p.GenericReference,
|
|
19257
|
-
entityId:
|
|
19257
|
+
entityId: Ct.id,
|
|
19258
19258
|
version: "1",
|
|
19259
19259
|
entityType: p.ActionDescriptor
|
|
19260
19260
|
}
|
|
19261
19261
|
}, HQe = {
|
|
19262
|
-
id:
|
|
19262
|
+
id: Ct.outputs.text.dataType.id,
|
|
19263
19263
|
version: "1",
|
|
19264
19264
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19265
19265
|
previousVersion: null,
|
|
@@ -19283,12 +19283,12 @@ and using the ID field provided by the response
|
|
|
19283
19283
|
parent: {
|
|
19284
19284
|
id: "external-integration--google-drive--smart-fetch-text-output--ref",
|
|
19285
19285
|
type: p.GenericReference,
|
|
19286
|
-
entityId:
|
|
19286
|
+
entityId: Ct.outputs.text.id,
|
|
19287
19287
|
version: "1",
|
|
19288
19288
|
entityType: p.ValueDescriptor
|
|
19289
19289
|
}
|
|
19290
19290
|
}, JQe = {
|
|
19291
|
-
id:
|
|
19291
|
+
id: Ct.outputs.text.id,
|
|
19292
19292
|
version: "1",
|
|
19293
19293
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19294
19294
|
previousVersion: null,
|
|
@@ -19306,12 +19306,12 @@ and using the ID field provided by the response
|
|
|
19306
19306
|
parent: {
|
|
19307
19307
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19308
19308
|
type: p.GenericReference,
|
|
19309
|
-
entityId:
|
|
19309
|
+
entityId: Ct.id,
|
|
19310
19310
|
version: "1",
|
|
19311
19311
|
entityType: p.ActionDescriptor
|
|
19312
19312
|
}
|
|
19313
19313
|
}, zQe = {
|
|
19314
|
-
id:
|
|
19314
|
+
id: Ct.outputs.base64.dataType.id,
|
|
19315
19315
|
version: "1",
|
|
19316
19316
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19317
19317
|
previousVersion: null,
|
|
@@ -19335,12 +19335,12 @@ and using the ID field provided by the response
|
|
|
19335
19335
|
parent: {
|
|
19336
19336
|
id: "external-integration--google-drive--smart-fetch-base64-output--ref",
|
|
19337
19337
|
type: p.GenericReference,
|
|
19338
|
-
entityId:
|
|
19338
|
+
entityId: Ct.outputs.base64.id,
|
|
19339
19339
|
version: "1",
|
|
19340
19340
|
entityType: p.ValueDescriptor
|
|
19341
19341
|
}
|
|
19342
19342
|
}, WQe = {
|
|
19343
|
-
id:
|
|
19343
|
+
id: Ct.outputs.base64.id,
|
|
19344
19344
|
version: "1",
|
|
19345
19345
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19346
19346
|
previousVersion: null,
|
|
@@ -19358,12 +19358,12 @@ and using the ID field provided by the response
|
|
|
19358
19358
|
parent: {
|
|
19359
19359
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19360
19360
|
type: p.GenericReference,
|
|
19361
|
-
entityId:
|
|
19361
|
+
entityId: Ct.id,
|
|
19362
19362
|
version: "1",
|
|
19363
19363
|
entityType: p.ActionDescriptor
|
|
19364
19364
|
}
|
|
19365
19365
|
}, YQe = {
|
|
19366
|
-
id:
|
|
19366
|
+
id: Ct.outputs.json.dataType.id,
|
|
19367
19367
|
version: "1",
|
|
19368
19368
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19369
19369
|
previousVersion: null,
|
|
@@ -19387,12 +19387,12 @@ and using the ID field provided by the response
|
|
|
19387
19387
|
parent: {
|
|
19388
19388
|
id: "external-integration--google-drive--smart-fetch-json-output--ref",
|
|
19389
19389
|
type: p.GenericReference,
|
|
19390
|
-
entityId:
|
|
19390
|
+
entityId: Ct.outputs.json.id,
|
|
19391
19391
|
version: "1",
|
|
19392
19392
|
entityType: p.ValueDescriptor
|
|
19393
19393
|
}
|
|
19394
19394
|
}, XQe = {
|
|
19395
|
-
id:
|
|
19395
|
+
id: Ct.outputs.json.id,
|
|
19396
19396
|
version: "1",
|
|
19397
19397
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19398
19398
|
previousVersion: null,
|
|
@@ -19410,12 +19410,12 @@ and using the ID field provided by the response
|
|
|
19410
19410
|
parent: {
|
|
19411
19411
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19412
19412
|
type: p.GenericReference,
|
|
19413
|
-
entityId:
|
|
19413
|
+
entityId: Ct.id,
|
|
19414
19414
|
version: "1",
|
|
19415
19415
|
entityType: p.ActionDescriptor
|
|
19416
19416
|
}
|
|
19417
19417
|
}, QQe = {
|
|
19418
|
-
id:
|
|
19418
|
+
id: Ct.outputs.raw_json.dataType.id,
|
|
19419
19419
|
version: "1",
|
|
19420
19420
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19421
19421
|
previousVersion: null,
|
|
@@ -19439,12 +19439,12 @@ and using the ID field provided by the response
|
|
|
19439
19439
|
parent: {
|
|
19440
19440
|
id: "external-integration--google-drive--smart-fetch-raw-json-output--ref",
|
|
19441
19441
|
type: p.GenericReference,
|
|
19442
|
-
entityId:
|
|
19442
|
+
entityId: Ct.outputs.raw_json.id,
|
|
19443
19443
|
version: "1",
|
|
19444
19444
|
entityType: p.ValueDescriptor
|
|
19445
19445
|
}
|
|
19446
19446
|
}, eet = {
|
|
19447
|
-
id:
|
|
19447
|
+
id: Ct.outputs.raw_json.id,
|
|
19448
19448
|
version: "1",
|
|
19449
19449
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19450
19450
|
previousVersion: null,
|
|
@@ -19462,12 +19462,12 @@ and using the ID field provided by the response
|
|
|
19462
19462
|
parent: {
|
|
19463
19463
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
19464
19464
|
type: p.GenericReference,
|
|
19465
|
-
entityId:
|
|
19465
|
+
entityId: Ct.id,
|
|
19466
19466
|
version: "1",
|
|
19467
19467
|
entityType: p.ActionDescriptor
|
|
19468
19468
|
}
|
|
19469
19469
|
}, tet = {
|
|
19470
|
-
id:
|
|
19470
|
+
id: Ct.id,
|
|
19471
19471
|
version: "1",
|
|
19472
19472
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
19473
19473
|
previousVersion: null,
|
|
@@ -42313,8 +42313,8 @@ var NL = { exports: {} };
|
|
|
42313
42313
|
}, m: function xe(De, Ne) {
|
|
42314
42314
|
if (De.date() < Ne.date())
|
|
42315
42315
|
return -xe(Ne, De);
|
|
42316
|
-
var We = 12 * (Ne.year() - De.year()) + (Ne.month() - De.month()), Ke = De.clone().add(We, I), pt = Ne - Ke < 0,
|
|
42317
|
-
return +(-(We + (Ne - Ke) / (pt ? Ke -
|
|
42316
|
+
var We = 12 * (Ne.year() - De.year()) + (Ne.month() - De.month()), Ke = De.clone().add(We, I), pt = Ne - Ke < 0, Dt = De.clone().add(We + (pt ? -1 : 1), I);
|
|
42317
|
+
return +(-(We + (Ne - Ke) / (pt ? Ke - Dt : Dt - Ke)) || 0);
|
|
42318
42318
|
}, a: function(xe) {
|
|
42319
42319
|
return xe < 0 ? Math.ceil(xe) || 0 : Math.floor(xe);
|
|
42320
42320
|
}, p: function(xe) {
|
|
@@ -42332,9 +42332,9 @@ var NL = { exports: {} };
|
|
|
42332
42332
|
if (typeof De == "string") {
|
|
42333
42333
|
var pt = De.toLowerCase();
|
|
42334
42334
|
ue[pt] && (Ke = pt), Ne && (ue[pt] = Ne, Ke = pt);
|
|
42335
|
-
var
|
|
42336
|
-
if (!Ke &&
|
|
42337
|
-
return xe(
|
|
42335
|
+
var Dt = De.split("-");
|
|
42336
|
+
if (!Ke && Dt.length > 1)
|
|
42337
|
+
return xe(Dt[0]);
|
|
42338
42338
|
} else {
|
|
42339
42339
|
var vi = De.name;
|
|
42340
42340
|
ue[vi] = De, Ke = vi;
|
|
@@ -42364,10 +42364,10 @@ var NL = { exports: {} };
|
|
|
42364
42364
|
if (Ke instanceof Date)
|
|
42365
42365
|
return new Date(Ke);
|
|
42366
42366
|
if (typeof Ke == "string" && !/Z$/i.test(Ke)) {
|
|
42367
|
-
var
|
|
42368
|
-
if (
|
|
42369
|
-
var vi =
|
|
42370
|
-
return pt ? new Date(Date.UTC(
|
|
42367
|
+
var Dt = Ke.match(F);
|
|
42368
|
+
if (Dt) {
|
|
42369
|
+
var vi = Dt[2] - 1 || 0, Oi = (Dt[7] || "0").substring(0, 3);
|
|
42370
|
+
return pt ? new Date(Date.UTC(Dt[1], vi, Dt[3] || 1, Dt[4] || 0, Dt[5] || 0, Dt[6] || 0, Oi)) : new Date(Dt[1], vi, Dt[3] || 1, Dt[4] || 0, Dt[5] || 0, Dt[6] || 0, Oi);
|
|
42371
42371
|
}
|
|
42372
42372
|
}
|
|
42373
42373
|
return new Date(Ke);
|
|
@@ -42393,13 +42393,13 @@ var NL = { exports: {} };
|
|
|
42393
42393
|
}, De.valueOf = function() {
|
|
42394
42394
|
return this.$d.getTime();
|
|
42395
42395
|
}, De.startOf = function(Ne, We) {
|
|
42396
|
-
var Ke = this, pt = !!pe.u(We) || We,
|
|
42396
|
+
var Ke = this, pt = !!pe.u(We) || We, Dt = pe.p(Ne), vi = function(Un, gr) {
|
|
42397
42397
|
var En = pe.w(Ke.$u ? Date.UTC(Ke.$y, gr, Un) : new Date(Ke.$y, gr, Un), Ke);
|
|
42398
42398
|
return pt ? En : En.endOf(T);
|
|
42399
42399
|
}, Oi = function(Un, gr) {
|
|
42400
42400
|
return pe.w(Ke.toDate()[Un].apply(Ke.toDate("s"), (pt ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(gr)), Ke);
|
|
42401
42401
|
}, Fi = this.$W, or = this.$M, Er = this.$D, Tn = "set" + (this.$u ? "UTC" : "");
|
|
42402
|
-
switch (
|
|
42402
|
+
switch (Dt) {
|
|
42403
42403
|
case V:
|
|
42404
42404
|
return pt ? vi(1, 0) : vi(31, 11);
|
|
42405
42405
|
case I:
|
|
@@ -42422,7 +42422,7 @@ var NL = { exports: {} };
|
|
|
42422
42422
|
}, De.endOf = function(Ne) {
|
|
42423
42423
|
return this.startOf(Ne, !1);
|
|
42424
42424
|
}, De.$set = function(Ne, We) {
|
|
42425
|
-
var Ke, pt = pe.p(Ne),
|
|
42425
|
+
var Ke, pt = pe.p(Ne), Dt = "set" + (this.$u ? "UTC" : ""), vi = (Ke = {}, Ke[T] = Dt + "Date", Ke[B] = Dt + "Date", Ke[I] = Dt + "Month", Ke[V] = Dt + "FullYear", Ke[v] = Dt + "Hours", Ke[y] = Dt + "Minutes", Ke[e] = Dt + "Seconds", Ke[f] = Dt + "Milliseconds", Ke)[pt], Oi = pt === T ? this.$D + (We - this.$W) : We;
|
|
42426
42426
|
if (pt === I || pt === V) {
|
|
42427
42427
|
var Fi = this.clone().set(B, 1);
|
|
42428
42428
|
Fi.$d[vi](Oi), Fi.init(), this.$d = Fi.set(B, Math.min(this.$D, Fi.daysInMonth())).$d;
|
|
@@ -42436,19 +42436,19 @@ var NL = { exports: {} };
|
|
|
42436
42436
|
}, De.add = function(Ne, We) {
|
|
42437
42437
|
var Ke, pt = this;
|
|
42438
42438
|
Ne = Number(Ne);
|
|
42439
|
-
var
|
|
42439
|
+
var Dt = pe.p(We), vi = function(or) {
|
|
42440
42440
|
var Er = ee(pt);
|
|
42441
42441
|
return pe.w(Er.date(Er.date() + Math.round(or * Ne)), pt);
|
|
42442
42442
|
};
|
|
42443
|
-
if (
|
|
42443
|
+
if (Dt === I)
|
|
42444
42444
|
return this.set(I, this.$M + Ne);
|
|
42445
|
-
if (
|
|
42445
|
+
if (Dt === V)
|
|
42446
42446
|
return this.set(V, this.$y + Ne);
|
|
42447
|
-
if (
|
|
42447
|
+
if (Dt === T)
|
|
42448
42448
|
return vi(1);
|
|
42449
|
-
if (
|
|
42449
|
+
if (Dt === A)
|
|
42450
42450
|
return vi(7);
|
|
42451
|
-
var Oi = (Ke = {}, Ke[y] = a, Ke[v] = o, Ke[e] = i, Ke)[
|
|
42451
|
+
var Oi = (Ke = {}, Ke[y] = a, Ke[v] = o, Ke[e] = i, Ke)[Dt] || 1, Fi = this.$d.getTime() + Ne * Oi;
|
|
42452
42452
|
return pe.w(Fi, this);
|
|
42453
42453
|
}, De.subtract = function(Ne, We) {
|
|
42454
42454
|
return this.add(-1 * Ne, We);
|
|
@@ -42456,7 +42456,7 @@ var NL = { exports: {} };
|
|
|
42456
42456
|
var We = this, Ke = this.$locale();
|
|
42457
42457
|
if (!this.isValid())
|
|
42458
42458
|
return Ke.invalidDate || M;
|
|
42459
|
-
var pt = Ne || "YYYY-MM-DDTHH:mm:ssZ",
|
|
42459
|
+
var pt = Ne || "YYYY-MM-DDTHH:mm:ssZ", Dt = pe.z(this), vi = this.$H, Oi = this.$m, Fi = this.$M, or = Ke.weekdays, Er = Ke.months, Tn = Ke.meridiem, Mn = function(gr, En, gs, Us) {
|
|
42460
42460
|
return gr && (gr[En] || gr(We, pt)) || gs[En].slice(0, Us);
|
|
42461
42461
|
}, Es = function(gr) {
|
|
42462
42462
|
return pe.s(vi % 12 || 12, gr, "0");
|
|
@@ -42514,16 +42514,16 @@ var NL = { exports: {} };
|
|
|
42514
42514
|
case "SSS":
|
|
42515
42515
|
return pe.s(We.$ms, 3, "0");
|
|
42516
42516
|
case "Z":
|
|
42517
|
-
return
|
|
42517
|
+
return Dt;
|
|
42518
42518
|
}
|
|
42519
42519
|
return null;
|
|
42520
|
-
}(gr) ||
|
|
42520
|
+
}(gr) || Dt.replace(":", "");
|
|
42521
42521
|
});
|
|
42522
42522
|
}, De.utcOffset = function() {
|
|
42523
42523
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
42524
42524
|
}, De.diff = function(Ne, We, Ke) {
|
|
42525
|
-
var pt,
|
|
42526
|
-
return pe.m(
|
|
42525
|
+
var pt, Dt = this, vi = pe.p(We), Oi = ee(Ne), Fi = (Oi.utcOffset() - this.utcOffset()) * a, or = this - Oi, Er = function() {
|
|
42526
|
+
return pe.m(Dt, Oi);
|
|
42527
42527
|
};
|
|
42528
42528
|
switch (vi) {
|
|
42529
42529
|
case V:
|
|
@@ -42594,7 +42594,7 @@ function Lr(d) {
|
|
|
42594
42594
|
function Gc(d) {
|
|
42595
42595
|
return d.charAt(0).toLowerCase() + d.slice(1);
|
|
42596
42596
|
}
|
|
42597
|
-
var Z = /* @__PURE__ */ ((d) => (d.Error = "error", d.Warning = "warning", d))(Z || {}), se = /* @__PURE__ */ ((d) => (d.InvalidObjectStructure = "invalid-object-structure", d.NameNotUniqueInScope = "name-not-unique-in-scope", d.NameAsResolvedCodeNameNotUniqueInScope = "name-as-resolved-code-name-not-unique-in-scope", d.NameMustStartWithLetterOrUnderscore = "name-must-start-with-letter-or-underscore", d.NameCanOnlyContainLettersNumbersUnderscoreAndSpaces = "name-can-only-contain-letters-numbers-underscore-and-spaces", d.NameIsForbiddenKeyword = "name-is-forbidden-keyword", d.EmptyName = "empty-name", d.MissingCaller = "missing-caller", d.PropertyOverwritesOtherSiblingWithSameName = "property-overwrites-other-sibling-with-same-name", d.PropertyOverwritesOtherSiblingWithSameImplementation = "property-overwrites-other-sibling-with-same-name", d.PropertyOverwritesOtherImplementedEntitysPropertyWithSameName = "property-overwrites-other-implemented-entitys-property-with-same-name", d.PropertyOverwritesOtherImplementedEntitysPropertyWithSameImplementation = "property-overwrites-other-implemented-entitys-property-with-same-name", d.PropertyOverwritesOtherExtendedEntitysPropertyWithSameImplementation = "property-overwrites-other-extended-entitys-property-with-same-name", d.PropertyOverwritesOtherExtendedEntitysPropertyWithSameName = "property-overwrites-other-extended-entitys-property-with-same-name", d.PropertyOverwritesBasePropertyWithSameName = "property-overwrites-base-property-with-same-name", d.PropertyOverwritesBasePropertyWithSameImplementation = "property-overwrites-base-property-with-same-name", d.MethodOverwritesOtherSiblingWithSameName = "method-overwrites-other-sibling-with-same-name", d.MethodOverwritesOtherSiblingWithSameImplementation = "method-overwrites-other-sibling-with-same-name", d.MethodOverwritesOtherImplementedEntitysMethodWithSameName = "method-overwrites-other-implemented-entitys-method-with-same-name", d.MethodOverwritesOtherImplementedEntitysMethodWithSameImplementation = "method-overwrites-other-implemented-entitys-method-with-same-name", d.MethodOverwritesOtherExtendedEntitysMethodWithSameImplementation = "method-overwrites-other-extended-entitys-method-with-same-name", d.MethodOverwritesOtherExtendedEntitysMethodWithSameName = "method-overwrites-other-extended-entitys-method-with-same-name", d.MethodOverwritesBaseMethodWithSameName = "method-overwrites-base-method-with-same-name", d.MethodOverwritesBaseMethodWithSameImplementation = "method-overwrites-base-method-with-same-name", d.LoopBodyFunctionOverwrite = "loop-body-function-overwrite", d.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", d.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", d.UnreachableEntity = "unreachable-entity", d.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", d.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", d.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", d.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", d.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", d.GlobalVariableDeclarationCannotCatchError = "global-variable-declaration-cannot-catch-error", d.GlobalVariableDeclarationCannotCallOnError = "global-variable-declaration-cannot-call-on-error", d.GlobalVariableDeclarationCannotBeCalled = "global-variable-declaration-cannot-be-called", d))(se || {}), K = /* @__PURE__ */ ((d) => (d.RootReference = "root-reference", d.InvalidUUIDStringFormat = "invalid-uuid-string-format", d.ReferencedEntityNotFound = "referenced-entity-not-found", d.EntityIdNotUnique = "entity-id-not-unique", d.BuiltInEntityGenerated = "built-in-entity-generated", d.BuiltInEntityUpdated = "built-in-entity-updated", d.BuiltInEntityDeleted = "built-in-entity-deleted", d.UnknownEntityType = "unknown-entity-type", d.MissingTypeProperty = "missing-type-property", d.MissingIdProperty = "missing-id-property", d.BuiltInEntityParent = "built-in-entity-parent", d.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", d.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", d.RecommendedImplementOperationAction = "recommended-implement-operation-action", d.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", d.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", d.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", d.RecommendedImplementConditionAction = "recommended-implement-condition-action", d.InvalidReferenceObjectStructure = "invalid-reference-object-structure", d.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", d.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", d.InvalidParentReference = "invalid-parent-reference", d.InvalidImplementsReference = "invalid-implements-reference", d.InvalidExtendsReference = "invalid-extends-reference", d.InvalidGenerationActionPayload = "invalid-generation-action-payload", d.InvalidReference = "invalid-reference", d.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", d.InvalidUpdateEntityOperation = "invalid-update-entity-operation", d.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", d.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", d.UnrecognizedProperty = "unrecognized-property", d.SelfReference = "self-reference", d.DuplicateReference = "duplicate-reference", d.CallerWithIncompatibleScope = "caller-with-incompatible-scope", d.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", d.InvalidInputMapDeclaration = "invalid-input-map-declaration", d.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", d.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", d.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", d.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", d.OutputOverwrite = "output-overwrite", d.InputOverwrite = "input-overwrite", d.IncompatibleScope = "incompatible-scope", d.InvalidParentUpdate = "invalid-parent-update", d.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", d.InvalidParentRelationType = "invalid-parent-relation-type", d))(K || {}), re = /* @__PURE__ */ ((d) => (d.NoPrimaryKeyProperty = "no-primary-key-property", d.ScopeWithoutLogic = "scope-without-logic", d.AbstractEntityImplements = "abstract-entity-implements", d.ImplementsIncompatibleEntities = "implements-incompatible-entities", d.ExtendsIncompatibleEntities = "extends-incompatible-entities", d.NonAbstractExtendingAbstractEntity = "non-abstract-extending-abstract-entity", d.AbstractExtendingNonAbstractEntity = "abstract-extending-non-abstract-entity", d.NonStaticExtendingStaticEntity = "non-static-extending-static-entity", d.StaticExtendingNonStaticEntity = "static-extending-non-static-entity", d.StaticImplementingNonStaticEntity = "static-implementing-non-static-entity", d.NonStaticImplementingStaticEntity = "non-static-implementing-static-entity", d.ImplementingNonAbstractEntity = "implementing-non-abstract-entity", d.ExtendingNonInteractiveEntity = "extending-non-interactive-entity", d.AbstractEntityWithNonAbstractMethods = "abstract-entity-with-non-abstract-methods", d.AbstractEntityWithNonAbstractProperties = "abstract-entity-with-non-abstract-properties", d.StaticEntityWithNonStaticProperties = "static-entity-with-non-static-properties", d.NonStaticPropertyInStaticEntity = "non-static-property-in-static-entity", d.AbstractPropertyInNonAbstractEntity = "abstract-property-in-non-abstract-entity", d.AbstractMethodInNonAbstractEntity = "abstract-method-in-non-abstract-entity", d.IncorrectEntityImplementation = "incorrect-entity-implementation", d.IncorrectMethodImplementation = "incorrect-method-implementation", d.IncorrectPropertyImplementation = "incorrect-property-implementation", d.PropertyImplementsNonAbstact = "property-implements-non-abstract", d.NonStaticPropertyImplementsStatic = "non-static-property-implements-static", d.StaticPropertyImplementsNonStatic = "static-property-implements-non-static", d.PropertyImplementsIncompatibleType = "property-implements-incompatible-type", d.MissingPropertyImplementation = "missing-property-implementation", d.MissingMethodImplementation = "missing-method-implementation", d.NoProperties = "no-properties", d.ReadingFromIncompatibleType = "reading-from-incompatible-type", d.WritingToIncompatibleType = "writing-to-incompatible-type", d.InvalidPropertiesCombination = "invalid-properties-combination", d.DisconnectedCallableEntity = "disconnected-callable-entity", d.VariableReadsValueAndInternalCall = "variable-reads-value-and-internal-call", d.VariableWritesValuesAndInternalCall = "variable-writes-values-and-internal-call", d.VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls", d.VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call", d.VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call", d.VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call", d.MissingRequiredValue = "missing-required-value", d.LackingReturnStatementOnSomeBranches = "lacking-return-statement-on-some-branches", d.LastCalledEntityMustBeReturnEntity = "last-called-entity-must-be-return-entity", d))(re || {});
|
|
42597
|
+
var Z = /* @__PURE__ */ ((d) => (d.Error = "error", d.Warning = "warning", d))(Z || {}), se = /* @__PURE__ */ ((d) => (d.InvalidObjectStructure = "invalid-object-structure", d.NameNotUniqueInScope = "name-not-unique-in-scope", d.NameAsResolvedCodeNameNotUniqueInScope = "name-as-resolved-code-name-not-unique-in-scope", d.NameMustStartWithLetterOrUnderscore = "name-must-start-with-letter-or-underscore", d.NameCanOnlyContainLettersNumbersUnderscoreAndSpaces = "name-can-only-contain-letters-numbers-underscore-and-spaces", d.NameIsForbiddenKeyword = "name-is-forbidden-keyword", d.EmptyName = "empty-name", d.MissingCaller = "missing-caller", d.PropertyOverwritesOtherSiblingWithSameName = "property-overwrites-other-sibling-with-same-name", d.PropertyOverwritesOtherSiblingWithSameImplementation = "property-overwrites-other-sibling-with-same-name", d.PropertyOverwritesOtherImplementedEntitysPropertyWithSameName = "property-overwrites-other-implemented-entitys-property-with-same-name", d.PropertyOverwritesOtherImplementedEntitysPropertyWithSameImplementation = "property-overwrites-other-implemented-entitys-property-with-same-name", d.PropertyOverwritesOtherExtendedEntitysPropertyWithSameImplementation = "property-overwrites-other-extended-entitys-property-with-same-name", d.PropertyOverwritesOtherExtendedEntitysPropertyWithSameName = "property-overwrites-other-extended-entitys-property-with-same-name", d.PropertyOverwritesBasePropertyWithSameName = "property-overwrites-base-property-with-same-name", d.PropertyOverwritesBasePropertyWithSameImplementation = "property-overwrites-base-property-with-same-name", d.MethodOverwritesOtherSiblingWithSameName = "method-overwrites-other-sibling-with-same-name", d.MethodOverwritesOtherSiblingWithSameImplementation = "method-overwrites-other-sibling-with-same-name", d.MethodOverwritesOtherImplementedEntitysMethodWithSameName = "method-overwrites-other-implemented-entitys-method-with-same-name", d.MethodOverwritesOtherImplementedEntitysMethodWithSameImplementation = "method-overwrites-other-implemented-entitys-method-with-same-name", d.MethodOverwritesOtherExtendedEntitysMethodWithSameImplementation = "method-overwrites-other-extended-entitys-method-with-same-name", d.MethodOverwritesOtherExtendedEntitysMethodWithSameName = "method-overwrites-other-extended-entitys-method-with-same-name", d.MethodOverwritesBaseMethodWithSameName = "method-overwrites-base-method-with-same-name", d.MethodOverwritesBaseMethodWithSameImplementation = "method-overwrites-base-method-with-same-name", d.LoopBodyFunctionOverwrite = "loop-body-function-overwrite", d.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", d.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", d.UnreachableEntity = "unreachable-entity", d.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", d.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", d.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", d.InternalCallDeclarationNotFound = "internal-call-declaration-not-found", d.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", d.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", d.GlobalVariableDeclarationCannotCatchError = "global-variable-declaration-cannot-catch-error", d.GlobalVariableDeclarationCannotCallOnError = "global-variable-declaration-cannot-call-on-error", d.GlobalVariableDeclarationCannotBeCalled = "global-variable-declaration-cannot-be-called", d))(se || {}), K = /* @__PURE__ */ ((d) => (d.RootReference = "root-reference", d.InvalidUUIDStringFormat = "invalid-uuid-string-format", d.ReferencedEntityNotFound = "referenced-entity-not-found", d.EntityIdNotUnique = "entity-id-not-unique", d.BuiltInEntityGenerated = "built-in-entity-generated", d.BuiltInEntityUpdated = "built-in-entity-updated", d.BuiltInEntityDeleted = "built-in-entity-deleted", d.UnknownEntityType = "unknown-entity-type", d.MissingTypeProperty = "missing-type-property", d.MissingIdProperty = "missing-id-property", d.BuiltInEntityParent = "built-in-entity-parent", d.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", d.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", d.RecommendedImplementOperationAction = "recommended-implement-operation-action", d.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", d.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", d.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", d.RecommendedImplementConditionAction = "recommended-implement-condition-action", d.InvalidReferenceObjectStructure = "invalid-reference-object-structure", d.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", d.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", d.InvalidParentReference = "invalid-parent-reference", d.InvalidImplementsReference = "invalid-implements-reference", d.InvalidExtendsReference = "invalid-extends-reference", d.InvalidGenerationActionPayload = "invalid-generation-action-payload", d.InvalidReference = "invalid-reference", d.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", d.InvalidUpdateEntityOperation = "invalid-update-entity-operation", d.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", d.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", d.UnrecognizedProperty = "unrecognized-property", d.SelfReference = "self-reference", d.DuplicateReference = "duplicate-reference", d.CallerWithIncompatibleScope = "caller-with-incompatible-scope", d.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", d.InvalidInputMapDeclaration = "invalid-input-map-declaration", d.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", d.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", d.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", d.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", d.OutputOverwrite = "output-overwrite", d.InputOverwrite = "input-overwrite", d.IncompatibleScope = "incompatible-scope", d.InvalidParentUpdate = "invalid-parent-update", d.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", d.InvalidParentRelationType = "invalid-parent-relation-type", d))(K || {}), re = /* @__PURE__ */ ((d) => (d.NoPrimaryKeyProperty = "no-primary-key-property", d.ScopeWithoutLogic = "scope-without-logic", d.AbstractEntityImplements = "abstract-entity-implements", d.ImplementsIncompatibleEntities = "implements-incompatible-entities", d.ExtendsIncompatibleEntities = "extends-incompatible-entities", d.NonAbstractExtendingAbstractEntity = "non-abstract-extending-abstract-entity", d.AbstractExtendingNonAbstractEntity = "abstract-extending-non-abstract-entity", d.NonStaticExtendingStaticEntity = "non-static-extending-static-entity", d.StaticExtendingNonStaticEntity = "static-extending-non-static-entity", d.StaticImplementingNonStaticEntity = "static-implementing-non-static-entity", d.NonStaticImplementingStaticEntity = "non-static-implementing-static-entity", d.ImplementingNonAbstractEntity = "implementing-non-abstract-entity", d.ExtendingNonInteractiveEntity = "extending-non-interactive-entity", d.AbstractEntityWithNonAbstractMethods = "abstract-entity-with-non-abstract-methods", d.AbstractEntityWithNonAbstractProperties = "abstract-entity-with-non-abstract-properties", d.StaticEntityWithNonStaticProperties = "static-entity-with-non-static-properties", d.NonStaticPropertyInStaticEntity = "non-static-property-in-static-entity", d.AbstractPropertyInNonAbstractEntity = "abstract-property-in-non-abstract-entity", d.AbstractMethodInNonAbstractEntity = "abstract-method-in-non-abstract-entity", d.IncorrectEntityImplementation = "incorrect-entity-implementation", d.IncorrectMethodImplementation = "incorrect-method-implementation", d.IncorrectPropertyImplementation = "incorrect-property-implementation", d.PropertyImplementsNonAbstact = "property-implements-non-abstract", d.NonStaticPropertyImplementsStatic = "non-static-property-implements-static", d.StaticPropertyImplementsNonStatic = "static-property-implements-non-static", d.PropertyImplementsIncompatibleType = "property-implements-incompatible-type", d.MissingPropertyImplementation = "missing-property-implementation", d.MissingMethodImplementation = "missing-method-implementation", d.NoProperties = "no-properties", d.ReadingFromIncompatibleType = "reading-from-incompatible-type", d.WritingToIncompatibleType = "writing-to-incompatible-type", d.InvalidPropertiesCombination = "invalid-properties-combination", d.DisconnectedCallableEntity = "disconnected-callable-entity", d.VariableReadsValueAndInternalCall = "variable-reads-value-and-internal-call", d.VariableWritesValuesAndInternalCall = "variable-writes-values-and-internal-call", d.VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls", d.VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call", d.VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call", d.VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call", d.MissingRequiredValue = "missing-required-value", d.LackingReturnStatementOnSomeBranches = "lacking-return-statement-on-some-branches", d.LastCalledEntityMustBeReturnEntity = "last-called-entity-must-be-return-entity", d))(re || {});
|
|
42598
42598
|
class oe {
|
|
42599
42599
|
constructor(u) {
|
|
42600
42600
|
// A deterministic error code, so if the same error occurs again in a subsequent validation run,
|
|
@@ -42658,7 +42658,7 @@ function xL(d) {
|
|
|
42658
42658
|
const u = /* @__PURE__ */ new Set();
|
|
42659
42659
|
return d.filter((i) => u.has(i.id) ? !1 : (u.add(i.id), !0));
|
|
42660
42660
|
}
|
|
42661
|
-
function
|
|
42661
|
+
function _t(d) {
|
|
42662
42662
|
const u = d.entity.errors.find((a) => a.id === d.id);
|
|
42663
42663
|
return u ? { new: !1, error: u } : { new: !0, error: new fi(d) };
|
|
42664
42664
|
}
|
|
@@ -45896,7 +45896,7 @@ function L2(d) {
|
|
|
45896
45896
|
function kwt(d) {
|
|
45897
45897
|
const u = [];
|
|
45898
45898
|
if (!d.calls.length && !d.extends) {
|
|
45899
|
-
const i =
|
|
45899
|
+
const i = _t({
|
|
45900
45900
|
id: `${d.id}--${re.ScopeWithoutLogic}`,
|
|
45901
45901
|
message: `Action "${z(d, d.project)}" with id "${d.id}" does not have any logic defined. So it doesn't do anything.`,
|
|
45902
45902
|
severity: Z.Warning,
|
|
@@ -47470,7 +47470,7 @@ let Al = Gt;
|
|
|
47470
47470
|
function M2(d) {
|
|
47471
47471
|
const u = [];
|
|
47472
47472
|
if (d.entity && d.andChildrenGroup || d.entity && d.orChildrenGroup || d.andChildrenGroup && d.orChildrenGroup) {
|
|
47473
|
-
const i =
|
|
47473
|
+
const i = _t({
|
|
47474
47474
|
id: d.id + "--" + re.InvalidPropertiesCombination,
|
|
47475
47475
|
message: `Data type with id "${d.id}" has invalid properties combination. Only one of the following properties can be present at the time: 'entity', 'andChildrenGroup' or 'orChildrenGroup'`,
|
|
47476
47476
|
severity: Z.Error,
|
|
@@ -70843,7 +70843,7 @@ class ia extends Wc {
|
|
|
70843
70843
|
}
|
|
70844
70844
|
}
|
|
70845
70845
|
async executeCondition(i, a) {
|
|
70846
|
-
var f, e, y, v, T, A, I, D, V, B, M, F, S, ne, te, de, Y, ue, W, Q, ce, ee, pe, Ee, Fe, xe, De, Ne, We, Ke, pt,
|
|
70846
|
+
var f, e, y, v, T, A, I, D, V, B, M, F, S, ne, te, de, Y, ue, W, Q, ce, ee, pe, Ee, Fe, xe, De, Ne, We, Ke, pt, Dt, vi, Oi, Fi, or, Er, Tn, Mn, Es, Un, gr, En, gs, Us, Xu, Fo, Qu;
|
|
70847
70847
|
let o = !1;
|
|
70848
70848
|
switch (i.declaration.id) {
|
|
70849
70849
|
case Dr.Empty: {
|
|
@@ -70888,7 +70888,7 @@ class ia extends Wc {
|
|
|
70888
70888
|
break;
|
|
70889
70889
|
}
|
|
70890
70890
|
if (((xe = (Fe = a[0]) == null ? void 0 : Fe.value) == null ? void 0 : xe.name) === X.Untyped || ((Ne = (De = a[0]) == null ? void 0 : De.value) == null ? void 0 : Ne.name) === X.KeyValue) {
|
|
70891
|
-
const Gs = (Ke = (We = a[0]) == null ? void 0 : We.value) == null ? void 0 : Ke.value, Ir = (
|
|
70891
|
+
const Gs = (Ke = (We = a[0]) == null ? void 0 : We.value) == null ? void 0 : Ke.value, Ir = (Dt = (pt = a[1]) == null ? void 0 : pt.value) == null ? void 0 : Dt.value;
|
|
70892
70892
|
o = JSON.stringify(Gs) !== JSON.stringify(Ir);
|
|
70893
70893
|
break;
|
|
70894
70894
|
}
|
|
@@ -74063,7 +74063,7 @@ function GB(d) {
|
|
|
74063
74063
|
if (d.parent !== d.project)
|
|
74064
74064
|
return u;
|
|
74065
74065
|
if (d.catchesError) {
|
|
74066
|
-
const i =
|
|
74066
|
+
const i = _t({
|
|
74067
74067
|
id: `${d.id}--${se.GlobalVariableDeclarationCannotCatchError}`,
|
|
74068
74068
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" cannot catch an error because it is globally declared. Global variable declarations must crash the project if an error occurs.`,
|
|
74069
74069
|
severity: Z.Error,
|
|
@@ -74073,7 +74073,7 @@ function GB(d) {
|
|
|
74073
74073
|
u.push(i.error);
|
|
74074
74074
|
}
|
|
74075
74075
|
if (d.errorCalls.length) {
|
|
74076
|
-
const i =
|
|
74076
|
+
const i = _t({
|
|
74077
74077
|
id: `${d.id}--${se.GlobalVariableDeclarationCannotCallOnError}`,
|
|
74078
74078
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" cannot call other entities from its error branch because it is globally declared. Global variable declarations must crash the project if an error occurs.`,
|
|
74079
74079
|
severity: Z.Error,
|
|
@@ -74083,7 +74083,7 @@ function GB(d) {
|
|
|
74083
74083
|
u.push(i.error);
|
|
74084
74084
|
}
|
|
74085
74085
|
if (d.calledBy.length) {
|
|
74086
|
-
const i =
|
|
74086
|
+
const i = _t({
|
|
74087
74087
|
id: `${d.id}--${se.GlobalVariableDeclarationCannotBeCalled}`,
|
|
74088
74088
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" cannot be called because it is globally declared. Global variable declarations must be self initialized when the project is loaded, and not be called for initialization.`,
|
|
74089
74089
|
severity: Z.Error,
|
|
@@ -80173,7 +80173,7 @@ const Qd = Xr, mg = jf, eu = BM, x = ci, ta = Ls, $ = T0, br = E0, o$ = g0, C =
|
|
|
80173
80173
|
};
|
|
80174
80174
|
function a(o, f) {
|
|
80175
80175
|
f = f !== void 0 ? f : {};
|
|
80176
|
-
var e = {}, y = f.grammarSource, v = { start: z1 }, T = z1, A = ";", I = ",", D = ".", V = "*", B = "=", M = ":", F = "[", S = "]", ne = "<", te = ">", de = ":=", Y = "||", ue = "&&", W = ">=", Q = "<=", ce = "<>", ee = "!=", pe = "<=>", Ee = "==", Fe = "||/", xe = "|/", De = ">>", Ne = "<<", We = "!~~*", Ke = "~~*", pt = "!~~",
|
|
80176
|
+
var e = {}, y = f.grammarSource, v = { start: z1 }, T = z1, A = ";", I = ",", D = ".", V = "*", B = "=", M = ":", F = "[", S = "]", ne = "<", te = ">", de = ":=", Y = "||", ue = "&&", W = ">=", Q = "<=", ce = "<>", ee = "!=", pe = "<=>", Ee = "==", Fe = "||/", xe = "|/", De = ">>", Ne = "<<", We = "!~~*", Ke = "~~*", pt = "!~~", Dt = "~~", vi = "!~*", Oi = "~*", Fi = "!~", or = "^@", Er = "->>", Tn = "->", Mn = "#>>", Es = "#>", Un = "@>", gr = "<@", En = "?|", gs = "?&", Us = "#-", Xu = "@?", Fo = "@@", Qu = "!", Gs = "~", Ir = "@", dd = "#", ep = "&", j0 = "|", Ko = "`", k0 = "?", F0 = "/", K0 = "%", ud = "^", pd = "-", iy = "+", ry = "::", It = "(", bt = ")", e1 = "=>", rs = "$", t1 = "``", i1 = "]]", Is = "_", So = `
|
|
80177
80177
|
`, gn = "'", MU = "E", ny = "U&", sy = "''", js = '"', ay = '""', qa = "'''", Za = '"""', r1 = "\\n", n1 = "\\r", s1 = "\\t", a1 = "\\b", o1 = "\\f", l1 = "\\v", d1 = "\\a", qo = "\\", S0 = "x", UU = "u", GU = "U", u1 = "\\%", p1 = "\\_", c1 = "\\0", f1 = "\\Z", jU = "n", kU = "r", FU = "rb", KU = "br", Ha = "$$", y1 = "b", cd = "0x", oy = "0b", h1 = "0o", ly = "/*", ns = "*/", m1 = "--", v1 = `\r
|
|
80178
80178
|
`, SU = "abort", qU = "access", ZU = "action", HU = "add", JU = "admin", zU = "after", WU = "against", YU = "all", XU = "alter", QU = "always", eG = "analyze", tG = "and", iG = "any", rG = "array", nG = "as", sG = "asc", aG = "assert", oG = "assignment", lG = "at", dG = "atomic", uG = "attach", pG = "attribute", cG = "authorization", fG = "auto_increment", yG = "autoextend_size", hG = "autoincrement", mG = "avg_row_length", vG = "before", TG = "begin", EG = "bernoulli", gG = "between", IG = "bi_capacity", AG = "bigdecimal", bG = "bigint", wG = "bignumeric", RG = "binary", _G = "bit", CG = "blob", DG = "bool", OG = "boolean", $G = "breadth", PG = "break", VG = "by", NG = "bypassrls", xG = "byteint", LG = "bytes", BG = "cache", MG = "call", UG = "called", GG = "capacity", jG = "cascade", kG = "cascaded", FG = "case", KG = "cast", SG = "century", qG = "chain", ZG = "char", HG = "character", JG = "check", zG = "checksum", WG = "clone", YG = "cluster", XG = "collate", QG = "column", ej = "column_format", tj = "columns", ij = "comment", rj = "comments", nj = "commit", sj = "committed", aj = "compact", oj = "compressed", lj = "compression", dj = "concurrently", uj = "conflict", pj = "connect", cj = "connection", fj = "constraint", yj = "constraints", hj = "continue", mj = "copy", vj = "cost", Tj = "create", Ej = "createdb", gj = "createrole", Ij = "cross", Aj = "cube", bj = "cume_dist", wj = "current", Rj = "current_catalog", _j = "current_date", Cj = "current_datetime", Dj = "current_role", Oj = "current_schema", $j = "current_time", Pj = "current_timestamp", Vj = "current_user", Nj = "cycle", xj = "data", Lj = "database", Bj = "date", Mj = "datetime", Uj = "day", Gj = "day_hour", jj = "day_microsecond", kj = "day_minute", Fj = "day_second", Kj = "dayofweek", Sj = "dayofyear", qj = "dec", Zj = "decade", Hj = "decimal", Jj = "declare", zj = "default", Wj = "defaults", Yj = "deferrable", Xj = "deferred", Qj = "definer", e3 = "delay_key_write", t3 = "delayed", i3 = "delete", r3 = "dense_rank", n3 = "depends", s3 = "depth", a3 = "desc", o3 = "describe", l3 = "detach", d3 = "deterministic", u3 = "directory", p3 = "disable", c3 = "disk", f3 = "distinct", y3 = "distinctrow", h3 = "div", m3 = "do", v3 = "domain", T3 = "double", E3 = "dow", g3 = "doy", I3 = "drop", A3 = "dual", b3 = "dumpfile", w3 = "duplicate", R3 = "dynamic", _3 = "each", C3 = "else", D3 = "elseif", O3 = "enable", $3 = "enclosed", P3 = "encrypted", V3 = "encryption", N3 = "end", x3 = "enforced", L3 = "engine", B3 = "engine_attribute", M3 = "enum", U3 = "epoch", G3 = "error", j3 = "escape", k3 = "escaped", F3 = "examined", K3 = "except", S3 = "exception", q3 = "exclude", Z3 = "excluding", H3 = "exclusive", J3 = "execute", z3 = "exists", W3 = "expansion", Y3 = "explain", X3 = "export", Q3 = "expression", ek = "extended", tk = "extension", ik = "external", rk = "extract", nk = "fail", sk = "false", ak = "fetch", ok = "fields", lk = "files", dk = "filter", uk = "first", pk = "first_value", ck = "fixed", fk = "float", yk = "float64", hk = "following", mk = "for", vk = "force", Tk = "foreign", Ek = "format", gk = "friday", Ik = "from", Ak = "full", bk = "fulltext", wk = "function", Rk = "functions", _k = "generated", Ck = "geography", Dk = "glob", Ok = "global", $k = "grant", Pk = "granted", Vk = "group", Nk = "grouping", xk = "groups", Lk = "hash", Bk = "having", Mk = "high_priority", Uk = "hour", Gk = "hour_microsecond", jk = "hour_minute", kk = "hour_second", Fk = "identity", Kk = "if", Sk = "ignore", qk = "ilike", Zk = "immediate", Hk = "immutable", Jk = "in", zk = "include", Wk = "including", Yk = "increment", Xk = "index", Qk = "indexed", eF = "indexes", tF = "inherit", iF = "inherits", rF = "initially", nF = "inner", sF = "inout", aF = "input", oF = "insert", lF = "insert_method", dF = "instead", uF = "int", pF = "int64", cF = "integer", fF = "intersect", yF = "interval", hF = "into", mF = "invisible", vF = "invoker", TF = "is", EF = "isnull", gF = "isodow", IF = "isolation", AF = "isoweek", bF = "isoyear", wF = "iterate", RF = "join", _F = "json", CF = "jsonb", DF = "julian", OF = "key", $F = "key_block_size", PF = "lag", VF = "language", NF = "large", xF = "last", LF = "last_value", BF = "lateral", MF = "lead", UF = "leakproof", GF = "leave", jF = "left", kF = "level", FF = "like", KF = "limit", SF = "lines", qF = "list", ZF = "load", HF = "local", JF = "localtime", zF = "localtimestamp", WF = "lock", YF = "locked", XF = "logged", QF = "login", e6 = "longblob", t6 = "longtext", i6 = "loop", r6 = "low_priority", n6 = "main", s6 = "maintain", a6 = "match", o6 = "matched", l6 = "materialized", d6 = "max", u6 = "max_rows", p6 = "maxvalue", c6 = "mediumblob", f6 = "mediumint", y6 = "mediumtext", h6 = "member", m6 = "memory", v6 = "merge", T6 = "message", E6 = "method", g6 = "microsecond", I6 = "microseconds", A6 = "millennium", b6 = "millisecond", w6 = "milliseconds", R6 = "min", _6 = "min_rows", C6 = "minute", D6 = "minute_microsecond", O6 = "minute_second", $6 = "minvalue", P6 = "mod", V6 = "mode", N6 = "modulus", x6 = "monday", L6 = "month", B6 = "native", M6 = "natural", U6 = "nchar", G6 = "new", j6 = "next", k6 = "nfc", F6 = "nfd", K6 = "nfkc", S6 = "nfkd", q6 = "no", Z6 = "nobypassrls", H6 = "nocreatedb", J6 = "nocreaterole", z6 = "noinherit", W6 = "nologin", Y6 = "none", X6 = "noreplication", Q6 = "normalized", e5 = "nosuperuser", t5 = "not", i5 = "nothing", r5 = "notnull", n5 = "nowait", s5 = "nth_value", a5 = "ntile", o5 = "null", l5 = "nulls", d5 = "numeric", u5 = "nvarchar", p5 = "object", c5 = "of", f5 = "offset", y5 = "oids", h5 = "old", m5 = "on", v5 = "only", T5 = "operator", E5 = "option", g5 = "optionally", I5 = "options", A5 = "or", b5 = "order", w5 = "ordinal", R5 = "ordinality", _5 = "organization", C5 = "others", D5 = "out", O5 = "outer", $5 = "outfile", P5 = "over", V5 = "overriding", N5 = "overwrite", x5 = "owned", L5 = "owner", B5 = "pack_keys", M5 = "parallel", U5 = "parameter", G5 = "partial", j5 = "partition", k5 = "password", F5 = "percent", K5 = "percent_rank", S5 = "permissive", q5 = "pivot", Z5 = "plain", H5 = "plan", J5 = "policies", z5 = "policy", W5 = "pragma", Y5 = "preceding", X5 = "precision", Q5 = "preserve", eK = "primary", tK = "privileges", iK = "procedure", rK = "procedures", nK = "project", sK = "public", aK = "qualify", oK = "quarter", lK = "query", dK = "quick", uK = "raise", pK = "range", cK = "rank", fK = "read", yK = "real", hK = "recursive", mK = "redundant", vK = "references", TK = "referencing", EK = "refresh", gK = "regexp", IK = "reindex", AK = "release", bK = "remainder", wK = "remote", RK = "rename", _K = "repeat", CK = "repeatable", DK = "replace", OK = "replica", $K = "replication", PK = "reservation", VK = "reset", NK = "respect", xK = "restart", LK = "restrict", BK = "restricted", MK = "restrictive", UK = "return", GK = "returning", jK = "returns", kK = "revoke", FK = "right", KK = "rlike", SK = "role", qK = "rollback", ZK = "rollup", HK = "routine", JK = "routines", zK = "row", WK = "row_format", YK = "row_number", XK = "rowid", QK = "rows", e9 = "rule", t9 = "safe", i9 = "safe_cast", r9 = "safe_offset", n9 = "safe_ordinal", s9 = "saturday", a9 = "savepoint", o9 = "schema", l9 = "search", d9 = "second", u9 = "second_microsecond", p9 = "secondary_engine_attribute", c9 = "security", f9 = "select", y9 = "sequence", h9 = "sequences", m9 = "serializable", v9 = "server", T9 = "session", E9 = "session_user", g9 = "set", I9 = "sets", A9 = "share", b9 = "similar", w9 = "simple", R9 = "skip", _9 = "smallint", C9 = "snapshot", D9 = "some", O9 = "sounds", $9 = "source", P9 = "spatial", V9 = "sql_big_result", N9 = "sql_buffer_result", x9 = "sql_cache", L9 = "sql_calc_found_rows", B9 = "sql_no_cache", M9 = "sql_small_result", U9 = "stable", G9 = "start", j9 = "starting", k9 = "statement", F9 = "statistics", K9 = "stats_auto_recalc", S9 = "stats_persistent", q9 = "stats_sample_pages", Z9 = "storage", H9 = "stored", J9 = "straight_join", z9 = "strict", W9 = "string", Y9 = "struct", X9 = "sunday", Q9 = "superuser", e7 = "support", t7 = "symmetric", i7 = "sysid", r7 = "system", n7 = "system_time", s7 = "system_user", a7 = "table", o7 = "tables", l7 = "tablesample", d7 = "tablespace", u7 = "target", p7 = "temp", c7 = "temporary", f7 = "terminated", y7 = "text", h7 = "then", m7 = "thursday", v7 = "ties", T7 = "time", E7 = "timestamp", g7 = "timezone", I7 = "timezone_hour", A7 = "timezone_minute", b7 = "tinyblob", w7 = "tinyint", R7 = "tinytext", _7 = "to", C7 = "transaction", D7 = "transform", O7 = "trigger", $7 = "true", P7 = "truncate", V7 = "tuesday", N7 = "type", x7 = "uescape", L7 = "unbounded", B7 = "uncommitted", M7 = "union", U7 = "unique", G7 = "unknown", j7 = "unlogged", k7 = "unnest", F7 = "unpivot", K7 = "unsafe", S7 = "until", q7 = "update", Z7 = "usage", H7 = "user", J7 = "using", z7 = "vacuum", W7 = "valid", Y7 = "validate", X7 = "value", Q7 = "values", eS = "varbinary", tS = "varchar", iS = "variadic", rS = "varying", nS = "vector", sS = "verbose", aS = "view", oS = "virtual", lS = "visible", dS = "volatile", uS = "wednesday", pS = "week", cS = "when", fS = "where", yS = "while", hS = "window", mS = "with", vS = "without", TS = "work", ES = "wrapper", gS = "write", IS = "xor", AS = "year", bS = "year_month", wS = "zone", T1 = /^[\-+*\/<>=~!@#%\^&|`?]/, E1 = /^[^`]/, g1 = /^[^`\\]/, I1 = /^[^.`]/, A1 = /^[^\]]/, RS = /^[A-Za-z_]/, _S = /^[A-Za-z_\x80-\uFFFF]/, fd = /^[^'\\]/, yd = /^[^']/, hd = /^[^"]/, md = /^[^"\\]/, rn = /^[0-7]/, ks = /^[01]/, CS = /^[eE]/, DS = /^[+\-]/, OS = /^[0-9]/, $S = /^[0-9a-fA-F]/, b1 = /^[ \t]/, PS = /^[\n\r]/, w1 = /^[^;]/, vd = L(";", !1), kr = vPe(), Ce = L(",", !1), As = L(".", !1), tp = L("*", !1), nn = L("=", !1), Zo = L(":", !1), ip = L("[", !1), rp = L("]", !1), dy = L("<", !1), uy = L(">", !1), R1 = L(":=", !1), np = L("||", !1), _1 = L("&&", !1), q0 = L(">=", !1), Z0 = L("<=", !1), H0 = L("<>", !1), J0 = L("!=", !1), VS = L("<=>", !1), NS = L("==", !1), xS = L("||/", !1), LS = L("|/", !1), z0 = L(">>", !1), W0 = L("<<", !1), BS = L("!~~*", !1), MS = L("~~*", !1), US = L("!~~", !1), GS = L("~~", !1), jS = L("!~*", !1), kS = L("~*", !1), FS = L("!~", !1), KS = L("^@", !1), C1 = L("->>", !1), D1 = L("->", !1), SS = L("#>>", !1), qS = L("#>", !1), ZS = L("@>", !1), HS = L("<@", !1), JS = L("?|", !1), zS = L("?&", !1), WS = L("#-", !1), YS = L("@?", !1), O1 = L("@@", !1), $1 = L("!", !1), py = L("~", !1), Td = L("@", !1), P1 = L("#", !1), Y0 = L("&", !1), X0 = L("|", !1), Ho = L("`", !1), Q0 = L("?", !1), V1 = Ar(["-", "+", "*", "/", "<", ">", "=", "~", "!", "@", "#", "%", "^", "&", "|", "`", "?"], !1, !1), ev = L("/", !1), tv = L("%", !1), Ed = L("^", !1), gd = L("-", !1), cy = L("+", !1), N1 = L("::", !1), At = L("(", !1), wt = L(")", !1), XS = L("=>", !1), ss = L("$", !1), QS = Ty("identifier"), x1 = Ar(["`"], !0, !1), e8 = L("``", !1), L1 = Ar(["`", "\\"], !0, !1), B1 = Ar([".", "`"], !0, !1), M1 = Ar(["]"], !0, !1), t8 = L("]]", !1), i8 = Ar([["A", "Z"], ["a", "z"], "_"], !1, !1), r8 = Ar([["A", "Z"], ["a", "z"], "_", ["", ""]], !1, !1), n8 = Ty("string"), bs = L("_", !1), Jo = L(`
|
|
80179
80179
|
`, !1), In = L("'", !1), Id = Ar(["'", "\\"], !0, !1), s8 = L("E", !1), U1 = L("U&", !1), Ad = Ar(["'"], !0, !1), G1 = L("''", !1), Fs = L('"', !1), bd = Ar(['"'], !0, !1), j1 = L('""', !1), wd = Ar(['"', "\\"], !0, !1), fy = L("'''", !1), yy = L('"""', !1), a8 = L("\\n", !1), o8 = L("\\r", !1), l8 = L("\\t", !1), d8 = L("\\b", !1), u8 = L("\\f", !1), p8 = L("\\v", !1), c8 = L("\\a", !1), zo = L("\\", !1), sn = Ar([["0", "7"]], !1, !1), f8 = L("x", !1), y8 = L("x", !0), h8 = L("u", !1), m8 = L("U", !1), v8 = L("\\%", !1), T8 = L("\\_", !1), E8 = L("\\0", !1), g8 = L("\\Z", !1), I8 = L("N", !0), A8 = L("R", !0), b8 = L("RB", !0), w8 = L("BR", !0), hy = L("$$", !1), R8 = L("B", !0), _8 = L("X", !0), C8 = L("b", !0), Ks = Ar(["0", "1"], !1, !1), D8 = Ty("number"), iv = L("0x", !1), k1 = L("0b", !1), O8 = L("0o", !1), $8 = Ar(["e", "E"], !1, !1), P8 = Ar(["+", "-"], !1, !1), V8 = Ar([["0", "9"]], !1, !1), N8 = Ar([["0", "9"], ["a", "f"], ["A", "F"]], !1, !1), x8 = Ty("whitespace"), F1 = L("/*", !1), Rd = L("*/", !1), L8 = L("--", !1), K1 = Ar([" ", " "], !1, !1), B8 = L(`\r
|
|
@@ -91611,7 +91611,7 @@ const Qd = Xr, mg = jf, eu = BM, x = ci, ta = Ls, $ = T0, br = E0, o$ = g0, C =
|
|
|
91611
91611
|
}
|
|
91612
91612
|
function R_() {
|
|
91613
91613
|
var t, s;
|
|
91614
|
-
return t = r, o.substr(r, 3) === Fe ? (s = Fe, r += 3) : (s = e, m === 0 && O(xS)), s === e && (o.substr(r, 2) === xe ? (s = xe, r += 2) : (s = e, m === 0 && O(LS)), s === e && (o.substr(r, 2) === Y ? (s = Y, r += 2) : (s = e, m === 0 && O(np)), s === e && (o.substr(r, 2) === De ? (s = De, r += 2) : (s = e, m === 0 && O(z0)), s === e && (o.substr(r, 2) === Ne ? (s = Ne, r += 2) : (s = e, m === 0 && O(W0)), s === e && (o.substr(r, 4) === We ? (s = We, r += 4) : (s = e, m === 0 && O(BS)), s === e && (o.substr(r, 3) === Ke ? (s = Ke, r += 3) : (s = e, m === 0 && O(MS)), s === e && (o.substr(r, 3) === pt ? (s = pt, r += 3) : (s = e, m === 0 && O(US)), s === e && (o.substr(r, 2) ===
|
|
91614
|
+
return t = r, o.substr(r, 3) === Fe ? (s = Fe, r += 3) : (s = e, m === 0 && O(xS)), s === e && (o.substr(r, 2) === xe ? (s = xe, r += 2) : (s = e, m === 0 && O(LS)), s === e && (o.substr(r, 2) === Y ? (s = Y, r += 2) : (s = e, m === 0 && O(np)), s === e && (o.substr(r, 2) === De ? (s = De, r += 2) : (s = e, m === 0 && O(z0)), s === e && (o.substr(r, 2) === Ne ? (s = Ne, r += 2) : (s = e, m === 0 && O(W0)), s === e && (o.substr(r, 4) === We ? (s = We, r += 4) : (s = e, m === 0 && O(BS)), s === e && (o.substr(r, 3) === Ke ? (s = Ke, r += 3) : (s = e, m === 0 && O(MS)), s === e && (o.substr(r, 3) === pt ? (s = pt, r += 3) : (s = e, m === 0 && O(US)), s === e && (o.substr(r, 2) === Dt ? (s = Dt, r += 2) : (s = e, m === 0 && O(GS)), s === e && (o.substr(r, 3) === vi ? (s = vi, r += 3) : (s = e, m === 0 && O(jS)), s === e && (o.substr(r, 2) === Oi ? (s = Oi, r += 2) : (s = e, m === 0 && O(kS)), s === e && (o.substr(r, 2) === Fi ? (s = Fi, r += 2) : (s = e, m === 0 && O(FS)), s === e && (o.substr(r, 2) === or ? (s = or, r += 2) : (s = e, m === 0 && O(KS)), s === e && (o.substr(r, 3) === Er ? (s = Er, r += 3) : (s = e, m === 0 && O(C1)), s === e && (o.substr(r, 2) === Tn ? (s = Tn, r += 2) : (s = e, m === 0 && O(D1)), s === e && (o.substr(r, 3) === Mn ? (s = Mn, r += 3) : (s = e, m === 0 && O(SS)), s === e && (o.substr(r, 2) === Es ? (s = Es, r += 2) : (s = e, m === 0 && O(qS)), s === e && (o.substr(r, 2) === Un ? (s = Un, r += 2) : (s = e, m === 0 && O(ZS)), s === e && (o.substr(r, 2) === gr ? (s = gr, r += 2) : (s = e, m === 0 && O(HS)), s === e && (o.substr(r, 2) === En ? (s = En, r += 2) : (s = e, m === 0 && O(JS)), s === e && (o.substr(r, 2) === gs ? (s = gs, r += 2) : (s = e, m === 0 && O(zS)), s === e && (o.substr(r, 2) === Us ? (s = Us, r += 2) : (s = e, m === 0 && O(WS)), s === e && (o.substr(r, 2) === Xu ? (s = Xu, r += 2) : (s = e, m === 0 && O(YS)), s === e && (o.substr(r, 2) === Fo ? (s = Fo, r += 2) : (s = e, m === 0 && O(O1)), s === e && (o.charCodeAt(r) === 33 ? (s = Qu, r++) : (s = e, m === 0 && O($1)), s === e && (o.charCodeAt(r) === 126 ? (s = Gs, r++) : (s = e, m === 0 && O(py)), s === e && (o.charCodeAt(r) === 64 ? (s = Ir, r++) : (s = e, m === 0 && O(Td)), s === e && (o.charCodeAt(r) === 35 ? (s = dd, r++) : (s = e, m === 0 && O(P1)), s === e && (o.charCodeAt(r) === 38 ? (s = ep, r++) : (s = e, m === 0 && O(Y0)), s === e && (o.charCodeAt(r) === 124 ? (s = j0, r++) : (s = e, m === 0 && O(X0)), s === e && (o.charCodeAt(r) === 96 ? (s = Ko, r++) : (s = e, m === 0 && O(Ho)), s === e && (o.charCodeAt(r) === 63 ? (s = k0, r++) : (s = e, m === 0 && O(Q0))))))))))))))))))))))))))))))))), s !== e && (b = t, s = Hhe(s)), t = s, t;
|
|
91615
91615
|
}
|
|
91616
91616
|
function vp() {
|
|
91617
91617
|
var t, s, n, l;
|
|
@@ -97404,8 +97404,8 @@ function T$t() {
|
|
|
97404
97404
|
if (H$)
|
|
97405
97405
|
return Zp;
|
|
97406
97406
|
H$ = 1, Object.defineProperty(Zp, "__esModule", { value: !0 }), Zp.transformMap = void 0;
|
|
97407
|
-
const d = NOt(), u = xOt(), i = LOt(), a = BOt(), o = MOt(), f = UOt(), e = GOt(), y = jOt(), v = kOt(), T = FOt(), A = KOt(), I = SOt(), D = qOt(), V = ZOt(), B = HOt(), M = JOt(), F = zOt(), S = WOt(), ne = YOt(), te = XOt(), de = QOt(), Y = e$t(), ue = t$t(), W = i$t(), Q = r$t(), ce = n$t(), ee = s$t(), pe = a$t(), Ee = o$t(), Fe = l$t(), xe = d$t(), De = u$t(), Ne = p$t(), We = c$t(), Ke = f$t(), pt = y$t(),
|
|
97408
|
-
return Zp.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), Q.selectMap), Ne.frameMap), M.insertMap), xe.updateMap), v.deleteMap), Fe.truncateMap), F.mergeMap), f.createTableMap), o.constraintMap), u.alterTableMap), d.alterActionMap), A.dropTableMap), We.renameTableMap), W.schemaMap), De.viewMap), B.indexMap), Ee.triggerMap), ce.sequenceMap), ee.typeMap), T.domainMap), ue.roleMap), S.policyMap), V.functionMap), de.procedureMap), Y.procClauseMap), i.analyzeMap), I.explainMap), pe.transactionMap), y.dclMap), te.proceduralLanguageMap), ne.preparedStatementsMap), Ke.otherClausesMap), vi.sqliteMap), pt.bigqueryMap), Oi.mysqlMap),
|
|
97407
|
+
const d = NOt(), u = xOt(), i = LOt(), a = BOt(), o = MOt(), f = UOt(), e = GOt(), y = jOt(), v = kOt(), T = FOt(), A = KOt(), I = SOt(), D = qOt(), V = ZOt(), B = HOt(), M = JOt(), F = zOt(), S = WOt(), ne = YOt(), te = XOt(), de = QOt(), Y = e$t(), ue = t$t(), W = i$t(), Q = r$t(), ce = n$t(), ee = s$t(), pe = a$t(), Ee = o$t(), Fe = l$t(), xe = d$t(), De = u$t(), Ne = p$t(), We = c$t(), Ke = f$t(), pt = y$t(), Dt = h$t(), vi = m$t(), Oi = v$t(), Fi = A0;
|
|
97408
|
+
return Zp.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), Q.selectMap), Ne.frameMap), M.insertMap), xe.updateMap), v.deleteMap), Fe.truncateMap), F.mergeMap), f.createTableMap), o.constraintMap), u.alterTableMap), d.alterActionMap), A.dropTableMap), We.renameTableMap), W.schemaMap), De.viewMap), B.indexMap), Ee.triggerMap), ce.sequenceMap), ee.typeMap), T.domainMap), ue.roleMap), S.policyMap), V.functionMap), de.procedureMap), Y.procClauseMap), i.analyzeMap), I.explainMap), pe.transactionMap), y.dclMap), te.proceduralLanguageMap), ne.preparedStatementsMap), Ke.otherClausesMap), vi.sqliteMap), pt.bigqueryMap), Oi.mysqlMap), Dt.postgresqlMap), D.exprMap), e.dataTypeMap), Fi.unsupportedGrammarMap), Zp;
|
|
97409
97409
|
}
|
|
97410
97410
|
var J$;
|
|
97411
97411
|
function ai() {
|
|
@@ -102387,7 +102387,7 @@ function u4(d) {
|
|
|
102387
102387
|
const u = [], i = Cb(d.parent, null), a = i == null ? void 0 : i.entity;
|
|
102388
102388
|
if (!a)
|
|
102389
102389
|
u.push(
|
|
102390
|
-
|
|
102390
|
+
_t({
|
|
102391
102391
|
id: `${d.id}--${se.InternalCallParentMissingDataType}`,
|
|
102392
102392
|
code: se.InternalCallParentMissingDataType,
|
|
102393
102393
|
severity: Z.Error,
|
|
@@ -102401,7 +102401,7 @@ function u4(d) {
|
|
|
102401
102401
|
p.PrimitiveEntity
|
|
102402
102402
|
].includes(a.type))
|
|
102403
102403
|
u.push(
|
|
102404
|
-
|
|
102404
|
+
_t({
|
|
102405
102405
|
id: `${d.id}--${se.InternalCallParentDeclarationEntityInvalidType}`,
|
|
102406
102406
|
code: se.InternalCallParentDeclarationEntityInvalidType,
|
|
102407
102407
|
severity: Z.Error,
|
|
@@ -102422,9 +102422,9 @@ This variable's data-type has an 'entity' field that references an entity with i
|
|
|
102422
102422
|
...a.getAllInteractiveMethods()
|
|
102423
102423
|
);
|
|
102424
102424
|
let e = "";
|
|
102425
|
-
o ? a.methods.length ? e = `
|
|
102425
|
+
if (o ? a.methods.length ? e = `
|
|
102426
102426
|
All 'function-declaration' entities attached as methods to the parent data-type 'entity' field, available to be called as 'internal-calls' in this variable are:
|
|
102427
|
-
- ${a.methods.map((
|
|
102427
|
+
- ${a.methods.map((v) => v.id).join(
|
|
102428
102428
|
`
|
|
102429
102429
|
- `
|
|
102430
102430
|
)}
|
|
@@ -102436,28 +102436,39 @@ You can attach methods to it by creating 'function-declaration' entities which h
|
|
|
102436
102436
|
This variable's data-type 'entity' is a ${a.type} which doesn't have any methods attached to it yet.
|
|
102437
102437
|
Built-in entity types can't have methods attached to them by the user. They are predefined entities that can't be modified. You can reference them as the 'declaration' property on a new 'internal-call' entity in a variable`) : a.type === p.DefinitionEntity ? e = `
|
|
102438
102438
|
This variable's data-type 'entity' is a definition entity which extends or implements a non-interactive 'built-in-base-entity'.s` : a.type === p.BuiltInBaseEntity && (e = `
|
|
102439
|
-
This variable's data-type 'entity' is a non-interactive 'built-in-base-entity'.s`)
|
|
102440
|
-
|
|
102441
|
-
|
|
102442
|
-
|
|
102443
|
-
|
|
102444
|
-
|
|
102445
|
-
|
|
102446
|
-
|
|
102447
|
-
|
|
102448
|
-
|
|
102439
|
+
This variable's data-type 'entity' is a non-interactive 'built-in-base-entity'.s`), !d.declaration)
|
|
102440
|
+
u.push(
|
|
102441
|
+
_t({
|
|
102442
|
+
id: `${d.id}--${se.InternalCallDeclarationNotFound}`,
|
|
102443
|
+
code: se.InternalCallDeclarationNotFound,
|
|
102444
|
+
severity: Z.Error,
|
|
102445
|
+
message: `Entity of type "${d.type}" with id "${d.id}" doesn't have a declaration method (function-declaration) attached to it.${e}`,
|
|
102446
|
+
entity: d
|
|
102447
|
+
}).error
|
|
102448
|
+
);
|
|
102449
|
+
else {
|
|
102450
|
+
const y = f.find(
|
|
102451
|
+
(v) => v.id === d.declaration.id
|
|
102452
|
+
);
|
|
102453
|
+
y ? y.type !== p.FunctionDeclaration && u.push(
|
|
102454
|
+
_t({
|
|
102455
|
+
id: `${d.id}--${se.InternalCallDeclarationIsNotFunctionDeclaration}`,
|
|
102456
|
+
code: se.InternalCallDeclarationIsNotFunctionDeclaration,
|
|
102457
|
+
severity: Z.Error,
|
|
102458
|
+
message: `Entity of type "${d.type}" with id "${d.id}", points to a 'declaration' that isn't a 'function-declaration' entity.
|
|
102449
102459
|
The declaration of the internal-call must be a 'function-declaration' entity which exists as a method in the entity of the data-type of the parent variable.${e}`,
|
|
102450
|
-
|
|
102451
|
-
|
|
102452
|
-
|
|
102453
|
-
|
|
102454
|
-
|
|
102455
|
-
|
|
102456
|
-
|
|
102457
|
-
|
|
102458
|
-
|
|
102459
|
-
|
|
102460
|
-
|
|
102460
|
+
entity: d
|
|
102461
|
+
}).error
|
|
102462
|
+
) : u.push(
|
|
102463
|
+
_t({
|
|
102464
|
+
id: `${d.id}--${se.InternalCallDeclarationNotFoundInParentDatatypeEntity}`,
|
|
102465
|
+
code: se.InternalCallDeclarationNotFoundInParentDatatypeEntity,
|
|
102466
|
+
severity: Z.Error,
|
|
102467
|
+
message: `Entity of type "${d.type}" with id "${d.id}", belongs to a variable whose data type entity doesn't contain its declaration method (function-declaration) with id "${d.declaration}".${e}`,
|
|
102468
|
+
entity: d
|
|
102469
|
+
}).error
|
|
102470
|
+
);
|
|
102471
|
+
}
|
|
102461
102472
|
}
|
|
102462
102473
|
return u;
|
|
102463
102474
|
}
|
|
@@ -104261,7 +104272,10 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
104261
104272
|
)) {
|
|
104262
104273
|
const a = [], o = [], f = [], e = [], y = this.declaration.inputs.filter(
|
|
104263
104274
|
(I) => !this.inputs.find(
|
|
104264
|
-
(D) =>
|
|
104275
|
+
(D) => {
|
|
104276
|
+
var V;
|
|
104277
|
+
return ((V = D.declaration) == null ? void 0 : V.id) === I.id;
|
|
104278
|
+
}
|
|
104265
104279
|
)
|
|
104266
104280
|
);
|
|
104267
104281
|
this.inputs.sort((I, D) => I.index - D.index), y.forEach((I) => {
|
|
@@ -114004,7 +114018,7 @@ function od(d) {
|
|
|
114004
114018
|
return u;
|
|
114005
114019
|
const i = d.project.requestActiveDynamicValue(d, !0);
|
|
114006
114020
|
if ((i == null ? void 0 : i.type) === Ae.Missing) {
|
|
114007
|
-
const a =
|
|
114021
|
+
const a = _t({
|
|
114008
114022
|
id: `${d.id}--${re.MissingRequiredValue}`,
|
|
114009
114023
|
message: `The '${d.type}' entity "${z(
|
|
114010
114024
|
d,
|
|
@@ -114026,7 +114040,7 @@ function iU(d) {
|
|
|
114026
114040
|
(a) => a.calledBy.length || a.successCalls.length || a.errorCalls.length || a.getUsedInputs().length || a.getUsedOutputs().length
|
|
114027
114041
|
);
|
|
114028
114042
|
if (d.readsValue && i) {
|
|
114029
|
-
const a =
|
|
114043
|
+
const a = _t({
|
|
114030
114044
|
id: `${d.id}--${re.VariableReadsValueAndInternalCall}`,
|
|
114031
114045
|
message: `Variable "${z(d, d.project)}" with id "${d.id}" reads a value. A variable with internal calls can't read a value.`,
|
|
114032
114046
|
severity: Z.Error,
|
|
@@ -114036,7 +114050,7 @@ function iU(d) {
|
|
|
114036
114050
|
u.push(a.error);
|
|
114037
114051
|
}
|
|
114038
114052
|
if (d.writesValues.length && i) {
|
|
114039
|
-
const a =
|
|
114053
|
+
const a = _t({
|
|
114040
114054
|
id: `${d.id}--${re.VariableWritesValuesAndInternalCall}`,
|
|
114041
114055
|
message: `Variable "${z(d, d.project)}" with id "${d.id}" writes values. A variable with internal calls can't write a value.`,
|
|
114042
114056
|
severity: Z.Error,
|
|
@@ -114046,7 +114060,7 @@ function iU(d) {
|
|
|
114046
114060
|
u.push(a.error);
|
|
114047
114061
|
}
|
|
114048
114062
|
if (d.getUsedInputs().length && i) {
|
|
114049
|
-
const a =
|
|
114063
|
+
const a = _t({
|
|
114050
114064
|
id: `${d.id}--${re.VariableHasInputsAndInternalCall}`,
|
|
114051
114065
|
message: `Variable "${z(d, d.project)}" with id "${d.id}" has inputs. A variable with internal calls can't have inputs.`,
|
|
114052
114066
|
severity: Z.Error,
|
|
@@ -114056,7 +114070,7 @@ function iU(d) {
|
|
|
114056
114070
|
u.push(a.error);
|
|
114057
114071
|
}
|
|
114058
114072
|
if (d.getUsedOutputs().length && i) {
|
|
114059
|
-
const a =
|
|
114073
|
+
const a = _t({
|
|
114060
114074
|
id: `${d.id}--${re.VariableHasOutputsAndInternalCall}`,
|
|
114061
114075
|
message: `Variable "${z(d, d.project)}" with id "${d.id}" has outputs. A variable with internal calls can't have outputs.`,
|
|
114062
114076
|
severity: Z.Error,
|
|
@@ -114066,7 +114080,7 @@ function iU(d) {
|
|
|
114066
114080
|
u.push(a.error);
|
|
114067
114081
|
}
|
|
114068
114082
|
if (d.calledBy.length && i) {
|
|
114069
|
-
const a =
|
|
114083
|
+
const a = _t({
|
|
114070
114084
|
id: `${d.id}--${re.VariableIsCalledAndHasInternalCall}`,
|
|
114071
114085
|
message: `Variable "${z(d, d.project)}" with id "${d.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
|
|
114072
114086
|
severity: Z.Error,
|
|
@@ -114076,7 +114090,7 @@ function iU(d) {
|
|
|
114076
114090
|
u.push(a.error);
|
|
114077
114091
|
}
|
|
114078
114092
|
if ([...d.successCalls, ...d.errorCalls].length && i) {
|
|
114079
|
-
const a =
|
|
114093
|
+
const a = _t({
|
|
114080
114094
|
id: `${d.id}--${re.VariableCallsOthersAndHasInternalCall}`,
|
|
114081
114095
|
message: `Variable "${z(d, d.project)}" with id "${d.id}" calls other entities. A variable with internal calls can't call other entities.`,
|
|
114082
114096
|
severity: Z.Error,
|
|
@@ -114133,7 +114147,7 @@ function nU(d) {
|
|
|
114133
114147
|
if (ct(d).filter((e) => Ri.includes(e.type) || !rU(
|
|
114134
114148
|
e
|
|
114135
114149
|
) ? !1 : !!(!e.successCalls.length && !e.errorCalls.length && e.calledBy.length)).length) {
|
|
114136
|
-
const e =
|
|
114150
|
+
const e = _t({
|
|
114137
114151
|
id: `${d.id}--${re.LackingReturnStatementOnSomeBranches}`,
|
|
114138
114152
|
message: `The '${d.type}' entity "${z(
|
|
114139
114153
|
d,
|
|
@@ -114154,7 +114168,7 @@ function ko(d) {
|
|
|
114154
114168
|
))
|
|
114155
114169
|
return u;
|
|
114156
114170
|
if (!d.successCalls.length && !d.errorCalls.length && d.calledBy.length) {
|
|
114157
|
-
const i =
|
|
114171
|
+
const i = _t({
|
|
114158
114172
|
id: `${d.id}--${re.LastCalledEntityMustBeReturnEntity}`,
|
|
114159
114173
|
message: `The '${d.type}' entity "${z(
|
|
114160
114174
|
d,
|
|
@@ -114223,7 +114237,7 @@ const mVt = [
|
|
|
114223
114237
|
function N0(d, u = [Qi], i = [], a) {
|
|
114224
114238
|
const o = [], f = a ?? d.name;
|
|
114225
114239
|
if (!f) {
|
|
114226
|
-
const T =
|
|
114240
|
+
const T = _t({
|
|
114227
114241
|
id: `${d.id}--${se.EmptyName}`,
|
|
114228
114242
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" does not have a name. Entities of type ${d.type} must have valid names.`,
|
|
114229
114243
|
severity: Z.Error,
|
|
@@ -114236,7 +114250,7 @@ function N0(d, u = [Qi], i = [], a) {
|
|
|
114236
114250
|
(T) => T.name === f || T.name === e
|
|
114237
114251
|
);
|
|
114238
114252
|
if (!y) {
|
|
114239
|
-
const T =
|
|
114253
|
+
const T = _t({
|
|
114240
114254
|
id: `${d.id}--${se.NameNotUniqueInScope}`,
|
|
114241
114255
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" does not have a unique name. Entities of type ${d.type} must have valid names among all other entities of its type.`,
|
|
114242
114256
|
severity: Z.Error,
|
|
@@ -114250,7 +114264,7 @@ function N0(d, u = [Qi], i = [], a) {
|
|
|
114250
114264
|
if (!!i.some(
|
|
114251
114265
|
(V) => T(V.name || "") === A
|
|
114252
114266
|
) && y) {
|
|
114253
|
-
const V =
|
|
114267
|
+
const V = _t({
|
|
114254
114268
|
id: `${d.id}--${se.NameAsResolvedCodeNameNotUniqueInScope}`,
|
|
114255
114269
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" does not have a unique name once it is resolved as it will appear in code: "${A}". Entities of type ${d.type} must have valid names including their code name form.`,
|
|
114256
114270
|
severity: Z.Error,
|
|
@@ -114262,7 +114276,7 @@ function N0(d, u = [Qi], i = [], a) {
|
|
|
114262
114276
|
if (mVt.find(
|
|
114263
114277
|
(V) => V === A
|
|
114264
114278
|
)) {
|
|
114265
|
-
const V =
|
|
114279
|
+
const V = _t({
|
|
114266
114280
|
id: `${d.id}--${se.NameIsForbiddenKeyword}`,
|
|
114267
114281
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" has a name that is a forbidden keyword: "${A}". Entities of type ${d.type} must not use reserved keywords as names.`,
|
|
114268
114282
|
severity: Z.Error,
|
|
@@ -114272,7 +114286,7 @@ function N0(d, u = [Qi], i = [], a) {
|
|
|
114272
114286
|
o.push(V.error);
|
|
114273
114287
|
}
|
|
114274
114288
|
}), !/^[a-zA-Z_]/.test(f)) {
|
|
114275
|
-
const T =
|
|
114289
|
+
const T = _t({
|
|
114276
114290
|
id: `${d.id}--${se.NameMustStartWithLetterOrUnderscore}`,
|
|
114277
114291
|
message: `${fs[d.type].singular} "${z(d, d.project)}" with id "${d.id}" has a name that does not start with a letter or underscore.`,
|
|
114278
114292
|
severity: Z.Error,
|
|
@@ -121115,7 +121129,7 @@ function OU(d) {
|
|
|
121115
121129
|
return u;
|
|
121116
121130
|
const i = d.implements;
|
|
121117
121131
|
if (!i.abstract) {
|
|
121118
|
-
const o =
|
|
121132
|
+
const o = _t({
|
|
121119
121133
|
id: `${d.id}--${re.PropertyImplementsNonAbstact}`,
|
|
121120
121134
|
message: `Property "${z(d, d.project)}" with id "${d.id}" implements a non-abstract property "${z(
|
|
121121
121135
|
i,
|
|
@@ -121128,7 +121142,7 @@ function OU(d) {
|
|
|
121128
121142
|
u.push(o.error);
|
|
121129
121143
|
}
|
|
121130
121144
|
if (d.static && !i.static) {
|
|
121131
|
-
const o =
|
|
121145
|
+
const o = _t({
|
|
121132
121146
|
id: `${d.id}--${re.NonStaticPropertyImplementsStatic}`,
|
|
121133
121147
|
message: `Static property "${z(
|
|
121134
121148
|
d,
|
|
@@ -121144,7 +121158,7 @@ function OU(d) {
|
|
|
121144
121158
|
u.push(o.error);
|
|
121145
121159
|
}
|
|
121146
121160
|
if (!d.static && i.static) {
|
|
121147
|
-
const o =
|
|
121161
|
+
const o = _t({
|
|
121148
121162
|
id: `${d.id}--${re.StaticPropertyImplementsNonStatic}`,
|
|
121149
121163
|
message: `Non-static property "${z(
|
|
121150
121164
|
d,
|
|
@@ -121163,7 +121177,7 @@ function OU(d) {
|
|
|
121163
121177
|
d.dataType,
|
|
121164
121178
|
i.dataType
|
|
121165
121179
|
)) {
|
|
121166
|
-
const o =
|
|
121180
|
+
const o = _t({
|
|
121167
121181
|
id: `${d.id}--${re.PropertyImplementsIncompatibleType}`,
|
|
121168
121182
|
message: `Property "${z(d, d.project)}" with id "${d.id}" implements a property "${z(
|
|
121169
121183
|
i,
|
|
@@ -122666,7 +122680,7 @@ function NU(d, u) {
|
|
|
122666
122680
|
function KNt(d, u) {
|
|
122667
122681
|
const i = [];
|
|
122668
122682
|
if (!u.abstract) {
|
|
122669
|
-
const A =
|
|
122683
|
+
const A = _t({
|
|
122670
122684
|
id: d.id + "--" + re.ImplementingNonAbstractEntity,
|
|
122671
122685
|
message: `Entity "${d.name}" with id "${d.id}" is implementing a non-abstract entity "${u.name}" with id "${u.id}"`,
|
|
122672
122686
|
severity: Z.Error,
|
|
@@ -122688,7 +122702,7 @@ function KNt(d, u) {
|
|
|
122688
122702
|
(D) => D.id !== I.id
|
|
122689
122703
|
) : o.push(A);
|
|
122690
122704
|
}), o.length && o.forEach((A) => {
|
|
122691
|
-
const I =
|
|
122705
|
+
const I = _t({
|
|
122692
122706
|
id: d.id + "--" + re.MissingPropertyImplementation + "--" + A.id,
|
|
122693
122707
|
message: `Property "${A.name}" with id "${A.id}" of entity "${u.name}" with id "${u.id}" is not implemented when entity "${d.name}" with id "${d.id}" implements it`,
|
|
122694
122708
|
severity: Z.Error,
|
|
@@ -122710,7 +122724,7 @@ function KNt(d, u) {
|
|
|
122710
122724
|
(D) => D.id !== I.id
|
|
122711
122725
|
) : e.push(A);
|
|
122712
122726
|
}), e.length && e.forEach((A) => {
|
|
122713
|
-
const I =
|
|
122727
|
+
const I = _t({
|
|
122714
122728
|
id: d.id + "--" + re.MissingMethodImplementation + "--" + A.id,
|
|
122715
122729
|
message: `Method "${A.name}" with id "${A.id}" of entity "${u.name}" with id "${u.id}" is not implemented when entity "${d.name}" with id "${d.id}" implements it`,
|
|
122716
122730
|
severity: Z.Error,
|
|
@@ -122726,7 +122740,7 @@ function KNt(d, u) {
|
|
|
122726
122740
|
);
|
|
122727
122741
|
I && v.push([I, A]);
|
|
122728
122742
|
}), v.length && v.forEach(([A]) => {
|
|
122729
|
-
const I =
|
|
122743
|
+
const I = _t({
|
|
122730
122744
|
id: d.id + "--" + se.PropertyOverwritesOtherSiblingWithSameName + "--" + A.id,
|
|
122731
122745
|
message: `Property "${A.name}" with id "${A.id}" of entity "${d.name}" with id "${d.id}" overwrites the property with the same name from the base entity "${u.name}" with id "${u.id}"`,
|
|
122732
122746
|
severity: Z.Error,
|
|
@@ -122742,7 +122756,7 @@ function KNt(d, u) {
|
|
|
122742
122756
|
);
|
|
122743
122757
|
I && T.push([I, A]);
|
|
122744
122758
|
}), T.length && T.forEach(([A]) => {
|
|
122745
|
-
const I =
|
|
122759
|
+
const I = _t({
|
|
122746
122760
|
id: d.id + "--" + se.MethodOverwritesOtherSiblingWithSameName + "--" + A.id,
|
|
122747
122761
|
message: `Method "${A.name}" with id "${A.id}" of entity "${d.name}" with id "${d.id}" overwrites the method with the same name from the base entity "${u.name}" with id "${u.id}"`,
|
|
122748
122762
|
severity: Z.Error,
|
|
@@ -122758,7 +122772,7 @@ function SNt(d, u) {
|
|
|
122758
122772
|
return i;
|
|
122759
122773
|
const a = [];
|
|
122760
122774
|
if (!d.abstract && u.abstract) {
|
|
122761
|
-
const f =
|
|
122775
|
+
const f = _t({
|
|
122762
122776
|
id: d.id + "--" + u.id + "--" + re.NonAbstractExtendingAbstractEntity,
|
|
122763
122777
|
message: `Entity "${d.name}" with id "${d.id}" is not-abstract but is extending an abstract entity "${u.name}" with id "${u.id}"`,
|
|
122764
122778
|
severity: Z.Error,
|
|
@@ -122769,7 +122783,7 @@ function SNt(d, u) {
|
|
|
122769
122783
|
return i.push(f.error), i;
|
|
122770
122784
|
}
|
|
122771
122785
|
if (d.abstract && !u.abstract) {
|
|
122772
|
-
const f =
|
|
122786
|
+
const f = _t({
|
|
122773
122787
|
id: d.id + "--" + u.id + "--" + re.AbstractExtendingNonAbstractEntity,
|
|
122774
122788
|
message: `Entity "${d.name}" with id "${d.id}" is abstract but is extending an non-abstract entity "${u.name}" with id "${u.id}"`,
|
|
122775
122789
|
severity: Z.Error,
|
|
@@ -122790,7 +122804,7 @@ function SNt(d, u) {
|
|
|
122790
122804
|
);
|
|
122791
122805
|
((y = f.implements) == null ? void 0 : y.id) !== (e == null ? void 0 : e.id) && e && a.push(f);
|
|
122792
122806
|
}), a.length && a.forEach((f) => {
|
|
122793
|
-
const e =
|
|
122807
|
+
const e = _t({
|
|
122794
122808
|
id: d.id + "--" + se.PropertyOverwritesOtherSiblingWithSameName,
|
|
122795
122809
|
message: `Property "${f.name}" with id "${f.id}" of entity "${d.name}" with id "${d.id}" overwrites the property with the same name from the extended entity "${u.name}" with id "${u.id}"`,
|
|
122796
122810
|
severity: Z.Error,
|
|
@@ -122811,7 +122825,7 @@ function SNt(d, u) {
|
|
|
122811
122825
|
);
|
|
122812
122826
|
((y = f.implements) == null ? void 0 : y.id) !== (e == null ? void 0 : e.id) && e && o.push(f);
|
|
122813
122827
|
}), o.length && o.forEach((f) => {
|
|
122814
|
-
const e =
|
|
122828
|
+
const e = _t({
|
|
122815
122829
|
id: d.id + "--" + se.MethodOverwritesOtherSiblingWithSameName,
|
|
122816
122830
|
message: `Method "${f.name}" with id "${f.id}" of entity "${d.name}" with id "${d.id}" overwrites the method with the same name from the extended entity "${u.name}" with id "${u.id}"`,
|
|
122817
122831
|
severity: Z.Error,
|
|
@@ -122824,7 +122838,7 @@ function SNt(d, u) {
|
|
|
122824
122838
|
function qNt(d) {
|
|
122825
122839
|
const u = [];
|
|
122826
122840
|
if (!d.properties.length) {
|
|
122827
|
-
const i =
|
|
122841
|
+
const i = _t({
|
|
122828
122842
|
id: d.id + "--" + re.NoProperties,
|
|
122829
122843
|
message: "No properties implemented",
|
|
122830
122844
|
severity: Z.Warning,
|
|
@@ -122841,7 +122855,7 @@ function ZNt(d) {
|
|
|
122841
122855
|
const u = [];
|
|
122842
122856
|
if (d.abstract) {
|
|
122843
122857
|
if (d.methods.length) {
|
|
122844
|
-
const i =
|
|
122858
|
+
const i = _t({
|
|
122845
122859
|
id: d.id + "--" + re.AbstractEntityWithNonAbstractMethods,
|
|
122846
122860
|
message: `Entity "${d.name}" with id "${d.id}" is marked as abstract but has non-abstract methods`,
|
|
122847
122861
|
severity: Z.Error,
|
|
@@ -122851,7 +122865,7 @@ function ZNt(d) {
|
|
|
122851
122865
|
u.push(i.error);
|
|
122852
122866
|
}
|
|
122853
122867
|
if (d.properties.some((i) => !i.abstract)) {
|
|
122854
|
-
const i =
|
|
122868
|
+
const i = _t({
|
|
122855
122869
|
id: d.id + "--" + re.AbstractEntityWithNonAbstractProperties,
|
|
122856
122870
|
message: `Entity "${d.name}" with id "${d.id}" is marked as abstract but has non-abstract properties`,
|
|
122857
122871
|
severity: Z.Error,
|
|
@@ -122860,7 +122874,7 @@ function ZNt(d) {
|
|
|
122860
122874
|
});
|
|
122861
122875
|
u.push(i.error), d.properties.forEach((a) => {
|
|
122862
122876
|
if (!a.abstract) {
|
|
122863
|
-
const o =
|
|
122877
|
+
const o = _t({
|
|
122864
122878
|
id: d.id + "--" + re.StaticEntityWithNonStaticProperties + "--" + a.id,
|
|
122865
122879
|
message: `Property "${a.name}" with id "${a.id}" of entity "${d.name}" with id "${d.id}" is not marked as abstract but the entity is marked as abstract`,
|
|
122866
122880
|
severity: Z.Error,
|
|
@@ -122873,7 +122887,7 @@ function ZNt(d) {
|
|
|
122873
122887
|
}
|
|
122874
122888
|
} else {
|
|
122875
122889
|
if (d.abstractMethods.length) {
|
|
122876
|
-
const i =
|
|
122890
|
+
const i = _t({
|
|
122877
122891
|
id: d.id + "--" + re.AbstractPropertyInNonAbstractEntity,
|
|
122878
122892
|
message: `Entity "${d.name}" with id "${d.id}" is not marked as abstract but has abstract methods`,
|
|
122879
122893
|
severity: Z.Error,
|
|
@@ -122884,7 +122898,7 @@ function ZNt(d) {
|
|
|
122884
122898
|
}
|
|
122885
122899
|
d.properties.some((i) => i.abstract) && d.properties.forEach((i) => {
|
|
122886
122900
|
if (i.abstract) {
|
|
122887
|
-
const a =
|
|
122901
|
+
const a = _t({
|
|
122888
122902
|
id: d.id + "--" + re.AbstractPropertyInNonAbstractEntity + "--" + i.id,
|
|
122889
122903
|
message: `Property "${i.name}" with id "${i.id}" of entity "${d.name}" with id "${d.id}" is marked as abstract but the entity is not marked as abstract`,
|
|
122890
122904
|
severity: Z.Error,
|
|
@@ -122898,7 +122912,7 @@ function ZNt(d) {
|
|
|
122898
122912
|
}
|
|
122899
122913
|
return d.static && d.properties.some((i) => !i.static) && d.properties.forEach((i) => {
|
|
122900
122914
|
if (!i.static) {
|
|
122901
|
-
const a =
|
|
122915
|
+
const a = _t({
|
|
122902
122916
|
id: d.id + "--" + re.NonStaticPropertyInStaticEntity + "--" + i.id,
|
|
122903
122917
|
message: `Property "${i.name}" with id "${i.id}" of entity "${d.name}" with id "${d.id}" is not marked as static but the entity is marked as static`,
|
|
122904
122918
|
severity: Z.Error,
|
|
@@ -123036,7 +123050,7 @@ function JNt(d, u, i = !1) {
|
|
|
123036
123050
|
var T, A;
|
|
123037
123051
|
const a = [], o = Zr(u);
|
|
123038
123052
|
if (!d.abstract && u.abstract) {
|
|
123039
|
-
const I =
|
|
123053
|
+
const I = _t({
|
|
123040
123054
|
id: d.id + "--" + u.id + "--" + re.NonAbstractExtendingAbstractEntity,
|
|
123041
123055
|
message: `Entity "${d.name}" with id "${d.id}" is not-abstract but is extending an abstract entity "${u.name}" with id "${u.id}"`,
|
|
123042
123056
|
severity: Z.Error,
|
|
@@ -123047,7 +123061,7 @@ function JNt(d, u, i = !1) {
|
|
|
123047
123061
|
a.push(I.error);
|
|
123048
123062
|
}
|
|
123049
123063
|
if (d.abstract && !u.abstract) {
|
|
123050
|
-
const I =
|
|
123064
|
+
const I = _t({
|
|
123051
123065
|
id: d.id + "--" + u.id + "--" + re.AbstractExtendingNonAbstractEntity,
|
|
123052
123066
|
message: `Entity "${d.name}" with id "${d.id}" is abstract but is extending an non-abstract entity "${u.name}" with id "${u.id}"`,
|
|
123053
123067
|
severity: Z.Error,
|
|
@@ -123058,7 +123072,7 @@ function JNt(d, u, i = !1) {
|
|
|
123058
123072
|
a.push(I.error);
|
|
123059
123073
|
}
|
|
123060
123074
|
if (!d.static && u.static) {
|
|
123061
|
-
const I =
|
|
123075
|
+
const I = _t({
|
|
123062
123076
|
id: d.id + "--" + u.id + "--" + re.NonStaticExtendingStaticEntity,
|
|
123063
123077
|
message: `Entity "${d.name}" with id "${d.id}" is not static but is extending a static entity "${u.name}" with id "${u.id}"`,
|
|
123064
123078
|
severity: Z.Error,
|
|
@@ -123069,7 +123083,7 @@ function JNt(d, u, i = !1) {
|
|
|
123069
123083
|
a.push(I.error);
|
|
123070
123084
|
}
|
|
123071
123085
|
if (d.static && !u.static) {
|
|
123072
|
-
const I =
|
|
123086
|
+
const I = _t({
|
|
123073
123087
|
id: d.id + "--" + u.id + "--" + re.StaticExtendingNonStaticEntity,
|
|
123074
123088
|
message: `Entity "${d.name}" with id "${d.id}" is static but is extending an non-static entity "${u.name}" with id "${u.id}"`,
|
|
123075
123089
|
severity: Z.Error,
|
|
@@ -123080,7 +123094,7 @@ function JNt(d, u, i = !1) {
|
|
|
123080
123094
|
a.push(I.error);
|
|
123081
123095
|
}
|
|
123082
123096
|
if (!L0(u)) {
|
|
123083
|
-
const I =
|
|
123097
|
+
const I = _t({
|
|
123084
123098
|
id: d.id + "--" + u.id + "--" + re.ExtendingNonInteractiveEntity,
|
|
123085
123099
|
message: `Entity "${d.name}" with id "${d.id}" is extending an non-interactive entity "${u.name}" with id "${u.id}"`,
|
|
123086
123100
|
severity: Z.Error,
|
|
@@ -123101,7 +123115,7 @@ function JNt(d, u, i = !1) {
|
|
|
123101
123115
|
I.length && I.forEach((D) => {
|
|
123102
123116
|
var V, B, M, F;
|
|
123103
123117
|
if (D.id !== ((V = d.extends) == null ? void 0 : V.id)) {
|
|
123104
|
-
const S =
|
|
123118
|
+
const S = _t({
|
|
123105
123119
|
id: d.id + "--" + D.id + "--" + ((B = d.extends) == null ? void 0 : B.id) + "--" + re.ExtendsIncompatibleEntities,
|
|
123106
123120
|
message: `Entity "${d.name}" with id "${d.id}" is extending built-in entity "${D.name}" with id "${D.id}" but also extends entity "${(M = d.extends) == null ? void 0 : M.name}" with id "${(F = d.extends) == null ? void 0 : F.id}" which is incompatible`,
|
|
123107
123121
|
severity: Z.Error,
|
|
@@ -130003,7 +130017,7 @@ export {
|
|
|
130003
130017
|
git as countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef,
|
|
130004
130018
|
Ait as countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef,
|
|
130005
130019
|
Rg as createDefinitionEntityFromJSONObject,
|
|
130006
|
-
|
|
130020
|
+
_t as createEntityError,
|
|
130007
130021
|
gVt as createNestedDataTypeForEntity,
|
|
130008
130022
|
_u as createNewInstanceOperation,
|
|
130009
130023
|
k7e as createNewInstanceOperationEntityToInstanciateArgument,
|