@forge/manifest 3.3.0-next.6 → 3.3.0-next.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 3.3.0-next.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 8e35955: Update manifest definitions
8
+
3
9
  ## 3.3.0-next.6
4
10
 
5
11
  ### Patch Changes
@@ -7390,10 +7390,10 @@
7390
7390
  "type": "object",
7391
7391
  "anyOf": [
7392
7392
  {
7393
- "$ref": "#/definitions/singleCondition"
7393
+ "$ref": "#/definitions/compositeCondition"
7394
7394
  },
7395
7395
  {
7396
- "$ref": "#/definitions/compositeCondition"
7396
+ "$ref": "#/definitions/singleCondition"
7397
7397
  }
7398
7398
  ]
7399
7399
  },
@@ -7509,10 +7509,10 @@
7509
7509
  "type": "object",
7510
7510
  "anyOf": [
7511
7511
  {
7512
- "$ref": "#/definitions/compositeCondition"
7512
+ "$ref": "#/definitions/singleCondition"
7513
7513
  },
7514
7514
  {
7515
- "$ref": "#/definitions/singleCondition"
7515
+ "$ref": "#/definitions/compositeCondition"
7516
7516
  }
7517
7517
  ]
7518
7518
  },
@@ -7567,10 +7567,10 @@
7567
7567
  "type": "object",
7568
7568
  "anyOf": [
7569
7569
  {
7570
- "$ref": "#/definitions/compositeCondition"
7570
+ "$ref": "#/definitions/singleCondition"
7571
7571
  },
7572
7572
  {
7573
- "$ref": "#/definitions/singleCondition"
7573
+ "$ref": "#/definitions/compositeCondition"
7574
7574
  }
7575
7575
  ]
7576
7576
  },
@@ -7625,10 +7625,10 @@
7625
7625
  "type": "object",
7626
7626
  "anyOf": [
7627
7627
  {
7628
- "$ref": "#/definitions/compositeCondition"
7628
+ "$ref": "#/definitions/singleCondition"
7629
7629
  },
7630
7630
  {
7631
- "$ref": "#/definitions/singleCondition"
7631
+ "$ref": "#/definitions/compositeCondition"
7632
7632
  }
7633
7633
  ]
7634
7634
  },
@@ -7698,6 +7698,51 @@
7698
7698
  "type": "object",
7699
7699
  "fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
