@arcgis/coding-components 4.30.0-next.1 → 4.30.0-next.2

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 (76) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.en.json +2 -0
  3. package/dist/arcgis-coding-components/index.esm.js +2 -2
  4. package/dist/arcgis-coding-components/{p-26cb350b.js → p-1f472679.js} +2 -2
  5. package/dist/arcgis-coding-components/{p-9556a8c6.js → p-1f933dba.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-68bd0d31.js → p-30100e82.js} +1 -1
  7. package/dist/arcgis-coding-components/{p-bad6d07f.js → p-30e98420.js} +10 -10
  8. package/dist/arcgis-coding-components/{p-5050b8e6.js → p-758218e2.js} +2 -2
  9. package/dist/arcgis-coding-components/{p-0ecfaaf8.js → p-8c6bf361.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-3162633c.js → p-b22a71b8.js} +1 -1
  11. package/dist/arcgis-coding-components/{p-4aab897b.js → p-c4b91917.js} +3 -3
  12. package/dist/arcgis-coding-components/{p-c5c082c2.js → p-e55a59ff.js} +3 -3
  13. package/dist/arcgis-coding-components/p-f0b811ba.entry.js +6 -0
  14. package/dist/arcgis-coding-components/{p-2c66cecd.js → p-f3068c90.js} +2 -2
  15. package/dist/arcgis-coding-components/{p-01d806ab.js → p-fdf8d908.js} +2 -2
  16. package/dist/cjs/{arcade-defaults-337189cc.js → arcade-defaults-eb3968a5.js} +42 -17
  17. package/dist/cjs/{arcade-mode-3b9ec201.js → arcade-mode-5275cbeb.js} +3 -3
  18. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +15 -22
  19. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  20. package/dist/cjs/{css-9d93d685.js → css-bbfdb831.js} +1 -1
  21. package/dist/cjs/{cssMode-cf97e01f.js → cssMode-f296c8f9.js} +3 -3
  22. package/dist/cjs/{html-9bbb2b9f.js → html-bc3c7f14.js} +3 -3
  23. package/dist/cjs/{htmlMode-29fbfd01.js → htmlMode-651ef412.js} +3 -3
  24. package/dist/cjs/{index-b66d3898.js → index-d28fe547.js} +1 -1
  25. package/dist/cjs/index.cjs.js +3 -3
  26. package/dist/cjs/{javascript-ea7308ab.js → javascript-a30f18a4.js} +4 -4
  27. package/dist/cjs/{jsonMode-25c548e6.js → jsonMode-6861e18a.js} +3 -3
  28. package/dist/cjs/loader.cjs.js +2 -2
  29. package/dist/cjs/{tsMode-c54b0496.js → tsMode-8b347861.js} +3 -3
  30. package/dist/cjs/{typescript-89d35abd.js → typescript-44b2647a.js} +3 -3
  31. package/dist/components/arcade-api.js +1 -1
  32. package/dist/components/arcade-contribution.js +1 -1
  33. package/dist/components/arcade-defaults.js +33 -8
  34. package/dist/components/arcade-mode.js +1 -1
  35. package/dist/components/arcade-results.js +1 -1
  36. package/dist/components/arcade-suggestions.js +1 -1
  37. package/dist/components/arcade-variables.js +1 -1
  38. package/dist/components/arcgis-arcade-api.js +1 -1
  39. package/dist/components/arcgis-arcade-editor.js +6 -13
  40. package/dist/components/arcgis-arcade-results.js +1 -1
  41. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  42. package/dist/components/arcgis-arcade-variables.js +1 -1
  43. package/dist/components/arcgis-assets.js +2 -2
  44. package/dist/components/arcgis-code-editor.js +1 -1
  45. package/dist/components/code-editor.js +7 -7
  46. package/dist/components/fields.js +1 -1
  47. package/dist/components/index.js +1 -1
  48. package/dist/components/index2.js +1 -1
  49. package/dist/components/markdown.js +1 -1
  50. package/dist/components/utilities.js +1 -1
  51. package/dist/esm/{arcade-defaults-80ab7068.js → arcade-defaults-631dc093.js} +42 -17
  52. package/dist/esm/{arcade-mode-145e7a14.js → arcade-mode-43856469.js} +3 -3
  53. package/dist/esm/arcgis-arcade-api_6.entry.js +15 -22
  54. package/dist/esm/arcgis-coding-components.js +3 -3
  55. package/dist/esm/{css-d2e6a792.js → css-6b2305f7.js} +1 -1
  56. package/dist/esm/{cssMode-6d9545da.js → cssMode-4a41975b.js} +3 -3
  57. package/dist/esm/{html-0af5dfb9.js → html-b3b2f1bc.js} +3 -3
  58. package/dist/esm/{htmlMode-7006edc4.js → htmlMode-cedfb87b.js} +3 -3
  59. package/dist/esm/{index-a2b632a0.js → index-84f054b0.js} +1 -1
  60. package/dist/esm/index.js +3 -3
  61. package/dist/esm/{javascript-89b3eeb2.js → javascript-2482aacb.js} +4 -4
  62. package/dist/esm/{jsonMode-a3501a18.js → jsonMode-8afe11aa.js} +3 -3
  63. package/dist/esm/loader.js +3 -3
  64. package/dist/esm/{tsMode-29dad6cb.js → tsMode-f4368447.js} +3 -3
  65. package/dist/esm/{typescript-6f3a39e0.js → typescript-40b2f5cb.js} +3 -3
  66. package/dist/loader/cdn.js +1 -1
  67. package/dist/loader/index.cjs.js +1 -1
  68. package/dist/loader/index.es2017.js +1 -1
  69. package/dist/loader/index.js +1 -1
  70. package/dist/types/components/arcade-editor/arcade-editor.d.ts +3 -3
  71. package/dist/types/components/code-editor/code-editor.d.ts +3 -3
  72. package/dist/types/utils/profile/editor-profile.d.ts +1 -1
  73. package/dist/types/utils/profile/types.d.ts +1 -1
  74. package/dist/types/utils/profile/utils.d.ts +4 -1
  75. package/package.json +9 -9
  76. package/dist/arcgis-coding-components/p-0f15d754.entry.js +0 -6
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.1
4
+ * v4.30.0-next.2
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.1
4
+ * v4.30.0-next.2
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.1
4
+ * v4.30.0-next.2
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.1
4
+ * v4.30.0-next.2
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
@@ -44,7 +44,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
44
44
  * ```
45
45
  */
46
46
  profile: IEditorProfileDefinition | IPredefinedProfile | undefined;
47
- _profileChanged(newValue: IEditorProfileDefinition | IPredefinedProfile | undefined, oldValue: IEditorProfileDefinition | IPredefinedProfile | undefined): void;
47
+ _profileChanged(): void;
48
48
  /**
49
49
  * The arcade script. Use this property to define or update the script.
50
50
  */
@@ -53,7 +53,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
53
53
  * Test data used to execute the script in the editor. If undefined the execute script UX will be hidden.
54
54
  */
55
55
  testData: IEditorTestContext | undefined;
56
- _testDataChanged(newValue: IEditorTestContext | undefined, oldValue: IEditorTestContext | undefined): void;
56
+ _testDataChanged(): void;
57
57
  /**
58
58
  * Collection of suggestions
59
59
  */
@@ -62,7 +62,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
62
62
  * Collection of snippets
63
63
  */
64
64
  snippets: ApiSnippet[] | undefined;
65
- _snippetChanged(newValue: ApiSnippet[] | undefined, oldValue: ApiSnippet[] | undefined): void;
65
+ _snippetChanged(): void;
66
66
  /**
67
67
  * If true, it will hide the documentation action in the side panel
68
68
  */
@@ -13,13 +13,13 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
13
13
  * The value is the script, code, css, json, etc.
14
14
  */
15
15
  value: string | undefined;
16
- valuePropChange(newValue: string | undefined, oldValue: string | undefined): void;
16
+ valuePropChange(newValue: string | undefined): void;
17
17
  /**
18
18
  * The language for the editor.
19
19
  * Currently supported language: arcade, json, css, html, javascript, typescript, and text.
20
20
  */
21
21
  language: string | undefined;
22
- languagePropChange(newValue: string | undefined, oldValue: string | undefined): void;
22
+ languagePropChange(): void;
23
23
  /**
24
24
  * A unique identifier for the model.
25
25
  * The unique identifier is sometimes used by language defaults to store model metadata.
@@ -27,7 +27,7 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
27
27
  * The unique identifier is especially useful when there are multiple editors on the same page.
28
28
  */
29
29
  modelId: string;
30
- modelIdPropChange(newValue: string | undefined, oldValue: string | undefined): void;
30
+ modelIdPropChange(): void;
31
31
  /**
32
32
  * The options for the editor (see Monaco Editor options documentation for more details).
33
33
  */
@@ -19,7 +19,7 @@ interface IFeatureSetCollections {
19
19
  * If the feature set collection represents a Web Map or a Web Scene then it will contain the instance.
20
20
  * If the feature set collection represents a service then it will be its URL.
21
21
  */
22
- source: __esri.WebMap | __esri.WebScene | string;
22
+ source: __esri.Map | __esri.WebMap | __esri.WebScene | string;
23
23
  }
24
24
  type ProfileItemType = ApiVariableType | "group";
25
25
  export type EditorVariable = ArrayVariable | DictionaryVariable | FeatureSetCollectionVariable | FeatureSetVariable | FeatureVariable | ValueVariable;
@@ -188,7 +188,7 @@ export type FeatureSetDefinition = __esri.FeatureLayer | __esri.FeatureSet | IFe
188
188
  * FeatureSetCollectionDefinition represents the various ways a FeatureSetCollection could be defined
189
189
  * as a feature service or a web map.
190
190
  */
191
- export type FeatureSetCollectionDefinition = __esri.WebMap | FeatureSetDefinition | IPortalItemDefinition;
191
+ export type FeatureSetCollectionDefinition = __esri.Map | __esri.WebMap | __esri.WebScene | FeatureSetDefinition | IPortalItemDefinition;
192
192
  export type VariableDefinitions = Record<string, FeatureDefinition | FeatureSetCollectionDefinition | FeatureSetDefinition | IProfileVariable[] | undefined>;
193
193
  export interface IPredefinedProfile {
194
194
  /**
@@ -6,7 +6,10 @@ export declare function isQueryableLayerInstance(item: unknown): item is __esri.
6
6
  export declare function isSubtypeSublayerInstance(item: unknown): item is __esri.SubtypeSublayer;
7
7
  export declare function isGroupLayerInstance(item: unknown): item is __esri.GroupLayer;
8
8
  export declare function isMapImageLayerInstance(item: unknown): item is __esri.MapImageLayer;
9
- export declare function isMapInstance(item: unknown): item is __esri.WebMap | __esri.WebScene;
9
+ export declare function isMapInstance(item: unknown): item is __esri.Map | __esri.WebMap | __esri.WebScene;
10
+ export declare function isWebMapInstance(item: __esri.Map | __esri.WebMap | __esri.WebScene): item is __esri.WebMap;
11
+ export declare function isWebSceneInstance(item: __esri.Map | __esri.WebMap | __esri.WebScene): item is __esri.WebScene;
12
+ export declare function isLoadableMapInstance(item: __esri.Map | __esri.WebMap | __esri.WebScene): item is __esri.WebMap | __esri.WebScene;
10
13
  export declare function isPortalItemDefinition(item: unknown): item is types.IPortalItemDefinition;
11
14
  export declare function isFeatureLayerItemDefinition(item: unknown): item is types.IFeatureLayerItemDefinition;
12
15
  export declare function isFieldsDefinition(item: unknown): item is types.IFieldsDefinition;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@arcgis/coding-components",
3
3
  "description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
4
4
  "homepage": "https://developers.arcgis.com/javascript/latest/",
5
- "version": "4.30.0-next.1",
5
+ "version": "4.30.0-next.2",
6
6
  "module": "dist/components/index.js",
7
7
  "main": "dist/index.cjs.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -48,19 +48,19 @@
48
48
  "generate": "stencil generate"
49
49
  },
50
50
  "dependencies": {
51
- "@arcgis/arcade-languageservice": "4.30.0-next.1",
51
+ "@arcgis/arcade-languageservice": "4.30.0-next.2",
52
52
  "@stencil/core": "^4.10.0",
53
53
  "monaco-editor": "^0.45.0",
54
54
  "vscode-languageserver-types": "^3.17.3"
55
55
  },
56
56
  "devDependencies": {
57
- "@arcgis/components-plugins": "4.30.0-next.1",
58
- "@arcgis/components-utils": "4.30.0-next.1",
57
+ "@arcgis/components-plugins": "4.30.0-next.2",
58
+ "@arcgis/components-utils": "4.30.0-next.2",
59
59
  "@arcgis/core": ">=4.30.0-next <4.31",
60
- "@arcgis/core-adapter": "4.30.0-next.1",
61
- "@arcgis/storybook-utils": "4.30.0-next.1",
62
- "@arcgis/typescript-config": "4.30.0-next.1",
63
- "@esri/calcite-components": "^2.4.0",
60
+ "@arcgis/core-adapter": "4.30.0-next.2",
61
+ "@arcgis/storybook-utils": "4.30.0-next.2",
62
+ "@arcgis/typescript-config": "4.30.0-next.2",
63
+ "@esri/calcite-components": "^2.6.0",
64
64
  "@stencil/angular-output-target": "0.8.3",
65
65
  "@stencil/react-output-target": "0.5.3",
66
66
  "@stencil/sass": "^3.0.0",
@@ -96,5 +96,5 @@
96
96
  "@arcgis/core": ">=4.30.0-next <4.31",
97
97
  "@esri/calcite-components": ">=2.2.0 <3.0.0"
98
98
  },
99
- "gitHead": "53c3c49be995057d8f17f931f9c2f9e124ab239f"
99
+ "gitHead": "e96e35065453519e2498dd6d3061df4735cd528d"
100
100
  }