@arcgis/common-components 4.29.0-test.0 → 5.0.0-next.113
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 +17 -0
- package/README.md +13 -0
- package/dist/cdn/3IMC7WPT.js +4 -0
- package/dist/cdn/5YNVMDND.js +8210 -0
- package/dist/cdn/7HSGIYZ3.js +4 -0
- package/dist/cdn/A6KSEB4L.js +4 -0
- package/dist/cdn/ATTDNMPR.js +4 -0
- package/dist/cdn/BUBHWLN6.js +4 -0
- package/dist/cdn/DT5IKYJ7.js +4 -0
- package/dist/cdn/EUIIBBJB.js +4 -0
- package/dist/cdn/FCI2DINK.js +4 -0
- package/dist/cdn/HKDSSYVB.js +6 -0
- package/dist/cdn/K5FO4RN2.js +4 -0
- package/dist/cdn/KAU7KW7G.js +4 -0
- package/dist/cdn/KERFLAZ3.js +4 -0
- package/dist/cdn/KHLEMIHM.js +4 -0
- package/dist/cdn/LA42IFVD.js +4 -0
- package/dist/cdn/NSRCPYHV.js +4 -0
- package/dist/cdn/OWSGKCTS.js +4 -0
- package/dist/cdn/QTJ7N5AN.js +4 -0
- package/dist/cdn/R55YNF3U.js +4 -0
- package/dist/cdn/RHTIRANW.js +4 -0
- package/dist/cdn/UBSKN7TI.js +4 -0
- package/dist/cdn/UIW36VKA.js +4 -0
- package/dist/cdn/YCMZKETE.js +4 -0
- package/dist/cdn/assets/ckeditor5/translations/af.js +112 -0
- package/dist/cdn/assets/ckeditor5/translations/ar.js +321 -0
- package/dist/cdn/assets/ckeditor5/translations/ast.js +171 -0
- package/dist/cdn/assets/ckeditor5/translations/az.js +292 -0
- package/dist/cdn/assets/ckeditor5/translations/bg.js +319 -0
- package/dist/cdn/assets/ckeditor5/translations/bn.js +314 -0
- package/dist/cdn/assets/ckeditor5/translations/bs.js +163 -0
- package/dist/cdn/assets/ckeditor5/translations/ca.js +318 -0
- package/dist/cdn/assets/ckeditor5/translations/cs.js +314 -0
- package/dist/cdn/assets/ckeditor5/translations/da.js +314 -0
- package/dist/cdn/assets/ckeditor5/translations/de-ch.js +295 -0
- package/dist/cdn/assets/ckeditor5/translations/de.js +319 -0
- package/dist/cdn/assets/ckeditor5/translations/el.js +320 -0
- package/dist/cdn/assets/ckeditor5/translations/en-au.js +299 -0
- package/dist/cdn/assets/ckeditor5/translations/en-gb.js +279 -0
- package/dist/cdn/assets/ckeditor5/translations/eo.js +180 -0
- package/dist/cdn/assets/ckeditor5/translations/es-co.js +158 -0
- package/dist/cdn/assets/ckeditor5/translations/es.js +321 -0
- package/dist/cdn/assets/ckeditor5/translations/et.js +311 -0
- package/dist/cdn/assets/ckeditor5/translations/eu.js +181 -0
- package/dist/cdn/assets/ckeditor5/translations/fa.js +293 -0
- package/dist/cdn/assets/ckeditor5/translations/fi.js +316 -0
- package/dist/cdn/assets/ckeditor5/translations/fr.js +323 -0
- package/dist/cdn/assets/ckeditor5/translations/gl.js +300 -0
- package/dist/cdn/assets/ckeditor5/translations/gu.js +48 -0
- package/dist/cdn/assets/ckeditor5/translations/he.js +309 -0
- package/dist/cdn/assets/ckeditor5/translations/hi.js +315 -0
- package/dist/cdn/assets/ckeditor5/translations/hr.js +306 -0
- package/dist/cdn/assets/ckeditor5/translations/hu.js +318 -0
- package/dist/cdn/assets/ckeditor5/translations/hy.js +131 -0
- package/dist/cdn/assets/ckeditor5/translations/id.js +315 -0
- package/dist/cdn/assets/ckeditor5/translations/it.js +322 -0
- package/dist/cdn/assets/ckeditor5/translations/ja.js +319 -0
- package/dist/cdn/assets/ckeditor5/translations/jv.js +194 -0
- package/dist/cdn/assets/ckeditor5/translations/kk.js +14 -0
- package/dist/cdn/assets/ckeditor5/translations/km.js +187 -0
- package/dist/cdn/assets/ckeditor5/translations/kn.js +181 -0
- package/dist/cdn/assets/ckeditor5/translations/ko.js +309 -0
- package/dist/cdn/assets/ckeditor5/translations/ku.js +292 -0
- package/dist/cdn/assets/ckeditor5/translations/lt.js +325 -0
- package/dist/cdn/assets/ckeditor5/translations/lv.js +314 -0
- package/dist/cdn/assets/ckeditor5/translations/ms.js +314 -0
- package/dist/cdn/assets/ckeditor5/translations/nb.js +262 -0
- package/dist/cdn/assets/ckeditor5/translations/ne.js +279 -0
- package/dist/cdn/assets/ckeditor5/translations/nl.js +318 -0
- package/dist/cdn/assets/ckeditor5/translations/no.js +310 -0
- package/dist/cdn/assets/ckeditor5/translations/oc.js +47 -0
- package/dist/cdn/assets/ckeditor5/translations/pl.js +325 -0
- package/dist/cdn/assets/ckeditor5/translations/pt-br.js +317 -0
- package/dist/cdn/assets/ckeditor5/translations/pt.js +322 -0
- package/dist/cdn/assets/ckeditor5/translations/ro.js +321 -0
- package/dist/cdn/assets/ckeditor5/translations/ru.js +325 -0
- package/dist/cdn/assets/ckeditor5/translations/si.js +112 -0
- package/dist/cdn/assets/ckeditor5/translations/sk.js +316 -0
- package/dist/cdn/assets/ckeditor5/translations/sl.js +192 -0
- package/dist/cdn/assets/ckeditor5/translations/sq.js +292 -0
- package/dist/cdn/assets/ckeditor5/translations/sr-latn.js +299 -0
- package/dist/cdn/assets/ckeditor5/translations/sr.js +316 -0
- package/dist/cdn/assets/ckeditor5/translations/sv.js +315 -0
- package/dist/cdn/assets/ckeditor5/translations/th.js +311 -0
- package/dist/cdn/assets/ckeditor5/translations/tk.js +295 -0
- package/dist/cdn/assets/ckeditor5/translations/tr.js +318 -0
- package/dist/cdn/assets/ckeditor5/translations/tt.js +235 -0
- package/dist/cdn/assets/ckeditor5/translations/ug.js +279 -0
- package/dist/cdn/assets/ckeditor5/translations/uk.js +322 -0
- package/dist/cdn/assets/ckeditor5/translations/ur.js +297 -0
- package/dist/cdn/assets/ckeditor5/translations/uz.js +296 -0
- package/dist/cdn/assets/ckeditor5/translations/vi.js +316 -0
- package/dist/cdn/assets/ckeditor5/translations/zh-cn.js +308 -0
- package/dist/cdn/assets/ckeditor5/translations/zh.js +308 -0
- package/dist/cdn/assets/color-input/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/color-input/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/field-info/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/field-pick-list/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/histogram/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/slider/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/unique-values-list/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +4 -0
- package/dist/cdn/main.css +1 -0
- package/dist/chunks/commonEnums.js +7 -0
- package/dist/chunks/commonFunctions.js +19 -0
- package/dist/chunks/resources.js +15 -0
- package/dist/chunks/runtime.js +17 -0
- package/dist/chunks/useT9n.js +9 -0
- package/dist/components/arcgis-ckeditor5/customElement.d.ts +100 -0
- package/dist/components/arcgis-ckeditor5/customElement.js +36781 -0
- package/dist/components/arcgis-ckeditor5/index.d.ts +1 -0
- package/dist/components/arcgis-ckeditor5/index.js +1 -0
- package/dist/components/arcgis-ckeditor5/resources.d.ts +9 -0
- package/dist/components/arcgis-ckeditor5/types.d.ts +9 -0
- package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +40 -0
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +60 -0
- package/dist/components/arcgis-ckeditor5-popover/index.d.ts +3 -0
- package/dist/components/arcgis-ckeditor5-popover/index.js +3 -0
- package/dist/components/arcgis-color-input/customElement.d.ts +84 -0
- package/dist/components/arcgis-color-input/customElement.js +137 -0
- package/dist/components/arcgis-color-input/index.d.ts +6 -0
- package/dist/components/arcgis-color-input/index.js +6 -0
- package/dist/components/arcgis-field-info/customElement.d.ts +42 -0
- package/dist/components/arcgis-field-info/customElement.js +694 -0
- package/dist/components/arcgis-field-info/index.d.ts +1 -0
- package/dist/components/arcgis-field-info/index.js +1 -0
- package/dist/components/arcgis-field-info/utils/basic.d.ts +52 -0
- package/dist/components/arcgis-field-info/utils/feature.d.ts +21 -0
- package/dist/components/arcgis-field-info/utils/field.d.ts +30 -0
- package/dist/components/arcgis-field-info/utils/index.d.ts +3 -0
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +181 -0
- package/dist/components/arcgis-field-pick-list/customElement.js +267 -0
- package/dist/components/arcgis-field-pick-list/index.d.ts +14 -0
- package/dist/components/arcgis-field-pick-list/index.js +14 -0
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +8 -0
- package/dist/components/arcgis-histogram/css.d.ts +8 -0
- package/dist/components/arcgis-histogram/customElement.d.ts +239 -0
- package/dist/components/arcgis-histogram/customElement.js +198 -0
- package/dist/components/arcgis-histogram/histogramSample.d.ts +25 -0
- package/dist/components/arcgis-histogram/index.d.ts +1 -0
- package/dist/components/arcgis-histogram/index.js +1 -0
- package/dist/components/arcgis-histogram/types.d.ts +46 -0
- package/dist/components/arcgis-histogram/utils.d.ts +19 -0
- package/dist/components/arcgis-label-input/customElement.d.ts +47 -0
- package/dist/components/arcgis-label-input/customElement.js +113 -0
- package/dist/components/arcgis-label-input/index.d.ts +3 -0
- package/dist/components/arcgis-label-input/index.js +3 -0
- package/dist/components/arcgis-picker-input/customElement.d.ts +43 -0
- package/dist/components/arcgis-picker-input/customElement.js +59 -0
- package/dist/components/arcgis-picker-input/index.d.ts +5 -0
- package/dist/components/arcgis-picker-input/index.js +5 -0
- package/dist/components/arcgis-ramp-color/customElement.d.ts +20 -0
- package/dist/components/arcgis-ramp-color/customElement.js +84 -0
- package/dist/components/arcgis-ramp-color/index.d.ts +1 -0
- package/dist/components/arcgis-ramp-color/index.js +1 -0
- package/dist/components/arcgis-ramp-color-break/customElement.d.ts +21 -0
- package/dist/components/arcgis-ramp-color-break/customElement.js +40 -0
- package/dist/components/arcgis-ramp-color-break/index.d.ts +2 -0
- package/dist/components/arcgis-ramp-color-break/index.js +2 -0
- package/dist/components/arcgis-ramp-opacity/customElement.d.ts +20 -0
- package/dist/components/arcgis-ramp-opacity/customElement.js +35 -0
- package/dist/components/arcgis-ramp-opacity/index.d.ts +2 -0
- package/dist/components/arcgis-ramp-opacity/index.js +2 -0
- package/dist/components/arcgis-slider/SliderData.d.ts +37 -0
- package/dist/components/arcgis-slider/customElement.d.ts +288 -0
- package/dist/components/arcgis-slider/customElement.js +851 -0
- package/dist/components/arcgis-slider/index.d.ts +3 -0
- package/dist/components/arcgis-slider/index.js +3 -0
- package/dist/components/arcgis-slider/stepsUtils.d.ts +52 -0
- package/dist/components/arcgis-slider-input/customElement.d.ts +60 -0
- package/dist/components/arcgis-slider-input/customElement.js +31 -0
- package/dist/components/arcgis-slider-input/index.d.ts +3 -0
- package/dist/components/arcgis-slider-input/index.js +3 -0
- package/dist/components/arcgis-ticks/css.d.ts +11 -0
- package/dist/components/arcgis-ticks/customElement.d.ts +97 -0
- package/dist/components/arcgis-ticks/customElement.js +143 -0
- package/dist/components/arcgis-ticks/index.d.ts +1 -0
- package/dist/components/arcgis-ticks/index.js +1 -0
- package/dist/components/arcgis-unique-values-list/customElement.d.ts +91 -0
- package/dist/components/arcgis-unique-values-list/customElement.js +299 -0
- package/dist/components/arcgis-unique-values-list/index.d.ts +8 -0
- package/dist/components/arcgis-unique-values-list/index.js +8 -0
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +10 -0
- package/dist/components/arcgis-unique-values-list/utils/date.d.ts +7 -0
- package/dist/components/arcgis-unique-values-list/utils/domain.d.ts +5 -0
- package/dist/components/arcgis-unique-values-list/utils/field.d.ts +3 -0
- package/dist/components/arcgis-unique-values-list/utils/index.d.ts +4 -0
- package/dist/controllers/useT9n.d.ts +1 -0
- package/dist/docs/api.json +7246 -0
- package/dist/docs/docs.json +6072 -0
- package/dist/docs/vscode.css-custom-data.json +27 -0
- package/dist/docs/vscode.html-custom-data.json +1185 -0
- package/dist/docs/web-types.json +2387 -0
- package/dist/index.d.ts +162 -0
- package/dist/index.js +11 -0
- package/dist/loader.d.ts +2 -0
- package/dist/loader.js +25 -0
- package/dist/runtime.d.ts +6 -0
- package/dist/types/components.d.ts +1 -0
- package/dist/types/lumina.d.ts +123 -0
- package/dist/types/preact.d.ts +143 -0
- package/dist/types/react.d.ts +166 -0
- package/dist/types/stencil.d.ts +130 -0
- package/dist/utils/commonEnums.d.ts +5 -0
- package/dist/utils/commonFunctions.d.ts +28 -0
- package/dist/utils/dom.d.ts +7 -0
- package/dist/utils/functional.d.ts +16 -0
- package/dist/utils/functionalComponents/FieldIcons.d.ts +6 -0
- package/dist/utils/storage.d.ts +3 -0
- package/dist/utils/style.d.ts +1 -0
- package/dist/utils/types.d.ts +40 -0
- package/package.json +40 -13
- package/arcgis-common-components/arcgis-common-components.esm.js +0 -1
- package/arcgis-common-components/index.esm.js +0 -0
- package/arcgis-common-components/p-3768a3bb.entry.js +0 -1
- package/arcgis-common-components/p-84fccaad.entry.js +0 -1
- package/arcgis-common-components/p-9625972e.js +0 -1
- package/arcgis-common-components/p-b0c98bba.js +0 -2
- package/cjs/arcgis-api-key.cjs.entry.js +0 -51
- package/cjs/arcgis-common-components.cjs.js +0 -23
- package/cjs/arcgis-identity.cjs.entry.js +0 -139
- package/cjs/index-e8c59179.js +0 -858
- package/cjs/index-f1a937af.js +0 -65
- package/cjs/index.cjs.js +0 -2
- package/cjs/loader.cjs.js +0 -22
- package/components/arcgis-api-key.d.ts +0 -11
- package/components/arcgis-api-key.js +0 -67
- package/components/arcgis-identity.d.ts +0 -11
- package/components/arcgis-identity.js +0 -165
- package/components/index.d.ts +0 -32
- package/components/index.js +0 -3
- package/components/index2.js +0 -40
- package/esm/arcgis-api-key.entry.js +0 -47
- package/esm/arcgis-common-components.js +0 -18
- package/esm/arcgis-identity.entry.js +0 -135
- package/esm/index-1f7e8e45.js +0 -831
- package/esm/index-71b437b1.js +0 -40
- package/esm/index.js +0 -1
- package/esm/loader.js +0 -18
- package/esm/polyfills/core-js.js +0 -11
- package/esm/polyfills/css-shim.js +0 -1
- package/esm/polyfills/dom.js +0 -79
- package/esm/polyfills/es5-html-element.js +0 -1
- package/esm/polyfills/index.js +0 -34
- package/esm/polyfills/system.js +0 -6
- package/index.cjs.js +0 -1
- package/index.js +0 -1
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -21
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
- package/types/components/arcgis-api-key/arcgis-api-key.d.ts +0 -9
- package/types/components/arcgis-identity/arcgis-identity.d.ts +0 -31
- package/types/components/types.d.ts +0 -10
- package/types/components.d.ts +0 -85
- package/types/index.d.ts +0 -1
- package/types/stencil-public-runtime.d.ts +0 -1637
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { UUID } from '@arcgis/toolkit/string';
|
|
2
|
+
export interface StepsInfo {
|
|
3
|
+
min: number;
|
|
4
|
+
max: number;
|
|
5
|
+
steps?: number[] | number;
|
|
6
|
+
}
|
|
7
|
+
export interface StepsProvider {
|
|
8
|
+
minIndex: number;
|
|
9
|
+
maxIndex: number;
|
|
10
|
+
indexToValue: (index: number) => number;
|
|
11
|
+
valueToIndex: (value: number) => number;
|
|
12
|
+
}
|
|
13
|
+
export declare function createStepsProvider(info: StepsInfo): nullish | StepsProvider;
|
|
14
|
+
/**
|
|
15
|
+
* Snaps thumb values to the closest step values based on the provided steps provider.
|
|
16
|
+
*
|
|
17
|
+
* TODO: integrate a resolution parameter to control how many steps to consider.
|
|
18
|
+
* The resolution would depend on the size of the slider and the min/max range,
|
|
19
|
+
* as well as the displayMin and displayMax.
|
|
20
|
+
*/
|
|
21
|
+
export declare function offsetValues(stepsProvider: nullish | StepsProvider, entries: ReadonlyMap<UUID, number>, offset: number): Map<UUID, number>;
|
|
22
|
+
/**
|
|
23
|
+
* Snaps a single entry to the closest available step, avoiding conflicts with other entries.
|
|
24
|
+
*/
|
|
25
|
+
export declare function offsetValue(stepsProvider: nullish | StepsProvider, entries: ReadonlyMap<UUID, number>, entry: UUID, offset: number, allowValuesOverlap: boolean): number;
|
|
26
|
+
type Configuration = {
|
|
27
|
+
stepsProvider: nullish | StepsProvider;
|
|
28
|
+
resolution: number;
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
allowValuesOverlap: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Offsets all entries in the given direction, respecting the steps defined in the configuration.
|
|
35
|
+
*/
|
|
36
|
+
export declare function offsetEntriesInDirection(configuration: Configuration, entries: ReadonlyMap<UUID, number>, direction: number): {
|
|
37
|
+
changed: boolean;
|
|
38
|
+
entries: ReadonlyMap<UUID, number>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Offsets an entry in the given direction, respecting the steps defined in the configuration.
|
|
42
|
+
*/
|
|
43
|
+
export declare function offsetEntryInDirection(configuration: Configuration, entries: ReadonlyMap<UUID, number>, entry: UUID, direction: number): number;
|
|
44
|
+
/**
|
|
45
|
+
* Offsets all entries to the minimum or maximum value, depending on the direction.
|
|
46
|
+
*/
|
|
47
|
+
export declare function offsetEntryToEnds(configuration: Configuration, entries: ReadonlyMap<UUID, number>, entry: UUID, direction: number): number;
|
|
48
|
+
/**
|
|
49
|
+
* Offsets all entries to the minimum or maximum value, depending on the direction.
|
|
50
|
+
*/
|
|
51
|
+
export declare function offsetEntriesToEnds(configuration: Configuration, entries: ReadonlyMap<UUID, number>, direction: number): ReadonlyMap<UUID, number>;
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
3
|
+
|
|
4
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-slider-input/) */
|
|
5
|
+
export declare class ArcgisSliderInput extends LitElement {
|
|
6
|
+
/**
|
|
7
|
+
* If true, prevents interaction with the component.
|
|
8
|
+
*
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
/** Label for the component. */
|
|
13
|
+
label?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Handle LTR and RTL label placement.
|
|
16
|
+
*
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
flipLabels: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Min value for the component.
|
|
22
|
+
*
|
|
23
|
+
* @default 0
|
|
24
|
+
*/
|
|
25
|
+
min: number;
|
|
26
|
+
/**
|
|
27
|
+
* Max value for the component.
|
|
28
|
+
*
|
|
29
|
+
* @default 100
|
|
30
|
+
*/
|
|
31
|
+
max: number;
|
|
32
|
+
/**
|
|
33
|
+
* Initial value for the component.
|
|
34
|
+
*
|
|
35
|
+
* @default 50
|
|
36
|
+
*/
|
|
37
|
+
value: number;
|
|
38
|
+
/**
|
|
39
|
+
* Increment interval for the component.
|
|
40
|
+
*
|
|
41
|
+
* @default 1
|
|
42
|
+
*/
|
|
43
|
+
step: number;
|
|
44
|
+
/** If provided, specifies units for the input. */
|
|
45
|
+
unitsLabel?: string;
|
|
46
|
+
/**
|
|
47
|
+
* If true, adds up/down arrows to the input.
|
|
48
|
+
*
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
withSteppers: boolean;
|
|
52
|
+
/** @deprecated use arcgisValueChange instead. */
|
|
53
|
+
readonly arcgisSliderInputValueChange: TargetedEvent<this, number>;
|
|
54
|
+
/** Emitted when the value has changed. */
|
|
55
|
+
readonly arcgisValueChange: TargetedEvent<this, number>;
|
|
56
|
+
"@eventTypes": {
|
|
57
|
+
"arcgisSliderInputValueChange": ArcgisSliderInput["arcgisSliderInputValueChange"]["detail"];
|
|
58
|
+
"arcgisValueChange": ArcgisSliderInput["arcgisValueChange"]["detail"];
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as h, html as m } from "lit";
|
|
3
|
+
import { LitElement as o, createEvent as c } from "@arcgis/lumina";
|
|
4
|
+
import { debounce as b } from "@arcgis/toolkit/function";
|
|
5
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
+
v5.0.0-next.113 */
|
|
8
|
+
const g = h`.container{display:flex;align-items:center;justify-content:space-between;position:relative}.slider{width:50%}.input{width:45%}`;
|
|
9
|
+
class $ extends o {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments), this.debouncedApplyValueOnChange = b((e) => this.applyValueOnChange(e), 800), this.disabled = !1, this.flipLabels = !1, this.min = 0, this.max = 100, this.value = 50, this.step = 1, this.withSteppers = !1, this.arcgisSliderInputValueChange = c(), this.arcgisValueChange = c();
|
|
12
|
+
}
|
|
13
|
+
static {
|
|
14
|
+
this.properties = { disabled: 5, label: 1, flipLabels: 5, min: 9, max: 9, value: 9, step: 9, unitsLabel: 1, withSteppers: 5 };
|
|
15
|
+
}
|
|
16
|
+
static {
|
|
17
|
+
this.styles = g;
|
|
18
|
+
}
|
|
19
|
+
applyValueOnChange(e) {
|
|
20
|
+
const { min: i, max: a, value: n } = this, s = Number(e.value), t = i !== void 0 && a !== void 0 ? Math.min(a, Math.max(i, s)) : s;
|
|
21
|
+
s !== n && (e.value = `${t}`, this.arcgisValueChange.emit(t), this.arcgisSliderInputValueChange.emit(t), this.value = t);
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
const { disabled: e, min: i, max: a, value: n, step: s, withSteppers: t, flipLabels: r, unitsLabel: p, label: u } = this;
|
|
25
|
+
return m`<div class="container"><calcite-slider class="slider" .disabled=${e} .min=${i} .max=${a} .value=${n} .step=${s} @calciteSliderInput=${(l) => this.debouncedApplyValueOnChange(l.currentTarget)}></calcite-slider><calcite-input class="input" .disabled=${e} .min=${i} .max=${a} .numberButtonType=${t ? "vertical" : "none"} .prefixText=${r ? p : ""} @calciteInputInput=${(l) => this.debouncedApplyValueOnChange(l.target)} @click=${(l) => l.stopPropagation()} scale=s step=any .suffixText=${r ? "" : p} type=number .value=${`${n}`} .label=${u}></calcite-input></div>`;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
d("arcgis-slider-input", $);
|
|
29
|
+
export {
|
|
30
|
+
$ as ArcgisSliderInput
|
|
31
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const css: {
|
|
2
|
+
readonly container: "container";
|
|
3
|
+
readonly ticksContainer: "ticks-container";
|
|
4
|
+
readonly labelsContainer: "labels-container";
|
|
5
|
+
readonly tick: "tick";
|
|
6
|
+
readonly tickMin: "tick--min";
|
|
7
|
+
readonly tickMax: "tick--max";
|
|
8
|
+
readonly tickLabel: "tick-label";
|
|
9
|
+
readonly baseline: "baseline";
|
|
10
|
+
};
|
|
11
|
+
export type CSSClass = (typeof css)[keyof typeof css];
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
|
|
4
|
+
type Layout = "horizontal" | "vertical";
|
|
5
|
+
type TickMode = "count" | "percent" | "value";
|
|
6
|
+
type TickValues = number[] | number;
|
|
7
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/) */
|
|
8
|
+
export declare class ArcgisTicks extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* When `true`, the component will allow clicking on ticks.
|
|
11
|
+
*
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
interactive: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The exponent used to interpolate the position of ticks along the component.
|
|
17
|
+
* A value of `0` indicates linear interpolation. Positive values indicate exponential interpolation, and negative values indicate logarithmic interpolation.
|
|
18
|
+
*
|
|
19
|
+
* Set this property when the range of values is large and users need precision in the lower range of values (for an exponential interpolation), or in the higher range (for a logarithmic interpolation).
|
|
20
|
+
*
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <arcgis-ticks interpolation-exponent={14} min={1} max={5518000} mode="value" values={[1, 11500, 5518000]} />
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @default 0
|
|
26
|
+
*/
|
|
27
|
+
interpolationExponent: number;
|
|
28
|
+
/** A function used to format each tick's label. */
|
|
29
|
+
labelFormatter?: (value: number, defaultFormatter: (value: number) => string) => nullish | string;
|
|
30
|
+
/**
|
|
31
|
+
* Determines whether the labels are placed before or after the ticks.
|
|
32
|
+
*
|
|
33
|
+
* @default "trailing"
|
|
34
|
+
*/
|
|
35
|
+
labelPlacement: "leading" | "trailing";
|
|
36
|
+
/**
|
|
37
|
+
* Determines the layout/orientation of the component.
|
|
38
|
+
*
|
|
39
|
+
* @default "horizontal"
|
|
40
|
+
*/
|
|
41
|
+
layout: Layout;
|
|
42
|
+
/**
|
|
43
|
+
* The component's maximum rendered value.
|
|
44
|
+
*
|
|
45
|
+
* @default 100
|
|
46
|
+
*/
|
|
47
|
+
max: number;
|
|
48
|
+
/**
|
|
49
|
+
* The component's minimum rendered value.
|
|
50
|
+
*
|
|
51
|
+
* @default 0
|
|
52
|
+
*/
|
|
53
|
+
min: number;
|
|
54
|
+
/**
|
|
55
|
+
* When `true`, the values are displayed from high to low.
|
|
56
|
+
*
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
mirrored: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* The mode or method of positioning ticks along the component. It drives how [values](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/#values) is interpreted.
|
|
62
|
+
* - `count`: Places a fixed number of ticks (provided in the [values](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/#values) property) at equal distances from each other.
|
|
63
|
+
* - `percent`: [values](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/#values) is interpreted as percentage. If [values](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/#values) is a number, it indicates the interval between ticks. If it is an array, it indicates the percentage values at which to place the ticks.
|
|
64
|
+
* - `value`: Indicates that ticks will only be placed at the values specified in the property.
|
|
65
|
+
*
|
|
66
|
+
* @default "count"
|
|
67
|
+
* @see [values](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/#values)
|
|
68
|
+
*/
|
|
69
|
+
mode: TickMode;
|
|
70
|
+
/**
|
|
71
|
+
* Indicates whether to render labels for the ticks.
|
|
72
|
+
*
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
75
|
+
showLabels: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates whether to render a line connecting the ticks.
|
|
78
|
+
*
|
|
79
|
+
* @default false
|
|
80
|
+
*/
|
|
81
|
+
showBaseline: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Indicates where ticks will be rendered along the component.
|
|
84
|
+
* See the description for [mode](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/#mode) for more information about how this property is interpreted by each mode.
|
|
85
|
+
*
|
|
86
|
+
* @see [mode](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ticks/#mode)
|
|
87
|
+
*/
|
|
88
|
+
values: TickValues;
|
|
89
|
+
/** Fires when the user clicks on one of the ticks. */
|
|
90
|
+
readonly arcgisTickClick: TargetedEvent<this, {
|
|
91
|
+
value: number;
|
|
92
|
+
}>;
|
|
93
|
+
"@eventTypes": {
|
|
94
|
+
"arcgisTickClick": ArcgisTicks["arcgisTickClick"]["detail"];
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export {};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { c as $ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as M, html as c } from "lit";
|
|
3
|
+
import { LitElement as _, createEvent as C, safeClassMap as h, safeStyleMap as d, nothing as y } from "@arcgis/lumina";
|
|
4
|
+
import { formatNumber as A } from "@arcgis/core/intl.js";
|
|
5
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
+
v5.0.0-next.113 */
|
|
8
|
+
const l = {
|
|
9
|
+
container: "container",
|
|
10
|
+
ticksContainer: "ticks-container",
|
|
11
|
+
labelsContainer: "labels-container",
|
|
12
|
+
tick: "tick",
|
|
13
|
+
tickMin: "tick--min",
|
|
14
|
+
tickMax: "tick--max",
|
|
15
|
+
tickLabel: "tick-label",
|
|
16
|
+
baseline: "baseline"
|
|
17
|
+
}, F = M`:host{display:flex;--arcgis-ticks-tick-length: .5rem;--arcgis-ticks-tick-color: var(--calcite-color-border-input);--arcgis-ticks-gap: 1em}.container{align-items:stretch;display:flex;color:var(--calcite-color-text-2);flex:1;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size--2);line-height:1em;position:relative;user-select:none;word-wrap:normal;word-break:normal}.baseline{background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick{position:absolute;background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick-label{position:absolute}:host([layout="horizontal"]){.ticks-container{height:var(--arcgis-ticks-tick-length)}.labels-container{height:var(--labels-container-height, "auto")}.tick{width:.125rem;height:var(--arcgis-ticks-tick-length);transform:translate(-50%)}.tick-label{transform:translate(-50%)}.tick--min{transform:unset}.tick--max{transform:translate(-100%)}}:host([layout="vertical"]){.ticks-container{width:var(--arcgis-ticks-tick-length)}.labels-container{width:var(--labels-container-width)}.tick{width:var(--arcgis-ticks-tick-length);height:.125rem;transform:translateY(50%)}.tick-label{text-align:right;transform:translateY(50%);text-align:center;width:var(--labels-container-width, "auto")}.tick--min{transform:unset}.tick--max{transform:translateY(100%)}}:host([layout="horizontal"][mirrored]){.tick,.tick-label{transform:translate(50%)}.tick--min{transform:unset}.tick--max{transform:translate(100%)}}:host([layout="vertical"][mirrored]){.tick,.tick-label{transform:translateY(-50%)}.tick--min{transform:unset}.tick--max{transform:translateY(-100%)}}:host([layout="horizontal"][label-placement="leading"]){.container{flex-direction:column;justify-content:flex-end}.labels-container{margin-bottom:var(--arcgis-ticks-gap)}}:host([layout="horizontal"][label-placement="trailing"]){.container{flex-direction:column-reverse;justify-content:flex-end}.labels-container{margin-top:var(--arcgis-ticks-gap)}}:host([layout="vertical"][label-placement="leading"]){.container{flex-direction:row;justify-content:flex-end}:dir(ltr){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right}}:dir(rtl){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left;unicode-bidi:plaintext}}}:host([layout="vertical"][label-placement="trailing"]){.container{flex-direction:row-reverse;justify-content:flex-end}:dir(ltr){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left}}:dir(rtl){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right;unicode-bidi:plaintext}}}:host([interactive]){pointer-events:none;.tick,.tick-label{pointer-events:auto;cursor:pointer}.tick-label:hover{text-decoration:underline}}`;
|
|
18
|
+
class z extends _ {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments), this._formatValue = (e) => A(e, this._formatOptions), this._formatOptions = {
|
|
21
|
+
style: "decimal",
|
|
22
|
+
useGrouping: !0,
|
|
23
|
+
minimumFractionDigits: 0,
|
|
24
|
+
maximumFractionDigits: 2
|
|
25
|
+
}, this.interactive = !1, this.interpolationExponent = 0, this.labelPlacement = "trailing", this.layout = "horizontal", this.max = 100, this.min = 0, this.mirrored = !1, this.mode = "count", this.showLabels = !1, this.showBaseline = !1, this.values = [], this.arcgisTickClick = C({ cancelable: !1 });
|
|
26
|
+
}
|
|
27
|
+
static {
|
|
28
|
+
this.properties = { _formatOptions: 16, interactive: 7, interpolationExponent: 9, labelFormatter: 0, labelPlacement: 3, layout: 3, max: 9, min: 9, mirrored: 7, mode: 1, showLabels: 5, showBaseline: 5, values: [9, { converter: {
|
|
29
|
+
fromAttribute(e) {
|
|
30
|
+
if (e.includes(","))
|
|
31
|
+
return e.split(",").filter((t) => t.trim() !== "").map(parseFloat).filter((t) => Number.isFinite(t));
|
|
32
|
+
{
|
|
33
|
+
const t = parseFloat(e);
|
|
34
|
+
return Number.isFinite(t) ? [t] : [];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
} }] };
|
|
38
|
+
}
|
|
39
|
+
static {
|
|
40
|
+
this.styles = F;
|
|
41
|
+
}
|
|
42
|
+
updated() {
|
|
43
|
+
const e = this.renderRoot.querySelector(`.${l.labelsContainer}`);
|
|
44
|
+
if (e) {
|
|
45
|
+
let t = 0, i = 0;
|
|
46
|
+
for (const r of this.renderRoot.querySelectorAll(`.${l.tickLabel}`)) {
|
|
47
|
+
const a = r.getBoundingClientRect();
|
|
48
|
+
t = Math.max(t, a.width), i = Math.max(i, a.height);
|
|
49
|
+
}
|
|
50
|
+
t = Math.ceil(t), i = Math.ceil(i), !t || !i ? (e.style.removeProperty("--labels-container-width"), e.style.removeProperty("--labels-container-height")) : (e.style.setProperty("--labels-container-width", `${t}px`), e.style.setProperty("--labels-container-height", `${i}px`));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
_handleClick(e) {
|
|
54
|
+
if (!this.interactive)
|
|
55
|
+
return;
|
|
56
|
+
const i = e.target.dataset.value;
|
|
57
|
+
i && this.arcgisTickClick.emit({ value: Number(i) });
|
|
58
|
+
}
|
|
59
|
+
_internalLabelFormatter(e) {
|
|
60
|
+
const t = this.labelFormatter;
|
|
61
|
+
if (!t)
|
|
62
|
+
return this._formatValue(e);
|
|
63
|
+
const i = t(e, this._formatValue);
|
|
64
|
+
return i ?? this._formatValue(e);
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
return c`<div class=${h(l.container)} touch-action=none @click=${this._handleClick}>${this._renderContent()}${this._renderBaseline()}</div>`;
|
|
68
|
+
}
|
|
69
|
+
_renderContent() {
|
|
70
|
+
const { interpolationExponent: e, max: t, min: i, mode: r, values: a, layout: o, mirrored: s, showLabels: x } = this, k = [], b = [];
|
|
71
|
+
for (const [f, u] of L(r, i, t, e, a)) {
|
|
72
|
+
const p = { [o === "horizontal" ? s ? "right" : "left" : s ? "top" : "bottom"]: `${f}%` }, w = {
|
|
73
|
+
[l.tick]: !0,
|
|
74
|
+
[l.tickMin]: f === 0,
|
|
75
|
+
[l.tickMax]: f === 100
|
|
76
|
+
};
|
|
77
|
+
k.push(c`<div class=${h(w)} style=${d(p)} data-value=${u ?? y}></div>`), x && b.push(c`<div class=${h(l.tickLabel)} style=${d(p)} data-value=${u ?? y}>${this._internalLabelFormatter(u)}</div>`);
|
|
78
|
+
}
|
|
79
|
+
return [c`<div class=${h(l.labelsContainer)}>${b}</div>`, c`<div class=${h(l.ticksContainer)}>${k}</div>`];
|
|
80
|
+
}
|
|
81
|
+
_renderBaseline() {
|
|
82
|
+
const { showBaseline: e, layout: t } = this;
|
|
83
|
+
return e && c`<div class=${h(l.baseline)} style=${d({
|
|
84
|
+
[t === "horizontal" ? "width" : "height"]: "100%",
|
|
85
|
+
[t === "horizontal" ? "height" : "width"]: "0.125rem"
|
|
86
|
+
})}></div>` || "";
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function* L(n, e, t, i, r) {
|
|
90
|
+
switch (n) {
|
|
91
|
+
case "value": {
|
|
92
|
+
const a = Array.isArray(r) ? r : [r];
|
|
93
|
+
for (const o of a) {
|
|
94
|
+
const s = P(e, t, o, i) * 100;
|
|
95
|
+
s >= 0 && s <= 100 && (yield [s, o]);
|
|
96
|
+
}
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
case "percent": {
|
|
100
|
+
if (Array.isArray(r))
|
|
101
|
+
for (const a of r)
|
|
102
|
+
a >= 0 && a <= 100 && (yield [a, m(e, t, a / 100, i)]);
|
|
103
|
+
else if (r > 0)
|
|
104
|
+
for (let a = 0; a <= 100; a += r)
|
|
105
|
+
yield [a, m(e, t, a / 100, i)];
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
case "count": {
|
|
109
|
+
const a = Array.isArray(r) ? r[0] : r;
|
|
110
|
+
if (a <= 1)
|
|
111
|
+
yield [50, m(e, t, 0.5, i)];
|
|
112
|
+
else
|
|
113
|
+
for (let o = 0; o < a; o++) {
|
|
114
|
+
const s = o * 100 / (a - 1);
|
|
115
|
+
yield [s, m(e, t, s / 100, i)];
|
|
116
|
+
}
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function g(n, e, t) {
|
|
122
|
+
return t < n ? n : t > e ? e : t;
|
|
123
|
+
}
|
|
124
|
+
function v(n, e, t) {
|
|
125
|
+
return n + (e - n) * t;
|
|
126
|
+
}
|
|
127
|
+
function P(n, e, t, i = 0) {
|
|
128
|
+
let r = (t - n) / (e - n);
|
|
129
|
+
if (r = g(0, 1, r), Math.abs(i) < 1e-9)
|
|
130
|
+
return r;
|
|
131
|
+
const a = 1 + Math.expm1(i) * r;
|
|
132
|
+
return r = Math.log(a) / i, g(0, 1, r);
|
|
133
|
+
}
|
|
134
|
+
function m(n, e, t, i = 0) {
|
|
135
|
+
if (t = g(0, 1, t), Math.abs(i) < 1e-9)
|
|
136
|
+
return v(n, e, t);
|
|
137
|
+
const r = Math.expm1(i * t) / Math.expm1(i);
|
|
138
|
+
return v(n, e, r);
|
|
139
|
+
}
|
|
140
|
+
$("arcgis-ticks", z);
|
|
141
|
+
export {
|
|
142
|
+
z as ArcgisTicks
|
|
143
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
4
|
+
import { SupportedLayer } from './utils';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Displays a list of unique values taking into account field type formatting and field domains.
|
|
8
|
+
*
|
|
9
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-unique-values-list/)
|
|
10
|
+
*/
|
|
11
|
+
export declare class ArcgisUniqueValuesList extends LitElement {
|
|
12
|
+
/** MapView instance, required if uniqueValues is not provided */
|
|
13
|
+
view?: __esri.MapView | __esri.SceneView;
|
|
14
|
+
/** Layer instance, required if uniqueValues is not provided, if component needs to format values, or needs to check for field domains. */
|
|
15
|
+
layer?: SupportedLayer;
|
|
16
|
+
/** Field name, required if uniqueValues is not provided, if component needs to format values, or needs to check for field domains. */
|
|
17
|
+
fieldName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* List of all unique values. If not provided component will get the unique values from the layer.
|
|
20
|
+
* An empty list would mean that there are no unique values for this field on the layer. The component renders nothing then.
|
|
21
|
+
*/
|
|
22
|
+
uniqueValues?: __esri.UniqueValuesResultUniqueValueInfos[];
|
|
23
|
+
/**
|
|
24
|
+
* Optional format options if values are numbers.
|
|
25
|
+
*
|
|
26
|
+
* e.g.
|
|
27
|
+
* {
|
|
28
|
+
* style: "decimal",
|
|
29
|
+
* useGrouping: true,
|
|
30
|
+
* minimumFractionDigits: 0,
|
|
31
|
+
* maximumFractionDigits: 2
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* {
|
|
35
|
+
* style: "percent",
|
|
36
|
+
* useGrouping: true
|
|
37
|
+
* }
|
|
38
|
+
*
|
|
39
|
+
* {
|
|
40
|
+
* style: "currency",
|
|
41
|
+
* currency: "EUR",
|
|
42
|
+
* currencyDisplay: "symbol"
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
numberFormatOptions?: Intl.NumberFormatOptions;
|
|
46
|
+
/** Lists of selected values */
|
|
47
|
+
selectedValues?: (number | string)[];
|
|
48
|
+
/** Sort by default setting */
|
|
49
|
+
sortBy?: "count" | "name" | "selected";
|
|
50
|
+
/**
|
|
51
|
+
* Multiple selections allowed?
|
|
52
|
+
*
|
|
53
|
+
* @default false
|
|
54
|
+
*/
|
|
55
|
+
multiple?: boolean | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Too many values? If true then it displays a message below the list. Only required if uniqueValues is provided.
|
|
58
|
+
*
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
partialUniqueValues?: boolean | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* If true, displays the filter option based on the number of fields.
|
|
64
|
+
*
|
|
65
|
+
* @default 10
|
|
66
|
+
*/
|
|
67
|
+
showFilterLength: number;
|
|
68
|
+
/** Optional, max height of list in pixel. */
|
|
69
|
+
maxHeight?: number;
|
|
70
|
+
/** Sets focus on component */
|
|
71
|
+
setFocus(): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Get all unique values.
|
|
74
|
+
* E.g. to be used to limit how often these unique values need to be requested from the layer.
|
|
75
|
+
*/
|
|
76
|
+
getUniqueValues(): Promise<{
|
|
77
|
+
uniqueValues: __esri.UniqueValuesResultUniqueValueInfos[];
|
|
78
|
+
partialUniqueValues: boolean;
|
|
79
|
+
} | undefined>;
|
|
80
|
+
/** Emitted if selection has changed */
|
|
81
|
+
readonly arcgisChange: TargetedEvent<this, (string | number)[]>;
|
|
82
|
+
/** Emitted if the sort order has changed */
|
|
83
|
+
readonly arcgisSortByChange: TargetedEvent<this, string | undefined>;
|
|
84
|
+
/** Emitted once the component is loaded. Useful when no uniqueValues were passed in. */
|
|
85
|
+
readonly arcgisLoad: TargetedEvent<this, void>;
|
|
86
|
+
"@eventTypes": {
|
|
87
|
+
"arcgisChange": ArcgisUniqueValuesList["arcgisChange"]["detail"];
|
|
88
|
+
"arcgisLoad": ArcgisUniqueValuesList["arcgisLoad"]["detail"];
|
|
89
|
+
"arcgisSortByChange": ArcgisUniqueValuesList["arcgisSortByChange"]["detail"];
|
|
90
|
+
};
|
|
91
|
+
}
|