@inf-monkeys-tech/monkeys 1.1.38 → 1.1.40

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.
Files changed (39) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +817 -190
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control.d.ts +140 -30
  4. package/lib/contracts/declarative-control.d.ts.map +1 -1
  5. package/lib/contracts/declarative-control.js +101 -85
  6. package/lib/contracts/declarative-control.js.map +1 -1
  7. package/lib/contracts/declarative-document-import.d.ts +215 -50
  8. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +172 -40
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/esm/{chunk-MIG553ZW.mjs → chunk-5UMICQYH.mjs} +5 -3
  12. package/lib/esm/chunk-5UMICQYH.mjs.map +1 -0
  13. package/lib/esm/{chunk-RHIQIBBA.mjs → chunk-AJWWNJFI.mjs} +2 -2
  14. package/lib/esm/{chunk-V6RHZIZ4.mjs → chunk-FIIAQQUQ.mjs} +2 -2
  15. package/lib/esm/{chunk-QZ4R7KDA.mjs → chunk-G2HBRCFH.mjs} +94 -75
  16. package/lib/esm/chunk-G2HBRCFH.mjs.map +1 -0
  17. package/lib/esm/{chunk-5BYSA3KN.mjs → chunk-NIFHONOR.mjs} +3 -3
  18. package/lib/esm/{chunk-UJBIER7C.mjs → chunk-YYDR6UML.mjs} +2 -2
  19. package/lib/esm/contracts/index.mjs +8 -6
  20. package/lib/esm/index.mjs +10 -8
  21. package/lib/esm/index.mjs.map +1 -1
  22. package/lib/esm/runtime/index.mjs +3 -3
  23. package/lib/esm/schemas/index.mjs +3 -3
  24. package/lib/json-schema/navigation-runtime-bundle.schema.json +470 -26
  25. package/lib/json-schema/navigation.schema.json +503 -26
  26. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  27. package/lib/runtime/declarative-control-compiler.js +2 -0
  28. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  29. package/lib/runtime/runtime-definition-wire.d.ts +43 -10
  30. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  31. package/lib/schemas/index.d.ts +86 -20
  32. package/lib/schemas/index.d.ts.map +1 -1
  33. package/package.json +1 -1
  34. package/lib/esm/chunk-MIG553ZW.mjs.map +0 -1
  35. package/lib/esm/chunk-QZ4R7KDA.mjs.map +0 -1
  36. /package/lib/esm/{chunk-RHIQIBBA.mjs.map → chunk-AJWWNJFI.mjs.map} +0 -0
  37. /package/lib/esm/{chunk-V6RHZIZ4.mjs.map → chunk-FIIAQQUQ.mjs.map} +0 -0
  38. /package/lib/esm/{chunk-5BYSA3KN.mjs.map → chunk-NIFHONOR.mjs.map} +0 -0
  39. /package/lib/esm/{chunk-UJBIER7C.mjs.map → chunk-YYDR6UML.mjs.map} +0 -0
@@ -7807,24 +7807,56 @@
7807
7807
  ]
7808
7808
  }
7809
7809
  },
