@furo/open-models 1.0.0 → 1.1.0-rc.0

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.
@@ -1311,6 +1311,14 @@
1311
1311
  "module": "./primitives/FLOAT.js"
1312
1312
  }
1313
1313
  },
1314
+ {
1315
+ "kind": "js",
1316
+ "name": "EMPTY",
1317
+ "declaration": {
1318
+ "name": "EMPTY",
1319
+ "module": "./well_known/EMPTY.js"
1320
+ }
1321
+ },
1314
1322
  {
1315
1323
  "kind": "js",
1316
1324
  "name": "ANY",
@@ -140875,6 +140883,862 @@
140875
140883
  "declarations": [],
140876
140884
  "exports": []
140877
140885
  },
140886
+ {
140887
+ "kind": "javascript-module",
140888
+ "path": "dist/well_known/EMPTY.js",
140889
+ "declarations": [
140890
+ {
140891
+ "kind": "class",
140892
+ "description": "",
140893
+ "name": "EMPTY",
140894
+ "members": [
140895
+ {
140896
+ "kind": "field",
140897
+ "name": "value"
140898
+ },
140899
+ {
140900
+ "kind": "method",
140901
+ "name": "__updateWithLiteral",
140902
+ "parameters": [
140903
+ {
140904
+ "name": "_"
140905
+ }
140906
+ ],
140907
+ "description": "Updates the model from literal data, without changing the validity and value state.",
140908
+ "inheritedFrom": {
140909
+ "name": "FieldNode",
140910
+ "module": "dist/FieldNode.js"
140911
+ }
140912
+ },
140913
+ {
140914
+ "kind": "method",
140915
+ "name": "__mapProtoNameJsonToJson",
140916
+ "parameters": [
140917
+ {
140918
+ "name": "data"
140919
+ }
140920
+ ],
140921
+ "description": "Helper function to create a literal type from a json type",
140922
+ "inheritedFrom": {
140923
+ "name": "FieldNode",
140924
+ "module": "dist/FieldNode.js"
140925
+ }
140926
+ },
140927
+ {
140928
+ "kind": "method",
140929
+ "name": "__toJson",
140930
+ "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
140931
+ "inheritedFrom": {
140932
+ "name": "FieldNode",
140933
+ "module": "dist/FieldNode.js"
140934
+ }
140935
+ },
140936
+ {
140937
+ "kind": "method",
140938
+ "name": "valueOf",
140939
+ "description": "The valueOf() method of Object instances converts the this value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
140940
+ "inheritedFrom": {
140941
+ "name": "FieldNode",
140942
+ "module": "dist/FieldNode.js"
140943
+ }
140944
+ },
140945
+ {
140946
+ "kind": "method",
140947
+ "name": "__toLiteral",
140948
+ "description": "Converts the model to a literal type. The literal type matches the interface from ITypeName.",
140949
+ "inheritedFrom": {
140950
+ "name": "FieldNode",
140951
+ "module": "dist/FieldNode.js"
140952
+ }
140953
+ },
140954
+ {
140955
+ "kind": "method",
140956
+ "name": "toString",
140957
+ "description": "The toString() method of Object instances returns a string representing this object. This method is meant to be overridden by `CustomPrototypes.ToString`.\nIf no `CustomPrototypes` is set, it will try to find a display_name attribute on the node and uses that for the output.\n\nIf there is no display_name `[object TypeName]` is returned.",
140958
+ "inheritedFrom": {
140959
+ "name": "FieldNode",
140960
+ "module": "dist/FieldNode.js"
140961
+ }
140962
+ },
140963
+ {
140964
+ "kind": "method",
140965
+ "name": "__clear",
140966
+ "parameters": [
140967
+ {
140968
+ "name": "withoutNotification",
140969
+ "default": "false"
140970
+ }
140971
+ ],
140972
+ "description": "Clear clears the element downwards and set __isEmpty to true on all sub nodes.\n\nA cleared field is not populated on `__toLiteral` or `__toJson` when the option `EmitUnpopulated` or `EmitDefaultValues` is set to false.",
140973
+ "inheritedFrom": {
140974
+ "name": "FieldNode",
140975
+ "module": "dist/FieldNode.js"
140976
+ }
140977
+ },
140978
+ {
140979
+ "kind": "field",
140980
+ "name": "_value",
140981
+ "type": {
140982
+ "text": "object"
140983
+ },
140984
+ "default": "{}"
140985
+ },
140986
+ {
140987
+ "kind": "field",
140988
+ "name": "__isEmpty",
140989
+ "description": "Empty state of the node",
140990
+ "parameters": [
140991
+ {
140992
+ "name": "empty"
140993
+ }
140994
+ ],
140995
+ "type": {
140996
+ "text": "boolean"
140997
+ },
140998
+ "default": "true",
140999
+ "inheritedFrom": {
141000
+ "name": "FieldNode",
141001
+ "module": "dist/FieldNode.js"
141002
+ }
141003
+ },
141004
+ {
141005
+ "kind": "field",
141006
+ "name": "typeName",
141007
+ "type": {
141008
+ "text": "string"
141009
+ },
141010
+ "default": "'google.protobuf.Empty'"
141011
+ },
141012
+ {
141013
+ "kind": "field",
141014
+ "name": "__rootNode",
141015
+ "description": "Root node of a node. Do not set this value by yourself.",
141016
+ "parameters": [
141017
+ {
141018
+ "name": "value"
141019
+ }
141020
+ ],
141021
+ "inheritedFrom": {
141022
+ "name": "FieldNode",
141023
+ "module": "dist/FieldNode.js"
141024
+ }
141025
+ },
141026
+ {
141027
+ "kind": "method",
141028
+ "name": "__getFieldNodeByPath",
141029
+ "parameters": [
141030
+ {
141031
+ "name": "deepPath",
141032
+ "default": "''",
141033
+ "description": "Path of the field.",
141034
+ "type": {
141035
+ "text": "string"
141036
+ }
141037
+ }
141038
+ ],
141039
+ "description": "Get a FieldNode by giving a field path using the proto names for the fields.\n\n\n\n- `email_addresses[3].type[2]` for the second `type` value in the third `email_addresses` message.\n- `user.location.street` for the street in location in user.",
141040
+ "inheritedFrom": {
141041
+ "name": "FieldNode",
141042
+ "module": "dist/FieldNode.js"
141043
+ }
141044
+ },
141045
+ {
141046
+ "kind": "field",
141047
+ "name": "__readonly",
141048
+ "inheritedFrom": {
141049
+ "name": "FieldNode",
141050
+ "module": "dist/FieldNode.js"
141051
+ }
141052
+ },
141053
+ {
141054
+ "kind": "method",
141055
+ "name": "__fromLiteral",
141056
+ "parameters": [
141057
+ {
141058
+ "name": "literal",
141059
+ "description": "The literal type matches the interface from ITypeName.",
141060
+ "type": {
141061
+ "text": ""
141062
+ }
141063
+ }
141064
+ ],
141065
+ "description": "Build up the model with the literal type. The literal type matches the interface from ITypeName.",
141066
+ "inheritedFrom": {
141067
+ "name": "FieldNode",
141068
+ "module": "dist/FieldNode.js"
141069
+ }
141070
+ },
141071
+ {
141072
+ "kind": "method",
141073
+ "name": "__setModelValidStateTrue",
141074
+ "inheritedFrom": {
141075
+ "name": "FieldNode",
141076
+ "module": "dist/FieldNode.js"
141077
+ }
141078
+ },
141079
+ {
141080
+ "kind": "method",
141081
+ "name": "__stringify",
141082
+ "inheritedFrom": {
141083
+ "name": "FieldNode",
141084
+ "module": "dist/FieldNode.js"
141085
+ }
141086
+ },
141087
+ {
141088
+ "kind": "method",
141089
+ "name": "__fromProtoNameJson",
141090
+ "parameters": [
141091
+ {
141092
+ "name": "data",
141093
+ "description": "Transport Json",
141094
+ "type": {
141095
+ "text": "JSON"
141096
+ }
141097
+ }
141098
+ ],
141099
+ "description": "Build up the model, using the transport Json. If UseProtoNames is set to false, lowerCamelCase is expected.",
141100
+ "inheritedFrom": {
141101
+ "name": "FieldNode",
141102
+ "module": "dist/FieldNode.js"
141103
+ }
141104
+ },
141105
+ {
141106
+ "kind": "field",
141107
+ "name": "__fieldPath",
141108
+ "readonly": true,
141109
+ "inheritedFrom": {
141110
+ "name": "FieldNode",
141111
+ "module": "dist/FieldNode.js"
141112
+ }
141113
+ },
141114
+ {
141115
+ "kind": "method",
141116
+ "name": "___pathBuilder",
141117
+ "parameters": [
141118
+ {
141119
+ "name": "parts"
141120
+ }
141121
+ ],
141122
+ "inheritedFrom": {
141123
+ "name": "FieldNode",
141124
+ "module": "dist/FieldNode.js"
141125
+ }
141126
+ },
141127
+ {
141128
+ "kind": "field",
141129
+ "name": "__label",
141130
+ "description": "Returns the formated label using the `OPEN_MODELS_OPTIONS.labelFormatter`",
141131
+ "readonly": true,
141132
+ "inheritedFrom": {
141133
+ "name": "FieldNode",
141134
+ "module": "dist/FieldNode.js"
141135
+ }
141136
+ },
141137
+ {
141138
+ "kind": "field",
141139
+ "name": "__labelRaw",
141140
+ "description": "Returns the raw label without any translations, formatters applied.",
141141
+ "readonly": true,
141142
+ "inheritedFrom": {
141143
+ "name": "FieldNode",
141144
+ "module": "dist/FieldNode.js"
141145
+ }
141146
+ },
141147
+ {
141148
+ "kind": "field",
141149
+ "name": "__placeholder",
141150
+ "description": "Returns the placeholder label using the `OPEN_MODELS_OPTIONS.labelFormatter`",
141151
+ "readonly": true,
141152
+ "inheritedFrom": {
141153
+ "name": "FieldNode",
141154
+ "module": "dist/FieldNode.js"
141155
+ }
141156
+ },
141157
+ {
141158
+ "kind": "field",
141159
+ "name": "__ariaDescription",
141160
+ "description": "Returns the formated aria description using the `OPEN_MODELS_OPTIONS.labelFormatter`",
141161
+ "readonly": true,
141162
+ "inheritedFrom": {
141163
+ "name": "FieldNode",
141164
+ "module": "dist/FieldNode.js"
141165
+ }
141166
+ },
141167
+ {
141168
+ "kind": "method",
141169
+ "name": "__getAllStates",
141170
+ "description": "Returns a list of all states of a node and its children.\n\n```json\n[\n {\n \"field\": \"id\",\n \"state\": \"Error\",\n \"message\": \"This field is invalid\"\n },\n {\n \"field\": \"display_name\",\n \"state\": \"Error\",\n \"message\": \"This field is invalid\"\n }\n]\n```",
141171
+ "inheritedFrom": {
141172
+ "name": "FieldNode",
141173
+ "module": "dist/FieldNode.js"
141174
+ }
141175
+ },
141176
+ {
141177
+ "kind": "method",
141178
+ "name": "___getAllStates",
141179
+ "parameters": [
141180
+ {
141181
+ "name": "carrier"
141182
+ }
141183
+ ],
141184
+ "inheritedFrom": {
141185
+ "name": "FieldNode",
141186
+ "module": "dist/FieldNode.js"
141187
+ }
141188
+ },
141189
+ {
141190
+ "kind": "method",
141191
+ "name": "__clearAllValueStates",
141192
+ "description": "Clears all value states recursively",
141193
+ "inheritedFrom": {
141194
+ "name": "FieldNode",
141195
+ "module": "dist/FieldNode.js"
141196
+ }
141197
+ },
141198
+ {
141199
+ "kind": "method",
141200
+ "name": "__applyValueStates",
141201
+ "parameters": [
141202
+ {
141203
+ "name": "states"
141204
+ }
141205
+ ],
141206
+ "description": "Applies a list of states to a node and its children.\n\nKeep in mind, that the message must be already translated.\n\n```json\n{\n \"field\": \"id\",\n \"state\": \"Error\",\n \"message\": \"This field is invalid\"\n}\n\n```",
141207
+ "inheritedFrom": {
141208
+ "name": "FieldNode",
141209
+ "module": "dist/FieldNode.js"
141210
+ }
141211
+ },
141212
+ {
141213
+ "kind": "field",
141214
+ "name": "__isValid",
141215
+ "description": "Returns the valid state of a node.\n- A node is valid when all children are valid.\n- A node is valid when freshly initialized, even when some children have invalid values.\n\nuse `validate()` to be sure to have the correct validity state.\n\nUse __meta.StateMessage to receive the state of a node. The `__meta.StateMessage` is only available on an explicit field, where the validity state is populated upwards.",
141216
+ "readonly": true,
141217
+ "inheritedFrom": {
141218
+ "name": "FieldNode",
141219
+ "module": "dist/FieldNode.js"
141220
+ }
141221
+ },
141222
+ {
141223
+ "kind": "method",
141224
+ "name": "__setValidState",
141225
+ "parameters": [
141226
+ {
141227
+ "name": "valid"
141228
+ }
141229
+ ],
141230
+ "description": "set the validity of the node. This will trigger no events, just set the __meta.isValid value.\n\nUse this in your customValidators.",
141231
+ "inheritedFrom": {
141232
+ "name": "FieldNode",
141233
+ "module": "dist/FieldNode.js"
141234
+ }
141235
+ },
141236
+ {
141237
+ "kind": "field",
141238
+ "name": "__isPristine",
141239
+ "description": "Initialized fields are pristine as long nothing changes inside the model.\n\nUse this on rootNodes only.",
141240
+ "readonly": true,
141241
+ "inheritedFrom": {
141242
+ "name": "FieldNode",
141243
+ "module": "dist/FieldNode.js"
141244
+ }
141245
+ },
141246
+ {
141247
+ "kind": "method",
141248
+ "name": "__getBaseName",
141249
+ "description": "Helper method to build up labels, placeholders,...",
141250
+ "privacy": "protected",
141251
+ "inheritedFrom": {
141252
+ "name": "FieldNode",
141253
+ "module": "dist/FieldNode.js"
141254
+ }
141255
+ },
141256
+ {
141257
+ "kind": "method",
141258
+ "name": "___fieldNameBuilder",
141259
+ "parameters": [
141260
+ {
141261
+ "name": "parts"
141262
+ }
141263
+ ],
141264
+ "description": "Helper method to construct the __fieldPath",
141265
+ "privacy": "protected",
141266
+ "inheritedFrom": {
141267
+ "name": "FieldNode",
141268
+ "module": "dist/FieldNode.js"
141269
+ }
141270
+ },
141271
+ {
141272
+ "kind": "method",
141273
+ "name": "__validate",
141274
+ "description": "Validate the node and all child nodes of it.",
141275
+ "inheritedFrom": {
141276
+ "name": "FieldNode",
141277
+ "module": "dist/FieldNode.js"
141278
+ }
141279
+ },
141280
+ {
141281
+ "kind": "method",
141282
+ "name": "__validateBottomUp",
141283
+ "parameters": [
141284
+ {
141285
+ "name": "node",
141286
+ "description": "Any FieldNode",
141287
+ "type": {
141288
+ "text": "FieldNode"
141289
+ }
141290
+ }
141291
+ ],
141292
+ "description": "Validates all parents of an element. This is done when you set a value on any child/attribute of a node directly",
141293
+ "inheritedFrom": {
141294
+ "name": "FieldNode",
141295
+ "module": "dist/FieldNode.js"
141296
+ }
141297
+ },
141298
+ {
141299
+ "kind": "method",
141300
+ "name": "__climbUpValidation",
141301
+ "description": "Validates all parent nodes if a sub-field was changed.",
141302
+ "privacy": "protected",
141303
+ "inheritedFrom": {
141304
+ "name": "FieldNode",
141305
+ "module": "dist/FieldNode.js"
141306
+ }
141307
+ },
141308
+ {
141309
+ "kind": "method",
141310
+ "name": "__checkTypeBoundaries",
141311
+ "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
141312
+ "privacy": "protected",
141313
+ "inheritedFrom": {
141314
+ "name": "FieldNode",
141315
+ "module": "dist/FieldNode.js"
141316
+ }
141317
+ },
141318
+ {
141319
+ "kind": "method",
141320
+ "name": "__validationExecuter",
141321
+ "parameters": [
141322
+ {
141323
+ "name": "node"
141324
+ }
141325
+ ],
141326
+ "description": "Executes the validation process.",
141327
+ "privacy": "protected",
141328
+ "inheritedFrom": {
141329
+ "name": "FieldNode",
141330
+ "module": "dist/FieldNode.js"
141331
+ }
141332
+ },
141333
+ {
141334
+ "kind": "method",
141335
+ "name": "__getConstraints",
141336
+ "description": "Receives all constraints of a node. Use this in your custom validators or components.",
141337
+ "inheritedFrom": {
141338
+ "name": "FieldNode",
141339
+ "module": "dist/FieldNode.js"
141340
+ }
141341
+ },
141342
+ {
141343
+ "kind": "method",
141344
+ "name": "__setValueState",
141345
+ "parameters": [
141346
+ {
141347
+ "name": "state",
141348
+ "description": "The state of the node.",
141349
+ "type": {
141350
+ "text": "ValueState"
141351
+ }
141352
+ },
141353
+ {
141354
+ "name": "message",
141355
+ "description": "Description for the formatter.",
141356
+ "type": {
141357
+ "text": "string[]"
141358
+ }
141359
+ }
141360
+ ],
141361
+ "description": "Set the value state",
141362
+ "inheritedFrom": {
141363
+ "name": "FieldNode",
141364
+ "module": "dist/FieldNode.js"
141365
+ }
141366
+ },
141367
+ {
141368
+ "kind": "method",
141369
+ "name": "__reset",
141370
+ "description": "Resets the node to the last inserted literal or to the initial state.\n// todo: reset to default values not just the empty state",
141371
+ "inheritedFrom": {
141372
+ "name": "FieldNode",
141373
+ "module": "dist/FieldNode.js"
141374
+ }
141375
+ },
141376
+ {
141377
+ "kind": "method",
141378
+ "name": "__PrimitivesSetter",
141379
+ "parameters": [
141380
+ {
141381
+ "name": "targetNode",
141382
+ "description": "The field of a FieldNode",
141383
+ "type": {
141384
+ "text": "FieldNode"
141385
+ }
141386
+ },
141387
+ {
141388
+ "name": "value",
141389
+ "description": "The value you want to set",
141390
+ "type": {
141391
+ "text": "string | boolean | number"
141392
+ }
141393
+ }
141394
+ ],
141395
+ "description": "Helper method to update a skalar / primitive field of a type. Used by the generated models.\nTriggers also the validation and clearance, if needed.",
141396
+ "privacy": "protected",
141397
+ "inheritedFrom": {
141398
+ "name": "FieldNode",
141399
+ "module": "dist/FieldNode.js"
141400
+ }
141401
+ },
141402
+ {
141403
+ "kind": "method",
141404
+ "name": "__TypeSetter",
141405
+ "parameters": [
141406
+ {
141407
+ "name": "targetNode",
141408
+ "description": "The field of a FieldNode",
141409
+ "type": {
141410
+ "text": "FieldNode"
141411
+ }
141412
+ },
141413
+ {
141414
+ "name": "literalData",
141415
+ "description": "The literal type matches the interface from ITypeName.",
141416
+ "type": {
141417
+ "text": ""
141418
+ }
141419
+ }
141420
+ ],
141421
+ "description": "Helper method to update a field of a type. Used by the generated models.\nTriggers also the validation and clearance, if needed.",
141422
+ "privacy": "protected",
141423
+ "inheritedFrom": {
141424
+ "name": "FieldNode",
141425
+ "module": "dist/FieldNode.js"
141426
+ }
141427
+ },
141428
+ {
141429
+ "kind": "method",
141430
+ "name": "__notifyFieldValueChange",
141431
+ "parameters": [
141432
+ {
141433
+ "name": "bubbles"
141434
+ }
141435
+ ],
141436
+ "description": "Notifies field changes",
141437
+ "privacy": "protected",
141438
+ "inheritedFrom": {
141439
+ "name": "FieldNode",
141440
+ "module": "dist/FieldNode.js"
141441
+ }
141442
+ },
141443
+ {
141444
+ "kind": "field",
141445
+ "name": "__childNodes",
141446
+ "description": "Returns the child nodes of a node.",
141447
+ "readonly": true,
141448
+ "inheritedFrom": {
141449
+ "name": "FieldNode",
141450
+ "module": "dist/FieldNode.js"
141451
+ }
141452
+ },
141453
+ {
141454
+ "kind": "method",
141455
+ "name": "__broadcastEvent",
141456
+ "parameters": [
141457
+ {
141458
+ "name": "event"
141459
+ }
141460
+ ],
141461
+ "description": "Broadcast an event to all child nodes of a field node.",
141462
+ "inheritedFrom": {
141463
+ "name": "FieldNode",
141464
+ "module": "dist/FieldNode.js"
141465
+ }
141466
+ },
141467
+ {
141468
+ "kind": "method",
141469
+ "name": "__dispatchEvent",
141470
+ "parameters": [
141471
+ {
141472
+ "name": "event",
141473
+ "description": "A generic custom event.",
141474
+ "type": {
141475
+ "text": "CustomEvent"
141476
+ }
141477
+ }
141478
+ ],
141479
+ "description": "Dispatches a custom event on a FieldNode",
141480
+ "inheritedFrom": {
141481
+ "name": "FieldNode",
141482
+ "module": "dist/FieldNode.js"
141483
+ }
141484
+ },
141485
+ {
141486
+ "kind": "method",
141487
+ "name": "__triggerNodeEvents",
141488
+ "parameters": [
141489
+ {
141490
+ "name": "event"
141491
+ }
141492
+ ],
141493
+ "description": "Helper method to invoke/execute the event on the current node",
141494
+ "privacy": "protected",
141495
+ "inheritedFrom": {
141496
+ "name": "FieldNode",
141497
+ "module": "dist/FieldNode.js"
141498
+ }
141499
+ },
141500
+ {
141501
+ "kind": "method",
141502
+ "name": "__addEventListener",
141503
+ "parameters": [
141504
+ {
141505
+ "name": "type",
141506
+ "description": "A case-sensitive string representing the event type to listen for.",
141507
+ "type": {
141508
+ "text": "string"
141509
+ }
141510
+ },
141511
+ {
141512
+ "name": "listener",
141513
+ "description": "The object that receives a notification (an object that implements the Event interface) when an event of the specified type occurs. This must be null, an object with a handleEvent() method, or a JavaScript function. See The event listener callback for details on the callback itself.",
141514
+ "type": {
141515
+ "text": "function"
141516
+ }
141517
+ },
141518
+ {
141519
+ "name": "options",
141520
+ "description": "An object that specifies characteristics about the event listener. \\n\\nThe available option is `once:boolean`",
141521
+ "type": {
141522
+ "text": ""
141523
+ }
141524
+ }
141525
+ ],
141526
+ "description": "Add a handler to a node",
141527
+ "inheritedFrom": {
141528
+ "name": "FieldNode",
141529
+ "module": "dist/FieldNode.js"
141530
+ }
141531
+ },
141532
+ {
141533
+ "kind": "method",
141534
+ "name": "__addCustomEventListener",
141535
+ "parameters": [
141536
+ {
141537
+ "name": "type"
141538
+ },
141539
+ {
141540
+ "name": "handler"
141541
+ },
141542
+ {
141543
+ "name": "options"
141544
+ }
141545
+ ],
141546
+ "inheritedFrom": {
141547
+ "name": "FieldNode",
141548
+ "module": "dist/FieldNode.js"
141549
+ }
141550
+ },
141551
+ {
141552
+ "kind": "method",
141553
+ "name": "__removeEventListener",
141554
+ "parameters": [
141555
+ {
141556
+ "name": "type"
141557
+ },
141558
+ {
141559
+ "name": "handler"
141560
+ },
141561
+ {
141562
+ "name": "options"
141563
+ }
141564
+ ],
141565
+ "description": "Removes the handler from a node",
141566
+ "inheritedFrom": {
141567
+ "name": "FieldNode",
141568
+ "module": "dist/FieldNode.js"
141569
+ }
141570
+ },
141571
+ {
141572
+ "kind": "method",
141573
+ "name": "__removeCustomEventListener",
141574
+ "parameters": [
141575
+ {
141576
+ "name": "type"
141577
+ },
141578
+ {
141579
+ "name": "handler"
141580
+ },
141581
+ {
141582
+ "name": "options"
141583
+ }
141584
+ ],
141585
+ "description": "Removes the handler from a node",
141586
+ "inheritedFrom": {
141587
+ "name": "FieldNode",
141588
+ "module": "dist/FieldNode.js"
141589
+ }
141590
+ },
141591
+ {
141592
+ "kind": "method",
141593
+ "name": "___updateNotEmptyPath",
141594
+ "description": "if some child is not empty, set isEmpty to false, all the way up to the root node",
141595
+ "privacy": "private",
141596
+ "inheritedFrom": {
141597
+ "name": "FieldNode",
141598
+ "module": "dist/FieldNode.js"
141599
+ }
141600
+ },
141601
+ {
141602
+ "kind": "method",
141603
+ "name": "__checkConstraints",
141604
+ "parameters": [
141605
+ {
141606
+ "name": "fieldConstraints"
141607
+ }
141608
+ ],
141609
+ "inheritedFrom": {
141610
+ "name": "FieldNode",
141611
+ "module": "dist/FieldNode.js"
141612
+ }
141613
+ },
141614
+ {
141615
+ "kind": "method",
141616
+ "name": "__toLowerCamelCase",
141617
+ "parameters": [
141618
+ {
141619
+ "name": "string"
141620
+ }
141621
+ ],
141622
+ "inheritedFrom": {
141623
+ "name": "FieldNode",
141624
+ "module": "dist/FieldNode.js"
141625
+ }
141626
+ },
141627
+ {
141628
+ "kind": "method",
141629
+ "name": "__toLowerCamelCaseWithoutXPrefix",
141630
+ "parameters": [
141631
+ {
141632
+ "name": "string"
141633
+ }
141634
+ ],
141635
+ "inheritedFrom": {
141636
+ "name": "FieldNode",
141637
+ "module": "dist/FieldNode.js"
141638
+ }
141639
+ },
141640
+ {
141641
+ "kind": "method",
141642
+ "name": "__toSnakeCase",
141643
+ "parameters": [
141644
+ {
141645
+ "name": "string"
141646
+ }
141647
+ ],
141648
+ "inheritedFrom": {
141649
+ "name": "FieldNode",
141650
+ "module": "dist/FieldNode.js"
141651
+ }
141652
+ },
141653
+ {
141654
+ "kind": "field",
141655
+ "name": "___isEmpty",
141656
+ "type": {
141657
+ "text": "boolean"
141658
+ },
141659
+ "default": "true",
141660
+ "inheritedFrom": {
141661
+ "name": "FieldNode",
141662
+ "module": "dist/FieldNode.js"
141663
+ }
141664
+ },
141665
+ {
141666
+ "kind": "field",
141667
+ "name": "__isPrimitive",
141668
+ "type": {
141669
+ "text": "boolean"
141670
+ },
141671
+ "description": "Marker for primitive types",
141672
+ "default": "false",
141673
+ "inheritedFrom": {
141674
+ "name": "FieldNode",
141675
+ "module": "dist/FieldNode.js"
141676
+ }
141677
+ },
141678
+ {
141679
+ "kind": "field",
141680
+ "name": "__meta",
141681
+ "type": {
141682
+ "text": "object"
141683
+ },
141684
+ "description": "Meta data of a field node.",
141685
+ "default": "{ businessVaueState: ValueState.None, readonly: false, required: false, initialValue: undefined, isPristine: true, isValid: true, valueState: ValueState.None, stateMessage: '', typeName: '', nodeFields: [], isArrayNode: false, isRecursionNode: false, isAnyNode: false, eventListener: new Map(), }",
141686
+ "inheritedFrom": {
141687
+ "name": "FieldNode",
141688
+ "module": "dist/FieldNode.js"
141689
+ }
141690
+ },
141691
+ {
141692
+ "kind": "field",
141693
+ "name": "___readonlyState",
141694
+ "default": "new Map()",
141695
+ "inheritedFrom": {
141696
+ "name": "FieldNode",
141697
+ "module": "dist/FieldNode.js"
141698
+ }
141699
+ },
141700
+ {
141701
+ "kind": "field",
141702
+ "name": "__parentNode",
141703
+ "default": "parent",
141704
+ "inheritedFrom": {
141705
+ "name": "FieldNode",
141706
+ "module": "dist/FieldNode.js"
141707
+ }
141708
+ },
141709
+ {
141710
+ "kind": "field",
141711
+ "name": "fieldName",
141712
+ "default": "parentAttributeName",
141713
+ "inheritedFrom": {
141714
+ "name": "FieldNode",
141715
+ "module": "dist/FieldNode.js"
141716
+ }
141717
+ }
141718
+ ],
141719
+ "superclass": {
141720
+ "name": "FieldNode",
141721
+ "module": "/dist/FieldNode.js"
141722
+ }
141723
+ }
141724
+ ],
141725
+ "exports": [
141726
+ {
141727
+ "kind": "js",
141728
+ "name": "EMPTY",
141729
+ "declaration": {
141730
+ "name": "EMPTY",
141731
+ "module": "dist/well_known/EMPTY.js"
141732
+ }
141733
+ }
141734
+ ]
141735
+ },
141736
+ {
141737
+ "kind": "javascript-module",
141738
+ "path": "dist/well_known/EMPTY.js.map",
141739
+ "declarations": [],
141740
+ "exports": []
141741
+ },
140878
141742
  {
140879
141743
  "kind": "javascript-module",
140880
141744
  "path": "dist/well_known/FieldMask.js",
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ export { STRING } from './primitives/STRING.js';
14
14
  export { BYTES } from './primitives/BYTES.js';
15
15
  export { DOUBLE } from './primitives/DOUBLE.js';
16
16
  export { FLOAT } from './primitives/FLOAT.js';
17
+ export { EMPTY } from './well_known/EMPTY.js';
17
18
  export { ANY } from './well_known/ANY.js';
18
19
  export { Int32Value } from './well_known/Int32Value.js';
19
20
  export { Int64Value } from './well_known/Int64Value.js';
package/dist/index.js CHANGED
@@ -15,6 +15,7 @@ export { BYTES } from './primitives/BYTES.js';
15
15
  export { DOUBLE } from './primitives/DOUBLE.js';
16
16
  export { FLOAT } from './primitives/FLOAT.js';
17
17
  // well known
18
+ export { EMPTY } from './well_known/EMPTY.js';
18
19
  export { ANY } from './well_known/ANY.js';
19
20
  export { Int32Value } from './well_known/Int32Value.js';
20
21
  export { Int64Value } from './well_known/Int64Value.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAGvD,aAAa;AACb,OAAO,EAAE,OAAO,EAAE,MAAM,sBA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,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { FieldNode, ValueStateSummary } from './FieldNode';\nexport { Registry } from './Registry';\nexport { ValueState } from './ValueState';\nexport { OPEN_MODELS_OPTIONS } from './OPEN_MODELS_OPTIONS';\nexport { ToString, ValueOf } from './CustomPrototypes';\nexport { FieldConstraints } from './FieldConstraints';\n\n// Primitives\nexport { BOOLEAN } from './primitives/BOOLEAN';\nexport { ENUM } from './primitives/ENUM';\nexport { INT32 } from './primitives/INT32';\nexport { INT64 } from './primitives/INT64';\nexport { UINT32 } from './primitives/UINT32';\nexport { UINT64 } from './primitives/UINT64';\nexport { STRING } from './primitives/STRING';\nexport { BYTES } from './primitives/BYTES';\nexport { DOUBLE } from './primitives/DOUBLE';\nexport { FLOAT } from './primitives/FLOAT';\n\n// well known\nexport { ANY } from './well_known/ANY';\nexport { Int32Value } from './well_known/Int32Value';\nexport { Int64Value } from './well_known/Int64Value';\nexport { UInt32Value } from './well_known/UInt32Value';\nexport { UInt64Value } from './well_known/UInt64Value';\nexport { DoubleValue } from './well_known/DoubleValue';\nexport { FloatValue } from './well_known/FloatValue';\nexport { BoolValue } from './well_known/BoolValue';\nexport { BytesValue } from './well_known/BytesValue';\nexport { StringValue } from './well_known/StringValue';\nexport { Timestamp } from './well_known/Timestamp';\nexport { Struct } from './well_known/Struct';\nexport { Duration } from './well_known/Duration';\nexport { FieldMask } from './well_known/FieldMask';\n\n// proxies\nexport { ARRAY } from './proxies/ARRAY';\nexport { MAP } from './proxies/MAP';\nexport { RECURSION } from './proxies/RECURSION';\n\nexport interface IAny {\n '@type': string;\n [key: string]: unknown;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,aAAa,CAAC;AAC3D,OA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,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,UAAU;AACV,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { FieldNode, ValueStateSummary } from './FieldNode';\nexport { Registry } from './Registry';\nexport { ValueState } from './ValueState';\nexport { OPEN_MODELS_OPTIONS } from './OPEN_MODELS_OPTIONS';\nexport { ToString, ValueOf } from './CustomPrototypes';\nexport { FieldConstraints } from './FieldConstraints';\n\n// Primitives\nexport { BOOLEAN } from './primitives/BOOLEAN';\nexport { ENUM } from './primitives/ENUM';\nexport { INT32 } from './primitives/INT32';\nexport { INT64 } from './primitives/INT64';\nexport { UINT32 } from './primitives/UINT32';\nexport { UINT64 } from './primitives/UINT64';\nexport { STRING } from './primitives/STRING';\nexport { BYTES } from './primitives/BYTES';\nexport { DOUBLE } from './primitives/DOUBLE';\nexport { FLOAT } from './primitives/FLOAT';\n\n// well known\nexport { EMPTY } from './well_known/EMPTY';\nexport { ANY } from './well_known/ANY';\nexport { Int32Value } from './well_known/Int32Value';\nexport { Int64Value } from './well_known/Int64Value';\nexport { UInt32Value } from './well_known/UInt32Value';\nexport { UInt64Value } from './well_known/UInt64Value';\nexport { DoubleValue } from './well_known/DoubleValue';\nexport { FloatValue } from './well_known/FloatValue';\nexport { BoolValue } from './well_known/BoolValue';\nexport { BytesValue } from './well_known/BytesValue';\nexport { StringValue } from './well_known/StringValue';\nexport { Timestamp } from './well_known/Timestamp';\nexport { Struct } from './well_known/Struct';\nexport { Duration } from './well_known/Duration';\nexport { FieldMask } from './well_known/FieldMask';\n\n// proxies\nexport { ARRAY } from './proxies/ARRAY';\nexport { MAP } from './proxies/MAP';\nexport { RECURSION } from './proxies/RECURSION';\n\nexport interface IAny {\n '@type': string;\n [key: string]: unknown;\n}\n"]}
@@ -0,0 +1,14 @@
1
+ import { FieldNode } from '../FieldNode.js';
2
+ export declare class EMPTY extends FieldNode {
3
+ get value(): Record<string, never>;
4
+ set value(value: Record<string, never>);
5
+ _value: Record<string, never>;
6
+ constructor(initData?: Record<string, never>, parent?: FieldNode, parentAttributeName?: string);
7
+ __updateWithLiteral(_: Record<string, never>): void;
8
+ __mapProtoNameJsonToJson(data: number): number;
9
+ __toJson(): Record<string, never> | null;
10
+ valueOf(): number;
11
+ __toLiteral(): Record<string, never>;
12
+ toString(): string;
13
+ __clear(): void;
14
+ }
@@ -0,0 +1,45 @@
1
+ import { FieldNode } from '../FieldNode.js';
2
+ import { Registry } from '../Registry.js';
3
+ export class EMPTY extends FieldNode {
4
+ get value() {
5
+ return this._value;
6
+ }
7
+ set value(value) {
8
+ this.__isEmpty = true;
9
+ }
10
+ constructor(initData, parent, parentAttributeName) {
11
+ super(undefined, parent, parentAttributeName);
12
+ this._value = {};
13
+ this.__isEmpty = true;
14
+ this.__meta.typeName = 'google.protobuf.Empty';
15
+ }
16
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
17
+ __updateWithLiteral(_) {
18
+ this.__isEmpty = false;
19
+ }
20
+ // eslint-disable-next-line class-methods-use-this
21
+ __mapProtoNameJsonToJson(data) {
22
+ return data;
23
+ }
24
+ __toJson() {
25
+ return this.__toLiteral();
26
+ }
27
+ valueOf() {
28
+ return this._value ? 1 : 0;
29
+ }
30
+ __toLiteral() {
31
+ return this._value;
32
+ }
33
+ toString() {
34
+ if (this._value !== null) {
35
+ return this._value.toString();
36
+ }
37
+ return '';
38
+ }
39
+ __clear() {
40
+ this._value = {};
41
+ this.__isEmpty = true;
42
+ }
43
+ }
44
+ Registry.register('google.protobuf.Empty', EMPTY);
45
+ //# sourceMappingURL=EMPTY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EMPTY.js","sourceRoot":"","sources":["../../src/well_known/EMPTY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK,CAAC,KAA4B;QACpC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACxB,CAAC;IAID,YACE,QAAgC,EAChC,MAAkB,EAClB,mBAA4B;QAE5B,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,mBAAmB,CAAC,CAAC;QAPzC,WAAM,GAA0B,EAAE,CAAC;QASxC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAA;QACrB,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,uBAAuB,CAAC;IACjD,CAAC;IAED,6DAA6D;IAC7D,mBAAmB,CAAC,CAAwB;QACxC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;IAC3B,CAAC;IAED,kDAAkD;IAClD,wBAAwB,CAAC,IAAY;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;IAC5B,CAAC;IAED,OAAO;QACL,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7B,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,QAAQ;QACN,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO;QACL,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAA;IACvB,CAAC;CACF;AAED,QAAQ,CAAC,QAAQ,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC","sourcesContent":["import { FieldNode } from '../FieldNode';\nimport { Registry } from '../Registry';\n\nexport class EMPTY extends FieldNode {\n get value(): Record<string, never> {\n return this._value;\n }\n\n set value(value: Record<string, never>) {\n this.__isEmpty = true;\n }\n\n public _value: Record<string, never> = {};\n\n constructor(\n initData?: Record<string, never>,\n parent?: FieldNode,\n parentAttributeName?: string,\n ) {\n super(undefined, parent, parentAttributeName);\n\n this.__isEmpty = true\n this.__meta.typeName = 'google.protobuf.Empty';\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n __updateWithLiteral(_: Record<string, never>) {\n this.__isEmpty = false;\n }\n\n // eslint-disable-next-line class-methods-use-this\n __mapProtoNameJsonToJson(data: number): number {\n return data;\n }\n\n __toJson(): Record<string, never> | null {\n return this.__toLiteral();\n }\n\n valueOf(): number {\n return this._value ? 1 : 0;\n }\n\n __toLiteral() {\n return this._value;\n }\n\n toString(): string {\n if (this._value !== null) {\n return this._value.toString();\n }\n return '';\n }\n\n __clear() {\n this._value = {};\n this.__isEmpty = true\n }\n}\n\nRegistry.register('google.protobuf.Empty', EMPTY);\n"]}
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "homepage": "https://github.com/eclipse/eclipsefuro-web/tree/main/packages",
6
6
  "repository": "git@github.com:eclipse/eclipsefuro-web.git",
7
7
  "author": "eclipse furo",
8
- "version": "1.0.0",
8
+ "version": "1.1.0-rc.0",
9
9
  "type": "module",
10
10
  "main": "dist/index.js",
11
11
  "module": "dist/index.js",