@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.
- package/dist/cdn/{O63ZTZG5.js → 2CMN2PLW.js} +2 -2
- package/dist/cdn/{QEMZUVQL.js → 3D5FKOXY.js} +2 -2
- package/dist/cdn/{XVOXEDSL.js → 43YNUTPG.js} +2 -2
- package/dist/cdn/{RNS5S5UL.js → 4I34IC6Q.js} +2 -2
- package/dist/cdn/{BXXIZYBD.js → 5CDET57O.js} +2 -2
- package/dist/cdn/{5Z2QK75J.js → 6DBUX6JF.js} +1 -1
- package/dist/cdn/ACOIQKWZ.js +6 -0
- package/dist/cdn/{K3LTU64J.js → BAXXL46B.js} +2 -2
- package/dist/cdn/{FREENMNZ.js → CMYVMNBW.js} +2 -2
- package/dist/cdn/{BAEY2UNC.js → ENYQISNB.js} +2 -2
- package/dist/cdn/{IGSEZSZY.js → GTFPNZX7.js} +2 -2
- package/dist/cdn/{LC3J3GLV.js → HRF4HSM5.js} +2 -2
- package/dist/cdn/{LNDXDU5Z.js → IC6DINF6.js} +123 -123
- package/dist/cdn/{4JREURGY.js → KY3QFUVB.js} +2 -2
- package/dist/cdn/{RD2QMBYZ.js → KYBEHVPR.js} +2 -2
- package/dist/cdn/{Y2EXN4GQ.js → L63ONHBD.js} +2 -2
- package/dist/cdn/{C2DNC2YJ.js → NFPYN5F7.js} +1 -1
- package/dist/cdn/{SYONVE3P.js → OGEHJX2A.js} +2 -2
- package/dist/cdn/{62JZVUW3.js → R4UCTMNW.js} +2 -2
- package/dist/cdn/{G7BIJSLP.js → ROYSN427.js} +2 -2
- package/dist/cdn/{3CIN6YRD.js → X5QI7LLG.js} +1 -1
- package/dist/cdn/{JVNYGVN3.js → YAIYR7HY.js} +2 -2
- package/dist/cdn/{ZDJE23FU.js → YJBSULAA.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/commonFunctions.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/types.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-ckeditor5/customElement.d.ts +94 -98
- package/dist/components/arcgis-ckeditor5/customElement.js +6887 -7708
- package/dist/components/arcgis-ckeditor5/types.d.ts +4 -7
- package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +37 -38
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +2 -2
- package/dist/components/arcgis-ckeditor5-popover/index.d.ts +0 -2
- package/dist/components/arcgis-color-input/customElement.d.ts +105 -82
- package/dist/components/arcgis-color-input/customElement.js +1 -1
- package/dist/components/arcgis-color-input/index.d.ts +0 -5
- package/dist/components/arcgis-field-info/customElement.d.ts +204 -41
- package/dist/components/arcgis-field-info/customElement.js +1 -1
- package/dist/components/arcgis-field-info/utils/basic.d.ts +2 -36
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +196 -170
- package/dist/components/arcgis-field-pick-list/customElement.js +1 -1
- package/dist/components/arcgis-field-pick-list/index.d.ts +0 -13
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +2 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +206 -195
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram/types.d.ts +22 -30
- package/dist/components/arcgis-label-input/customElement.d.ts +46 -45
- package/dist/components/arcgis-label-input/customElement.js +1 -1
- package/dist/components/arcgis-label-input/index.d.ts +0 -2
- package/dist/components/arcgis-picker-input/customElement.d.ts +41 -41
- package/dist/components/arcgis-picker-input/customElement.js +2 -2
- package/dist/components/arcgis-picker-input/index.d.ts +0 -4
- package/dist/components/arcgis-ramp-color/customElement.d.ts +16 -17
- package/dist/components/arcgis-ramp-color/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color-break/customElement.d.ts +17 -18
- package/dist/components/arcgis-ramp-color-break/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color-break/index.d.ts +0 -1
- package/dist/components/arcgis-ramp-opacity/customElement.d.ts +16 -18
- package/dist/components/arcgis-ramp-opacity/customElement.js +1 -1
- package/dist/components/arcgis-ramp-opacity/index.d.ts +0 -1
- package/dist/components/arcgis-slider/customElement.d.ts +287 -287
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-slider/index.d.ts +0 -2
- package/dist/components/arcgis-slider-input/customElement.d.ts +57 -58
- package/dist/components/arcgis-slider-input/customElement.js +1 -1
- package/dist/components/arcgis-slider-input/index.d.ts +0 -2
- package/dist/components/arcgis-ticks/customElement.d.ts +99 -94
- package/dist/components/arcgis-ticks/customElement.js +1 -1
- package/dist/components/arcgis-unique-values-list/customElement.d.ts +106 -89
- package/dist/components/arcgis-unique-values-list/customElement.js +1 -1
- package/dist/components/arcgis-unique-values-list/index.d.ts +0 -7
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +2 -9
- package/dist/docs/api.json +1 -7276
- package/dist/docs/docs.json +1 -6072
- package/dist/docs/vscode.css-custom-data.json +1 -27
- package/dist/docs/vscode.html-custom-data.json +1 -1185
- package/dist/docs/web-types.json +1 -2387
- package/dist/index.d.ts +30 -23
- package/dist/index.js +1 -1
- package/dist/loader.js +11 -11
- package/dist/types/lumina.d.ts +54 -54
- package/dist/types/preact.d.ts +54 -54
- package/dist/types/react.d.ts +54 -54
- package/dist/types/stencil.d.ts +54 -54
- package/dist/utils/types.d.ts +33 -29
- package/package.json +6 -4
- package/dist/cdn/ZMDBYWZB.js +0 -6
- package/dist/components/arcgis-ckeditor5/resources.d.ts +0 -9
- package/dist/components/arcgis-field-info/utils/feature.d.ts +0 -21
- package/dist/components/arcgis-field-info/utils/field.d.ts +0 -30
- package/dist/components/arcgis-field-info/utils/index.d.ts +0 -3
- package/dist/components/arcgis-histogram/css.d.ts +0 -8
- package/dist/components/arcgis-histogram/histogramSample.d.ts +0 -25
- package/dist/components/arcgis-histogram/utils.d.ts +0 -19
- package/dist/components/arcgis-slider/SliderData.d.ts +0 -37
- package/dist/components/arcgis-slider/stepsUtils.d.ts +0 -52
- package/dist/components/arcgis-ticks/css.d.ts +0 -11
- package/dist/components/arcgis-unique-values-list/utils/date.d.ts +0 -7
- package/dist/components/arcgis-unique-values-list/utils/domain.d.ts +0 -5
- package/dist/components/arcgis-unique-values-list/utils/field.d.ts +0 -3
- package/dist/components/arcgis-unique-values-list/utils/index.d.ts +0 -4
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/runtime.d.ts +0 -6
- package/dist/utils/commonFunctions.d.ts +0 -28
- package/dist/utils/dom.d.ts +0 -7
- package/dist/utils/functional.d.ts +0 -16
- package/dist/utils/functionalComponents/FieldIcons.d.ts +0 -6
- package/dist/utils/storage.d.ts +0 -3
- package/dist/utils/style.d.ts +0 -1
|
@@ -1,100 +1,96 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
3
|
-
import {
|
|
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
|
-
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
+
}
|