@inf-monkeys-tech/monkeys 1.1.39 → 1.1.41

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 (45) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +798 -190
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control.d.ts +138 -30
  4. package/lib/contracts/declarative-control.d.ts.map +1 -1
  5. package/lib/contracts/declarative-control.js +95 -85
  6. package/lib/contracts/declarative-control.js.map +1 -1
  7. package/lib/contracts/declarative-document-import.d.ts +210 -50
  8. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +168 -40
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/tenant.d.ts +12 -0
  12. package/lib/contracts/tenant.d.ts.map +1 -1
  13. package/lib/contracts/tenant.js +7 -0
  14. package/lib/contracts/tenant.js.map +1 -1
  15. package/lib/esm/{chunk-GHOCGKIR.mjs → chunk-22EMXUOT.mjs} +2 -2
  16. package/lib/esm/{chunk-JFR4WV3P.mjs → chunk-6REXMVTC.mjs} +2 -2
  17. package/lib/esm/{chunk-EOSZ6WB2.mjs → chunk-CWB4ZZ52.mjs} +3 -3
  18. package/lib/esm/{chunk-SZ53EILQ.mjs → chunk-DR3BUHQG.mjs} +2 -2
  19. package/lib/esm/{chunk-NTGF72G3.mjs → chunk-QCNO3BPY.mjs} +93 -75
  20. package/lib/esm/chunk-QCNO3BPY.mjs.map +1 -0
  21. package/lib/esm/{chunk-OUQ5WLMZ.mjs → chunk-ZSSYNYLX.mjs} +5 -4
  22. package/lib/esm/chunk-ZSSYNYLX.mjs.map +1 -0
  23. package/lib/esm/contracts/index.mjs +8 -6
  24. package/lib/esm/index.mjs +10 -8
  25. package/lib/esm/index.mjs.map +1 -1
  26. package/lib/esm/runtime/index.mjs +3 -3
  27. package/lib/esm/schemas/index.mjs +3 -3
  28. package/lib/json-schema/navigation-runtime-bundle.schema.json +461 -26
  29. package/lib/json-schema/navigation.schema.json +494 -26
  30. package/lib/json-schema/tenant-product-config.schema.json +12 -0
  31. package/lib/json-schema/tenant-runtime-config.schema.json +12 -0
  32. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  33. package/lib/runtime/declarative-control-compiler.js +2 -1
  34. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  35. package/lib/runtime/runtime-definition-wire.d.ts +42 -10
  36. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  37. package/lib/schemas/index.d.ts +92 -20
  38. package/lib/schemas/index.d.ts.map +1 -1
  39. package/package.json +1 -1
  40. package/lib/esm/chunk-NTGF72G3.mjs.map +0 -1
  41. package/lib/esm/chunk-OUQ5WLMZ.mjs.map +0 -1
  42. /package/lib/esm/{chunk-GHOCGKIR.mjs.map → chunk-22EMXUOT.mjs.map} +0 -0
  43. /package/lib/esm/{chunk-JFR4WV3P.mjs.map → chunk-6REXMVTC.mjs.map} +0 -0
  44. /package/lib/esm/{chunk-EOSZ6WB2.mjs.map → chunk-CWB4ZZ52.mjs.map} +0 -0
  45. /package/lib/esm/{chunk-SZ53EILQ.mjs.map → chunk-DR3BUHQG.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,183 @@
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
+ "menuRef": {
8050
+ "type": "object",
8051
+ "properties": {
8052
+ "applicationId": {
8053
+ "type": "string",
8054
+ "minLength": 1,
8055
+ "maxLength": 256
8056
+ },
8057
+ "surface": {
8058
+ "type": "string",
8059
+ "minLength": 1,
8060
+ "maxLength": 256
8061
+ },
8062
+ "menuId": {
8063
+ "type": "string",
8064
+ "minLength": 1,
8065
+ "maxLength": 256
8066
+ }
8067
+ },
8068
+ "required": [
8069
+ "applicationId",
8070
+ "surface",
8071
+ "menuId"
7890
8072
  ],
7891
8073
  "additionalProperties": false
7892
8074
  },
@@ -8222,6 +8404,259 @@
8222
8404
  }
8223
8405
  }
8224
8406
  ]