7700
7700
  "anyOf": [
7701
+ {
7702
+ "properties": {
7703
+ "size": {
7704
+ "enum": [
7705
+ "small",
7706
+ "SMALL",
7707
+ "medium",
7708
+ "MEDIUM",
7709
+ "large",
7710
+ "LARGE",
7711
+ "x-large",
7712
+ "X-LARGE",
7713
+ "fullscreen",
7714
+ "FULLSCREEN",
7715
+ "maximum",
7716
+ "MAXIMUM"
7717
+ ],
7718
+ "type": "string",
7719
+ "fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
7720
+ },
7721
+ "chrome": {
7722
+ "type": "boolean",
7723
+ "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
7724
+ "defaultValue": "true"
7725
+ },
7726
+ "width": {
7727
+ "maxLength": 10,
7728
+ "type": "string",
7729
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
7730
+ },
7731
+ "header": {
7732
+ "$ref": "#/definitions/i18nProperty",
7733
+ "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
7734
+ },
7735
+ "height": {
7736
+ "maxLength": 10,
7737
+ "type": "string",
7738
+ "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
7739
+ }
7740
+ },
7741
+ "shortClassName": "dialogOptions",
7742
+ "type": "object",
7743
+ "title": "Dialog Options",
7744
+ "description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
7745
+ },
7701
7746
  {
7702
7747
  "properties": {
7703
7748
  "key": {
@@ -7760,51 +7805,6 @@
7760
7805
  "type": "object",
7761
7806
  "title": "Inline Dialog Options",
7762
7807
  "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
7763
- },
7764
- {
7765
- "properties": {
7766
- "size": {
7767
- "enum": [
7768
- "small",
7769
- "SMALL",
7770
- "medium",
7771
- "MEDIUM",
7772
- "large",
7773
- "LARGE",
7774
- "x-large",
7775
- "X-LARGE",
7776
- "fullscreen",
7777
- "FULLSCREEN",
7778
- "maximum",
7779
- "MAXIMUM"
7780
- ],
7781
- "type": "string",
7782
- "fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
7783
- },
7784
- "chrome": {
7785
- "type": "boolean",
7786
- "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
7787
- "defaultValue": "true"
7788
- },
7789
- "width": {
7790
- "maxLength": 10,
7791
- "type": "string",
7792
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
7793
- },
7794
- "header": {
7795
- "$ref": "#/definitions/i18nProperty",
7796
- "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
7797
- },
7798
- "height": {
7799
- "maxLength": 10,
7800
- "type": "string",
7801
- "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
7802
- }
7803
- },
7804
- "shortClassName": "dialogOptions",
7805
- "type": "object",
7806
- "title": "Dialog Options",
7807
- "description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
7808
7808
  }
7809
7809
  ]
7810
7810
  },
@@ -8456,38 +8456,6 @@
8456
8456
  "items": {
8457
8457
  "type": "object",
8458
8458
  "anyOf": [
8459
- {
8460
- "properties": {
8461
- "label": {
8462
- "$ref": "#/definitions/i18nProperty",
8463
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
8464
- },
8465
- "type": {
8466
- "enum": [
8467
- "button",
8468
- "BUTTON"
8469
- ],
8470
- "type": "string",
8471
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
8472
- },
8473
- "key": {
8474
- "pattern": "^[a-zA-Z0-9-]+$",
8475
- "maxLength": 100,
8476
- "type": "string",
8477
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
8478
- }
8479
- },
8480
- "required": [
8481
- "label",
8482
- "type",
8483
- "key"
8484
- ],
8485
- "additionalProperties": true,
8486
- "shortClassName": "buttonControlBean",
8487
- "type": "object",
8488
- "title": "ButtonControl",
8489
- "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8490
- },
8491
8459
  {
8492
8460
  "properties": {
8493
8461
  "controls": {
@@ -8644,6 +8612,38 @@
8644
8612
  "type": "object",
8645
8613
  "title": "TextControl",
8646
8614
  "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8615
+ },
8616
+ {
8617
+ "properties": {
8618
+ "label": {
8619
+ "$ref": "#/definitions/i18nProperty",
8620
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
8621
+ },
8622
+ "type": {
8623
+ "enum": [
8624
+ "button",
8625
+ "BUTTON"
8626
+ ],
8627
+ "type": "string",
8628
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
8629
+ },
8630
+ "key": {
8631
+ "pattern": "^[a-zA-Z0-9-]+$",
8632
+ "maxLength": 100,
8633
+ "type": "string",
8634
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
8635
+ }
8636
+ },
8637
+ "required": [
8638
+ "label",
8639
+ "type",
8640
+ "key"
8641
+ ],
8642
+ "additionalProperties": true,
8643
+ "shortClassName": "buttonControlBean",
8644
+ "type": "object",
8645
+ "title": "ButtonControl",
8646
+ "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8647
8647
  }
8648
8648
  ]
8649
8649
  },
@@ -8975,22 +8975,17 @@
8975
8975
  "controls": {
8976
8976
  "items": {
8977
8977
  "properties": {
8978
- "macroParameterValue": {
8979
- "maxLength": 10000,
8980
- "type": "string",
8981
- "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
8982
- },
8983
8978
  "label": {
8984
8979
  "$ref": "#/definitions/i18nProperty",
8985
8980
  "fieldDescription": "\n\nText which will appear inside the button\n\n"
8986
8981
  },
8987
8982
  "type": {
8988
8983
  "enum": [
8989
- "togglebutton",
8990
- "TOGGLEBUTTON"
8984
+ "button",
8985
+ "BUTTON"
8991
8986
  ],
8992
8987
  "type": "string",
8993
- "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
8988
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
8994
8989
  },
8995
8990
  "key": {
8996
8991
  "pattern": "^[a-zA-Z0-9-]+$",
@@ -9000,61 +8995,58 @@
9000
8995
  }
9001
8996
  },
9002
8997
  "required": [
9003
- "macroParameterValue",
9004
8998
  "label",
9005
8999
  "type",
9006
9000
  "key"
9007
9001
  ],
9008
9002
  "additionalProperties": true,
9009
- "shortClassName": "macroToggleButtonControlBean",
9003
+ "shortClassName": "buttonControlBean",
9010
9004
  "type": "object",
9011
- "title": "ToggleButtonControl",
9012
- "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
9005
+ "title": "ButtonControl",
9006
+ "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
9013
9007
  },
9014
9008
  "type": "array",
9015
- "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
9016
- },
9017
- "macroParameter": {
9018
- "pattern": "[-_a-z0-9\\.]+",
9019
- "maxLength": 100,
9020
- "type": "string",
9021
- "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
9009
+ "fieldDescription": "\n\nControls which will appear in the control group\n\n"
9022
9010
  },
9023
9011
  "type": {
9024
9012
  "enum": [
9025
- "togglegroup",
9026
- "TOGGLEGROUP"
9013
+ "group",
9014
+ "GROUP"
9027
9015
  ],
9028
9016
  "type": "string",
9029
- "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
9017
+ "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
9030
9018
  }
9031
9019
  },
9032
9020
  "required": [
9033
9021
  "controls",
9034
- "macroParameter",
9035
9022
  "type"
9036
9023
  ],
9037
- "shortClassName": "macroToggleGroupBean",
9024
+ "shortClassName": "controlGroupBean",
9038
9025
  "type": "object",
9039
- "title": "ToggleGroup",
9040
- "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
9026
+ "title": "ControlGroup",
9027
+ "description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
9041
9028
  },
9042
9029
  {
9043
9030
  "properties": {
9044
9031
  "controls": {
9045
9032
  "items": {
9046
9033
  "properties": {
9034
+ "macroParameterValue": {
9035
+ "maxLength": 10000,
9036
+ "type": "string",
9037
+ "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
9038
+ },
9047
9039
  "label": {
9048
9040
  "$ref": "#/definitions/i18nProperty",
9049
9041
  "fieldDescription": "\n\nText which will appear inside the button\n\n"
9050
9042
  },
9051
9043
  "type": {
9052
9044
  "enum": [
9053
- "button",
9054
- "BUTTON"
9045
+ "togglebutton",
9046
+ "TOGGLEBUTTON"
9055
9047
  ],
9056
9048
  "type": "string",
9057
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
9049
+ "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
9058
9050
  },
9059
9051
  "key": {
9060
9052
  "pattern": "^[a-zA-Z0-9-]+$",
@@ -9064,36 +9056,44 @@
9064
9056
  }
9065
9057
  },
9066
9058
  "required": [
9059
+ "macroParameterValue",
9067
9060
  "label",
9068
9061
  "type",
9069
9062
  "key"
9070
9063
  ],
9071
9064
  "additionalProperties": true,
9072
- "shortClassName": "buttonControlBean",
9065
+ "shortClassName": "macroToggleButtonControlBean",
9073
9066
  "type": "object",
9074
- "title": "ButtonControl",
9075
- "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
9067
+ "title": "ToggleButtonControl",
9068
+ "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
9076
9069
  },
9077
9070
  "type": "array",
9078
- "fieldDescription": "\n\nControls which will appear in the control group\n\n"
9071
+ "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
9072
+ },
9073
+ "macroParameter": {
9074
+ "pattern": "[-_a-z0-9\\.]+",
9075
+ "maxLength": 100,
9076
+ "type": "string",
9077
+ "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
9079
9078
  },
9080
9079
  "type": {
9081
9080
  "enum": [
9082
- "group",
9083
- "GROUP"
9081
+ "togglegroup",
9082
+ "TOGGLEGROUP"
9084
9083
  ],
9085
9084
  "type": "string",
9086
- "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
9085
+ "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
9087
9086
  }
9088
9087
  },
9089
9088
  "required": [
9090
9089
  "controls",
9090
+ "macroParameter",
9091
9091
  "type"
9092
9092
  ],
9093
- "shortClassName": "controlGroupBean",
9093
+ "shortClassName": "macroToggleGroupBean",
9094
9094
  "type": "object",
9095
- "title": "ControlGroup",
9096
- "description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
9095
+ "title": "ToggleGroup",
9096
+ "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
9097
9097
  },
9098
9098
  {
9099
9099
  "properties": {
@@ -3640,7 +3640,7 @@ export interface Modules {
3640
3640
  location?: string;
3641
3641
  cacheable?: boolean;
3642
3642
  supportsNative?: boolean;
3643
- conditions?: (SingleCondition | CompositeCondition)[];
3643
+ conditions?: (CompositeCondition | SingleCondition)[];
3644
3644
  params?: {
3645
3645
  [k: string]: unknown;
3646
3646
  };
@@ -3656,7 +3656,7 @@ export interface Modules {
3656
3656
  location?: string;
3657
3657
  cacheable?: boolean;
3658
3658
  supportsNative?: boolean;
3659
- conditions?: (SingleCondition | CompositeCondition)[];
3659
+ conditions?: (CompositeCondition | SingleCondition)[];
3660
3660
  params?: {
3661
3661
  [k: string]: unknown;
3662
3662
  };
@@ -3694,7 +3694,7 @@ export interface Modules {
3694
3694
  weight?: number;
3695
3695
  cacheable?: boolean;
3696
3696
  location?: string;
3697
- conditions?: (CompositeCondition | SingleCondition)[];
3697
+ conditions?: (SingleCondition | CompositeCondition)[];
3698
3698
  params?: {
3699
3699
  [k: string]: unknown;
3700
3700
  };
@@ -3708,7 +3708,7 @@ export interface Modules {
3708
3708
  weight?: number;
3709
3709
  cacheable?: boolean;
3710
3710
  location?: string;
3711
- conditions?: (CompositeCondition | SingleCondition)[];
3711
+ conditions?: (SingleCondition | CompositeCondition)[];
3712
3712
  params?: {
3713
3713
  [k: string]: unknown;
3714
3714
  };
@@ -3723,7 +3723,7 @@ export interface Modules {
3723
3723
  name?: I18NProperty55;
3724
3724
  weight?: number;
3725
3725
  location?: string;
3726
- conditions?: (CompositeCondition | SingleCondition)[];
3726
+ conditions?: (SingleCondition | CompositeCondition)[];
3727
3727
  params?: {
3728
3728
  [k: string]: unknown;
3729
3729
  };
@@ -3735,7 +3735,7 @@ export interface Modules {
3735
3735
  name?: I18NProperty55;
3736
3736
  weight?: number;
3737
3737
  location?: string;
3738
- conditions?: (CompositeCondition | SingleCondition)[];
3738
+ conditions?: (SingleCondition | CompositeCondition)[];
3739
3739
  params?: {
3740
3740
  [k: string]: unknown;
3741
3741
  };
@@ -3750,7 +3750,7 @@ export interface Modules {
3750
3750
  weight?: number;
3751
3751
  cacheable?: boolean;
3752
3752
  location?: string;
3753
- conditions?: (CompositeCondition | SingleCondition)[];
3753
+ conditions?: (SingleCondition | CompositeCondition)[];
3754
3754
  params?: {
3755
3755
  [k: string]: unknown;
3756
3756
  };
@@ -3764,7 +3764,7 @@ export interface Modules {
3764
3764
  weight?: number;
3765
3765
  cacheable?: boolean;
3766
3766
  location?: string;
3767
- conditions?: (CompositeCondition | SingleCondition)[];
3767
+ conditions?: (SingleCondition | CompositeCondition)[];
3768
3768
  params?: {
3769
3769
  [k: string]: unknown;
3770
3770
  };
@@ -7035,74 +7035,10 @@ export interface Icon10 {
7035
7035
  *
7036
7036
  */
7037
7037
  export interface WebItemTarget1 {
7038
- options?: DialogModuleOptions1 | InlineDialogOptions1 | DialogOptions2;
7038
+ options?: DialogOptions2 | DialogModuleOptions1 | InlineDialogOptions1;
7039
7039
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
7040
7040
  [k: string]: unknown;
7041
7041
  }
7042
- /**
7043
- *
7044
- *
7045
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
7046
- *
7047
- * <h3>Example</h3>
7048
- *
7049
- *
7050
- *
7051
- *
7052
- *
7053
- * {
7054
- * "target": {
7055
- * "type": "dialogmodule",
7056
- * "options": {
7057
- * "key": "dialog-module-key"
7058
- * }
7059
- * }
7060
- * }
7061
- *
7062
- *
7063
- *
7064
- */
7065
- export interface DialogModuleOptions1 {
7066
- key: string;
7067
- [k: string]: unknown;
7068
- }
7069
- /**
7070
- *
7071
- *
7072
- * Options for an inline dialog target
7073
- *
7074
- * <h3>Example</h3>
7075
- *
7076
- *
7077
- *
7078
- *
7079
- *
7080
- * {
7081
- * "target": {
7082
- * "type": "inlinedialog",
7083
- * "options": {
7084
- * "onHover": true,
7085
- * "offsetX": "30px",
7086
- * "offsetY": "20px"
7087
- * }
7088
- * }
7089
- * }
7090
- *
7091
- *
7092
- *
7093
- */
7094
- export interface InlineDialogOptions1 {
7095
- offsetX?: string;
7096
- offsetY?: string;
7097
- width?: string;
7098
- onTop?: boolean;
7099
- showDelay?: number;
7100
- closeOthers?: boolean;
7101
- persistent?: boolean;
7102
- onHover?: boolean;
7103
- isRelativeToMouse?: boolean;
7104
- [k: string]: unknown;
7105
- }
7106
7042
  /**
7107
7043
  *
7108
7044
  *
@@ -7201,6 +7137,70 @@ export interface I18NProperty58 {
7201
7137
  i18n?: string;
7202
7138
  [k: string]: unknown;
7203
7139
  }
7140
+ /**
7141
+ *
7142
+ *
7143
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
7144
+ *
7145
+ * <h3>Example</h3>
7146
+ *
7147
+ *
7148
+ *
7149
+ *
7150
+ *
7151
+ * {
7152
+ * "target": {
7153
+ * "type": "dialogmodule",
7154
+ * "options": {
7155
+ * "key": "dialog-module-key"
7156
+ * }
7157
+ * }
7158
+ * }
7159
+ *
7160
+ *
7161
+ *
7162
+ */
7163
+ export interface DialogModuleOptions1 {
7164
+ key: string;
7165
+ [k: string]: unknown;
7166
+ }
7167
+ /**
7168
+ *
7169
+ *
7170
+ * Options for an inline dialog target
7171
+ *
7172
+ * <h3>Example</h3>
7173
+ *
7174
+ *
7175
+ *
7176
+ *
7177
+ *
7178
+ * {
7179
+ * "target": {
7180
+ * "type": "inlinedialog",
7181
+ * "options": {
7182
+ * "onHover": true,
7183
+ * "offsetX": "30px",
7184
+ * "offsetY": "20px"
7185
+ * }
7186
+ * }
7187
+ * }
7188
+ *
7189
+ *
7190
+ *
7191
+ */
7192
+ export interface InlineDialogOptions1 {
7193
+ offsetX?: string;
7194
+ offsetY?: string;
7195
+ width?: string;
7196
+ onTop?: boolean;
7197
+ showDelay?: number;
7198
+ closeOthers?: boolean;
7199
+ persistent?: boolean;
7200
+ onHover?: boolean;
7201
+ isRelativeToMouse?: boolean;
7202
+ [k: string]: unknown;
7203
+ }
7204
7204
  /**
7205
7205
  *
7206
7206
  *
@@ -9142,63 +9142,11 @@ export interface I18NProperty74 {
9142
9142
  *
9143
9143
  */
9144
9144
  export interface MacroPropertyPanel {
9145
- controls?: (ButtonControl | ToggleGroup | ControlGroup | TextControl)[];
9145
+ controls?: (ToggleGroup | ControlGroup | TextControl | ButtonControl1)[];
9146
9146
  cacheable?: boolean;
9147
9147
  url: string;
9148
9148
  [k: string]: unknown;
9149
9149
  }
9150
- /**
9151
- *
9152
- *
9153
- * Defines a button which may appear in control extension points such as the property panel
9154
- *
9155
- * <p><b>Example</b></p>
9156
- *
9157
- *
9158
- *
9159
- *
9160
- *
9161
- * {
9162
- * "type": "button",
9163
- * "label": {
9164
- * "value": "My Custom Control 0"
9165
- * },
9166
- * "key": "my-custom-control-0"
9167
- * }
9168
- *
9169
- *
9170
- *
9171
- */
9172
- export interface ButtonControl {
9173
- label: I18NProperty75;
9174
- type: 'button' | 'BUTTON';
9175
- key: string;
9176
- [k: string]: unknown;
9177
- }
9178
- /**
9179
- *
9180
- *
9181
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
9182
- * and value in multiple places if you like, but identical keys must have identical values.
9183
- *
9184
- * <h3>Example</h3>
9185
- *
9186
- *
9187
- *
9188
- *
9189
- *
9190
- * {
9191
- * "value": "My text"
9192
- * }
9193
- *
9194
- *
9195
- *
9196
- */
9197
- export interface I18NProperty75 {
9198
- value: string;
9199
- i18n?: string;
9200
- [k: string]: unknown;
9201
- }
9202
9150
  /**
9203
9151
  *
9204
9152
  *
@@ -9269,7 +9217,7 @@ export interface ToggleGroup {
9269
9217
  */
9270
9218
  export interface ToggleButtonControl {
9271
9219
  macroParameterValue: string;
9272
- label: I18NProperty76;
9220
+ label: I18NProperty75;
9273
9221
  type: 'togglebutton' | 'TOGGLEBUTTON';
9274
9222
  key: string;
9275
9223
  [k: string]: unknown;
@@ -9293,7 +9241,7 @@ export interface ToggleButtonControl {
9293
9241
  *
9294
9242
  *
9295
9243
  */
9296
- export interface I18NProperty76 {
9244
+ export interface I18NProperty75 {
9297
9245
  value: string;
9298
9246
  i18n?: string;
9299
9247
  [k: string]: unknown;
@@ -9335,7 +9283,7 @@ export interface I18NProperty76 {
9335
9283
  *
9336
9284
  */
9337
9285
  export interface ControlGroup {
9338
- controls: ButtonControl1[];
9286
+ controls: ButtonControl[];
9339
9287
  type: 'group' | 'GROUP';
9340
9288
  [k: string]: unknown;
9341
9289
  }
@@ -9361,8 +9309,8 @@ export interface ControlGroup {
9361
9309
  *
9362
9310
  *
9363
9311
  */
9364
- export interface ButtonControl1 {
9365
- label: I18NProperty77;
9312
+ export interface ButtonControl {
9313
+ label: I18NProperty76;
9366
9314
  type: 'button' | 'BUTTON';
9367
9315
  key: string;
9368
9316
  [k: string]: unknown;
@@ -9386,7 +9334,7 @@ export interface ButtonControl1 {
9386
9334
  *
9387
9335
  *
9388
9336
  */
9389
- export interface I18NProperty77 {
9337
+ export interface I18NProperty76 {
9390
9338
  value: string;
9391
9339
  i18n?: string;
9392
9340
  [k: string]: unknown;
@@ -9419,6 +9367,58 @@ export interface TextControl {
9419
9367
  key: string;
9420
9368
  [k: string]: unknown;
9421
9369
  }
9370
+ /**
9371
+ *
9372
+ *
9373
+ * Defines a button which may appear in control extension points such as the property panel
9374
+ *
9375
+ * <p><b>Example</b></p>
9376
+ *
9377
+ *
9378
+ *
9379
+ *
9380
+ *
9381
+ * {
9382
+ * "type": "button",
9383
+ * "label": {
9384
+ * "value": "My Custom Control 0"
9385
+ * },
9386
+ * "key": "my-custom-control-0"
9387
+ * }
9388
+ *
9389
+ *
9390
+ *
9391
+ */
9392
+ export interface ButtonControl1 {
9393
+ label: I18NProperty77;
9394
+ type: 'button' | 'BUTTON';
9395
+ key: string;
9396
+ [k: string]: unknown;
9397
+ }
9398
+ /**
9399
+ *
9400
+ *
9401
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
9402
+ * and value in multiple places if you like, but identical keys must have identical values.
9403
+ *
9404
+ * <h3>Example</h3>
9405
+ *
9406
+ *
9407
+ *
9408
+ *
9409
+ *
9410
+ * {
9411
+ * "value": "My text"
9412
+ * }
9413
+ *
9414
+ *
9415
+ *
9416
+ */
9417
+ export interface I18NProperty77 {
9418
+ value: string;
9419
+ i18n?: string;
9420
+ [k: string]: unknown;
9421
+ }
9422
9422
  /**
9423
9423
  *
9424
9424
  *
@@ -30387,7 +30387,7 @@ export interface I18NProperty83 {
30387
30387
  *
30388
30388
  */
30389
30389
  export interface MacroPropertyPanel1 {
30390
- controls?: (ButtonControl2 | ToggleGroup1 | ControlGroup1 | TextControl1)[];
30390
+ controls?: (ButtonControl2 | ControlGroup1 | ToggleGroup1 | TextControl1)[];
30391
30391
  cacheable?: boolean;
30392
30392
  url: string;
30393
30393
  [k: string]: unknown;
@@ -30447,7 +30447,7 @@ export interface I18NProperty84 {
30447
30447
  /**
30448
30448
  *
30449
30449
  *
30450
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
30450
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
30451
30451
  *
30452
30452
  * <p><b>Example</b></p>
30453
30453
  *
@@ -30457,24 +30457,21 @@ export interface I18NProperty84 {
30457
30457
  *
30458
30458
  * [
30459
30459
  * {
30460
- * "type": "togglegroup",
30461
- * "macroParameter": "toggleGroupMacroParameter",
30460
+ * "type": "group",
30462
30461
  * "controls": [
30463
30462
  * {
30464
- * "type": "togglebutton",
30465
- * "macroParameterValue": "macroParameterValue 0",
30463
+ * "type": "button",
30466
30464
  * "label": {
30467
30465
  * "value": "My Custom Control 0"
30468
30466
  * },
30469
- * "key": "my-custom-toggle-button-0"
30467
+ * "key": "my-custom-control-0"
30470
30468
  * },
30471
30469
  * {
30472
- * "type": "togglebutton",
30473
- * "macroParameterValue": "macroParameterValue 1",
30470
+ * "type": "button",
30474
30471
  * "label": {
30475
30472
  * "value": "My Custom Control 1"
30476
30473
  * },
30477
- * "key": "my-custom-toggle-button-1"
30474
+ * "key": "my-custom-control-1"
30478
30475
  * }
30479
30476
  * ]
30480
30477
  * }
@@ -30483,16 +30480,15 @@ export interface I18NProperty84 {
30483
30480
  *
30484
30481
  *
30485
30482
  */
30486
- export interface ToggleGroup1 {
30487
- controls: ToggleButtonControl1[];
30488
- macroParameter: string;
30489
- type: 'togglegroup' | 'TOGGLEGROUP';
30483
+ export interface ControlGroup1 {
30484
+ controls: ButtonControl3[];
30485
+ type: 'group' | 'GROUP';
30490
30486
  [k: string]: unknown;
30491
30487
  }
30492
30488
  /**
30493
30489
  *
30494
30490
  *
30495
- * Defines a toggle button which appears inside a ToggleGroup
30491
+ * Defines a button which may appear in control extension points such as the property panel
30496
30492
  *
30497
30493
  * <p><b>Example</b></p>
30498
30494
  *
@@ -30501,21 +30497,19 @@ export interface ToggleGroup1 {
30501
30497
  *
30502
30498
  *
30503
30499
  * {
30504
- * "type": "togglebutton",
30505
- * "macroParameterValue": "macroParameterValue 0",
30500
+ * "type": "button",
30506
30501
  * "label": {
30507
30502
  * "value": "My Custom Control 0"
30508
30503
  * },
30509
- * "key": "my-custom-toggle-button-0"
30504
+ * "key": "my-custom-control-0"
30510
30505
  * }
30511
30506
  *
30512
30507
  *
30513
30508
  *
30514
30509
  */
30515
- export interface ToggleButtonControl1 {
30516
- macroParameterValue: string;
30510
+ export interface ButtonControl3 {
30517
30511
  label: I18NProperty85;
30518
- type: 'togglebutton' | 'TOGGLEBUTTON';
30512
+ type: 'button' | 'BUTTON';
30519
30513
  key: string;
30520
30514
  [k: string]: unknown;
30521
30515
  }
@@ -30546,7 +30540,7 @@ export interface I18NProperty85 {
30546
30540
  /**
30547
30541
  *
30548
30542
  *
30549
- * Defines a ControlGroup which may appear in control extension points such as the property panel
30543
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
30550
30544
  *
30551
30545
  * <p><b>Example</b></p>
30552
30546
  *
@@ -30556,21 +30550,24 @@ export interface I18NProperty85 {
30556
30550
  *
30557
30551
  * [
30558
30552
  * {
30559
- * "type": "group",
30553
+ * "type": "togglegroup",
30554
+ * "macroParameter": "toggleGroupMacroParameter",
30560
30555
  * "controls": [
30561
30556
  * {
30562
- * "type": "button",
30557
+ * "type": "togglebutton",
30558
+ * "macroParameterValue": "macroParameterValue 0",
30563
30559
  * "label": {
30564
30560
  * "value": "My Custom Control 0"
30565
30561
  * },
30566
- * "key": "my-custom-control-0"
30562
+ * "key": "my-custom-toggle-button-0"
30567
30563
  * },
30568
30564
  * {
30569
- * "type": "button",
30565
+ * "type": "togglebutton",
30566
+ * "macroParameterValue": "macroParameterValue 1",
30570
30567
  * "label": {
30571
30568
  * "value": "My Custom Control 1"
30572
30569
  * },
30573
- * "key": "my-custom-control-1"
30570
+ * "key": "my-custom-toggle-button-1"
30574
30571
  * }
30575
30572
  * ]
30576
30573
  * }
@@ -30579,15 +30576,16 @@ export interface I18NProperty85 {
30579
30576
  *
30580
30577
  *
30581
30578
  */
30582
- export interface ControlGroup1 {
30583
- controls: ButtonControl3[];
30584
- type: 'group' | 'GROUP';
30579
+ export interface ToggleGroup1 {
30580
+ controls: ToggleButtonControl1[];
30581
+ macroParameter: string;
30582
+ type: 'togglegroup' | 'TOGGLEGROUP';
30585
30583
  [k: string]: unknown;
30586
30584
  }
30587
30585
  /**
30588
30586
  *
30589
30587
  *
30590
- * Defines a button which may appear in control extension points such as the property panel
30588
+ * Defines a toggle button which appears inside a ToggleGroup
30591
30589
  *
30592
30590
  * <p><b>Example</b></p>
30593
30591
  *
@@ -30596,19 +30594,21 @@ export interface ControlGroup1 {
30596
30594
  *
30597
30595
  *
30598
30596
  * {
30599
- * "type": "button",
30597
+ * "type": "togglebutton",
30598
+ * "macroParameterValue": "macroParameterValue 0",
30600
30599
  * "label": {
30601
30600
  * "value": "My Custom Control 0"
30602
30601
  * },
30603
- * "key": "my-custom-control-0"
30602
+ * "key": "my-custom-toggle-button-0"
30604
30603
  * }
30605
30604
  *
30606
30605
  *
30607
30606
  *
30608
30607
  */
30609
- export interface ButtonControl3 {
30608
+ export interface ToggleButtonControl1 {
30609
+ macroParameterValue: string;
30610
30610
  label: I18NProperty86;
30611
- type: 'button' | 'BUTTON';
30611
+ type: 'togglebutton' | 'TOGGLEBUTTON';
30612
30612
  key: string;
30613
30613
  [k: string]: unknown;
30614
30614
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "3.3.0-next.6",
3
+ "version": "3.3.0-next.7",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {