@arcgis/common-components 5.0.0-next.135 → 5.0.0-next.137

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 (111) hide show
  1. package/dist/cdn/{O63ZTZG5.js → 2CMN2PLW.js} +2 -2
  2. package/dist/cdn/{QEMZUVQL.js → 3D5FKOXY.js} +2 -2
  3. package/dist/cdn/{XVOXEDSL.js → 43YNUTPG.js} +2 -2
  4. package/dist/cdn/{RNS5S5UL.js → 4I34IC6Q.js} +2 -2
  5. package/dist/cdn/{BXXIZYBD.js → 5CDET57O.js} +2 -2
  6. package/dist/cdn/{5Z2QK75J.js → 6DBUX6JF.js} +1 -1
  7. package/dist/cdn/ACOIQKWZ.js +6 -0
  8. package/dist/cdn/{K3LTU64J.js → BAXXL46B.js} +2 -2
  9. package/dist/cdn/{FREENMNZ.js → CMYVMNBW.js} +2 -2
  10. package/dist/cdn/{BAEY2UNC.js → ENYQISNB.js} +2 -2
  11. package/dist/cdn/{IGSEZSZY.js → GTFPNZX7.js} +2 -2
  12. package/dist/cdn/{LC3J3GLV.js → HRF4HSM5.js} +2 -2
  13. package/dist/cdn/{LNDXDU5Z.js → IC6DINF6.js} +123 -123
  14. package/dist/cdn/{4JREURGY.js → KY3QFUVB.js} +2 -2
  15. package/dist/cdn/{RD2QMBYZ.js → KYBEHVPR.js} +2 -2
  16. package/dist/cdn/{Y2EXN4GQ.js → L63ONHBD.js} +2 -2
  17. package/dist/cdn/{C2DNC2YJ.js → NFPYN5F7.js} +1 -1
  18. package/dist/cdn/{SYONVE3P.js → OGEHJX2A.js} +2 -2
  19. package/dist/cdn/{62JZVUW3.js → R4UCTMNW.js} +2 -2
  20. package/dist/cdn/{G7BIJSLP.js → ROYSN427.js} +2 -2
  21. package/dist/cdn/{3CIN6YRD.js → X5QI7LLG.js} +1 -1
  22. package/dist/cdn/{JVNYGVN3.js → YAIYR7HY.js} +2 -2
  23. package/dist/cdn/{ZDJE23FU.js → YJBSULAA.js} +2 -2
  24. package/dist/cdn/index.js +2 -2
  25. package/dist/chunks/commonFunctions.js +1 -1
  26. package/dist/chunks/resources.js +1 -1
  27. package/dist/chunks/runtime.js +1 -1
  28. package/dist/chunks/types.js +1 -1
  29. package/dist/chunks/useT9n.js +1 -1
  30. package/dist/components/arcgis-ckeditor5/customElement.d.ts +94 -98
  31. package/dist/components/arcgis-ckeditor5/customElement.js +6887 -7708
  32. package/dist/components/arcgis-ckeditor5/types.d.ts +4 -7
  33. package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +37 -38
  34. package/dist/components/arcgis-ckeditor5-popover/customElement.js +2 -2
  35. package/dist/components/arcgis-ckeditor5-popover/index.d.ts +0 -2
  36. package/dist/components/arcgis-color-input/customElement.d.ts +105 -82
  37. package/dist/components/arcgis-color-input/customElement.js +1 -1
  38. package/dist/components/arcgis-color-input/index.d.ts +0 -5
  39. package/dist/components/arcgis-field-info/customElement.d.ts +204 -41
  40. package/dist/components/arcgis-field-info/customElement.js +1 -1
  41. package/dist/components/arcgis-field-info/utils/basic.d.ts +2 -36
  42. package/dist/components/arcgis-field-pick-list/customElement.d.ts +196 -170
  43. package/dist/components/arcgis-field-pick-list/customElement.js +1 -1
  44. package/dist/components/arcgis-field-pick-list/index.d.ts +0 -13
  45. package/dist/components/arcgis-field-pick-list/utils/types.d.ts +2 -1
  46. package/dist/components/arcgis-histogram/customElement.d.ts +206 -195
  47. package/dist/components/arcgis-histogram/customElement.js +1 -1
  48. package/dist/components/arcgis-histogram/types.d.ts +22 -30
  49. package/dist/components/arcgis-label-input/customElement.d.ts +46 -45
  50. package/dist/components/arcgis-label-input/customElement.js +1 -1
  51. package/dist/components/arcgis-label-input/index.d.ts +0 -2
  52. package/dist/components/arcgis-picker-input/customElement.d.ts +41 -41
  53. package/dist/components/arcgis-picker-input/customElement.js +2 -2
  54. package/dist/components/arcgis-picker-input/index.d.ts +0 -4
  55. package/dist/components/arcgis-ramp-color/customElement.d.ts +16 -17
  56. package/dist/components/arcgis-ramp-color/customElement.js +1 -1
  57. package/dist/components/arcgis-ramp-color-break/customElement.d.ts +17 -18
  58. package/dist/components/arcgis-ramp-color-break/customElement.js +1 -1
  59. package/dist/components/arcgis-ramp-color-break/index.d.ts +0 -1
  60. package/dist/components/arcgis-ramp-opacity/customElement.d.ts +16 -18
  61. package/dist/components/arcgis-ramp-opacity/customElement.js +1 -1
  62. package/dist/components/arcgis-ramp-opacity/index.d.ts +0 -1
  63. package/dist/components/arcgis-slider/customElement.d.ts +287 -287
  64. package/dist/components/arcgis-slider/customElement.js +1 -1
  65. package/dist/components/arcgis-slider/index.d.ts +0 -2
  66. package/dist/components/arcgis-slider-input/customElement.d.ts +57 -58
  67. package/dist/components/arcgis-slider-input/customElement.js +1 -1
  68. package/dist/components/arcgis-slider-input/index.d.ts +0 -2
  69. package/dist/components/arcgis-ticks/customElement.d.ts +99 -94
  70. package/dist/components/arcgis-ticks/customElement.js +1 -1
  71. package/dist/components/arcgis-unique-values-list/customElement.d.ts +106 -89
  72. package/dist/components/arcgis-unique-values-list/customElement.js +1 -1
  73. package/dist/components/arcgis-unique-values-list/index.d.ts +0 -7
  74. package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +2 -9
  75. package/dist/docs/api.json +1 -7276
  76. package/dist/docs/docs.json +1 -6072
  77. package/dist/docs/vscode.css-custom-data.json +1 -27
  78. package/dist/docs/vscode.html-custom-data.json +1 -1185
  79. package/dist/docs/web-types.json +1 -2387
  80. package/dist/index.d.ts +30 -23
  81. package/dist/index.js +1 -1
  82. package/dist/loader.js +11 -11
  83. package/dist/types/lumina.d.ts +54 -54
  84. package/dist/types/preact.d.ts +54 -54
  85. package/dist/types/react.d.ts +54 -54
  86. package/dist/types/stencil.d.ts +54 -54
  87. package/dist/utils/types.d.ts +33 -29
  88. package/package.json +6 -4
  89. package/dist/cdn/ZMDBYWZB.js +0 -6
  90. package/dist/components/arcgis-ckeditor5/resources.d.ts +0 -9
  91. package/dist/components/arcgis-field-info/utils/feature.d.ts +0 -21
  92. package/dist/components/arcgis-field-info/utils/field.d.ts +0 -30
  93. package/dist/components/arcgis-field-info/utils/index.d.ts +0 -3
  94. package/dist/components/arcgis-histogram/css.d.ts +0 -8
  95. package/dist/components/arcgis-histogram/histogramSample.d.ts +0 -25
  96. package/dist/components/arcgis-histogram/utils.d.ts +0 -19
  97. package/dist/components/arcgis-slider/SliderData.d.ts +0 -37
  98. package/dist/components/arcgis-slider/stepsUtils.d.ts +0 -52
  99. package/dist/components/arcgis-ticks/css.d.ts +0 -11
  100. package/dist/components/arcgis-unique-values-list/utils/date.d.ts +0 -7
  101. package/dist/components/arcgis-unique-values-list/utils/domain.d.ts +0 -5
  102. package/dist/components/arcgis-unique-values-list/utils/field.d.ts +0 -3
  103. package/dist/components/arcgis-unique-values-list/utils/index.d.ts +0 -4
  104. package/dist/controllers/useT9n.d.ts +0 -1
  105. package/dist/runtime.d.ts +0 -6
  106. package/dist/utils/commonFunctions.d.ts +0 -28
  107. package/dist/utils/dom.d.ts +0 -7
  108. package/dist/utils/functional.d.ts +0 -16
  109. package/dist/utils/functionalComponents/FieldIcons.d.ts +0 -6
  110. package/dist/utils/storage.d.ts +0 -3
  111. package/dist/utils/style.d.ts +0 -1
@@ -1,100 +1,96 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
3
- import { PropertyValues } from 'lit';
4
- import { EditorType, InputMentionField } from './types';
2
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
3
+ import type { EditorType, InputMentionField } from "./types.js";
5
4
 
6
- type Editor = any;
7
- /** [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ckeditor5/) */
8
- export declare class ArcgisCkeditor5 extends LitElement {
9
- /**
10
- * Base configuration for editor
11
- *
12
- * @default "html"
13
- */
14
- editorType?: EditorType;
15
- /**
16
- * Config to customize editor (will be merged with default config)
17
- * Default config will match html or markdown editor here:https://devtopia.esri.com/WebGIS/ckeditor5-build-classic.
18
- * Also includes default language and field expression mentions settings
19
- */
20
- customConfig?: any;
21
- /** Input data for editor in html / markdown text format */
22
- textData?: string;
23
- /**
24
- * The toolbar will be hidden and the data will only be changeable through the `textData` prop if true
25
- *
26
- * @default false
27
- */
28
- readOnly?: boolean;
29
- /**
30
- * List of fields/expressions for the default mentions implementation
31
- * If you don't want mentions or are customizing the mention feed in customConfig, you do not need to supply this
32
- */
33
- mentionFields?: InputMentionField[];
34
- /**
35
- * Placeholder text for editor
36
- *
37
- * @default ""
38
- */
39
- intlTextPlaceHolder: string;
40
- /**
41
- * Header text for expressions mention dropdown (assuming default mention configuration)
42
- *
43
- * @default ""
44
- */
45
- intlExpressionsGroupHeading: string;
46
- /**
47
- * Header text for fields in mention dropdown (assuming default mention configuration)
48
- *
49
- * @default ""
50
- */
51
- intlFieldsGroupHeading: string;
52
- /**
53
- * language for ckeditor
54
- *
55
- * @default "en"
56
- */
57
- currentLanguage: string;
58
- /**
59
- * The editor's text area will have a vertical resize handle if set to true
60
- *
61
- * @default false
62
- */
63
- canResizeVertically?: boolean | undefined;
64
- /**
65
- * The fields / expressions in the default mention configuration will be grouped if set to true
66
- *
67
- * @default false
68
- */
69
- groupFieldsAndExpressions?: boolean | undefined;
70
- /** The function that will be used to distinguish expressions from fields in the default mention configuration */
71
- customExpressionCheck?: (field: {
72
- id: string;
73
- name: string;
74
- }) => boolean;
75
- /** Get the current data in the editor. */
76
- getData(): Promise<any>;
77
- /** Set focus on the component. */
78
- setFocus(): Promise<void>;
79
- /** @deprecated use arcgisCreated instead */
80
- readonly arcgisCkeditor5Created: TargetedEvent<this, import('@arcgis/lumina').ToElement<ArcgisCkeditor5>>;
81
- /** @deprecated use arcgisDataUpdated instead */
82
- readonly arcgisCkeditor5DataUpdated: TargetedEvent<this, string>;
83
- /** @deprecated use arcgisSourceEditingChanged instead */
84
- readonly arcgisCkeditor5SourceEditingChanged: TargetedEvent<this, boolean>;
85
- /** Emitted when the editor has been created. */
86
- readonly arcgisCreated: TargetedEvent<this, import('@arcgis/lumina').ToElement<ArcgisCkeditor5>>;
87
- /** Emitted when the editor's data has been updated. */
88
- readonly arcgisDataUpdated: TargetedEvent<this, string>;
89
- /** Emitted when the editor's source editing mode has changed. */
90
- readonly arcgisSourceEditingChanged: TargetedEvent<this, boolean>;
91
- "@eventTypes": {
92
- "arcgisCkeditor5Created": ArcgisCkeditor5["arcgisCkeditor5Created"]["detail"];
93
- "arcgisCkeditor5DataUpdated": ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]["detail"];
94
- "arcgisCkeditor5SourceEditingChanged": ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]["detail"];
95
- "arcgisCreated": ArcgisCkeditor5["arcgisCreated"]["detail"];
96
- "arcgisDataUpdated": ArcgisCkeditor5["arcgisDataUpdated"]["detail"];
97
- "arcgisSourceEditingChanged": ArcgisCkeditor5["arcgisSourceEditingChanged"]["detail"];
98
- };
99
- }
100
- export {};
5
+ export abstract class ArcgisCkeditor5 extends LitElement {
6
+ /**
7
+ * The editor's text area will have a vertical resize handle if set to true
8
+ *
9
+ * @default false
10
+ */
11
+ accessor canResizeVertically: boolean | undefined;
12
+ /**
13
+ * language for ckeditor
14
+ *
15
+ * @default "en"
16
+ */
17
+ accessor currentLanguage: string;
18
+ /**
19
+ * Config to customize editor (will be merged with default config)
20
+ * Default config will match html or markdown editor here:https://devtopia.esri.com/WebGIS/ckeditor5-build-classic.
21
+ * Also includes default language and field expression mentions settings
22
+ */
23
+ accessor customConfig: any | undefined;
24
+ /** The function that will be used to distinguish expressions from fields in the default mention configuration */
25
+ accessor customExpressionCheck: ((field: {
26
+ id: string;
27
+ name: string;
28
+ }) => boolean) | undefined;
29
+ /**
30
+ * Base configuration for editor
31
+ *
32
+ * @default "html"
33
+ */
34
+ accessor editorType: EditorType | undefined;
35
+ /**
36
+ * The fields / expressions in the default mention configuration will be grouped if set to true
37
+ *
38
+ * @default false
39
+ */
40
+ accessor groupFieldsAndExpressions: boolean | undefined;
41
+ /**
42
+ * Header text for expressions mention dropdown (assuming default mention configuration)
43
+ *
44
+ * @default ""
45
+ */
46
+ accessor intlExpressionsGroupHeading: string;
47
+ /**
48
+ * Header text for fields in mention dropdown (assuming default mention configuration)
49
+ *
50
+ * @default ""
51
+ */
52
+ accessor intlFieldsGroupHeading: string;
53
+ /**
54
+ * Placeholder text for editor
55
+ *
56
+ * @default ""
57
+ */
58
+ accessor intlTextPlaceHolder: string;
59
+ /**
60
+ * List of fields/expressions for the default mentions implementation
61
+ * If you don't want mentions or are customizing the mention feed in customConfig, you do not need to supply this
62
+ */
63
+ accessor mentionFields: InputMentionField[] | undefined;
64
+ /**
65
+ * The toolbar will be hidden and the data will only be changeable through the `textData` prop if true
66
+ *
67
+ * @default false
68
+ */
69
+ accessor readOnly: boolean | undefined;
70
+ /** Input data for editor in html / markdown text format */
71
+ accessor textData: string | undefined;
72
+ /** Get the current data in the editor. */
73
+ getData(): Promise<any>;
74
+ /** Set focus on the component. */
75
+ setFocus(): Promise<void>;
76
+ /** @deprecated use arcgisCreated instead */
77
+ readonly arcgisCkeditor5Created: import("@arcgis/lumina").TargetedEvent<this, ArcgisCkeditor5>;
78
+ /** @deprecated use arcgisDataUpdated instead */
79
+ readonly arcgisCkeditor5DataUpdated: import("@arcgis/lumina").TargetedEvent<this, string>;
80
+ /** @deprecated use arcgisSourceEditingChanged instead */
81
+ readonly arcgisCkeditor5SourceEditingChanged: import("@arcgis/lumina").TargetedEvent<this, boolean>;
82
+ /** Emitted when the editor has been created. */
83
+ readonly arcgisCreated: import("@arcgis/lumina").TargetedEvent<this, ArcgisCkeditor5>;
84
+ /** Emitted when the editor's data has been updated. */
85
+ readonly arcgisDataUpdated: import("@arcgis/lumina").TargetedEvent<this, string>;
86
+ /** Emitted when the editor's source editing mode has changed. */
87
+ readonly arcgisSourceEditingChanged: import("@arcgis/lumina").TargetedEvent<this, boolean>;
88
+ readonly "@eventTypes": {
89
+ arcgisCkeditor5Created: ArcgisCkeditor5["arcgisCkeditor5Created"]["detail"];
90
+ arcgisCkeditor5DataUpdated: ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]["detail"];
91
+ arcgisCkeditor5SourceEditingChanged: ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]["detail"];
92
+ arcgisCreated: ArcgisCkeditor5["arcgisCreated"]["detail"];
93
+ arcgisDataUpdated: ArcgisCkeditor5["arcgisDataUpdated"]["detail"];
94
+ arcgisSourceEditingChanged: ArcgisCkeditor5["arcgisSourceEditingChanged"]["detail"];
95
+ };
96
+ }