8407
+ },
8408
+ "__schema1": {
8409
+ "anyOf": [
8410
+ {
8411
+ "type": "object",
8412
+ "properties": {
8413
+ "kind": {
8414
+ "type": "string",
8415
+ "const": "literal"
8416
+ },
8417
+ "value": {
8418
+ "$ref": "#/$defs/__schema0"
8419
+ }
8420
+ },
8421
+ "required": [
8422
+ "kind",
8423
+ "value"
8424
+ ],
8425
+ "additionalProperties": false
8426
+ },
8427
+ {
8428
+ "type": "object",
8429
+ "properties": {
8430
+ "kind": {
8431
+ "type": "string",
8432
+ "const": "read"
8433
+ },
8434
+ "root": {
8435
+ "type": "string",
8436
+ "enum": [
8437
+ "state",
8438
+ "model",
8439
+ "bindings",
8440
+ "queries",
8441
+ "scope",
8442
+ "intent",
8443
+ "result",
8444
+ "actions"
8445
+ ]
8446
+ },
8447
+ "path": {
8448
+ "maxItems": 16,
8449
+ "type": "array",
8450
+ "items": {
8451
+ "type": "string",
8452
+ "minLength": 1,
8453
+ "maxLength": 256
8454
+ }
8455
+ }
8456
+ },
8457
+ "required": [
8458
+ "kind",
8459
+ "root",
8460
+ "path"
8461
+ ],
8462
+ "additionalProperties": false
8463
+ },
8464
+ {
8465
+ "type": "object",
8466
+ "properties": {
8467
+ "kind": {
8468
+ "type": "string",
8469
+ "const": "operator"
8470
+ },
8471
+ "operator": {
8472
+ "type": "string",
8473
+ "enum": [
8474
+ "add",
8475
+ "subtract",
8476
+ "multiply",
8477
+ "divide",
8478
+ "min",
8479
+ "max",
8480
+ "round",
8481
+ "equals",
8482
+ "not-equals",
8483
+ "less-than",
8484
+ "less-or-equal",
8485
+ "greater-than",
8486
+ "greater-or-equal",
8487
+ "and",
8488
+ "or",
8489
+ "not",
8490
+ "coalesce",
8491
+ "concat",
8492
+ "string",
8493
+ "number",
8494
+ "length",
8495
+ "includes",
8496
+ "get",
8497
+ "set-path",
8498
+ "merge",
8499
+ "entries",
8500
+ "from-entries",
8501
+ "array-concat",
8502
+ "slice",
8503
+ "trim",
8504
+ "fixed",
8505
+ "number-format",
8506
+ "encode-uri-component"
8507
+ ]
8508
+ },
8509
+ "arguments": {
8510
+ "minItems": 1,
8511
+ "maxItems": 32,
8512
+ "type": "array",
8513
+ "items": {
8514
+ "$ref": "#/$defs/__schema1"
8515
+ }
8516
+ }
8517
+ },
8518
+ "required": [
8519
+ "kind",
8520
+ "operator",
8521
+ "arguments"
8522
+ ],
8523
+ "additionalProperties": false
8524
+ },
8525
+ {
8526
+ "type": "object",
8527
+ "properties": {
8528
+ "kind": {
8529
+ "type": "string",
8530
+ "const": "conditional"
8531
+ },
8532
+ "condition": {
8533
+ "$ref": "#/$defs/__schema1"
8534
+ },
8535
+ "then": {
8536
+ "$ref": "#/$defs/__schema1"
8537
+ },
8538
+ "else": {
8539
+ "$ref": "#/$defs/__schema1"
8540
+ }
8541
+ },
8542
+ "required": [
8543
+ "kind",
8544
+ "condition",
8545
+ "then",
8546
+ "else"
8547
+ ],
8548
+ "additionalProperties": false
8549
+ },
8550
+ {
8551
+ "type": "object",
8552
+ "properties": {
8553
+ "kind": {
8554
+ "type": "string",
8555
+ "const": "object"
8556
+ },
8557
+ "fields": {
8558
+ "type": "object",
8559
+ "propertyNames": {
8560
+ "type": "string",
8561
+ "minLength": 1,
8562
+ "maxLength": 256
8563
+ },
8564
+ "additionalProperties": {
8565
+ "$ref": "#/$defs/__schema1"
8566
+ }
8567
+ }
8568
+ },
8569
+ "required": [
8570
+ "kind",
8571
+ "fields"
8572
+ ],
8573
+ "additionalProperties": false
8574
+ },
8575
+ {
8576
+ "type": "object",
8577
+ "properties": {
8578
+ "kind": {
8579
+ "type": "string",
8580
+ "const": "array"
8581
+ },
8582
+ "items": {
8583
+ "maxItems": 1000,
8584
+ "type": "array",
8585
+ "items": {
8586
+ "$ref": "#/$defs/__schema1"
8587
+ }
8588
+ }
8589
+ },
8590
+ "required": [
8591
+ "kind",
8592
+ "items"
8593
+ ],
8594
+ "additionalProperties": false
8595
+ },
8596
+ {
8597
+ "type": "object",
8598
+ "properties": {
8599
+ "kind": {
8600
+ "type": "string",
8601
+ "const": "map"
8602
+ },
8603
+ "source": {
8604
+ "$ref": "#/$defs/__schema1"
8605
+ },
8606
+ "value": {
8607
+ "$ref": "#/$defs/__schema1"
8608
+ }
8609
+ },
8610
+ "required": [
8611
+ "kind",
8612
+ "source",
8613
+ "value"
8614
+ ],
8615
+ "additionalProperties": false
8616
+ },
8617
+ {
8618
+ "type": "object",
8619
+ "properties": {
8620
+ "kind": {
8621
+ "type": "string",
8622
+ "const": "filter"
8623
+ },
8624
+ "source": {
8625
+ "$ref": "#/$defs/__schema1"
8626
+ },
8627
+ "value": {
8628
+ "$ref": "#/$defs/__schema1"
8629
+ }
8630
+ },
8631
+ "required": [
8632
+ "kind",
8633
+ "source",
8634
+ "value"
8635
+ ],
8636
+ "additionalProperties": false
8637
+ },
8638
+ {
8639
+ "type": "object",
8640
+ "properties": {
8641
+ "kind": {
8642
+ "type": "string",
8643
+ "const": "sum"
8644
+ },
8645
+ "source": {
8646
+ "$ref": "#/$defs/__schema1"
8647
+ },
8648
+ "value": {
8649
+ "$ref": "#/$defs/__schema1"
8650
+ }
8651
+ },
8652
+ "required": [
8653
+ "kind",
8654
+ "source",
8655
+ "value"
8656
+ ],
8657
+ "additionalProperties": false
8658
+ }
8659
+ ]
8225
8660
  }
8226
8661
  },
8227
8662
  "$id": "https://schemas.infmonkeys.com/contracts/navigation-runtime-bundle.schema.json",