@esri/solutions-components 0.10.15 → 0.10.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-63855ea7.js +115 -0
- package/dist/cjs/FloatingArrow-4afc0a27.js +48 -0
- package/dist/cjs/Heading-f01dc40c.js +25 -0
- package/dist/cjs/Validation-c52e0b30.js +20 -0
- package/dist/cjs/app-globals-587d5fc5.js +67 -0
- package/dist/cjs/ar-406e323c.js +106 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-7ee883b3.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
- package/dist/cjs/bg-56abe1a2.js +84 -0
- package/dist/cjs/browser-e9eb8b2e.js +35 -0
- package/dist/cjs/bs-43ed4dcb.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +7 -7
- package/dist/cjs/ca-ad58f302.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +598 -0
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +371 -92
- package/dist/cjs/calcite-alert_5.cjs.entry.js +1882 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +33 -36
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -23
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +1122 -0
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +317 -0
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker-83bcd60f.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal_3.cjs.entry.js +734 -0
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +122 -0
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +36 -36
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
- package/dist/cjs/card-manager_3.cjs.entry.js +245 -23
- package/dist/cjs/component-ab59efe0.js +33 -0
- package/dist/cjs/conditionalSlot-e7b1e80b.js +54 -0
- package/dist/cjs/config-90915d7e.js +40 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +21 -36
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +12 -12
- package/dist/cjs/cs-eef992e9.js +149 -0
- package/dist/cjs/da-4957191f.js +69 -0
- package/dist/cjs/date-09eabd7c.js +264 -0
- package/dist/cjs/de-64947d33.js +93 -0
- package/dist/cjs/de-at-976bd625.js +92 -0
- package/dist/cjs/de-ch-9c2f85be.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-5fd0c11a.js +1215 -0
- package/dist/cjs/downloadUtils-b1bc6031.js +3163 -0
- package/dist/cjs/el-17064e96.js +68 -0
- package/dist/cjs/en-au-bf34aa99.js +68 -0
- package/dist/cjs/en-ca-20b7aeab.js +67 -0
- package/dist/cjs/en-gb-72ebc333.js +71 -0
- package/dist/cjs/es-996df974.js +68 -0
- package/dist/cjs/es-mx-cf34d408.js +67 -0
- package/dist/cjs/et-fe1aba97.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +6 -6
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-154d8730.js +117 -0
- package/dist/cjs/filter-1906ce7b.js +778 -0
- package/dist/cjs/floating-ui-b477f602.js +2373 -0
- package/dist/cjs/focusTrapComponent-01de8e72.js +1018 -0
- package/dist/cjs/form-fba99326.js +381 -0
- package/dist/cjs/fr-21a56733.js +70 -0
- package/dist/cjs/fr-ch-66f7a5c9.js +68 -0
- package/dist/cjs/guid-81a8c49f.js +26 -0
- package/dist/cjs/he-249d58b9.js +107 -0
- package/dist/cjs/helpers-3cfcbb0d.js +940 -0
- package/dist/cjs/hi-7015dbc4.js +67 -0
- package/dist/cjs/hr-e57553fd.js +82 -0
- package/dist/cjs/hu-e0a32fbd.js +90 -0
- package/dist/cjs/id-6eeb6f33.js +68 -0
- package/dist/cjs/index.es-5ad1b7be.js +11317 -0
- package/dist/cjs/input-cb7565cc.js +60 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +6 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -4
- package/dist/cjs/interactive-d349d0f0.js +167 -0
- package/dist/cjs/it-21b9179c.js +68 -0
- package/dist/cjs/it-ch-ed862b1c.js +68 -0
- package/dist/cjs/ja-a5d93dac.js +74 -0
- package/dist/cjs/key-a0f7c4f3.js +19 -0
- package/dist/cjs/ko-1913cf25.js +74 -0
- package/dist/cjs/label-dc906a73.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-d9a2a731.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-4d172288.js +605 -0
- package/dist/cjs/locale-a965a573.js +120 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-dc99f85b.js +61 -0
- package/dist/cjs/lt-aeec2286.js +99 -0
- package/dist/cjs/lv-9055202a.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +16 -6
- package/dist/cjs/mapViewUtils-18c46b84.js +515 -0
- package/dist/cjs/math-8d9588b6.js +60 -0
- package/dist/cjs/mk-98948b48.js +68 -0
- package/dist/cjs/nb-d88ea8dc.js +69 -0
- package/dist/cjs/nl-a8df29cd.js +69 -0
- package/dist/cjs/observers-b83abbfc.js +58 -0
- package/dist/cjs/openCloseComponent-a2a2a773.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-0c9cc2cf.js +116 -0
- package/dist/cjs/popupUtils-948e8990.js +121 -0
- package/dist/cjs/pt-5d70043e.js +69 -0
- package/dist/cjs/pt-br-fed6323a.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -4
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-03698411.js +39 -0
- package/dist/cjs/resources-085b5a9c.js +23 -0
- package/dist/cjs/resources-08ceff44.js +21 -0
- package/dist/cjs/resources-32b7c652.js +23 -0
- package/dist/cjs/resources-3e7e7fb7.js +26 -0
- package/dist/cjs/resources-44438f5c.js +68 -0
- package/dist/cjs/resources-b4193681.js +27 -0
- package/dist/cjs/resources-bcc3f2b2.js +68 -0
- package/dist/cjs/resources-e3a7e2f5.js +29 -0
- package/dist/cjs/resources-e5bab826.js +39 -0
- package/dist/cjs/ro-021065c9.js +68 -0
- package/dist/cjs/ru-9ec3c8de.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-79567fc0.js +361 -0
- package/dist/cjs/sk-09cbe5ba.js +150 -0
- package/dist/cjs/sl-3a4381a4.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-abdb9e28.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/cjs/sr-c18bc63a.js +103 -0
- package/dist/cjs/sv-e721be29.js +73 -0
- package/dist/cjs/t9n-c8d7a2ec.js +108 -0
- package/dist/cjs/th-baa740bc.js +67 -0
- package/dist/cjs/time-087f0346.js +301 -0
- package/dist/cjs/tr-c0b17a53.js +68 -0
- package/dist/cjs/uk-68a75a5a.js +106 -0
- package/dist/cjs/utils-8f400dfd.js +78 -0
- package/dist/cjs/utils-9343bd5b.js +130 -0
- package/dist/cjs/utils-9a063f23.js +2304 -0
- package/dist/cjs/vi-bf3bf360.js +72 -0
- package/dist/cjs/zh-cn-f36908e8.js +96 -0
- package/dist/cjs/zh-hk-79863fdd.js +94 -0
- package/dist/cjs/zh-tw-eb1f3b17.js +94 -0
- package/dist/collection/assets/t9n/card-manager/resources.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_en.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/collection/assets/t9n/layer-table/resources.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_da.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_de.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_el.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_en.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_et.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_he.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_id.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_it.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_th.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +1 -0
- package/dist/collection/assets/t9n/map-card/resources_ar.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_bg.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_bs.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ca.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_cs.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_da.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_de.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_el.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_es.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_et.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_fi.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_fr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_he.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_hr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_hu.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_id.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_it.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ja.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ko.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_lt.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_lv.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_nb.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_nl.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_pl.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ro.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ru.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sk.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sl.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sv.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_th.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_tr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_uk.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_vi.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +6 -1
- package/dist/collection/components/arcgis-login/arcgis-login.css +1 -1
- package/dist/collection/components/arcgis-login/arcgis-login.js +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.css +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.css +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.css +9 -1
- package/dist/collection/components/card-manager/card-manager.js +154 -3
- package/dist/collection/components/consent-manager/consent-manager.css +1 -1
- package/dist/collection/components/create-feature/create-feature.css +5 -5
- package/dist/collection/components/create-feature/create-feature.js +58 -27
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +13 -5
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -60
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +46 -12
- package/dist/collection/components/deduct-calculator/deduct-calculator.css +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.css +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.css +5 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.css +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.css +2 -2
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +1 -1
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.css +1 -1
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/features-flow-item/features-flow-item.css +1 -1
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.css +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-list/layer-list.css +1 -1
- package/dist/collection/components/layer-list/layer-list.js +3 -3
- package/dist/collection/components/layer-table/layer-table.css +2 -2
- package/dist/collection/components/layer-table/layer-table.js +154 -16
- package/dist/collection/components/layout-manager/layout-manager.css +1 -1
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.css +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.css +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.css +3 -2
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.css +5 -5
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.css +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.css +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +2 -2
- package/dist/collection/components/map-legend/map-legend.css +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.css +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.css +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.css +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +47 -1
- package/dist/collection/components/map-tools/map-tools.css +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.css +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.css +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.css +1 -1
- package/dist/collection/components/public-notification/public-notification.js +40 -2
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.css +7 -5
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.css +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/browse-solutions.html +124 -124
- package/dist/collection/demos/buffer-tools.html +60 -61
- package/dist/collection/demos/card-manager.html +93 -93
- package/dist/collection/demos/create-feature.html +64 -65
- package/dist/collection/demos/crowdsource-manager.html +8 -8
- package/dist/collection/demos/crowdsource-reporter.html +271 -266
- package/dist/collection/demos/deduct-calculator.html +30 -30
- package/dist/collection/demos/demo-map.html +26 -30
- package/dist/collection/demos/edit-card.html +16 -17
- package/dist/collection/demos/feature-list.html +66 -67
- package/dist/collection/demos/index.html +50 -22
- package/dist/collection/demos/info-card.html +41 -41
- package/dist/collection/demos/json-editor-2.html +35 -31
- package/dist/collection/demos/json-editor.html +49 -44
- package/dist/collection/demos/layer-list.html +65 -62
- package/dist/collection/demos/layer-table.html +62 -63
- package/dist/collection/demos/list-item.html +57 -59
- package/dist/collection/demos/map-card.html +47 -49
- package/dist/collection/demos/map-draw-tools.html +57 -59
- package/dist/collection/demos/map-layer-picker.html +59 -61
- package/dist/collection/demos/map-select-tools.html +60 -61
- package/dist/collection/demos/monacoConfig.js +16 -16
- package/dist/collection/demos/new-public-notification.html +115 -113
- package/dist/collection/demos/new-solution-configuration.html +163 -145
- package/dist/collection/demos/pci-calculator.html +30 -30
- package/dist/collection/demos/pdf-download.html +53 -50
- package/dist/collection/demos/solution-configuration.html +132 -121
- package/dist/collection/demos/solution-contents.html +37 -32
- package/dist/collection/demos/solution-group-details.html +21 -18
- package/dist/collection/demos/solution-item-details.html +21 -18
- package/dist/collection/demos/solution-item-icon.html +22 -19
- package/dist/collection/demos/solution-item-sharing.html +10 -8
- package/dist/collection/demos/solution-item.html +42 -39
- package/dist/collection/demos/solution-organization-variables.html +37 -32
- package/dist/collection/demos/solution-resource-item.html +11 -9
- package/dist/collection/demos/solution-spatial-ref.html +35 -29
- package/dist/collection/demos/solution-template-data.html +33 -29
- package/dist/collection/demos/solution-variables.html +37 -32
- package/dist/collection/demos/spatial-ref.html +9 -5
- package/dist/collection/utils/common.ts +2 -2
- package/dist/collection/utils/downloadUtils.ts +37 -37
- package/dist/collection/utils/interfaces.ts +18 -18
- package/dist/collection/utils/locale.ts +4 -4
- package/dist/collection/utils/pciUtils.ts +3 -3
- package/dist/collection/utils/popupUtils.ts +1 -1
- package/dist/collection/utils/queryUtils.js +3 -0
- package/dist/collection/utils/queryUtils.ts +7 -4
- package/dist/collection/utils/solution-store.ts +9 -10
- package/dist/collection/utils/templates.ts +9 -9
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/arcgis-login.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-dialog.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +2 -2
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/card-manager2.js +134 -33
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/create-feature2.js +42 -28
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +122 -126
- package/dist/components/crowdsource-reporter.js +13 -11
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +2 -2
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +6 -6
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/helpers.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +6 -8
- package/dist/components/instant-apps-language-translator-item2.js +3 -1
- package/dist/components/instant-apps-sign-in2.js +6 -3
- package/dist/components/instant-apps-time-filter.js +4 -3
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-list2.js +3 -3
- package/dist/components/layer-table2.js +200 -56
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale2.js +2 -2
- package/dist/components/locale3.js +2 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +2 -2
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +2 -2
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +13 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +5 -15
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/panel.js +12 -5
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/public-notification.js +6 -2
- package/dist/components/queryUtils.js +3 -0
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-f909e195.js +108 -0
- package/dist/esm/FloatingArrow-4dbed45e.js +46 -0
- package/dist/esm/Heading-19e46a14.js +22 -0
- package/dist/esm/Validation-0b8675a8.js +18 -0
- package/dist/esm/app-globals-0fc0d343.js +65 -0
- package/dist/esm/ar-2b7701c9.js +104 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-0d5d845c.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +6 -6
- package/dist/esm/bg-cfd918d6.js +82 -0
- package/dist/esm/browser-d0009bfe.js +32 -0
- package/dist/esm/bs-6e26541f.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +7 -7
- package/dist/esm/ca-3edf7b06.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +9 -9
- package/dist/esm/calcite-accordion.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +593 -0
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +372 -93
- package/dist/esm/calcite-alert_5.entry.js +1874 -0
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +33 -36
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel-item.entry.js +2 -2
- package/dist/esm/calcite-carousel.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +15 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +23 -23
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +15 -15
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +1115 -0
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +312 -0
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker-c5ee10a4.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +15 -15
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal_3.entry.js +728 -0
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +118 -0
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +36 -36
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +11 -11
- package/dist/esm/card-manager_3.entry.js +246 -24
- package/dist/esm/component-0f26d27a.js +30 -0
- package/dist/esm/conditionalSlot-56fa9723.js +51 -0
- package/dist/esm/config-e0237f7c.js +36 -0
- package/dist/esm/crowdsource-manager.entry.js +21 -36
- package/dist/esm/crowdsource-reporter.entry.js +12 -12
- package/dist/esm/cs-93a3355b.js +147 -0
- package/dist/esm/da-f4d05bf2.js +67 -0
- package/dist/esm/date-dd3d9d2f.js +248 -0
- package/dist/esm/de-04f477b6.js +91 -0
- package/dist/esm/de-at-1b4e56b9.js +90 -0
- package/dist/esm/de-ch-59c96703.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-9e8610a2.js +1180 -0
- package/dist/esm/downloadUtils-ee2d6a99.js +3156 -0
- package/dist/esm/el-134dd039.js +66 -0
- package/dist/esm/en-au-ec33ef70.js +66 -0
- package/dist/esm/en-ca-ab1fbea4.js +65 -0
- package/dist/esm/en-gb-ceb65f79.js +69 -0
- package/dist/esm/es-e023cfc8.js +66 -0
- package/dist/esm/es-mx-e0a5ee8c.js +65 -0
- package/dist/esm/et-572b1e56.js +92 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +6 -6
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-f13fae4c.js +115 -0
- package/dist/esm/filter-3c649b00.js +775 -0
- package/dist/esm/floating-ui-9d9558a6.js +2365 -0
- package/dist/esm/focusTrapComponent-a9be9a5f.js +1013 -0
- package/dist/esm/form-a992bc7e.js +372 -0
- package/dist/esm/fr-ch-a1f8ebbf.js +66 -0
- package/dist/esm/fr-e9b456c3.js +68 -0
- package/dist/esm/guid-52aae62c.js +24 -0
- package/dist/esm/he-dfaa7ea1.js +105 -0
- package/dist/esm/helpers-22ae4484.js +913 -0
- package/dist/esm/hi-efa0d8e7.js +65 -0
- package/dist/esm/hr-7c04c969.js +80 -0
- package/dist/esm/hu-fc6efaba.js +88 -0
- package/dist/esm/id-2d884294.js +66 -0
- package/dist/esm/index.es-6d52a4cf.js +11230 -0
- package/dist/esm/input-b18c3393.js +58 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -3
- package/dist/esm/instant-apps-create.entry.js +1 -1
- package/dist/esm/instant-apps-export-views.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend.entry.js +2 -2
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +2 -2
- package/dist/esm/instant-apps-language-translator.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +6 -4
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +5 -4
- package/dist/esm/interactive-353bf495.js +162 -0
- package/dist/esm/it-913dabbb.js +66 -0
- package/dist/esm/it-ch-d4c2b23e.js +66 -0
- package/dist/esm/ja-b6c332b1.js +72 -0
- package/dist/esm/key-a9ffa61d.js +16 -0
- package/dist/esm/ko-b220c903.js +72 -0
- package/dist/esm/label-026b99b7.js +179 -0
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-4841127f.js +93 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-8a2aae09.js +591 -0
- package/dist/esm/locale-a34f9f04.js +115 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-29d1dc0e.js +59 -0
- package/dist/esm/lt-e97a19a7.js +97 -0
- package/dist/esm/lv-c4e1d066.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +16 -6
- package/dist/esm/mapViewUtils-f54edae3.js +497 -0
- package/dist/esm/math-dd484f87.js +54 -0
- package/dist/esm/mk-fec9b21d.js +66 -0
- package/dist/esm/nb-28189f31.js +67 -0
- package/dist/esm/nl-194a064e.js +67 -0
- package/dist/esm/observers-3af27a40.js +56 -0
- package/dist/esm/openCloseComponent-00e6186d.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-c0a7eacf.js +114 -0
- package/dist/esm/popupUtils-75294be5.js +119 -0
- package/dist/esm/pt-48180eaa.js +67 -0
- package/dist/esm/pt-br-e378640f.js +65 -0
- package/dist/esm/public-notification.entry.js +6 -4
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-0b9430f0.js +21 -0
- package/dist/esm/resources-2117aee0.js +63 -0
- package/dist/esm/resources-29504413.js +34 -0
- package/dist/esm/resources-37d6b520.js +35 -0
- package/dist/esm/resources-75518fcf.js +23 -0
- package/dist/esm/resources-8e7f2865.js +22 -0
- package/dist/esm/resources-8fe9ef4a.js +20 -0
- package/dist/esm/resources-966e32ad.js +62 -0
- package/dist/esm/resources-a1cc283e.js +24 -0
- package/dist/esm/resources-f4406546.js +19 -0
- package/dist/esm/ro-a116f43c.js +66 -0
- package/dist/esm/ru-53b48473.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-7df95a79.js +339 -0
- package/dist/esm/sk-6e16e781.js +148 -0
- package/dist/esm/sl-0b5a108a.js +168 -0
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/sortableComponent-fc3d2fcf.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/esm/sr-c91ad375.js +101 -0
- package/dist/esm/sv-99a8436f.js +71 -0
- package/dist/esm/t9n-d5539b3a.js +103 -0
- package/dist/esm/th-f448c101.js +65 -0
- package/dist/esm/time-8f4af53a.js +286 -0
- package/dist/esm/tr-1c4d126e.js +66 -0
- package/dist/esm/uk-afcd7307.js +104 -0
- package/dist/esm/utils-057404c5.js +2274 -0
- package/dist/esm/utils-6391b35c.js +65 -0
- package/dist/esm/utils-6493bff2.js +121 -0
- package/dist/esm/vi-13e0626d.js +70 -0
- package/dist/esm/zh-cn-80512388.js +94 -0
- package/dist/esm/zh-hk-220c6f50.js +92 -0
- package/dist/esm/zh-tw-f9a73c0d.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +10 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/assets/t9n/card-manager/resources.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_en.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +1 -0
- package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_da.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_de.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_el.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_es.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_et.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_he.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_id.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_it.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_th.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +6 -1
- package/dist/solutions-components/demos/browse-solutions.html +124 -124
- package/dist/solutions-components/demos/buffer-tools.html +60 -61
- package/dist/solutions-components/demos/card-manager.html +93 -93
- package/dist/solutions-components/demos/create-feature.html +64 -65
- package/dist/solutions-components/demos/crowdsource-manager.html +8 -8
- package/dist/solutions-components/demos/crowdsource-reporter.html +271 -266
- package/dist/solutions-components/demos/deduct-calculator.html +30 -30
- package/dist/solutions-components/demos/demo-map.html +26 -30
- package/dist/solutions-components/demos/edit-card.html +16 -17
- package/dist/solutions-components/demos/feature-list.html +66 -67
- package/dist/solutions-components/demos/index.html +50 -22
- package/dist/solutions-components/demos/info-card.html +41 -41
- package/dist/solutions-components/demos/json-editor-2.html +35 -31
- package/dist/solutions-components/demos/json-editor.html +49 -44
- package/dist/solutions-components/demos/layer-list.html +65 -62
- package/dist/solutions-components/demos/layer-table.html +62 -63
- package/dist/solutions-components/demos/list-item.html +57 -59
- package/dist/solutions-components/demos/map-card.html +47 -49
- package/dist/solutions-components/demos/map-draw-tools.html +57 -59
- package/dist/solutions-components/demos/map-layer-picker.html +59 -61
- package/dist/solutions-components/demos/map-select-tools.html +60 -61
- package/dist/solutions-components/demos/monacoConfig.js +16 -16
- package/dist/solutions-components/demos/new-public-notification.html +115 -113
- package/dist/solutions-components/demos/new-solution-configuration.html +163 -145
- package/dist/solutions-components/demos/pci-calculator.html +30 -30
- package/dist/solutions-components/demos/pdf-download.html +53 -50
- package/dist/solutions-components/demos/solution-configuration.html +132 -121
- package/dist/solutions-components/demos/solution-contents.html +37 -32
- package/dist/solutions-components/demos/solution-group-details.html +21 -18
- package/dist/solutions-components/demos/solution-item-details.html +21 -18
- package/dist/solutions-components/demos/solution-item-icon.html +22 -19
- package/dist/solutions-components/demos/solution-item-sharing.html +10 -8
- package/dist/solutions-components/demos/solution-item.html +42 -39
- package/dist/solutions-components/demos/solution-organization-variables.html +37 -32
- package/dist/solutions-components/demos/solution-resource-item.html +11 -9
- package/dist/solutions-components/demos/solution-spatial-ref.html +35 -29
- package/dist/solutions-components/demos/solution-template-data.html +33 -29
- package/dist/solutions-components/demos/solution-variables.html +37 -32
- package/dist/solutions-components/demos/spatial-ref.html +9 -5
- package/dist/solutions-components/p-0129abe8.entry.js +11 -0
- package/dist/solutions-components/p-0238f68c.js +6 -0
- package/dist/solutions-components/p-034291c9.entry.js +11 -0
- package/dist/solutions-components/p-042c0134.entry.js +11 -0
- package/dist/solutions-components/p-052d1165.js +11 -0
- package/dist/solutions-components/p-06c581b3.js +6 -0
- package/dist/solutions-components/p-071a80fb.js +11 -0
- package/dist/solutions-components/p-0ac3d6fb.js +6 -0
- package/dist/solutions-components/p-0afbf455.js +11 -0
- package/dist/solutions-components/p-0b0d30a9.entry.js +11 -0
- package/dist/solutions-components/p-0c8cf779.js +6 -0
- package/dist/solutions-components/p-0cdda3a9.js +6 -0
- package/dist/solutions-components/p-10a4512a.entry.js +6 -0
- package/dist/solutions-components/p-11149179.js +6 -0
- package/dist/solutions-components/p-111ff298.entry.js +29 -0
- package/dist/solutions-components/p-131ca2b1.js +11 -0
- package/dist/solutions-components/p-13ac2814.js +6 -0
- package/dist/solutions-components/p-14ac7f32.js +17 -0
- package/dist/solutions-components/p-15105f4c.js +6 -0
- package/dist/solutions-components/p-15cbdc2c.entry.js +6 -0
- package/dist/solutions-components/p-16af273f.entry.js +6 -0
- package/dist/solutions-components/p-17f35552.entry.js +6 -0
- package/dist/solutions-components/p-1803e66b.entry.js +21 -0
- package/dist/solutions-components/p-18103eee.entry.js +11 -0
- package/dist/solutions-components/p-190de825.js +6 -0
- package/dist/solutions-components/p-19879c48.entry.js +6 -0
- package/dist/solutions-components/p-1b147794.js +11 -0
- package/dist/solutions-components/p-1c45b737.entry.js +6 -0
- package/dist/solutions-components/p-1e4aca17.js +6 -0
- package/dist/solutions-components/p-1fcd444d.entry.js +6 -0
- package/dist/solutions-components/p-23c70a46.entry.js +17 -0
- package/dist/solutions-components/p-2483d087.entry.js +11 -0
- package/dist/solutions-components/p-254f6e23.entry.js +6 -0
- package/dist/solutions-components/p-26a3ba5e.entry.js +6 -0
- package/dist/solutions-components/p-26ccfcc6.entry.js +6 -0
- package/dist/solutions-components/p-27a25ece.entry.js +6 -0
- package/dist/solutions-components/p-27bc7520.js +6 -0
- package/dist/solutions-components/p-27eca753.js +6 -0
- package/dist/solutions-components/p-2866ef30.js +11 -0
- package/dist/solutions-components/p-288599db.entry.js +16 -0
- package/dist/solutions-components/p-28b4de12.js +6 -0
- package/dist/solutions-components/p-29a24832.entry.js +6 -0
- package/dist/solutions-components/p-2c7a600b.js +6 -0
- package/dist/solutions-components/p-2d2386dd.entry.js +6 -0
- package/dist/solutions-components/p-2df01fbd.js +6 -0
- package/dist/solutions-components/p-30448906.entry.js +6 -0
- package/dist/solutions-components/p-30903105.entry.js +6 -0
- package/dist/solutions-components/p-313fcf40.entry.js +6 -0
- package/dist/solutions-components/p-32539121.js +16 -0
- package/dist/solutions-components/p-32b1bb0a.entry.js +11 -0
- package/dist/solutions-components/p-33601437.js +6 -0
- package/dist/solutions-components/p-351b4ea6.js +61 -0
- package/dist/solutions-components/p-363c89e1.js +6 -0
- package/dist/solutions-components/p-3795ce25.js +18 -0
- package/dist/solutions-components/p-3832f6b0.js +11 -0
- package/dist/solutions-components/p-38346d75.js +6 -0
- package/dist/solutions-components/p-39bc5b60.js +6 -0
- package/dist/solutions-components/p-3a4f0ef6.js +6 -0
- package/dist/solutions-components/p-3a4fbcf6.entry.js +6 -0
- package/dist/solutions-components/p-3a839252.entry.js +6 -0
- package/dist/solutions-components/p-3ab1d999.js +6 -0
- package/dist/solutions-components/p-3ae3fb2d.entry.js +6 -0
- package/dist/solutions-components/p-3d0e9be4.js +6 -0
- package/dist/solutions-components/p-3edf491f.js +11 -0
- package/dist/solutions-components/p-3f23fa58.js +6 -0
- package/dist/solutions-components/p-416c0818.js +11 -0
- package/dist/solutions-components/p-41c34a67.js +6 -0
- package/dist/solutions-components/p-42903dc4.entry.js +11 -0
- package/dist/solutions-components/p-432d7aac.entry.js +11 -0
- package/dist/solutions-components/p-443bb48a.js +6 -0
- package/dist/solutions-components/p-44b455ac.js +21 -0
- package/dist/solutions-components/p-458a3f01.entry.js +6 -0
- package/dist/solutions-components/p-461d72a9.entry.js +11 -0
- package/dist/solutions-components/p-4a5f4c12.js +6 -0
- package/dist/solutions-components/p-4a8da1a3.entry.js +6 -0
- package/dist/solutions-components/p-4dd4e1f5.js +11 -0
- package/dist/solutions-components/p-4e44d681.entry.js +6 -0
- package/dist/solutions-components/p-4ebde78c.entry.js +6 -0
- package/dist/solutions-components/p-517bc39b.entry.js +6 -0
- package/dist/solutions-components/p-51b004f6.js +11 -0
- package/dist/solutions-components/p-51eb6427.entry.js +11 -0
- package/dist/solutions-components/p-51f2cd4b.entry.js +6 -0
- package/dist/solutions-components/p-53e0faf4.js +12 -0
- package/dist/solutions-components/p-54713c54.js +11 -0
- package/dist/solutions-components/p-5501cb25.entry.js +17 -0
- package/dist/solutions-components/p-57729067.entry.js +11 -0
- package/dist/solutions-components/p-58d0a9e8.js +11 -0
- package/dist/solutions-components/p-5a76a4c8.entry.js +6 -0
- package/dist/solutions-components/p-5ae7ca10.js +6 -0
- package/dist/solutions-components/p-5cd51ba9.js +6 -0
- package/dist/solutions-components/p-5e901f4d.js +6 -0
- package/dist/solutions-components/p-5ea0c09b.js +6 -0
- package/dist/solutions-components/p-5fcdc5af.entry.js +12 -0
- package/dist/solutions-components/p-632a3328.js +6 -0
- package/dist/solutions-components/p-64e8c883.js +11 -0
- package/dist/solutions-components/p-667f4b68.js +6 -0
- package/dist/solutions-components/p-6b2ea220.entry.js +11 -0
- package/dist/solutions-components/p-6c44ba5f.js +16 -0
- package/dist/solutions-components/p-6d369f32.entry.js +22 -0
- package/dist/solutions-components/p-6d4f59df.js +6 -0
- package/dist/solutions-components/p-6def4549.js +11 -0
- package/dist/solutions-components/p-6df7b770.js +11 -0
- package/dist/solutions-components/p-6eaba85e.js +11 -0
- package/dist/solutions-components/p-6eba7557.entry.js +11 -0
- package/dist/solutions-components/p-6ef00d3c.js +6 -0
- package/dist/solutions-components/p-6f98db75.entry.js +11 -0
- package/dist/solutions-components/p-7090b8bc.entry.js +11 -0
- package/dist/solutions-components/p-72b4bf7a.entry.js +23 -0
- package/dist/solutions-components/p-74bd8ced.entry.js +11 -0
- package/dist/solutions-components/p-76c08334.js +16 -0
- package/dist/solutions-components/p-792a8e91.entry.js +17 -0
- package/dist/solutions-components/p-7a641e36.entry.js +6 -0
- package/dist/solutions-components/p-7b0448b1.js +6 -0
- package/dist/solutions-components/p-7c19f274.js +6 -0
- package/dist/solutions-components/p-7fa53f88.entry.js +6 -0
- package/dist/solutions-components/p-81012aaa.entry.js +6 -0
- package/dist/solutions-components/p-8145011e.entry.js +11 -0
- package/dist/solutions-components/p-8343f841.entry.js +17 -0
- package/dist/solutions-components/p-85002390.js +11 -0
- package/dist/solutions-components/p-860452b5.entry.js +11 -0
- package/dist/solutions-components/p-8704c6df.entry.js +11 -0
- package/dist/solutions-components/p-871b9b39.entry.js +6 -0
- package/dist/solutions-components/p-873a5fd1.entry.js +29 -0
- package/dist/solutions-components/p-8817162f.js +17 -0
- package/dist/solutions-components/p-886fbbe3.entry.js +6 -0
- package/dist/solutions-components/p-88934d2b.js +11 -0
- package/dist/solutions-components/p-88e391ab.entry.js +6 -0
- package/dist/solutions-components/p-89bd8016.entry.js +22 -0
- package/dist/solutions-components/p-8ad16e95.js +16 -0
- package/dist/solutions-components/p-8b54465a.js +11 -0
- package/dist/solutions-components/p-8e85d818.js +6 -0
- package/dist/solutions-components/p-8feb21be.entry.js +17 -0
- package/dist/solutions-components/p-9099acb6.js +6 -0
- package/dist/solutions-components/p-93c9be09.entry.js +17 -0
- package/dist/solutions-components/p-93d8ef73.entry.js +6 -0
- package/dist/solutions-components/p-941ec574.entry.js +6 -0
- package/dist/solutions-components/p-949a8cb7.entry.js +11 -0
- package/dist/solutions-components/p-952a4ed2.js +6 -0
- package/dist/solutions-components/p-960a4993.entry.js +6 -0
- package/dist/solutions-components/p-96a7e73d.js +11 -0
- package/dist/solutions-components/p-981ab7fc.entry.js +6 -0
- package/dist/solutions-components/p-9905a2cd.js +6 -0
- package/dist/solutions-components/p-9a4f0ae3.entry.js +11 -0
- package/dist/solutions-components/p-9ab5fbed.entry.js +17 -0
- package/dist/solutions-components/p-9bfb0a88.entry.js +17 -0
- package/dist/solutions-components/p-9edd6de9.entry.js +16 -0
- package/dist/solutions-components/p-9f943f1a.js +6 -0
- package/dist/solutions-components/p-a0b62b46.entry.js +6 -0
- package/dist/solutions-components/p-a2613102.entry.js +11 -0
- package/dist/solutions-components/p-a2c467d7.js +6 -0
- package/dist/solutions-components/p-a704be29.js +6 -0
- package/dist/solutions-components/p-a7ca67b9.js +11 -0
- package/dist/solutions-components/p-a8638d44.entry.js +11 -0
- package/dist/solutions-components/p-abafd987.entry.js +47 -0
- package/dist/solutions-components/p-abd443e4.entry.js +11 -0
- package/dist/solutions-components/p-abd99f2b.entry.js +11 -0
- package/dist/solutions-components/p-ac40d2a6.entry.js +11 -0
- package/dist/solutions-components/p-ade4a0c0.entry.js +6 -0
- package/dist/solutions-components/p-ae53daf0.js +11 -0
- package/dist/solutions-components/p-ae8ed06a.entry.js +6 -0
- package/dist/solutions-components/p-b134cc53.entry.js +11 -0
- package/dist/solutions-components/p-b1a053c7.entry.js +6 -0
- package/dist/solutions-components/p-b1b88bb9.entry.js +11 -0
- package/dist/solutions-components/p-b24985b0.entry.js +11 -0
- package/dist/solutions-components/p-b4d92441.entry.js +6 -0
- package/dist/solutions-components/p-b4f15b86.entry.js +11 -0
- package/dist/solutions-components/p-b51111e1.js +11 -0
- package/dist/solutions-components/p-b6ac459a.entry.js +11 -0
- package/dist/solutions-components/p-b715fe7e.entry.js +11 -0
- package/dist/solutions-components/p-bd989e41.js +11 -0
- package/dist/solutions-components/p-c58a3ade.entry.js +11 -0
- package/dist/solutions-components/p-c6296ee6.js +11 -0
- package/dist/solutions-components/p-c62bd2a0.entry.js +17 -0
- package/dist/solutions-components/p-c6fe3b6c.js +6 -0
- package/dist/solutions-components/p-c897ea6a.entry.js +11 -0
- package/dist/solutions-components/p-c9193d36.entry.js +6 -0
- package/dist/solutions-components/p-caa665a4.js +11 -0
- package/dist/solutions-components/p-cb860e39.js +11 -0
- package/dist/solutions-components/p-cc5e8fec.entry.js +11 -0
- package/dist/solutions-components/p-ccc3f0c4.entry.js +6 -0
- package/dist/solutions-components/p-cde4f891.entry.js +11 -0
- package/dist/solutions-components/p-cefb0487.js +489 -0
- package/dist/solutions-components/p-d29843c1.js +6 -0
- package/dist/solutions-components/p-d34db378.entry.js +21 -0
- package/dist/solutions-components/p-d3b61974.entry.js +11 -0
- package/dist/solutions-components/p-d7f00451.entry.js +11 -0
- package/dist/solutions-components/p-d81f19b5.js +6 -0
- package/dist/solutions-components/p-d9110df1.entry.js +11 -0
- package/dist/solutions-components/p-e060bbf4.entry.js +6 -0
- package/dist/solutions-components/p-e191b864.entry.js +11 -0
- package/dist/solutions-components/p-e2263afa.entry.js +11 -0
- package/dist/solutions-components/p-e2d9c1e4.entry.js +12 -0
- package/dist/solutions-components/p-e46f6b68.js +11 -0
- package/dist/solutions-components/p-e5736093.entry.js +6 -0
- package/dist/solutions-components/p-e683e142.js +6 -0
- package/dist/solutions-components/p-e6ac93e5.entry.js +11 -0
- package/dist/solutions-components/p-e7ce7ab5.entry.js +11 -0
- package/dist/solutions-components/p-e85ca9f5.entry.js +11 -0
- package/dist/solutions-components/p-e9488a2a.js +6 -0
- package/dist/solutions-components/p-eacb5b05.js +11 -0
- package/dist/solutions-components/p-ed000576.js +6 -0
- package/dist/solutions-components/p-eec49294.entry.js +11 -0
- package/dist/solutions-components/p-f123e913.entry.js +6 -0
- package/dist/solutions-components/p-f2139e1f.js +11 -0
- package/dist/solutions-components/p-f2e30760.entry.js +11 -0
- package/dist/solutions-components/p-f3cd6339.entry.js +11 -0
- package/dist/solutions-components/p-f42cdeb6.entry.js +6 -0
- package/dist/solutions-components/p-f44c8764.js +6 -0
- package/dist/solutions-components/p-f6a94b55.js +11 -0
- package/dist/solutions-components/p-f6c2f78c.js +6 -0
- package/dist/solutions-components/p-f97b2291.js +6 -0
- package/dist/solutions-components/p-fbd8a250.entry.js +12 -0
- package/dist/solutions-components/p-fc62c04b.entry.js +6 -0
- package/dist/solutions-components/p-fc68aaf4.js +6 -0
- package/dist/solutions-components/p-fc8d6dcf.js +11 -0
- package/dist/solutions-components/p-fc9301a3.entry.js +6 -0
- package/dist/solutions-components/p-fde2ea30.entry.js +6 -0
- package/dist/solutions-components/p-fe82bd8a.js +11 -0
- package/dist/solutions-components/p-ffbe2075.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/common.ts +2 -2
- package/dist/solutions-components/utils/downloadUtils.ts +37 -37
- package/dist/solutions-components/utils/interfaces.ts +18 -18
- package/dist/solutions-components/utils/locale.ts +4 -4
- package/dist/solutions-components/utils/pciUtils.ts +3 -3
- package/dist/solutions-components/utils/popupUtils.ts +1 -1
- package/dist/solutions-components/utils/queryUtils.ts +7 -4
- package/dist/solutions-components/utils/solution-store.ts +9 -10
- package/dist/solutions-components/utils/templates.ts +9 -9
- package/dist/types/components/card-manager/card-manager.d.ts +53 -0
- package/dist/types/components/create-feature/create-feature.d.ts +8 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -16
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +12 -6
- package/dist/types/components/layer-table/layer-table.d.ts +68 -6
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +8 -0
- package/dist/types/components/public-notification/public-notification.d.ts +8 -0
- package/dist/types/components.d.ts +95 -10
- package/dist/types/preact.d.ts +5 -1
- package/dist/types/utils/queryUtils.d.ts +3 -0
- package/package.json +2 -2
- package/dist/cjs/ExpandToggle-4bf03edc.js +0 -115
- package/dist/cjs/FloatingArrow-7eca410a.js +0 -48
- package/dist/cjs/Heading-2333bcd2.js +0 -25
- package/dist/cjs/Validation-aa47298a.js +0 -20
- package/dist/cjs/app-globals-7f35a2ee.js +0 -67
- package/dist/cjs/ar-cecfe7a4.js +0 -106
- package/dist/cjs/array-59824898.js +0 -17
- package/dist/cjs/bg-4fc20839.js +0 -84
- package/dist/cjs/browser-69696af0.js +0 -35
- package/dist/cjs/bs-3bffda26.js +0 -53
- package/dist/cjs/ca-368f111b.js +0 -73
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +0 -794
- package/dist/cjs/calcite-alert_4.cjs.entry.js +0 -1211
- package/dist/cjs/calcite-flow_6.cjs.entry.js +0 -1935
- package/dist/cjs/calcite-icon.cjs.entry.js +0 -199
- package/dist/cjs/calcite-input-time-picker-de202530.js +0 -1861
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -403
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -507
- package/dist/cjs/component-a4c6a35d.js +0 -33
- package/dist/cjs/conditionalSlot-6b5d9b84.js +0 -54
- package/dist/cjs/config-afe9063b.js +0 -40
- package/dist/cjs/cs-1386c8b8.js +0 -149
- package/dist/cjs/da-68d9e5ce.js +0 -69
- package/dist/cjs/date-5a57b606.js +0 -264
- package/dist/cjs/de-at-017d79c1.js +0 -92
- package/dist/cjs/de-ch-f892b97a.js +0 -92
- package/dist/cjs/de-f3b48b7d.js +0 -93
- package/dist/cjs/dom-6a9b6275.js +0 -1215
- package/dist/cjs/downloadUtils-e6e2f8c4.js +0 -3163
- package/dist/cjs/el-16691582.js +0 -68
- package/dist/cjs/en-au-3cba8189.js +0 -68
- package/dist/cjs/en-ca-e63c64a3.js +0 -67
- package/dist/cjs/en-gb-66e297eb.js +0 -71
- package/dist/cjs/es-473df127.js +0 -68
- package/dist/cjs/es-mx-b8fc355d.js +0 -67
- package/dist/cjs/et-dfe831e4.js +0 -94
- package/dist/cjs/fi-8ab8c685.js +0 -117
- package/dist/cjs/filter-1f98198b.js +0 -778
- package/dist/cjs/floating-ui-b20fd1f7.js +0 -2373
- package/dist/cjs/focusTrapComponent-a4531bc7.js +0 -1018
- package/dist/cjs/form-5229f1c8.js +0 -381
- package/dist/cjs/fr-ch-9cdf5409.js +0 -68
- package/dist/cjs/fr-fbc089e3.js +0 -70
- package/dist/cjs/guid-02e5380f.js +0 -26
- package/dist/cjs/he-33e82ae7.js +0 -107
- package/dist/cjs/helpers-3a8234e8.js +0 -940
- package/dist/cjs/hi-bc15c04d.js +0 -67
- package/dist/cjs/hr-94438cce.js +0 -82
- package/dist/cjs/hu-e076cebf.js +0 -90
- package/dist/cjs/id-81a2fef0.js +0 -68
- package/dist/cjs/index.es-fa362797.js +0 -11317
- package/dist/cjs/input-33270a99.js +0 -60
- package/dist/cjs/interactive-89f913ba.js +0 -167
- package/dist/cjs/it-549faba6.js +0 -68
- package/dist/cjs/it-ch-f2165d11.js +0 -68
- package/dist/cjs/ja-2c7ee1fb.js +0 -74
- package/dist/cjs/key-d6da79d8.js +0 -19
- package/dist/cjs/ko-ac460bc7.js +0 -74
- package/dist/cjs/label-26ee0ddb.js +0 -186
- package/dist/cjs/loadable-2e2626dc.js +0 -98
- package/dist/cjs/locale-42c21404.js +0 -605
- package/dist/cjs/locale-a1bcb6eb.js +0 -120
- package/dist/cjs/logger-1c9bfcfd.js +0 -61
- package/dist/cjs/lt-8fd46749.js +0 -99
- package/dist/cjs/lv-49bc9ddb.js +0 -68
- package/dist/cjs/mapViewUtils-8d4da732.js +0 -512
- package/dist/cjs/math-2911c0c9.js +0 -60
- package/dist/cjs/mk-5a82adab.js +0 -68
- package/dist/cjs/nb-24cd76dd.js +0 -69
- package/dist/cjs/nl-f6394232.js +0 -69
- package/dist/cjs/observers-8fed90f3.js +0 -58
- package/dist/cjs/openCloseComponent-14628d11.js +0 -65
- package/dist/cjs/pl-1b2c1ac1.js +0 -116
- package/dist/cjs/popupUtils-47bd97e7.js +0 -121
- package/dist/cjs/pt-b9970ff4.js +0 -69
- package/dist/cjs/pt-br-bfdc1da5.js +0 -67
- package/dist/cjs/resources-151788f3.js +0 -23
- package/dist/cjs/resources-3eec4ddc.js +0 -27
- package/dist/cjs/resources-41443a57.js +0 -26
- package/dist/cjs/resources-44478618.js +0 -29
- package/dist/cjs/resources-9fb1bc89.js +0 -68
- package/dist/cjs/resources-dfe71ff2.js +0 -39
- package/dist/cjs/resources-e23d63db.js +0 -39
- package/dist/cjs/resources-e96455bb.js +0 -68
- package/dist/cjs/resources-ed5f0434.js +0 -21
- package/dist/cjs/resources-fac4579f.js +0 -23
- package/dist/cjs/ro-d3dcee3e.js +0 -68
- package/dist/cjs/ru-86dc7992.js +0 -128
- package/dist/cjs/shared-list-render-54fa8d30.js +0 -361
- package/dist/cjs/sk-f4477e9e.js +0 -150
- package/dist/cjs/sl-056c7a3e.js +0 -170
- package/dist/cjs/sortableComponent-9bfb9488.js +0 -2748
- package/dist/cjs/sr-98be5235.js +0 -103
- package/dist/cjs/sv-cb8dd245.js +0 -73
- package/dist/cjs/t9n-42ba6ea3.js +0 -108
- package/dist/cjs/th-9d1805bf.js +0 -67
- package/dist/cjs/time-d48f5d3e.js +0 -301
- package/dist/cjs/tr-833a6ecc.js +0 -68
- package/dist/cjs/uk-df027a8a.js +0 -106
- package/dist/cjs/utils-051e0119.js +0 -78
- package/dist/cjs/utils-357c41eb.js +0 -2304
- package/dist/cjs/utils-a2799a10.js +0 -130
- package/dist/cjs/vi-2f15ae72.js +0 -72
- package/dist/cjs/zh-cn-ede80e9d.js +0 -96
- package/dist/cjs/zh-hk-5de99bec.js +0 -94
- package/dist/cjs/zh-tw-9cf1d1bd.js +0 -94
- package/dist/esm/ExpandToggle-bddb5e82.js +0 -108
- package/dist/esm/FloatingArrow-adf66cf8.js +0 -46
- package/dist/esm/Heading-20345c69.js +0 -22
- package/dist/esm/Validation-63949b7d.js +0 -18
- package/dist/esm/app-globals-5d3ac5ed.js +0 -65
- package/dist/esm/ar-c466a382.js +0 -104
- package/dist/esm/array-dd6e2c7d.js +0 -15
- package/dist/esm/bg-9cb15225.js +0 -82
- package/dist/esm/browser-552eb2d0.js +0 -32
- package/dist/esm/bs-f5629d7c.js +0 -51
- package/dist/esm/ca-4bf4a8d1.js +0 -71
- package/dist/esm/calcite-action-menu_3.entry.js +0 -788
- package/dist/esm/calcite-alert_4.entry.js +0 -1204
- package/dist/esm/calcite-flow_6.entry.js +0 -1926
- package/dist/esm/calcite-icon.entry.js +0 -195
- package/dist/esm/calcite-input-time-picker-60dbdc25.js +0 -1858
- package/dist/esm/calcite-modal.entry.js +0 -399
- package/dist/esm/calcite-panel_2.entry.js +0 -502
- package/dist/esm/component-c2c32481.js +0 -30
- package/dist/esm/conditionalSlot-60e775f3.js +0 -51
- package/dist/esm/config-2fa7bb77.js +0 -36
- package/dist/esm/cs-41ed0d89.js +0 -147
- package/dist/esm/da-a8c74a48.js +0 -67
- package/dist/esm/date-45f24c42.js +0 -248
- package/dist/esm/de-9a636f1a.js +0 -91
- package/dist/esm/de-at-26352836.js +0 -90
- package/dist/esm/de-ch-25495449.js +0 -90
- package/dist/esm/dom-b5c50286.js +0 -1180
- package/dist/esm/downloadUtils-74bc82ae.js +0 -3156
- package/dist/esm/el-82ffddec.js +0 -66
- package/dist/esm/en-au-0f081a3c.js +0 -66
- package/dist/esm/en-ca-f04aeac2.js +0 -65
- package/dist/esm/en-gb-81e968d6.js +0 -69
- package/dist/esm/es-e058977a.js +0 -66
- package/dist/esm/es-mx-14a1f320.js +0 -65
- package/dist/esm/et-4a06c642.js +0 -92
- package/dist/esm/fi-9673a0e6.js +0 -115
- package/dist/esm/filter-23b3858b.js +0 -775
- package/dist/esm/floating-ui-ba0acfca.js +0 -2365
- package/dist/esm/focusTrapComponent-6ec0f681.js +0 -1013
- package/dist/esm/form-ba965042.js +0 -372
- package/dist/esm/fr-94ff7253.js +0 -68
- package/dist/esm/fr-ch-00b7e60e.js +0 -66
- package/dist/esm/guid-4c746a7f.js +0 -24
- package/dist/esm/he-faefbd69.js +0 -105
- package/dist/esm/helpers-3be8dbbc.js +0 -913
- package/dist/esm/hi-923b9ffd.js +0 -65
- package/dist/esm/hr-6ed6939b.js +0 -80
- package/dist/esm/hu-25918d1e.js +0 -88
- package/dist/esm/id-520427a1.js +0 -66
- package/dist/esm/index.es-40ce1695.js +0 -11230
- package/dist/esm/input-d11f5ac8.js +0 -58
- package/dist/esm/interactive-742ba555.js +0 -162
- package/dist/esm/it-7751f7dc.js +0 -66
- package/dist/esm/it-ch-cec3226b.js +0 -66
- package/dist/esm/ja-1df4233a.js +0 -72
- package/dist/esm/key-58898f0a.js +0 -16
- package/dist/esm/ko-a104769f.js +0 -72
- package/dist/esm/label-0b82858a.js +0 -179
- package/dist/esm/loadable-73f289b6.js +0 -93
- package/dist/esm/locale-21e40b0c.js +0 -591
- package/dist/esm/locale-adb5ff0b.js +0 -115
- package/dist/esm/logger-0d6e5bfe.js +0 -59
- package/dist/esm/lt-747213da.js +0 -97
- package/dist/esm/lv-06088b99.js +0 -66
- package/dist/esm/mapViewUtils-3e3d33ea.js +0 -494
- package/dist/esm/math-8c04292e.js +0 -54
- package/dist/esm/mk-5f581ea0.js +0 -66
- package/dist/esm/nb-f9d01bec.js +0 -67
- package/dist/esm/nl-48b9338d.js +0 -67
- package/dist/esm/observers-e2484555.js +0 -56
- package/dist/esm/openCloseComponent-7b8f2e24.js +0 -63
- package/dist/esm/pl-2ff50be7.js +0 -114
- package/dist/esm/popupUtils-349a26e6.js +0 -119
- package/dist/esm/pt-br-45ae496b.js +0 -65
- package/dist/esm/pt-ed25c80b.js +0 -67
- package/dist/esm/resources-2d6e35cf.js +0 -20
- package/dist/esm/resources-30b747d4.js +0 -23
- package/dist/esm/resources-5ba50a1d.js +0 -19
- package/dist/esm/resources-64237427.js +0 -63
- package/dist/esm/resources-8665df6b.js +0 -62
- package/dist/esm/resources-896b6b00.js +0 -35
- package/dist/esm/resources-8f90cf93.js +0 -22
- package/dist/esm/resources-bc5c2adb.js +0 -21
- package/dist/esm/resources-cfbcc1ed.js +0 -24
- package/dist/esm/resources-defbb49f.js +0 -34
- package/dist/esm/ro-c5727d93.js +0 -66
- package/dist/esm/ru-ecb35906.js +0 -126
- package/dist/esm/shared-list-render-4053f1dc.js +0 -339
- package/dist/esm/sk-e9c31458.js +0 -148
- package/dist/esm/sl-063df216.js +0 -168
- package/dist/esm/sortableComponent-3f9e9322.js +0 -2745
- package/dist/esm/sr-68f70e45.js +0 -101
- package/dist/esm/sv-b5a85ee5.js +0 -71
- package/dist/esm/t9n-2fb3af62.js +0 -103
- package/dist/esm/th-3a5ed31b.js +0 -65
- package/dist/esm/time-a215e415.js +0 -286
- package/dist/esm/tr-b8829177.js +0 -66
- package/dist/esm/uk-c74df043.js +0 -104
- package/dist/esm/utils-13c5908e.js +0 -65
- package/dist/esm/utils-1f0d1828.js +0 -2274
- package/dist/esm/utils-5b977646.js +0 -121
- package/dist/esm/vi-a5092b10.js +0 -70
- package/dist/esm/zh-cn-f1e998fb.js +0 -94
- package/dist/esm/zh-hk-3ec32fe3.js +0 -92
- package/dist/esm/zh-tw-33f4a290.js +0 -92
- package/dist/solutions-components/p-0005175a.js +0 -16
- package/dist/solutions-components/p-00d131cd.entry.js +0 -11
- package/dist/solutions-components/p-013188f8.entry.js +0 -6
- package/dist/solutions-components/p-01df774b.js +0 -11
- package/dist/solutions-components/p-0215daed.js +0 -6
- package/dist/solutions-components/p-022c49af.js +0 -489
- package/dist/solutions-components/p-04f09e7f.entry.js +0 -11
- package/dist/solutions-components/p-05b7d3ce.js +0 -6
- package/dist/solutions-components/p-06084e6c.js +0 -11
- package/dist/solutions-components/p-089bc565.js +0 -11
- package/dist/solutions-components/p-0fe5de6b.entry.js +0 -6
- package/dist/solutions-components/p-1061076b.js +0 -6
- package/dist/solutions-components/p-14fbc662.js +0 -11
- package/dist/solutions-components/p-1500d4c7.js +0 -6
- package/dist/solutions-components/p-15622ace.entry.js +0 -11
- package/dist/solutions-components/p-16d4eb72.entry.js +0 -16
- package/dist/solutions-components/p-172fcecd.entry.js +0 -11
- package/dist/solutions-components/p-1892c357.js +0 -11
- package/dist/solutions-components/p-18f18ab3.js +0 -11
- package/dist/solutions-components/p-1900269a.entry.js +0 -6
- package/dist/solutions-components/p-19a942c4.entry.js +0 -16
- package/dist/solutions-components/p-1a9a47a0.js +0 -11
- package/dist/solutions-components/p-1bbe9e22.js +0 -6
- package/dist/solutions-components/p-1d71e81f.js +0 -11
- package/dist/solutions-components/p-1d99dfcd.entry.js +0 -11
- package/dist/solutions-components/p-1e455668.js +0 -6
- package/dist/solutions-components/p-1ed47f10.entry.js +0 -21
- package/dist/solutions-components/p-207b4e70.entry.js +0 -11
- package/dist/solutions-components/p-24997e81.js +0 -6
- package/dist/solutions-components/p-25a1fe4d.js +0 -6
- package/dist/solutions-components/p-25c584f4.entry.js +0 -17
- package/dist/solutions-components/p-26eb6f09.js +0 -6
- package/dist/solutions-components/p-274cad02.entry.js +0 -6
- package/dist/solutions-components/p-2ab773ed.js +0 -6
- package/dist/solutions-components/p-2ed8e994.entry.js +0 -17
- package/dist/solutions-components/p-3110db7a.entry.js +0 -6
- package/dist/solutions-components/p-31f7dd8e.entry.js +0 -6
- package/dist/solutions-components/p-32be7387.js +0 -6
- package/dist/solutions-components/p-336b8f46.js +0 -6
- package/dist/solutions-components/p-371dbb0f.entry.js +0 -6
- package/dist/solutions-components/p-388725c2.entry.js +0 -6
- package/dist/solutions-components/p-3917c6f8.entry.js +0 -11
- package/dist/solutions-components/p-3a74aab6.entry.js +0 -6
- package/dist/solutions-components/p-3c1945a9.js +0 -6
- package/dist/solutions-components/p-3d0666fe.js +0 -6
- package/dist/solutions-components/p-3d6b18ec.entry.js +0 -11
- package/dist/solutions-components/p-3df511e0.entry.js +0 -6
- package/dist/solutions-components/p-3eff6da3.js +0 -11
- package/dist/solutions-components/p-3f9238e9.entry.js +0 -11
- package/dist/solutions-components/p-40724bfb.js +0 -11
- package/dist/solutions-components/p-40d7e510.js +0 -6
- package/dist/solutions-components/p-415cf05e.js +0 -12
- package/dist/solutions-components/p-4216af0e.js +0 -6
- package/dist/solutions-components/p-42a8493c.entry.js +0 -6
- package/dist/solutions-components/p-44240d03.js +0 -18
- package/dist/solutions-components/p-4514dc6f.entry.js +0 -11
- package/dist/solutions-components/p-47f6f996.entry.js +0 -6
- package/dist/solutions-components/p-49118e69.js +0 -6
- package/dist/solutions-components/p-4d44410b.entry.js +0 -6
- package/dist/solutions-components/p-4de4fff6.entry.js +0 -6
- package/dist/solutions-components/p-4f06e105.entry.js +0 -11
- package/dist/solutions-components/p-4f074a84.entry.js +0 -11
- package/dist/solutions-components/p-4f474f64.js +0 -6
- package/dist/solutions-components/p-4fc5ab17.js +0 -6
- package/dist/solutions-components/p-51270f04.entry.js +0 -6
- package/dist/solutions-components/p-52576649.entry.js +0 -17
- package/dist/solutions-components/p-534cd147.js +0 -6
- package/dist/solutions-components/p-544cd7fd.entry.js +0 -11
- package/dist/solutions-components/p-56601650.js +0 -11
- package/dist/solutions-components/p-569ccf2c.entry.js +0 -11
- package/dist/solutions-components/p-56b9dc0d.entry.js +0 -11
- package/dist/solutions-components/p-580a4537.js +0 -11
- package/dist/solutions-components/p-58405b19.entry.js +0 -11
- package/dist/solutions-components/p-5a473f0d.js +0 -21
- package/dist/solutions-components/p-5c1366f7.entry.js +0 -11
- package/dist/solutions-components/p-5cca7ef7.entry.js +0 -17
- package/dist/solutions-components/p-6070857c.js +0 -6
- package/dist/solutions-components/p-61f47dfa.entry.js +0 -11
- package/dist/solutions-components/p-621e306e.js +0 -6
- package/dist/solutions-components/p-62c6764c.js +0 -6
- package/dist/solutions-components/p-66be22db.entry.js +0 -11
- package/dist/solutions-components/p-682d053f.entry.js +0 -6
- package/dist/solutions-components/p-68ec5c15.js +0 -17
- package/dist/solutions-components/p-6d6c3d56.js +0 -6
- package/dist/solutions-components/p-6f253995.js +0 -61
- package/dist/solutions-components/p-6fb5c228.entry.js +0 -11
- package/dist/solutions-components/p-712269bc.entry.js +0 -29
- package/dist/solutions-components/p-7324cb9f.js +0 -6
- package/dist/solutions-components/p-7699e80b.js +0 -11
- package/dist/solutions-components/p-7a61d771.entry.js +0 -11
- package/dist/solutions-components/p-7b0b9681.js +0 -6
- package/dist/solutions-components/p-7b68d1ea.js +0 -6
- package/dist/solutions-components/p-7bfecd07.js +0 -6
- package/dist/solutions-components/p-7c00971f.js +0 -6
- package/dist/solutions-components/p-7ca6f4d5.entry.js +0 -6
- package/dist/solutions-components/p-7d32b6a4.entry.js +0 -11
- package/dist/solutions-components/p-7d484762.entry.js +0 -6
- package/dist/solutions-components/p-81790f41.js +0 -6
- package/dist/solutions-components/p-8241cd35.js +0 -11
- package/dist/solutions-components/p-83786108.js +0 -6
- package/dist/solutions-components/p-84a049f7.entry.js +0 -6
- package/dist/solutions-components/p-8524bacc.js +0 -11
- package/dist/solutions-components/p-86d877d8.entry.js +0 -17
- package/dist/solutions-components/p-89195780.entry.js +0 -29
- package/dist/solutions-components/p-8a177acd.entry.js +0 -11
- package/dist/solutions-components/p-8c2d05c1.js +0 -6
- package/dist/solutions-components/p-8ce7e559.entry.js +0 -11
- package/dist/solutions-components/p-8d576a9a.js +0 -6
- package/dist/solutions-components/p-8df67871.entry.js +0 -11
- package/dist/solutions-components/p-8efa9edf.entry.js +0 -6
- package/dist/solutions-components/p-8f07cef3.entry.js +0 -11
- package/dist/solutions-components/p-8f0ee4b0.js +0 -17
- package/dist/solutions-components/p-8f218bfe.entry.js +0 -11
- package/dist/solutions-components/p-92baaf77.entry.js +0 -11
- package/dist/solutions-components/p-939bc1b4.js +0 -16
- package/dist/solutions-components/p-93fd86cd.entry.js +0 -6
- package/dist/solutions-components/p-969008d8.entry.js +0 -6
- package/dist/solutions-components/p-97331a60.entry.js +0 -12
- package/dist/solutions-components/p-977f2314.entry.js +0 -6
- package/dist/solutions-components/p-99af3f50.js +0 -6
- package/dist/solutions-components/p-9ab3df4f.js +0 -11
- package/dist/solutions-components/p-9b83e593.entry.js +0 -6
- package/dist/solutions-components/p-9d0528ac.js +0 -6
- package/dist/solutions-components/p-9dc4186e.entry.js +0 -11
- package/dist/solutions-components/p-9ec1aa8c.js +0 -6
- package/dist/solutions-components/p-9f0b8f8b.js +0 -11
- package/dist/solutions-components/p-9f574f86.entry.js +0 -6
- package/dist/solutions-components/p-9f63a45c.js +0 -11
- package/dist/solutions-components/p-9f8b30b5.entry.js +0 -11
- package/dist/solutions-components/p-a0db88ed.js +0 -6
- package/dist/solutions-components/p-a2246051.entry.js +0 -17
- package/dist/solutions-components/p-a432f638.entry.js +0 -6
- package/dist/solutions-components/p-a474882d.js +0 -6
- package/dist/solutions-components/p-a5609b81.js +0 -11
- package/dist/solutions-components/p-a6935ddf.js +0 -6
- package/dist/solutions-components/p-a72f5cc6.js +0 -6
- package/dist/solutions-components/p-a84b3d50.js +0 -6
- package/dist/solutions-components/p-a858460b.entry.js +0 -47
- package/dist/solutions-components/p-a94a0072.js +0 -6
- package/dist/solutions-components/p-a957cdd8.entry.js +0 -11
- package/dist/solutions-components/p-aa0ac2d2.js +0 -16
- package/dist/solutions-components/p-aa3140aa.entry.js +0 -6
- package/dist/solutions-components/p-aa71106f.entry.js +0 -11
- package/dist/solutions-components/p-abd3e579.entry.js +0 -6
- package/dist/solutions-components/p-ac52e0ba.js +0 -11
- package/dist/solutions-components/p-acaae81d.js +0 -11
- package/dist/solutions-components/p-aeb86188.js +0 -11
- package/dist/solutions-components/p-afcd5996.js +0 -11
- package/dist/solutions-components/p-b12af1e0.entry.js +0 -17
- package/dist/solutions-components/p-b1bc21ac.js +0 -11
- package/dist/solutions-components/p-b39c5275.js +0 -11
- package/dist/solutions-components/p-b3f2bb6f.js +0 -6
- package/dist/solutions-components/p-b448a7a7.js +0 -6
- package/dist/solutions-components/p-b5963a0f.js +0 -6
- package/dist/solutions-components/p-b7c200a0.entry.js +0 -12
- package/dist/solutions-components/p-bb9ac684.entry.js +0 -6
- package/dist/solutions-components/p-bc0aaf2f.entry.js +0 -11
- package/dist/solutions-components/p-bc14b643.entry.js +0 -12
- package/dist/solutions-components/p-bc1d8894.js +0 -11
- package/dist/solutions-components/p-bc33d298.js +0 -6
- package/dist/solutions-components/p-bcc79697.js +0 -11
- package/dist/solutions-components/p-beb23ced.entry.js +0 -6
- package/dist/solutions-components/p-bef2141e.entry.js +0 -6
- package/dist/solutions-components/p-bfa395e9.js +0 -6
- package/dist/solutions-components/p-c2964e00.entry.js +0 -11
- package/dist/solutions-components/p-c5e13ebc.js +0 -11
- package/dist/solutions-components/p-c638d28e.js +0 -11
- package/dist/solutions-components/p-c71745d0.entry.js +0 -6
- package/dist/solutions-components/p-c7e2d3e6.entry.js +0 -6
- package/dist/solutions-components/p-c89f1175.entry.js +0 -11
- package/dist/solutions-components/p-c8b149b8.entry.js +0 -6
- package/dist/solutions-components/p-c911c46d.entry.js +0 -11
- package/dist/solutions-components/p-c9a45311.entry.js +0 -6
- package/dist/solutions-components/p-ca3430fd.entry.js +0 -21
- package/dist/solutions-components/p-ca65d7ff.entry.js +0 -12
- package/dist/solutions-components/p-cabc6e5c.entry.js +0 -17
- package/dist/solutions-components/p-cb5ddaae.js +0 -6
- package/dist/solutions-components/p-cb5de432.entry.js +0 -11
- package/dist/solutions-components/p-d3453ce8.entry.js +0 -6
- package/dist/solutions-components/p-d4d4b4e3.entry.js +0 -6
- package/dist/solutions-components/p-d4e58347.entry.js +0 -6
- package/dist/solutions-components/p-d52da3ad.js +0 -6
- package/dist/solutions-components/p-d559f79c.js +0 -11
- package/dist/solutions-components/p-d5dae468.js +0 -6
- package/dist/solutions-components/p-d62336e2.entry.js +0 -6
- package/dist/solutions-components/p-d6e62ea2.js +0 -6
- package/dist/solutions-components/p-da713b07.entry.js +0 -6
- package/dist/solutions-components/p-da9cee72.entry.js +0 -11
- package/dist/solutions-components/p-dc58c4da.entry.js +0 -6
- package/dist/solutions-components/p-dc7710b5.js +0 -11
- package/dist/solutions-components/p-dd3530da.entry.js +0 -11
- package/dist/solutions-components/p-de02a060.entry.js +0 -11
- package/dist/solutions-components/p-de197552.js +0 -6
- package/dist/solutions-components/p-df191993.entry.js +0 -11
- package/dist/solutions-components/p-e1917512.js +0 -6
- package/dist/solutions-components/p-e33e07a4.entry.js +0 -11
- package/dist/solutions-components/p-e83d2d34.entry.js +0 -24
- package/dist/solutions-components/p-e98c4f93.js +0 -11
- package/dist/solutions-components/p-ead8696c.js +0 -16
- package/dist/solutions-components/p-ec702c30.entry.js +0 -11
- package/dist/solutions-components/p-ed60dff0.entry.js +0 -11
- package/dist/solutions-components/p-ed7cba2a.entry.js +0 -11
- package/dist/solutions-components/p-ee157540.entry.js +0 -22
- package/dist/solutions-components/p-eeaa122b.entry.js +0 -11
- package/dist/solutions-components/p-ef4f2c1d.entry.js +0 -6
- package/dist/solutions-components/p-f0345689.entry.js +0 -16
- package/dist/solutions-components/p-f25d5c18.entry.js +0 -6
- package/dist/solutions-components/p-f31a44b7.js +0 -11
- package/dist/solutions-components/p-f32f57a3.entry.js +0 -6
- package/dist/solutions-components/p-f4750f05.entry.js +0 -17
- package/dist/solutions-components/p-f47d6a10.entry.js +0 -11
- package/dist/solutions-components/p-f6bc95b3.entry.js +0 -11
- package/dist/solutions-components/p-f89104bc.entry.js +0 -6
- package/dist/solutions-components/p-f91ae108.entry.js +0 -6
- package/dist/solutions-components/p-f9393949.entry.js +0 -6
- package/dist/solutions-components/p-fc58da4b.entry.js +0 -6
- package/dist/solutions-components/p-fce978b9.entry.js +0 -6
- package/dist/solutions-components/p-fe6f7734.js +0 -11
- package/dist/solutions-components/p-ff8343ec.js +0 -11
- /package/dist/solutions-components/{p-eb483242.js → p-d572627c.js} +0 -0
@@ -0,0 +1,2748 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
/**!
|
9
|
+
* Sortable 1.15.1
|
10
|
+
* @author RubaXa <trash@rubaxa.org>
|
11
|
+
* @author owenm <owen23355@gmail.com>
|
12
|
+
* @license MIT
|
13
|
+
*/
|
14
|
+
function ownKeys(object, enumerableOnly) {
|
15
|
+
var keys = Object.keys(object);
|
16
|
+
if (Object.getOwnPropertySymbols) {
|
17
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
18
|
+
if (enumerableOnly) {
|
19
|
+
symbols = symbols.filter(function (sym) {
|
20
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
21
|
+
});
|
22
|
+
}
|
23
|
+
keys.push.apply(keys, symbols);
|
24
|
+
}
|
25
|
+
return keys;
|
26
|
+
}
|
27
|
+
function _objectSpread2(target) {
|
28
|
+
for (var i = 1; i < arguments.length; i++) {
|
29
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
30
|
+
if (i % 2) {
|
31
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
32
|
+
_defineProperty(target, key, source[key]);
|
33
|
+
});
|
34
|
+
} else if (Object.getOwnPropertyDescriptors) {
|
35
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
36
|
+
} else {
|
37
|
+
ownKeys(Object(source)).forEach(function (key) {
|
38
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
39
|
+
});
|
40
|
+
}
|
41
|
+
}
|
42
|
+
return target;
|
43
|
+
}
|
44
|
+
function _typeof(obj) {
|
45
|
+
"@babel/helpers - typeof";
|
46
|
+
|
47
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
48
|
+
_typeof = function (obj) {
|
49
|
+
return typeof obj;
|
50
|
+
};
|
51
|
+
} else {
|
52
|
+
_typeof = function (obj) {
|
53
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
54
|
+
};
|
55
|
+
}
|
56
|
+
return _typeof(obj);
|
57
|
+
}
|
58
|
+
function _defineProperty(obj, key, value) {
|
59
|
+
if (key in obj) {
|
60
|
+
Object.defineProperty(obj, key, {
|
61
|
+
value: value,
|
62
|
+
enumerable: true,
|
63
|
+
configurable: true,
|
64
|
+
writable: true
|
65
|
+
});
|
66
|
+
} else {
|
67
|
+
obj[key] = value;
|
68
|
+
}
|
69
|
+
return obj;
|
70
|
+
}
|
71
|
+
function _extends() {
|
72
|
+
_extends = Object.assign || function (target) {
|
73
|
+
for (var i = 1; i < arguments.length; i++) {
|
74
|
+
var source = arguments[i];
|
75
|
+
for (var key in source) {
|
76
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
77
|
+
target[key] = source[key];
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
return target;
|
82
|
+
};
|
83
|
+
return _extends.apply(this, arguments);
|
84
|
+
}
|
85
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
86
|
+
if (source == null) return {};
|
87
|
+
var target = {};
|
88
|
+
var sourceKeys = Object.keys(source);
|
89
|
+
var key, i;
|
90
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
91
|
+
key = sourceKeys[i];
|
92
|
+
if (excluded.indexOf(key) >= 0) continue;
|
93
|
+
target[key] = source[key];
|
94
|
+
}
|
95
|
+
return target;
|
96
|
+
}
|
97
|
+
function _objectWithoutProperties(source, excluded) {
|
98
|
+
if (source == null) return {};
|
99
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
100
|
+
var key, i;
|
101
|
+
if (Object.getOwnPropertySymbols) {
|
102
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
103
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
104
|
+
key = sourceSymbolKeys[i];
|
105
|
+
if (excluded.indexOf(key) >= 0) continue;
|
106
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
107
|
+
target[key] = source[key];
|
108
|
+
}
|
109
|
+
}
|
110
|
+
return target;
|
111
|
+
}
|
112
|
+
|
113
|
+
var version = "1.15.1";
|
114
|
+
|
115
|
+
function userAgent(pattern) {
|
116
|
+
if (typeof window !== 'undefined' && window.navigator) {
|
117
|
+
return !! /*@__PURE__*/navigator.userAgent.match(pattern);
|
118
|
+
}
|
119
|
+
}
|
120
|
+
var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
|
121
|
+
var Edge = userAgent(/Edge/i);
|
122
|
+
var FireFox = userAgent(/firefox/i);
|
123
|
+
var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
|
124
|
+
var IOS = userAgent(/iP(ad|od|hone)/i);
|
125
|
+
var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
|
126
|
+
|
127
|
+
var captureMode = {
|
128
|
+
capture: false,
|
129
|
+
passive: false
|
130
|
+
};
|
131
|
+
function on(el, event, fn) {
|
132
|
+
el.addEventListener(event, fn, !IE11OrLess && captureMode);
|
133
|
+
}
|
134
|
+
function off(el, event, fn) {
|
135
|
+
el.removeEventListener(event, fn, !IE11OrLess && captureMode);
|
136
|
+
}
|
137
|
+
function matches( /**HTMLElement*/el, /**String*/selector) {
|
138
|
+
if (!selector) return;
|
139
|
+
selector[0] === '>' && (selector = selector.substring(1));
|
140
|
+
if (el) {
|
141
|
+
try {
|
142
|
+
if (el.matches) {
|
143
|
+
return el.matches(selector);
|
144
|
+
} else if (el.msMatchesSelector) {
|
145
|
+
return el.msMatchesSelector(selector);
|
146
|
+
} else if (el.webkitMatchesSelector) {
|
147
|
+
return el.webkitMatchesSelector(selector);
|
148
|
+
}
|
149
|
+
} catch (_) {
|
150
|
+
return false;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
return false;
|
154
|
+
}
|
155
|
+
function getParentOrHost(el) {
|
156
|
+
return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
|
157
|
+
}
|
158
|
+
function closest( /**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) {
|
159
|
+
if (el) {
|
160
|
+
ctx = ctx || document;
|
161
|
+
do {
|
162
|
+
if (selector != null && (selector[0] === '>' ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
|
163
|
+
return el;
|
164
|
+
}
|
165
|
+
if (el === ctx) break;
|
166
|
+
/* jshint boss:true */
|
167
|
+
} while (el = getParentOrHost(el));
|
168
|
+
}
|
169
|
+
return null;
|
170
|
+
}
|
171
|
+
var R_SPACE = /\s+/g;
|
172
|
+
function toggleClass(el, name, state) {
|
173
|
+
if (el && name) {
|
174
|
+
if (el.classList) {
|
175
|
+
el.classList[state ? 'add' : 'remove'](name);
|
176
|
+
} else {
|
177
|
+
var className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' ');
|
178
|
+
el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' ');
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
function css(el, prop, val) {
|
183
|
+
var style = el && el.style;
|
184
|
+
if (style) {
|
185
|
+
if (val === void 0) {
|
186
|
+
if (document.defaultView && document.defaultView.getComputedStyle) {
|
187
|
+
val = document.defaultView.getComputedStyle(el, '');
|
188
|
+
} else if (el.currentStyle) {
|
189
|
+
val = el.currentStyle;
|
190
|
+
}
|
191
|
+
return prop === void 0 ? val : val[prop];
|
192
|
+
} else {
|
193
|
+
if (!(prop in style) && prop.indexOf('webkit') === -1) {
|
194
|
+
prop = '-webkit-' + prop;
|
195
|
+
}
|
196
|
+
style[prop] = val + (typeof val === 'string' ? '' : 'px');
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
function matrix(el, selfOnly) {
|
201
|
+
var appliedTransforms = '';
|
202
|
+
if (typeof el === 'string') {
|
203
|
+
appliedTransforms = el;
|
204
|
+
} else {
|
205
|
+
do {
|
206
|
+
var transform = css(el, 'transform');
|
207
|
+
if (transform && transform !== 'none') {
|
208
|
+
appliedTransforms = transform + ' ' + appliedTransforms;
|
209
|
+
}
|
210
|
+
/* jshint boss:true */
|
211
|
+
} while (!selfOnly && (el = el.parentNode));
|
212
|
+
}
|
213
|
+
var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
214
|
+
/*jshint -W056 */
|
215
|
+
return matrixFn && new matrixFn(appliedTransforms);
|
216
|
+
}
|
217
|
+
function find(ctx, tagName, iterator) {
|
218
|
+
if (ctx) {
|
219
|
+
var list = ctx.getElementsByTagName(tagName),
|
220
|
+
i = 0,
|
221
|
+
n = list.length;
|
222
|
+
if (iterator) {
|
223
|
+
for (; i < n; i++) {
|
224
|
+
iterator(list[i], i);
|
225
|
+
}
|
226
|
+
}
|
227
|
+
return list;
|
228
|
+
}
|
229
|
+
return [];
|
230
|
+
}
|
231
|
+
function getWindowScrollingElement() {
|
232
|
+
var scrollingElement = document.scrollingElement;
|
233
|
+
if (scrollingElement) {
|
234
|
+
return scrollingElement;
|
235
|
+
} else {
|
236
|
+
return document.documentElement;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
/**
|
241
|
+
* Returns the "bounding client rect" of given element
|
242
|
+
* @param {HTMLElement} el The element whose boundingClientRect is wanted
|
243
|
+
* @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
|
244
|
+
* @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
|
245
|
+
* @param {[Boolean]} undoScale Whether the container's scale() should be undone
|
246
|
+
* @param {[HTMLElement]} container The parent the element will be placed in
|
247
|
+
* @return {Object} The boundingClientRect of el, with specified adjustments
|
248
|
+
*/
|
249
|
+
function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
|
250
|
+
if (!el.getBoundingClientRect && el !== window) return;
|
251
|
+
var elRect, top, left, bottom, right, height, width;
|
252
|
+
if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
|
253
|
+
elRect = el.getBoundingClientRect();
|
254
|
+
top = elRect.top;
|
255
|
+
left = elRect.left;
|
256
|
+
bottom = elRect.bottom;
|
257
|
+
right = elRect.right;
|
258
|
+
height = elRect.height;
|
259
|
+
width = elRect.width;
|
260
|
+
} else {
|
261
|
+
top = 0;
|
262
|
+
left = 0;
|
263
|
+
bottom = window.innerHeight;
|
264
|
+
right = window.innerWidth;
|
265
|
+
height = window.innerHeight;
|
266
|
+
width = window.innerWidth;
|
267
|
+
}
|
268
|
+
if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
|
269
|
+
// Adjust for translate()
|
270
|
+
container = container || el.parentNode;
|
271
|
+
|
272
|
+
// solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)
|
273
|
+
// Not needed on <= IE11
|
274
|
+
if (!IE11OrLess) {
|
275
|
+
do {
|
276
|
+
if (container && container.getBoundingClientRect && (css(container, 'transform') !== 'none' || relativeToNonStaticParent && css(container, 'position') !== 'static')) {
|
277
|
+
var containerRect = container.getBoundingClientRect();
|
278
|
+
|
279
|
+
// Set relative to edges of padding box of container
|
280
|
+
top -= containerRect.top + parseInt(css(container, 'border-top-width'));
|
281
|
+
left -= containerRect.left + parseInt(css(container, 'border-left-width'));
|
282
|
+
bottom = top + elRect.height;
|
283
|
+
right = left + elRect.width;
|
284
|
+
break;
|
285
|
+
}
|
286
|
+
/* jshint boss:true */
|
287
|
+
} while (container = container.parentNode);
|
288
|
+
}
|
289
|
+
}
|
290
|
+
if (undoScale && el !== window) {
|
291
|
+
// Adjust for scale()
|
292
|
+
var elMatrix = matrix(container || el),
|
293
|
+
scaleX = elMatrix && elMatrix.a,
|
294
|
+
scaleY = elMatrix && elMatrix.d;
|
295
|
+
if (elMatrix) {
|
296
|
+
top /= scaleY;
|
297
|
+
left /= scaleX;
|
298
|
+
width /= scaleX;
|
299
|
+
height /= scaleY;
|
300
|
+
bottom = top + height;
|
301
|
+
right = left + width;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
return {
|
305
|
+
top: top,
|
306
|
+
left: left,
|
307
|
+
bottom: bottom,
|
308
|
+
right: right,
|
309
|
+
width: width,
|
310
|
+
height: height
|
311
|
+
};
|
312
|
+
}
|
313
|
+
|
314
|
+
/**
|
315
|
+
* Returns the content rect of the element (bounding rect minus border and padding)
|
316
|
+
* @param {HTMLElement} el
|
317
|
+
*/
|
318
|
+
function getContentRect(el) {
|
319
|
+
var rect = getRect(el);
|
320
|
+
var paddingLeft = parseInt(css(el, 'padding-left')),
|
321
|
+
paddingTop = parseInt(css(el, 'padding-top')),
|
322
|
+
paddingRight = parseInt(css(el, 'padding-right')),
|
323
|
+
paddingBottom = parseInt(css(el, 'padding-bottom'));
|
324
|
+
rect.top += paddingTop + parseInt(css(el, 'border-top-width'));
|
325
|
+
rect.left += paddingLeft + parseInt(css(el, 'border-left-width'));
|
326
|
+
// Client Width/Height includes padding only
|
327
|
+
rect.width = el.clientWidth - paddingLeft - paddingRight;
|
328
|
+
rect.height = el.clientHeight - paddingTop - paddingBottom;
|
329
|
+
rect.bottom = rect.top + rect.height;
|
330
|
+
rect.right = rect.left + rect.width;
|
331
|
+
return rect;
|
332
|
+
}
|
333
|
+
|
334
|
+
/**
|
335
|
+
* Checks if a side of an element is scrolled past a side of its parents
|
336
|
+
* @param {HTMLElement} el The element who's side being scrolled out of view is in question
|
337
|
+
* @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
|
338
|
+
* @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
|
339
|
+
* @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
|
340
|
+
*/
|
341
|
+
function isScrolledPast(el, elSide, parentSide) {
|
342
|
+
var parent = getParentAutoScrollElement(el, true),
|
343
|
+
elSideVal = getRect(el)[elSide];
|
344
|
+
|
345
|
+
/* jshint boss:true */
|
346
|
+
while (parent) {
|
347
|
+
var parentSideVal = getRect(parent)[parentSide],
|
348
|
+
visible = void 0;
|
349
|
+
if (parentSide === 'top' || parentSide === 'left') {
|
350
|
+
visible = elSideVal >= parentSideVal;
|
351
|
+
} else {
|
352
|
+
visible = elSideVal <= parentSideVal;
|
353
|
+
}
|
354
|
+
if (!visible) return parent;
|
355
|
+
if (parent === getWindowScrollingElement()) break;
|
356
|
+
parent = getParentAutoScrollElement(parent, false);
|
357
|
+
}
|
358
|
+
return false;
|
359
|
+
}
|
360
|
+
|
361
|
+
/**
|
362
|
+
* Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
|
363
|
+
* and non-draggable elements
|
364
|
+
* @param {HTMLElement} el The parent element
|
365
|
+
* @param {Number} childNum The index of the child
|
366
|
+
* @param {Object} options Parent Sortable's options
|
367
|
+
* @return {HTMLElement} The child at index childNum, or null if not found
|
368
|
+
*/
|
369
|
+
function getChild(el, childNum, options, includeDragEl) {
|
370
|
+
var currentChild = 0,
|
371
|
+
i = 0,
|
372
|
+
children = el.children;
|
373
|
+
while (i < children.length) {
|
374
|
+
if (children[i].style.display !== 'none' && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
|
375
|
+
if (currentChild === childNum) {
|
376
|
+
return children[i];
|
377
|
+
}
|
378
|
+
currentChild++;
|
379
|
+
}
|
380
|
+
i++;
|
381
|
+
}
|
382
|
+
return null;
|
383
|
+
}
|
384
|
+
|
385
|
+
/**
|
386
|
+
* Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
|
387
|
+
* @param {HTMLElement} el Parent element
|
388
|
+
* @param {selector} selector Any other elements that should be ignored
|
389
|
+
* @return {HTMLElement} The last child, ignoring ghostEl
|
390
|
+
*/
|
391
|
+
function lastChild(el, selector) {
|
392
|
+
var last = el.lastElementChild;
|
393
|
+
while (last && (last === Sortable.ghost || css(last, 'display') === 'none' || selector && !matches(last, selector))) {
|
394
|
+
last = last.previousElementSibling;
|
395
|
+
}
|
396
|
+
return last || null;
|
397
|
+
}
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Returns the index of an element within its parent for a selected set of
|
401
|
+
* elements
|
402
|
+
* @param {HTMLElement} el
|
403
|
+
* @param {selector} selector
|
404
|
+
* @return {number}
|
405
|
+
*/
|
406
|
+
function index(el, selector) {
|
407
|
+
var index = 0;
|
408
|
+
if (!el || !el.parentNode) {
|
409
|
+
return -1;
|
410
|
+
}
|
411
|
+
|
412
|
+
/* jshint boss:true */
|
413
|
+
while (el = el.previousElementSibling) {
|
414
|
+
if (el.nodeName.toUpperCase() !== 'TEMPLATE' && el !== Sortable.clone && (!selector || matches(el, selector))) {
|
415
|
+
index++;
|
416
|
+
}
|
417
|
+
}
|
418
|
+
return index;
|
419
|
+
}
|
420
|
+
|
421
|
+
/**
|
422
|
+
* Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
|
423
|
+
* The value is returned in real pixels.
|
424
|
+
* @param {HTMLElement} el
|
425
|
+
* @return {Array} Offsets in the format of [left, top]
|
426
|
+
*/
|
427
|
+
function getRelativeScrollOffset(el) {
|
428
|
+
var offsetLeft = 0,
|
429
|
+
offsetTop = 0,
|
430
|
+
winScroller = getWindowScrollingElement();
|
431
|
+
if (el) {
|
432
|
+
do {
|
433
|
+
var elMatrix = matrix(el),
|
434
|
+
scaleX = elMatrix.a,
|
435
|
+
scaleY = elMatrix.d;
|
436
|
+
offsetLeft += el.scrollLeft * scaleX;
|
437
|
+
offsetTop += el.scrollTop * scaleY;
|
438
|
+
} while (el !== winScroller && (el = el.parentNode));
|
439
|
+
}
|
440
|
+
return [offsetLeft, offsetTop];
|
441
|
+
}
|
442
|
+
|
443
|
+
/**
|
444
|
+
* Returns the index of the object within the given array
|
445
|
+
* @param {Array} arr Array that may or may not hold the object
|
446
|
+
* @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
|
447
|
+
* @return {Number} The index of the object in the array, or -1
|
448
|
+
*/
|
449
|
+
function indexOfObject(arr, obj) {
|
450
|
+
for (var i in arr) {
|
451
|
+
if (!arr.hasOwnProperty(i)) continue;
|
452
|
+
for (var key in obj) {
|
453
|
+
if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
|
454
|
+
}
|
455
|
+
}
|
456
|
+
return -1;
|
457
|
+
}
|
458
|
+
function getParentAutoScrollElement(el, includeSelf) {
|
459
|
+
// skip to window
|
460
|
+
if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
|
461
|
+
var elem = el;
|
462
|
+
var gotSelf = false;
|
463
|
+
do {
|
464
|
+
// we don't need to get elem css if it isn't even overflowing in the first place (performance)
|
465
|
+
if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
|
466
|
+
var elemCSS = css(elem);
|
467
|
+
if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll')) {
|
468
|
+
if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
|
469
|
+
if (gotSelf || includeSelf) return elem;
|
470
|
+
gotSelf = true;
|
471
|
+
}
|
472
|
+
}
|
473
|
+
/* jshint boss:true */
|
474
|
+
} while (elem = elem.parentNode);
|
475
|
+
return getWindowScrollingElement();
|
476
|
+
}
|
477
|
+
function extend(dst, src) {
|
478
|
+
if (dst && src) {
|
479
|
+
for (var key in src) {
|
480
|
+
if (src.hasOwnProperty(key)) {
|
481
|
+
dst[key] = src[key];
|
482
|
+
}
|
483
|
+
}
|
484
|
+
}
|
485
|
+
return dst;
|
486
|
+
}
|
487
|
+
function isRectEqual(rect1, rect2) {
|
488
|
+
return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
|
489
|
+
}
|
490
|
+
var _throttleTimeout;
|
491
|
+
function throttle(callback, ms) {
|
492
|
+
return function () {
|
493
|
+
if (!_throttleTimeout) {
|
494
|
+
var args = arguments,
|
495
|
+
_this = this;
|
496
|
+
if (args.length === 1) {
|
497
|
+
callback.call(_this, args[0]);
|
498
|
+
} else {
|
499
|
+
callback.apply(_this, args);
|
500
|
+
}
|
501
|
+
_throttleTimeout = setTimeout(function () {
|
502
|
+
_throttleTimeout = void 0;
|
503
|
+
}, ms);
|
504
|
+
}
|
505
|
+
};
|
506
|
+
}
|
507
|
+
function cancelThrottle() {
|
508
|
+
clearTimeout(_throttleTimeout);
|
509
|
+
_throttleTimeout = void 0;
|
510
|
+
}
|
511
|
+
function scrollBy(el, x, y) {
|
512
|
+
el.scrollLeft += x;
|
513
|
+
el.scrollTop += y;
|
514
|
+
}
|
515
|
+
function clone(el) {
|
516
|
+
var Polymer = window.Polymer;
|
517
|
+
var $ = window.jQuery || window.Zepto;
|
518
|
+
if (Polymer && Polymer.dom) {
|
519
|
+
return Polymer.dom(el).cloneNode(true);
|
520
|
+
} else if ($) {
|
521
|
+
return $(el).clone(true)[0];
|
522
|
+
} else {
|
523
|
+
return el.cloneNode(true);
|
524
|
+
}
|
525
|
+
}
|
526
|
+
var expando = 'Sortable' + new Date().getTime();
|
527
|
+
|
528
|
+
function AnimationStateManager() {
|
529
|
+
var animationStates = [],
|
530
|
+
animationCallbackId;
|
531
|
+
return {
|
532
|
+
captureAnimationState: function captureAnimationState() {
|
533
|
+
animationStates = [];
|
534
|
+
if (!this.options.animation) return;
|
535
|
+
var children = [].slice.call(this.el.children);
|
536
|
+
children.forEach(function (child) {
|
537
|
+
if (css(child, 'display') === 'none' || child === Sortable.ghost) return;
|
538
|
+
animationStates.push({
|
539
|
+
target: child,
|
540
|
+
rect: getRect(child)
|
541
|
+
});
|
542
|
+
var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
|
543
|
+
|
544
|
+
// If animating: compensate for current animation
|
545
|
+
if (child.thisAnimationDuration) {
|
546
|
+
var childMatrix = matrix(child, true);
|
547
|
+
if (childMatrix) {
|
548
|
+
fromRect.top -= childMatrix.f;
|
549
|
+
fromRect.left -= childMatrix.e;
|
550
|
+
}
|
551
|
+
}
|
552
|
+
child.fromRect = fromRect;
|
553
|
+
});
|
554
|
+
},
|
555
|
+
addAnimationState: function addAnimationState(state) {
|
556
|
+
animationStates.push(state);
|
557
|
+
},
|
558
|
+
removeAnimationState: function removeAnimationState(target) {
|
559
|
+
animationStates.splice(indexOfObject(animationStates, {
|
560
|
+
target: target
|
561
|
+
}), 1);
|
562
|
+
},
|
563
|
+
animateAll: function animateAll(callback) {
|
564
|
+
var _this = this;
|
565
|
+
if (!this.options.animation) {
|
566
|
+
clearTimeout(animationCallbackId);
|
567
|
+
if (typeof callback === 'function') callback();
|
568
|
+
return;
|
569
|
+
}
|
570
|
+
var animating = false,
|
571
|
+
animationTime = 0;
|
572
|
+
animationStates.forEach(function (state) {
|
573
|
+
var time = 0,
|
574
|
+
target = state.target,
|
575
|
+
fromRect = target.fromRect,
|
576
|
+
toRect = getRect(target),
|
577
|
+
prevFromRect = target.prevFromRect,
|
578
|
+
prevToRect = target.prevToRect,
|
579
|
+
animatingRect = state.rect,
|
580
|
+
targetMatrix = matrix(target, true);
|
581
|
+
if (targetMatrix) {
|
582
|
+
// Compensate for current animation
|
583
|
+
toRect.top -= targetMatrix.f;
|
584
|
+
toRect.left -= targetMatrix.e;
|
585
|
+
}
|
586
|
+
target.toRect = toRect;
|
587
|
+
if (target.thisAnimationDuration) {
|
588
|
+
// Could also check if animatingRect is between fromRect and toRect
|
589
|
+
if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) &&
|
590
|
+
// Make sure animatingRect is on line between toRect & fromRect
|
591
|
+
(animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
|
592
|
+
// If returning to same place as started from animation and on same axis
|
593
|
+
time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
|
594
|
+
}
|
595
|
+
}
|
596
|
+
|
597
|
+
// if fromRect != toRect: animate
|
598
|
+
if (!isRectEqual(toRect, fromRect)) {
|
599
|
+
target.prevFromRect = fromRect;
|
600
|
+
target.prevToRect = toRect;
|
601
|
+
if (!time) {
|
602
|
+
time = _this.options.animation;
|
603
|
+
}
|
604
|
+
_this.animate(target, animatingRect, toRect, time);
|
605
|
+
}
|
606
|
+
if (time) {
|
607
|
+
animating = true;
|
608
|
+
animationTime = Math.max(animationTime, time);
|
609
|
+
clearTimeout(target.animationResetTimer);
|
610
|
+
target.animationResetTimer = setTimeout(function () {
|
611
|
+
target.animationTime = 0;
|
612
|
+
target.prevFromRect = null;
|
613
|
+
target.fromRect = null;
|
614
|
+
target.prevToRect = null;
|
615
|
+
target.thisAnimationDuration = null;
|
616
|
+
}, time);
|
617
|
+
target.thisAnimationDuration = time;
|
618
|
+
}
|
619
|
+
});
|
620
|
+
clearTimeout(animationCallbackId);
|
621
|
+
if (!animating) {
|
622
|
+
if (typeof callback === 'function') callback();
|
623
|
+
} else {
|
624
|
+
animationCallbackId = setTimeout(function () {
|
625
|
+
if (typeof callback === 'function') callback();
|
626
|
+
}, animationTime);
|
627
|
+
}
|
628
|
+
animationStates = [];
|
629
|
+
},
|
630
|
+
animate: function animate(target, currentRect, toRect, duration) {
|
631
|
+
if (duration) {
|
632
|
+
css(target, 'transition', '');
|
633
|
+
css(target, 'transform', '');
|
634
|
+
var elMatrix = matrix(this.el),
|
635
|
+
scaleX = elMatrix && elMatrix.a,
|
636
|
+
scaleY = elMatrix && elMatrix.d,
|
637
|
+
translateX = (currentRect.left - toRect.left) / (scaleX || 1),
|
638
|
+
translateY = (currentRect.top - toRect.top) / (scaleY || 1);
|
639
|
+
target.animatingX = !!translateX;
|
640
|
+
target.animatingY = !!translateY;
|
641
|
+
css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');
|
642
|
+
this.forRepaintDummy = repaint(target); // repaint
|
643
|
+
|
644
|
+
css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));
|
645
|
+
css(target, 'transform', 'translate3d(0,0,0)');
|
646
|
+
typeof target.animated === 'number' && clearTimeout(target.animated);
|
647
|
+
target.animated = setTimeout(function () {
|
648
|
+
css(target, 'transition', '');
|
649
|
+
css(target, 'transform', '');
|
650
|
+
target.animated = false;
|
651
|
+
target.animatingX = false;
|
652
|
+
target.animatingY = false;
|
653
|
+
}, duration);
|
654
|
+
}
|
655
|
+
}
|
656
|
+
};
|
657
|
+
}
|
658
|
+
function repaint(target) {
|
659
|
+
return target.offsetWidth;
|
660
|
+
}
|
661
|
+
function calculateRealTime(animatingRect, fromRect, toRect, options) {
|
662
|
+
return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
|
663
|
+
}
|
664
|
+
|
665
|
+
var plugins = [];
|
666
|
+
var defaults = {
|
667
|
+
initializeByDefault: true
|
668
|
+
};
|
669
|
+
var PluginManager = {
|
670
|
+
mount: function mount(plugin) {
|
671
|
+
// Set default static properties
|
672
|
+
for (var option in defaults) {
|
673
|
+
if (defaults.hasOwnProperty(option) && !(option in plugin)) {
|
674
|
+
plugin[option] = defaults[option];
|
675
|
+
}
|
676
|
+
}
|
677
|
+
plugins.forEach(function (p) {
|
678
|
+
if (p.pluginName === plugin.pluginName) {
|
679
|
+
throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
|
680
|
+
}
|
681
|
+
});
|
682
|
+
plugins.push(plugin);
|
683
|
+
},
|
684
|
+
pluginEvent: function pluginEvent(eventName, sortable, evt) {
|
685
|
+
var _this = this;
|
686
|
+
this.eventCanceled = false;
|
687
|
+
evt.cancel = function () {
|
688
|
+
_this.eventCanceled = true;
|
689
|
+
};
|
690
|
+
var eventNameGlobal = eventName + 'Global';
|
691
|
+
plugins.forEach(function (plugin) {
|
692
|
+
if (!sortable[plugin.pluginName]) return;
|
693
|
+
// Fire global events if it exists in this sortable
|
694
|
+
if (sortable[plugin.pluginName][eventNameGlobal]) {
|
695
|
+
sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
|
696
|
+
sortable: sortable
|
697
|
+
}, evt));
|
698
|
+
}
|
699
|
+
|
700
|
+
// Only fire plugin event if plugin is enabled in this sortable,
|
701
|
+
// and plugin has event defined
|
702
|
+
if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
|
703
|
+
sortable[plugin.pluginName][eventName](_objectSpread2({
|
704
|
+
sortable: sortable
|
705
|
+
}, evt));
|
706
|
+
}
|
707
|
+
});
|
708
|
+
},
|
709
|
+
initializePlugins: function initializePlugins(sortable, el, defaults, options) {
|
710
|
+
plugins.forEach(function (plugin) {
|
711
|
+
var pluginName = plugin.pluginName;
|
712
|
+
if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
|
713
|
+
var initialized = new plugin(sortable, el, sortable.options);
|
714
|
+
initialized.sortable = sortable;
|
715
|
+
initialized.options = sortable.options;
|
716
|
+
sortable[pluginName] = initialized;
|
717
|
+
|
718
|
+
// Add default options from plugin
|
719
|
+
_extends(defaults, initialized.defaults);
|
720
|
+
});
|
721
|
+
for (var option in sortable.options) {
|
722
|
+
if (!sortable.options.hasOwnProperty(option)) continue;
|
723
|
+
var modified = this.modifyOption(sortable, option, sortable.options[option]);
|
724
|
+
if (typeof modified !== 'undefined') {
|
725
|
+
sortable.options[option] = modified;
|
726
|
+
}
|
727
|
+
}
|
728
|
+
},
|
729
|
+
getEventProperties: function getEventProperties(name, sortable) {
|
730
|
+
var eventProperties = {};
|
731
|
+
plugins.forEach(function (plugin) {
|
732
|
+
if (typeof plugin.eventProperties !== 'function') return;
|
733
|
+
_extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
|
734
|
+
});
|
735
|
+
return eventProperties;
|
736
|
+
},
|
737
|
+
modifyOption: function modifyOption(sortable, name, value) {
|
738
|
+
var modifiedValue;
|
739
|
+
plugins.forEach(function (plugin) {
|
740
|
+
// Plugin must exist on the Sortable
|
741
|
+
if (!sortable[plugin.pluginName]) return;
|
742
|
+
|
743
|
+
// If static option listener exists for this option, call in the context of the Sortable's instance of this plugin
|
744
|
+
if (plugin.optionListeners && typeof plugin.optionListeners[name] === 'function') {
|
745
|
+
modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
|
746
|
+
}
|
747
|
+
});
|
748
|
+
return modifiedValue;
|
749
|
+
}
|
750
|
+
};
|
751
|
+
|
752
|
+
function dispatchEvent(_ref) {
|
753
|
+
var sortable = _ref.sortable,
|
754
|
+
rootEl = _ref.rootEl,
|
755
|
+
name = _ref.name,
|
756
|
+
targetEl = _ref.targetEl,
|
757
|
+
cloneEl = _ref.cloneEl,
|
758
|
+
toEl = _ref.toEl,
|
759
|
+
fromEl = _ref.fromEl,
|
760
|
+
oldIndex = _ref.oldIndex,
|
761
|
+
newIndex = _ref.newIndex,
|
762
|
+
oldDraggableIndex = _ref.oldDraggableIndex,
|
763
|
+
newDraggableIndex = _ref.newDraggableIndex,
|
764
|
+
originalEvent = _ref.originalEvent,
|
765
|
+
putSortable = _ref.putSortable,
|
766
|
+
extraEventProperties = _ref.extraEventProperties;
|
767
|
+
sortable = sortable || rootEl && rootEl[expando];
|
768
|
+
if (!sortable) return;
|
769
|
+
var evt,
|
770
|
+
options = sortable.options,
|
771
|
+
onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1);
|
772
|
+
// Support for new CustomEvent feature
|
773
|
+
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
774
|
+
evt = new CustomEvent(name, {
|
775
|
+
bubbles: true,
|
776
|
+
cancelable: true
|
777
|
+
});
|
778
|
+
} else {
|
779
|
+
evt = document.createEvent('Event');
|
780
|
+
evt.initEvent(name, true, true);
|
781
|
+
}
|
782
|
+
evt.to = toEl || rootEl;
|
783
|
+
evt.from = fromEl || rootEl;
|
784
|
+
evt.item = targetEl || rootEl;
|
785
|
+
evt.clone = cloneEl;
|
786
|
+
evt.oldIndex = oldIndex;
|
787
|
+
evt.newIndex = newIndex;
|
788
|
+
evt.oldDraggableIndex = oldDraggableIndex;
|
789
|
+
evt.newDraggableIndex = newDraggableIndex;
|
790
|
+
evt.originalEvent = originalEvent;
|
791
|
+
evt.pullMode = putSortable ? putSortable.lastPutMode : undefined;
|
792
|
+
var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
|
793
|
+
for (var option in allEventProperties) {
|
794
|
+
evt[option] = allEventProperties[option];
|
795
|
+
}
|
796
|
+
if (rootEl) {
|
797
|
+
rootEl.dispatchEvent(evt);
|
798
|
+
}
|
799
|
+
if (options[onName]) {
|
800
|
+
options[onName].call(sortable, evt);
|
801
|
+
}
|
802
|
+
}
|
803
|
+
|
804
|
+
var _excluded = ["evt"];
|
805
|
+
var pluginEvent = function pluginEvent(eventName, sortable) {
|
806
|
+
var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
|
807
|
+
originalEvent = _ref.evt,
|
808
|
+
data = _objectWithoutProperties(_ref, _excluded);
|
809
|
+
PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
|
810
|
+
dragEl: dragEl,
|
811
|
+
parentEl: parentEl,
|
812
|
+
ghostEl: ghostEl,
|
813
|
+
rootEl: rootEl,
|
814
|
+
nextEl: nextEl,
|
815
|
+
lastDownEl: lastDownEl,
|
816
|
+
cloneEl: cloneEl,
|
817
|
+
cloneHidden: cloneHidden,
|
818
|
+
dragStarted: moved,
|
819
|
+
putSortable: putSortable,
|
820
|
+
activeSortable: Sortable.active,
|
821
|
+
originalEvent: originalEvent,
|
822
|
+
oldIndex: oldIndex,
|
823
|
+
oldDraggableIndex: oldDraggableIndex,
|
824
|
+
newIndex: newIndex,
|
825
|
+
newDraggableIndex: newDraggableIndex,
|
826
|
+
hideGhostForTarget: _hideGhostForTarget,
|
827
|
+
unhideGhostForTarget: _unhideGhostForTarget,
|
828
|
+
cloneNowHidden: function cloneNowHidden() {
|
829
|
+
cloneHidden = true;
|
830
|
+
},
|
831
|
+
cloneNowShown: function cloneNowShown() {
|
832
|
+
cloneHidden = false;
|
833
|
+
},
|
834
|
+
dispatchSortableEvent: function dispatchSortableEvent(name) {
|
835
|
+
_dispatchEvent({
|
836
|
+
sortable: sortable,
|
837
|
+
name: name,
|
838
|
+
originalEvent: originalEvent
|
839
|
+
});
|
840
|
+
}
|
841
|
+
}, data));
|
842
|
+
};
|
843
|
+
function _dispatchEvent(info) {
|
844
|
+
dispatchEvent(_objectSpread2({
|
845
|
+
putSortable: putSortable,
|
846
|
+
cloneEl: cloneEl,
|
847
|
+
targetEl: dragEl,
|
848
|
+
rootEl: rootEl,
|
849
|
+
oldIndex: oldIndex,
|
850
|
+
oldDraggableIndex: oldDraggableIndex,
|
851
|
+
newIndex: newIndex,
|
852
|
+
newDraggableIndex: newDraggableIndex
|
853
|
+
}, info));
|
854
|
+
}
|
855
|
+
var dragEl,
|
856
|
+
parentEl,
|
857
|
+
ghostEl,
|
858
|
+
rootEl,
|
859
|
+
nextEl,
|
860
|
+
lastDownEl,
|
861
|
+
cloneEl,
|
862
|
+
cloneHidden,
|
863
|
+
oldIndex,
|
864
|
+
newIndex,
|
865
|
+
oldDraggableIndex,
|
866
|
+
newDraggableIndex,
|
867
|
+
activeGroup,
|
868
|
+
putSortable,
|
869
|
+
awaitingDragStarted = false,
|
870
|
+
ignoreNextClick = false,
|
871
|
+
sortables = [],
|
872
|
+
tapEvt,
|
873
|
+
touchEvt,
|
874
|
+
lastDx,
|
875
|
+
lastDy,
|
876
|
+
tapDistanceLeft,
|
877
|
+
tapDistanceTop,
|
878
|
+
moved,
|
879
|
+
lastTarget,
|
880
|
+
lastDirection,
|
881
|
+
pastFirstInvertThresh = false,
|
882
|
+
isCircumstantialInvert = false,
|
883
|
+
targetMoveDistance,
|
884
|
+
// For positioning ghost absolutely
|
885
|
+
ghostRelativeParent,
|
886
|
+
ghostRelativeParentInitialScroll = [],
|
887
|
+
// (left, top)
|
888
|
+
|
889
|
+
_silent = false,
|
890
|
+
savedInputChecked = [];
|
891
|
+
|
892
|
+
/** @const */
|
893
|
+
var documentExists = typeof document !== 'undefined',
|
894
|
+
PositionGhostAbsolutely = IOS,
|
895
|
+
CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
|
896
|
+
// This will not pass for IE9, because IE9 DnD only works on anchors
|
897
|
+
supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),
|
898
|
+
supportCssPointerEvents = function () {
|
899
|
+
if (!documentExists) return;
|
900
|
+
// false when <= IE11
|
901
|
+
if (IE11OrLess) {
|
902
|
+
return false;
|
903
|
+
}
|
904
|
+
var el = document.createElement('x');
|
905
|
+
el.style.cssText = 'pointer-events:auto';
|
906
|
+
return el.style.pointerEvents === 'auto';
|
907
|
+
}(),
|
908
|
+
_detectDirection = function _detectDirection(el, options) {
|
909
|
+
var elCSS = css(el),
|
910
|
+
elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth),
|
911
|
+
child1 = getChild(el, 0, options),
|
912
|
+
child2 = getChild(el, 1, options),
|
913
|
+
firstChildCSS = child1 && css(child1),
|
914
|
+
secondChildCSS = child2 && css(child2),
|
915
|
+
firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width,
|
916
|
+
secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
|
917
|
+
if (elCSS.display === 'flex') {
|
918
|
+
return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';
|
919
|
+
}
|
920
|
+
if (elCSS.display === 'grid') {
|
921
|
+
return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';
|
922
|
+
}
|
923
|
+
if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== 'none') {
|
924
|
+
var touchingSideChild2 = firstChildCSS["float"] === 'left' ? 'left' : 'right';
|
925
|
+
return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';
|
926
|
+
}
|
927
|
+
return child1 && (firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth) ? 'vertical' : 'horizontal';
|
928
|
+
},
|
929
|
+
_dragElInRowColumn = function _dragElInRowColumn(dragRect, targetRect, vertical) {
|
930
|
+
var dragElS1Opp = vertical ? dragRect.left : dragRect.top,
|
931
|
+
dragElS2Opp = vertical ? dragRect.right : dragRect.bottom,
|
932
|
+
dragElOppLength = vertical ? dragRect.width : dragRect.height,
|
933
|
+
targetS1Opp = vertical ? targetRect.left : targetRect.top,
|
934
|
+
targetS2Opp = vertical ? targetRect.right : targetRect.bottom,
|
935
|
+
targetOppLength = vertical ? targetRect.width : targetRect.height;
|
936
|
+
return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
|
937
|
+
},
|
938
|
+
/**
|
939
|
+
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
940
|
+
* @param {Number} x X position
|
941
|
+
* @param {Number} y Y position
|
942
|
+
* @return {HTMLElement} Element of the first found nearest Sortable
|
943
|
+
*/
|
944
|
+
_detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
945
|
+
var ret;
|
946
|
+
sortables.some(function (sortable) {
|
947
|
+
var threshold = sortable[expando].options.emptyInsertThreshold;
|
948
|
+
if (!threshold || lastChild(sortable)) return;
|
949
|
+
var rect = getRect(sortable),
|
950
|
+
insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold,
|
951
|
+
insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
|
952
|
+
if (insideHorizontally && insideVertically) {
|
953
|
+
return ret = sortable;
|
954
|
+
}
|
955
|
+
});
|
956
|
+
return ret;
|
957
|
+
},
|
958
|
+
_prepareGroup = function _prepareGroup(options) {
|
959
|
+
function toFn(value, pull) {
|
960
|
+
return function (to, from, dragEl, evt) {
|
961
|
+
var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
|
962
|
+
if (value == null && (pull || sameGroup)) {
|
963
|
+
// Default pull value
|
964
|
+
// Default pull and put value if same group
|
965
|
+
return true;
|
966
|
+
} else if (value == null || value === false) {
|
967
|
+
return false;
|
968
|
+
} else if (pull && value === 'clone') {
|
969
|
+
return value;
|
970
|
+
} else if (typeof value === 'function') {
|
971
|
+
return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);
|
972
|
+
} else {
|
973
|
+
var otherGroup = (pull ? to : from).options.group.name;
|
974
|
+
return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
|
975
|
+
}
|
976
|
+
};
|
977
|
+
}
|
978
|
+
var group = {};
|
979
|
+
var originalGroup = options.group;
|
980
|
+
if (!originalGroup || _typeof(originalGroup) != 'object') {
|
981
|
+
originalGroup = {
|
982
|
+
name: originalGroup
|
983
|
+
};
|
984
|
+
}
|
985
|
+
group.name = originalGroup.name;
|
986
|
+
group.checkPull = toFn(originalGroup.pull, true);
|
987
|
+
group.checkPut = toFn(originalGroup.put);
|
988
|
+
group.revertClone = originalGroup.revertClone;
|
989
|
+
options.group = group;
|
990
|
+
},
|
991
|
+
_hideGhostForTarget = function _hideGhostForTarget() {
|
992
|
+
if (!supportCssPointerEvents && ghostEl) {
|
993
|
+
css(ghostEl, 'display', 'none');
|
994
|
+
}
|
995
|
+
},
|
996
|
+
_unhideGhostForTarget = function _unhideGhostForTarget() {
|
997
|
+
if (!supportCssPointerEvents && ghostEl) {
|
998
|
+
css(ghostEl, 'display', '');
|
999
|
+
}
|
1000
|
+
};
|
1001
|
+
|
1002
|
+
// #1184 fix - Prevent click event on fallback if dragged but item not changed position
|
1003
|
+
if (documentExists && !ChromeForAndroid) {
|
1004
|
+
document.addEventListener('click', function (evt) {
|
1005
|
+
if (ignoreNextClick) {
|
1006
|
+
evt.preventDefault();
|
1007
|
+
evt.stopPropagation && evt.stopPropagation();
|
1008
|
+
evt.stopImmediatePropagation && evt.stopImmediatePropagation();
|
1009
|
+
ignoreNextClick = false;
|
1010
|
+
return false;
|
1011
|
+
}
|
1012
|
+
}, true);
|
1013
|
+
}
|
1014
|
+
var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent(evt) {
|
1015
|
+
if (dragEl) {
|
1016
|
+
evt = evt.touches ? evt.touches[0] : evt;
|
1017
|
+
var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
|
1018
|
+
if (nearest) {
|
1019
|
+
// Create imitation event
|
1020
|
+
var event = {};
|
1021
|
+
for (var i in evt) {
|
1022
|
+
if (evt.hasOwnProperty(i)) {
|
1023
|
+
event[i] = evt[i];
|
1024
|
+
}
|
1025
|
+
}
|
1026
|
+
event.target = event.rootEl = nearest;
|
1027
|
+
event.preventDefault = void 0;
|
1028
|
+
event.stopPropagation = void 0;
|
1029
|
+
nearest[expando]._onDragOver(event);
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
};
|
1033
|
+
var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
|
1034
|
+
if (dragEl) {
|
1035
|
+
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
1036
|
+
}
|
1037
|
+
};
|
1038
|
+
|
1039
|
+
/**
|
1040
|
+
* @class Sortable
|
1041
|
+
* @param {HTMLElement} el
|
1042
|
+
* @param {Object} [options]
|
1043
|
+
*/
|
1044
|
+
function Sortable(el, options) {
|
1045
|
+
if (!(el && el.nodeType && el.nodeType === 1)) {
|
1046
|
+
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
|
1047
|
+
}
|
1048
|
+
this.el = el; // root element
|
1049
|
+
this.options = options = _extends({}, options);
|
1050
|
+
|
1051
|
+
// Export instance
|
1052
|
+
el[expando] = this;
|
1053
|
+
var defaults = {
|
1054
|
+
group: null,
|
1055
|
+
sort: true,
|
1056
|
+
disabled: false,
|
1057
|
+
store: null,
|
1058
|
+
handle: null,
|
1059
|
+
draggable: /^[uo]l$/i.test(el.nodeName) ? '>li' : '>*',
|
1060
|
+
swapThreshold: 1,
|
1061
|
+
// percentage; 0 <= x <= 1
|
1062
|
+
invertSwap: false,
|
1063
|
+
// invert always
|
1064
|
+
invertedSwapThreshold: null,
|
1065
|
+
// will be set to same as swapThreshold if default
|
1066
|
+
removeCloneOnHide: true,
|
1067
|
+
direction: function direction() {
|
1068
|
+
return _detectDirection(el, this.options);
|
1069
|
+
},
|
1070
|
+
ghostClass: 'sortable-ghost',
|
1071
|
+
chosenClass: 'sortable-chosen',
|
1072
|
+
dragClass: 'sortable-drag',
|
1073
|
+
ignore: 'a, img',
|
1074
|
+
filter: null,
|
1075
|
+
preventOnFilter: true,
|
1076
|
+
animation: 0,
|
1077
|
+
easing: null,
|
1078
|
+
setData: function setData(dataTransfer, dragEl) {
|
1079
|
+
dataTransfer.setData('Text', dragEl.textContent);
|
1080
|
+
},
|
1081
|
+
dropBubble: false,
|
1082
|
+
dragoverBubble: false,
|
1083
|
+
dataIdAttr: 'data-id',
|
1084
|
+
delay: 0,
|
1085
|
+
delayOnTouchOnly: false,
|
1086
|
+
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
1087
|
+
forceFallback: false,
|
1088
|
+
fallbackClass: 'sortable-fallback',
|
1089
|
+
fallbackOnBody: false,
|
1090
|
+
fallbackTolerance: 0,
|
1091
|
+
fallbackOffset: {
|
1092
|
+
x: 0,
|
1093
|
+
y: 0
|
1094
|
+
},
|
1095
|
+
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari,
|
1096
|
+
emptyInsertThreshold: 5
|
1097
|
+
};
|
1098
|
+
PluginManager.initializePlugins(this, el, defaults);
|
1099
|
+
|
1100
|
+
// Set default options
|
1101
|
+
for (var name in defaults) {
|
1102
|
+
!(name in options) && (options[name] = defaults[name]);
|
1103
|
+
}
|
1104
|
+
_prepareGroup(options);
|
1105
|
+
|
1106
|
+
// Bind all private methods
|
1107
|
+
for (var fn in this) {
|
1108
|
+
if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
|
1109
|
+
this[fn] = this[fn].bind(this);
|
1110
|
+
}
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
// Setup drag mode
|
1114
|
+
this.nativeDraggable = options.forceFallback ? false : supportDraggable;
|
1115
|
+
if (this.nativeDraggable) {
|
1116
|
+
// Touch start threshold cannot be greater than the native dragstart threshold
|
1117
|
+
this.options.touchStartThreshold = 1;
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
// Bind events
|
1121
|
+
if (options.supportPointer) {
|
1122
|
+
on(el, 'pointerdown', this._onTapStart);
|
1123
|
+
} else {
|
1124
|
+
on(el, 'mousedown', this._onTapStart);
|
1125
|
+
on(el, 'touchstart', this._onTapStart);
|
1126
|
+
}
|
1127
|
+
if (this.nativeDraggable) {
|
1128
|
+
on(el, 'dragover', this);
|
1129
|
+
on(el, 'dragenter', this);
|
1130
|
+
}
|
1131
|
+
sortables.push(this.el);
|
1132
|
+
|
1133
|
+
// Restore sorting
|
1134
|
+
options.store && options.store.get && this.sort(options.store.get(this) || []);
|
1135
|
+
|
1136
|
+
// Add animation state manager
|
1137
|
+
_extends(this, AnimationStateManager());
|
1138
|
+
}
|
1139
|
+
Sortable.prototype = /** @lends Sortable.prototype */{
|
1140
|
+
constructor: Sortable,
|
1141
|
+
_isOutsideThisEl: function _isOutsideThisEl(target) {
|
1142
|
+
if (!this.el.contains(target) && target !== this.el) {
|
1143
|
+
lastTarget = null;
|
1144
|
+
}
|
1145
|
+
},
|
1146
|
+
_getDirection: function _getDirection(evt, target) {
|
1147
|
+
return typeof this.options.direction === 'function' ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
|
1148
|
+
},
|
1149
|
+
_onTapStart: function _onTapStart( /** Event|TouchEvent */evt) {
|
1150
|
+
if (!evt.cancelable) return;
|
1151
|
+
var _this = this,
|
1152
|
+
el = this.el,
|
1153
|
+
options = this.options,
|
1154
|
+
preventOnFilter = options.preventOnFilter,
|
1155
|
+
type = evt.type,
|
1156
|
+
touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,
|
1157
|
+
target = (touch || evt).target,
|
1158
|
+
originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,
|
1159
|
+
filter = options.filter;
|
1160
|
+
_saveInputCheckedState(el);
|
1161
|
+
|
1162
|
+
// Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
|
1163
|
+
if (dragEl) {
|
1164
|
+
return;
|
1165
|
+
}
|
1166
|
+
if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
|
1167
|
+
return; // only left button and enabled
|
1168
|
+
}
|
1169
|
+
|
1170
|
+
// cancel dnd if original target is content editable
|
1171
|
+
if (originalTarget.isContentEditable) {
|
1172
|
+
return;
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
// Safari ignores further event handling after mousedown
|
1176
|
+
if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
|
1177
|
+
return;
|
1178
|
+
}
|
1179
|
+
target = closest(target, options.draggable, el, false);
|
1180
|
+
if (target && target.animated) {
|
1181
|
+
return;
|
1182
|
+
}
|
1183
|
+
if (lastDownEl === target) {
|
1184
|
+
// Ignoring duplicate `down`
|
1185
|
+
return;
|
1186
|
+
}
|
1187
|
+
|
1188
|
+
// Get the index of the dragged element within its parent
|
1189
|
+
oldIndex = index(target);
|
1190
|
+
oldDraggableIndex = index(target, options.draggable);
|
1191
|
+
|
1192
|
+
// Check filter
|
1193
|
+
if (typeof filter === 'function') {
|
1194
|
+
if (filter.call(this, evt, target, this)) {
|
1195
|
+
_dispatchEvent({
|
1196
|
+
sortable: _this,
|
1197
|
+
rootEl: originalTarget,
|
1198
|
+
name: 'filter',
|
1199
|
+
targetEl: target,
|
1200
|
+
toEl: el,
|
1201
|
+
fromEl: el
|
1202
|
+
});
|
1203
|
+
pluginEvent('filter', _this, {
|
1204
|
+
evt: evt
|
1205
|
+
});
|
1206
|
+
preventOnFilter && evt.cancelable && evt.preventDefault();
|
1207
|
+
return; // cancel dnd
|
1208
|
+
}
|
1209
|
+
} else if (filter) {
|
1210
|
+
filter = filter.split(',').some(function (criteria) {
|
1211
|
+
criteria = closest(originalTarget, criteria.trim(), el, false);
|
1212
|
+
if (criteria) {
|
1213
|
+
_dispatchEvent({
|
1214
|
+
sortable: _this,
|
1215
|
+
rootEl: criteria,
|
1216
|
+
name: 'filter',
|
1217
|
+
targetEl: target,
|
1218
|
+
fromEl: el,
|
1219
|
+
toEl: el
|
1220
|
+
});
|
1221
|
+
pluginEvent('filter', _this, {
|
1222
|
+
evt: evt
|
1223
|
+
});
|
1224
|
+
return true;
|
1225
|
+
}
|
1226
|
+
});
|
1227
|
+
if (filter) {
|
1228
|
+
preventOnFilter && evt.cancelable && evt.preventDefault();
|
1229
|
+
return; // cancel dnd
|
1230
|
+
}
|
1231
|
+
}
|
1232
|
+
if (options.handle && !closest(originalTarget, options.handle, el, false)) {
|
1233
|
+
return;
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
// Prepare `dragstart`
|
1237
|
+
this._prepareDragStart(evt, touch, target);
|
1238
|
+
},
|
1239
|
+
_prepareDragStart: function _prepareDragStart( /** Event */evt, /** Touch */touch, /** HTMLElement */target) {
|
1240
|
+
var _this = this,
|
1241
|
+
el = _this.el,
|
1242
|
+
options = _this.options,
|
1243
|
+
ownerDocument = el.ownerDocument,
|
1244
|
+
dragStartFn;
|
1245
|
+
if (target && !dragEl && target.parentNode === el) {
|
1246
|
+
var dragRect = getRect(target);
|
1247
|
+
rootEl = el;
|
1248
|
+
dragEl = target;
|
1249
|
+
parentEl = dragEl.parentNode;
|
1250
|
+
nextEl = dragEl.nextSibling;
|
1251
|
+
lastDownEl = target;
|
1252
|
+
activeGroup = options.group;
|
1253
|
+
Sortable.dragged = dragEl;
|
1254
|
+
tapEvt = {
|
1255
|
+
target: dragEl,
|
1256
|
+
clientX: (touch || evt).clientX,
|
1257
|
+
clientY: (touch || evt).clientY
|
1258
|
+
};
|
1259
|
+
tapDistanceLeft = tapEvt.clientX - dragRect.left;
|
1260
|
+
tapDistanceTop = tapEvt.clientY - dragRect.top;
|
1261
|
+
this._lastX = (touch || evt).clientX;
|
1262
|
+
this._lastY = (touch || evt).clientY;
|
1263
|
+
dragEl.style['will-change'] = 'all';
|
1264
|
+
dragStartFn = function dragStartFn() {
|
1265
|
+
pluginEvent('delayEnded', _this, {
|
1266
|
+
evt: evt
|
1267
|
+
});
|
1268
|
+
if (Sortable.eventCanceled) {
|
1269
|
+
_this._onDrop();
|
1270
|
+
return;
|
1271
|
+
}
|
1272
|
+
// Delayed drag has been triggered
|
1273
|
+
// we can re-enable the events: touchmove/mousemove
|
1274
|
+
_this._disableDelayedDragEvents();
|
1275
|
+
if (!FireFox && _this.nativeDraggable) {
|
1276
|
+
dragEl.draggable = true;
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
// Bind the events: dragstart/dragend
|
1280
|
+
_this._triggerDragStart(evt, touch);
|
1281
|
+
|
1282
|
+
// Drag start event
|
1283
|
+
_dispatchEvent({
|
1284
|
+
sortable: _this,
|
1285
|
+
name: 'choose',
|
1286
|
+
originalEvent: evt
|
1287
|
+
});
|
1288
|
+
|
1289
|
+
// Chosen item
|
1290
|
+
toggleClass(dragEl, options.chosenClass, true);
|
1291
|
+
};
|
1292
|
+
|
1293
|
+
// Disable "draggable"
|
1294
|
+
options.ignore.split(',').forEach(function (criteria) {
|
1295
|
+
find(dragEl, criteria.trim(), _disableDraggable);
|
1296
|
+
});
|
1297
|
+
on(ownerDocument, 'dragover', nearestEmptyInsertDetectEvent);
|
1298
|
+
on(ownerDocument, 'mousemove', nearestEmptyInsertDetectEvent);
|
1299
|
+
on(ownerDocument, 'touchmove', nearestEmptyInsertDetectEvent);
|
1300
|
+
on(ownerDocument, 'mouseup', _this._onDrop);
|
1301
|
+
on(ownerDocument, 'touchend', _this._onDrop);
|
1302
|
+
on(ownerDocument, 'touchcancel', _this._onDrop);
|
1303
|
+
|
1304
|
+
// Make dragEl draggable (must be before delay for FireFox)
|
1305
|
+
if (FireFox && this.nativeDraggable) {
|
1306
|
+
this.options.touchStartThreshold = 4;
|
1307
|
+
dragEl.draggable = true;
|
1308
|
+
}
|
1309
|
+
pluginEvent('delayStart', this, {
|
1310
|
+
evt: evt
|
1311
|
+
});
|
1312
|
+
|
1313
|
+
// Delay is impossible for native DnD in Edge or IE
|
1314
|
+
if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
|
1315
|
+
if (Sortable.eventCanceled) {
|
1316
|
+
this._onDrop();
|
1317
|
+
return;
|
1318
|
+
}
|
1319
|
+
// If the user moves the pointer or let go the click or touch
|
1320
|
+
// before the delay has been reached:
|
1321
|
+
// disable the delayed drag
|
1322
|
+
on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
|
1323
|
+
on(ownerDocument, 'touchend', _this._disableDelayedDrag);
|
1324
|
+
on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
|
1325
|
+
on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler);
|
1326
|
+
on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);
|
1327
|
+
options.supportPointer && on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);
|
1328
|
+
_this._dragStartTimer = setTimeout(dragStartFn, options.delay);
|
1329
|
+
} else {
|
1330
|
+
dragStartFn();
|
1331
|
+
}
|
1332
|
+
}
|
1333
|
+
},
|
1334
|
+
_delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler( /** TouchEvent|PointerEvent **/e) {
|
1335
|
+
var touch = e.touches ? e.touches[0] : e;
|
1336
|
+
if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {
|
1337
|
+
this._disableDelayedDrag();
|
1338
|
+
}
|
1339
|
+
},
|
1340
|
+
_disableDelayedDrag: function _disableDelayedDrag() {
|
1341
|
+
dragEl && _disableDraggable(dragEl);
|
1342
|
+
clearTimeout(this._dragStartTimer);
|
1343
|
+
this._disableDelayedDragEvents();
|
1344
|
+
},
|
1345
|
+
_disableDelayedDragEvents: function _disableDelayedDragEvents() {
|
1346
|
+
var ownerDocument = this.el.ownerDocument;
|
1347
|
+
off(ownerDocument, 'mouseup', this._disableDelayedDrag);
|
1348
|
+
off(ownerDocument, 'touchend', this._disableDelayedDrag);
|
1349
|
+
off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
|
1350
|
+
off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler);
|
1351
|
+
off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler);
|
1352
|
+
off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler);
|
1353
|
+
},
|
1354
|
+
_triggerDragStart: function _triggerDragStart( /** Event */evt, /** Touch */touch) {
|
1355
|
+
touch = touch || evt.pointerType == 'touch' && evt;
|
1356
|
+
if (!this.nativeDraggable || touch) {
|
1357
|
+
if (this.options.supportPointer) {
|
1358
|
+
on(document, 'pointermove', this._onTouchMove);
|
1359
|
+
} else if (touch) {
|
1360
|
+
on(document, 'touchmove', this._onTouchMove);
|
1361
|
+
} else {
|
1362
|
+
on(document, 'mousemove', this._onTouchMove);
|
1363
|
+
}
|
1364
|
+
} else {
|
1365
|
+
on(dragEl, 'dragend', this);
|
1366
|
+
on(rootEl, 'dragstart', this._onDragStart);
|
1367
|
+
}
|
1368
|
+
try {
|
1369
|
+
if (document.selection) {
|
1370
|
+
// Timeout neccessary for IE9
|
1371
|
+
_nextTick(function () {
|
1372
|
+
document.selection.empty();
|
1373
|
+
});
|
1374
|
+
} else {
|
1375
|
+
window.getSelection().removeAllRanges();
|
1376
|
+
}
|
1377
|
+
} catch (err) {}
|
1378
|
+
},
|
1379
|
+
_dragStarted: function _dragStarted(fallback, evt) {
|
1380
|
+
awaitingDragStarted = false;
|
1381
|
+
if (rootEl && dragEl) {
|
1382
|
+
pluginEvent('dragStarted', this, {
|
1383
|
+
evt: evt
|
1384
|
+
});
|
1385
|
+
if (this.nativeDraggable) {
|
1386
|
+
on(document, 'dragover', _checkOutsideTargetEl);
|
1387
|
+
}
|
1388
|
+
var options = this.options;
|
1389
|
+
|
1390
|
+
// Apply effect
|
1391
|
+
!fallback && toggleClass(dragEl, options.dragClass, false);
|
1392
|
+
toggleClass(dragEl, options.ghostClass, true);
|
1393
|
+
Sortable.active = this;
|
1394
|
+
fallback && this._appendGhost();
|
1395
|
+
|
1396
|
+
// Drag start event
|
1397
|
+
_dispatchEvent({
|
1398
|
+
sortable: this,
|
1399
|
+
name: 'start',
|
1400
|
+
originalEvent: evt
|
1401
|
+
});
|
1402
|
+
} else {
|
1403
|
+
this._nulling();
|
1404
|
+
}
|
1405
|
+
},
|
1406
|
+
_emulateDragOver: function _emulateDragOver() {
|
1407
|
+
if (touchEvt) {
|
1408
|
+
this._lastX = touchEvt.clientX;
|
1409
|
+
this._lastY = touchEvt.clientY;
|
1410
|
+
_hideGhostForTarget();
|
1411
|
+
var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
1412
|
+
var parent = target;
|
1413
|
+
while (target && target.shadowRoot) {
|
1414
|
+
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
1415
|
+
if (target === parent) break;
|
1416
|
+
parent = target;
|
1417
|
+
}
|
1418
|
+
dragEl.parentNode[expando]._isOutsideThisEl(target);
|
1419
|
+
if (parent) {
|
1420
|
+
do {
|
1421
|
+
if (parent[expando]) {
|
1422
|
+
var inserted = void 0;
|
1423
|
+
inserted = parent[expando]._onDragOver({
|
1424
|
+
clientX: touchEvt.clientX,
|
1425
|
+
clientY: touchEvt.clientY,
|
1426
|
+
target: target,
|
1427
|
+
rootEl: parent
|
1428
|
+
});
|
1429
|
+
if (inserted && !this.options.dragoverBubble) {
|
1430
|
+
break;
|
1431
|
+
}
|
1432
|
+
}
|
1433
|
+
target = parent; // store last element
|
1434
|
+
}
|
1435
|
+
/* jshint boss:true */ while (parent = parent.parentNode);
|
1436
|
+
}
|
1437
|
+
_unhideGhostForTarget();
|
1438
|
+
}
|
1439
|
+
},
|
1440
|
+
_onTouchMove: function _onTouchMove( /**TouchEvent*/evt) {
|
1441
|
+
if (tapEvt) {
|
1442
|
+
var options = this.options,
|
1443
|
+
fallbackTolerance = options.fallbackTolerance,
|
1444
|
+
fallbackOffset = options.fallbackOffset,
|
1445
|
+
touch = evt.touches ? evt.touches[0] : evt,
|
1446
|
+
ghostMatrix = ghostEl && matrix(ghostEl, true),
|
1447
|
+
scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
|
1448
|
+
scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
|
1449
|
+
relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),
|
1450
|
+
dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),
|
1451
|
+
dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1);
|
1452
|
+
|
1453
|
+
// only set the status to dragging, when we are actually dragging
|
1454
|
+
if (!Sortable.active && !awaitingDragStarted) {
|
1455
|
+
if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
|
1456
|
+
return;
|
1457
|
+
}
|
1458
|
+
this._onDragStart(evt, true);
|
1459
|
+
}
|
1460
|
+
if (ghostEl) {
|
1461
|
+
if (ghostMatrix) {
|
1462
|
+
ghostMatrix.e += dx - (lastDx || 0);
|
1463
|
+
ghostMatrix.f += dy - (lastDy || 0);
|
1464
|
+
} else {
|
1465
|
+
ghostMatrix = {
|
1466
|
+
a: 1,
|
1467
|
+
b: 0,
|
1468
|
+
c: 0,
|
1469
|
+
d: 1,
|
1470
|
+
e: dx,
|
1471
|
+
f: dy
|
1472
|
+
};
|
1473
|
+
}
|
1474
|
+
var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
|
1475
|
+
css(ghostEl, 'webkitTransform', cssMatrix);
|
1476
|
+
css(ghostEl, 'mozTransform', cssMatrix);
|
1477
|
+
css(ghostEl, 'msTransform', cssMatrix);
|
1478
|
+
css(ghostEl, 'transform', cssMatrix);
|
1479
|
+
lastDx = dx;
|
1480
|
+
lastDy = dy;
|
1481
|
+
touchEvt = touch;
|
1482
|
+
}
|
1483
|
+
evt.cancelable && evt.preventDefault();
|
1484
|
+
}
|
1485
|
+
},
|
1486
|
+
_appendGhost: function _appendGhost() {
|
1487
|
+
// Bug if using scale(): https://stackoverflow.com/questions/2637058
|
1488
|
+
// Not being adjusted for
|
1489
|
+
if (!ghostEl) {
|
1490
|
+
var container = this.options.fallbackOnBody ? document.body : rootEl,
|
1491
|
+
rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),
|
1492
|
+
options = this.options;
|
1493
|
+
|
1494
|
+
// Position absolutely
|
1495
|
+
if (PositionGhostAbsolutely) {
|
1496
|
+
// Get relatively positioned parent
|
1497
|
+
ghostRelativeParent = container;
|
1498
|
+
while (css(ghostRelativeParent, 'position') === 'static' && css(ghostRelativeParent, 'transform') === 'none' && ghostRelativeParent !== document) {
|
1499
|
+
ghostRelativeParent = ghostRelativeParent.parentNode;
|
1500
|
+
}
|
1501
|
+
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
1502
|
+
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
1503
|
+
rect.top += ghostRelativeParent.scrollTop;
|
1504
|
+
rect.left += ghostRelativeParent.scrollLeft;
|
1505
|
+
} else {
|
1506
|
+
ghostRelativeParent = getWindowScrollingElement();
|
1507
|
+
}
|
1508
|
+
ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
|
1509
|
+
}
|
1510
|
+
ghostEl = dragEl.cloneNode(true);
|
1511
|
+
toggleClass(ghostEl, options.ghostClass, false);
|
1512
|
+
toggleClass(ghostEl, options.fallbackClass, true);
|
1513
|
+
toggleClass(ghostEl, options.dragClass, true);
|
1514
|
+
css(ghostEl, 'transition', '');
|
1515
|
+
css(ghostEl, 'transform', '');
|
1516
|
+
css(ghostEl, 'box-sizing', 'border-box');
|
1517
|
+
css(ghostEl, 'margin', 0);
|
1518
|
+
css(ghostEl, 'top', rect.top);
|
1519
|
+
css(ghostEl, 'left', rect.left);
|
1520
|
+
css(ghostEl, 'width', rect.width);
|
1521
|
+
css(ghostEl, 'height', rect.height);
|
1522
|
+
css(ghostEl, 'opacity', '0.8');
|
1523
|
+
css(ghostEl, 'position', PositionGhostAbsolutely ? 'absolute' : 'fixed');
|
1524
|
+
css(ghostEl, 'zIndex', '100000');
|
1525
|
+
css(ghostEl, 'pointerEvents', 'none');
|
1526
|
+
Sortable.ghost = ghostEl;
|
1527
|
+
container.appendChild(ghostEl);
|
1528
|
+
|
1529
|
+
// Set transform-origin
|
1530
|
+
css(ghostEl, 'transform-origin', tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + '% ' + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + '%');
|
1531
|
+
}
|
1532
|
+
},
|
1533
|
+
_onDragStart: function _onDragStart( /**Event*/evt, /**boolean*/fallback) {
|
1534
|
+
var _this = this;
|
1535
|
+
var dataTransfer = evt.dataTransfer;
|
1536
|
+
var options = _this.options;
|
1537
|
+
pluginEvent('dragStart', this, {
|
1538
|
+
evt: evt
|
1539
|
+
});
|
1540
|
+
if (Sortable.eventCanceled) {
|
1541
|
+
this._onDrop();
|
1542
|
+
return;
|
1543
|
+
}
|
1544
|
+
pluginEvent('setupClone', this);
|
1545
|
+
if (!Sortable.eventCanceled) {
|
1546
|
+
cloneEl = clone(dragEl);
|
1547
|
+
cloneEl.removeAttribute("id");
|
1548
|
+
cloneEl.draggable = false;
|
1549
|
+
cloneEl.style['will-change'] = '';
|
1550
|
+
this._hideClone();
|
1551
|
+
toggleClass(cloneEl, this.options.chosenClass, false);
|
1552
|
+
Sortable.clone = cloneEl;
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
// #1143: IFrame support workaround
|
1556
|
+
_this.cloneId = _nextTick(function () {
|
1557
|
+
pluginEvent('clone', _this);
|
1558
|
+
if (Sortable.eventCanceled) return;
|
1559
|
+
if (!_this.options.removeCloneOnHide) {
|
1560
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
1561
|
+
}
|
1562
|
+
_this._hideClone();
|
1563
|
+
_dispatchEvent({
|
1564
|
+
sortable: _this,
|
1565
|
+
name: 'clone'
|
1566
|
+
});
|
1567
|
+
});
|
1568
|
+
!fallback && toggleClass(dragEl, options.dragClass, true);
|
1569
|
+
|
1570
|
+
// Set proper drop events
|
1571
|
+
if (fallback) {
|
1572
|
+
ignoreNextClick = true;
|
1573
|
+
_this._loopId = setInterval(_this._emulateDragOver, 50);
|
1574
|
+
} else {
|
1575
|
+
// Undo what was set in _prepareDragStart before drag started
|
1576
|
+
off(document, 'mouseup', _this._onDrop);
|
1577
|
+
off(document, 'touchend', _this._onDrop);
|
1578
|
+
off(document, 'touchcancel', _this._onDrop);
|
1579
|
+
if (dataTransfer) {
|
1580
|
+
dataTransfer.effectAllowed = 'move';
|
1581
|
+
options.setData && options.setData.call(_this, dataTransfer, dragEl);
|
1582
|
+
}
|
1583
|
+
on(document, 'drop', _this);
|
1584
|
+
|
1585
|
+
// #1276 fix:
|
1586
|
+
css(dragEl, 'transform', 'translateZ(0)');
|
1587
|
+
}
|
1588
|
+
awaitingDragStarted = true;
|
1589
|
+
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
|
1590
|
+
on(document, 'selectstart', _this);
|
1591
|
+
moved = true;
|
1592
|
+
if (Safari) {
|
1593
|
+
css(document.body, 'user-select', 'none');
|
1594
|
+
}
|
1595
|
+
},
|
1596
|
+
// Returns true - if no further action is needed (either inserted or another condition)
|
1597
|
+
_onDragOver: function _onDragOver( /**Event*/evt) {
|
1598
|
+
var el = this.el,
|
1599
|
+
target = evt.target,
|
1600
|
+
dragRect,
|
1601
|
+
targetRect,
|
1602
|
+
revert,
|
1603
|
+
options = this.options,
|
1604
|
+
group = options.group,
|
1605
|
+
activeSortable = Sortable.active,
|
1606
|
+
isOwner = activeGroup === group,
|
1607
|
+
canSort = options.sort,
|
1608
|
+
fromSortable = putSortable || activeSortable,
|
1609
|
+
vertical,
|
1610
|
+
_this = this,
|
1611
|
+
completedFired = false;
|
1612
|
+
if (_silent) return;
|
1613
|
+
function dragOverEvent(name, extra) {
|
1614
|
+
pluginEvent(name, _this, _objectSpread2({
|
1615
|
+
evt: evt,
|
1616
|
+
isOwner: isOwner,
|
1617
|
+
axis: vertical ? 'vertical' : 'horizontal',
|
1618
|
+
revert: revert,
|
1619
|
+
dragRect: dragRect,
|
1620
|
+
targetRect: targetRect,
|
1621
|
+
canSort: canSort,
|
1622
|
+
fromSortable: fromSortable,
|
1623
|
+
target: target,
|
1624
|
+
completed: completed,
|
1625
|
+
onMove: function onMove(target, after) {
|
1626
|
+
return _onMove(rootEl, el, dragEl, dragRect, target, getRect(target), evt, after);
|
1627
|
+
},
|
1628
|
+
changed: changed
|
1629
|
+
}, extra));
|
1630
|
+
}
|
1631
|
+
|
1632
|
+
// Capture animation state
|
1633
|
+
function capture() {
|
1634
|
+
dragOverEvent('dragOverAnimationCapture');
|
1635
|
+
_this.captureAnimationState();
|
1636
|
+
if (_this !== fromSortable) {
|
1637
|
+
fromSortable.captureAnimationState();
|
1638
|
+
}
|
1639
|
+
}
|
1640
|
+
|
1641
|
+
// Return invocation when dragEl is inserted (or completed)
|
1642
|
+
function completed(insertion) {
|
1643
|
+
dragOverEvent('dragOverCompleted', {
|
1644
|
+
insertion: insertion
|
1645
|
+
});
|
1646
|
+
if (insertion) {
|
1647
|
+
// Clones must be hidden before folding animation to capture dragRectAbsolute properly
|
1648
|
+
if (isOwner) {
|
1649
|
+
activeSortable._hideClone();
|
1650
|
+
} else {
|
1651
|
+
activeSortable._showClone(_this);
|
1652
|
+
}
|
1653
|
+
if (_this !== fromSortable) {
|
1654
|
+
// Set ghost class to new sortable's ghost class
|
1655
|
+
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
|
1656
|
+
toggleClass(dragEl, options.ghostClass, true);
|
1657
|
+
}
|
1658
|
+
if (putSortable !== _this && _this !== Sortable.active) {
|
1659
|
+
putSortable = _this;
|
1660
|
+
} else if (_this === Sortable.active && putSortable) {
|
1661
|
+
putSortable = null;
|
1662
|
+
}
|
1663
|
+
|
1664
|
+
// Animation
|
1665
|
+
if (fromSortable === _this) {
|
1666
|
+
_this._ignoreWhileAnimating = target;
|
1667
|
+
}
|
1668
|
+
_this.animateAll(function () {
|
1669
|
+
dragOverEvent('dragOverAnimationComplete');
|
1670
|
+
_this._ignoreWhileAnimating = null;
|
1671
|
+
});
|
1672
|
+
if (_this !== fromSortable) {
|
1673
|
+
fromSortable.animateAll();
|
1674
|
+
fromSortable._ignoreWhileAnimating = null;
|
1675
|
+
}
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
// Null lastTarget if it is not inside a previously swapped element
|
1679
|
+
if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
|
1680
|
+
lastTarget = null;
|
1681
|
+
}
|
1682
|
+
|
1683
|
+
// no bubbling and not fallback
|
1684
|
+
if (!options.dragoverBubble && !evt.rootEl && target !== document) {
|
1685
|
+
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
1686
|
+
|
1687
|
+
// Do not detect for empty insert if already inserted
|
1688
|
+
!insertion && nearestEmptyInsertDetectEvent(evt);
|
1689
|
+
}
|
1690
|
+
!options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
|
1691
|
+
return completedFired = true;
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
// Call when dragEl has been inserted
|
1695
|
+
function changed() {
|
1696
|
+
newIndex = index(dragEl);
|
1697
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
1698
|
+
_dispatchEvent({
|
1699
|
+
sortable: _this,
|
1700
|
+
name: 'change',
|
1701
|
+
toEl: el,
|
1702
|
+
newIndex: newIndex,
|
1703
|
+
newDraggableIndex: newDraggableIndex,
|
1704
|
+
originalEvent: evt
|
1705
|
+
});
|
1706
|
+
}
|
1707
|
+
if (evt.preventDefault !== void 0) {
|
1708
|
+
evt.cancelable && evt.preventDefault();
|
1709
|
+
}
|
1710
|
+
target = closest(target, options.draggable, el, true);
|
1711
|
+
dragOverEvent('dragOver');
|
1712
|
+
if (Sortable.eventCanceled) return completedFired;
|
1713
|
+
if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
|
1714
|
+
return completed(false);
|
1715
|
+
}
|
1716
|
+
ignoreNextClick = false;
|
1717
|
+
if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) // Reverting item into the original list
|
1718
|
+
: putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
|
1719
|
+
vertical = this._getDirection(evt, target) === 'vertical';
|
1720
|
+
dragRect = getRect(dragEl);
|
1721
|
+
dragOverEvent('dragOverValid');
|
1722
|
+
if (Sortable.eventCanceled) return completedFired;
|
1723
|
+
if (revert) {
|
1724
|
+
parentEl = rootEl; // actualization
|
1725
|
+
capture();
|
1726
|
+
this._hideClone();
|
1727
|
+
dragOverEvent('revert');
|
1728
|
+
if (!Sortable.eventCanceled) {
|
1729
|
+
if (nextEl) {
|
1730
|
+
rootEl.insertBefore(dragEl, nextEl);
|
1731
|
+
} else {
|
1732
|
+
rootEl.appendChild(dragEl);
|
1733
|
+
}
|
1734
|
+
}
|
1735
|
+
return completed(true);
|
1736
|
+
}
|
1737
|
+
var elLastChild = lastChild(el, options.draggable);
|
1738
|
+
if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
|
1739
|
+
// Insert to end of list
|
1740
|
+
|
1741
|
+
// If already at end of list: Do not insert
|
1742
|
+
if (elLastChild === dragEl) {
|
1743
|
+
return completed(false);
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
// if there is a last element, it is the target
|
1747
|
+
if (elLastChild && el === evt.target) {
|
1748
|
+
target = elLastChild;
|
1749
|
+
}
|
1750
|
+
if (target) {
|
1751
|
+
targetRect = getRect(target);
|
1752
|
+
}
|
1753
|
+
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
|
1754
|
+
capture();
|
1755
|
+
if (elLastChild && elLastChild.nextSibling) {
|
1756
|
+
// the last draggable element is not the last node
|
1757
|
+
el.insertBefore(dragEl, elLastChild.nextSibling);
|
1758
|
+
} else {
|
1759
|
+
el.appendChild(dragEl);
|
1760
|
+
}
|
1761
|
+
parentEl = el; // actualization
|
1762
|
+
|
1763
|
+
changed();
|
1764
|
+
return completed(true);
|
1765
|
+
}
|
1766
|
+
} else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
|
1767
|
+
// Insert to start of list
|
1768
|
+
var firstChild = getChild(el, 0, options, true);
|
1769
|
+
if (firstChild === dragEl) {
|
1770
|
+
return completed(false);
|
1771
|
+
}
|
1772
|
+
target = firstChild;
|
1773
|
+
targetRect = getRect(target);
|
1774
|
+
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
|
1775
|
+
capture();
|
1776
|
+
el.insertBefore(dragEl, firstChild);
|
1777
|
+
parentEl = el; // actualization
|
1778
|
+
|
1779
|
+
changed();
|
1780
|
+
return completed(true);
|
1781
|
+
}
|
1782
|
+
} else if (target.parentNode === el) {
|
1783
|
+
targetRect = getRect(target);
|
1784
|
+
var direction = 0,
|
1785
|
+
targetBeforeFirstSwap,
|
1786
|
+
differentLevel = dragEl.parentNode !== el,
|
1787
|
+
differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),
|
1788
|
+
side1 = vertical ? 'top' : 'left',
|
1789
|
+
scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),
|
1790
|
+
scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
|
1791
|
+
if (lastTarget !== target) {
|
1792
|
+
targetBeforeFirstSwap = targetRect[side1];
|
1793
|
+
pastFirstInvertThresh = false;
|
1794
|
+
isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
|
1795
|
+
}
|
1796
|
+
direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
|
1797
|
+
var sibling;
|
1798
|
+
if (direction !== 0) {
|
1799
|
+
// Check if target is beside dragEl in respective direction (ignoring hidden elements)
|
1800
|
+
var dragIndex = index(dragEl);
|
1801
|
+
do {
|
1802
|
+
dragIndex -= direction;
|
1803
|
+
sibling = parentEl.children[dragIndex];
|
1804
|
+
} while (sibling && (css(sibling, 'display') === 'none' || sibling === ghostEl));
|
1805
|
+
}
|
1806
|
+
// If dragEl is already beside target: Do not insert
|
1807
|
+
if (direction === 0 || sibling === target) {
|
1808
|
+
return completed(false);
|
1809
|
+
}
|
1810
|
+
lastTarget = target;
|
1811
|
+
lastDirection = direction;
|
1812
|
+
var nextSibling = target.nextElementSibling,
|
1813
|
+
after = false;
|
1814
|
+
after = direction === 1;
|
1815
|
+
var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
|
1816
|
+
if (moveVector !== false) {
|
1817
|
+
if (moveVector === 1 || moveVector === -1) {
|
1818
|
+
after = moveVector === 1;
|
1819
|
+
}
|
1820
|
+
_silent = true;
|
1821
|
+
setTimeout(_unsilent, 30);
|
1822
|
+
capture();
|
1823
|
+
if (after && !nextSibling) {
|
1824
|
+
el.appendChild(dragEl);
|
1825
|
+
} else {
|
1826
|
+
target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
|
1827
|
+
}
|
1828
|
+
|
1829
|
+
// Undo chrome's scroll adjustment (has no effect on other browsers)
|
1830
|
+
if (scrolledPastTop) {
|
1831
|
+
scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
|
1832
|
+
}
|
1833
|
+
parentEl = dragEl.parentNode; // actualization
|
1834
|
+
|
1835
|
+
// must be done before animation
|
1836
|
+
if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) {
|
1837
|
+
targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
|
1838
|
+
}
|
1839
|
+
changed();
|
1840
|
+
return completed(true);
|
1841
|
+
}
|
1842
|
+
}
|
1843
|
+
if (el.contains(dragEl)) {
|
1844
|
+
return completed(false);
|
1845
|
+
}
|
1846
|
+
}
|
1847
|
+
return false;
|
1848
|
+
},
|
1849
|
+
_ignoreWhileAnimating: null,
|
1850
|
+
_offMoveEvents: function _offMoveEvents() {
|
1851
|
+
off(document, 'mousemove', this._onTouchMove);
|
1852
|
+
off(document, 'touchmove', this._onTouchMove);
|
1853
|
+
off(document, 'pointermove', this._onTouchMove);
|
1854
|
+
off(document, 'dragover', nearestEmptyInsertDetectEvent);
|
1855
|
+
off(document, 'mousemove', nearestEmptyInsertDetectEvent);
|
1856
|
+
off(document, 'touchmove', nearestEmptyInsertDetectEvent);
|
1857
|
+
},
|
1858
|
+
_offUpEvents: function _offUpEvents() {
|
1859
|
+
var ownerDocument = this.el.ownerDocument;
|
1860
|
+
off(ownerDocument, 'mouseup', this._onDrop);
|
1861
|
+
off(ownerDocument, 'touchend', this._onDrop);
|
1862
|
+
off(ownerDocument, 'pointerup', this._onDrop);
|
1863
|
+
off(ownerDocument, 'touchcancel', this._onDrop);
|
1864
|
+
off(document, 'selectstart', this);
|
1865
|
+
},
|
1866
|
+
_onDrop: function _onDrop( /**Event*/evt) {
|
1867
|
+
var el = this.el,
|
1868
|
+
options = this.options;
|
1869
|
+
|
1870
|
+
// Get the index of the dragged element within its parent
|
1871
|
+
newIndex = index(dragEl);
|
1872
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
1873
|
+
pluginEvent('drop', this, {
|
1874
|
+
evt: evt
|
1875
|
+
});
|
1876
|
+
parentEl = dragEl && dragEl.parentNode;
|
1877
|
+
|
1878
|
+
// Get again after plugin event
|
1879
|
+
newIndex = index(dragEl);
|
1880
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
1881
|
+
if (Sortable.eventCanceled) {
|
1882
|
+
this._nulling();
|
1883
|
+
return;
|
1884
|
+
}
|
1885
|
+
awaitingDragStarted = false;
|
1886
|
+
isCircumstantialInvert = false;
|
1887
|
+
pastFirstInvertThresh = false;
|
1888
|
+
clearInterval(this._loopId);
|
1889
|
+
clearTimeout(this._dragStartTimer);
|
1890
|
+
_cancelNextTick(this.cloneId);
|
1891
|
+
_cancelNextTick(this._dragStartId);
|
1892
|
+
|
1893
|
+
// Unbind events
|
1894
|
+
if (this.nativeDraggable) {
|
1895
|
+
off(document, 'drop', this);
|
1896
|
+
off(el, 'dragstart', this._onDragStart);
|
1897
|
+
}
|
1898
|
+
this._offMoveEvents();
|
1899
|
+
this._offUpEvents();
|
1900
|
+
if (Safari) {
|
1901
|
+
css(document.body, 'user-select', '');
|
1902
|
+
}
|
1903
|
+
css(dragEl, 'transform', '');
|
1904
|
+
if (evt) {
|
1905
|
+
if (moved) {
|
1906
|
+
evt.cancelable && evt.preventDefault();
|
1907
|
+
!options.dropBubble && evt.stopPropagation();
|
1908
|
+
}
|
1909
|
+
ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
|
1910
|
+
if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
|
1911
|
+
// Remove clone(s)
|
1912
|
+
cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
|
1913
|
+
}
|
1914
|
+
if (dragEl) {
|
1915
|
+
if (this.nativeDraggable) {
|
1916
|
+
off(dragEl, 'dragend', this);
|
1917
|
+
}
|
1918
|
+
_disableDraggable(dragEl);
|
1919
|
+
dragEl.style['will-change'] = '';
|
1920
|
+
|
1921
|
+
// Remove classes
|
1922
|
+
// ghostClass is added in dragStarted
|
1923
|
+
if (moved && !awaitingDragStarted) {
|
1924
|
+
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
|
1925
|
+
}
|
1926
|
+
toggleClass(dragEl, this.options.chosenClass, false);
|
1927
|
+
|
1928
|
+
// Drag stop event
|
1929
|
+
_dispatchEvent({
|
1930
|
+
sortable: this,
|
1931
|
+
name: 'unchoose',
|
1932
|
+
toEl: parentEl,
|
1933
|
+
newIndex: null,
|
1934
|
+
newDraggableIndex: null,
|
1935
|
+
originalEvent: evt
|
1936
|
+
});
|
1937
|
+
if (rootEl !== parentEl) {
|
1938
|
+
if (newIndex >= 0) {
|
1939
|
+
// Add event
|
1940
|
+
_dispatchEvent({
|
1941
|
+
rootEl: parentEl,
|
1942
|
+
name: 'add',
|
1943
|
+
toEl: parentEl,
|
1944
|
+
fromEl: rootEl,
|
1945
|
+
originalEvent: evt
|
1946
|
+
});
|
1947
|
+
|
1948
|
+
// Remove event
|
1949
|
+
_dispatchEvent({
|
1950
|
+
sortable: this,
|
1951
|
+
name: 'remove',
|
1952
|
+
toEl: parentEl,
|
1953
|
+
originalEvent: evt
|
1954
|
+
});
|
1955
|
+
|
1956
|
+
// drag from one list and drop into another
|
1957
|
+
_dispatchEvent({
|
1958
|
+
rootEl: parentEl,
|
1959
|
+
name: 'sort',
|
1960
|
+
toEl: parentEl,
|
1961
|
+
fromEl: rootEl,
|
1962
|
+
originalEvent: evt
|
1963
|
+
});
|
1964
|
+
_dispatchEvent({
|
1965
|
+
sortable: this,
|
1966
|
+
name: 'sort',
|
1967
|
+
toEl: parentEl,
|
1968
|
+
originalEvent: evt
|
1969
|
+
});
|
1970
|
+
}
|
1971
|
+
putSortable && putSortable.save();
|
1972
|
+
} else {
|
1973
|
+
if (newIndex !== oldIndex) {
|
1974
|
+
if (newIndex >= 0) {
|
1975
|
+
// drag & drop within the same list
|
1976
|
+
_dispatchEvent({
|
1977
|
+
sortable: this,
|
1978
|
+
name: 'update',
|
1979
|
+
toEl: parentEl,
|
1980
|
+
originalEvent: evt
|
1981
|
+
});
|
1982
|
+
_dispatchEvent({
|
1983
|
+
sortable: this,
|
1984
|
+
name: 'sort',
|
1985
|
+
toEl: parentEl,
|
1986
|
+
originalEvent: evt
|
1987
|
+
});
|
1988
|
+
}
|
1989
|
+
}
|
1990
|
+
}
|
1991
|
+
if (Sortable.active) {
|
1992
|
+
/* jshint eqnull:true */
|
1993
|
+
if (newIndex == null || newIndex === -1) {
|
1994
|
+
newIndex = oldIndex;
|
1995
|
+
newDraggableIndex = oldDraggableIndex;
|
1996
|
+
}
|
1997
|
+
_dispatchEvent({
|
1998
|
+
sortable: this,
|
1999
|
+
name: 'end',
|
2000
|
+
toEl: parentEl,
|
2001
|
+
originalEvent: evt
|
2002
|
+
});
|
2003
|
+
|
2004
|
+
// Save sorting
|
2005
|
+
this.save();
|
2006
|
+
}
|
2007
|
+
}
|
2008
|
+
}
|
2009
|
+
this._nulling();
|
2010
|
+
},
|
2011
|
+
_nulling: function _nulling() {
|
2012
|
+
pluginEvent('nulling', this);
|
2013
|
+
rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;
|
2014
|
+
savedInputChecked.forEach(function (el) {
|
2015
|
+
el.checked = true;
|
2016
|
+
});
|
2017
|
+
savedInputChecked.length = lastDx = lastDy = 0;
|
2018
|
+
},
|
2019
|
+
handleEvent: function handleEvent( /**Event*/evt) {
|
2020
|
+
switch (evt.type) {
|
2021
|
+
case 'drop':
|
2022
|
+
case 'dragend':
|
2023
|
+
this._onDrop(evt);
|
2024
|
+
break;
|
2025
|
+
case 'dragenter':
|
2026
|
+
case 'dragover':
|
2027
|
+
if (dragEl) {
|
2028
|
+
this._onDragOver(evt);
|
2029
|
+
_globalDragOver(evt);
|
2030
|
+
}
|
2031
|
+
break;
|
2032
|
+
case 'selectstart':
|
2033
|
+
evt.preventDefault();
|
2034
|
+
break;
|
2035
|
+
}
|
2036
|
+
},
|
2037
|
+
/**
|
2038
|
+
* Serializes the item into an array of string.
|
2039
|
+
* @returns {String[]}
|
2040
|
+
*/
|
2041
|
+
toArray: function toArray() {
|
2042
|
+
var order = [],
|
2043
|
+
el,
|
2044
|
+
children = this.el.children,
|
2045
|
+
i = 0,
|
2046
|
+
n = children.length,
|
2047
|
+
options = this.options;
|
2048
|
+
for (; i < n; i++) {
|
2049
|
+
el = children[i];
|
2050
|
+
if (closest(el, options.draggable, this.el, false)) {
|
2051
|
+
order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
|
2052
|
+
}
|
2053
|
+
}
|
2054
|
+
return order;
|
2055
|
+
},
|
2056
|
+
/**
|
2057
|
+
* Sorts the elements according to the array.
|
2058
|
+
* @param {String[]} order order of the items
|
2059
|
+
*/
|
2060
|
+
sort: function sort(order, useAnimation) {
|
2061
|
+
var items = {},
|
2062
|
+
rootEl = this.el;
|
2063
|
+
this.toArray().forEach(function (id, i) {
|
2064
|
+
var el = rootEl.children[i];
|
2065
|
+
if (closest(el, this.options.draggable, rootEl, false)) {
|
2066
|
+
items[id] = el;
|
2067
|
+
}
|
2068
|
+
}, this);
|
2069
|
+
useAnimation && this.captureAnimationState();
|
2070
|
+
order.forEach(function (id) {
|
2071
|
+
if (items[id]) {
|
2072
|
+
rootEl.removeChild(items[id]);
|
2073
|
+
rootEl.appendChild(items[id]);
|
2074
|
+
}
|
2075
|
+
});
|
2076
|
+
useAnimation && this.animateAll();
|
2077
|
+
},
|
2078
|
+
/**
|
2079
|
+
* Save the current sorting
|
2080
|
+
*/
|
2081
|
+
save: function save() {
|
2082
|
+
var store = this.options.store;
|
2083
|
+
store && store.set && store.set(this);
|
2084
|
+
},
|
2085
|
+
/**
|
2086
|
+
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
2087
|
+
* @param {HTMLElement} el
|
2088
|
+
* @param {String} [selector] default: `options.draggable`
|
2089
|
+
* @returns {HTMLElement|null}
|
2090
|
+
*/
|
2091
|
+
closest: function closest$1(el, selector) {
|
2092
|
+
return closest(el, selector || this.options.draggable, this.el, false);
|
2093
|
+
},
|
2094
|
+
/**
|
2095
|
+
* Set/get option
|
2096
|
+
* @param {string} name
|
2097
|
+
* @param {*} [value]
|
2098
|
+
* @returns {*}
|
2099
|
+
*/
|
2100
|
+
option: function option(name, value) {
|
2101
|
+
var options = this.options;
|
2102
|
+
if (value === void 0) {
|
2103
|
+
return options[name];
|
2104
|
+
} else {
|
2105
|
+
var modifiedValue = PluginManager.modifyOption(this, name, value);
|
2106
|
+
if (typeof modifiedValue !== 'undefined') {
|
2107
|
+
options[name] = modifiedValue;
|
2108
|
+
} else {
|
2109
|
+
options[name] = value;
|
2110
|
+
}
|
2111
|
+
if (name === 'group') {
|
2112
|
+
_prepareGroup(options);
|
2113
|
+
}
|
2114
|
+
}
|
2115
|
+
},
|
2116
|
+
/**
|
2117
|
+
* Destroy
|
2118
|
+
*/
|
2119
|
+
destroy: function destroy() {
|
2120
|
+
pluginEvent('destroy', this);
|
2121
|
+
var el = this.el;
|
2122
|
+
el[expando] = null;
|
2123
|
+
off(el, 'mousedown', this._onTapStart);
|
2124
|
+
off(el, 'touchstart', this._onTapStart);
|
2125
|
+
off(el, 'pointerdown', this._onTapStart);
|
2126
|
+
if (this.nativeDraggable) {
|
2127
|
+
off(el, 'dragover', this);
|
2128
|
+
off(el, 'dragenter', this);
|
2129
|
+
}
|
2130
|
+
// Remove draggable attributes
|
2131
|
+
Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
|
2132
|
+
el.removeAttribute('draggable');
|
2133
|
+
});
|
2134
|
+
this._onDrop();
|
2135
|
+
this._disableDelayedDragEvents();
|
2136
|
+
sortables.splice(sortables.indexOf(this.el), 1);
|
2137
|
+
this.el = el = null;
|
2138
|
+
},
|
2139
|
+
_hideClone: function _hideClone() {
|
2140
|
+
if (!cloneHidden) {
|
2141
|
+
pluginEvent('hideClone', this);
|
2142
|
+
if (Sortable.eventCanceled) return;
|
2143
|
+
css(cloneEl, 'display', 'none');
|
2144
|
+
if (this.options.removeCloneOnHide && cloneEl.parentNode) {
|
2145
|
+
cloneEl.parentNode.removeChild(cloneEl);
|
2146
|
+
}
|
2147
|
+
cloneHidden = true;
|
2148
|
+
}
|
2149
|
+
},
|
2150
|
+
_showClone: function _showClone(putSortable) {
|
2151
|
+
if (putSortable.lastPutMode !== 'clone') {
|
2152
|
+
this._hideClone();
|
2153
|
+
return;
|
2154
|
+
}
|
2155
|
+
if (cloneHidden) {
|
2156
|
+
pluginEvent('showClone', this);
|
2157
|
+
if (Sortable.eventCanceled) return;
|
2158
|
+
|
2159
|
+
// show clone at dragEl or original position
|
2160
|
+
if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
|
2161
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
2162
|
+
} else if (nextEl) {
|
2163
|
+
rootEl.insertBefore(cloneEl, nextEl);
|
2164
|
+
} else {
|
2165
|
+
rootEl.appendChild(cloneEl);
|
2166
|
+
}
|
2167
|
+
if (this.options.group.revertClone) {
|
2168
|
+
this.animate(dragEl, cloneEl);
|
2169
|
+
}
|
2170
|
+
css(cloneEl, 'display', '');
|
2171
|
+
cloneHidden = false;
|
2172
|
+
}
|
2173
|
+
}
|
2174
|
+
};
|
2175
|
+
function _globalDragOver( /**Event*/evt) {
|
2176
|
+
if (evt.dataTransfer) {
|
2177
|
+
evt.dataTransfer.dropEffect = 'move';
|
2178
|
+
}
|
2179
|
+
evt.cancelable && evt.preventDefault();
|
2180
|
+
}
|
2181
|
+
function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
|
2182
|
+
var evt,
|
2183
|
+
sortable = fromEl[expando],
|
2184
|
+
onMoveFn = sortable.options.onMove,
|
2185
|
+
retVal;
|
2186
|
+
// Support for new CustomEvent feature
|
2187
|
+
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
2188
|
+
evt = new CustomEvent('move', {
|
2189
|
+
bubbles: true,
|
2190
|
+
cancelable: true
|
2191
|
+
});
|
2192
|
+
} else {
|
2193
|
+
evt = document.createEvent('Event');
|
2194
|
+
evt.initEvent('move', true, true);
|
2195
|
+
}
|
2196
|
+
evt.to = toEl;
|
2197
|
+
evt.from = fromEl;
|
2198
|
+
evt.dragged = dragEl;
|
2199
|
+
evt.draggedRect = dragRect;
|
2200
|
+
evt.related = targetEl || toEl;
|
2201
|
+
evt.relatedRect = targetRect || getRect(toEl);
|
2202
|
+
evt.willInsertAfter = willInsertAfter;
|
2203
|
+
evt.originalEvent = originalEvent;
|
2204
|
+
fromEl.dispatchEvent(evt);
|
2205
|
+
if (onMoveFn) {
|
2206
|
+
retVal = onMoveFn.call(sortable, evt, originalEvent);
|
2207
|
+
}
|
2208
|
+
return retVal;
|
2209
|
+
}
|
2210
|
+
function _disableDraggable(el) {
|
2211
|
+
el.draggable = false;
|
2212
|
+
}
|
2213
|
+
function _unsilent() {
|
2214
|
+
_silent = false;
|
2215
|
+
}
|
2216
|
+
function _ghostIsFirst(evt, vertical, sortable) {
|
2217
|
+
var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
|
2218
|
+
var sortableContentRect = getContentRect(sortable.el);
|
2219
|
+
var spacer = 10;
|
2220
|
+
return vertical ? evt.clientX < sortableContentRect.left - spacer || evt.clientY < firstElRect.top && evt.clientX < firstElRect.right : evt.clientY < sortableContentRect.top - spacer || evt.clientY < firstElRect.bottom && evt.clientX < firstElRect.left;
|
2221
|
+
}
|
2222
|
+
function _ghostIsLast(evt, vertical, sortable) {
|
2223
|
+
var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
|
2224
|
+
var sortableContentRect = getContentRect(sortable.el);
|
2225
|
+
var spacer = 10;
|
2226
|
+
return vertical ? evt.clientX > sortableContentRect.right + spacer || evt.clientY > lastElRect.bottom && evt.clientX > lastElRect.left : evt.clientY > sortableContentRect.bottom + spacer || evt.clientX > lastElRect.right && evt.clientY > lastElRect.top;
|
2227
|
+
}
|
2228
|
+
function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
|
2229
|
+
var mouseOnAxis = vertical ? evt.clientY : evt.clientX,
|
2230
|
+
targetLength = vertical ? targetRect.height : targetRect.width,
|
2231
|
+
targetS1 = vertical ? targetRect.top : targetRect.left,
|
2232
|
+
targetS2 = vertical ? targetRect.bottom : targetRect.right,
|
2233
|
+
invert = false;
|
2234
|
+
if (!invertSwap) {
|
2235
|
+
// Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold
|
2236
|
+
if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
|
2237
|
+
// multiplied only by swapThreshold because mouse will already be inside target by (1 - threshold) * targetLength / 2
|
2238
|
+
// check if past first invert threshold on side opposite of lastDirection
|
2239
|
+
if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
|
2240
|
+
// past first invert threshold, do not restrict inverted threshold to dragEl shadow
|
2241
|
+
pastFirstInvertThresh = true;
|
2242
|
+
}
|
2243
|
+
if (!pastFirstInvertThresh) {
|
2244
|
+
// dragEl shadow (target move distance shadow)
|
2245
|
+
if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow
|
2246
|
+
: mouseOnAxis > targetS2 - targetMoveDistance) {
|
2247
|
+
return -lastDirection;
|
2248
|
+
}
|
2249
|
+
} else {
|
2250
|
+
invert = true;
|
2251
|
+
}
|
2252
|
+
} else {
|
2253
|
+
// Regular
|
2254
|
+
if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
|
2255
|
+
return _getInsertDirection(target);
|
2256
|
+
}
|
2257
|
+
}
|
2258
|
+
}
|
2259
|
+
invert = invert || invertSwap;
|
2260
|
+
if (invert) {
|
2261
|
+
// Invert of regular
|
2262
|
+
if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
|
2263
|
+
return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
|
2264
|
+
}
|
2265
|
+
}
|
2266
|
+
return 0;
|
2267
|
+
}
|
2268
|
+
|
2269
|
+
/**
|
2270
|
+
* Gets the direction dragEl must be swapped relative to target in order to make it
|
2271
|
+
* seem that dragEl has been "inserted" into that element's position
|
2272
|
+
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
2273
|
+
* @return {Number} Direction dragEl must be swapped
|
2274
|
+
*/
|
2275
|
+
function _getInsertDirection(target) {
|
2276
|
+
if (index(dragEl) < index(target)) {
|
2277
|
+
return 1;
|
2278
|
+
} else {
|
2279
|
+
return -1;
|
2280
|
+
}
|
2281
|
+
}
|
2282
|
+
|
2283
|
+
/**
|
2284
|
+
* Generate id
|
2285
|
+
* @param {HTMLElement} el
|
2286
|
+
* @returns {String}
|
2287
|
+
* @private
|
2288
|
+
*/
|
2289
|
+
function _generateId(el) {
|
2290
|
+
var str = el.tagName + el.className + el.src + el.href + el.textContent,
|
2291
|
+
i = str.length,
|
2292
|
+
sum = 0;
|
2293
|
+
while (i--) {
|
2294
|
+
sum += str.charCodeAt(i);
|
2295
|
+
}
|
2296
|
+
return sum.toString(36);
|
2297
|
+
}
|
2298
|
+
function _saveInputCheckedState(root) {
|
2299
|
+
savedInputChecked.length = 0;
|
2300
|
+
var inputs = root.getElementsByTagName('input');
|
2301
|
+
var idx = inputs.length;
|
2302
|
+
while (idx--) {
|
2303
|
+
var el = inputs[idx];
|
2304
|
+
el.checked && savedInputChecked.push(el);
|
2305
|
+
}
|
2306
|
+
}
|
2307
|
+
function _nextTick(fn) {
|
2308
|
+
return setTimeout(fn, 0);
|
2309
|
+
}
|
2310
|
+
function _cancelNextTick(id) {
|
2311
|
+
return clearTimeout(id);
|
2312
|
+
}
|
2313
|
+
|
2314
|
+
// Fixed #973:
|
2315
|
+
if (documentExists) {
|
2316
|
+
on(document, 'touchmove', function (evt) {
|
2317
|
+
if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
|
2318
|
+
evt.preventDefault();
|
2319
|
+
}
|
2320
|
+
});
|
2321
|
+
}
|
2322
|
+
|
2323
|
+
// Export utils
|
2324
|
+
Sortable.utils = {
|
2325
|
+
on: on,
|
2326
|
+
off: off,
|
2327
|
+
css: css,
|
2328
|
+
find: find,
|
2329
|
+
is: function is(el, selector) {
|
2330
|
+
return !!closest(el, selector, el, false);
|
2331
|
+
},
|
2332
|
+
extend: extend,
|
2333
|
+
throttle: throttle,
|
2334
|
+
closest: closest,
|
2335
|
+
toggleClass: toggleClass,
|
2336
|
+
clone: clone,
|
2337
|
+
index: index,
|
2338
|
+
nextTick: _nextTick,
|
2339
|
+
cancelNextTick: _cancelNextTick,
|
2340
|
+
detectDirection: _detectDirection,
|
2341
|
+
getChild: getChild
|
2342
|
+
};
|
2343
|
+
|
2344
|
+
/**
|
2345
|
+
* Get the Sortable instance of an element
|
2346
|
+
* @param {HTMLElement} element The element
|
2347
|
+
* @return {Sortable|undefined} The instance of Sortable
|
2348
|
+
*/
|
2349
|
+
Sortable.get = function (element) {
|
2350
|
+
return element[expando];
|
2351
|
+
};
|
2352
|
+
|
2353
|
+
/**
|
2354
|
+
* Mount a plugin to Sortable
|
2355
|
+
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
2356
|
+
*/
|
2357
|
+
Sortable.mount = function () {
|
2358
|
+
for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
|
2359
|
+
plugins[_key] = arguments[_key];
|
2360
|
+
}
|
2361
|
+
if (plugins[0].constructor === Array) plugins = plugins[0];
|
2362
|
+
plugins.forEach(function (plugin) {
|
2363
|
+
if (!plugin.prototype || !plugin.prototype.constructor) {
|
2364
|
+
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
|
2365
|
+
}
|
2366
|
+
if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
|
2367
|
+
PluginManager.mount(plugin);
|
2368
|
+
});
|
2369
|
+
};
|
2370
|
+
|
2371
|
+
/**
|
2372
|
+
* Create sortable instance
|
2373
|
+
* @param {HTMLElement} el
|
2374
|
+
* @param {Object} [options]
|
2375
|
+
*/
|
2376
|
+
Sortable.create = function (el, options) {
|
2377
|
+
return new Sortable(el, options);
|
2378
|
+
};
|
2379
|
+
|
2380
|
+
// Export
|
2381
|
+
Sortable.version = version;
|
2382
|
+
|
2383
|
+
var autoScrolls = [],
|
2384
|
+
scrollEl,
|
2385
|
+
scrollRootEl,
|
2386
|
+
scrolling = false,
|
2387
|
+
lastAutoScrollX,
|
2388
|
+
lastAutoScrollY,
|
2389
|
+
touchEvt$1,
|
2390
|
+
pointerElemChangedInterval;
|
2391
|
+
function AutoScrollPlugin() {
|
2392
|
+
function AutoScroll() {
|
2393
|
+
this.defaults = {
|
2394
|
+
scroll: true,
|
2395
|
+
forceAutoScrollFallback: false,
|
2396
|
+
scrollSensitivity: 30,
|
2397
|
+
scrollSpeed: 10,
|
2398
|
+
bubbleScroll: true
|
2399
|
+
};
|
2400
|
+
|
2401
|
+
// Bind all private methods
|
2402
|
+
for (var fn in this) {
|
2403
|
+
if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
|
2404
|
+
this[fn] = this[fn].bind(this);
|
2405
|
+
}
|
2406
|
+
}
|
2407
|
+
}
|
2408
|
+
AutoScroll.prototype = {
|
2409
|
+
dragStarted: function dragStarted(_ref) {
|
2410
|
+
var originalEvent = _ref.originalEvent;
|
2411
|
+
if (this.sortable.nativeDraggable) {
|
2412
|
+
on(document, 'dragover', this._handleAutoScroll);
|
2413
|
+
} else {
|
2414
|
+
if (this.options.supportPointer) {
|
2415
|
+
on(document, 'pointermove', this._handleFallbackAutoScroll);
|
2416
|
+
} else if (originalEvent.touches) {
|
2417
|
+
on(document, 'touchmove', this._handleFallbackAutoScroll);
|
2418
|
+
} else {
|
2419
|
+
on(document, 'mousemove', this._handleFallbackAutoScroll);
|
2420
|
+
}
|
2421
|
+
}
|
2422
|
+
},
|
2423
|
+
dragOverCompleted: function dragOverCompleted(_ref2) {
|
2424
|
+
var originalEvent = _ref2.originalEvent;
|
2425
|
+
// For when bubbling is canceled and using fallback (fallback 'touchmove' always reached)
|
2426
|
+
if (!this.options.dragOverBubble && !originalEvent.rootEl) {
|
2427
|
+
this._handleAutoScroll(originalEvent);
|
2428
|
+
}
|
2429
|
+
},
|
2430
|
+
drop: function drop() {
|
2431
|
+
if (this.sortable.nativeDraggable) {
|
2432
|
+
off(document, 'dragover', this._handleAutoScroll);
|
2433
|
+
} else {
|
2434
|
+
off(document, 'pointermove', this._handleFallbackAutoScroll);
|
2435
|
+
off(document, 'touchmove', this._handleFallbackAutoScroll);
|
2436
|
+
off(document, 'mousemove', this._handleFallbackAutoScroll);
|
2437
|
+
}
|
2438
|
+
clearPointerElemChangedInterval();
|
2439
|
+
clearAutoScrolls();
|
2440
|
+
cancelThrottle();
|
2441
|
+
},
|
2442
|
+
nulling: function nulling() {
|
2443
|
+
touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
|
2444
|
+
autoScrolls.length = 0;
|
2445
|
+
},
|
2446
|
+
_handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
|
2447
|
+
this._handleAutoScroll(evt, true);
|
2448
|
+
},
|
2449
|
+
_handleAutoScroll: function _handleAutoScroll(evt, fallback) {
|
2450
|
+
var _this = this;
|
2451
|
+
var x = (evt.touches ? evt.touches[0] : evt).clientX,
|
2452
|
+
y = (evt.touches ? evt.touches[0] : evt).clientY,
|
2453
|
+
elem = document.elementFromPoint(x, y);
|
2454
|
+
touchEvt$1 = evt;
|
2455
|
+
|
2456
|
+
// IE does not seem to have native autoscroll,
|
2457
|
+
// Edge's autoscroll seems too conditional,
|
2458
|
+
// MACOS Safari does not have autoscroll,
|
2459
|
+
// Firefox and Chrome are good
|
2460
|
+
if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
|
2461
|
+
autoScroll(evt, this.options, elem, fallback);
|
2462
|
+
|
2463
|
+
// Listener for pointer element change
|
2464
|
+
var ogElemScroller = getParentAutoScrollElement(elem, true);
|
2465
|
+
if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
|
2466
|
+
pointerElemChangedInterval && clearPointerElemChangedInterval();
|
2467
|
+
// Detect for pointer elem change, emulating native DnD behaviour
|
2468
|
+
pointerElemChangedInterval = setInterval(function () {
|
2469
|
+
var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
|
2470
|
+
if (newElem !== ogElemScroller) {
|
2471
|
+
ogElemScroller = newElem;
|
2472
|
+
clearAutoScrolls();
|
2473
|
+
}
|
2474
|
+
autoScroll(evt, _this.options, newElem, fallback);
|
2475
|
+
}, 10);
|
2476
|
+
lastAutoScrollX = x;
|
2477
|
+
lastAutoScrollY = y;
|
2478
|
+
}
|
2479
|
+
} else {
|
2480
|
+
// if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll
|
2481
|
+
if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
|
2482
|
+
clearAutoScrolls();
|
2483
|
+
return;
|
2484
|
+
}
|
2485
|
+
autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
|
2486
|
+
}
|
2487
|
+
}
|
2488
|
+
};
|
2489
|
+
return _extends(AutoScroll, {
|
2490
|
+
pluginName: 'scroll',
|
2491
|
+
initializeByDefault: true
|
2492
|
+
});
|
2493
|
+
}
|
2494
|
+
function clearAutoScrolls() {
|
2495
|
+
autoScrolls.forEach(function (autoScroll) {
|
2496
|
+
clearInterval(autoScroll.pid);
|
2497
|
+
});
|
2498
|
+
autoScrolls = [];
|
2499
|
+
}
|
2500
|
+
function clearPointerElemChangedInterval() {
|
2501
|
+
clearInterval(pointerElemChangedInterval);
|
2502
|
+
}
|
2503
|
+
var autoScroll = throttle(function (evt, options, rootEl, isFallback) {
|
2504
|
+
// Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
|
2505
|
+
if (!options.scroll) return;
|
2506
|
+
var x = (evt.touches ? evt.touches[0] : evt).clientX,
|
2507
|
+
y = (evt.touches ? evt.touches[0] : evt).clientY,
|
2508
|
+
sens = options.scrollSensitivity,
|
2509
|
+
speed = options.scrollSpeed,
|
2510
|
+
winScroller = getWindowScrollingElement();
|
2511
|
+
var scrollThisInstance = false,
|
2512
|
+
scrollCustomFn;
|
2513
|
+
|
2514
|
+
// New scroll root, set scrollEl
|
2515
|
+
if (scrollRootEl !== rootEl) {
|
2516
|
+
scrollRootEl = rootEl;
|
2517
|
+
clearAutoScrolls();
|
2518
|
+
scrollEl = options.scroll;
|
2519
|
+
scrollCustomFn = options.scrollFn;
|
2520
|
+
if (scrollEl === true) {
|
2521
|
+
scrollEl = getParentAutoScrollElement(rootEl, true);
|
2522
|
+
}
|
2523
|
+
}
|
2524
|
+
var layersOut = 0;
|
2525
|
+
var currentParent = scrollEl;
|
2526
|
+
do {
|
2527
|
+
var el = currentParent,
|
2528
|
+
rect = getRect(el),
|
2529
|
+
top = rect.top,
|
2530
|
+
bottom = rect.bottom,
|
2531
|
+
left = rect.left,
|
2532
|
+
right = rect.right,
|
2533
|
+
width = rect.width,
|
2534
|
+
height = rect.height,
|
2535
|
+
canScrollX = void 0,
|
2536
|
+
canScrollY = void 0,
|
2537
|
+
scrollWidth = el.scrollWidth,
|
2538
|
+
scrollHeight = el.scrollHeight,
|
2539
|
+
elCSS = css(el),
|
2540
|
+
scrollPosX = el.scrollLeft,
|
2541
|
+
scrollPosY = el.scrollTop;
|
2542
|
+
if (el === winScroller) {
|
2543
|
+
canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll' || elCSS.overflowX === 'visible');
|
2544
|
+
canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll' || elCSS.overflowY === 'visible');
|
2545
|
+
} else {
|
2546
|
+
canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll');
|
2547
|
+
canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll');
|
2548
|
+
}
|
2549
|
+
var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
|
2550
|
+
var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
|
2551
|
+
if (!autoScrolls[layersOut]) {
|
2552
|
+
for (var i = 0; i <= layersOut; i++) {
|
2553
|
+
if (!autoScrolls[i]) {
|
2554
|
+
autoScrolls[i] = {};
|
2555
|
+
}
|
2556
|
+
}
|
2557
|
+
}
|
2558
|
+
if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
|
2559
|
+
autoScrolls[layersOut].el = el;
|
2560
|
+
autoScrolls[layersOut].vx = vx;
|
2561
|
+
autoScrolls[layersOut].vy = vy;
|
2562
|
+
clearInterval(autoScrolls[layersOut].pid);
|
2563
|
+
if (vx != 0 || vy != 0) {
|
2564
|
+
scrollThisInstance = true;
|
2565
|
+
/* jshint loopfunc:true */
|
2566
|
+
autoScrolls[layersOut].pid = setInterval(function () {
|
2567
|
+
// emulate drag over during autoscroll (fallback), emulating native DnD behaviour
|
2568
|
+
if (isFallback && this.layer === 0) {
|
2569
|
+
Sortable.active._onTouchMove(touchEvt$1); // To move ghost if it is positioned absolutely
|
2570
|
+
}
|
2571
|
+
var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
|
2572
|
+
var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
|
2573
|
+
if (typeof scrollCustomFn === 'function') {
|
2574
|
+
if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== 'continue') {
|
2575
|
+
return;
|
2576
|
+
}
|
2577
|
+
}
|
2578
|
+
scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
|
2579
|
+
}.bind({
|
2580
|
+
layer: layersOut
|
2581
|
+
}), 24);
|
2582
|
+
}
|
2583
|
+
}
|
2584
|
+
layersOut++;
|
2585
|
+
} while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
|
2586
|
+
scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not
|
2587
|
+
}, 30);
|
2588
|
+
|
2589
|
+
var drop = function drop(_ref) {
|
2590
|
+
var originalEvent = _ref.originalEvent,
|
2591
|
+
putSortable = _ref.putSortable,
|
2592
|
+
dragEl = _ref.dragEl,
|
2593
|
+
activeSortable = _ref.activeSortable,
|
2594
|
+
dispatchSortableEvent = _ref.dispatchSortableEvent,
|
2595
|
+
hideGhostForTarget = _ref.hideGhostForTarget,
|
2596
|
+
unhideGhostForTarget = _ref.unhideGhostForTarget;
|
2597
|
+
if (!originalEvent) return;
|
2598
|
+
var toSortable = putSortable || activeSortable;
|
2599
|
+
hideGhostForTarget();
|
2600
|
+
var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
|
2601
|
+
var target = document.elementFromPoint(touch.clientX, touch.clientY);
|
2602
|
+
unhideGhostForTarget();
|
2603
|
+
if (toSortable && !toSortable.el.contains(target)) {
|
2604
|
+
dispatchSortableEvent('spill');
|
2605
|
+
this.onSpill({
|
2606
|
+
dragEl: dragEl,
|
2607
|
+
putSortable: putSortable
|
2608
|
+
});
|
2609
|
+
}
|
2610
|
+
};
|
2611
|
+
function Revert() {}
|
2612
|
+
Revert.prototype = {
|
2613
|
+
startIndex: null,
|
2614
|
+
dragStart: function dragStart(_ref2) {
|
2615
|
+
var oldDraggableIndex = _ref2.oldDraggableIndex;
|
2616
|
+
this.startIndex = oldDraggableIndex;
|
2617
|
+
},
|
2618
|
+
onSpill: function onSpill(_ref3) {
|
2619
|
+
var dragEl = _ref3.dragEl,
|
2620
|
+
putSortable = _ref3.putSortable;
|
2621
|
+
this.sortable.captureAnimationState();
|
2622
|
+
if (putSortable) {
|
2623
|
+
putSortable.captureAnimationState();
|
2624
|
+
}
|
2625
|
+
var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
|
2626
|
+
if (nextSibling) {
|
2627
|
+
this.sortable.el.insertBefore(dragEl, nextSibling);
|
2628
|
+
} else {
|
2629
|
+
this.sortable.el.appendChild(dragEl);
|
2630
|
+
}
|
2631
|
+
this.sortable.animateAll();
|
2632
|
+
if (putSortable) {
|
2633
|
+
putSortable.animateAll();
|
2634
|
+
}
|
2635
|
+
},
|
2636
|
+
drop: drop
|
2637
|
+
};
|
2638
|
+
_extends(Revert, {
|
2639
|
+
pluginName: 'revertOnSpill'
|
2640
|
+
});
|
2641
|
+
function Remove() {}
|
2642
|
+
Remove.prototype = {
|
2643
|
+
onSpill: function onSpill(_ref4) {
|
2644
|
+
var dragEl = _ref4.dragEl,
|
2645
|
+
putSortable = _ref4.putSortable;
|
2646
|
+
var parentSortable = putSortable || this.sortable;
|
2647
|
+
parentSortable.captureAnimationState();
|
2648
|
+
dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);
|
2649
|
+
parentSortable.animateAll();
|
2650
|
+
},
|
2651
|
+
drop: drop
|
2652
|
+
};
|
2653
|
+
_extends(Remove, {
|
2654
|
+
pluginName: 'removeOnSpill'
|
2655
|
+
});
|
2656
|
+
|
2657
|
+
Sortable.mount(new AutoScrollPlugin());
|
2658
|
+
Sortable.mount(Remove, Revert);
|
2659
|
+
|
2660
|
+
/*!
|
2661
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2662
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
2663
|
+
* v2.12.1
|
2664
|
+
*/
|
2665
|
+
const sortableComponentSet = new Set();
|
2666
|
+
const CSS = {
|
2667
|
+
ghostClass: "calcite-sortable--ghost",
|
2668
|
+
chosenClass: "calcite-sortable--chosen",
|
2669
|
+
dragClass: "calcite-sortable--drag",
|
2670
|
+
fallbackClass: "calcite-sortable--fallback",
|
2671
|
+
};
|
2672
|
+
/**
|
2673
|
+
* Helper to keep track of a SortableComponent. This should be called in the `connectedCallback` lifecycle method as well as any other method necessary to rebuild the sortable instance.
|
2674
|
+
*
|
2675
|
+
* @param {SortableComponent} component - The sortable component.
|
2676
|
+
*/
|
2677
|
+
function connectSortableComponent(component) {
|
2678
|
+
if (dragActive(component)) {
|
2679
|
+
return;
|
2680
|
+
}
|
2681
|
+
disconnectSortableComponent(component);
|
2682
|
+
sortableComponentSet.add(component);
|
2683
|
+
const dataIdAttr = "id";
|
2684
|
+
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
2685
|
+
component.sortable = Sortable.create(component.el, {
|
2686
|
+
dataIdAttr,
|
2687
|
+
...CSS,
|
2688
|
+
...(!!draggable && { draggable }),
|
2689
|
+
...(!!group && {
|
2690
|
+
group: {
|
2691
|
+
name: group,
|
2692
|
+
...(!!component.canPull && {
|
2693
|
+
pull: (to, from, dragEl, { newIndex, oldIndex }) => component.canPull({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
|
2694
|
+
}),
|
2695
|
+
...(!!component.canPut && {
|
2696
|
+
put: (to, from, dragEl, { newIndex, oldIndex }) => component.canPut({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
|
2697
|
+
}),
|
2698
|
+
},
|
2699
|
+
}),
|
2700
|
+
handle,
|
2701
|
+
filter: `${handle}[disabled]`,
|
2702
|
+
onStart: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
|
2703
|
+
dragState.active = true;
|
2704
|
+
onGlobalDragStart();
|
2705
|
+
component.onDragStart({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
2706
|
+
},
|
2707
|
+
onEnd: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
|
2708
|
+
dragState.active = false;
|
2709
|
+
onGlobalDragEnd();
|
2710
|
+
component.onDragEnd({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
2711
|
+
},
|
2712
|
+
onSort: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
|
2713
|
+
component.onDragSort({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
2714
|
+
},
|
2715
|
+
});
|
2716
|
+
}
|
2717
|
+
/**
|
2718
|
+
* Helper to remove track of a SortableComponent. This should be called in the `disconnectedCallback` lifecycle method.
|
2719
|
+
*
|
2720
|
+
* @param {SortableComponent} component - The sortable component.
|
2721
|
+
*/
|
2722
|
+
function disconnectSortableComponent(component) {
|
2723
|
+
if (dragActive(component)) {
|
2724
|
+
return;
|
2725
|
+
}
|
2726
|
+
sortableComponentSet.delete(component);
|
2727
|
+
component.sortable?.destroy();
|
2728
|
+
component.sortable = null;
|
2729
|
+
}
|
2730
|
+
const dragState = { active: false };
|
2731
|
+
/**
|
2732
|
+
* Helper to determine if dragging is currently active.
|
2733
|
+
*
|
2734
|
+
* @param component The sortable component.
|
2735
|
+
* @returns {boolean} a boolean value.
|
2736
|
+
*/
|
2737
|
+
function dragActive(component) {
|
2738
|
+
return component.dragEnabled && dragState.active;
|
2739
|
+
}
|
2740
|
+
function onGlobalDragStart() {
|
2741
|
+
Array.from(sortableComponentSet).forEach((component) => component.onGlobalDragStart());
|
2742
|
+
}
|
2743
|
+
function onGlobalDragEnd() {
|
2744
|
+
Array.from(sortableComponentSet).forEach((component) => component.onGlobalDragEnd());
|
2745
|
+
}
|
2746
|
+
|
2747
|
+
exports.connectSortableComponent = connectSortableComponent;
|
2748
|
+
exports.disconnectSortableComponent = disconnectSortableComponent;
|