@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,43 +1,43 @@
|
|
|
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 { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
4
5
|
|
|
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
|
-
}
|
|
6
|
+
export abstract class ArcgisPickerInput extends LitElement {
|
|
7
|
+
/**
|
|
8
|
+
* If true, disables the component.
|
|
9
|
+
*
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
accessor disabled: boolean;
|
|
13
|
+
/** Heading for the component. */
|
|
14
|
+
accessor heading: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Icon to display at the end of the component.
|
|
17
|
+
*
|
|
18
|
+
* @default "pencil"
|
|
19
|
+
*/
|
|
20
|
+
accessor iconEnd: Icon["icon"];
|
|
21
|
+
/** Text to display within the "Done" button. */
|
|
22
|
+
accessor intlDone: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Label for the component
|
|
25
|
+
*
|
|
26
|
+
* @default ""
|
|
27
|
+
*/
|
|
28
|
+
accessor label: string;
|
|
29
|
+
/** Convenience prop to specify common popover props. */
|
|
30
|
+
accessor popoverProps: IPopoverProps | undefined;
|
|
31
|
+
/** Close the component. */
|
|
32
|
+
close(): Promise<void>;
|
|
33
|
+
/** Set focus on the component. */
|
|
34
|
+
setFocus(): Promise<void>;
|
|
35
|
+
/** Emitted when the component has been closed. */
|
|
36
|
+
readonly arcgisPopoverClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
37
|
+
/** Emitted when the component has been opened. */
|
|
38
|
+
readonly arcgisPopoverOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
39
|
+
readonly "@eventTypes": {
|
|
40
|
+
arcgisPopoverClose: ArcgisPickerInput["arcgisPopoverClose"]["detail"];
|
|
41
|
+
arcgisPopoverOpen: ArcgisPickerInput["arcgisPopoverOpen"]["detail"];
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -4,14 +4,14 @@ import { LitElement as l, createEvent as i, safeStyleMap as a } from "@arcgis/lu
|
|
|
4
4
|
import { createRef as r, ref as t } from "lit/directives/ref.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
const c = n`:host{display:flex}:host([disabled]){opacity:.25;pointer-events:none}button{overflow:hidden;background-color:transparent;align-items:center;border:none;border-radius:0;box-sizing:border-box;cursor:pointer;display:flex;font-family:inherit;gap:var(--calcite-space-sm);height:100%;justify-content:center;outline-color:transparent;outline-offset:0;padding:3px 0;padding-inline:3px var(--calcite-space-sm);position:relative;text-decoration:none;user-select:none;text-align:center;-webkit-appearance:none;width:100%;&:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}&:hover{text-decoration:none}}.preview{border:var(--calcite-border-width-sm) solid #949494;display:flex;align-items:center;flex-grow:1}.container{display:flex;gap:5px;width:100%}::slotted([slot="preview"]){flex-grow:1;display:flex}calcite-icon{color:var(--calcite-color-text-3)}`;
|
|
9
9
|
class p extends l {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(), this.panelEl = r(), this.open = !1, this.disabled = !1, this.iconEnd = "pencil", this.label = "", this.arcgisPopoverOpen = i(), this.arcgisPopoverClose = i(), this.listenOn(document.body, "arcgisPopoverOpen", this.onPopoverOpen);
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.properties = { open: 16, disabled: 7, heading: 1, iconEnd:
|
|
14
|
+
this.properties = { open: 16, disabled: 7, heading: 1, iconEnd: 1, intlDone: 1, label: 1, popoverProps: 0 };
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.styles = c;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-popover";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-panel";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-icon";
|
|
5
1
|
export * from "./customElement.js";
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { PropertyValues } from 'lit';
|
|
2
|
+
import type Color from "@arcgis/core/Color.js";
|
|
3
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
5
4
|
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
layout: "horizontal" | "vertical";
|
|
15
|
-
/** @default 0 */
|
|
16
|
-
min: number;
|
|
17
|
-
/** @default 1 */
|
|
18
|
-
max: number;
|
|
19
|
-
stops: ColorStop[];
|
|
5
|
+
export abstract class ArcgisRampColor extends LitElement {
|
|
6
|
+
/** @default "horizontal" */
|
|
7
|
+
accessor layout: "horizontal" | "vertical";
|
|
8
|
+
/** @default 1 */
|
|
9
|
+
accessor max: number;
|
|
10
|
+
/** @default 0 */
|
|
11
|
+
accessor min: number;
|
|
12
|
+
accessor stops: ColorStop[];
|
|
20
13
|
}
|
|
14
|
+
|
|
15
|
+
export interface ColorStop {
|
|
16
|
+
color: Color | string;
|
|
17
|
+
value: number;
|
|
18
|
+
size?: number;
|
|
19
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as x, nothing as u, safeClassMap as C } from "@arcgis/lumina
|
|
|
4
4
|
import { css as v, svg as p, html as b } from "lit";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
const S = v`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}.hidden{display:none!important}svg{stroke-width:var(--calcite-border-width-sm);stroke:var(--calcite-color-border-input);margin:0;display:block;block-size:100%;inline-size:100%;padding:0}svg .background{fill:#e0e0e0}`;
|
|
9
9
|
class I {
|
|
10
10
|
constructor(t, i, n, e) {
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ArcgisRampColor } from '../arcgis-ramp-color/customElement.js';
|
|
2
|
+
import type Color from "@arcgis/core/Color.js";
|
|
3
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
4
|
+
import type { ArcgisRampColor } from "../arcgis-ramp-color/customElement.js";
|
|
6
5
|
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
layout: ArcgisRampColor["layout"];
|
|
16
|
-
/** @default 0 */
|
|
17
|
-
min: number;
|
|
18
|
-
/** @default 1 */
|
|
19
|
-
max: number;
|
|
20
|
-
stops: ColorBreak[];
|
|
6
|
+
export abstract class ArcgisRampColorBreak extends LitElement {
|
|
7
|
+
/** @default "horizontal" */
|
|
8
|
+
accessor layout: ArcgisRampColor["layout"];
|
|
9
|
+
/** @default 1 */
|
|
10
|
+
accessor max: number;
|
|
11
|
+
/** @default 0 */
|
|
12
|
+
accessor min: number;
|
|
13
|
+
accessor stops: ColorBreak[];
|
|
21
14
|
}
|
|
15
|
+
|
|
16
|
+
export interface ColorBreak {
|
|
17
|
+
color: Color | string;
|
|
18
|
+
max: number;
|
|
19
|
+
min: number;
|
|
20
|
+
}
|
|
@@ -3,7 +3,7 @@ import { LitElement as m } from "@arcgis/lumina";
|
|
|
3
3
|
import { css as p, html as c } from "lit";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.137 */
|
|
7
7
|
const n = p`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`;
|
|
8
8
|
class h extends m {
|
|
9
9
|
constructor() {
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ArcgisRampColor } from '../arcgis-ramp-color/customElement.js';
|
|
2
|
+
import type Color from "@arcgis/core/Color.js";
|
|
3
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
4
|
+
import type { ArcgisRampColor } from "../arcgis-ramp-color/customElement.js";
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
6
|
+
export abstract class ArcgisRampOpacity extends LitElement {
|
|
7
|
+
accessor fillColor: Color | string;
|
|
8
|
+
/** @default "horizontal" */
|
|
9
|
+
accessor layout: ArcgisRampColor["layout"];
|
|
10
|
+
/** @default 1 */
|
|
11
|
+
accessor max: number;
|
|
12
|
+
/** @default 0 */
|
|
13
|
+
accessor min: number;
|
|
14
|
+
accessor stops: {
|
|
15
|
+
value: number;
|
|
16
|
+
opacity: number;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as e } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as m, html as n } from "lit";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
const p = m`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`, l = new t([0, 121, 193]);
|
|
9
9
|
class h extends e {
|
|
10
10
|
constructor() {
|