@arcgis/common-components 5.2.0-next.1 → 5.2.0-next.100

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.
Files changed (245) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/27EUJ42B.js +2 -0
  4. package/dist/cdn/{232BH3SJ.js → 2PEF5AVV.js} +1 -1
  5. package/dist/cdn/3NPK3XHQ.js +2 -0
  6. package/dist/cdn/3RMCUQWC.js +2 -0
  7. package/dist/cdn/4TZVXSQZ.js +2 -0
  8. package/dist/cdn/56FZY46A.js +2 -0
  9. package/dist/cdn/5PTU24YF.js +2 -0
  10. package/dist/cdn/6PGCMA3Z.js +2 -0
  11. package/dist/cdn/77PLMLQX.js +2 -0
  12. package/dist/cdn/7HJ55YSN.js +2 -0
  13. package/dist/cdn/{YVCGEEMG.js → 7RMMYGBW.js} +1 -1
  14. package/dist/cdn/AD4MYZ4B.js +2 -0
  15. package/dist/cdn/AFHSFRPM.js +2 -0
  16. package/dist/cdn/B57H5R7I.js +2 -0
  17. package/dist/cdn/BEODRJOB.js +2 -0
  18. package/dist/cdn/{WJ3TYWP2.js → BGE7ETFU.js} +1 -1
  19. package/dist/cdn/BJHMVEBH.js +2 -0
  20. package/dist/cdn/{FZSF24HT.js → DGU6DCZP.js} +4 -4
  21. package/dist/cdn/DJELJSO3.js +2 -0
  22. package/dist/cdn/E6NBHGTX.js +2 -0
  23. package/dist/cdn/EWNQZP7X.js +2 -0
  24. package/dist/cdn/FEREAY2X.js +2 -0
  25. package/dist/cdn/HL3WXOVS.js +2 -0
  26. package/dist/cdn/KCTVPWKZ.js +2 -0
  27. package/dist/cdn/KMEK46VM.js +4 -0
  28. package/dist/cdn/L5FYKALB.js +2 -0
  29. package/dist/cdn/LSIDKRJW.js +2 -0
  30. package/dist/cdn/MI3POVS3.js +2 -0
  31. package/dist/cdn/NH4LEYDW.js +2 -0
  32. package/dist/cdn/ODCJ6CWI.js +2 -0
  33. package/dist/cdn/PMV2N3L3.js +2 -0
  34. package/dist/cdn/QSAZAXZ3.js +2 -0
  35. package/dist/cdn/RP5JQ3O2.js +2 -0
  36. package/dist/cdn/TWW63D32.js +2 -0
  37. package/dist/cdn/{MINFRX4Y.js → TXXMMPA6.js} +1 -1
  38. package/dist/cdn/VCZLD7ZT.js +2 -0
  39. package/dist/cdn/{YG4PY2H3.js → VENSWYOD.js} +1 -1
  40. package/dist/cdn/VILUEVNS.js +2 -0
  41. package/dist/cdn/VOBBBIYC.js +2 -0
  42. package/dist/cdn/X3GTWZD5.js +2 -0
  43. package/dist/cdn/Y42WUDYP.js +2 -0
  44. package/dist/cdn/Z5QBBHLD.js +2 -0
  45. package/dist/cdn/ZLUCRCS4.js +2 -0
  46. package/dist/cdn/assets/slider-field/t9n/messages.en.json +1 -0
  47. package/dist/cdn/assets/slider-histogram-range/t9n/messages.en.json +1 -0
  48. package/dist/cdn/assets/value-picker/t9n/messages.ar.json +1 -0
  49. package/dist/cdn/assets/value-picker/t9n/messages.bg.json +1 -0
  50. package/dist/cdn/assets/value-picker/t9n/messages.bs.json +1 -0
  51. package/dist/cdn/assets/value-picker/t9n/messages.ca.json +1 -0
  52. package/dist/cdn/assets/value-picker/t9n/messages.cs.json +1 -0
  53. package/dist/cdn/assets/value-picker/t9n/messages.da.json +1 -0
  54. package/dist/cdn/assets/value-picker/t9n/messages.de.json +1 -0
  55. package/dist/cdn/assets/value-picker/t9n/messages.el.json +1 -0
  56. package/dist/cdn/assets/value-picker/t9n/messages.en.json +1 -0
  57. package/dist/cdn/assets/value-picker/t9n/messages.es.json +1 -0
  58. package/dist/cdn/assets/value-picker/t9n/messages.et.json +1 -0
  59. package/dist/cdn/assets/value-picker/t9n/messages.fi.json +1 -0
  60. package/dist/cdn/assets/value-picker/t9n/messages.fr.json +1 -0
  61. package/dist/cdn/assets/value-picker/t9n/messages.he.json +1 -0
  62. package/dist/cdn/assets/value-picker/t9n/messages.hr.json +1 -0
  63. package/dist/cdn/assets/value-picker/t9n/messages.hu.json +1 -0
  64. package/dist/cdn/assets/value-picker/t9n/messages.id.json +1 -0
  65. package/dist/cdn/assets/value-picker/t9n/messages.it.json +1 -0
  66. package/dist/cdn/assets/value-picker/t9n/messages.ja.json +1 -0
  67. package/dist/cdn/assets/value-picker/t9n/messages.ko.json +1 -0
  68. package/dist/cdn/assets/value-picker/t9n/messages.lt.json +1 -0
  69. package/dist/cdn/assets/value-picker/t9n/messages.lv.json +1 -0
  70. package/dist/cdn/assets/value-picker/t9n/messages.nl.json +1 -0
  71. package/dist/cdn/assets/value-picker/t9n/messages.no.json +1 -0
  72. package/dist/cdn/assets/value-picker/t9n/messages.pl.json +1 -0
  73. package/dist/cdn/assets/value-picker/t9n/messages.pt-BR.json +1 -0
  74. package/dist/cdn/assets/value-picker/t9n/messages.pt-PT.json +1 -0
  75. package/dist/cdn/assets/value-picker/t9n/messages.ro.json +1 -0
  76. package/dist/cdn/assets/value-picker/t9n/messages.ru.json +1 -0
  77. package/dist/cdn/assets/value-picker/t9n/messages.sk.json +1 -0
  78. package/dist/cdn/assets/value-picker/t9n/messages.sl.json +1 -0
  79. package/dist/cdn/assets/value-picker/t9n/messages.sr.json +1 -0
  80. package/dist/cdn/assets/value-picker/t9n/messages.sv.json +1 -0
  81. package/dist/cdn/assets/value-picker/t9n/messages.th.json +1 -0
  82. package/dist/cdn/assets/value-picker/t9n/messages.tr.json +1 -0
  83. package/dist/cdn/assets/value-picker/t9n/messages.uk.json +1 -0
  84. package/dist/cdn/assets/value-picker/t9n/messages.vi.json +1 -0
  85. package/dist/cdn/assets/value-picker/t9n/messages.zh-CN.json +1 -0
  86. package/dist/cdn/assets/value-picker/t9n/messages.zh-HK.json +1 -0
  87. package/dist/cdn/assets/value-picker/t9n/messages.zh-TW.json +1 -0
  88. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ar.json +1 -0
  89. package/dist/cdn/assets/value-picker-combobox/t9n/messages.bg.json +1 -0
  90. package/dist/cdn/assets/value-picker-combobox/t9n/messages.bs.json +1 -0
  91. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ca.json +1 -0
  92. package/dist/cdn/assets/value-picker-combobox/t9n/messages.cs.json +1 -0
  93. package/dist/cdn/assets/value-picker-combobox/t9n/messages.da.json +1 -0
  94. package/dist/cdn/assets/value-picker-combobox/t9n/messages.de.json +1 -0
  95. package/dist/cdn/assets/value-picker-combobox/t9n/messages.el.json +1 -0
  96. package/dist/cdn/assets/value-picker-combobox/t9n/messages.en.json +1 -0
  97. package/dist/cdn/assets/value-picker-combobox/t9n/messages.es.json +1 -0
  98. package/dist/cdn/assets/value-picker-combobox/t9n/messages.et.json +1 -0
  99. package/dist/cdn/assets/value-picker-combobox/t9n/messages.fi.json +1 -0
  100. package/dist/cdn/assets/value-picker-combobox/t9n/messages.fr.json +1 -0
  101. package/dist/cdn/assets/value-picker-combobox/t9n/messages.he.json +1 -0
  102. package/dist/cdn/assets/value-picker-combobox/t9n/messages.hr.json +1 -0
  103. package/dist/cdn/assets/value-picker-combobox/t9n/messages.hu.json +1 -0
  104. package/dist/cdn/assets/value-picker-combobox/t9n/messages.id.json +1 -0
  105. package/dist/cdn/assets/value-picker-combobox/t9n/messages.it.json +1 -0
  106. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ja.json +1 -0
  107. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ko.json +1 -0
  108. package/dist/cdn/assets/value-picker-combobox/t9n/messages.lt.json +1 -0
  109. package/dist/cdn/assets/value-picker-combobox/t9n/messages.lv.json +1 -0
  110. package/dist/cdn/assets/value-picker-combobox/t9n/messages.nl.json +1 -0
  111. package/dist/cdn/assets/value-picker-combobox/t9n/messages.no.json +1 -0
  112. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pl.json +1 -0
  113. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-BR.json +1 -0
  114. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-PT.json +1 -0
  115. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ro.json +1 -0
  116. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ru.json +1 -0
  117. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sk.json +1 -0
  118. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sl.json +1 -0
  119. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sr.json +1 -0
  120. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sv.json +1 -0
  121. package/dist/cdn/assets/value-picker-combobox/t9n/messages.th.json +1 -0
  122. package/dist/cdn/assets/value-picker-combobox/t9n/messages.tr.json +1 -0
  123. package/dist/cdn/assets/value-picker-combobox/t9n/messages.uk.json +1 -0
  124. package/dist/cdn/assets/value-picker-combobox/t9n/messages.vi.json +1 -0
  125. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-CN.json +1 -0
  126. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-HK.json +1 -0
  127. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-TW.json +1 -0
  128. package/dist/cdn/index.js +1 -1
  129. package/dist/cdn/main.css +1 -1
  130. package/dist/chunks/element-reference-controller.js +17 -0
  131. package/dist/chunks/layer-utils.js +52 -40
  132. package/dist/chunks/locale.js +14 -6
  133. package/dist/chunks/strategies.js +287 -0
  134. package/dist/chunks/utils.js +69 -0
  135. package/dist/chunks/utils2.js +20 -0
  136. package/dist/chunks/utils3.js +7 -0
  137. package/dist/components/arcgis-ckeditor5/customElement.d.ts +23 -0
  138. package/dist/components/arcgis-ckeditor5/customElement.js +3 -3
  139. package/dist/components/arcgis-ckeditor5-popover/customElement.js +1 -1
  140. package/dist/components/arcgis-color-input/customElement.d.ts +2 -1
  141. package/dist/components/arcgis-color-input/customElement.js +6 -6
  142. package/dist/components/arcgis-coordinate-system-picker/customElement.d.ts +23 -0
  143. package/dist/components/arcgis-coordinate-system-picker/customElement.js +1 -1
  144. package/dist/components/arcgis-field-info/customElement.js +251 -221
  145. package/dist/components/arcgis-field-info/index.js +1 -0
  146. package/dist/components/arcgis-field-info/utils/basic.d.ts +3 -1
  147. package/dist/components/arcgis-field-pick-list/customElement.js +57 -65
  148. package/dist/components/arcgis-field-pick-list/utils/types.d.ts +3 -1
  149. package/dist/components/arcgis-histogram/customElement.d.ts +39 -2
  150. package/dist/components/arcgis-histogram/customElement.js +105 -90
  151. package/dist/components/arcgis-picker-input/customElement.d.ts +6 -2
  152. package/dist/components/arcgis-picker-input/customElement.js +7 -7
  153. package/dist/components/arcgis-slider/customElement.d.ts +11 -3
  154. package/dist/components/arcgis-slider/customElement.js +376 -353
  155. package/dist/components/arcgis-slider-field/customElement.d.ts +298 -0
  156. package/dist/components/arcgis-slider-field/customElement.js +96 -0
  157. package/dist/components/arcgis-slider-field/index.d.ts +1 -0
  158. package/dist/components/arcgis-slider-field/index.js +2 -0
  159. package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +390 -0
  160. package/dist/components/arcgis-slider-histogram-range/customElement.js +120 -0
  161. package/dist/components/arcgis-slider-histogram-range/index.d.ts +1 -0
  162. package/dist/components/arcgis-slider-histogram-range/index.js +3 -0
  163. package/dist/components/arcgis-slider-histogram-range/types.d.ts +6 -0
  164. package/dist/components/arcgis-ticks/customElement.d.ts +11 -3
  165. package/dist/components/arcgis-ticks/customElement.js +100 -79
  166. package/dist/components/arcgis-toolbar/customElement.d.ts +47 -0
  167. package/dist/components/arcgis-toolbar/customElement.js +82 -0
  168. package/dist/components/arcgis-toolbar/index.d.ts +1 -0
  169. package/dist/components/arcgis-toolbar/index.js +2 -0
  170. package/dist/components/arcgis-toolbar/types.d.ts +10 -0
  171. package/dist/components/arcgis-toolbar-action/customElement.d.ts +97 -0
  172. package/dist/components/arcgis-toolbar-action/customElement.js +57 -0
  173. package/dist/components/arcgis-toolbar-action/index.d.ts +1 -0
  174. package/dist/components/arcgis-toolbar-action/index.js +3 -0
  175. package/dist/components/arcgis-toolbar-group/customElement.d.ts +38 -0
  176. package/dist/components/arcgis-toolbar-group/customElement.js +47 -0
  177. package/dist/components/arcgis-toolbar-group/index.d.ts +1 -0
  178. package/dist/components/arcgis-toolbar-group/index.js +2 -0
  179. package/dist/components/arcgis-toolbar-item/customElement.d.ts +83 -0
  180. package/dist/components/arcgis-toolbar-item/customElement.js +42 -0
  181. package/dist/components/arcgis-toolbar-item/index.d.ts +1 -0
  182. package/dist/components/arcgis-toolbar-item/index.js +4 -0
  183. package/dist/components/arcgis-toolbar-more-button/customElement.d.ts +52 -0
  184. package/dist/components/arcgis-toolbar-more-button/customElement.js +68 -0
  185. package/dist/components/arcgis-toolbar-more-button/index.d.ts +1 -0
  186. package/dist/components/arcgis-toolbar-more-button/index.js +6 -0
  187. package/dist/components/arcgis-toolbar-split-button/customElement.d.ts +51 -0
  188. package/dist/components/arcgis-toolbar-split-button/customElement.js +66 -0
  189. package/dist/components/arcgis-toolbar-split-button/index.d.ts +1 -0
  190. package/dist/components/arcgis-toolbar-split-button/index.js +6 -0
  191. package/dist/components/arcgis-unique-values-list/customElement.js +115 -95
  192. package/dist/components/arcgis-value-picker/customElement.d.ts +377 -0
  193. package/dist/components/arcgis-value-picker/customElement.js +87 -0
  194. package/dist/components/arcgis-value-picker/index.d.ts +1 -0
  195. package/dist/components/arcgis-value-picker/index.js +3 -0
  196. package/dist/components/arcgis-value-picker/types.d.ts +69 -0
  197. package/dist/components/arcgis-value-picker-collection/customElement.d.ts +113 -0
  198. package/dist/components/arcgis-value-picker-collection/customElement.js +43 -0
  199. package/dist/components/arcgis-value-picker-collection/index.d.ts +1 -0
  200. package/dist/components/arcgis-value-picker-collection/index.js +1 -0
  201. package/dist/components/arcgis-value-picker-combobox/customElement.d.ts +90 -0
  202. package/dist/components/arcgis-value-picker-combobox/customElement.js +55 -0
  203. package/dist/components/arcgis-value-picker-combobox/index.d.ts +1 -0
  204. package/dist/components/arcgis-value-picker-combobox/index.js +3 -0
  205. package/dist/components/arcgis-value-picker-label/customElement.d.ts +81 -0
  206. package/dist/components/arcgis-value-picker-label/customElement.js +51 -0
  207. package/dist/components/arcgis-value-picker-label/index.d.ts +1 -0
  208. package/dist/components/arcgis-value-picker-label/index.js +1 -0
  209. package/dist/components/arcgis-value-picker-slider/customElement.d.ts +173 -0
  210. package/dist/components/arcgis-value-picker-slider/customElement.js +60 -0
  211. package/dist/components/arcgis-value-picker-slider/index.d.ts +1 -0
  212. package/dist/components/arcgis-value-picker-slider/index.js +3 -0
  213. package/dist/docs/api.json +1 -1
  214. package/dist/docs/docs.json +1 -1
  215. package/dist/docs/vscode.css-custom-data.json +1 -1
  216. package/dist/docs/vscode.html-custom-data.json +1 -1
  217. package/dist/docs/web-types.json +1 -1
  218. package/dist/index.d.ts +106 -0
  219. package/dist/loader.js +19 -6
  220. package/dist/types/lumina.d.ts +89 -2
  221. package/dist/types/preact.d.ts +102 -2
  222. package/dist/types/react.d.ts +115 -2
  223. package/dist/types/stencil.d.ts +91 -4
  224. package/package.json +6 -6
  225. package/dist/cdn/2MN6S2HH.js +0 -2
  226. package/dist/cdn/4BJYJUMR.js +0 -2
  227. package/dist/cdn/5I5ODGDD.js +0 -2
  228. package/dist/cdn/AGGCAE6P.js +0 -2
  229. package/dist/cdn/BDF4ZLUF.js +0 -2
  230. package/dist/cdn/F45Q3BRT.js +0 -2
  231. package/dist/cdn/GEWXC2ZR.js +0 -2
  232. package/dist/cdn/HWEOBUAY.js +0 -2
  233. package/dist/cdn/IRIB5DXG.js +0 -2
  234. package/dist/cdn/KPJCYYYQ.js +0 -2
  235. package/dist/cdn/NKMDS2IH.js +0 -2
  236. package/dist/cdn/OOBX2C2L.js +0 -4
  237. package/dist/cdn/ORSF6IOL.js +0 -2
  238. package/dist/cdn/QEW7H22O.js +0 -2
  239. package/dist/cdn/UMIMGOKS.js +0 -2
  240. package/dist/cdn/VUQJROFR.js +0 -2
  241. package/dist/cdn/YSXFXVP6.js +0 -2
  242. package/dist/cdn/YVWFGK4M.js +0 -2
  243. package/dist/cdn/assets/coordinate-system-picker/t9n/messages.en-US.json +0 -1
  244. /package/dist/cdn/{ECNI2A4K.js → XEK22IDA.js} +0 -0
  245. /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,69 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ const s = {
3
+ ForceCollapse: 0,
4
+ Default: 1,
5
+ Medium: 100,
6
+ NeverCollapse: 1e3
7
+ };
8
+ function c(t) {
9
+ return !!(t && typeof t == "object" && "measure" in t && "proxiedRender" in t && "componentOnReady" in t);
10
+ }
11
+ const d = {
12
+ groupSeparator: 1,
13
+ groupPadding: {
14
+ s: 4,
15
+ m: 8,
16
+ l: 10
17
+ },
18
+ actionPadding: {
19
+ s: 4,
20
+ m: 8,
21
+ l: 10
22
+ },
23
+ action: {
24
+ s: 24,
25
+ m: 32,
26
+ l: 44
27
+ },
28
+ splitButtonPart: {
29
+ horizontal: {
30
+ s: 24,
31
+ m: 24,
32
+ l: 24
33
+ },
34
+ vertical: {
35
+ s: 24,
36
+ m: 24,
37
+ l: 24
38
+ }
39
+ }
40
+ };
41
+ function f(t, p, i) {
42
+ const l = t.map((e, o) => ({ group: e, index: o })).sort(
43
+ (e, o) => (o.group.priority ?? s.Default) - (e.group.priority ?? s.Default) || e.index - o.index
44
+ ).map(({ group: e }) => ({ group: e, lengthOptions: e.measure(p).values() })), r = /* @__PURE__ */ new Map();
45
+ let a = 0;
46
+ for (const e of l) {
47
+ const o = e.lengthOptions.next().value ?? 0;
48
+ r.set(e.group, o), a += o;
49
+ }
50
+ for (const e of l)
51
+ for (; a < i; ) {
52
+ const o = r.get(e.group);
53
+ if (!o || e.group.priority === s.ForceCollapse)
54
+ break;
55
+ const n = e.lengthOptions.next();
56
+ if (n.value === void 0)
57
+ break;
58
+ const u = a - o + n.value;
59
+ if (u > i || (r.set(e.group, n.value), a = u, n.done))
60
+ break;
61
+ }
62
+ return t.map((e) => ({ group: e, budget: r.get(e) ?? 0 }));
63
+ }
64
+ export {
65
+ s as L,
66
+ d as W,
67
+ f as a,
68
+ c as i
69
+ };
@@ -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
+ };
@@ -0,0 +1,7 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ function a(t, e) {
3
+ return (e.lastActivated?.getTime() ?? 0) - (t.lastActivated?.getTime() ?? 0);
4
+ }
5
+ export {
6
+ a as b
7
+ };
@@ -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";
@@ -33371,7 +33371,7 @@ $&
33371
33371
  };
