@arcgis/common-components 5.2.0-next.11 → 5.2.0-next.111
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{L2JNUMXB.js → 3UH3ZOZB.js} +1 -1
- package/dist/cdn/475SP47T.js +2 -0
- package/dist/cdn/{4W7JZPB6.js → 4JMH3KRC.js} +1 -1
- package/dist/cdn/{VQLI4IE7.js → 4LO2YSUJ.js} +1 -1
- package/dist/cdn/4TZVXSQZ.js +2 -0
- package/dist/cdn/56HK5TL6.js +2 -0
- package/dist/cdn/5IM4X2GT.js +2 -0
- package/dist/cdn/6HBX6QDQ.js +2 -0
- package/dist/cdn/{OBIWQRXY.js → 73ETIJP2.js} +1 -1
- package/dist/cdn/7EP7KDAN.js +2 -0
- package/dist/cdn/7YNFXAZI.js +2 -0
- package/dist/cdn/{GVOQ2CB7.js → AWK4HGJV.js} +1 -1
- package/dist/cdn/DG5IVKVO.js +2 -0
- package/dist/cdn/{5KS7T5BY.js → DRV7OKQT.js} +1 -1
- package/dist/cdn/EA5M73N4.js +2 -0
- package/dist/cdn/EPTZSQ77.js +2 -0
- package/dist/cdn/{3P53QRGS.js → G2LLGGQQ.js} +1 -1
- package/dist/cdn/{XRARFMJ7.js → GQ2PO4L4.js} +1 -1
- package/dist/cdn/GSQIARZL.js +2 -0
- package/dist/cdn/HJZA4ZUL.js +2 -0
- package/dist/cdn/I7CTLPWD.js +2 -0
- package/dist/cdn/{LKUOAV7B.js → ICJXMKTL.js} +1 -1
- package/dist/cdn/{L5RMOAO3.js → J6ZKTXN7.js} +1 -1
- package/dist/cdn/KMYFQIQ7.js +2 -0
- package/dist/cdn/L7XGWJZF.js +2 -0
- package/dist/cdn/LAQNGXPG.js +2 -0
- package/dist/cdn/ND7AQ3X6.js +2 -0
- package/dist/cdn/NNNE4T7L.js +2 -0
- package/dist/cdn/O4H2JR53.js +2 -0
- package/dist/cdn/{3V5M7OHL.js → OSOV6LK3.js} +3 -3
- package/dist/cdn/PMV2N3L3.js +2 -0
- package/dist/cdn/{MCZBUYS5.js → PQG3COJ4.js} +1 -1
- package/dist/cdn/PSVNG2MS.js +2 -0
- package/dist/cdn/PUNWW4GY.js +2 -0
- package/dist/cdn/PWYFUIF6.js +4 -0
- package/dist/cdn/Q3AMPMQV.js +2 -0
- package/dist/cdn/{WEKRF34E.js → QWRE6ILV.js} +1 -1
- package/dist/cdn/RC2HNFFD.js +2 -0
- package/dist/cdn/{JLPZ3OR2.js → SKLYKTDC.js} +1 -1
- package/dist/cdn/TKCEZXLC.js +2 -0
- package/dist/cdn/TWW63D32.js +2 -0
- package/dist/cdn/XMGOCO2S.js +2 -0
- package/dist/cdn/Z5QBBHLD.js +2 -0
- package/dist/cdn/{N7C4DINF.js → Z5SIZJN5.js} +1 -1
- package/dist/cdn/ZMZH3Z5A.js +2 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/slider-field/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/element-reference-controller.js +19 -0
- package/dist/chunks/layer-utils.js +52 -40
- package/dist/chunks/locale.js +14 -6
- package/dist/chunks/strategies.js +287 -0
- package/dist/chunks/toolbar.js +9 -0
- package/dist/chunks/types.js +16 -0
- package/dist/chunks/utils.js +59 -0
- package/dist/chunks/utils2.js +20 -0
- package/dist/chunks/utils3.js +7 -0
- package/dist/components/arcgis-ckeditor5/customElement.d.ts +23 -0
- package/dist/components/arcgis-ckeditor5/customElement.js +2 -2
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +1 -1
- package/dist/components/arcgis-color-input/customElement.d.ts +2 -1
- package/dist/components/arcgis-color-input/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-system-picker/customElement.d.ts +23 -0
- package/dist/components/arcgis-coordinate-system-picker/customElement.js +1 -1
- package/dist/components/arcgis-field-info/customElement.d.ts +1 -1
- package/dist/components/arcgis-field-info/customElement.js +248 -225
- package/dist/components/arcgis-field-info/index.js +1 -0
- package/dist/components/arcgis-field-info/utils/basic.d.ts +3 -1
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +15 -12
- package/dist/components/arcgis-field-pick-list/customElement.js +205 -122
- package/dist/components/arcgis-field-pick-list/index.js +4 -3
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +3 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +39 -2
- package/dist/components/arcgis-histogram/customElement.js +105 -90
- package/dist/components/arcgis-label-input/customElement.js +18 -14
- package/dist/components/arcgis-slider/customElement.d.ts +11 -3
- package/dist/components/arcgis-slider/customElement.js +371 -348
- package/dist/components/arcgis-slider-field/customElement.d.ts +298 -0
- package/dist/components/arcgis-slider-field/customElement.js +96 -0
- package/dist/components/arcgis-slider-field/index.d.ts +1 -0
- package/dist/components/arcgis-slider-field/index.js +2 -0
- package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +390 -0
- package/dist/components/arcgis-slider-histogram-range/customElement.js +120 -0
- package/dist/components/arcgis-slider-histogram-range/index.d.ts +1 -0
- package/dist/components/arcgis-slider-histogram-range/index.js +3 -0
- package/dist/components/arcgis-slider-histogram-range/types.d.ts +6 -0
- package/dist/components/arcgis-ticks/customElement.d.ts +11 -3
- package/dist/components/arcgis-ticks/customElement.js +100 -79
- package/dist/components/arcgis-toolbar/customElement.d.ts +67 -0
- package/dist/components/arcgis-toolbar/customElement.js +108 -0
- package/dist/components/arcgis-toolbar/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar/index.js +2 -0
- package/dist/components/arcgis-toolbar/types.d.ts +41 -0
- package/dist/components/arcgis-toolbar-action/customElement.d.ts +97 -0
- package/dist/components/arcgis-toolbar-action/customElement.js +52 -0
- package/dist/components/arcgis-toolbar-action/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-action/index.js +3 -0
- package/dist/components/arcgis-toolbar-group/customElement.d.ts +38 -0
- package/dist/components/arcgis-toolbar-group/customElement.js +48 -0
- package/dist/components/arcgis-toolbar-group/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-group/index.js +2 -0
- package/dist/components/arcgis-toolbar-item/customElement.d.ts +83 -0
- package/dist/components/arcgis-toolbar-item/customElement.js +42 -0
- package/dist/components/arcgis-toolbar-item/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-item/index.js +4 -0
- package/dist/components/arcgis-toolbar-more-button/customElement.d.ts +52 -0
- package/dist/components/arcgis-toolbar-more-button/customElement.js +68 -0
- package/dist/components/arcgis-toolbar-more-button/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-more-button/index.js +6 -0
- package/dist/components/arcgis-toolbar-split-button/customElement.d.ts +51 -0
- package/dist/components/arcgis-toolbar-split-button/customElement.js +67 -0
- package/dist/components/arcgis-toolbar-split-button/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-split-button/index.js +6 -0
- package/dist/components/arcgis-toolbar-stack/customElement.d.ts +48 -0
- package/dist/components/arcgis-toolbar-stack/customElement.js +174 -0
- package/dist/components/arcgis-toolbar-stack/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-stack/index.js +1 -0
- package/dist/components/arcgis-unique-values-list/customElement.js +115 -95
- package/dist/components/arcgis-value-picker/customElement.js +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +62 -0
- package/dist/index.js +2 -0
- package/dist/loader.js +13 -4
- package/dist/types/lumina.d.ts +58 -2
- package/dist/types/preact.d.ts +67 -2
- package/dist/types/react.d.ts +76 -2
- package/dist/types/stencil.d.ts +60 -4
- package/dist/utils/types.d.ts +14 -1
- package/package.json +6 -6
- package/dist/cdn/2XA6O2MP.js +0 -2
- package/dist/cdn/4BJYJUMR.js +0 -2
- package/dist/cdn/5U5NQ3F5.js +0 -2
- package/dist/cdn/77HZGUSC.js +0 -2
- package/dist/cdn/A3CISHRB.js +0 -2
- package/dist/cdn/AFBKMYU6.js +0 -4
- package/dist/cdn/IUJ4ILLQ.js +0 -2
- package/dist/cdn/JPD7Z3MB.js +0 -2
- package/dist/cdn/LB7I345F.js +0 -2
- package/dist/cdn/LBD3GPSD.js +0 -2
- package/dist/cdn/MCH3WQ4X.js +0 -2
- package/dist/cdn/NKMDS2IH.js +0 -2
- package/dist/cdn/PSITQBDP.js +0 -2
- package/dist/cdn/TXYPZ6MB.js +0 -2
- package/dist/cdn/WLYFLEI6.js +0 -2
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.en-US.json +0 -1
- /package/dist/cdn/{ECNI2A4K.js → XEK22IDA.js} +0 -0
- /package/dist/chunks/{commonFunctions.js → general.js} +0 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { g as d } from "./locale.js";
|
|
3
|
+
const u = 1440 * 60 * 1e3, b = /^(\d{4})-(\d{2})-(\d{2})$/u, F = /^(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?$/u;
|
|
4
|
+
class c {
|
|
5
|
+
constructor({
|
|
6
|
+
type: e,
|
|
7
|
+
editable: t,
|
|
8
|
+
precision: r,
|
|
9
|
+
steps: n
|
|
10
|
+
}) {
|
|
11
|
+
this.type = e, this.editable = t, this.precision = r, this.steps = n;
|
|
12
|
+
}
|
|
13
|
+
toDateOnly(e) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
toTimeOnly(e) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
toTimestampOffset(e) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
toFieldType(e) {
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
class m extends c {
|
|
27
|
+
constructor({ type: e, precision: t, integer: r = !1, minimum: n, maximum: a }) {
|
|
28
|
+
super({
|
|
29
|
+
type: e,
|
|
30
|
+
editable: !0,
|
|
31
|
+
precision: t
|
|
32
|
+
}), this._integer = r, this._minimum = n, this._maximum = a;
|
|
33
|
+
}
|
|
34
|
+
resolveRange(e, t, r) {
|
|
35
|
+
return {
|
|
36
|
+
min: t ?? Math.min(0, ...e),
|
|
37
|
+
max: r ?? Math.max(100, ...e)
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
parse(e) {
|
|
41
|
+
const t = Number.parseFloat(e.trim());
|
|
42
|
+
if (!Number.isFinite(t))
|
|
43
|
+
return;
|
|
44
|
+
const r = this._integer ? Math.trunc(t) : t;
|
|
45
|
+
return Math.min(this._maximum, Math.max(this._minimum, r));
|
|
46
|
+
}
|
|
47
|
+
serialize(e) {
|
|
48
|
+
return this._integer ? `${Math.trunc(e)}` : `${e}`;
|
|
49
|
+
}
|
|
50
|
+
format(e, t, r, n) {
|
|
51
|
+
return n(t);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
class w extends c {
|
|
55
|
+
constructor() {
|
|
56
|
+
super({
|
|
57
|
+
type: "date",
|
|
58
|
+
editable: !1,
|
|
59
|
+
precision: 0,
|
|
60
|
+
steps: 1e3
|
|
61
|
+
}), this._dateTimeFormatOptions = {
|
|
62
|
+
dateStyle: "short"
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
resolveRange(e, t, r) {
|
|
66
|
+
return g(e, t, r, Date.now());
|
|
67
|
+
}
|
|
68
|
+
parse(e) {
|
|
69
|
+
const t = Number.parseFloat(e.trim());
|
|
70
|
+
return Number.isFinite(t) ? Math.trunc(t) : void 0;
|
|
71
|
+
}
|
|
72
|
+
serialize(e) {
|
|
73
|
+
return `${Math.trunc(e)}`;
|
|
74
|
+
}
|
|
75
|
+
toDateOnly(e) {
|
|
76
|
+
return new Date(e).toISOString().slice(0, 10);
|
|
77
|
+
}
|
|
78
|
+
toTimeOnly(e) {
|
|
79
|
+
return new Date(e).toISOString().slice(11, 19);
|
|
80
|
+
}
|
|
81
|
+
toTimestampOffset(e) {
|
|
82
|
+
return new Date(e).toISOString();
|
|
83
|
+
}
|
|
84
|
+
format(e, t) {
|
|
85
|
+
return d(e, this._dateTimeFormatOptions).format(new Date(t));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
class D extends c {
|
|
89
|
+
constructor() {
|
|
90
|
+
super({
|
|
91
|
+
type: "timestamp-offset",
|
|
92
|
+
editable: !1,
|
|
93
|
+
precision: 0,
|
|
94
|
+
steps: 1e3
|
|
95
|
+
}), this._dateTimeFormatOptions = {
|
|
96
|
+
dateStyle: "short"
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
resolveRange(e, t, r) {
|
|
100
|
+
return g(e, t, r, Date.now());
|
|
101
|
+
}
|
|
102
|
+
parse(e) {
|
|
103
|
+
const t = Date.parse(e.trim());
|
|
104
|
+
return Number.isFinite(t) ? t : void 0;
|
|
105
|
+
}
|
|
106
|
+
serialize(e) {
|
|
107
|
+
return new Date(e).toISOString();
|
|
108
|
+
}
|
|
109
|
+
toDateOnly(e) {
|
|
110
|
+
return new Date(e).toISOString().slice(0, 10);
|
|
111
|
+
}
|
|
112
|
+
toTimeOnly(e) {
|
|
113
|
+
return new Date(e).toISOString().slice(11, 19);
|
|
114
|
+
}
|
|
115
|
+
toTimestampOffset(e) {
|
|
116
|
+
return new Date(e).toISOString();
|
|
117
|
+
}
|
|
118
|
+
toFieldType(e) {
|
|
119
|
+
return this.serialize(e);
|
|
120
|
+
}
|
|
121
|
+
format(e, t) {
|
|
122
|
+
return d(e, this._dateTimeFormatOptions).format(new Date(t));
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
class T extends c {
|
|
126
|
+
constructor() {
|
|
127
|
+
super({
|
|
128
|
+
type: "date-only",
|
|
129
|
+
editable: !1,
|
|
130
|
+
precision: 0,
|
|
131
|
+
steps: u
|
|
132
|
+
}), this._dateFormatOptions = {
|
|
133
|
+
dateStyle: "short",
|
|
134
|
+
timeZone: "UTC"
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
resolveRange(e, t, r) {
|
|
138
|
+
return g(e, t, r, Math.trunc(Date.now() / u) * u);
|
|
139
|
+
}
|
|
140
|
+
parse(e) {
|
|
141
|
+
const t = b.exec(e.trim());
|
|
142
|
+
if (!t)
|
|
143
|
+
return;
|
|
144
|
+
const r = Number.parseInt(t[1], 10), n = Number.parseInt(t[2], 10), a = Number.parseInt(t[3], 10), s = Date.UTC(r, n - 1, a), o = new Date(s);
|
|
145
|
+
if (!(o.getUTCFullYear() !== r || o.getUTCMonth() !== n - 1 || o.getUTCDate() !== a))
|
|
146
|
+
return s;
|
|
147
|
+
}
|
|
148
|
+
serialize(e) {
|
|
149
|
+
return new Date(e).toISOString().slice(0, 10);
|
|
150
|
+
}
|
|
151
|
+
toDateOnly(e) {
|
|
152
|
+
return this.serialize(e);
|
|
153
|
+
}
|
|
154
|
+
toTimestampOffset(e) {
|
|
155
|
+
return new Date(e).toISOString();
|
|
156
|
+
}
|
|
157
|
+
toFieldType(e) {
|
|
158
|
+
return this.serialize(e);
|
|
159
|
+
}
|
|
160
|
+
format(e, t) {
|
|
161
|
+
return d(e, this._dateFormatOptions).format(new Date(t));
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class _ extends c {
|
|
165
|
+
constructor() {
|
|
166
|
+
super({
|
|
167
|
+
type: "time-only",
|
|
168
|
+
editable: !1,
|
|
169
|
+
precision: 0,
|
|
170
|
+
steps: 1e3
|
|
171
|
+
}), this._timeFormatOptions = {
|
|
172
|
+
timeStyle: "medium",
|
|
173
|
+
timeZone: "UTC"
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
resolveRange(e, t, r) {
|
|
177
|
+
return { min: t ?? 0, max: r ?? u - 1 };
|
|
178
|
+
}
|
|
179
|
+
parse(e) {
|
|
180
|
+
const t = F.exec(e.trim());
|
|
181
|
+
if (!t)
|
|
182
|
+
return;
|
|
183
|
+
const r = Number.parseInt(t[1], 10), n = Number.parseInt(t[2], 10), a = t[3] ? Number.parseInt(t[3], 10) : 0, s = t[4] ? Number.parseInt(t[4].padEnd(3, "0").slice(0, 3), 10) : 0;
|
|
184
|
+
if (!(r > 23 || n > 59 || a > 59))
|
|
185
|
+
return ((r * 60 + n) * 60 + a) * 1e3 + s;
|
|
186
|
+
}
|
|
187
|
+
serialize(e) {
|
|
188
|
+
const t = Math.max(0, Math.min(u - 1, Math.floor(e))), r = Math.floor(t / 36e5), n = Math.floor(t % 36e5 / 6e4), a = Math.floor(t % 6e4 / 1e3), s = t % 1e3, o = `${p(r)}:${p(n)}:${p(a)}`;
|
|
189
|
+
return s > 0 ? `${o}.${s.toString().padStart(3, "0")}` : o;
|
|
190
|
+
}
|
|
191
|
+
toTimeOnly(e) {
|
|
192
|
+
return this.serialize(e);
|
|
193
|
+
}
|
|
194
|
+
toFieldType(e) {
|
|
195
|
+
return this.serialize(e);
|
|
196
|
+
}
|
|
197
|
+
format(e, t) {
|
|
198
|
+
return d(e, this._timeFormatOptions).format(new Date(t));
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
function p(i) {
|
|
202
|
+
return i.toString().padStart(2, "0");
|
|
203
|
+
}
|
|
204
|
+
function g(i, e, t, r) {
|
|
205
|
+
const n = t ?? (i.length > 0 ? Math.max(...i) : r);
|
|
206
|
+
return {
|
|
207
|
+
min: e ?? Math.min(n - 30 * u, ...i),
|
|
208
|
+
max: n
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
const h = {
|
|
212
|
+
min: -32768,
|
|
213
|
+
max: 32767
|
|
214
|
+
}, l = {
|
|
215
|
+
min: -2147483648,
|
|
216
|
+
max: 2147483647
|
|
217
|
+
}, y = {
|
|
218
|
+
min: -Number.MAX_SAFE_INTEGER,
|
|
219
|
+
max: Number.MAX_SAFE_INTEGER
|
|
220
|
+
}, S = (2 - 2 ** -23) * 2 ** 127, f = {
|
|
221
|
+
min: -S,
|
|
222
|
+
max: S
|
|
223
|
+
}, x = {
|
|
224
|
+
min: -Number.MAX_VALUE,
|
|
225
|
+
max: Number.MAX_VALUE
|
|
226
|
+
}, O = {
|
|
227
|
+
min: 0,
|
|
228
|
+
max: l.max
|
|
229
|
+
}, M = {
|
|
230
|
+
"small-integer": () => new m({
|
|
231
|
+
type: "small-integer",
|
|
232
|
+
precision: 0,
|
|
233
|
+
integer: !0,
|
|
234
|
+
minimum: h.min,
|
|
235
|
+
maximum: h.max
|
|
236
|
+
}),
|
|
237
|
+
integer: () => new m({
|
|
238
|
+
type: "integer",
|
|
239
|
+
precision: 0,
|
|
240
|
+
integer: !0,
|
|
241
|
+
minimum: l.min,
|
|
242
|
+
maximum: l.max
|
|
243
|
+
}),
|
|
244
|
+
"big-integer": () => new m({
|
|
245
|
+
type: "big-integer",
|
|
246
|
+
precision: 0,
|
|
247
|
+
integer: !0,
|
|
248
|
+
minimum: y.min,
|
|
249
|
+
maximum: y.max
|
|
250
|
+
}),
|
|
251
|
+
single: () => new m({
|
|
252
|
+
type: "single",
|
|
253
|
+
precision: 4,
|
|
254
|
+
minimum: f.min,
|
|
255
|
+
maximum: f.max
|
|
256
|
+
}),
|
|
257
|
+
double: () => new m({
|
|
258
|
+
type: "double",
|
|
259
|
+
precision: 4,
|
|
260
|
+
minimum: x.min,
|
|
261
|
+
maximum: x.max
|
|
262
|
+
}),
|
|
263
|
+
long: () => new m({
|
|
264
|
+
type: "long",
|
|
265
|
+
precision: 0,
|
|
266
|
+
integer: !0,
|
|
267
|
+
minimum: l.min,
|
|
268
|
+
maximum: l.max
|
|
269
|
+
}),
|
|
270
|
+
oid: () => new m({
|
|
271
|
+
type: "oid",
|
|
272
|
+
precision: 0,
|
|
273
|
+
integer: !0,
|
|
274
|
+
minimum: O.min,
|
|
275
|
+
maximum: O.max
|
|
276
|
+
}),
|
|
277
|
+
date: () => new w(),
|
|
278
|
+
"date-only": () => new T(),
|
|
279
|
+
"time-only": () => new _(),
|
|
280
|
+
"timestamp-offset": () => new D()
|
|
281
|
+
};
|
|
282
|
+
function N(i) {
|
|
283
|
+
return M[i]();
|
|
284
|
+
}
|
|
285
|
+
export {
|
|
286
|
+
N as g
|
|
287
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { css as a } from "lit";
|
|
3
|
+
const r = a`:host([toolbar-kind="floating"]){.ruler{opacity:0;pointer-events:none;position:absolute;visibility:hidden;flex-direction:column;height:min(100cqh - var(--arcgis-internal-attribution-space-top) - 2 * var(--calcite-space-lg),100vh - 2 * var(--calcite-space-lg));width:min(100cqw - 2 * var(--calcite-space-lg),100vw - 2 * var(--calcite-space-lg))}}:host([toolbar-kind="docked"]){.ruler{visibility:hidden;height:0;display:block;position:absolute;top:0;left:0;right:0;width:100%;height:100%}}`, t = a`:host{--arcgis-internal-toolbar-action-kind-color: var(--calcite-action-text-color);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-action-text-color-press);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-action-text-color-press);--arcgis-internal-toolbar-action-kind-foreground-color: var(--calcite-color-text-inverse);--arcgis-internal-toolbar-action-transparent-background-color: var(--calcite-color-transparent);--arcgis-internal-toolbar-action-transparent-background-color-hover: var(--calcite-color-transparent-hover);--arcgis-internal-toolbar-action-transparent-background-color-press: var(--calcite-color-transparent-press)}calcite-action{--calcite-action-text-color: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-text-color-press: var(--arcgis-internal-toolbar-action-kind-color-press);--calcite-color-focus: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-indicator-color: var(--arcgis-internal-toolbar-action-kind-color)}calcite-action:is([data-appearance=solid]){--calcite-offset-invert-focus: 1}calcite-action[data-appearance=outline]{--calcite-action-background-color: var(--arcgis-internal-toolbar-action-transparent-background-color);--calcite-action-background-color-hover: var(--arcgis-internal-toolbar-action-transparent-background-color-hover);--calcite-action-background-color-press: var(--arcgis-internal-toolbar-action-transparent-background-color-press);--calcite-action-text-color: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-text-color-press: var(--arcgis-internal-toolbar-action-kind-color-press);box-shadow:inset 0 0 0 var(--calcite-border-width-sm, 1px) var(--arcgis-internal-toolbar-action-kind-color)}calcite-action[data-appearance=outline]:hover{box-shadow:inset 0 0 0 var(--calcite-border-width-sm, 1px) var(--arcgis-internal-toolbar-action-kind-color-hover)}calcite-action[data-appearance=outline]:active,calcite-action[data-appearance=outline][active]{--calcite-action-background-color: var(--arcgis-internal-toolbar-action-transparent-background-color-press);box-shadow:inset 0 0 0 var(--calcite-border-width-sm, 1px) var(--arcgis-internal-toolbar-action-kind-color-press)}calcite-action[data-appearance=solid]{--calcite-action-background-color: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-background-color-hover: var(--arcgis-internal-toolbar-action-kind-color-hover);--calcite-action-background-color-press: var(--arcgis-internal-toolbar-action-kind-color-press);--calcite-action-text-color: var(--arcgis-internal-toolbar-action-kind-foreground-color);--calcite-action-text-color-press: var(--arcgis-internal-toolbar-action-kind-foreground-color);--calcite-action-indicator-color: var(--arcgis-internal-toolbar-action-kind-foreground-color)}calcite-action:is([data-appearance=outline],[data-appearance=solid]):not([data-kind]){--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-inverse);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-inverse-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-inverse-press)}calcite-action:not([data-kind]){--calcite-action-indicator-color: var(--calcite-color-brand)}calcite-action[data-kind=brand]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-brand);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-brand-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-brand-press);--calcite-action-indicator-color: var(--calcite-color-text-1);&[data-appearance=solid]{--calcite-action-indicator-color: var(--calcite-color-text-inverse)}}calcite-action[data-kind=danger]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-danger);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-danger-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-danger-press)}calcite-action[data-kind=info]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-info);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-info-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-info-press)}calcite-action[data-kind=success]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-success);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-success-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-success-press)}calcite-action[data-kind=warning]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-warning);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-warning-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-warning-press)}`, c = a`:host([layout="horizontal"]){.split-anchor{min-width:24px;max-width:24px;&[scale=m]{--calcite-internal-action-spacing: .25rem}&[scale=l]{--calcite-internal-action-spacing: 0rem}}.split-host:has(.split-menu){>calcite-action{border-radius:var(--calcite-action-corner-radius, 2px);border-top-right-radius:0;border-bottom-right-radius:0}.split-anchor{border-radius:var(--calcite-action-corner-radius, 2px);border-bottom-left-radius:0;border-top-left-radius:0}>calcite-action:dir(rtl){border-radius:var(--calcite-action-corner-radius, 2px);border-top-left-radius:0;border-bottom-left-radius:0}.split-anchor:dir(rtl){border-radius:var(--calcite-action-corner-radius, 2px);border-bottom-right-radius:0;border-top-right-radius:0}.split-anchor:dir(ltr){margin-left:calc(0px - var(--calcite-internal-action-bar-gap));margin-right:calc(0px - var(--calcite-internal-action-bar-padding))}.split-anchor:dir(rtl){margin-right:calc(0px - var(--calcite-internal-action-bar-gap));margin-left:calc(0px - var(--calcite-internal-action-bar-padding))}}}:host([layout="vertical"]){.split-anchor{--calcite-internal-action-min-height: unset;min-height:24px;max-height:24px}.split-host:has(.split-menu){>calcite-action{border-radius:var(--calcite-action-corner-radius, 2px);border-bottom-left-radius:0;border-bottom-right-radius:0}.split-anchor{border-radius:var(--calcite-action-corner-radius, 2px);border-top-right-radius:0;border-top-left-radius:0;margin-top:calc(0px - var(--calcite-internal-action-bar-gap));margin-bottom:calc(0px - var(--calcite-internal-action-bar-padding))}}}.split-host:has(.split-menu):hover,.split-host:has(calcite-action-menu[open]),.split-host:has(calcite-dropdown[open]){.split-anchor,>calcite-action{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}}.split-host{display:contents;cursor:pointer}`, i = a`:host{max-inline-size:100%;max-block-size:100%;min-inline-size:0;min-block-size:0;--arcgis-toolbar-tooltip-dark-background-color: #212121;--arcgis-toolbar-tooltip-dark-border-color: #404040;--arcgis-toolbar-tooltip-dark-text-color: #fff}calcite-action-bar{-webkit-user-select:none;user-select:none;pointer-events:auto}:host([toolbar-kind="docked"][layout="horizontal"]){calcite-action-bar{min-width:100%}}:host([toolbar-kind="docked"][layout="vertical"]){min-height:100%;calcite-action-bar{min-height:100%}}calcite-tooltip.calcite-mode-dark{--calcite-tooltip-background-color: var(--arcgis-toolbar-tooltip-dark-background-color);--calcite-tooltip-border-color: var(--arcgis-toolbar-tooltip-dark-border-color);--calcite-tooltip-text-color: var(--arcgis-toolbar-tooltip-dark-text-color)}:host([toolbar-kind="floating"][layout="vertical"]) .toolbar-shadow-wrapper{overflow-y:auto}:host([toolbar-kind="floating"][layout="horizontal"]) .toolbar-shadow-wrapper{overflow-x:auto}.toolbar-grid-wrapper{display:grid;max-inline-size:100%;max-block-size:100%;min-inline-size:0;min-block-size:0}:host([layout="horizontal"]) .toolbar-grid-wrapper{grid-template-columns:minmax(0,1fr)}:host([layout="vertical"]) .toolbar-grid-wrapper{grid-template-rows:minmax(0,1fr)}:host([toolbar-kind="floating"]) .toolbar-shadow-wrapper{box-shadow:var(--calcite-shadow-md);background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));min-inline-size:0;min-block-size:0}`;
|
|
4
|
+
export {
|
|
5
|
+
r as a,
|
|
6
|
+
t as b,
|
|
7
|
+
c,
|
|
8
|
+
i as s
|
|
9
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
const e = {
|
|
3
|
+
ForceCollapse: 0,
|
|
4
|
+
Default: 1,
|
|
5
|
+
Medium: 100,
|
|
6
|
+
High: 200,
|
|
7
|
+
Max: 300,
|
|
8
|
+
NeverCollapse: 1e3
|
|
9
|
+
};
|
|
10
|
+
function r(o) {
|
|
11
|
+
return !!(o && typeof o == "object" && "measure" in o && "proxiedRender" in o && "componentOnReady" in o);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
e as L,
|
|
15
|
+
r as i
|
|
16
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { L as n } from "./types.js";
|
|
3
|
+
const d = {
|
|
4
|
+
groupSeparator: 1,
|
|
5
|
+
groupPadding: {
|
|
6
|
+
s: 4,
|
|
7
|
+
m: 8,
|
|
8
|
+
l: 10
|
|
9
|
+
},
|
|
10
|
+
actionPadding: {
|
|
11
|
+
s: 4,
|
|
12
|
+
m: 8,
|
|
13
|
+
l: 10
|
|
14
|
+
},
|
|
15
|
+
action: {
|
|
16
|
+
s: 24,
|
|
17
|
+
m: 32,
|
|
18
|
+
l: 44
|
|
19
|
+
},
|
|
20
|
+
splitButtonPart: {
|
|
21
|
+
horizontal: {
|
|
22
|
+
s: 24,
|
|
23
|
+
m: 24,
|
|
24
|
+
l: 24
|
|
25
|
+
},
|
|
26
|
+
vertical: {
|
|
27
|
+
s: 24,
|
|
28
|
+
m: 24,
|
|
29
|
+
l: 24
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
function g(s, p, i) {
|
|
34
|
+
const l = s.map((e, t) => ({ group: e, index: t })).sort(
|
|
35
|
+
(e, t) => (t.group.priority ?? n.Default) - (e.group.priority ?? n.Default) || e.index - t.index
|
|
36
|
+
).map(({ group: e }) => ({ group: e, lengthOptions: e.measure(p).values() })), o = /* @__PURE__ */ new Map();
|
|
37
|
+
let r = 0;
|
|
38
|
+
for (const e of l) {
|
|
39
|
+
const t = e.lengthOptions.next().value ?? 0;
|
|
40
|
+
o.set(e.group, t), r += t;
|
|
41
|
+
}
|
|
42
|
+
for (const e of l)
|
|
43
|
+
for (; r < i; ) {
|
|
44
|
+
const t = o.get(e.group);
|
|
45
|
+
if (!t || e.group.priority === n.ForceCollapse)
|
|
46
|
+
break;
|
|
47
|
+
const a = e.lengthOptions.next();
|
|
48
|
+
if (a.value === void 0)
|
|
49
|
+
break;
|
|
50
|
+
const u = r - t + a.value;
|
|
51
|
+
if (u > i || (o.set(e.group, a.value), r = u, a.done))
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
return s.map((e) => ({ group: e, budget: o.get(e) ?? 0 }));
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
d as W,
|
|
58
|
+
g as a
|
|
59
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { W as i } from "./utils.js";
|
|
3
|
+
function s({ scale: t }) {
|
|
4
|
+
return i.action[t] + i.actionPadding[t];
|
|
5
|
+
}
|
|
6
|
+
function a({
|
|
7
|
+
layout: t,
|
|
8
|
+
relativePosition: n
|
|
9
|
+
}) {
|
|
10
|
+
return t === "horizontal" ? n.startsWith("top") ? "bottom" : "top" : n.endsWith("left") ? "right" : "left";
|
|
11
|
+
}
|
|
12
|
+
function u(t) {
|
|
13
|
+
const n = [...t].sort((e, o) => e - o);
|
|
14
|
+
return n.filter((e, o) => o === 0 || e !== n[o - 1]);
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
s as a,
|
|
18
|
+
a as g,
|
|
19
|
+
u
|
|
20
|
+
};
|
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { EditorType, InputMentionField } from "./types.js";
|
|
4
4
|
|
|
5
|
+
declare module "@arcgis/lumina" {
|
|
6
|
+
export interface DeclareCssProperties {
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the initial height of the component.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
"--arcgis-ckeditor5-initial-height": "*";
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the maximum width of the component.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
"--arcgis-ckeditor5-max-width": "*";
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the maximum width of the mention popover.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
"--arcgis-ckeditor5-mentions-max-width": "*";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
5
28
|
/** @internal */
|
|
6
29
|
export abstract class ArcgisCkeditor5 extends LitElement {
|
|
7
30
|
/**
|
|
@@ -33261,7 +33261,7 @@ $&
|
|
|
33261
33261
|
if (!this.props || !this.props.data || !this.props.data.length) return;
|
|
33262
33262
|
const n = new Bi(t);
|
|
33263
33263
|
n.set({ label: this.label, tooltip: !0, withText: !1, icon: `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\r
|
|
33264
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.6634 4.5L10.664 4.5L12 4.5H12.5V5V6V6.5H12H10.6643C8.91763 6.50202 7.50213 7.91745 7.5 9.66413C7.5 9.66427 7.5 9.66441 7.5 9.66455L7.5 13.25V13.2502C7.49945 14.5157 6.93651 15.7008 5.98792 16.5C6.93651 17.2992 7.49945 18.4843 7.5 19.7498V19.75L7.5 23.3355C7.5 23.3356 7.5 23.3357 7.5 23.3359C7.50213 25.0826 8.91774 26.4981 10.6645 26.5H12H12.5V27V28V28.5H12H10.664H10.6634C7.81323 28.4963 5.50366 26.1868 5.5 23.3366L5.5 23.336L5.5 19.7505C5.5 19.7505 5.5 19.7504 5.5 19.7503C5.49853 18.508 4.49177 17.5014 3.24946 17.5H3H2.5V17V16V15.5H3H3.24946C4.49177 15.4986 5.49853 14.492 5.5 13.2497C5.5 13.2496 5.5 13.2495 5.5 13.2495L5.5 9.664L5.5 9.66336C5.50366 6.81323 7.81323 4.50366 10.6634 4.5ZM3.5 16.5097C4.60025 16.5943 5.54717 17.2263 6.06899 18.1337C5.78745 17.6429 5.37799 17.2255 4.87053 16.9333L4.11786 16.5L4.87053 16.0667C5.37799 15.7745 5.78745 15.3571 6.06899 14.8663C5.54717 15.7737 4.60025 16.4057 3.5 16.4903V16.5097ZM6.5 19.7495C6.5 19.7493 6.5 19.7492 6.5 19.749ZM20.5 4.5H21H22.336H22.3366C25.1868 4.50366 27.4963 6.81323 27.5 9.66336L27.5 9.664L27.5 13.2495C27.5 13.2496 27.5 13.2497 27.5 13.2499C27.5016 14.4921 28.5083 15.4986 29.7505 15.5H30H30.5V16V17V17.5H30H29.7505C28.5083 17.5014 27.5016 18.5079 27.5 19.7501C27.5 19.7503 27.5 19.7504 27.5 19.7505L27.5 23.336L27.5 23.3366C27.4963 26.1868 25.1868 28.4963 22.3366 28.5H22.336H21H20.5V28V27V26.5H21H22.3355C24.0823 26.4981 25.4979 25.0826 25.5 23.3359C25.5 23.3357 25.5 23.3356 25.5 23.3355L25.5 19.75V19.7498C25.5006 18.4843 26.0635 17.2992 27.0121 16.5C26.0635 15.7008 25.5006 14.5157 25.5 13.2502V13.25L25.5 9.66455C25.5 9.66441 25.5 9.66427 25.5 9.66413C25.4979 7.91745 24.0824 6.50202 22.3357 6.5H21H20.5V6V5V4.5ZM29.5 16.4903V16.5097C28.3997 16.5943 27.4528 17.2263 26.931 18.1337C27.2126 17.6429 27.622 17.2255 28.1295 16.9333L28.8821 16.5L28.1295 16.0667C27.622 15.7745 27.2126 15.3571 26.931 14.8663C27.4528 15.7737 28.3997 16.4057 29.5 16.4903ZM26.5 13.2505C26.5001 13.3138 26.5019 13.3767 26.5056 13.4391C26.5019 13.3765 26.5 13.3137 26.5 13.2505ZM26.5 19.7495C26.5 19.6863 26.5019 19.6235 26.5056 19.5609C26.5019 19.6233 26.5001 19.6862 26.5 19.7495Z" fill="black"/>\r
|
|
33264
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.6634 4.5L10.664 4.5L12 4.5H12.5V5V6V6.5H12H10.6643C8.91763 6.50202 7.50213 7.91745 7.5 9.66413C7.5 9.66427 7.5 9.66441 7.5 9.66455L7.5 13.25V13.2502C7.49945 14.5157 6.93651 15.7008 5.98792 16.5C6.93651 17.2992 7.49945 18.4843 7.5 19.7498V19.75L7.5 23.3355C7.5 23.3356 7.5 23.3357 7.5 23.3359C7.50213 25.0826 8.91774 26.4981 10.6645 26.5H12H12.5V27V28V28.5H12H10.664H10.6634C7.81323 28.4963 5.50366 26.1868 5.5 23.3366L5.5 23.336L5.5 19.7505C5.5 19.7505 5.5 19.7504 5.5 19.7503C5.49853 18.508 4.49177 17.5014 3.24946 17.5H3H2.5V17V16V15.5H3H3.24946C4.49177 15.4986 5.49853 14.492 5.5 13.2497C5.5 13.2496 5.5 13.2495 5.5 13.2495L5.5 9.664L5.5 9.66336C5.50366 6.81323 7.81323 4.50366 10.6634 4.5ZM3.5 16.5097C4.60025 16.5943 5.54717 17.2263 6.06899 18.1337C5.78745 17.6429 5.37799 17.2255 4.87053 16.9333L4.11786 16.5L4.87053 16.0667C5.37799 15.7745 5.78745 15.3571 6.06899 14.8663C5.54717 15.7737 4.60025 16.4057 3.5 16.4903V16.5097ZM6.5 19.7495C6.5 19.7493 6.5 19.7492 6.5 19.749ZM20.5 4.5H21H22.336H22.3366C25.1868 4.50366 27.4963 6.81323 27.5 9.66336L27.5 9.664L27.5 13.2495C27.5 13.2496 27.5 13.2497 27.5 13.2499C27.5016 14.4921 28.5083 15.4986 29.7505 15.5H30H30.5V16V17V17.5H30H29.7505C28.5083 17.5014 27.5016 18.5079 27.5 19.7501C27.5 19.7503 27.5 19.7504 27.5 19.7505L27.5 23.336L27.5 23.3366C27.4963 26.1868 25.1868 28.4963 22.3366 28.5H22.336H21H20.5V28V27V26.5H21H22.3355C24.0823 26.4981 25.4979 25.0826 25.5 23.3359C25.5 23.3357 25.5 23.3356 25.5 23.3355L25.5 19.75V19.7498C25.5006 18.4843 26.0635 17.2992 27.0121 16.5C26.0635 15.7008 25.5006 14.5157 25.5 13.2502V13.25L25.5 9.66455C25.5 9.66441 25.5 9.66427 25.5 9.66413C25.4979 7.91745 24.0824 6.50202 22.3357 6.5H21H20.5V6V5V4.5ZM29.5 16.4903V16.5097C28.3997 16.5943 27.4528 17.2263 26.931 18.1337C27.2126 17.6429 27.622 17.2255 28.1295 16.9333L28.8821 16.5L28.1295 16.0667C27.622 15.7745 27.2126 15.3571 26.931 14.8663C27.4528 15.7737 28.3997 16.4057 29.5 16.4903ZM26.5 13.2505C26.5001 13.3138 26.5019 13.3767 26.5056 13.4391C26.5019 13.3765 26.5 13.3137 26.5 13.2505ZM26.5 19.7495C26.5 19.6863 26.5019 19.6235 26.5056 19.5609C26.5019 19.6233 26.5001 19.6862 26.5 19.7495Z" fill="black" style="fill: currentColor;"/>\r
|
|
33265
33265
|
</svg>\r
|
|
33266
33266
|
`, class: "FieldExpressionButton" }), setTimeout((() => {
|
|
33267
33267
|
n.element.style.marginRight = 0, n.element.children[2].style.width = "20px", n.element.children[2].style.height = "10px";
|
|
@@ -35672,7 +35672,7 @@ Please report this to https://github.com/markedjs/marked.`, e.silent) return "<p
|
|
|
35672
35672
|
})(ar, ar.exports)), ar.exports;
|
|
35673
35673
|
}
|
|
35674
35674
|
var xB = yB();
|
|
35675
|
-
const la = /* @__PURE__ */ vB(xB), EB = bB`@layer{.arcgis-app-ckeditor{max-width:var(--arcgis-ckeditor5-max-width);font-family:var(--calcite-font-family);background:var(--calcite-color-
|
|
35675
|
+
const la = /* @__PURE__ */ vB(xB), EB = bB`@layer{.arcgis-app-ckeditor{max-width:var(--arcgis-ckeditor5-max-width, 35vw);font-family:var(--calcite-font-family);background:var(--calcite-color-surface-2);border-radius:3px;--ck-color-text: var(--calcite-color-text-1);--ck-color-button-on-color: var(--calcite-color-text-1);--ck-color-base-background: var(--calcite-color-surface-2);--ck-color-panel-background: var(--calcite-color-surface-2);--ck-color-dropdown-panel-background: var(--calcite-color-surface-2);--ck-color-tooltip-background: var(--calcite-color-surface-2);--ck-color-dialog-background: var(--calcite-color-surface-2);--ck-color-list-background: var(--calcite-color-surface-2);--ck-color-toolbar-background: var(--calcite-color-surface-2);--ck-color-highlight-background: var(--calcite-color-surface-3);--ck-color-button-default-active-background: var(--calcite-color-surface-3);--ck-color-button-default-hover-background: var(--calcite-color-surface-3);--ck-color-button-on-background: var(--calcite-color-surface-3);--ck-color-button-on-hover-background: var(--calcite-color-surface-3);--ck-color-button-on-active-background: var(--calcite-color-surface-3);--ck-color-button-action-background: var(--calcite-color-surface-3);textarea{background-color:var(--calcite-color-surface-2)}.ck-source-editing-area,.ck-editor__editable_inline{height:var(--arcgis-ckeditor5-initial-height, 30vh)}&.readOnly{.ck.ck-content.ck-editor__editable{border-radius:0}}&.resizable{.ck.ck-content.ck-editor__editable,.ck-source-editing-area textarea{resize:vertical}}&.generic-code-blocks{.ck.ck-editor__editable pre[data-language]:after,.ck-code-block-dropdown .ck-splitbutton__arrow{display:none}}.ck.ck-toolbar{background-color:#f3f3f3;border-color:var(--calcite-color-border-1)}.ck-editor__editable_inline{overflow-y:scroll;box-sizing:border-box}.ck-content{font-size:var(--calcite-font-size-0);h2{font-size:var(--calcite-font-size-3)}h3{font-size:var(--calcite-font-size-2)}h4{font-size:var(--calcite-font-size-1)}span.mention{background-color:inherit!important;color:inherit!important}ul,ol{padding-inline-start:2rem}}.ck-editor .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--calcite-color-border-1)}.ck-source-editing-area{overflow:hidden;textarea{overflow:unset!important}}.ck-editor .ck-source-editing-button{.ck-button__label{display:none!important}}}.ck-body .ck.ck-balloon-panel{box-shadow:val(--calcite-shadow-1);border:1px solid var(--calcite-color-border-1);border-radius:3px;.ck.ck-reset.ck-list.ck-mentions{max-width:var(--arcgis-ckeditor5-mentions-max-width, 33vw)}.arcgis-app-ckeditor-mention-header{font-weight:500;line-height:1.25rem;padding-left:var(--calcite-space-lg);padding-top:var(--calcite-space-sm);padding-bottom:var(--calcite-space-sm);padding-right:var(--calcite-space-lg);width:100%;display:block;background-color:var(--calcite-color-surface-1);font-family:var(--calcite-font-family)}}.ck.ck-balloon-panel.ck-tooltip{min-width:auto}.ck.ck-list__item .arcgis-app-ckeditor-mention-item-container.ck-button{--ck-list-button-padding: 0px;padding:0;position:relative!important;border-bottom:1px solid var(--calcite-color-surface-4)!important;.arcgis-app-ckeditor-mention-item{cursor:pointer!important;display:flex!important;background-color:var(--calcite-color-surface-2)!important;flex-flow:column!important;padding:var(--calcite-space-sm) var(--calcite-space-md)!important;transition:background-color calc(.25s / 3) ease-in-out!important;&:hover,&:focus{background-color:var(--calcite-color-surface-4)!important}.heading{overflow:hidden!important;pointer-events:none!important;text-overflow:ellipsis!important;color:var(--calcite-color-neutral-blk-180)!important;font-family:var(--calcite-font-family)!important}.summary{overflow:hidden!important;pointer-events:none!important;text-overflow:ellipsis!important;color:var(--calcite-color-neutral-blk-180)!important;font-size:var(--calcite-font-size-sm)!important;font-family:var(--calcite-code-family)!important}}&.ck-on .arcgis-app-ckeditor-mention-item{background-color:var(--calcite-color-surface-4)!important;border-color:#00619b!important;z-index:1!important}}arcgis-ckeditor5-popover{.arcgis-app-ckeditor{box-shadow:0 0 #0000;padding:var(--calcite-space-lg) var(--calcite-space-lg) 0 var(--calcite-space-lg)}}}`;
|
|
35676
35676
|
class DB extends mB {
|
|
35677
35677
|
constructor() {
|
|
35678
35678
|
super(), this.textAreaElement = fB(), this.actualLanguage = "en", this.sanitizer = new AB({
|
|
@@ -6,7 +6,7 @@ import { createRef as s, ref as r } from "lit/directives/ref.js";
|
|
|
6
6
|
import { Task as p } from "@lit/task";
|
|
7
7
|
import { unsafeGetElementDirection as h } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { generateGuid as g } from "@arcgis/toolkit/string";
|
|
9
|
-
import { i as u } from "../../chunks/
|
|
9
|
+
import { i as u } from "../../chunks/general.js";
|
|
10
10
|
import { C as i } from "../../chunks/resources.js";
|
|
11
11
|
const m = l`.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)}`;
|
|
12
12
|
class f extends d {
|
|
@@ -58,8 +58,9 @@ export abstract class ArcgisColorInput extends LitElement {
|
|
|
58
58
|
selectColor?: string | undefined;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
|
+
* @deprecated
|
|
62
|
+
* use popoverProps.placement instead.
|
|
61
63
|
* Determines where the popup color picker will be positioned relative to the color input.
|
|
62
|
-
*
|
|
63
64
|
* @default "auto"
|
|
64
65
|
*/
|
|
65
66
|
accessor placement: Popover["placement"];
|
|
@@ -88,7 +88,7 @@ class I extends u {
|
|
|
88
88
|
this.activeColorSwatchEl === this.recentColor1El ? t = 1 : this.activeColorSwatchEl === this.recentColor2El ? t = 2 : this.activeColorSwatchEl === this.recentColor3El && (t = 3), o === "ArrowLeft" && (!t || t === 1 ? this.getRecentColorElement(this.recentColors.length)?.focus() : this.getRecentColorElement(t - 1)?.focus()), o === "ArrowRight" && (!t || t === this.recentColors.length ? this.recentColor1El?.focus() : this.getRecentColorElement(t + 1)?.focus());
|
|
89
89
|
}
|
|
90
90
|
handleUpdateActiveSwatch(e) {
|
|
91
|
-
this.activeColorSwatchEl = e.
|
|
91
|
+
this.activeColorSwatchEl = e.currentTarget;
|
|
92
92
|
}
|
|
93
93
|
handleStoreNewRecentColor(e) {
|
|
94
94
|
this.storeRecentColorToStorage(e.detail);
|
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
4
4
|
|
|
5
|
+
declare module "@arcgis/lumina" {
|
|
6
|
+
export interface DeclareCssProperties {
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the height of the component.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
"--arcgis-coordinate-system-picker-height": "*";
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the minimum width of the component.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
"--arcgis-coordinate-system-picker-min-width": "*";
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the maximum width of the component.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
"--arcgis-coordinate-system-picker-max-width": "*";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
5
28
|
/** @internal */
|
|
6
29
|
export abstract class ArcgisCoordinateSystemPicker extends LitElement {
|
|
7
30
|
/**
|
|
@@ -7679,7 +7679,7 @@ class F extends l {
|
|
|
7679
7679
|
this.searchResults = this.filterSpatialReferences(e);
|
|
7680
7680
|
}
|
|
7681
7681
|
searchSpatialReferences(e) {
|
|
7682
|
-
|
|
7682
|
+
this.setSearchText(e.currentTarget.value ?? "");
|
|
7683
7683
|
}
|
|
7684
7684
|
setSearchText(e) {
|
|
7685
7685
|
this.searchText = e, this.searchText.length > 1 ? this.performantFilterSpatialReferences(this.searchText) : this.searchResults = void 0;
|
|
@@ -200,7 +200,7 @@ export abstract class ArcgisFieldInfo extends LitElement {
|
|
|
200
200
|
refresh(): Promise<void>;
|
|
201
201
|
/** Emitted once all information is displayed. */
|
|
202
202
|
readonly arcgisComplete: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
203
|
-
/** @deprecated use arcgisComplete instead. */
|
|
203
|
+
/** @deprecated use arcgisComplete instead. Removal target v6.0.0. */
|
|
204
204
|
readonly arcgisFieldInfoComplete: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
205
205
|
readonly "@eventTypes": {
|
|
206
206
|
arcgisComplete: ArcgisFieldInfo["arcgisComplete"]["detail"];
|