@esri/solutions-components 0.6.7 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-e6a0d66e.js +117 -0
- package/dist/cjs/FloatingArrow-0119ec6e.js +48 -0
- package/dist/cjs/Heading-521f39ac.js +25 -0
- package/dist/cjs/app-globals-72576a1c.js +69 -0
- package/dist/cjs/ar-1718ae57.js +97 -0
- package/dist/cjs/basemap-gallery_4.cjs.entry.js +622 -0
- package/dist/cjs/bg-190a176c.js +78 -0
- package/dist/cjs/bs-919e0de8.js +47 -0
- package/dist/cjs/buffer-tools_4.cjs.entry.js +1437 -1437
- package/dist/cjs/ca-94918e06.js +67 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +140 -140
- package/dist/cjs/calcite-accordion.cjs.entry.js +75 -75
- package/dist/cjs/calcite-action-bar.cjs.entry.js +216 -216
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +365 -365
- package/dist/cjs/calcite-action-pad.cjs.entry.js +135 -135
- package/dist/cjs/calcite-action_2.cjs.entry.js +445 -445
- package/dist/cjs/calcite-alert.cjs.entry.js +247 -247
- package/dist/cjs/calcite-avatar.cjs.entry.js +73 -73
- package/dist/cjs/calcite-block-section.cjs.entry.js +122 -122
- package/dist/cjs/calcite-block.cjs.entry.js +131 -131
- package/dist/cjs/calcite-button.cjs.entry.js +182 -182
- package/dist/cjs/calcite-card.cjs.entry.js +99 -99
- package/dist/cjs/calcite-checkbox.cjs.entry.js +125 -125
- package/dist/cjs/calcite-chip-group.cjs.entry.js +164 -164
- package/dist/cjs/calcite-chip.cjs.entry.js +213 -213
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +303 -303
- package/dist/cjs/calcite-color-picker.cjs.entry.js +886 -886
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +35 -35
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +1786 -1786
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +589 -589
- package/dist/cjs/calcite-date-picker.cjs.entry.js +434 -434
- package/dist/cjs/calcite-fab.cjs.entry.js +66 -66
- package/dist/cjs/calcite-filter_5.cjs.entry.js +1131 -1131
- package/dist/cjs/calcite-flow-item.cjs.entry.js +146 -146
- package/dist/cjs/calcite-flow.cjs.entry.js +117 -117
- package/dist/cjs/calcite-graph.cjs.entry.js +66 -66
- package/dist/cjs/calcite-icon.cjs.entry.js +80 -80
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +225 -225
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +632 -632
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +846 -846
- package/dist/cjs/calcite-input-time-picker-b99baf7b.js +1718 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +150 -150
- package/dist/cjs/calcite-input_2.cjs.entry.js +645 -645
- package/dist/cjs/calcite-label.cjs.entry.js +40 -40
- package/dist/cjs/calcite-link.cjs.entry.js +96 -96
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +46 -46
- package/dist/cjs/calcite-loader.cjs.entry.js +65 -65
- package/dist/cjs/calcite-menu-item.cjs.entry.js +246 -246
- package/dist/cjs/calcite-menu.cjs.entry.js +161 -161
- package/dist/cjs/calcite-modal.cjs.entry.js +282 -282
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +52 -52
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +45 -45
- package/dist/cjs/calcite-navigation.cjs.entry.js +126 -126
- package/dist/cjs/calcite-notice.cjs.entry.js +105 -105
- package/dist/cjs/calcite-option-group.cjs.entry.js +24 -24
- package/dist/cjs/calcite-option_2.cjs.entry.js +271 -271
- package/dist/cjs/calcite-pagination.cjs.entry.js +191 -191
- package/dist/cjs/calcite-panel_2.cjs.entry.js +346 -346
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +46 -46
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +181 -181
- package/dist/cjs/calcite-pick-list.cjs.entry.js +130 -130
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +118 -118
- package/dist/cjs/calcite-radio-button.cjs.entry.js +292 -292
- package/dist/cjs/calcite-rating.cjs.entry.js +245 -245
- package/dist/cjs/calcite-scrim.cjs.entry.js +93 -93
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +225 -225
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +42 -42
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2604 -2604
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +134 -134
- package/dist/cjs/calcite-split-button.cjs.entry.js +92 -92
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +197 -197
- package/dist/cjs/calcite-stepper.cjs.entry.js +187 -187
- package/dist/cjs/calcite-switch.cjs.entry.js +100 -100
- package/dist/cjs/calcite-text-area.cjs.entry.js +235 -235
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +27 -27
- package/dist/cjs/calcite-tile-select.cjs.entry.js +180 -180
- package/dist/cjs/calcite-tile.cjs.entry.js +58 -58
- package/dist/cjs/calcite-time-picker.cjs.entry.js +619 -619
- package/dist/cjs/calcite-tip-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +185 -185
- package/dist/cjs/calcite-tip.cjs.entry.js +94 -94
- package/dist/cjs/calcite-tooltip.cjs.entry.js +185 -185
- package/dist/cjs/calcite-tree_3.cjs.entry.js +821 -821
- package/dist/cjs/card-manager_4.cjs.entry.js +707 -653
- package/dist/cjs/conditionalSlot-85b3a6b3.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +258 -256
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +60 -60
- package/dist/cjs/cs-fe27e732.js +143 -0
- package/dist/cjs/da-1b7f3440.js +62 -0
- package/dist/cjs/date-cec32b0e.js +250 -0
- package/dist/cjs/de-0dc1effa.js +87 -0
- package/dist/cjs/de-at-acdc4d01.js +86 -0
- package/dist/cjs/de-ch-778a0d99.js +86 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +90 -90
- package/dist/cjs/dom-c1807fc1.js +1046 -0
- package/dist/cjs/downloadUtils-a8c530f7.js +2767 -0
- package/dist/cjs/edit-card_2.cjs.entry.js +345 -345
- package/dist/cjs/el-fdbc9bc1.js +62 -0
- package/dist/cjs/en-au-0ff50cdf.js +62 -0
- package/dist/cjs/en-ca-284e9368.js +61 -0
- package/dist/cjs/en-gb-0fcae8ae.js +65 -0
- package/dist/cjs/es-cd54acba.js +62 -0
- package/dist/cjs/es-mx-2078d50f.js +61 -0
- package/dist/cjs/et-17f323f6.js +88 -0
- package/dist/cjs/fi-82f27397.js +111 -0
- package/dist/cjs/filter-bda212b4.js +765 -0
- package/dist/cjs/floating-ui-8d10af88.js +1888 -0
- package/dist/cjs/focusTrapComponent-a22fc6a8.js +1009 -0
- package/dist/cjs/form-9d8ebf06.js +288 -0
- package/dist/cjs/fr-af7e1192.js +64 -0
- package/dist/cjs/fr-ch-5e1f2c28.js +62 -0
- package/dist/cjs/he-ea851800.js +101 -0
- package/dist/cjs/hi-5212a21d.js +61 -0
- package/dist/cjs/hr-4eecb2ed.js +76 -0
- package/dist/cjs/hu-6b527d8e.js +84 -0
- package/dist/cjs/id-d78f12ec.js +62 -0
- package/dist/cjs/index-0e50040c.js +1938 -0
- package/dist/cjs/index-2b60e135.js +201 -0
- package/dist/cjs/index.es-4542630e.js +10808 -0
- package/dist/cjs/interfaces-d539e30c.js +85 -0
- package/dist/cjs/it-15242935.js +62 -0
- package/dist/cjs/it-ch-9dc21944.js +62 -0
- package/dist/cjs/ja-f702cfc2.js +68 -0
- package/dist/cjs/ko-aa9bde2c.js +68 -0
- package/dist/cjs/label-6e33e971.js +136 -0
- package/dist/cjs/list-item.cjs.entry.js +60 -60
- package/dist/cjs/loadModules-31cab7ac.js +30 -0
- package/dist/cjs/loadable-bac9cdd6.js +94 -0
- package/dist/cjs/loader.cjs.js +5 -14
- package/dist/cjs/locale-c63a1b57.js +604 -0
- package/dist/cjs/locale-d15cd743.js +416 -0
- package/dist/cjs/lt-e741ff2f.js +93 -0
- package/dist/cjs/lv-92d6768e.js +62 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1285 -1285
- package/dist/cjs/mapViewUtils-9da2dddd.js +411 -0
- package/dist/cjs/mk-b209ac0d.js +62 -0
- package/dist/cjs/nb-db13e666.js +63 -0
- package/dist/cjs/nl-fcd9e0c5.js +63 -0
- package/dist/cjs/openCloseComponent-5d70fcd8.js +84 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +102 -102
- package/dist/cjs/pciUtils-e0ddeb7c.js +847 -0
- package/dist/cjs/pl-87c83322.js +110 -0
- package/dist/cjs/pt-b0b5f472.js +63 -0
- package/dist/cjs/pt-br-03333e90.js +61 -0
- package/dist/cjs/public-notification.cjs.entry.js +844 -844
- package/dist/cjs/publicNotificationStore-55edd658.js +51 -0
- package/dist/cjs/ro-c3661b73.js +62 -0
- package/dist/cjs/ru-8dd3fd58.js +122 -0
- package/dist/cjs/shared-list-render-c0adb192.js +364 -0
- package/dist/cjs/sk-151d9acf.js +144 -0
- package/dist/cjs/sl-9b45a152.js +62 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +888 -888
- package/dist/cjs/solution-contents_3.cjs.entry.js +21506 -21506
- package/dist/cjs/solution-store-0004e4e6.js +4100 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-58679f07.js +3112 -0
- package/dist/cjs/sr-186bf15c.js +97 -0
- package/dist/cjs/store-manager.cjs.entry.js +52 -52
- package/dist/cjs/sv-a93fee0c.js +67 -0
- package/dist/cjs/t9n-1d032c30.js +100 -0
- package/dist/cjs/th-41680352.js +61 -0
- package/dist/cjs/throttle-aeeb1b4d.js +75 -0
- package/dist/cjs/time-5e450ec8.js +208 -0
- package/dist/cjs/tr-0bd886d6.js +62 -0
- package/dist/cjs/uk-4fade133.js +100 -0
- package/dist/cjs/utils-acfeed9d.js +64 -0
- package/dist/cjs/utils-ae9bdd59.js +55 -0
- package/dist/cjs/vi-1c9fe343.js +66 -0
- package/dist/cjs/zh-cn-28fa1fe1.js +90 -0
- package/dist/cjs/zh-hk-5abf8eb5.js +67 -0
- package/dist/cjs/zh-tw-07500357.js +88 -0
- package/dist/collection/collection-manifest.json +37 -35
- package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -0
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +166 -0
- package/dist/collection/components/basemap-gallery/test/basemap-gallery.e2e.js +29 -0
- package/dist/collection/components/basemap-gallery/test/basemap-gallery.spec.js +37 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js +481 -476
- package/dist/collection/components/buffer-tools/test/buffer-tools.e2e.js +29 -0
- package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +160 -0
- package/dist/collection/components/card-manager/card-manager.js +199 -197
- package/dist/collection/components/card-manager/test/card-manager.e2e.js +29 -0
- package/dist/collection/components/card-manager/test/card-manager.spec.js +37 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +448 -406
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +29 -0
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +37 -0
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +89 -89
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +29 -0
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +37 -0
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +143 -143
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +29 -0
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +37 -0
- package/dist/collection/components/edit-card/edit-card.js +302 -300
- package/dist/collection/components/edit-card/test/edit-card.e2e.js +14 -0
- package/dist/collection/components/edit-card/test/edit-card.spec.js +22 -0
- package/dist/collection/components/info-card/info-card.js +361 -357
- package/dist/collection/components/info-card/test/info-card.e2e.js +29 -0
- package/dist/collection/components/info-card/test/info-card.spec.js +37 -0
- package/dist/collection/components/json-editor/json-editor.js +618 -614
- package/dist/collection/components/json-editor/test/json-editor.e2e.js +36 -0
- package/dist/collection/components/json-editor/test/json-editor.spec.js +65 -0
- package/dist/collection/components/layer-table/layer-table.js +620 -548
- package/dist/collection/components/layer-table/test/layer-table.e2e.js +29 -0
- package/dist/collection/components/layer-table/test/layer-table.spec.js +37 -0
- package/dist/collection/components/layout-manager/layout-manager.js +136 -135
- package/dist/collection/components/layout-manager/test/layout-manager.e2e.js +29 -0
- package/dist/collection/components/layout-manager/test/layout-manager.spec.js +37 -0
- package/dist/collection/components/list-item/list-item.js +89 -89
- package/dist/collection/components/list-item/test/list-item.e2e.js +29 -0
- package/dist/collection/components/list-item/test/list-item.spec.js +37 -0
- package/dist/collection/components/map-card/map-card.css +0 -7
- package/dist/collection/components/map-card/map-card.js +211 -203
- package/dist/collection/components/map-card/test/map-card.e2e.js +29 -0
- package/dist/collection/components/map-card/test/map-card.spec.js +37 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +692 -683
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +29 -0
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +37 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +424 -423
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +29 -0
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +114 -0
- package/dist/collection/components/map-picker/map-picker.js +226 -224
- package/dist/collection/components/map-picker/test/map-picker.e2e.js +29 -0
- package/dist/collection/components/map-picker/test/map-picker.spec.js +37 -0
- package/dist/collection/components/map-search/map-search.css +24 -0
- package/dist/collection/components/map-search/map-search.js +321 -0
- package/dist/collection/components/map-search/test/map-search.e2e.js +29 -0
- package/dist/collection/components/map-search/test/map-search.spec.js +37 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +1242 -1229
- package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +29 -0
- package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +366 -0
- package/dist/collection/components/map-tools/map-tools.js +337 -210
- package/dist/collection/components/map-tools/test/map-tools.e2e.js +29 -0
- package/dist/collection/components/map-tools/test/map-tools.spec.js +37 -0
- package/dist/collection/components/pci-calculator/pci-calculator.js +143 -143
- package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +29 -0
- package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +37 -0
- package/dist/collection/components/pdf-download/pdf-download.js +338 -333
- package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +76 -0
- package/dist/collection/components/pdf-download/test/pdf-download.spec.js +107 -0
- package/dist/collection/components/public-notification/public-notification.js +1295 -1287
- package/dist/collection/components/public-notification/test/public-notification.spec.js +161 -0
- package/dist/collection/components/refine-selection/refine-selection.js +608 -601
- package/dist/collection/components/refine-selection/test/refine-selection.e2e.js +14 -0
- package/dist/collection/components/refine-selection/test/refine-selection.spec.js +22 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +739 -735
- package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +36 -0
- package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +119 -0
- package/dist/collection/components/solution-contents/solution-contents.js +163 -162
- package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +94 -0
- package/dist/collection/components/solution-contents/test/solution-contents.spec.js +143 -0
- package/dist/collection/components/solution-item/solution-item.js +203 -202
- package/dist/collection/components/solution-item/test/solution-item.e2e.js +36 -0
- package/dist/collection/components/solution-item/test/solution-item.spec.js +77 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js +248 -248
- package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +36 -0
- package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +142 -0
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +398 -398
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +29 -0
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +39 -0
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +200 -199
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +36 -0
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +54 -0
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +156 -156
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +36 -0
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +65 -0
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +348 -347
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +36 -0
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +55 -0
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +515 -510
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +21046 -21046
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +36 -0
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +175 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js +230 -230
- package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +36 -0
- package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +60 -0
- package/dist/collection/components/solution-variables/solution-variables.js +168 -168
- package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +36 -0
- package/dist/collection/components/solution-variables/test/solution-variables.spec.js +131 -0
- package/dist/collection/components/store-manager/store-manager.js +128 -127
- package/dist/collection/demos/crowdsource-manager.html +3 -3
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/common.js +296 -296
- package/dist/collection/utils/csvDownload.js +41 -41
- package/dist/collection/utils/csvUtils.js +37 -37
- package/dist/collection/utils/downloadUtils.js +530 -530
- package/dist/collection/utils/interfaces.js +83 -83
- package/dist/collection/utils/interfaces.ts +2 -0
- package/dist/collection/utils/languageUtil.js +90 -90
- package/dist/collection/utils/loadModules.js +25 -25
- package/dist/collection/utils/locale.js +61 -61
- package/dist/collection/utils/mapViewUtils.js +240 -240
- package/dist/collection/utils/pciUtils.js +842 -842
- package/dist/collection/utils/pdfUtils.js +87 -87
- package/dist/collection/utils/publicNotificationStore.js +47 -47
- package/dist/collection/utils/queryUtils.js +200 -200
- package/dist/collection/utils/solution-store.js +584 -584
- package/dist/collection/utils/templates.e2e.js +30 -0
- package/dist/collection/utils/templates.js +346 -346
- package/dist/collection/utils/test/csvUtils.spec.js +51 -0
- package/dist/collection/utils/test/downloadUtils.spec.js +357 -0
- package/dist/collection/utils/test/mocks/jsApi.js +79 -79
- package/dist/collection/utils/test/pciUtils.spec.js +302 -0
- package/dist/collection/utils/test/solution-store.spec.js +444 -0
- package/dist/collection/utils/test/testUtils.js +123 -123
- package/dist/collection/utils/types.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/action-bar.js +262 -262
- package/dist/components/action-group.js +144 -144
- package/dist/components/action-menu.js +310 -310
- package/dist/components/action.js +185 -185
- package/dist/components/alert.js +286 -286
- package/dist/components/avatar.js +99 -99
- package/dist/components/basemap-gallery.d.ts +11 -0
- package/dist/components/basemap-gallery.js +11 -0
- package/dist/components/basemap-gallery2.js +118 -0
- package/dist/components/buffer-tools2.js +263 -263
- package/dist/components/button.js +225 -225
- package/dist/components/calcite-accordion-item.js +168 -167
- package/dist/components/calcite-accordion.js +95 -95
- package/dist/components/calcite-action-pad.js +180 -180
- package/dist/components/calcite-block-section.js +150 -150
- package/dist/components/calcite-block.js +186 -186
- package/dist/components/calcite-card.js +132 -132
- package/dist/components/calcite-chip-group.js +181 -181
- package/dist/components/calcite-color-picker.js +979 -979
- package/dist/components/calcite-combobox-item-group.js +52 -52
- package/dist/components/calcite-fab.js +104 -104
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +204 -204
- package/dist/components/calcite-flow.js +136 -136
- package/dist/components/calcite-inline-editable.js +259 -259
- package/dist/components/calcite-input-date-picker.js +703 -703
- package/dist/components/calcite-input-time-picker.js +595 -595
- package/dist/components/calcite-input-time-zone.js +189 -189
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-list-item-group.js +64 -64
- package/dist/components/calcite-menu-item.js +297 -296
- package/dist/components/calcite-modal.js +328 -328
- package/dist/components/calcite-navigation-logo.js +76 -76
- package/dist/components/calcite-navigation-user.js +78 -78
- package/dist/components/calcite-navigation.js +166 -166
- package/dist/components/calcite-option-group.js +42 -42
- package/dist/components/calcite-pagination.js +217 -217
- package/dist/components/calcite-pick-list-group.js +59 -59
- package/dist/components/calcite-pick-list.js +150 -150
- package/dist/components/calcite-radio-button-group.js +141 -141
- package/dist/components/calcite-radio-button.js +316 -316
- package/dist/components/calcite-rating.js +279 -279
- package/dist/components/calcite-shell-center-row.js +57 -57
- package/dist/components/calcite-sortable-list.js +153 -153
- package/dist/components/calcite-split-button.js +142 -142
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +225 -225
- package/dist/components/calcite-stepper.js +212 -212
- package/dist/components/calcite-text-area.js +266 -266
- package/dist/components/calcite-tile-select-group.js +44 -44
- package/dist/components/calcite-tile-select.js +223 -223
- package/dist/components/calcite-tip-group.js +27 -27
- package/dist/components/calcite-tip-manager.js +222 -222
- package/dist/components/calcite-tip.js +126 -126
- package/dist/components/card-manager2.js +155 -155
- package/dist/components/checkbox.js +146 -146
- package/dist/components/chip.js +245 -245
- package/dist/components/color-picker-hex-input.js +287 -287
- package/dist/components/color-picker-swatch.js +79 -79
- package/dist/components/combobox-item.js +135 -135
- package/dist/components/combobox.js +921 -921
- package/dist/components/crowdsource-manager.js +528 -512
- package/dist/components/crowdsource-reporter.js +75 -75
- package/dist/components/date-picker-day.js +110 -109
- package/dist/components/date-picker-month-header.js +197 -197
- package/dist/components/date-picker-month.js +372 -372
- package/dist/components/date-picker.js +492 -492
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +981 -981
- package/dist/components/dom.js +2 -23
- package/dist/components/downloadUtils.js +655 -655
- package/dist/components/dropdown-group.js +72 -72
- package/dist/components/dropdown-item.js +195 -195
- package/dist/components/dropdown.js +420 -420
- package/dist/components/edit-card2.js +191 -191
- package/dist/components/esri-loader.js +301 -0
- package/dist/components/filter.js +751 -202
- package/dist/components/filter2.js +191 -740
- package/dist/components/floating-ui.js +2 -2
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/graph.js +86 -86
- package/dist/components/handle.js +165 -165
- package/dist/components/icon.js +99 -99
- package/dist/components/index.d.ts +5 -35
- package/dist/components/index.js +26 -154
- package/dist/components/info-card2.js +251 -251
- package/dist/components/input-message.js +66 -66
- package/dist/components/input-number.js +600 -599
- package/dist/components/input-text.js +368 -367
- package/dist/components/input.js +687 -686
- package/dist/components/interfaces.js +78 -78
- package/dist/components/json-editor2.js +425 -425
- package/dist/components/label.js +117 -65
- package/dist/components/label2.js +58 -110
- package/dist/components/layer-table2.js +598 -547
- package/dist/components/layout-manager2.js +118 -118
- package/dist/components/link.js +123 -122
- package/dist/components/list-item.js +75 -75
- package/dist/components/list-item2.js +431 -431
- package/dist/components/list.js +510 -510
- package/dist/components/loadModules.js +19 -19
- package/dist/components/loader.js +86 -86
- package/dist/components/locale.js +106 -399
- package/dist/components/locale2.js +2 -2
- package/dist/components/map-card2.js +236 -218
- package/dist/components/map-draw-tools2.js +383 -383
- package/dist/components/map-layer-picker2.js +291 -291
- package/dist/components/map-picker2.js +235 -235
- package/dist/components/map-search.d.ts +11 -0
- package/dist/components/map-search.js +11 -0
- package/dist/components/map-search2.js +201 -0
- package/dist/components/map-select-tools2.js +916 -916
- package/dist/components/map-tools2.js +287 -177
- package/dist/components/mapViewUtils.js +235 -235
- package/dist/components/menu.js +178 -178
- package/dist/components/notice.js +130 -130
- package/dist/components/option.js +91 -91
- package/dist/components/panel.js +307 -307
- package/dist/components/pci-calculator.js +169 -169
- package/dist/components/pdf-download2.js +173 -173
- package/dist/components/pick-list-item.js +219 -219
- package/dist/components/popover.js +349 -349
- package/dist/components/progress.js +46 -45
- package/dist/components/public-notification.js +1101 -1101
- package/dist/components/publicNotificationStore.js +39 -39
- package/dist/components/queryUtils.js +152 -152
- package/dist/components/refine-selection2.js +546 -546
- package/dist/components/resources.js +17 -9
- package/dist/components/resources2.js +9 -13
- package/dist/components/resources3.js +9 -5
- package/dist/components/scrim.js +115 -115
- package/dist/components/segmented-control-item.js +62 -62
- package/dist/components/segmented-control.js +213 -213
- package/dist/components/select.js +226 -226
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/shell-panel.js +398 -397
- package/dist/components/shell.js +119 -119
- package/dist/components/slider.js +898 -898
- package/dist/components/solution-configuration.js +1095 -1095
- package/dist/components/solution-contents2.js +111 -111
- package/dist/components/solution-item-details2.js +217 -217
- package/dist/components/solution-item-icon2.js +330 -330
- package/dist/components/solution-item-sharing2.js +151 -151
- package/dist/components/solution-item2.js +269 -269
- package/dist/components/solution-organization-variables2.js +115 -115
- package/dist/components/solution-resource-item2.js +331 -331
- package/dist/components/solution-spatial-ref2.js +21420 -21420
- package/dist/components/solution-store.js +575 -575
- package/dist/components/solution-template-data2.js +202 -202
- package/dist/components/solution-variables2.js +132 -132
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/stack.js +78 -78
- package/dist/components/store-manager.js +70 -70
- package/dist/components/switch.js +118 -118
- package/dist/components/tab-nav.js +254 -254
- package/dist/components/tab-title.js +300 -300
- package/dist/components/tab.js +111 -111
- package/dist/components/tabs.js +130 -130
- package/dist/components/tile.js +89 -89
- package/dist/components/time-picker.js +654 -654
- package/dist/components/tooltip.js +207 -207
- package/dist/components/tree-item.js +288 -287
- package/dist/components/tree.js +281 -281
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +169 -169
- package/dist/components/value-list.js +275 -275
- package/dist/esm/ExpandToggle-3d10bd1e.js +109 -0
- package/dist/esm/FloatingArrow-29db6da6.js +46 -0
- package/dist/esm/Heading-cb79e5b2.js +22 -0
- package/dist/esm/app-globals-5cbac6b0.js +67 -0
- package/dist/esm/ar-4b751ba8.js +95 -0
- package/dist/esm/basemap-gallery_4.entry.js +615 -0
- package/dist/esm/bg-5d8bf5ea.js +76 -0
- package/dist/esm/bs-ff510e71.js +45 -0
- package/dist/esm/buffer-tools_4.entry.js +1437 -1437
- package/dist/esm/ca-b9a5e51a.js +65 -0
- package/dist/esm/calcite-accordion-item.entry.js +140 -140
- package/dist/esm/calcite-accordion.entry.js +75 -75
- package/dist/esm/calcite-action-bar.entry.js +216 -216
- package/dist/esm/calcite-action-group_2.entry.js +365 -365
- package/dist/esm/calcite-action-pad.entry.js +135 -135
- package/dist/esm/calcite-action_2.entry.js +445 -445
- package/dist/esm/calcite-alert.entry.js +247 -247
- package/dist/esm/calcite-avatar.entry.js +73 -73
- package/dist/esm/calcite-block-section.entry.js +122 -122
- package/dist/esm/calcite-block.entry.js +131 -131
- package/dist/esm/calcite-button.entry.js +182 -182
- package/dist/esm/calcite-card.entry.js +99 -99
- package/dist/esm/calcite-checkbox.entry.js +125 -125
- package/dist/esm/calcite-chip-group.entry.js +164 -164
- package/dist/esm/calcite-chip.entry.js +213 -213
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +303 -303
- package/dist/esm/calcite-color-picker.entry.js +886 -886
- package/dist/esm/calcite-combobox-item-group.entry.js +35 -35
- package/dist/esm/calcite-combobox_6.entry.js +1786 -1786
- package/dist/esm/calcite-date-picker-day_3.entry.js +589 -589
- package/dist/esm/calcite-date-picker.entry.js +434 -434
- package/dist/esm/calcite-fab.entry.js +66 -66
- package/dist/esm/calcite-filter_5.entry.js +1131 -1131
- package/dist/esm/calcite-flow-item.entry.js +146 -146
- package/dist/esm/calcite-flow.entry.js +117 -117
- package/dist/esm/calcite-graph.entry.js +66 -66
- package/dist/esm/calcite-icon.entry.js +80 -80
- package/dist/esm/calcite-inline-editable.entry.js +225 -225
- package/dist/esm/calcite-input-date-picker.entry.js +632 -632
- package/dist/esm/calcite-input-number_2.entry.js +846 -846
- package/dist/esm/calcite-input-time-picker-13448515.js +1715 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +150 -150
- package/dist/esm/calcite-input_2.entry.js +645 -645
- package/dist/esm/calcite-label.entry.js +40 -40
- package/dist/esm/calcite-link.entry.js +96 -96
- package/dist/esm/calcite-list-item-group.entry.js +46 -46
- package/dist/esm/calcite-loader.entry.js +65 -65
- package/dist/esm/calcite-menu-item.entry.js +246 -246
- package/dist/esm/calcite-menu.entry.js +161 -161
- package/dist/esm/calcite-modal.entry.js +282 -282
- package/dist/esm/calcite-navigation-logo.entry.js +52 -52
- package/dist/esm/calcite-navigation-user.entry.js +45 -45
- package/dist/esm/calcite-navigation.entry.js +126 -126
- package/dist/esm/calcite-notice.entry.js +105 -105
- package/dist/esm/calcite-option-group.entry.js +24 -24
- package/dist/esm/calcite-option_2.entry.js +271 -271
- package/dist/esm/calcite-pagination.entry.js +191 -191
- package/dist/esm/calcite-panel_2.entry.js +346 -346
- package/dist/esm/calcite-pick-list-group.entry.js +46 -46
- package/dist/esm/calcite-pick-list-item.entry.js +181 -181
- package/dist/esm/calcite-pick-list.entry.js +130 -130
- package/dist/esm/calcite-radio-button-group.entry.js +118 -118
- package/dist/esm/calcite-radio-button.entry.js +292 -292
- package/dist/esm/calcite-rating.entry.js +245 -245
- package/dist/esm/calcite-scrim.entry.js +93 -93
- package/dist/esm/calcite-segmented-control_2.entry.js +225 -225
- package/dist/esm/calcite-shell-center-row.entry.js +42 -42
- package/dist/esm/calcite-shell-panel_14.entry.js +2604 -2604
- package/dist/esm/calcite-sortable-list.entry.js +134 -134
- package/dist/esm/calcite-split-button.entry.js +92 -92
- package/dist/esm/calcite-stepper-item.entry.js +197 -197
- package/dist/esm/calcite-stepper.entry.js +187 -187
- package/dist/esm/calcite-switch.entry.js +100 -100
- package/dist/esm/calcite-text-area.entry.js +235 -235
- package/dist/esm/calcite-tile-select-group.entry.js +27 -27
- package/dist/esm/calcite-tile-select.entry.js +180 -180
- package/dist/esm/calcite-tile.entry.js +58 -58
- package/dist/esm/calcite-time-picker.entry.js +619 -619
- package/dist/esm/calcite-tip-group.entry.js +10 -10
- package/dist/esm/calcite-tip-manager.entry.js +185 -185
- package/dist/esm/calcite-tip.entry.js +94 -94
- package/dist/esm/calcite-tooltip.entry.js +185 -185
- package/dist/esm/calcite-tree_3.entry.js +821 -821
- package/dist/esm/card-manager_4.entry.js +707 -653
- package/dist/esm/conditionalSlot-27a0fce0.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +258 -256
- package/dist/esm/crowdsource-reporter.entry.js +60 -60
- package/dist/esm/cs-f21a0628.js +141 -0
- package/dist/esm/da-dc48fc4c.js +60 -0
- package/dist/esm/date-0ed48e97.js +235 -0
- package/dist/esm/de-59290071.js +85 -0
- package/dist/esm/de-at-cd6e6ab7.js +84 -0
- package/dist/esm/de-ch-27c44e34.js +84 -0
- package/dist/esm/deduct-calculator.entry.js +90 -90
- package/dist/esm/dom-843e3afd.js +1017 -0
- package/dist/esm/downloadUtils-63661805.js +2761 -0
- package/dist/esm/edit-card_2.entry.js +345 -345
- package/dist/esm/el-f09fdec6.js +60 -0
- package/dist/esm/en-au-90087aa5.js +60 -0
- package/dist/esm/en-ca-10751695.js +59 -0
- package/dist/esm/en-gb-0f8547bd.js +63 -0
- package/dist/esm/es-b0997cf1.js +60 -0
- package/dist/esm/es-mx-226f5028.js +59 -0
- package/dist/esm/et-dc96c453.js +86 -0
- package/dist/esm/fi-0941704d.js +109 -0
- package/dist/esm/filter-1cac3edf.js +763 -0
- package/dist/esm/floating-ui-d28d0fd6.js +1880 -0
- package/dist/esm/focusTrapComponent-ff3a9f28.js +1004 -0
- package/dist/esm/form-11c6a015.js +280 -0
- package/dist/esm/fr-8da3458d.js +62 -0
- package/dist/esm/fr-ch-739ceddf.js +60 -0
- package/dist/esm/he-8b662dfa.js +99 -0
- package/dist/esm/hi-10996f89.js +59 -0
- package/dist/esm/hr-42c2024d.js +74 -0
- package/dist/esm/hu-4768b3ff.js +82 -0
- package/dist/esm/id-24a08170.js +60 -0
- package/dist/esm/index-b5d9d795.js +1904 -0
- package/dist/esm/index-b91c174c.js +199 -0
- package/dist/esm/index.es-3a3aa8e3.js +10722 -0
- package/dist/esm/interfaces-5a2fe8b4.js +85 -0
- package/dist/esm/it-ad09649f.js +60 -0
- package/dist/esm/it-ch-b05fc10d.js +60 -0
- package/dist/esm/ja-ab839b73.js +66 -0
- package/dist/esm/ko-c778539e.js +66 -0
- package/dist/esm/label-6a1caf64.js +130 -0
- package/dist/esm/list-item.entry.js +60 -60
- package/dist/esm/loadModules-2ecd1e44.js +28 -0
- package/dist/esm/loadable-6bca96ad.js +89 -0
- package/dist/esm/loader.js +6 -15
- package/dist/esm/locale-aa3de591.js +412 -0
- package/dist/esm/locale-d8561d54.js +592 -0
- package/dist/esm/lt-447d9aa9.js +91 -0
- package/dist/esm/lv-4d715e11.js +60 -0
- package/dist/esm/map-select-tools_3.entry.js +1285 -1285
- package/dist/esm/mapViewUtils-f0c04325.js +395 -0
- package/dist/esm/mk-b3d7401a.js +60 -0
- package/dist/esm/nb-2b4a8366.js +61 -0
- package/dist/esm/nl-c0db1da2.js +61 -0
- package/dist/esm/openCloseComponent-2b5c6bed.js +82 -0
- package/dist/esm/pci-calculator.entry.js +102 -102
- package/dist/esm/pciUtils-59c29b42.js +844 -0
- package/dist/esm/pl-0d322bb4.js +108 -0
- package/dist/esm/pt-5997598c.js +61 -0
- package/dist/esm/pt-br-6b77e7db.js +59 -0
- package/dist/esm/public-notification.entry.js +844 -844
- package/dist/esm/publicNotificationStore-ade82148.js +49 -0
- package/dist/esm/resources-40d8e06f.js +20 -0
- package/dist/esm/ro-ac3724e0.js +60 -0
- package/dist/esm/ru-4e75151f.js +120 -0
- package/dist/esm/shared-list-render-abd19c8d.js +342 -0
- package/dist/esm/sk-bbfa22a3.js +142 -0
- package/dist/esm/sl-867cecfc.js +60 -0
- package/dist/esm/solution-configuration.entry.js +888 -888
- package/dist/esm/solution-contents_3.entry.js +21506 -21506
- package/dist/esm/solution-store-46bc46a5.js +4092 -0
- package/dist/esm/solutions-components.js +6 -6
- package/dist/esm/sortableComponent-db502e97.js +3109 -0
- package/dist/esm/sr-198b5c00.js +95 -0
- package/dist/esm/store-manager.entry.js +52 -52
- package/dist/esm/sv-02d64370.js +65 -0
- package/dist/esm/t9n-76168237.js +95 -0
- package/dist/esm/th-1616e303.js +59 -0
- package/dist/esm/throttle-9ab70933.js +73 -0
- package/dist/esm/time-6721a4c2.js +195 -0
- package/dist/esm/tr-f4619f64.js +60 -0
- package/dist/esm/uk-df7df34a.js +98 -0
- package/dist/esm/utils-ccfd94a7.js +45 -0
- package/dist/esm/utils-f54411df.js +61 -0
- package/dist/esm/vi-176ca9f7.js +64 -0
- package/dist/esm/zh-cn-e13d83d1.js +88 -0
- package/dist/esm/zh-hk-d97365d8.js +65 -0
- package/dist/esm/zh-tw-a2b6f0b7.js +86 -0
- package/dist/loader/index.d.ts +2 -2
- package/dist/solutions-components/demos/crowdsource-manager.html +3 -3
- package/dist/solutions-components/p-022a9b7a.js +6 -0
- package/dist/solutions-components/p-03fccde6.entry.js +11 -0
- package/dist/solutions-components/p-052ff2c7.js +6 -0
- package/dist/solutions-components/p-05db4340.js +6 -0
- package/dist/solutions-components/p-07bc4f07.entry.js +11 -0
- package/dist/solutions-components/p-0cc32f06.js +6 -0
- package/dist/solutions-components/p-0e7914e6.entry.js +11 -0
- package/dist/solutions-components/p-0ece6df1.entry.js +12 -0
- package/dist/solutions-components/p-0f8440bb.entry.js +6 -0
- package/dist/solutions-components/p-0fbc27fd.entry.js +11 -0
- package/dist/solutions-components/p-10248e04.js +11 -0
- package/dist/solutions-components/p-108fbf59.entry.js +6 -0
- package/dist/solutions-components/p-12a4fa84.js +6 -0
- package/dist/solutions-components/p-13290851.js +259 -0
- package/dist/solutions-components/p-15ef7894.js +6 -0
- package/dist/solutions-components/p-164be8ef.entry.js +6 -0
- package/dist/solutions-components/p-19fe7725.js +6 -0
- package/dist/solutions-components/p-1add4e39.entry.js +11 -0
- package/dist/solutions-components/p-1ea1dcac.js +61 -0
- package/dist/solutions-components/p-1ede2e18.js +11 -0
- package/dist/solutions-components/p-2005280f.js +11 -0
- package/dist/solutions-components/p-216801d5.js +6 -0
- package/dist/solutions-components/p-21f00df6.js +6 -0
- package/dist/solutions-components/p-22d580b0.entry.js +11 -0
- package/dist/solutions-components/p-2656168f.entry.js +11 -0
- package/dist/solutions-components/p-27a1ac1f.entry.js +17 -0
- package/dist/solutions-components/p-28d2670f.entry.js +6 -0
- package/dist/solutions-components/p-29d41c7e.js +11 -0
- package/dist/solutions-components/p-2ae17fa2.js +6 -0
- package/dist/solutions-components/p-2b252afd.entry.js +6 -0
- package/dist/solutions-components/p-2b96e551.entry.js +11 -0
- package/dist/solutions-components/p-2c0dc7b1.js +6 -0
- package/dist/solutions-components/p-2d70d3fd.js +12 -0
- package/dist/solutions-components/p-31316d61.entry.js +11 -0
- package/dist/solutions-components/p-31ff3452.entry.js +11 -0
- package/dist/solutions-components/p-326fa270.js +6 -0
- package/dist/solutions-components/p-32ef065d.entry.js +11 -0
- package/dist/solutions-components/p-32f9c709.js +6 -0
- package/dist/solutions-components/p-3445a8c6.js +21 -0
- package/dist/solutions-components/p-35123c90.js +6 -0
- package/dist/solutions-components/p-361f1fe1.js +11 -0
- package/dist/solutions-components/p-39ff5ee5.js +11 -0
- package/dist/solutions-components/p-3aba40e8.js +18 -0
- package/dist/solutions-components/p-3bd99fc9.js +11 -0
- package/dist/solutions-components/p-3cbe5ef3.js +6 -0
- package/dist/solutions-components/p-3cce003d.js +27 -0
- package/dist/solutions-components/p-3e139360.js +6 -0
- package/dist/solutions-components/p-3f0193e9.js +6 -0
- package/dist/solutions-components/p-418d0b60.entry.js +6 -0
- package/dist/solutions-components/p-421d5e7c.js +6 -0
- package/dist/solutions-components/p-42c7a5fa.entry.js +11 -0
- package/dist/solutions-components/p-46d5970b.entry.js +37 -0
- package/dist/solutions-components/p-4b95d05e.entry.js +6 -0
- package/dist/solutions-components/p-4bc7b875.entry.js +11 -0
- package/dist/solutions-components/p-4c43820f.entry.js +6 -0
- package/dist/solutions-components/p-4d17943f.js +6 -0
- package/dist/solutions-components/p-4daae757.js +6 -0
- package/dist/solutions-components/p-4e4b55b9.entry.js +37 -0
- package/dist/solutions-components/p-4f0c3fc1.js +6 -0
- package/dist/solutions-components/p-525f1188.js +11 -0
- package/dist/solutions-components/p-5383607a.js +22 -0
- package/dist/solutions-components/p-541697d0.js +11 -0
- package/dist/solutions-components/p-55aefaa8.entry.js +6 -0
- package/dist/solutions-components/p-56300653.js +16 -0
- package/dist/solutions-components/p-57c08531.entry.js +6 -0
- package/dist/solutions-components/p-5adf37ea.entry.js +12 -0
- package/dist/solutions-components/p-5b5a6ac8.entry.js +6 -0
- package/dist/solutions-components/p-5b9b1cbb.entry.js +11 -0
- package/dist/solutions-components/p-5c097e25.entry.js +11 -0
- package/dist/solutions-components/p-5e59219b.entry.js +6 -0
- package/dist/solutions-components/p-5f5c371e.js +6 -0
- package/dist/solutions-components/p-606ca126.js +6 -0
- package/dist/solutions-components/p-634e1240.js +6 -0
- package/dist/solutions-components/p-639cca97.js +6 -0
- package/dist/solutions-components/p-6431fd69.js +11 -0
- package/dist/solutions-components/p-647a4130.js +16 -0
- package/dist/solutions-components/p-6665fa1f.js +6 -0
- package/dist/solutions-components/p-67ce3c0c.entry.js +11 -0
- package/dist/solutions-components/p-680d193d.entry.js +11 -0
- package/dist/solutions-components/p-6a524392.entry.js +11 -0
- package/dist/solutions-components/p-6a820c4d.js +6 -0
- package/dist/solutions-components/p-6b2f2b85.js +17 -0
- package/dist/solutions-components/p-6de98c51.js +21 -0
- package/dist/solutions-components/p-754e2df2.js +6 -0
- package/dist/solutions-components/p-75f26870.js +474 -0
- package/dist/solutions-components/p-7601988d.entry.js +11 -0
- package/dist/solutions-components/p-761a033a.entry.js +11 -0
- package/dist/solutions-components/p-7920b5a2.entry.js +11 -0
- package/dist/solutions-components/p-7aa949a3.entry.js +11 -0
- package/dist/solutions-components/p-7b90c18e.entry.js +6 -0
- package/dist/solutions-components/p-7b9adfff.js +6 -0
- package/dist/solutions-components/p-7c33e500.entry.js +6 -0
- package/dist/solutions-components/p-804e4751.entry.js +17 -0
- package/dist/solutions-components/p-82199b7b.entry.js +6 -0
- package/dist/solutions-components/p-825bac0e.js +6 -0
- package/dist/solutions-components/p-844ee452.entry.js +11 -0
- package/dist/solutions-components/p-8a758303.js +17 -0
- package/dist/solutions-components/p-90bbf223.entry.js +6 -0
- package/dist/solutions-components/p-916f90ec.entry.js +6 -0
- package/dist/solutions-components/p-91caf655.entry.js +11 -0
- package/dist/solutions-components/p-93074bd4.entry.js +11 -0
- package/dist/solutions-components/p-9310b882.js +7 -0
- package/dist/solutions-components/p-955a956a.entry.js +23 -0
- package/dist/solutions-components/p-9603c3ff.entry.js +11 -0
- package/dist/solutions-components/p-97c47bbd.entry.js +18 -0
- package/dist/solutions-components/p-9bbc05ff.js +11 -0
- package/dist/solutions-components/p-9cb94ea0.js +6 -0
- package/dist/solutions-components/p-9e727488.js +6 -0
- package/dist/solutions-components/p-9fb16c72.entry.js +35 -0
- package/dist/solutions-components/p-a040efff.js +6 -0
- package/dist/solutions-components/p-a08bd8c1.entry.js +6 -0
- package/dist/solutions-components/p-a0a2c53d.js +21 -0
- package/dist/solutions-components/p-a0edbb27.js +6 -0
- package/dist/solutions-components/p-a258f5e7.js +6 -0
- package/dist/solutions-components/p-a2748b38.entry.js +6 -0
- package/dist/solutions-components/p-a6900100.entry.js +11 -0
- package/dist/solutions-components/p-a6c85bd7.entry.js +6 -0
- package/dist/solutions-components/p-a775ba2f.entry.js +11 -0
- package/dist/solutions-components/p-a777b18c.js +11 -0
- package/dist/solutions-components/p-a82f35c9.js +6 -0
- package/dist/solutions-components/p-a843af2a.js +6 -0
- package/dist/solutions-components/p-ab8f5c6b.entry.js +11 -0
- package/dist/solutions-components/p-abda8ca2.entry.js +11 -0
- package/dist/solutions-components/p-ad4d6d02.entry.js +22 -0
- package/dist/solutions-components/p-ad72a379.entry.js +16 -0
- package/dist/solutions-components/p-aeebdb15.js +6 -0
- package/dist/solutions-components/p-b0c4138f.entry.js +11 -0
- package/dist/solutions-components/p-b1f84ae5.js +6 -0
- package/dist/solutions-components/p-b2e6c578.js +6 -0
- package/dist/solutions-components/p-b4157e6a.js +6 -0
- package/dist/solutions-components/p-b49bdc72.entry.js +6 -0
- package/dist/solutions-components/p-b5d67495.entry.js +11 -0
- package/dist/solutions-components/p-b6578a32.js +6 -0
- package/dist/solutions-components/p-b684bbc7.entry.js +6 -0
- package/dist/solutions-components/p-b86b4512.entry.js +11 -0
- package/dist/solutions-components/p-b948ecd2.entry.js +11 -0
- package/dist/solutions-components/p-baccfd70.entry.js +6 -0
- package/dist/solutions-components/p-bba3fa4e.entry.js +11 -0
- package/dist/solutions-components/p-bbb0d957.entry.js +6 -0
- package/dist/solutions-components/p-bd3a3afe.js +6 -0
- package/dist/solutions-components/p-bf9e18d4.js +8 -0
- package/dist/solutions-components/p-c07af9c2.entry.js +11 -0
- package/dist/solutions-components/p-c1ee0d69.js +11 -0
- package/dist/solutions-components/p-c3f8b670.js +6 -0
- package/dist/solutions-components/p-c5e294e4.js +6 -0
- package/dist/solutions-components/p-c6d83122.entry.js +11 -0
- package/dist/solutions-components/p-c70392c4.entry.js +6 -0
- package/dist/solutions-components/p-c9858d8f.entry.js +11 -0
- package/dist/solutions-components/p-cad5587c.entry.js +35 -0
- package/dist/solutions-components/p-cf1af08f.entry.js +6 -0
- package/dist/solutions-components/p-cf43278c.entry.js +11 -0
- package/dist/solutions-components/p-d3a22725.js +6 -0
- package/dist/solutions-components/p-d62784a4.js +11 -0
- package/dist/solutions-components/p-d6322e4b.js +6 -0
- package/dist/solutions-components/p-dc9dad31.entry.js +6 -0
- package/dist/solutions-components/p-de58bd49.js +6 -0
- package/dist/solutions-components/p-de59d2f5.js +6 -0
- package/dist/solutions-components/p-e02fcfa9.entry.js +12 -0
- package/dist/solutions-components/p-e07b8a72.entry.js +11 -0
- package/dist/solutions-components/p-e10a62f4.entry.js +11 -0
- package/dist/solutions-components/p-e4253e1b.entry.js +6 -0
- package/dist/solutions-components/p-e645edf2.entry.js +6 -0
- package/dist/solutions-components/p-e6bee82f.js +6 -0
- package/dist/solutions-components/p-ea282908.js +6 -0
- package/dist/solutions-components/p-ee066c67.js +16 -0
- package/dist/solutions-components/p-ef48bd77.entry.js +17 -0
- package/dist/solutions-components/p-ef96894d.entry.js +23 -0
- package/dist/solutions-components/p-f28d69ac.entry.js +11 -0
- package/dist/solutions-components/p-f41105c8.js +6 -0
- package/dist/solutions-components/p-f8dd2784.js +36 -0
- package/dist/solutions-components/p-ffac6f88.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +2 -0
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +64 -0
- package/dist/types/components/buffer-tools/buffer-tools.d.ts +170 -170
- package/dist/types/components/card-manager/card-manager.d.ts +70 -70
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +182 -174
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +26 -26
- package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +90 -90
- package/dist/types/components/edit-card/edit-card.d.ts +140 -140
- package/dist/types/components/info-card/info-card.d.ts +143 -143
- package/dist/types/components/json-editor/json-editor.d.ts +229 -229
- package/dist/types/components/layer-table/layer-table.d.ts +298 -276
- package/dist/types/components/layout-manager/layout-manager.d.ts +69 -69
- package/dist/types/components/list-item/list-item.d.ts +26 -26
- package/dist/types/components/map-card/map-card.d.ts +91 -83
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +231 -231
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +160 -160
- package/dist/types/components/map-picker/map-picker.d.ts +109 -109
- package/dist/types/components/map-search/map-search.d.ts +107 -0
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +469 -469
- package/dist/types/components/map-tools/map-tools.d.ts +167 -104
- package/dist/types/components/pci-calculator/pci-calculator.d.ts +71 -71
- package/dist/types/components/pdf-download/pdf-download.d.ts +101 -101
- package/dist/types/components/public-notification/public-notification.d.ts +610 -610
- package/dist/types/components/refine-selection/refine-selection.d.ts +234 -234
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +205 -205
- package/dist/types/components/solution-contents/solution-contents.d.ts +46 -46
- package/dist/types/components/solution-item/solution-item.d.ts +71 -71
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +100 -100
- package/dist/types/components/solution-item-icon/solution-item-icon.d.ts +44 -44
- package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +62 -62
- package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +63 -63
- package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +144 -144
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +180 -180
- package/dist/types/components/solution-spatial-ref/spatialreferences.d.ts +17 -17
- package/dist/types/components/solution-template-data/solution-template-data.d.ts +72 -72
- package/dist/types/components/solution-variables/solution-variables.d.ts +69 -69
- package/dist/types/components/store-manager/store-manager.d.ts +55 -55
- package/dist/types/components.d.ts +124 -0
- package/dist/types/index.d.ts +16 -16
- package/dist/types/preact.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +29 -14
- package/dist/types/utils/common.d.ts +49 -49
- package/dist/types/utils/csvDownload.d.ts +24 -24
- package/dist/types/utils/csvUtils.d.ts +22 -22
- package/dist/types/utils/downloadUtils.d.ts +118 -118
- package/dist/types/utils/interfaces.d.ts +400 -398
- package/dist/types/utils/languageUtil.d.ts +11 -11
- package/dist/types/utils/loadModules.d.ts +17 -17
- package/dist/types/utils/locale.d.ts +22 -22
- package/dist/types/utils/mapViewUtils.d.ts +124 -124
- package/dist/types/utils/pciUtils.d.ts +97 -97
- package/dist/types/utils/pdfUtils.d.ts +27 -27
- package/dist/types/utils/publicNotificationStore.d.ts +24 -24
- package/dist/types/utils/queryUtils.d.ts +95 -95
- package/dist/types/utils/solution-store.d.ts +234 -234
- package/dist/types/utils/templates.d.ts +50 -50
- package/dist/types/utils/test/mocks/jsApi.d.ts +59 -59
- package/dist/types/utils/test/testUtils.d.ts +36 -36
- package/dist/types/utils/types.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cjs/ExpandToggle-70890ae0.js +0 -117
- package/dist/cjs/FloatingArrow-4ca06439.js +0 -48
- package/dist/cjs/Heading-c5c71fc5.js +0 -25
- package/dist/cjs/app-globals-a34c0991.js +0 -64
- package/dist/cjs/ar-fa16156d.js +0 -97
- package/dist/cjs/bg-b39e773e.js +0 -78
- package/dist/cjs/bs-4579ea2a.js +0 -47
- package/dist/cjs/ca-f3f64686.js +0 -67
- package/dist/cjs/calcite-input-time-picker-6f38ef8c.js +0 -1718
- package/dist/cjs/conditionalSlot-a51326e7.js +0 -63
- package/dist/cjs/cs-1bcd5b46.js +0 -143
- package/dist/cjs/da-30ee21db.js +0 -62
- package/dist/cjs/date-f6611a19.js +0 -250
- package/dist/cjs/de-42aae5ad.js +0 -87
- package/dist/cjs/de-at-a3a6f020.js +0 -86
- package/dist/cjs/de-ch-36c13310.js +0 -86
- package/dist/cjs/dom-d529bae8.js +0 -1046
- package/dist/cjs/downloadUtils-6eb59363.js +0 -2767
- package/dist/cjs/el-90d066ae.js +0 -62
- package/dist/cjs/en-au-685b882b.js +0 -62
- package/dist/cjs/en-ca-ff4bc403.js +0 -61
- package/dist/cjs/en-gb-2f5587ad.js +0 -65
- package/dist/cjs/es-e9183ca0.js +0 -62
- package/dist/cjs/es-mx-dcc9afb2.js +0 -61
- package/dist/cjs/et-a18949ea.js +0 -88
- package/dist/cjs/fi-1ce00d38.js +0 -111
- package/dist/cjs/filter-494bf35e.js +0 -765
- package/dist/cjs/floating-ui-7d6e57d3.js +0 -1888
- package/dist/cjs/focusTrapComponent-0c4d7671.js +0 -1009
- package/dist/cjs/form-bcf49eae.js +0 -288
- package/dist/cjs/fr-a9435a19.js +0 -64
- package/dist/cjs/fr-ch-51efa9bf.js +0 -62
- package/dist/cjs/he-c5dccfa2.js +0 -101
- package/dist/cjs/hi-0898e7f2.js +0 -61
- package/dist/cjs/hr-68f7d8da.js +0 -76
- package/dist/cjs/hu-e494037d.js +0 -84
- package/dist/cjs/id-bef40c1c.js +0 -62
- package/dist/cjs/index-6654298b.js +0 -1796
- package/dist/cjs/index-e1b1954f.js +0 -201
- package/dist/cjs/index.es-d9b5d3a5.js +0 -10808
- package/dist/cjs/interfaces-ad03ec39.js +0 -85
- package/dist/cjs/it-1144ca67.js +0 -62
- package/dist/cjs/it-ch-2c14dca7.js +0 -62
- package/dist/cjs/ja-caad9809.js +0 -68
- package/dist/cjs/ko-ddec9054.js +0 -68
- package/dist/cjs/label-215c4af3.js +0 -136
- package/dist/cjs/loadModules-ae7715f2.js +0 -30
- package/dist/cjs/loadable-6da743c6.js +0 -94
- package/dist/cjs/locale-477d8d51.js +0 -604
- package/dist/cjs/locale-b113c6b2.js +0 -416
- package/dist/cjs/lt-205a1aa6.js +0 -93
- package/dist/cjs/lv-3ba82f9b.js +0 -62
- package/dist/cjs/map-picker_2.cjs.entry.js +0 -264
- package/dist/cjs/mapViewUtils-77a1ff88.js +0 -411
- package/dist/cjs/mk-069ea86a.js +0 -62
- package/dist/cjs/nb-9e9c934f.js +0 -63
- package/dist/cjs/nl-5dd0116f.js +0 -63
- package/dist/cjs/openCloseComponent-3fa18210.js +0 -84
- package/dist/cjs/pciUtils-423cfc68.js +0 -847
- package/dist/cjs/pl-74e70b37.js +0 -110
- package/dist/cjs/pt-br-0f76e430.js +0 -61
- package/dist/cjs/pt-cc737fcc.js +0 -63
- package/dist/cjs/publicNotificationStore-ec1bdd2d.js +0 -51
- package/dist/cjs/ro-5e396753.js +0 -62
- package/dist/cjs/ru-f7371aca.js +0 -122
- package/dist/cjs/shared-list-render-76c5dc25.js +0 -364
- package/dist/cjs/sk-ec02498f.js +0 -144
- package/dist/cjs/sl-8363f4d7.js +0 -62
- package/dist/cjs/solution-store-bd956f06.js +0 -4100
- package/dist/cjs/sortableComponent-8135ea87.js +0 -3112
- package/dist/cjs/sr-b0f92cb1.js +0 -97
- package/dist/cjs/sv-e2c27fff.js +0 -67
- package/dist/cjs/t9n-8be30efb.js +0 -100
- package/dist/cjs/th-8a6dc2cc.js +0 -61
- package/dist/cjs/throttle-8ee74c77.js +0 -75
- package/dist/cjs/time-9004df7e.js +0 -208
- package/dist/cjs/tr-09137435.js +0 -62
- package/dist/cjs/uk-c30401f4.js +0 -100
- package/dist/cjs/utils-ed4e5028.js +0 -55
- package/dist/cjs/utils-fb81c6b3.js +0 -64
- package/dist/cjs/vi-e069c9e4.js +0 -66
- package/dist/cjs/zh-cn-50f223a8.js +0 -90
- package/dist/cjs/zh-hk-5498073d.js +0 -67
- package/dist/cjs/zh-tw-dfdb0ae8.js +0 -88
- package/dist/esm/ExpandToggle-3420fa39.js +0 -109
- package/dist/esm/FloatingArrow-cd8eafa4.js +0 -46
- package/dist/esm/Heading-1763134e.js +0 -22
- package/dist/esm/app-globals-580889bd.js +0 -62
- package/dist/esm/ar-ceb1b389.js +0 -95
- package/dist/esm/bg-a8824832.js +0 -76
- package/dist/esm/bs-5c2ca44f.js +0 -45
- package/dist/esm/ca-47f86073.js +0 -65
- package/dist/esm/calcite-input-time-picker-59a3ed66.js +0 -1715
- package/dist/esm/conditionalSlot-91396dd5.js +0 -60
- package/dist/esm/cs-f651c3cd.js +0 -141
- package/dist/esm/da-e32ccc0a.js +0 -60
- package/dist/esm/date-51fa981b.js +0 -235
- package/dist/esm/de-9b417aed.js +0 -85
- package/dist/esm/de-at-f73447e2.js +0 -84
- package/dist/esm/de-ch-7ec8c31e.js +0 -84
- package/dist/esm/dom-8a9e4ee8.js +0 -1017
- package/dist/esm/downloadUtils-43b53f5a.js +0 -2761
- package/dist/esm/el-9a3189a2.js +0 -60
- package/dist/esm/en-au-5aea3b73.js +0 -60
- package/dist/esm/en-ca-fe3e706b.js +0 -59
- package/dist/esm/en-gb-a4278000.js +0 -63
- package/dist/esm/es-383f9c9e.js +0 -60
- package/dist/esm/es-mx-7845b382.js +0 -59
- package/dist/esm/et-d8f8df06.js +0 -86
- package/dist/esm/fi-14894338.js +0 -109
- package/dist/esm/filter-bf34614b.js +0 -763
- package/dist/esm/floating-ui-9870f74c.js +0 -1880
- package/dist/esm/focusTrapComponent-34010d00.js +0 -1004
- package/dist/esm/form-6669a774.js +0 -280
- package/dist/esm/fr-6f570086.js +0 -62
- package/dist/esm/fr-ch-b9f89159.js +0 -60
- package/dist/esm/he-174aca6e.js +0 -99
- package/dist/esm/hi-7e469aab.js +0 -59
- package/dist/esm/hr-a4ac455a.js +0 -74
- package/dist/esm/hu-207da291.js +0 -82
- package/dist/esm/id-8e4d57bf.js +0 -60
- package/dist/esm/index-4c4a4f3d.js +0 -199
- package/dist/esm/index-d298aca9.js +0 -1762
- package/dist/esm/index.es-a185f2b1.js +0 -10722
- package/dist/esm/interfaces-bf20e69c.js +0 -85
- package/dist/esm/it-7ade952c.js +0 -60
- package/dist/esm/it-ch-181d76ab.js +0 -60
- package/dist/esm/ja-42013dd3.js +0 -66
- package/dist/esm/ko-8de07550.js +0 -66
- package/dist/esm/label-661d8e10.js +0 -130
- package/dist/esm/loadModules-cd3569de.js +0 -28
- package/dist/esm/loadable-08376d90.js +0 -89
- package/dist/esm/locale-54cac39a.js +0 -412
- package/dist/esm/locale-73d0926a.js +0 -592
- package/dist/esm/lt-1ef29b5b.js +0 -91
- package/dist/esm/lv-263a2f78.js +0 -60
- package/dist/esm/map-picker_2.entry.js +0 -259
- package/dist/esm/mapViewUtils-1e68cede.js +0 -395
- package/dist/esm/mk-d8bae136.js +0 -60
- package/dist/esm/nb-494542b3.js +0 -61
- package/dist/esm/nl-cd882d7f.js +0 -61
- package/dist/esm/openCloseComponent-a40fd6fd.js +0 -82
- package/dist/esm/pciUtils-ecda46e5.js +0 -844
- package/dist/esm/pl-b79095d5.js +0 -108
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/pt-5ca0b751.js +0 -61
- package/dist/esm/pt-br-e1a1ce60.js +0 -59
- package/dist/esm/publicNotificationStore-6ef555f3.js +0 -49
- package/dist/esm/ro-5cbc0f2a.js +0 -60
- package/dist/esm/ru-e66f5b84.js +0 -120
- package/dist/esm/shared-list-render-5b788e63.js +0 -342
- package/dist/esm/sk-be2b5cec.js +0 -142
- package/dist/esm/sl-74600272.js +0 -60
- package/dist/esm/solution-store-c107ca4d.js +0 -4092
- package/dist/esm/sortableComponent-1dd8a4ae.js +0 -3109
- package/dist/esm/sr-58280ce5.js +0 -95
- package/dist/esm/sv-f0e2171a.js +0 -65
- package/dist/esm/t9n-745553e0.js +0 -95
- package/dist/esm/th-6c3eac31.js +0 -59
- package/dist/esm/throttle-26fa347b.js +0 -73
- package/dist/esm/time-7e3ba7c6.js +0 -195
- package/dist/esm/tr-092713ca.js +0 -60
- package/dist/esm/uk-95df0f95.js +0 -98
- package/dist/esm/utils-4f695ec2.js +0 -45
- package/dist/esm/utils-ddff4ef3.js +0 -61
- package/dist/esm/vi-70a9857c.js +0 -64
- package/dist/esm/zh-cn-e024ef2d.js +0 -88
- package/dist/esm/zh-hk-36ff9e8f.js +0 -65
- package/dist/esm/zh-tw-96ddb74c.js +0 -86
- package/dist/solutions-components/p-0056655c.js +0 -6
- package/dist/solutions-components/p-017265ef.entry.js +0 -23
- package/dist/solutions-components/p-017543d5.entry.js +0 -11
- package/dist/solutions-components/p-0209ed2e.js +0 -6
- package/dist/solutions-components/p-0245bb56.entry.js +0 -6
- package/dist/solutions-components/p-043ead99.entry.js +0 -6
- package/dist/solutions-components/p-048a2a6d.js +0 -6
- package/dist/solutions-components/p-050e12eb.entry.js +0 -12
- package/dist/solutions-components/p-06916de9.entry.js +0 -11
- package/dist/solutions-components/p-08320fb9.entry.js +0 -11
- package/dist/solutions-components/p-08e12eb0.js +0 -6
- package/dist/solutions-components/p-0a2c02fd.js +0 -6
- package/dist/solutions-components/p-0a4bc416.js +0 -6
- package/dist/solutions-components/p-0afa17dc.entry.js +0 -23
- package/dist/solutions-components/p-0b4eb6e4.entry.js +0 -11
- package/dist/solutions-components/p-0d900572.js +0 -6
- package/dist/solutions-components/p-0f4d3009.entry.js +0 -11
- package/dist/solutions-components/p-10181f33.entry.js +0 -6
- package/dist/solutions-components/p-105ef63c.entry.js +0 -17
- package/dist/solutions-components/p-11983a08.js +0 -6
- package/dist/solutions-components/p-1260db08.js +0 -61
- package/dist/solutions-components/p-129fcd0a.js +0 -6
- package/dist/solutions-components/p-13f7e487.js +0 -11
- package/dist/solutions-components/p-14769a01.js +0 -11
- package/dist/solutions-components/p-14a4ad77.entry.js +0 -11
- package/dist/solutions-components/p-15e67907.entry.js +0 -11
- package/dist/solutions-components/p-17799448.entry.js +0 -11
- package/dist/solutions-components/p-185a82e0.js +0 -17
- package/dist/solutions-components/p-191c59e9.js +0 -6
- package/dist/solutions-components/p-1b63bec9.entry.js +0 -11
- package/dist/solutions-components/p-1c810f4c.entry.js +0 -6
- package/dist/solutions-components/p-1d28ff09.entry.js +0 -11
- package/dist/solutions-components/p-1e30069a.entry.js +0 -6
- package/dist/solutions-components/p-1e63db11.entry.js +0 -6
- package/dist/solutions-components/p-20274226.entry.js +0 -6
- package/dist/solutions-components/p-2411f1f6.js +0 -6
- package/dist/solutions-components/p-2509b65f.entry.js +0 -22
- package/dist/solutions-components/p-25faeab6.js +0 -6
- package/dist/solutions-components/p-27f5bb4f.js +0 -36
- package/dist/solutions-components/p-2a0d8a46.entry.js +0 -11
- package/dist/solutions-components/p-2dea68b6.entry.js +0 -17
- package/dist/solutions-components/p-2ecd5cb7.js +0 -6
- package/dist/solutions-components/p-30dbc43d.entry.js +0 -11
- package/dist/solutions-components/p-32d821d1.entry.js +0 -37
- package/dist/solutions-components/p-3479d873.entry.js +0 -6
- package/dist/solutions-components/p-36d09c0c.entry.js +0 -35
- package/dist/solutions-components/p-375f0b74.js +0 -474
- package/dist/solutions-components/p-38b4873b.entry.js +0 -6
- package/dist/solutions-components/p-38d61356.js +0 -18
- package/dist/solutions-components/p-3a7156b8.entry.js +0 -6
- package/dist/solutions-components/p-3b041268.js +0 -6
- package/dist/solutions-components/p-3ca9bb95.js +0 -6
- package/dist/solutions-components/p-3e5c8b2f.js +0 -6
- package/dist/solutions-components/p-3ee6af74.js +0 -11
- package/dist/solutions-components/p-3eecbcf0.entry.js +0 -18
- package/dist/solutions-components/p-40432de5.entry.js +0 -11
- package/dist/solutions-components/p-4058733e.entry.js +0 -11
- package/dist/solutions-components/p-4152fae0.js +0 -6
- package/dist/solutions-components/p-4321edfc.js +0 -6
- package/dist/solutions-components/p-4344b6ca.entry.js +0 -11
- package/dist/solutions-components/p-44e26e37.js +0 -6
- package/dist/solutions-components/p-477ae127.js +0 -21
- package/dist/solutions-components/p-4c8b1179.js +0 -6
- package/dist/solutions-components/p-4e32bf8c.js +0 -6
- package/dist/solutions-components/p-4e93132b.entry.js +0 -6
- package/dist/solutions-components/p-4ea79dc4.entry.js +0 -11
- package/dist/solutions-components/p-4f51db32.js +0 -6
- package/dist/solutions-components/p-4f64d786.js +0 -6
- package/dist/solutions-components/p-4ff653eb.js +0 -6
- package/dist/solutions-components/p-53347add.js +0 -6
- package/dist/solutions-components/p-54fce798.js +0 -11
- package/dist/solutions-components/p-573d282b.entry.js +0 -11
- package/dist/solutions-components/p-58340eba.js +0 -6
- package/dist/solutions-components/p-5930cd6d.entry.js +0 -6
- package/dist/solutions-components/p-5fc99541.js +0 -257
- package/dist/solutions-components/p-6071078a.entry.js +0 -6
- package/dist/solutions-components/p-69863a28.entry.js +0 -6
- package/dist/solutions-components/p-699031c9.entry.js +0 -11
- package/dist/solutions-components/p-6998e886.entry.js +0 -11
- package/dist/solutions-components/p-6a813a31.entry.js +0 -6
- package/dist/solutions-components/p-6b12b5eb.entry.js +0 -16
- package/dist/solutions-components/p-6e89e9dd.js +0 -6
- package/dist/solutions-components/p-705b7f81.entry.js +0 -12
- package/dist/solutions-components/p-75578ebf.entry.js +0 -6
- package/dist/solutions-components/p-7c72df3c.js +0 -22
- package/dist/solutions-components/p-7ca47589.entry.js +0 -11
- package/dist/solutions-components/p-7cb8a4db.js +0 -6
- package/dist/solutions-components/p-7cc13b24.js +0 -8
- package/dist/solutions-components/p-8008b2fe.entry.js +0 -6
- package/dist/solutions-components/p-81531fbe.entry.js +0 -11
- package/dist/solutions-components/p-81627211.entry.js +0 -11
- package/dist/solutions-components/p-8aa806fe.js +0 -12
- package/dist/solutions-components/p-8ae8b789.js +0 -6
- package/dist/solutions-components/p-8b1236bf.js +0 -6
- package/dist/solutions-components/p-8b14f9aa.js +0 -16
- package/dist/solutions-components/p-8b4e79fd.js +0 -16
- package/dist/solutions-components/p-8bc91d5b.entry.js +0 -11
- package/dist/solutions-components/p-8df0c98c.entry.js +0 -35
- package/dist/solutions-components/p-953cf07a.entry.js +0 -6
- package/dist/solutions-components/p-95cf8aa0.entry.js +0 -11
- package/dist/solutions-components/p-99ece5e1.js +0 -11
- package/dist/solutions-components/p-9a2a551d.js +0 -6
- package/dist/solutions-components/p-9b43b4cf.js +0 -11
- package/dist/solutions-components/p-9f922d49.js +0 -11
- package/dist/solutions-components/p-9fb09c2c.js +0 -11
- package/dist/solutions-components/p-a0e50ea6.entry.js +0 -6
- package/dist/solutions-components/p-a1154bb5.entry.js +0 -11
- package/dist/solutions-components/p-a709a84a.js +0 -11
- package/dist/solutions-components/p-a99832c1.js +0 -27
- package/dist/solutions-components/p-ad41cd27.entry.js +0 -6
- package/dist/solutions-components/p-ad962e25.js +0 -6
- package/dist/solutions-components/p-ae1459ed.entry.js +0 -6
- package/dist/solutions-components/p-af9510a4.entry.js +0 -6
- package/dist/solutions-components/p-afc462f0.js +0 -6
- package/dist/solutions-components/p-b02a2b2f.js +0 -11
- package/dist/solutions-components/p-b0eb13a1.js +0 -6
- package/dist/solutions-components/p-b1228e6c.entry.js +0 -11
- package/dist/solutions-components/p-b1ff9f2e.entry.js +0 -11
- package/dist/solutions-components/p-b20bf7b7.entry.js +0 -6
- package/dist/solutions-components/p-b361af64.entry.js +0 -11
- package/dist/solutions-components/p-b4a6abe2.js +0 -11
- package/dist/solutions-components/p-b68b17b6.entry.js +0 -37
- package/dist/solutions-components/p-b73e9c4d.js +0 -6
- package/dist/solutions-components/p-b9111e12.js +0 -6
- package/dist/solutions-components/p-b9653a1e.js +0 -6
- package/dist/solutions-components/p-b9fa9ca9.js +0 -6
- package/dist/solutions-components/p-ba9bb2ba.entry.js +0 -11
- package/dist/solutions-components/p-bc35e445.entry.js +0 -6
- package/dist/solutions-components/p-bccc74a8.js +0 -6
- package/dist/solutions-components/p-bd213033.entry.js +0 -6
- package/dist/solutions-components/p-c0dc792a.entry.js +0 -11
- package/dist/solutions-components/p-c16e540d.js +0 -6
- package/dist/solutions-components/p-c35b219b.entry.js +0 -11
- package/dist/solutions-components/p-c38c0612.entry.js +0 -11
- package/dist/solutions-components/p-c8c3554b.js +0 -17
- package/dist/solutions-components/p-cbebdffa.js +0 -6
- package/dist/solutions-components/p-cbf52aa2.entry.js +0 -11
- package/dist/solutions-components/p-ce21ee76.js +0 -6
- package/dist/solutions-components/p-ce3e73ae.entry.js +0 -6
- package/dist/solutions-components/p-cf14e2f3.js +0 -6
- package/dist/solutions-components/p-cfebc45c.entry.js +0 -11
- package/dist/solutions-components/p-d15a4f36.entry.js +0 -11
- package/dist/solutions-components/p-d3550542.js +0 -6
- package/dist/solutions-components/p-d3dceabd.entry.js +0 -11
- package/dist/solutions-components/p-d43c1fc8.entry.js +0 -11
- package/dist/solutions-components/p-d7ddd3a2.js +0 -21
- package/dist/solutions-components/p-d841cb8b.js +0 -6
- package/dist/solutions-components/p-d9868bac.js +0 -6
- package/dist/solutions-components/p-dc94bec2.js +0 -6
- package/dist/solutions-components/p-dd0f8875.js +0 -6
- package/dist/solutions-components/p-dec7b660.js +0 -11
- package/dist/solutions-components/p-deca8a07.js +0 -6
- package/dist/solutions-components/p-df5ec082.entry.js +0 -11
- package/dist/solutions-components/p-e046f728.js +0 -6
- package/dist/solutions-components/p-e27ce6d2.entry.js +0 -11
- package/dist/solutions-components/p-e2abc969.js +0 -6
- package/dist/solutions-components/p-e3f9e213.js +0 -6
- package/dist/solutions-components/p-e43839a8.entry.js +0 -11
- package/dist/solutions-components/p-e4d5188b.entry.js +0 -6
- package/dist/solutions-components/p-e666c0d6.entry.js +0 -6
- package/dist/solutions-components/p-e6c20791.js +0 -11
- package/dist/solutions-components/p-ec4c8dc3.js +0 -11
- package/dist/solutions-components/p-ef34c9e2.entry.js +0 -11
- package/dist/solutions-components/p-f346f8ab.js +0 -11
- package/dist/solutions-components/p-f780ecc1.entry.js +0 -11
- package/dist/solutions-components/p-f8be5d5f.js +0 -7
- package/dist/solutions-components/p-f9a56d6b.entry.js +0 -6
- package/dist/solutions-components/p-f9b9b211.entry.js +0 -12
- package/dist/solutions-components/p-fc2277fe.js +0 -21
- package/dist/solutions-components/p-fd65b14d.entry.js +0 -6
- package/dist/solutions-components/p-fe0e8542.entry.js +0 -17
- /package/dist/cjs/{array-51e7da8f.js → array-46bb7df1.js} +0 -0
- /package/dist/cjs/{debounce-69c3bada.js → debounce-30afab47.js} +0 -0
- /package/dist/cjs/{guid-ca85ade0.js → guid-3abe3cc6.js} +0 -0
- /package/dist/cjs/{html2canvas-770c1171.js → html2canvas-34208bbf.js} +0 -0
- /package/dist/cjs/{interactive-4e212b36.js → interactive-2fe0f43a.js} +0 -0
- /package/dist/cjs/{key-b32a6438.js → key-b8b55ea3.js} +0 -0
- /package/dist/cjs/{math-ef14a84a.js → math-5132d9bd.js} +0 -0
- /package/dist/cjs/{observers-20fe6f01.js → observers-f5fa975b.js} +0 -0
- /package/dist/cjs/{purify-5389d8d6.js → purify-f8c3e427.js} +0 -0
- /package/dist/cjs/{resources-1d2258a1.js → resources-2901b608.js} +0 -0
- /package/dist/cjs/{resources-a7e3371d.js → resources-4da89742.js} +0 -0
- /package/dist/cjs/{resources-7c9bff85.js → resources-60c27547.js} +0 -0
- /package/dist/cjs/{resources-b4b4b4fe.js → resources-77713c2e.js} +0 -0
- /package/dist/cjs/{resources-b176fc52.js → resources-8233a151.js} +0 -0
- /package/dist/cjs/{resources-f13e2605.js → resources-91409a5d.js} +0 -0
- /package/dist/cjs/{resources-9dcbf30f.js → resources-9f2b33ee.js} +0 -0
- /package/dist/cjs/{resources-f3e30b7b.js → resources-c913200c.js} +0 -0
- /package/dist/cjs/{resources-c6f066a4.js → resources-e1258e8a.js} +0 -0
- /package/dist/cjs/{utils-662561ad.js → utils-bae432a9.js} +0 -0
- /package/dist/cjs/{utils-8a0f3e68.js → utils-cd14113f.js} +0 -0
- /package/dist/{esm/resources-b5267429.js → components/resources4.js} +0 -0
- /package/dist/esm/{array-4a653f59.js → array-751a2b87.js} +0 -0
- /package/dist/esm/{debounce-4c884e5c.js → debounce-229b1a22.js} +0 -0
- /package/dist/esm/{guid-1608fd71.js → guid-2bbb8cd1.js} +0 -0
- /package/dist/esm/{html2canvas-12c862c8.js → html2canvas-a0a4df55.js} +0 -0
- /package/dist/esm/{interactive-0733ee76.js → interactive-eaf4be29.js} +0 -0
- /package/dist/esm/{key-97b504af.js → key-7a525416.js} +0 -0
- /package/dist/esm/{math-e006358c.js → math-5f92f517.js} +0 -0
- /package/dist/esm/{observers-67bdf9e5.js → observers-9d66685a.js} +0 -0
- /package/dist/esm/{purify-75c61cf7.js → purify-c99d2ace.js} +0 -0
- /package/dist/esm/{resources-913009ae.js → resources-58d30a0f.js} +0 -0
- /package/dist/esm/{resources-6be20fcc.js → resources-5bce3953.js} +0 -0
- /package/dist/esm/{resources-f97db74e.js → resources-94c47e64.js} +0 -0
- /package/dist/esm/{resources-43d63050.js → resources-a9b2d33c.js} +0 -0
- /package/dist/esm/{resources-34b761fa.js → resources-c253772f.js} +0 -0
- /package/dist/esm/{resources-6b7800e6.js → resources-c65f5654.js} +0 -0
- /package/dist/esm/{resources-01034dfa.js → resources-d6a4d343.js} +0 -0
- /package/dist/esm/{resources-5490ccf4.js → resources-dca3d475.js} +0 -0
- /package/dist/esm/{utils-dcd05f69.js → utils-18db6b1d.js} +0 -0
- /package/dist/esm/{utils-649c76ab.js → utils-2c91c963.js} +0 -0
- /package/dist/solutions-components/{p-5d25ba99.js → p-18869c0f.js} +0 -0
- /package/dist/solutions-components/{p-43ebe36a.js → p-18f1772b.js} +0 -0
- /package/dist/solutions-components/{p-76b83a13.js → p-1f468797.js} +0 -0
- /package/dist/solutions-components/{p-f93e6931.js → p-215d3505.js} +0 -0
- /package/dist/solutions-components/{p-0b32d4fe.js → p-2291b598.js} +0 -0
- /package/dist/solutions-components/{p-0630e686.js → p-283e3a2d.js} +0 -0
- /package/dist/solutions-components/{p-a963dd48.js → p-38ef0684.js} +0 -0
- /package/dist/solutions-components/{p-3adf63ca.js → p-3fc17d72.js} +0 -0
- /package/dist/solutions-components/{p-fb3ba11a.js → p-4805ff13.js} +0 -0
- /package/dist/solutions-components/{p-5242a652.js → p-58ce5639.js} +0 -0
- /package/dist/solutions-components/{p-203b16df.js → p-5961c4e0.js} +0 -0
- /package/dist/solutions-components/{p-cc815aca.js → p-63a0e9bf.js} +0 -0
- /package/dist/solutions-components/{p-d556b5c4.js → p-6f2edf5b.js} +0 -0
- /package/dist/solutions-components/{p-9ab03591.js → p-868df4a0.js} +0 -0
- /package/dist/solutions-components/{p-ff4afb7d.js → p-b9749e09.js} +0 -0
- /package/dist/solutions-components/{p-3b72043f.js → p-d4c103a8.js} +0 -0
- /package/dist/solutions-components/{p-7ac7b1a1.js → p-d554507d.js} +0 -0
- /package/dist/solutions-components/{p-0506e06f.js → p-f055a840.js} +0 -0
- /package/dist/solutions-components/{p-08ab045a.js → p-fb7e0054.js} +0 -0
@@ -1,11 +0,0 @@
|
|
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
|
-
import{r as i,c as t,h as e,H as a,g as o}from"./p-f8be5d5f.js";import{c as n,d as s}from"./p-dec7b660.js";import{g as r,r as l,f as c,u as d}from"./p-c8c3554b.js";import{d as h,a as m,c as p,u as b}from"./p-7c72df3c.js";import{s as u,a as v,c as x}from"./p-a709a84a.js";import{c as g}from"./p-d556b5c4.js";import{o as f}from"./p-13f7e487.js";import{c as k,d as z}from"./p-8b4e79fd.js";import{s as w,c as y,d as C,u as $}from"./p-3ee6af74.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-0b32d4fe.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v1.6.0
|
11
|
-
*/const j="modal",M="header",O="container",D="modal--opening-idle",F="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",H="primary",q=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.mutationObserver=g("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=g("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.open=!1,this.isOpen=!1,this.removeOverflowHiddenClass()})),this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,H,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.beforeClose=()=>Promise.resolve(),this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.isOpen=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await w(this),u(this),this.open&&(f(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){v(this)}connectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),null===(t=this.cssVarObserver)||void 0===t||t.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),y(this),p(this)}disconnectedCallback(){var i,t;this.removeOverflowHiddenClass(),null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.cssVarObserver)||void 0===t||t.disconnect(),s(this),h(this),z(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[O]:!0,"container--open":this.isOpen,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[j]:!0},ref:this.setTransitionEl},e("div",{class:M},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:M}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:H}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.close,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${O} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${j} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${O} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${j} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){$(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.close(),i.preventDefault())}async setFocus(){await x(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(F),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(D,F),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),h(this)}async toggleModal(i){var t,e;f(this),i?(null===(t=this.transitionEl)||void 0===t||t.classList.add(D),this.openModal()):(null===(e=this.transitionEl)||void 0===e||e.classList.add(B),this.close())}openModal(){this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.isOpen=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};q.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([open][fullscreen]) .header,:host([open][fullscreen]) .footer,:host([open][fullscreen]) .content-top,:host([open][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{q as calcite_modal}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
import{r as t,c as s,g as e}from"./p-f8be5d5f.js";const r=class{constructor(e){t(this,e),this.stateLoaded=s(this,"stateLoaded",7),this.value="",this.templates=[],this.authentication=void 0}connectedCallback(){this._initValueObserver()}render(){return null}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.some((t=>{const s=t.target[t.attributeName];if("attributes"===t.type&&"value"===t.attributeName&&s!==t.oldValue&&""!==s)return!0}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}get el(){return e(this)}};export{r as store_manager}
|
@@ -1,11 +0,0 @@
|
|
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
|
-
import{r as e,h as t,F as i,g as n}from"./p-f8be5d5f.js";import{c as o,d as s}from"./p-dec7b660.js";import{g as a}from"./p-c8c3554b.js";import{c,d as r,u as l}from"./p-a963dd48.js";import"./p-d556b5c4.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v1.6.0
|
11
|
-
*/const d="content-start",h="content-end",p=class{constructor(t){e(this,t),this.active=!1,this.description=void 0,this.disabled=!1,this.embed=!1,this.focused=!1,this.heading=void 0,this.hidden=!1,this.href=void 0,this.icon=void 0,this.iconFlipRtl=!1}connectedCallback(){o(this),c(this)}disconnectedCallback(){s(this),r(this)}componentDidRender(){l(this)}renderTile(){const{icon:e,el:i,heading:n,description:o,iconFlipRtl:s}=this,c=n&&e&&!o;return t("div",{class:{container:!0,"large-visual":c}},e&&t("div",{class:"icon"},t("calcite-icon",{flipRtl:s,icon:e,scale:"l",style:c?{height:"64px",width:"64px"}:void 0})),t("div",{class:"content-container"},a(i,d)?t("div",{class:"content-slot-container"},t("slot",{name:d})):null,t("div",{class:"content"},n&&t("div",{class:"heading"},n),o&&t("div",{class:"description"},o)),a(i,h)?t("div",{class:"content-slot-container"},t("slot",{name:h})):null))}render(){return t(i,null,this.href?t("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};p.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([href]) .heading,:host([href]:hover) .heading{-webkit-text-decoration-line:underline;text-decoration-line:underline;color:var(--calcite-ui-text-link)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:flex;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_tile}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
import{r as t,c as s,h as i,g as e}from"./p-f8be5d5f.js";import{c as a,C as o,D as n,a as l,H as r,O as h,b as c,S as d,d as p,R as u}from"./p-5242a652.js";import{i as f,a as m}from"./p-c8c3554b.js";import{C as v,n as g,h as b,o as w,a as x,b as y,p as C,c as k,t as S,d as A,e as D,f as $}from"./p-08ab045a.js";import{c as j,d as z,u as F}from"./p-a963dd48.js";import{i as L}from"./p-0b32d4fe.js";import{c as O,s as M,a as N}from"./p-a709a84a.js";import{c as P,d as I}from"./p-8b4e79fd.js";import{r as K,c as E,a as U}from"./p-ff4afb7d.js";import{u as H,s as R,c as T,d as X}from"./p-3ee6af74.js";import{t as V}from"./p-0a2c02fd.js";import"./p-e1a4994d.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-d556b5c4.js";import"./p-4e32bf8c.js";const q=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=v.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(o+a);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&g(b(i,y(this.mode))))&&this.internalColorSet(a(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(a(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?h.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let a;if(this.allowEmpty&&!s.value)a="";else{const t=Number(s.value);a=E(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=a},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.allowEmpty&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i,o=Number(s.value);e[i]=a?w(o):o,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{L(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let o,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(o=l-a.x,n=r-a.y):(o=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,n=r<a.y+a.height&&r>a.y?r-a.y:r<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(o,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(o):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(o)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:o.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:s,channelMode:e,channels:a,messages:n,alphaChannel:l}=this,r=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],c=m(this.el),d=l?a:a.slice(0,3);return i("calcite-tab",{class:o.control,key:t,selected:r},i("div",{class:o.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:x(t)),this.renderChannel(t,i,h[i],c,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:o.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=b(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=b(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=V(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,o=Math.round(r.s/a*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider()},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(o+a);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=g(b(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!y(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatChange(t){this.setMode(t),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{allowEmpty:i,format:e}=this;let o=!1;if(!i||t){const i=C(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);o=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:a(null!=t&&"object"==typeof t&&y(this.mode)?$(t):t),r=!k(l,this.color);(o||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){H(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(o.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await O(this),this.el.focus()}async componentWillLoad(){M(this);const{allowEmpty:t,color:s,format:i,value:e}=this,o=t&&!e,n=C(e),l=o||"auto"===i&&n||i===n,r=o?null:l?a(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h))),await R(this)}connectedCallback(){j(this),P(this),T(this)}componentDidLoad(){N(this)}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler),z(this),I(this),X(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:s,color:e,colorFieldScopeLeft:a,colorFieldScopeTop:l,dimensions:{slider:{width:c},thumb:{radius:d}},hexDisabled:p,hideChannels:u,hideHex:f,hideSaved:m,hueScopeLeft:v,messages:g,alphaChannel:w,opacityScopeLeft:y,savedColors:C,savedDisabled:k,scale:S,scopeOrientation:A}=this,D=e?b(e,w):null,$=d,j=null!=v?v:c*n.hue()/r.h,z=d,F=null!=y?y:c*x(n.alpha())/h.max,L=null===e,O="vertical"===A,M=p||f,N=s||u,P=k||m,[I,K]=this.getAdjustedScopePosition(a,l),[E,U]=this.getAdjustedScopePosition(j,$),[H,R]=this.getAdjustedScopePosition(F,z);return i("div",{class:o.container},i("div",{class:o.controlAndScope},i("canvas",{class:o.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":O?g.value:g.saturation,"aria-valuemax":O?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(O?null==e?void 0:e.saturationv():null==e?void 0:e.value())||"0",class:{[o.scope]:!0,[o.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${K||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:o.previewAndSliders},i("calcite-color-picker-swatch",{class:o.preview,color:D,scale:"l"}),i("div",{class:o.sliders},i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":g.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==e?void 0:e.round().hue())||n.round().hue(),class:{[o.scope]:!0,[o.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${U}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),w?i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":g.opacity,"aria-valuemax":h.max,"aria-valuemin":h.min,"aria-valuenow":(e||n).round().alpha(),class:{[o.scope]:!0,[o.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),M&&N?null:i("div",{class:{[o.controlSection]:!0,[o.section]:!0}},i("div",{class:o.hexAndChannelsGroup},M?null:i("div",{class:o.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:w,class:o.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:S,value:D})),N?null:i("calcite-tabs",{class:{[o.colorModeContainer]:!0,[o.splitSection]:!0},scale:"l"===S?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),P?null:i("div",{class:{[o.savedColorsSection]:!0,[o.section]:!0}},i("div",{class:o.header},i("label",null,g.saved),i("div",{class:o.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:o.deleteColor,disabled:L,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:S,type:"button"}),i("calcite-button",{appearance:"transparent",class:o.saveColor,disabled:L,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:S,type:"button"}))),C.length>0?i("div",{class:o.savedColors},[...C.map((t=>i("calcite-color-picker-swatch",{class:o.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:S,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=y(t);if(i&&!e){const i=D(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=S(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(c/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=w(h.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&k(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===v.HEXA;return g(b(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[S(s)]().round().object();return s.endsWith("a")?A(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:a}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,a.colorField);const o={width:a.slider.width,height:a.slider.height+2*(a.thumb.radius-a.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,o),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,o)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,o=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,a,o,n,s)}drawThumb(t,s,i,e,a){const o=2*Math.PI;t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=s.hue()/(c/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,o,s)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,o=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let h=0;l.forEach((t=>{n.addColorStop(h,a(t).string()),h+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,o),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:a}}}=this,o=a-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,o,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),h=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,h.string()),this.drawSliderPath(t,i,e,0,o);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const o=s/2+1;t.beginPath(),t.moveTo(e+o,a),t.lineTo(e+i-o,a),t.quadraticCurveTo(e+i,a,e+i,a+o),t.lineTo(e+i,a+s-o),t.quadraticCurveTo(e+i,a+s,e+i-o,a+s),t.lineTo(e+o,a+s),t.quadraticCurveTo(e,a+s,e,a+s-o),t.lineTo(e,a+o),t.quadraticCurveTo(e,a,e+o,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=x(s.alpha())/(h.max/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,o,s)}getSliderBoundX(t,s,i){const e=U(t,s,i);return 0===e?t:-1===e?K(t,0,s,i,2*i):K(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(a(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{q as calcite_color_picker}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
import{r as t,c as e,h as i,F as a,g as s}from"./p-f8be5d5f.js";import{c as o,d as n}from"./p-dec7b660.js";import{g as c,t as r}from"./p-c8c3554b.js";import{c as l,d,u as h}from"./p-a963dd48.js";import{s as p,a as m,c as u}from"./p-a709a84a.js";import{c as f,d as b}from"./p-8b4e79fd.js";import{u as g,c as v,s as x,d as w}from"./p-3ee6af74.js";import{I as k}from"./p-fb3ba11a.js";import{I as y,C as j,S as C}from"./p-76b83a13.js";import"./p-d556b5c4.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-0b32d4fe.js";const W=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){l(this),f(this),v(this),o(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){d(this),b(this),w(this),n(this)}componentDidRender(){h(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;await u(this),null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[j.icon]:!0,[j.iconDot]:t===k.circle},onClick:this.pickListClickHandler},t===k.square?i("calcite-icon",{flipRtl:e,icon:y.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:j.remove,icon:y.remove,onClick:this.removeClickHandler,slot:C.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return c(t,C.actionsStart)?i("div",{class:{[j.actions]:!0,[j.actionsStart]:!0}},i("slot",{name:C.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return c(t,C.actionsEnd)||e?i("div",{class:{[j.actions]:!0,[j.actionsEnd]:!0}},i("slot",{name:C.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:j.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":r(this.selected),class:j.textContainer,role:"menuitemcheckbox"},i("span",{class:j.title},e),t?i("span",{class:j.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_pick_list_item}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
import{r as i,c,h as e,g as t}from"./p-f8be5d5f.js";import{c as a}from"./p-d556b5c4.js";const n=class{constructor(e){i(this,e),this.calciteInternalAccordionChange=c(this,"calciteInternalAccordionChange",6),this.mutationObserver=a("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect()}render(){const i="transparent"===this.appearance;return e("div",{class:{"accordion--transparent":i,accordion:!i}},e("slot",null))}updateActiveItemOnChange(i){this.calciteInternalAccordionChange.emit({requestedAccordionItem:i.detail.requestedAccordionItem}),i.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((i=>{i.iconPosition=this.iconPosition,i.iconType=this.iconType,i.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return t(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};n.style=":host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}:host([hidden]){display:none}[hidden]{display:none}";export{n as calcite_accordion}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
import{d as a}from"./p-b02a2b2f.js";import"./p-f8be5d5f.js";import"./p-8aa806fe.js";import"./p-c8c3554b.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-a963dd48.js";import"./p-0b32d4fe.js";import"./p-14769a01.js";import"./p-a709a84a.js";import"./p-8b4e79fd.js";import"./p-d556b5c4.js";import"./p-7c72df3c.js";import"./p-b4a6abe2.js";import"./p-3ee6af74.js";var e={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};a.locale(e,null,!0);export default e;
|
@@ -1,22 +0,0 @@
|
|
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
|
-
import{r as t,c as i,h as e,H as s,g as o}from"./p-f8be5d5f.js";import{q as n,i as a,A as r,t as c}from"./p-c8c3554b.js";import{c as l,b as h,a as d,r as f,F as p}from"./p-ec4c8dc3.js";import{g as u}from"./p-3adf63ca.js";import{o as m}from"./p-13f7e487.js";import{F as g}from"./p-99ece5e1.js";import"./p-5d25ba99.js";import"./p-4e32bf8c.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v1.6.0
|
11
|
-
*/const v="aria-describedby";
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v1.6.0
|
16
|
-
*/
|
17
|
-
function b(t){const{referenceElement:i}=t;return("string"==typeof i?n(t,{id:i}):i)||null}
|
18
|
-
/*!
|
19
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
-
* v1.6.0
|
22
|
-
*/const w=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const e=b(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltip:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const s=this.queryTooltip(i);this.hoveredTooltip=s,this.isClosableClickedTooltip(s)||(this.clickedTooltip=null,s?this.openHoveredTooltip(s):e&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!a(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.activeTooltip!==this.hoveredTooltip&&(this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0)))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);e&&this.registerShadowRoot(e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);i&&this.unregisterShadowRoot(i),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeActiveTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=(i.get(t)??0)+1;1===e&&this.addShadowListeners(t),i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=i.get(t)-1;0===e&&this.removeShadowListeners(t),i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}},y=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${u()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=b(this.el),l(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;t&&e&&!s&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(v,i),w.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(v),w.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=h,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){m(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&m(this)}async componentWillLoad(){this.open&&m(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return f(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this,a=t&&o,r=!a;return e(s,{"aria-hidden":c(r),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},e("div",{class:{[p.animation]:!0,[p.animationActive]:a},ref:this.setTransitionEl},e(g,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};y.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tooltip}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
import{d as _}from"./p-b02a2b2f.js";import"./p-f8be5d5f.js";import"./p-8aa806fe.js";import"./p-c8c3554b.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-a963dd48.js";import"./p-0b32d4fe.js";import"./p-14769a01.js";import"./p-a709a84a.js";import"./p-8b4e79fd.js";import"./p-d556b5c4.js";import"./p-7c72df3c.js";import"./p-b4a6abe2.js";import"./p-3ee6af74.js";var m="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),r="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),t=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function p(_,m,r){var t,p;return"m"===r?m?"хвилина":"хвилину":"h"===r?m?"година":"годину":_+" "+(t=+_,p={ss:m?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:m?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:m?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r].split("_"),t%10==1&&t%100!=11?p[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?p[1]:p[2])}var s=function(_,p){return t.test(p)?m[_.month()]:r[_.month()]};s.s=r,s.f=m;var a={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:p,mm:p,h:p,hh:p,d:"день",dd:p,M:"місяць",MM:p,y:"рік",yy:p},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(a,null,!0);export default a;
|
@@ -1,36 +0,0 @@
|
|
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
|
-
import{c as n}from"./p-9ab03591.js";
|
7
|
-
/** @license
|
8
|
-
* Copyright 2022 Esri
|
9
|
-
*
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
* you may not use this file except in compliance with the License.
|
12
|
-
* You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/async function t(n){const t=n.createQuery();return t.where="1=1",await n.queryObjectIds(t)}async function a(n,t){let a=[];const c=n?n.map((n=>async function(n,t){const a=t.createQuery();return a.spatialRelationship="intersects",a.geometry=n,t.queryObjectIds(a)}
|
22
|
-
/** @license
|
23
|
-
* Copyright 2022 Esri
|
24
|
-
*
|
25
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
26
|
-
* you may not use this file except in compliance with the License.
|
27
|
-
* You may obtain a copy of the License at
|
28
|
-
*
|
29
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
30
|
-
*
|
31
|
-
* Unless required by applicable law or agreed to in writing, software
|
32
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
33
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
34
|
-
* See the License for the specific language governing permissions and
|
35
|
-
* limitations under the License.
|
36
|
-
*/(n,t))):[Promise.resolve()];return(await Promise.all(c)).forEach((n=>{a=[...a,...n||[]]})),a}async function c(n,t,a,s,e){const o=t.capabilities.query.maxRecordCount,i=t.createQuery();i.start=0,i.num=o,i.returnGeometry=s,i.objectIds=n.slice(0,o),e&&(i.outSpatialReference=e);const r=await t.queryFeatures(i);a=a.concat(r.features);const u=n.slice(o,n.length);return u.length>0?c(u,t,a,s,e):Promise.resolve(a)}async function s(n,t,a,c){const e=t.capabilities.query.maxRecordCount,o=t.createQuery();o.start=n,o.num=e,o.geometry=a;const i=await t.queryFeatures(o);return c[t.id]=c[t.id].concat(i.features),i.exceededTransferLimit?s(n+=e,t,a,c):Promise.resolve(c)}function e(n,t){return[...o(n,"polygon",t),...o(n,"polyline",t),...o(n,"point",t)]}function o(n,t,a){const c=(null==n?void 0:n.filter((n=>n.type===t)))||[];return c.length<=1?c:[a.union(c)]}async function i(n){let t={};return await n.when((()=>{t=n.map.allLayers.toArray().reduce(((n,t)=>("feature"===t.type&&(n[t.id]=t.title),n)),{})})),t}async function r(n){let t={};return await n.when((()=>{t=n.map.allTables.toArray().reduce(((n,t)=>(n[t.id]=t.title,n)),{})})),t}async function u(n){let t=[];return await n.when((()=>{t=n.map.allLayers.toArray().reduce(((n,t)=>("feature"===t.type&&n.push(t.id),n)),[])})),t}async function f(n){let t=[];return await n.when((()=>{t=n.map.allTables.toArray().reduce(((n,t)=>(n.push(t.id),n)),[])})),t}async function y(n,t){const a=await w(n,t);return a?await n.whenLayerView(a):void 0}async function w(n,t){let a=[];return await n.when((()=>{a=[...n.map.allLayers.toArray(),...n.map.allTables.toArray()].filter((n=>n.id===t))})),a.length>0?a[0]:void 0}async function l(n,t,a,c=!1){return c&&await d(n,t,a,!1),t.highlight(n)}async function b(n){const t=j(n);return Object.keys(t).reduce(((n,a)=>{const c=t[a];return n.push(c.layerView.highlight(c.ids)),n}),[])}function j(t){return t.reduce(((t,a)=>{const c=a.layerView,s=null==c?void 0:c.layer.id;return s&&Object.keys(t).indexOf(s)>-1?t[s].ids=[...new Set([...a.selectedIds,...t[s].ids])]:s&&(t[s]={layerView:c,ids:a.selectedIds}),a.workflowType===n.REFINE&&Object.keys(a.refineInfos).forEach((n=>{const c=a.refineInfos[n];Object.keys(t).indexOf(n)>-1&&(t[n].ids=[...new Set([...c.addIds,...t[n].ids])],t[n].ids=t[n].ids.filter((n=>c.removeIds.indexOf(n)<0)))})),t}),{})}async function d(n,t,a,c=!0,s){const e=await async function(n,t){const a=t.createQuery();return a.objectIds=n,t.queryExtent(a)}(n,t.layer);await a.goTo(e.extent),c&&await async function(n,t,a){const c={objectIds:n};t.featureEffect=Object.assign(Object.assign({},a),{filter:c}),setTimeout((()=>{t.featureEffect=void 0}),1300)}(n,t,s)}export{w as a,u as b,t as c,a as d,e,y as f,d as g,l as h,s as i,j,b as k,f as l,i as m,r as n,c as q}
|
@@ -1,11 +0,0 @@
|
|
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
|
-
import{r as t,c as e,h as i,g as o}from"./p-f8be5d5f.js";import{c as n,d as a}from"./p-dec7b660.js";import{w as s,g as c}from"./p-c8c3554b.js";import{s as l,a as r,c as d}from"./p-a709a84a.js";import{c as h,d as g}from"./p-8b4e79fd.js";import{c as m,d as p,s as f,u}from"./p-3ee6af74.js";import{K as v}from"./p-0630e686.js";import"./p-d556b5c4.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-0b32d4fe.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v1.6.0
|
11
|
-
*/const b="actions-end",k=class{constructor(i){t(this,i),this.calciteNoticeClose=e(this,"calciteNoticeClose",6),this.calciteNoticeOpen=e(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=s(v,this.icon,this.kind)}connectedCallback(){n(this),h(this),m(this)}disconnectedCallback(){a(this),g(this),p(this)}async componentWillLoad(){l(this),this.requestedIcon=s(v,this.icon,this.kind),await f(this)}componentDidLoad(){r(this)}render(){const{el:t}=this,e=i("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=c(t,b);return i("div",{class:"container"},this.requestedIcon?i("div",{class:"notice-icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"notice-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),o?i("div",{class:"actions-end"},i("slot",{name:b})):null,this.closable?e:null)}async setFocus(){await d(this);const t=this.el.querySelector("calcite-link");if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){u(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_notice}
|
@@ -1,17 +0,0 @@
|
|
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
|
-
import{r as e,c as t,h as i,H as o,g as n,a as c}from"./p-f8be5d5f.js";import{h as a,n as s,z as l,g as r,r as d,a as h,t as p,y as m}from"./p-c8c3554b.js";import{c as u,d as b}from"./p-dec7b660.js";import{c as g,d as f,u as k}from"./p-a963dd48.js";import{C as v}from"./p-5d25ba99.js";import"./p-3adf63ca.js";import"./p-d556b5c4.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v1.6.0
|
11
|
-
*/function y(e,t){const i="down"===t?"nextElementSibling":"previousElementSibling";let o=e,n=null;for(;o?.matches("calcite-tree-item");){if(!o.disabled){n=o;break}o=o[i]}return n}const w=class{constructor(i){e(this,i),this.calciteTreeSelect=t(this,"calciteTreeSelect",6),this.lines=!1,this.child=void 0,this.scale="m",this.selectionMode="single",this.selectedItems=[]}componentWillRender(){var e;const t=null===(e=this.el.parentElement)||void 0===e?void 0:e.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}render(){return i(o,{"aria-multiselectable":this.child?void 0:("multiple"===this.selectionMode||"multichildren"===this.selectionMode).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");a(e)}}onFocusIn(e){(e.relatedTarget===this.el||!this.el.contains(e.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(e){!this.el.contains(e.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(e){const t=e.target,i=s(t.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(e.preventDefault(),e.stopPropagation()),"ancestors"===this.selectionMode&&!this.child)return void this.updateAncestorTree(e);const o="none"===this.selectionMode,n=null!==this.selectionMode&&(!t.hasChildren||t.hasChildren&&("children"===this.selectionMode||"multichildren"===this.selectionMode)),c="multichildren"===this.selectionMode&&t.hasChildren,a=!o&&e.detail.modifyCurrentSelection&&("multiple"===this.selectionMode||"multichildren"===this.selectionMode),l=!a&&(("single"===this.selectionMode||"multiple"===this.selectionMode)&&i.length<=0||"children"===this.selectionMode||"multichildren"===this.selectionMode),r=["children","multichildren"].includes(this.selectionMode)||["single","multiple"].includes(this.selectionMode)&&t.hasChildren&&!e.detail.forceToggle;if(!this.child){const d=[];n&&d.push(t),l&&s(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((e=>{d.includes(e)||(e.selected=!1)})),r&&(["single","multiple"].includes(this.selectionMode)?t.expanded=!t.expanded:"multichildren"===this.selectionMode?t.expanded=!t.selected:"children"===this.selectionMode&&(t.expanded=!t.selected||!t.expanded)),c&&i.forEach((e=>{e.selected=!1,e.hasChildren&&(e.expanded=!1)})),a&&window.getSelection().removeAllRanges(),a&&t.selected||e.detail.forceToggle?d.forEach((e=>{e.disabled||(e.selected=!1)})):o||d.forEach((e=>{e.disabled||(e.selected=!0)}))}this.selectedItems=o?[t]:s(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit(),e.stopPropagation()}keyDownHandler(e){var t;const i=this.el.closest("calcite-tree:not([child])"),o=e.target;if(i===this.el&&"CALCITE-TREE-ITEM"===o.tagName&&this.el.contains(o))if("ArrowDown"!==e.key){if("ArrowUp"===e.key){const t=y(o.previousElementSibling,"up");t&&(t.focus(),e.preventDefault())}if("ArrowLeft"===e.key&&!o.disabled){if(o.hasChildren&&o.expanded)return o.expanded=!1,void e.preventDefault();const t=o.parentElement.closest("calcite-tree-item");return!t||o.hasChildren&&!1!==o.expanded?void 0:(t.focus(),void e.preventDefault())}"ArrowRight"!==e.key||o.disabled||o.hasChildren&&(o.expanded&&l(this.el).activeElement===o?(null===(t=y(o.querySelector("calcite-tree-item"),"down"))||void 0===t||t.focus(),e.preventDefault()):(o.expanded=!0,e.preventDefault()))}else{const t=y(o.nextElementSibling,"down");t&&(t.focus(),e.preventDefault())}}updateAncestorTree(e){const t=e.target;if(t.disabled)return;const i=[];let o=t.parentElement.closest("calcite-tree-item");for(;o;)i.push(o),o=o.parentElement.closest("calcite-tree-item");const n=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),c=n.filter((e=>!e.hasChildren)),a=n.filter((e=>e.hasChildren)),l=t.hasChildren?!(t.selected||t.indeterminate):!t.selected;function r(e,t){const i=e.filter((e=>e.selected)),o=e.filter((e=>!e.selected));t.selected=i.length===e.length,t.indeterminate=i.length>0&&o.length>0}c.forEach((e=>{e.selected=l,e.indeterminate=!1})),a.reverse().forEach((e=>{r(Array.from(e.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),e)})),t.hasChildren?r(n,t):(t.selected=l,t.indeterminate=!1),i.forEach((e=>{const t=s(e.querySelectorAll("calcite-tree-item")),i=t.filter((e=>e.selected));if(0===i.length)return e.selected=!1,void(e.indeterminate=!1);const o=i.length<t.length;e.indeterminate=o,e.selected=!o})),this.selectedItems=s(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit()}getRootTabIndex(){return this.child?-1:0}get el(){return n(this)}};w.style=":host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v1.6.0
|
16
|
-
*/
|
17
|
-
const x="children",z="bullet-point",j="check",C=class{constructor(i){e(this,i),this.calciteInternalTreeItemSelect=t(this,"calciteInternalTreeItemSelect",6),this.iconClickHandler=e=>{e.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=e=>e.stopPropagation(),this.updateParentIsExpanded=(e,t)=>{r(e,x,{all:!0,selector:"calcite-tree-item"}).forEach((e=>e.parentExpanded=t))},this.actionsEndSlotChangeHandler=e=>{this.hasEndActions=d(e)},this.disabled=!1,this.expanded=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.selected=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.lines=void 0,this.scale=void 0,this.indeterminate=!1,this.selectionMode=void 0,this.updateAfterInitialRender=!1,this.hasEndActions=!1}expandedHandler(e){this.updateParentIsExpanded(this.el,e)}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){var e;if(this.parentTreeItem=null===(e=this.el.parentElement)||void 0===e?void 0:e.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:e}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,e)}u(this),g(this)}disconnectedCallback(){b(this),f(this)}componentWillRender(){var e;this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let t,i=this.el.closest("calcite-tree");if(i)for(this.selectionMode=i.selectionMode,this.scale=i.scale||"m",this.lines=i.lines;i&&(t=null===(e=i.parentElement)||void 0===e?void 0:e.closest("calcite-tree"),t!==i);)i=t,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){k(this,(()=>this.parentExpanded||1===this.depth))}render(){const e="rtl"===h(this.el),t="single"===this.selectionMode||"children"===this.selectionMode,n="multiple"===this.selectionMode||"multichildren"===this.selectionMode,c="none"===this.selectionMode&&!this.hasChildren,a=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[v.rtl]:e},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"l"===this.scale?"m":"s"}):null,s=i("slot",{key:"default-slot"}),l="ancestors"===this.selectionMode?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),s):null,r=t?z:n?j:c?"blank":null,d=r?i("calcite-icon",{class:{"bullet-point":r===z,checkmark:r===j,[v.rtl]:e},icon:r,scale:"l"===this.scale?"m":"s"}):null,m=!(this.parentExpanded||1===this.depth),u=this.updateAfterInitialRender&&this.expanded,{hasEndActions:b}=this,g=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),f=i("calcite-icon",{class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"});return i(o,{"aria-expanded":this.hasChildren?p(u):void 0,"aria-hidden":p(m),"aria-selected":this.selected?"true":n?"false":void 0,"calcite-hydrated-hidden":m,role:"treeitem"},i("div",{class:{"item--expanded":u}},i("div",{class:"node-actions-container"},i("div",{class:{"node-container":!0,[v.rtl]:e},"data-selection-mode":this.selectionMode,ref:e=>this.defaultSlotWrapper=e},a,d,this.iconStart?f:null,l||s),i("div",{class:"actions-end",hidden:!b,ref:e=>this.actionSlotWrapper=e},g)),i("div",{class:{"children-container":!0,[v.rtl]:e},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{name:x}))))}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;const[t]=m(this.el,"a");t&&"a"!==e.composedPath()[0].tagName.toLowerCase()&&window.open(t.href,""===t.target?"_self":t.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:"ancestors"===this.selectionMode||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(e){let t;if(!this.isActionEndEvent(e))switch(e.key){case" ":if("none"===this.selectionMode)return;this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Enter":if("none"===this.selectionMode)return;const i=s(this.el.children).find((e=>e.matches("a")));i?(i.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Home":t=this.el.closest("calcite-tree:not([child])");const o=t.querySelector("calcite-tree-item");null==o||o.focus();break;case"End":t=this.el.closest("calcite-tree:not([child])");let n=t.children[t.children.length-1],c=s(n.children).find((e=>e.matches("calcite-tree")));for(;c;)n=c.children[t.children.length-1],c=s(n.children).find((e=>e.matches("calcite-tree")));null==n||n.focus()}}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper)}updateAncestorTree(){const e=this.parentTreeItem;if("ancestors"===this.selectionMode&&e)if(this.selected){const t=this.el.parentElement,i=Array.from(null==t?void 0:t.children),o=i.filter((e=>e.selected));i.length===o.length?(e.selected=!0,e.indeterminate=!1):o.length>0&&(e.indeterminate=!0)}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getSelectionMode"]}}};C.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}.node-actions-container{display:flex;justify-content:space-between}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-actions-container{min-block-size:1.5rem}:host([scale=s]) .node-actions-container .node-container .checkbox,:host([scale=s]) .node-actions-container .node-container .chevron,:host([scale=s]) .node-actions-container .node-container .checkmark,:host([scale=s]) .node-actions-container .node-container .bullet-point{margin-inline:0.25rem}:host([scale=s]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-actions-container{min-block-size:2rem}:host([scale=m]) .node-actions-container .node-container .checkbox,:host([scale=m]) .node-actions-container .node-container .chevron,:host([scale=m]) .node-actions-container .node-container .checkmark,:host([scale=m]) .node-actions-container .node-container .bullet-point{margin-inline:0.5rem}:host([scale=m]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-actions-container{min-block-size:2.75rem}:host([scale=l]) .node-actions-container .node-container .checkbox,:host([scale=l]) .node-actions-container .node-container .chevron,:host([scale=l]) .node-actions-container .node-container .checkmark,:host([scale=l]) .node-actions-container .node-container .bullet-point{margin-inline:0.75rem}:host([scale=l]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host:focus,:host:active{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host(:focus:not([disabled])){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container{padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container{padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.75rem}:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox{margin-inline-start:0}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected]) .node-container[data-selection-mode=children],:host([has-children][selected]) .node-container[data-selection-mode=multichildren]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}:host([hidden]){display:none}[hidden]{display:none}';const A=class{constructor(t){e(this,t),this.isPortal=!1,this.type="",this.typeKeywords=[]}render(){return i("div",{title:this.type},i("img",{class:"item-type-icon item-type-icon-margin",height:"16",src:this._getIconUrl(this.type,this.typeKeywords),width:"16"}))}_getIconUrl(e,t){const i=e&&e.toLowerCase()||"";let o=!1,n=!1,a=!1,s=!1,l=!1,r=!1,d="";return t=t||[],i.indexOf("service")>0||"feature collection"===i||"kml"===i||"wms"===i||"wmts"===i||"wfs"===i?(o=t.indexOf("Hosted Service")>-1,"feature service"===i||"feature collection"===i||"kml"===i||"wfs"===i?(s=t.indexOf("Table")>-1,n=t.indexOf("Route Layer")>-1,a=t.indexOf("Markup")>-1,l=-1!==t.indexOf("Spatiotemporal"),d=l&&s?"spatiotemporaltable":s?"table":n?"routelayer":a?"markup":l?"spatiotemporal":o?"featureshosted":"features"):"map service"===i||"wms"===i||"wmts"===i?(l=-1!==t.indexOf("Spatiotemporal"),r=-1!==t.indexOf("Relational"),d=l||r?"mapimages":o||t.indexOf("Tiled")>-1||"wmts"===i?"maptiles":"mapimages"):d="scene service"===i?t.indexOf("Line")>-1?"sceneweblayerline":t.indexOf("3DObject")>-1?"sceneweblayermultipatch":t.indexOf("Point")>-1?"sceneweblayerpoint":t.indexOf("IntegratedMesh")>-1?"sceneweblayermesh":t.indexOf("PointCloud")>-1?"sceneweblayerpointcloud":t.indexOf("Polygon")>-1?"sceneweblayerpolygon":t.indexOf("Building")>-1?"sceneweblayerbuilding":"sceneweblayer":"image service"===i?t.indexOf("Elevation 3D Layer")>-1?"elevationlayer":t.indexOf("Tiled Imagery")>-1?"tiledimagerylayer":"imagery":"stream service"===i?"streamlayer":"vector tile service"===i?"vectortile":"datastore catalog service"===i?"datastorecollection":"geocoding service"===i?"geocodeservice":"geoprocessing service"===i&&t.indexOf("Web Tool")>-1&&this.isPortal?"tool":"layers"):d="web map"===i||"cityengine web scene"===i?"maps":"web scene"===i?t.indexOf("ViewingMode-Local")>-1?"webscenelocal":"websceneglobal":"web mapping application"===i||"mobile application"===i||"application"===i||"operation view"===i||"desktop application"===i?"apps":"map document"===i||"map package"===i||"published map"===i||"scene document"===i||"globe document"===i||"basemap package"===i||"mobile basemap package"===i||"mobile map package"===i||"project package"===i||"project template"===i||"pro map"===i||"layout"===i||"layer"===i&&t.indexOf("ArcGIS Pro")>-1||"explorer map"===i&&t.indexOf("Explorer Document")?"mapsgray":"service definition"===i||"csv"===i||"shapefile"===i||"cad drawing"===i||"geojson"===i||"360 vr experience"===i||"netcdf"===i||"administrative report"===i?"datafiles":"explorer add in"===i||"desktop add in"===i||"windows viewer add in"===i||"windows viewer configuration"===i?"appsgray":"arcgis pro add in"===i||"arcgis pro configuration"===i?"addindesktop":"rule package"===i||"file geodatabase"===i||"sqlite geodatabase"===i||"csv collection"===i||"kml collection"===i||"windows mobile package"===i||"map template"===i||"desktop application template"===i||"gml"===i||"arcpad package"===i||"code sample"===i||"form"===i||"document link"===i||"operations dashboard add in"===i||"rules package"===i||"image"===i||"workflow manager package"===i||"explorer map"===i&&t.indexOf("Explorer Mapping Application")>-1||t.indexOf("Document")>-1?"datafilesgray":"network analysis service"===i||"geoprocessing service"===i||"geodata service"===i||"geometry service"===i||"geoprocessing package"===i||"locator package"===i||"geoprocessing sample"===i||"workflow manager service"===i?"toolsgray":"layer"===i||"layer package"===i||"explorer layer"===i?"layersgray":"scene package"===i?"scenepackage":"mobile scene package"===i?"mobilescenepackage":"tile package"===i||"compact tile package"===i?"tilepackage":"task file"===i?"taskfile":"report template"===i?"report-template":"statistical data collection"===i?"statisticaldatacollection":"insights workbook"===i?"workbook":"insights model"===i?"insightsmodel":"insights page"===i?"insightspage":"insights theme"===i?"insightstheme":"hub initiative"===i?"hubinitiative":"hub page"===i?"hubpage":"hub site application"===i?"hubsite":"hub event"===i?"hubevent":"relational database connection"===i?"relationaldatabaseconnection":"big data file share"===i?"datastorecollection":"image collection"===i?"imagecollection":"desktop style"===i?"desktopstyle":"style"===i?"style":"dashboard"===i?"dashboard":"raster function template"===i?"rasterprocessingtemplate":"vector tile package"===i?"vectortilepackage":"ortho mapping project"===i?"orthomappingproject":"ortho mapping template"===i?"orthomappingtemplate":"solution"===i?"solutions":"geopackage"===i?"geopackage":"deep learning package"===i?"deeplearningpackage":"real time analytic"===i?"realtimeanalytics":"big data analytic"===i?"bigdataanalytics":"feed"===i?"feed":"excalibur imagery project"===i?"excaliburimageryproject":"notebook"===i?"notebook":"storymap"===i?"storymap":"survey123 add in"===i?"survey123addin":"mission"===i?"mission":"mission report"===i?"missionreport":"quickcapture project"===i?"quickcaptureproject":"pro report"===i?"proreport":"urban model"===i?"urbanmodel":"web experience"===i?"experiencebuilder":"web experience template"===i?"webexperiencetemplate":"workflow"===i?"workflow":"kernel gateway connection"===i?"kernelgatewayconnection":"insights script"===i?"insightsscript":"hub initiative template"===i?"hubinitiativetemplate":"storymap theme"===i?"storymaptheme":"group"===i?"group":"maps",d?c("./item-icons/"+d+"16.png"):null}static get assetsDirs(){return["item-icons"]}get el(){return n(this)}};A.style='.item-type-icon{pointer-events:none;display:block;height:1rem;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}.item-type-icon-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.item-type-icon-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.item-type-icon-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.item-type-icon-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.item-type-icon-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.item-type-icon-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.item-type-icon-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.item-type-icon-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face .item-type-icon{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face .item-type-icon b,.code-face .item-type-icon strong{font-weight:400}.code-italic .item-type-icon{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic .item-type-icon b,.code-italic .item-type-icon strong{font-weight:400}.item-type-icon{margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{margin-inline-end:0.375rem}';export{w as calcite_tree,C as calcite_tree_item,A as solution_item_icon}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
import{d as _}from"./p-b02a2b2f.js";import"./p-f8be5d5f.js";import"./p-8aa806fe.js";import"./p-c8c3554b.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-a963dd48.js";import"./p-0b32d4fe.js";import"./p-14769a01.js";import"./p-a709a84a.js";import"./p-8b4e79fd.js";import"./p-d556b5c4.js";import"./p-7c72df3c.js";import"./p-b4a6abe2.js";import"./p-3ee6af74.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export default m;
|
@@ -1,11 +0,0 @@
|
|
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
|
-
import{r as t,c as e,h as i,H as s,g as a}from"./p-f8be5d5f.js";import{r as o,w as n,t as l,g as r}from"./p-c8c3554b.js";import{s as c,a as d,c as h}from"./p-a709a84a.js";import{c as u,d as m,n as p}from"./p-8b4e79fd.js";import{o as g}from"./p-13f7e487.js";import{c as f,s as v,d as b,u as k}from"./p-3ee6af74.js";import{K as w}from"./p-0630e686.js";import"./p-3adf63ca.js";import"./p-5d25ba99.js";import"./p-0b32d4fe.js";import"./p-d556b5c4.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v1.6.0
|
11
|
-
*/const x={slow:14e3,medium:1e4,fast:6e3},y=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=o(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,e=x[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1,this.requestedIcon=void 0}openHandler(){g(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=n(w,this.icon,this.kind)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),x[this.autoCloseDuration]))}connectedCallback(){u(this),f(this),this.open&&!this.queued&&(this.openHandler(),this.calciteInternalAlertRegister.emit(),g(this))}async componentWillLoad(){c(this),this.requestedIcon=n(w,this.icon,this.kind),await v(this)}componentDidLoad(){d(this)}disconnectedCallback(){window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}})),window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),m(this),b(this),this.slottedInShell=!1}render(){const{hasEndActions:t}=this,e=i("button",{"aria-label":this.messages.close,class:"alert-close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}));p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const a=p.numberFormatter.format(this.queueLength>2?this.queueLength-1:1),o=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:a},a)),{open:n,autoClose:r,label:c,placement:d,queued:h,requestedIcon:u,iconFlipRtl:m}=this,g=r?"alert":"alertdialog",f=!n,v=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler});return i(s,{"aria-hidden":l(f),"aria-label":c,"calcite-hydrated-hidden":f,role:g},i("div",{class:{container:!0,queued:h,[d]:!0,"slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},u?i("div",{class:"alert-icon"},i("calcite-icon",{flipRtl:m,icon:u,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"alert-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),i("div",{class:"actions-end",hidden:!t},v),this.queueLength>1?o:null,e,n&&!h&&r?i("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}alertUnregister(t){const e=this.queue.filter((e=>e!==t.detail.alert));this.queue=e,window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:e}}))}async setFocus(){await h(this);const t=r(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){k(this,this.effectiveLocale)}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),x[this.autoCloseDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=':host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;z-index:var(--calcite-app-z-index-toast);margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.container{display:flex;inline-size:100%;align-items:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;flex-direction:column;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 0;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px;border-start-start-radius:var(--calcite-border-radius);border-end-start-radius:var(--calcite-border-radius)}.alert-close{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius);border-start-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-close])>.alert-queue-count{border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .alert-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-ui-info)}:host([kind=info]) .container .alert-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-ui-success)}:host([kind=success]) .container .alert-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([auto-close-duration=fast]) .alert-dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .alert-dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .alert-dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .alert-dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container.slotted-in-shell{position:absolute}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_alert}
|