33372
33372
  execute(e, t, n, o) {
33373
33373
  this.editor.model.document.selection, this.addedPopver || (this.popover.referenceElement = o, this.popover.addEventListener("calcitePopoverClose", (() => {
33374
- o.classList.remove("ck-on"), o.classList.add("ck-off"), t(!1);
33374
+ o.classList.remove("ck-on"), o.classList.add("ck-off"), o.removeAttribute("data-cke-tooltip-disabled"), t(!1);
33375
33375
  })), document.body.appendChild(this.popover), this.addedPopver = !0), e || (this.setPickerView(n), this.setColorState(n), window.setTimeout((() => {
33376
33376
  this.popover.setFocus();
33377
33377
  }), 100)), t(!e);
@@ -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-foreground-1);border-radius:3px;.ck-source-editing-area,.ck-editor__editable_inline{height:var(--arcgis-ckeditor5-initial-height)}&.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)}.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-background);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-foreground-3)!important;.arcgis-app-ckeditor-mention-item{cursor:pointer!important;display:flex!important;background-color:var(--calcite-color-foreground-1)!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-foreground-3)!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-foreground-3)!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)}}}`;
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/commonFunctions.js";
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"];
@@ -1,8 +1,8 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as C } from "../../chunks/runtime.js";
3
3
  import { keyed as n } from "lit/directives/keyed.js";
4
- import { LitElement as m, createEvent as i } from "@arcgis/lumina";
5
- import { css as u, render as g, html as s, svg as f } from "lit";
4
+ import { LitElement as u, createEvent as i } from "@arcgis/lumina";
5
+ import { css as m, render as g, html as s, svg as f } from "lit";
6
6
  import { createRef as w, ref as a } from "lit/directives/ref.js";
7
7
  import { unsafeGetElementDirection as v } from "@arcgis/toolkit/dom";
8
8
  import { debounce as E } from "@arcgis/toolkit/function";
@@ -14,8 +14,8 @@ function y(l, e) {
14
14
  const o = window.localStorage.getItem(l);
15
15
  return o && e ? JSON.parse(o) : o;
16
16
  }
17
- const S = u`:host,arcgis-picker-input{display:block}.color-picker-container{display:flex;flex-direction:column}.color-picker{--calcite-color-border-1: transparent;overflow-x:hidden}.preview-swatch{width:100%;height:24px}.recent-colors-container{align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-input);display:flex;gap:var(--calcite-space-sm);height:32px;padding:0 var(--calcite-space-xs);transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.preview-recent-swatch{cursor:pointer}.recent-colors-container:focus,.preview-recent-swatch:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}.empty-swatch{cursor:default}.end-action{display:flex}`;
18
- class I extends m {
17
+ const S = m`:host,arcgis-picker-input{display:block}.color-picker-container{display:flex;flex-direction:column}.color-picker{--calcite-color-border-1: transparent;overflow-x:hidden}.preview-swatch{width:100%;height:24px}.recent-colors-container{align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-input);display:flex;gap:var(--calcite-space-sm);height:32px;padding:0 var(--calcite-space-xs);transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.preview-recent-swatch{cursor:pointer}.recent-colors-container:focus,.preview-recent-swatch:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}.empty-swatch{cursor:default}.end-action{display:flex}`;
18
+ class I extends u {
19
19
  constructor() {
20
20
  super(), this._messages = k(), this.actionEl = w(), this.open = !1, this.setRecentColorElement = (e) => (o) => {
21
21
  switch (e) {
@@ -37,7 +37,7 @@ class I extends m {
37
37
  this.styles = S;
38
38
  }
39
39
  async close() {
40
- await this.inlineInputEl?.close();
40
+ await this.inlineInputEl?.close({ focus: !1 });
41
41
  }
42
42
  async setFocus() {
43
43
  await this.inlineInputEl?.setFocus();
@@ -88,7 +88,7 @@ class I extends m {
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.target;
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
- e.target !== null && this.setSearchText(e.target.value ?? "");
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;