@arcgis/common-components 4.29.0-beta.47 → 4.29.0-beta.49
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/arcgis-common-components/arcgis-common-components.esm.js +1 -1
- package/dist/arcgis-common-components/p-6c7d2684.js +1 -0
- package/dist/arcgis-common-components/p-7318a1d1.entry.js +1 -0
- package/dist/arcgis-common-components/p-a91ab432.js +2 -0
- package/dist/arcgis-common-components/p-d3d1695f.entry.js +1 -0
- package/dist/cjs/arcgis-common-components.cjs.js +3 -3
- package/dist/cjs/arcgis-field-info.cjs.entry.js +903 -899
- package/dist/cjs/arcgis-field-pick-list.cjs.entry.js +216 -229
- package/dist/cjs/{index-2e4fbd31.js → index-5ec7f592.js} +5 -20
- package/dist/cjs/{index-ab5f2576.js → index-e0422bc8.js} +72 -77
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/components/arcgis-field-info.d.ts +2 -2
- package/dist/components/arcgis-field-pick-list.d.ts +2 -2
- package/dist/components/arcgis-field-pick-list.js +259 -272
- package/dist/components/field-info.js +961 -901
- package/dist/esm/arcgis-common-components.js +4 -4
- package/dist/esm/arcgis-field-info.entry.js +907 -903
- package/dist/esm/arcgis-field-pick-list.entry.js +216 -229
- package/dist/esm/{index-74897166.js → index-0c129ec4.js} +73 -78
- package/dist/esm/index-ba4fe890.js +59 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/field-info/field-info.d.ts +61 -61
- package/dist/types/components/field-info/t9n-types.d.ts +72 -72
- package/dist/types/components/field-info/utils/basic.d.ts +24 -24
- package/dist/types/components/field-info/utils/field.d.ts +1 -1
- package/dist/types/components/field-pick-list/field-pick-list.d.ts +115 -115
- package/dist/types/components/field-pick-list/t9n-types.d.ts +15 -15
- package/dist/types/components/field-pick-list/utils/types.d.ts +14 -14
- package/dist/types/components.d.ts +0 -86
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/package.json +7 -7
- package/dist/arcgis-common-components/p-0be8fd4c.entry.js +0 -1
- package/dist/arcgis-common-components/p-164eb24e.entry.js +0 -1
- package/dist/arcgis-common-components/p-5ecf6396.js +0 -1
- package/dist/arcgis-common-components/p-97c7ac8d.entry.js +0 -1
- package/dist/arcgis-common-components/p-b23318c8.js +0 -1
- package/dist/arcgis-common-components/p-d66b011b.entry.js +0 -1
- package/dist/arcgis-common-components/p-f27af39c.js +0 -2
- package/dist/cjs/arcgis-api-key.cjs.entry.js +0 -51
- package/dist/cjs/arcgis-identity.cjs.entry.js +0 -139
- package/dist/cjs/index-f8bf4df6.js +0 -7
- package/dist/components/arcgis-api-key.d.ts +0 -11
- package/dist/components/arcgis-api-key.js +0 -69
- package/dist/components/arcgis-identity.d.ts +0 -11
- package/dist/components/arcgis-identity.js +0 -167
- package/dist/components/index2.js +0 -75
- package/dist/esm/arcgis-api-key.entry.js +0 -47
- package/dist/esm/arcgis-identity.entry.js +0 -135
- package/dist/esm/index-3d9bb67e.js +0 -75
- package/dist/esm/index-e7244815.js +0 -3
- package/dist/types/components/api-key/api-key.d.ts +0 -9
- package/dist/types/components/identity/identity.d.ts +0 -31
- package/dist/types/components/types.d.ts +0 -10
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
export type FieldInfoStrings = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
fieldType: string;
|
|
3
|
+
fieldAlias: string;
|
|
4
|
+
fieldDescription: string;
|
|
5
|
+
fieldValueType: string;
|
|
6
|
+
fieldSampleValue: string;
|
|
7
|
+
fieldDecimalPlaces: string;
|
|
8
|
+
fieldStatistics: string;
|
|
9
|
+
fieldDescriptionNotSet: string;
|
|
10
|
+
fieldValueTypeNotSet: string;
|
|
11
|
+
fieldSampleRetrieving: string;
|
|
12
|
+
fieldSampleNotAvailable: string;
|
|
13
|
+
fieldDecimalPlacesNotAvailable: string;
|
|
14
|
+
fieldNumDecimalPlaces: string;
|
|
15
|
+
fieldStatisticsRetrieving: string;
|
|
16
|
+
fieldStatisticsNotAvailable: string;
|
|
17
|
+
fieldUniqueValuesRetrieving: string;
|
|
18
|
+
fieldUniqueValuesNotAvailable: string;
|
|
19
|
+
fieldTypes: FieldTypes;
|
|
20
|
+
fieldValueTypes: FieldValueTypes;
|
|
21
|
+
statistics: Statistics;
|
|
22
22
|
};
|
|
23
23
|
export type FieldTypes = {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
24
|
+
integer: string;
|
|
25
|
+
smallInteger: string;
|
|
26
|
+
bigInteger: string;
|
|
27
|
+
single: string;
|
|
28
|
+
double: string;
|
|
29
|
+
long: string;
|
|
30
|
+
string: string;
|
|
31
|
+
date: string;
|
|
32
|
+
dateOnly: string;
|
|
33
|
+
timeOnly: string;
|
|
34
|
+
timestampOffset: string;
|
|
35
|
+
oid: string;
|
|
36
|
+
guid: string;
|
|
37
|
+
globalId: string;
|
|
38
38
|
};
|
|
39
39
|
export type FieldValueTypes = {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
40
|
+
nameOrTitle: string;
|
|
41
|
+
description: string;
|
|
42
|
+
typeOrCategory: string;
|
|
43
|
+
countOrAmount: string;
|
|
44
|
+
percentageOrRatio: string;
|
|
45
|
+
measurement: string;
|
|
46
|
+
uniqueIdentifier: string;
|
|
47
|
+
orderedOrRanked: string;
|
|
48
|
+
binary: string;
|
|
49
|
+
locationOrPlaceName: string;
|
|
50
|
+
coordinate: string;
|
|
51
|
+
currency: string;
|
|
52
|
+
dateAndTime: string;
|
|
53
53
|
};
|
|
54
54
|
export type Statistics = {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
55
|
+
numberOfValues: string;
|
|
56
|
+
numberOfNulls: string;
|
|
57
|
+
allNulls: string;
|
|
58
|
+
topValues: string;
|
|
59
|
+
topTenValues: string;
|
|
60
|
+
count: string;
|
|
61
|
+
sumOfValues: string;
|
|
62
|
+
minimum: string;
|
|
63
|
+
maximum: string;
|
|
64
|
+
average: string;
|
|
65
|
+
standardDeviation: string;
|
|
66
|
+
minimumDate: string;
|
|
67
|
+
maximumDate: string;
|
|
68
|
+
averageDate: string;
|
|
69
|
+
minimumTime: string;
|
|
70
|
+
maximumTime: string;
|
|
71
|
+
averageTime: string;
|
|
72
|
+
timespan: string;
|
|
73
|
+
timeSpanOptions: TimeSpanOptions;
|
|
74
74
|
};
|
|
75
75
|
export type TimeSpanOptions = {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
76
|
+
day: string;
|
|
77
|
+
days: string;
|
|
78
|
+
month: string;
|
|
79
|
+
months: string;
|
|
80
|
+
year: string;
|
|
81
|
+
years: string;
|
|
82
82
|
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export declare enum Status {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
MISSING = "missing",
|
|
3
|
+
IN_PROGRESS = "inProgress",
|
|
4
|
+
SUCCESS = "success",
|
|
5
|
+
FAILED = "failed"
|
|
6
6
|
}
|
|
7
7
|
export declare enum SimpleFieldTypes {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
NUMBER = "number",
|
|
9
|
+
STRING = "string",
|
|
10
|
+
DATE = "date",
|
|
11
|
+
DATE_ONLY = "date-only",
|
|
12
|
+
TIME_ONLY = "time-only",
|
|
13
|
+
TIMESTAMP_OFFSET = "timestamp-offset",
|
|
14
|
+
OID = "oid",
|
|
15
|
+
GUID = "guid",
|
|
16
|
+
UNKNOWN = "unknown"
|
|
17
17
|
}
|
|
18
18
|
export interface CompFieldInfo {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
layerField: __esri.Field;
|
|
20
|
+
simpleFieldType?: SimpleFieldTypes;
|
|
21
|
+
label: string;
|
|
22
|
+
codedValues?: any;
|
|
23
23
|
}
|
|
24
24
|
export type ComponentProps = {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
view?: __esri.View;
|
|
26
|
+
layer: Exclude<FieldInfoLayer, __esri.Sublayer>;
|
|
27
|
+
fieldName: string;
|
|
28
|
+
fieldInfo?: CompFieldInfo;
|
|
29
|
+
statisticsStatus?: Status;
|
|
30
|
+
hideStatistics: boolean;
|
|
31
|
+
modules: any;
|
|
32
32
|
};
|
|
33
33
|
export type FieldInfoLayer = __esri.FeatureLayer | __esri.Sublayer | __esri.SceneLayer | __esri.ImageryLayer | __esri.ImageryTileLayer | __esri.WFSLayer | __esri.OGCFeatureLayer | __esri.StreamLayer | __esri.CSVLayer | __esri.GeoJSONLayer;
|
|
34
34
|
/**
|
|
@@ -2,121 +2,121 @@ import { EventEmitter, VNode, ComponentInterface } from "../../stencil-public-ru
|
|
|
2
2
|
import type { FieldPickListStrings } from "./t9n-types";
|
|
3
3
|
import { IPickListFieldInfo, IPopoverProps } from "./utils/types";
|
|
4
4
|
export declare enum LastSortyBy {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
default = "default",
|
|
6
|
+
display = "display",
|
|
7
|
+
type = "type",
|
|
8
|
+
field = "field"
|
|
9
9
|
}
|
|
10
10
|
export declare class ArcgisFieldPickList implements ComponentInterface {
|
|
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
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
11
|
+
_hostElement: HTMLArcgisFieldInfoElement;
|
|
12
|
+
/**
|
|
13
|
+
* Initial selected fields. Will use selectedFields[0] when multiple = false.
|
|
14
|
+
*/
|
|
15
|
+
selectedFields: string[];
|
|
16
|
+
/**
|
|
17
|
+
* All display fields with name, alias, type and description, sorted by default order.
|
|
18
|
+
* Description is optional.
|
|
19
|
+
*/
|
|
20
|
+
fields: IPickListFieldInfo[];
|
|
21
|
+
/**
|
|
22
|
+
* Reference element for the popover.
|
|
23
|
+
*/
|
|
24
|
+
popoverProps: IPopoverProps;
|
|
25
|
+
/**
|
|
26
|
+
* Required if showFieldInfo is true.
|
|
27
|
+
*/
|
|
28
|
+
layer?: __esri.FeatureLayer | __esri.Sublayer | __esri.OGCFeatureLayer | __esri.WFSLayer | __esri.ImageryLayer | __esri.ImageryTileLayer | __esri.CSVLayer | __esri.StreamLayer | __esri.GeoJSONLayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer;
|
|
29
|
+
/**
|
|
30
|
+
* Required if showFieldInfo is true.
|
|
31
|
+
*/
|
|
32
|
+
mapView?: __esri.View;
|
|
33
|
+
/**
|
|
34
|
+
* Display field info button.
|
|
35
|
+
*/
|
|
36
|
+
showFieldInfo: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Display field name. By default only displays field alias.
|
|
39
|
+
*/
|
|
40
|
+
showFieldName: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Display description. By default only displays field alias.
|
|
43
|
+
*/
|
|
44
|
+
showDescription: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Display select all/deselect all button. Only applicable if multiple is set to true.
|
|
47
|
+
*/
|
|
48
|
+
showSelectionAll: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Display cancel button.
|
|
51
|
+
*/
|
|
52
|
+
showCancel: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Display sort menu button.
|
|
55
|
+
*/
|
|
56
|
+
showSort: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Display filter option based on number of fields.
|
|
59
|
+
*/
|
|
60
|
+
showFilterLength: number;
|
|
61
|
+
/**
|
|
62
|
+
* Allow multiple selection.
|
|
63
|
+
* If multiple is set to false the popover will close as soon as another item gets selected.
|
|
64
|
+
*/
|
|
65
|
+
multiple: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Heading text.
|
|
68
|
+
*/
|
|
69
|
+
heading?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Ok button text. Ok button only shows when multiple set to true.
|
|
72
|
+
*/
|
|
73
|
+
okBtnText?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Filter placeholder text.
|
|
76
|
+
*/
|
|
77
|
+
filterPlaceholderText?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Initial sort order.
|
|
80
|
+
*/
|
|
81
|
+
sortBy?: LastSortyBy;
|
|
82
|
+
/**
|
|
83
|
+
* This event fires when user hits ok/cancel or closes the panel.
|
|
84
|
+
* returns {selectedFields: [selectedFields]}. Use selectedFields[0] for multiple = false.
|
|
85
|
+
* returns {selectedFields: []} when nothing is selected.
|
|
86
|
+
* returns null on "Cancel" or closing the panel
|
|
87
|
+
*/
|
|
88
|
+
arcgisFieldPickListDismissed: EventEmitter;
|
|
89
|
+
/**
|
|
90
|
+
* This event fires when selection changes.
|
|
91
|
+
* returns {selectedFields: [selectedFields]}. Use selectedFields[0] for multiple = false.
|
|
92
|
+
* returns {selectedFields: []} when nothing is selected.
|
|
93
|
+
*/
|
|
94
|
+
arcgisFieldPickListChange: EventEmitter;
|
|
95
|
+
/**
|
|
96
|
+
* This event fires when the sort order changes.
|
|
97
|
+
*/
|
|
98
|
+
arcgisFieldPickListSortByChange: EventEmitter<LastSortyBy>;
|
|
99
|
+
lastSortyBy: LastSortyBy;
|
|
100
|
+
filterFields: string[] | null;
|
|
101
|
+
_lang: string;
|
|
102
|
+
_t9nLocale: string;
|
|
103
|
+
_t9nStrings: FieldPickListStrings;
|
|
104
|
+
popoverNode: HTMLCalcitePopoverElement;
|
|
105
|
+
pickListNode: HTMLCalcitePickListElement;
|
|
106
|
+
flowElement: HTMLCalciteFlowElement;
|
|
107
|
+
panelElement: HTMLCalciteFlowItemElement;
|
|
108
|
+
dropdownNode: HTMLCalciteDropdownElement;
|
|
109
|
+
observer?: MutationObserver;
|
|
110
|
+
componentWillLoad(): Promise<void>;
|
|
111
|
+
componentDidLoad(): Promise<void>;
|
|
112
|
+
disconnectedCallback(): void;
|
|
113
|
+
setFocus(): Promise<void>;
|
|
114
|
+
reposition(): Promise<void>;
|
|
115
|
+
getSortedList(): IPickListFieldInfo[];
|
|
116
|
+
showFieldInfoCheck(field: IPickListFieldInfo): boolean;
|
|
117
|
+
selectDeselect(): boolean;
|
|
118
|
+
filterContainsAll(): boolean;
|
|
119
|
+
render(): VNode;
|
|
120
|
+
calciteValueList: (field: IPickListFieldInfo) => any;
|
|
121
|
+
private setUpObserver;
|
|
122
122
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export type FieldPickListStrings = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
ok: string;
|
|
3
|
+
done: string;
|
|
4
|
+
cancel: string;
|
|
5
|
+
back: string;
|
|
6
|
+
header: string;
|
|
7
|
+
headerSelect: string;
|
|
8
|
+
filter: string;
|
|
9
|
+
info: string;
|
|
10
|
+
displayName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
default: string;
|
|
13
|
+
fieldName: string;
|
|
14
|
+
sort: string;
|
|
15
|
+
selectAll: string;
|
|
16
|
+
deselectAll: string;
|
|
17
17
|
};
|
|
@@ -3,23 +3,23 @@ import { OverlayPositioning, LogicalPlacement } from "@esri/calcite-components/d
|
|
|
3
3
|
* Object to be passed to field-pick-list containing info about a field.
|
|
4
4
|
*/
|
|
5
5
|
export interface IPickListFieldInfo {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
name: string;
|
|
7
|
+
alias: string;
|
|
8
|
+
type: string;
|
|
9
|
+
description?: string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Properties used for calcite-popover.
|
|
13
13
|
*/
|
|
14
14
|
export interface IPopoverProps {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
refElement: HTMLElement;
|
|
16
|
+
placement?: LogicalPlacement;
|
|
17
|
+
offsetDistance?: number;
|
|
18
|
+
offsetSkidding?: number;
|
|
19
|
+
popoverWidth?: number;
|
|
20
|
+
overlayPositioning?: OverlayPositioning;
|
|
21
|
+
flipDisabled?: boolean;
|
|
22
|
+
triggerDisabled?: boolean;
|
|
23
|
+
autoClose?: boolean;
|
|
24
|
+
maxHeight?: string;
|
|
25
25
|
}
|