7810
- "headbarModeSwitch": {
7810
+ "headbar": {
7811
7811
  "type": "object",
7812
7812
  "properties": {
7813
- "defaultMode": {
7814
- "type": "string",
7815
- "enum": [
7816
- "professional",
7817
- "smart"
7818
- ]
7813
+ "state": {
7814
+ "default": {},
7815
+ "type": "object",
7816
+ "propertyNames": {
7817
+ "type": "string",
7818
+ "minLength": 1,
7819
+ "maxLength": 256
7820
+ },
7821
+ "additionalProperties": {
7822
+ "type": "object",
7823
+ "properties": {
7824
+ "defaultValue": {
7825
+ "anyOf": [
7826
+ {
7827
+ "type": "string"
7828
+ },
7829
+ {
7830
+ "type": "number"
7831
+ },
7832
+ {
7833
+ "type": "boolean"
7834
+ },
7835
+ {
7836
+ "type": "null"
7837
+ }
7838
+ ]
7839
+ },
7840
+ "persistence": {
7841
+ "type": "string",
7842
+ "enum": [
7843
+ "none",
7844
+ "user-preference"
7845
+ ]
7846
+ }
7847
+ },
7848
+ "required": [
7849
+ "defaultValue",
7850
+ "persistence"
7851
+ ],
7852
+ "additionalProperties": false
7853
+ }
7819
7854
  },
7820
- "storageKey": {
7821
- "type": "string",
7822
- "minLength": 1,
7823
- "maxLength": 256
7855
+ "navigationVisible": {
7856
+ "$ref": "#/$defs/__schema1"
7824
7857
  },
7825
- "modes": {
7826
- "minItems": 2,
7827
- "maxItems": 2,
7858
+ "buttons": {
7859
+ "maxItems": 32,
7828
7860
  "type": "array",
7829
7861
  "items": {
7830
7862
  "type": "object",
@@ -7860,33 +7892,192 @@
7860
7892
  "additionalProperties": false
7861
7893
  },
7862
7894
  "icon": {
7895
+ "anyOf": [
7896
+ {
7897
+ "type": "object",
7898
+ "properties": {
7899
+ "kind": {
7900
+ "type": "string",
7901
+ "const": "text"
7902
+ },
7903
+ "value": {
7904
+ "type": "string",
7905
+ "minLength": 1,
7906
+ "maxLength": 16
7907
+ }
7908
+ },
7909
+ "required": [
7910
+ "kind",
7911
+ "value"
7912
+ ],
7913
+ "additionalProperties": false
7914
+ },
7915
+ {
7916
+ "type": "object",
7917
+ "properties": {
7918
+ "kind": {
7919
+ "type": "string",
7920
+ "const": "design-icon"
7921
+ },
7922
+ "name": {
7923
+ "type": "string",
7924
+ "minLength": 1,
7925
+ "maxLength": 256
7926
+ }
7927
+ },
7928
+ "required": [
7929
+ "kind",
7930
+ "name"
7931
+ ],
7932
+ "additionalProperties": false
7933
+ }
7934
+ ]
7935
+ },
7936
+ "presentation": {
7937
+ "default": "icon",
7863
7938
  "type": "string",
7864
- "minLength": 1,
7865
- "maxLength": 16
7939
+ "enum": [
7940
+ "icon",
7941
+ "icon-label"
7942
+ ]
7866
7943
  },
7867
- "navigationVisible": {
7868
- "type": "boolean"
7944
+ "when": {
7945
+ "$ref": "#/$defs/__schema1"
7869
7946
  },
7870
- "targetNodeId": {
7871
- "type": "string",
7872
- "minLength": 1,
7873
- "maxLength": 256
7947
+ "onPress": {
7948
+ "minItems": 1,
7949
+ "maxItems": 8,
7950
+ "type": "array",
7951
+ "items": {
7952
+ "anyOf": [
7953
+ {
7954
+ "type": "object",
7955
+ "properties": {
7956
+ "when": {
7957
+ "$ref": "#/$defs/__schema1"
7958
+ },
7959
+ "kind": {
7960
+ "type": "string",
7961
+ "const": "navigate"
7962
+ },
7963
+ "nodeId": {
7964
+ "type": "string",
7965
+ "minLength": 1,
7966
+ "maxLength": 256
7967
+ },
7968
+ "rememberLocation": {
7969
+ "type": "string",
7970
+ "minLength": 1,
7971
+ "maxLength": 256
7972
+ }
7973
+ },
7974
+ "required": [
7975
+ "kind",
7976
+ "nodeId"
7977
+ ],
7978
+ "additionalProperties": false
7979
+ },
7980
+ {
7981
+ "type": "object",
7982
+ "properties": {
7983
+ "when": {
7984
+ "$ref": "#/$defs/__schema1"
7985
+ },
7986
+ "kind": {
7987
+ "type": "string",
7988
+ "const": "restore-location"
7989
+ },
7990
+ "key": {
7991
+ "type": "string",
7992
+ "minLength": 1,
7993
+ "maxLength": 256
7994
+ }
7995
+ },
7996
+ "required": [
7997
+ "kind",
7998
+ "key"
7999
+ ],
8000
+ "additionalProperties": false
8001
+ },
8002
+ {
8003
+ "type": "object",
8004
+ "properties": {
8005
+ "when": {
8006
+ "$ref": "#/$defs/__schema1"
8007
+ },
8008
+ "kind": {
8009
+ "type": "string",
8010
+ "const": "set-state"
8011
+ },
8012
+ "stateId": {
8013
+ "type": "string",
8014
+ "minLength": 1,
8015
+ "maxLength": 256
8016
+ },
8017
+ "value": {
8018
+ "$ref": "#/$defs/__schema1"
8019
+ }
8020
+ },
8021
+ "required": [
8022
+ "kind",
8023
+ "stateId",
8024
+ "value"
8025
+ ],
8026
+ "additionalProperties": false
8027
+ }
8028
+ ]
8029
+ }
7874
8030
  }
7875
8031
  },
7876
8032
  "required": [
7877
8033
  "id",
7878
8034
  "label",
7879
8035
  "icon",
7880
- "navigationVisible"
8036
+ "presentation",
8037
+ "onPress"
7881
8038
  ],
7882
8039
  "additionalProperties": false
7883
8040
  }
7884
8041
  }
7885
8042
  },
7886
8043
  "required": [
7887
- "defaultMode",
7888
- "storageKey",
7889
- "modes"
8044
+ "state",
8045
+ "buttons"
8046
+ ],
8047
+ "additionalProperties": false
8048
+ },
8049
+ "headbarModeSwitch": {
8050
+ "type": "object",
8051
+ "propertyNames": {
8052
+ "type": "string"
8053
+ },
8054
+ "additionalProperties": {
8055
+ "$ref": "#/$defs/__schema0"
8056
+ }
8057
+ },
8058
+ "menuRef": {
8059
+ "type": "object",
8060
+ "properties": {
8061
+ "applicationId": {
8062
+ "type": "string",
8063
+ "minLength": 1,
8064
+ "maxLength": 256
8065
+ },
8066
+ "surface": {
8067
+ "type": "string",
8068
+ "minLength": 1,
8069
+ "maxLength": 256
8070
+ },
8071
+ "menuId": {
8072
+ "type": "string",
8073
+ "minLength": 1,
8074
+ "maxLength": 256
8075
+ }
8076
+ },
8077
+ "required": [
8078
+ "applicationId",
8079
+ "surface",
8080
+ "menuId"
7890
8081
  ],
7891
8082
  "additionalProperties": false
7892
8083
  },
@@ -8222,6 +8413,259 @@
8222
8413
  }
8223
8414
  }
8224
8415
  ]
8416
+ },
8417
+ "__schema1": {
8418
+ "anyOf": [
8419
+ {
8420
+ "type": "object",
8421
+ "properties": {
8422
+ "kind": {
8423
+ "type": "string",
8424
+ "const": "literal"
8425
+ },
8426
+ "value": {
8427
+ "$ref": "#/$defs/__schema0"
8428
+ }
8429
+ },
8430
+ "required": [
8431
+ "kind",
8432
+ "value"
8433
+ ],
8434
+ "additionalProperties": false
8435
+ },
8436
+ {
8437
+ "type": "object",
8438
+ "properties": {
8439
+ "kind": {
8440
+ "type": "string",
8441
+ "const": "read"
8442
+ },
8443
+ "root": {
8444
+ "type": "string",
8445
+ "enum": [
8446
+ "state",
8447
+ "model",
8448
+ "bindings",
8449
+ "queries",
8450
+ "scope",
8451
+ "intent",
8452
+ "result",
8453
+ "actions"
8454
+ ]
8455
+ },
8456
+ "path": {
8457
+ "maxItems": 16,
8458
+ "type": "array",
8459
+ "items": {
8460
+ "type": "string",
8461
+ "minLength": 1,
8462
+ "maxLength": 256
8463
+ }
8464
+ }
8465
+ },
8466
+ "required": [
8467
+ "kind",
8468
+ "root",
8469
+ "path"
8470
+ ],
8471
+ "additionalProperties": false
8472
+ },
8473
+ {
8474
+ "type": "object",
8475
+ "properties": {
8476
+ "kind": {
8477
+ "type": "string",
8478
+ "const": "operator"
8479
+ },
8480
+ "operator": {
8481
+ "type": "string",
8482
+ "enum": [
8483
+ "add",
8484
+ "subtract",
8485
+ "multiply",
8486
+ "divide",
8487
+ "min",
8488
+ "max",
8489
+ "round",
8490
+ "equals",
8491
+ "not-equals",
8492
+ "less-than",
8493
+ "less-or-equal",
8494
+ "greater-than",
8495
+ "greater-or-equal",
8496
+ "and",
8497
+ "or",
8498
+ "not",
8499
+ "coalesce",
8500
+ "concat",
8501
+ "string",
8502
+ "number",
8503
+ "length",
8504
+ "includes",
8505
+ "get",
8506
+ "set-path",
8507
+ "merge",
8508
+ "entries",
8509
+ "from-entries",
8510
+ "array-concat",
8511
+ "slice",
8512
+ "trim",
8513
+ "fixed",
8514
+ "number-format",
8515
+ "encode-uri-component"
8516
+ ]
8517
+ },
8518
+ "arguments": {
8519
+ "minItems": 1,
8520
+ "maxItems": 32,
8521
+ "type": "array",
8522
+ "items": {
8523
+ "$ref": "#/$defs/__schema1"
8524
+ }
8525
+ }
8526
+ },
8527
+ "required": [
8528
+ "kind",
8529
+ "operator",
8530
+ "arguments"
8531
+ ],
8532
+ "additionalProperties": false
8533
+ },
8534
+ {
8535
+ "type": "object",
8536
+ "properties": {
8537
+ "kind": {
8538
+ "type": "string",
8539
+ "const": "conditional"
8540
+ },
8541
+ "condition": {
8542
+ "$ref": "#/$defs/__schema1"
8543
+ },
8544
+ "then": {
8545
+ "$ref": "#/$defs/__schema1"
8546
+ },
8547
+ "else": {
8548
+ "$ref": "#/$defs/__schema1"
8549
+ }
8550
+ },
8551
+ "required": [
8552
+ "kind",
8553
+ "condition",
8554
+ "then",
8555
+ "else"
8556
+ ],
8557
+ "additionalProperties": false
8558
+ },
8559
+ {
8560
+ "type": "object",
8561
+ "properties": {
8562
+ "kind": {
8563
+ "type": "string",
8564
+ "const": "object"
8565
+ },
8566
+ "fields": {
8567
+ "type": "object",
8568
+ "propertyNames": {
8569
+ "type": "string",
8570
+ "minLength": 1,
8571
+ "maxLength": 256
8572
+ },
8573
+ "additionalProperties": {
8574
+ "$ref": "#/$defs/__schema1"
8575
+ }
8576
+ }
8577
+ },
8578
+ "required": [
8579
+ "kind",
8580
+ "fields"
8581
+ ],
8582
+ "additionalProperties": false
8583
+ },
8584
+ {
8585
+ "type": "object",
8586
+ "properties": {
8587
+ "kind": {
8588
+ "type": "string",
8589
+ "const": "array"
8590
+ },
8591
+ "items": {
8592
+ "maxItems": 1000,
8593
+ "type": "array",
8594
+ "items": {
8595
+ "$ref": "#/$defs/__schema1"
8596
+ }
8597
+ }
8598
+ },
8599
+ "required": [
8600
+ "kind",
8601
+ "items"
8602
+ ],
8603
+ "additionalProperties": false
8604
+ },
8605
+ {
8606
+ "type": "object",
8607
+ "properties": {
8608
+ "kind": {
8609
+ "type": "string",
8610
+ "const": "map"
8611
+ },
8612
+ "source": {
8613
+ "$ref": "#/$defs/__schema1"
8614
+ },
8615
+ "value": {
8616
+ "$ref": "#/$defs/__schema1"
8617
+ }
8618
+ },
8619
+ "required": [
8620
+ "kind",
8621
+ "source",
8622
+ "value"
8623
+ ],
8624
+ "additionalProperties": false
8625
+ },
8626
+ {
8627
+ "type": "object",
8628
+ "properties": {
8629
+ "kind": {
8630
+ "type": "string",
8631
+ "const": "filter"
8632
+ },
8633
+ "source": {
8634
+ "$ref": "#/$defs/__schema1"
8635
+ },
8636
+ "value": {
8637
+ "$ref": "#/$defs/__schema1"
8638
+ }
8639
+ },
8640
+ "required": [
8641
+ "kind",
8642
+ "source",
8643
+ "value"
8644
+ ],
8645
+ "additionalProperties": false
8646
+ },
8647
+ {
8648
+ "type": "object",
8649
+ "properties": {
8650
+ "kind": {
8651
+ "type": "string",
8652
+ "const": "sum"
8653
+ },
8654
+ "source": {
8655
+ "$ref": "#/$defs/__schema1"
8656
+ },
8657
+ "value": {
8658
+ "$ref": "#/$defs/__schema1"
8659
+ }
8660
+ },
8661
+ "required": [
8662
+ "kind",
8663
+ "source",
8664
+ "value"
8665
+ ],
8666
+ "additionalProperties": false
8667
+ }
8668
+ ]
8225
8669
  }
8226
8670
  },
8227
8671
  "$id": "https://schemas.infmonkeys.com/contracts/navigation-runtime-bundle.schema.json",