@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,9 +1,6 @@
|
|
|
1
1
|
export type InputMentionField = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
isFirstField: boolean;
|
|
8
|
-
};
|
|
9
|
-
export type EditorType = "html" | "markdown";
|
|
5
|
+
|
|
6
|
+
export type EditorType = "html" | "markdown";
|
|
@@ -1,40 +1,39 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
}
|
|
4
|
+
export abstract class ArcgisCkeditor5Popover extends LitElement {
|
|
5
|
+
/** Guid for ckeditor popover instance. */
|
|
6
|
+
accessor guid: `${string}-${string}-${string}-${string}-${string}`;
|
|
7
|
+
/**
|
|
8
|
+
* Cancel button text.
|
|
9
|
+
*
|
|
10
|
+
* @default "Cancel"
|
|
11
|
+
*/
|
|
12
|
+
accessor intlCancel: string;
|
|
13
|
+
/** Popover label text. */
|
|
14
|
+
accessor intlLabel: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Ok button text.
|
|
17
|
+
*
|
|
18
|
+
* @default "Ok"
|
|
19
|
+
*/
|
|
20
|
+
accessor intlOk: string;
|
|
21
|
+
/** Reference element for the popover. */
|
|
22
|
+
accessor refElement: HTMLElement | undefined;
|
|
23
|
+
/** Reposition the component. */
|
|
24
|
+
reposition(): Promise<void>;
|
|
25
|
+
/** @deprecated use arcgisPopoverClosed instead */
|
|
26
|
+
readonly arcgisCkeditor5PopoverClosed: import("@arcgis/lumina").TargetedEvent<this, {
|
|
27
|
+
guid: string;
|
|
28
|
+
data?: string;
|
|
29
|
+
}>;
|
|
30
|
+
/** Emitted when the popover has been closed. */
|
|
31
|
+
readonly arcgisPopoverClosed: import("@arcgis/lumina").TargetedEvent<this, {
|
|
32
|
+
guid: string;
|
|
33
|
+
data?: string;
|
|
34
|
+
}>;
|
|
35
|
+
readonly "@eventTypes": {
|
|
36
|
+
arcgisCkeditor5PopoverClosed: ArcgisCkeditor5Popover["arcgisCkeditor5PopoverClosed"]["detail"];
|
|
37
|
+
arcgisPopoverClosed: ArcgisCkeditor5Popover["arcgisPopoverClosed"]["detail"];
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -9,7 +9,7 @@ import { i as u } from "../../chunks/commonFunctions.js";
|
|
|
9
9
|
import { C as i } from "../../chunks/resources.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.
|
|
12
|
+
v5.0.0-next.137 */
|
|
13
13
|
const m = n`.arcgis-app-ckeditor-popover-footer{display:flex;justify-content:flex-end;margin-top:var(--calcite-space-sm);padding:0 var(--calcite-space-lg)}.arcgis-app-ckeditor-popover-container{margin:0 var(--calcite-space-md) 0 0;padding-bottom:var(--calcite-space-lg);box-shadow:val(--calcite-shadow-1)}`;
|
|
14
14
|
class f extends c {
|
|
15
15
|
constructor() {
|
|
@@ -24,7 +24,7 @@ class f extends c {
|
|
|
24
24
|
}), this.guid = g(), this.intlOk = "Ok", this.intlCancel = "Cancel", this.arcgisCkeditor5PopoverClosed = o(), this.arcgisPopoverClosed = o(), this.listen("arcgisCreated", this.afterEditorCreated), this.listen("arcgisSourceEditingChanged", this.onSourceEditingStatusChanged);
|
|
25
25
|
}
|
|
26
26
|
static {
|
|
27
|
-
this.properties = { guid:
|
|
27
|
+
this.properties = { guid: 1, refElement: 0, intlOk: 1, intlCancel: 1, intlLabel: 1 };
|
|
28
28
|
}
|
|
29
29
|
static {
|
|
30
30
|
this.styles = m;
|
|
@@ -1,84 +1,107 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
3
|
-
import { IPopoverProps } from
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { IPopoverProps } from "../../utils/types.js";
|
|
4
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
|
+
import type { Popover as Popover } from "@esri/calcite-components/components/calcite-popover";
|
|
4
6
|
|
|
5
|
-
|
|
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
|
-
|
|
7
|
+
export abstract class ArcgisColorInput extends LitElement {
|
|
8
|
+
/** @internal */
|
|
9
|
+
protected _messages: Partial<{
|
|
10
|
+
clearColor: string;
|
|
11
|
+
commitColor: string;
|
|
12
|
+
deleteColor: string;
|
|
13
|
+
noColor: string;
|
|
14
|
+
recentColors: string;
|
|
15
|
+
selectColor: string;
|
|
16
|
+
}> & T9nMeta<{
|
|
17
|
+
clearColor: string;
|
|
18
|
+
commitColor: string;
|
|
19
|
+
deleteColor: string;
|
|
20
|
+
noColor: string;
|
|
21
|
+
recentColors: string;
|
|
22
|
+
selectColor: string;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Display option to set no color.
|
|
26
|
+
*
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
accessor clearable: boolean;
|
|
30
|
+
/** The selected color as a HEX value. If not set it will display a 'transparent' color swatch. */
|
|
31
|
+
accessor color: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Control whether the component should be displayed in a compact style (i.e., fewer recent color options).
|
|
34
|
+
*
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
accessor compact: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Control whether the component is disabled.
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
accessor disabled: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* If true, do not display recent colors.
|
|
46
|
+
*
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
accessor hideRecentColors: boolean;
|
|
50
|
+
/** Replace localized message strings with your own strings. */
|
|
51
|
+
accessor messageOverrides: {
|
|
52
|
+
clearColor?: string | undefined;
|
|
53
|
+
commitColor?: string | undefined;
|
|
54
|
+
deleteColor?: string | undefined;
|
|
55
|
+
noColor?: string | undefined;
|
|
56
|
+
recentColors?: string | undefined;
|
|
57
|
+
selectColor?: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Determines where the popup color picker will be positioned relative to the color input.
|
|
61
|
+
*
|
|
62
|
+
* @default "auto"
|
|
63
|
+
*/
|
|
64
|
+
accessor placement: Popover["placement"];
|
|
65
|
+
/** Convenience prop to specify common popover props. */
|
|
66
|
+
accessor popoverProps: IPopoverProps | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* If true, allow transparency to be modified within the color picker.
|
|
69
|
+
*
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
accessor showTransparency: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* The id of the local storage element that will store recent colors.
|
|
75
|
+
*
|
|
76
|
+
* @default "arcgis-color-input-storage-colors"
|
|
77
|
+
*/
|
|
78
|
+
accessor storageId: string;
|
|
79
|
+
/** Close the component. */
|
|
80
|
+
close(): Promise<void>;
|
|
81
|
+
/** Set focus on the component. */
|
|
82
|
+
setFocus(): Promise<void>;
|
|
83
|
+
/** Emitted when the color has changed. */
|
|
84
|
+
readonly arcgisChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
85
|
+
/** @deprecated use arcgisChange instead */
|
|
86
|
+
readonly arcgisColorInputChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
87
|
+
/** @deprecated use arcgisPickerClose instead */
|
|
88
|
+
readonly arcgisColorInputPopoverClose: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
89
|
+
/** @deprecated use arcgisPickerOpen instead */
|
|
90
|
+
readonly arcgisColorInputPopoverOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
91
|
+
/** @deprecated use arcgisSwatchUpdate instead */
|
|
92
|
+
readonly arcgisColorInputSwatchUpdate: import("@arcgis/lumina").TargetedEvent<this, string | undefined>;
|
|
93
|
+
readonly arcgisPickerClose: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
94
|
+
readonly arcgisPickerOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
95
|
+
/** Emitted when a color swatch is updated (emits selected color hex). */
|
|
96
|
+
readonly arcgisSwatchUpdate: import("@arcgis/lumina").TargetedEvent<this, string | undefined>;
|
|
97
|
+
readonly "@eventTypes": {
|
|
98
|
+
arcgisChange: ArcgisColorInput["arcgisChange"]["detail"];
|
|
99
|
+
arcgisColorInputChange: ArcgisColorInput["arcgisColorInputChange"]["detail"];
|
|
100
|
+
arcgisColorInputPopoverClose: ArcgisColorInput["arcgisColorInputPopoverClose"]["detail"];
|
|
101
|
+
arcgisColorInputPopoverOpen: ArcgisColorInput["arcgisColorInputPopoverOpen"]["detail"];
|
|
102
|
+
arcgisColorInputSwatchUpdate: ArcgisColorInput["arcgisColorInputSwatchUpdate"]["detail"];
|
|
103
|
+
arcgisPickerClose: ArcgisColorInput["arcgisPickerClose"]["detail"];
|
|
104
|
+
arcgisPickerOpen: ArcgisColorInput["arcgisPickerOpen"]["detail"];
|
|
105
|
+
arcgisSwatchUpdate: ArcgisColorInput["arcgisSwatchUpdate"]["detail"];
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -8,7 +8,7 @@ import { debounce as E } from "@arcgis/toolkit/function";
|
|
|
8
8
|
import { u as k } from "../../chunks/useT9n.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
11
|
-
v5.0.0-next.
|
|
11
|
+
v5.0.0-next.137 */
|
|
12
12
|
function $(l, e, o) {
|
|
13
13
|
window.localStorage.setItem(l, JSON.stringify(e));
|
|
14
14
|
}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-tooltip";
|
|
2
|
-
import "../arcgis-picker-input/index.js";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-color-picker";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-color-picker-swatch";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
6
1
|
export * from "./customElement.js";
|
|
@@ -1,43 +1,206 @@
|
|
|
1
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
1
|
/// <reference path="../../index.d.ts" />
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import { FieldInfoLayer } from
|
|
2
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
3
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
4
|
+
import type { FieldInfoLayer } from "./utils/basic.js";
|
|
5
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
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
|
-
|
|
7
|
+
export abstract class ArcgisFieldInfo extends LitElement {
|
|
8
|
+
/** @internal */
|
|
9
|
+
protected _messages: {
|
|
10
|
+
fieldType: string;
|
|
11
|
+
fieldAlias: string;
|
|
12
|
+
fieldDescription: string;
|
|
13
|
+
fieldValueType: string;
|
|
14
|
+
fieldSampleValue: string;
|
|
15
|
+
fieldDecimalPlaces: string;
|
|
16
|
+
fieldMinimumFractionDigits: string;
|
|
17
|
+
fieldMaximumFractionDigits: string;
|
|
18
|
+
fieldStatistics: string;
|
|
19
|
+
fieldDescriptionNotSet: string;
|
|
20
|
+
fieldValueTypeNotSet: string;
|
|
21
|
+
fieldSampleRetrieving: string;
|
|
22
|
+
fieldSampleNotAvailable: string;
|
|
23
|
+
fieldDecimalPlacesNotAvailable: string;
|
|
24
|
+
fieldNumDecimalPlaces: string;
|
|
25
|
+
fieldStatisticsRetrieving: string;
|
|
26
|
+
fieldStatisticsNotAvailable: string;
|
|
27
|
+
fieldUniqueValuesRetrieving: string;
|
|
28
|
+
fieldUniqueValuesNotAvailable: string;
|
|
29
|
+
fieldTypes: {
|
|
30
|
+
integer: string;
|
|
31
|
+
smallInteger: string;
|
|
32
|
+
bigInteger: string;
|
|
33
|
+
single: string;
|
|
34
|
+
double: string;
|
|
35
|
+
long: string;
|
|
36
|
+
string: string;
|
|
37
|
+
date: string;
|
|
38
|
+
dateOnly: string;
|
|
39
|
+
timeOnly: string;
|
|
40
|
+
timestampOffset: string;
|
|
41
|
+
oid: string;
|
|
42
|
+
guid: string;
|
|
43
|
+
globalId: string;
|
|
44
|
+
};
|
|
45
|
+
fieldValueTypes: {
|
|
46
|
+
nameOrTitle: string;
|
|
47
|
+
description: string;
|
|
48
|
+
typeOrCategory: string;
|
|
49
|
+
countOrAmount: string;
|
|
50
|
+
percentageOrRatio: string;
|
|
51
|
+
measurement: string;
|
|
52
|
+
uniqueIdentifier: string;
|
|
53
|
+
orderedOrRanked: string;
|
|
54
|
+
binary: string;
|
|
55
|
+
locationOrPlaceName: string;
|
|
56
|
+
coordinate: string;
|
|
57
|
+
currency: string;
|
|
58
|
+
phoneNumber: string;
|
|
59
|
+
emailAddress: string;
|
|
60
|
+
dateAndTime: string;
|
|
61
|
+
};
|
|
62
|
+
statistics: {
|
|
63
|
+
numberOfValues: string;
|
|
64
|
+
numberOfNulls: string;
|
|
65
|
+
allNulls: string;
|
|
66
|
+
topValues: string;
|
|
67
|
+
topTenValues: string;
|
|
68
|
+
count: string;
|
|
69
|
+
sumOfValues: string;
|
|
70
|
+
minimum: string;
|
|
71
|
+
maximum: string;
|
|
72
|
+
average: string;
|
|
73
|
+
standardDeviation: string;
|
|
74
|
+
minimumDate: string;
|
|
75
|
+
maximumDate: string;
|
|
76
|
+
averageDate: string;
|
|
77
|
+
minimumTime: string;
|
|
78
|
+
maximumTime: string;
|
|
79
|
+
averageTime: string;
|
|
80
|
+
timespan: string;
|
|
81
|
+
timeSpanOptions: {
|
|
82
|
+
day: string;
|
|
83
|
+
days: string;
|
|
84
|
+
month: string;
|
|
85
|
+
months: string;
|
|
86
|
+
year: string;
|
|
87
|
+
years: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
} & T9nMeta<{
|
|
91
|
+
fieldType: string;
|
|
92
|
+
fieldAlias: string;
|
|
93
|
+
fieldDescription: string;
|
|
94
|
+
fieldValueType: string;
|
|
95
|
+
fieldSampleValue: string;
|
|
96
|
+
fieldDecimalPlaces: string;
|
|
97
|
+
fieldMinimumFractionDigits: string;
|
|
98
|
+
fieldMaximumFractionDigits: string;
|
|
99
|
+
fieldStatistics: string;
|
|
100
|
+
fieldDescriptionNotSet: string;
|
|
101
|
+
fieldValueTypeNotSet: string;
|
|
102
|
+
fieldSampleRetrieving: string;
|
|
103
|
+
fieldSampleNotAvailable: string;
|
|
104
|
+
fieldDecimalPlacesNotAvailable: string;
|
|
105
|
+
fieldNumDecimalPlaces: string;
|
|
106
|
+
fieldStatisticsRetrieving: string;
|
|
107
|
+
fieldStatisticsNotAvailable: string;
|
|
108
|
+
fieldUniqueValuesRetrieving: string;
|
|
109
|
+
fieldUniqueValuesNotAvailable: string;
|
|
110
|
+
fieldTypes: {
|
|
111
|
+
integer: string;
|
|
112
|
+
smallInteger: string;
|
|
113
|
+
bigInteger: string;
|
|
114
|
+
single: string;
|
|
115
|
+
double: string;
|
|
116
|
+
long: string;
|
|
117
|
+
string: string;
|
|
118
|
+
date: string;
|
|
119
|
+
dateOnly: string;
|
|
120
|
+
timeOnly: string;
|
|
121
|
+
timestampOffset: string;
|
|
122
|
+
oid: string;
|
|
123
|
+
guid: string;
|
|
124
|
+
globalId: string;
|
|
125
|
+
};
|
|
126
|
+
fieldValueTypes: {
|
|
127
|
+
nameOrTitle: string;
|
|
128
|
+
description: string;
|
|
129
|
+
typeOrCategory: string;
|
|
130
|
+
countOrAmount: string;
|
|
131
|
+
percentageOrRatio: string;
|
|
132
|
+
measurement: string;
|
|
133
|
+
uniqueIdentifier: string;
|
|
134
|
+
orderedOrRanked: string;
|
|
135
|
+
binary: string;
|
|
136
|
+
locationOrPlaceName: string;
|
|
137
|
+
coordinate: string;
|
|
138
|
+
currency: string;
|
|
139
|
+
phoneNumber: string;
|
|
140
|
+
emailAddress: string;
|
|
141
|
+
dateAndTime: string;
|
|
142
|
+
};
|
|
143
|
+
statistics: {
|
|
144
|
+
numberOfValues: string;
|
|
145
|
+
numberOfNulls: string;
|
|
146
|
+
allNulls: string;
|
|
147
|
+
topValues: string;
|
|
148
|
+
topTenValues: string;
|
|
149
|
+
count: string;
|
|
150
|
+
sumOfValues: string;
|
|
151
|
+
minimum: string;
|
|
152
|
+
maximum: string;
|
|
153
|
+
average: string;
|
|
154
|
+
standardDeviation: string;
|
|
155
|
+
minimumDate: string;
|
|
156
|
+
maximumDate: string;
|
|
157
|
+
averageDate: string;
|
|
158
|
+
minimumTime: string;
|
|
159
|
+
maximumTime: string;
|
|
160
|
+
averageTime: string;
|
|
161
|
+
timespan: string;
|
|
162
|
+
timeSpanOptions: {
|
|
163
|
+
day: string;
|
|
164
|
+
days: string;
|
|
165
|
+
month: string;
|
|
166
|
+
months: string;
|
|
167
|
+
year: string;
|
|
168
|
+
years: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
}>;
|
|
172
|
+
/** Required field name. */
|
|
173
|
+
accessor fieldName: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* If true, hide the field alias section.
|
|
176
|
+
*
|
|
177
|
+
* @default false
|
|
178
|
+
*/
|
|
179
|
+
accessor hideAlias: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* If true, hide the decimal places section.
|
|
182
|
+
*
|
|
183
|
+
* @default false
|
|
184
|
+
*/
|
|
185
|
+
accessor hideNumericFormat: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* If true, hide statistics (i.e., no top 10 values for string and no stats for number and date fields).
|
|
188
|
+
*
|
|
189
|
+
* @default false
|
|
190
|
+
*/
|
|
191
|
+
accessor hideStatistics: boolean;
|
|
192
|
+
/** Required layer instance. */
|
|
193
|
+
accessor layer: FieldInfoLayer | undefined;
|
|
194
|
+
/** View instance. If no view is provided all dates will show in 'system' timezone. */
|
|
195
|
+
accessor view: __esri.View | undefined;
|
|
196
|
+
/** Refresh the field info display after external changes are made. */
|
|
197
|
+
refresh(): Promise<void>;
|
|
198
|
+
/** Emitted once all information is displayed. */
|
|
199
|
+
readonly arcgisComplete: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
200
|
+
/** @deprecated use arcgisComplete instead. */
|
|
201
|
+
readonly arcgisFieldInfoComplete: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
202
|
+
readonly "@eventTypes": {
|
|
203
|
+
arcgisComplete: ArcgisFieldInfo["arcgisComplete"]["detail"];
|
|
204
|
+
arcgisFieldInfoComplete: ArcgisFieldInfo["arcgisFieldInfoComplete"]["detail"];
|
|
205
|
+
};
|
|
206
|
+
}
|
|
@@ -16,7 +16,7 @@ import L from "@arcgis/core/rest/support/Query.js";
|
|
|
16
16
|
import { u as Z } from "../../chunks/useT9n.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
19
|
-
v5.0.0-next.
|
|
19
|
+
v5.0.0-next.137 */
|
|
20
20
|
function p(a) {
|
|
21
21
|
return a != null;
|
|
22
22
|
}
|
|
@@ -1,37 +1,3 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
|
|
3
|
-
export type
|
|
4
|
-
export interface CompFieldInfo {
|
|
5
|
-
layerField: __esri.Field;
|
|
6
|
-
simpleFieldType?: SimpleFieldTypes;
|
|
7
|
-
label: string;
|
|
8
|
-
codedValues?: __esri.CodedValue[];
|
|
9
|
-
}
|
|
10
|
-
export type ComponentProps = {
|
|
11
|
-
view?: __esri.View;
|
|
12
|
-
layer: FieldInfoLayer;
|
|
13
|
-
fieldName: string;
|
|
14
|
-
fieldInfo?: CompFieldInfo;
|
|
15
|
-
statisticsStatus?: Status;
|
|
16
|
-
hideStatistics: boolean;
|
|
17
|
-
};
|
|
18
|
-
export type FieldInfoLayer = __esri.CatalogFootprintLayer | __esri.CatalogLayer | __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.ImageryLayer | __esri.ImageryTileLayer | __esri.KnowledgeGraphSublayer | __esri.OGCFeatureLayer | __esri.OrientedImageryLayer | __esri.ParquetLayer | __esri.SceneLayer | __esri.StreamLayer | __esri.Sublayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer | __esri.VoxelLayer | __esri.WCSLayer | __esri.WFSLayer;
|
|
19
|
-
/**
|
|
20
|
-
* Returns true if the value is defined
|
|
21
|
-
*
|
|
22
|
-
* @param value - value to check
|
|
23
|
-
*/
|
|
24
|
-
export declare function isDefined<T>(value: T | null | undefined): value is T;
|
|
25
|
-
/**
|
|
26
|
-
* Returns the URL used for queries.
|
|
27
|
-
* E.g. SceneLayers need to use the FeatureLayer URL for queries.
|
|
28
|
-
*
|
|
29
|
-
* @param value - value to check
|
|
30
|
-
*/
|
|
31
|
-
export declare function getQueryURL(layer: __esri.FeatureLayer | __esri.OGCFeatureLayer | __esri.SceneLayer): nullish | string;
|
|
32
|
-
export type FormattingOptions = {
|
|
33
|
-
useFieldFormatting?: boolean;
|
|
34
|
-
isTimeOnly?: boolean;
|
|
35
|
-
};
|
|
36
|
-
export declare const defaultIntlDateFormattingOptions: Intl.DateTimeFormatOptions;
|
|
37
|
-
export declare const defaultIntlTimeFormatingOptions: Intl.DateTimeFormatOptions;
|
|
2
|
+
|
|
3
|
+
export type FieldInfoLayer = __esri.CatalogFootprintLayer | __esri.CatalogLayer | __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.ImageryLayer | __esri.ImageryTileLayer | __esri.KnowledgeGraphSublayer | __esri.OGCFeatureLayer | __esri.OrientedImageryLayer | __esri.ParquetLayer | __esri.SceneLayer | __esri.StreamLayer | __esri.Sublayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer | __esri.VoxelLayer | __esri.WCSLayer | __esri.WFSLayer;
|