@esri/solutions-components 0.10.23 → 0.10.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{calcite-accordion-item.cjs.entry.js → calcite-accordion_2.cjs.entry.js} +83 -1
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block_5.cjs.entry.js +5 -7
- package/dist/cjs/{calcite-carousel.cjs.entry.js → calcite-carousel_2.cjs.entry.js} +52 -18
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
- package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-tree_2.cjs.entry.js} +0 -317
- package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/{downloadUtils-470f6a27.js → downloadUtils-17f08e5e.js} +235 -160
- package/dist/cjs/feature-list.cjs.entry.js +2 -2
- package/dist/cjs/{index.es-6387d8fb.js → index.es-2518dd41.js} +36 -47
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +106 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +34 -14
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +59 -29
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/{popupUtils-c38f840d.js → popupUtils-24306e6b.js} +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +233 -0
- package/dist/cjs/solution-item-icon.cjs.entry.js +328 -0
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/cjs/{utils-9343bd5b.js → utils-62072741.js} +23 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +3 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/layer-table/layer-table.js +3 -3
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +23 -0
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +287 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/solution-item-accordion.html +345 -0
- package/dist/collection/utils/interfaces.ts +11 -0
- package/dist/{esm/calcite-accordion-item.entry.js → components/accordion-item.js} +47 -16
- package/dist/{esm/calcite-accordion.entry.js → components/accordion.js} +36 -10
- package/dist/components/calcite-accordion-item.js +1 -222
- package/dist/components/calcite-accordion.js +1 -110
- package/dist/components/calcite-carousel-item.js +1 -54
- package/dist/components/calcite-carousel.js +1 -517
- package/dist/{esm/calcite-carousel-item.entry.js → components/carousel-item.js} +28 -9
- package/dist/{esm/calcite-carousel.entry.js → components/carousel.js} +76 -19
- package/dist/components/downloadUtils.js +234 -159
- package/dist/components/index.es.js +35 -46
- package/dist/components/instant-apps-app-guide.js +184 -0
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export-views.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +3 -5
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +8 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +2 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +3 -3
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +33 -13
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +1 -1
- package/dist/components/instant-apps-social-share2.js +2 -2
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +59 -29
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/solution-item-accordion.d.ts +11 -0
- package/dist/components/solution-item-accordion.js +336 -0
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/utils4.js +22 -1
- package/dist/esm/{ExpandToggle-b5147279.js → ExpandToggle-076b4360.js} +1 -1
- package/dist/esm/{ar-e0e64e78.js → ar-3e3c0d14.js} +8 -8
- package/dist/esm/{bg-d2d8dbe0.js → bg-a872736b.js} +8 -8
- package/dist/esm/{bs-d883901d.js → bs-fe545c28.js} +8 -8
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{ca-064729ad.js → ca-8a2abdaa.js} +8 -8
- package/dist/esm/calcite-accordion_2.entry.js +279 -0
- package/dist/esm/calcite-action-bar.entry.js +4 -4
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu_2.entry.js +3 -3
- package/dist/esm/calcite-action-pad_2.entry.js +6 -6
- package/dist/esm/calcite-action_2.entry.js +6 -6
- package/dist/esm/calcite-alert_5.entry.js +6 -6
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +3 -3
- package/dist/esm/calcite-block_5.entry.js +14 -16
- package/dist/esm/calcite-button.entry.js +5 -5
- package/dist/esm/calcite-card-group.entry.js +1 -1
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-carousel_2.entry.js +500 -0
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip-group.entry.js +1 -1
- package/dist/esm/calcite-chip_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +8 -8
- package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
- package/dist/esm/calcite-dialog.entry.js +5 -5
- package/dist/esm/calcite-dropdown_2.entry.js +3 -3
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter_5.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +4 -4
- package/dist/esm/calcite-icon_2.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +5 -5
- package/dist/esm/calcite-input-text.entry.js +5 -5
- package/dist/esm/{calcite-input-time-picker-66e7a9f3.js → calcite-input-time-picker-2fbabd28.js} +56 -56
- package/dist/esm/calcite-input-time-picker.entry.js +8 -8
- package/dist/esm/calcite-input-time-zone.entry.js +5 -5
- package/dist/esm/calcite-input_2.entry.js +5 -5
- package/dist/esm/calcite-label.entry.js +2 -2
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +3 -3
- package/dist/esm/calcite-menu.entry.js +3 -3
- package/dist/esm/calcite-meter.entry.js +3 -3
- package/dist/esm/calcite-modal_3.entry.js +5 -5
- package/dist/esm/calcite-navigation.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +4 -4
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +3 -3
- package/dist/esm/calcite-pick-list-group.entry.js +1 -1
- package/dist/esm/calcite-pick-list-item.entry.js +3 -3
- package/dist/esm/calcite-pick-list.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +5 -5
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-sheet.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +10 -10
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-stepper-item.entry.js +3 -3
- package/dist/esm/calcite-stepper.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-table-cell_2.entry.js +3 -3
- package/dist/esm/calcite-table-row.entry.js +1 -1
- package/dist/esm/calcite-table.entry.js +3 -3
- package/dist/esm/calcite-text-area.entry.js +5 -5
- package/dist/esm/calcite-tile-group.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-time-picker.entry.js +4 -4
- package/dist/esm/calcite-tip-manager.entry.js +3 -3
- package/dist/esm/calcite-tip.entry.js +3 -3
- package/dist/esm/calcite-tooltip.entry.js +3 -3
- package/dist/esm/{calcite-tree_3.entry.js → calcite-tree_2.entry.js} +3 -319
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/{cs-3751e560.js → cs-f9bfb6dd.js} +8 -8
- package/dist/esm/{da-227f8ad5.js → da-0528de8d.js} +8 -8
- package/dist/esm/{date-87a67cb4.js → date-f0c83d13.js} +1 -1
- package/dist/esm/{de-at-66232b80.js → de-at-c7c45014.js} +8 -8
- package/dist/esm/{de-ch-1264ed4c.js → de-ch-e9338f1b.js} +8 -8
- package/dist/esm/{de-a5d2b25b.js → de-d149b983.js} +8 -8
- package/dist/esm/{dom-63d2d41c.js → dom-42a638f6.js} +1 -1
- package/dist/esm/{downloadUtils-d1f791c5.js → downloadUtils-4a34c86a.js} +235 -160
- package/dist/esm/{el-f5bf7ca3.js → el-d86fff8e.js} +8 -8
- package/dist/esm/{en-au-2ac8f62e.js → en-au-e722c119.js} +8 -8
- package/dist/esm/{en-ca-a1602b49.js → en-ca-8f38a3b8.js} +8 -8
- package/dist/esm/{en-gb-28354b2e.js → en-gb-24dd064c.js} +8 -8
- package/dist/esm/{es-feb7aad2.js → es-39a9e113.js} +8 -8
- package/dist/esm/{es-mx-5d64f899.js → es-mx-fa0cbd42.js} +8 -8
- package/dist/esm/{et-173d2f49.js → et-51eabe80.js} +8 -8
- package/dist/esm/feature-list.entry.js +2 -2
- package/dist/esm/{fi-ff9bb719.js → fi-64ca8666.js} +8 -8
- package/dist/esm/{floating-ui-c7ae81d9.js → floating-ui-a14930d0.js} +1 -1
- package/dist/esm/{focusTrapComponent-833b1234.js → focusTrapComponent-c1def619.js} +1 -1
- package/dist/esm/{form-08e1bcb7.js → form-46367137.js} +1 -1
- package/dist/esm/{fr-ch-491f1abe.js → fr-ch-6fe6a6e6.js} +8 -8
- package/dist/esm/{fr-e3af6835.js → fr-e20306bf.js} +8 -8
- package/dist/esm/{he-47aa8dde.js → he-32ec6cce.js} +8 -8
- package/dist/esm/{hi-1700df3e.js → hi-da2b085c.js} +8 -8
- package/dist/esm/{hr-68b828f5.js → hr-5a52222a.js} +8 -8
- package/dist/esm/{hu-df6a8f29.js → hu-d3bbacef.js} +8 -8
- package/dist/esm/{id-8091582d.js → id-dcdac250.js} +8 -8
- package/dist/esm/{index.es-decad494.js → index.es-5f44061b.js} +36 -47
- package/dist/esm/instant-apps-app-guide.entry.js +102 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-export-views.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
- package/dist/esm/instant-apps-language-translator.entry.js +34 -14
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +59 -29
- package/dist/esm/{it-1f5e149d.js → it-360f430f.js} +8 -8
- package/dist/esm/{it-ch-bf7fcac6.js → it-ch-0ec68776.js} +8 -8
- package/dist/esm/{ja-a5117166.js → ja-a95cae4c.js} +8 -8
- package/dist/esm/{ko-9d7a9e79.js → ko-f0edd78f.js} +8 -8
- package/dist/esm/{label-4c4e06d6.js → label-f2ec1100.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-4441c976.js → locale-a53a7bc6.js} +1 -1
- package/dist/esm/{lt-2e1c53de.js → lt-bff432da.js} +8 -8
- package/dist/esm/{lv-ca1ba866.js → lv-0c7edf32.js} +8 -8
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/{mk-421d0d41.js → mk-876446b8.js} +8 -8
- package/dist/esm/{nb-5b103e32.js → nb-25537e87.js} +8 -8
- package/dist/esm/{nl-eac33461.js → nl-8be84da3.js} +8 -8
- package/dist/esm/{openCloseComponent-c8c8645b.js → openCloseComponent-9d44719e.js} +1 -1
- package/dist/esm/{pl-03531ccb.js → pl-8d4fe5a7.js} +8 -8
- package/dist/esm/{popupUtils-4e0a103f.js → popupUtils-3ccb86bd.js} +1 -1
- package/dist/esm/{pt-br-dee45728.js → pt-br-3015e62b.js} +8 -8
- package/dist/esm/{pt-b5d8bffc.js → pt-dcc887b4.js} +8 -8
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/{ro-df6cb584.js → ro-b973c654.js} +8 -8
- package/dist/esm/{ru-e7c02faa.js → ru-59a7f10b.js} +8 -8
- package/dist/esm/{shared-list-render-cadae2eb.js → shared-list-render-097ee366.js} +1 -1
- package/dist/esm/{sk-cae387d2.js → sk-a00e5b97.js} +8 -8
- package/dist/esm/{sl-2892ad87.js → sl-55c8a748.js} +8 -8
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +229 -0
- package/dist/esm/solution-item-icon.entry.js +324 -0
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/esm/{sr-11e6839f.js → sr-e4fc3293.js} +8 -8
- package/dist/esm/{sv-fd5c6ca5.js → sv-f0782d2a.js} +8 -8
- package/dist/esm/{t9n-b7ea1a61.js → t9n-b33c486a.js} +1 -1
- package/dist/esm/{th-170cf6b1.js → th-d2abb499.js} +8 -8
- package/dist/esm/{time-a7f1020b.js → time-f99aceff.js} +1 -1
- package/dist/esm/{tr-1d6ca382.js → tr-512413e1.js} +8 -8
- package/dist/esm/{uk-35eec84e.js → uk-79fe44f1.js} +8 -8
- package/dist/esm/{utils-6493bff2.js → utils-6f13e31e.js} +22 -1
- package/dist/esm/{utils-62514064.js → utils-d67a6d71.js} +1 -1
- package/dist/esm/{vi-2713ee26.js → vi-53b51e7a.js} +8 -8
- package/dist/esm/{zh-cn-ed066014.js → zh-cn-7d19a53a.js} +8 -8
- package/dist/esm/{zh-hk-a118dced.js → zh-hk-4fb6c3eb.js} +8 -8
- package/dist/esm/{zh-tw-c9bbf220.js → zh-tw-6a5d2c2b.js} +8 -8
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +75 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +16 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +3 -0
- package/dist/solutions-components/demos/solution-item-accordion.html +345 -0
- package/dist/solutions-components/p-022d51db.js +6 -0
- package/dist/solutions-components/{p-cd5a9034.entry.js → p-030e5077.entry.js} +1 -1
- package/dist/solutions-components/{p-92ba99ff.js → p-03f3cf77.js} +1 -1
- package/dist/solutions-components/{p-fb3e0eae.js → p-03ffbb1b.js} +1 -1
- package/dist/solutions-components/{p-ee9b7fab.js → p-0a1a9ff1.js} +1 -1
- package/dist/solutions-components/p-0a64be62.js +6 -0
- package/dist/solutions-components/{p-bb0f549a.js → p-0ded20f0.js} +1 -1
- package/dist/solutions-components/{p-f6f2018a.js → p-12be6545.js} +1 -1
- package/dist/solutions-components/{p-da80cfbc.entry.js → p-1692858b.entry.js} +1 -1
- package/dist/solutions-components/{p-c40b0ec5.js → p-174aa4da.js} +1 -1
- package/dist/solutions-components/{p-222e0445.entry.js → p-1826154b.entry.js} +1 -1
- package/dist/solutions-components/{p-8c6a301f.entry.js → p-18307307.entry.js} +2 -2
- package/dist/solutions-components/{p-c163b67f.js → p-1a047db6.js} +1 -1
- package/dist/solutions-components/{p-5067d77e.entry.js → p-1c5f17cb.entry.js} +1 -1
- package/dist/solutions-components/{p-01dae909.js → p-1df2d94d.js} +1 -1
- package/dist/solutions-components/{p-64bf4d2e.entry.js → p-216ae423.entry.js} +1 -1
- package/dist/solutions-components/{p-7586e1de.entry.js → p-219f0273.entry.js} +1 -1
- package/dist/solutions-components/{p-ae8ed06a.entry.js → p-283e344a.entry.js} +1 -1
- package/dist/solutions-components/{p-691cb5f4.js → p-290dee0b.js} +2 -2
- package/dist/solutions-components/{p-91b7a7dc.entry.js → p-2a059548.entry.js} +1 -1
- package/dist/solutions-components/{p-8da5aeea.entry.js → p-2bb9b365.entry.js} +1 -1
- package/dist/solutions-components/{p-7c854814.js → p-2caf1f94.js} +2 -2
- package/dist/solutions-components/{p-919e9de7.entry.js → p-2cb47eff.entry.js} +2 -2
- package/dist/solutions-components/{p-e5736093.entry.js → p-2d2b06db.entry.js} +1 -1
- package/dist/solutions-components/{p-de8121a4.js → p-2d2dcf8a.js} +1 -1
- package/dist/solutions-components/{p-9bc84681.js → p-2d5e428d.js} +1 -1
- package/dist/solutions-components/{p-508b2b7b.js → p-2e7d005f.js} +1 -1
- package/dist/solutions-components/{p-bc6cf10f.entry.js → p-3016bf77.entry.js} +1 -1
- package/dist/solutions-components/{p-08d1cc1f.js → p-3244e59a.js} +1 -1
- package/dist/solutions-components/{p-66b01781.js → p-365169c2.js} +2 -2
- package/dist/solutions-components/{p-245c35ce.js → p-372e4640.js} +1 -1
- package/dist/solutions-components/p-374d0fdc.entry.js +6 -0
- package/dist/solutions-components/p-39e9ae5c.entry.js +6 -0
- package/dist/solutions-components/p-3d6f8c9e.entry.js +29 -0
- package/dist/solutions-components/{p-458a3f01.entry.js → p-3de85f54.entry.js} +1 -1
- package/dist/solutions-components/{p-c7046172.entry.js → p-3e9a487b.entry.js} +2 -2
- package/dist/solutions-components/{p-7b2ef872.entry.js → p-42710186.entry.js} +1 -1
- package/dist/solutions-components/{p-c5facecd.entry.js → p-44270ade.entry.js} +1 -1
- package/dist/solutions-components/{p-d1cc620f.entry.js → p-47398e76.entry.js} +1 -1
- package/dist/solutions-components/{p-d784f756.entry.js → p-4881885b.entry.js} +3 -3
- package/dist/solutions-components/{p-5a76a4c8.entry.js → p-496b7a1f.entry.js} +1 -1
- package/dist/solutions-components/{p-9db30b19.entry.js → p-4aafcac7.entry.js} +1 -1
- package/dist/solutions-components/{p-2aa44a02.entry.js → p-4cfe3d80.entry.js} +2 -2
- package/dist/solutions-components/{p-cf9e6515.entry.js → p-4feaf7db.entry.js} +2 -2
- package/dist/solutions-components/{p-a37d1b17.entry.js → p-50323300.entry.js} +1 -1
- package/dist/solutions-components/{p-5f705984.js → p-50ab7903.js} +1 -1
- package/dist/solutions-components/{p-960a4993.entry.js → p-50c2d3e5.entry.js} +1 -1
- package/dist/solutions-components/{p-712873f0.js → p-50e2a33b.js} +1 -1
- package/dist/solutions-components/{p-54b7e680.js → p-51abfcb7.js} +1 -1
- package/dist/solutions-components/{p-25b5ffea.js → p-524a996f.js} +1 -1
- package/dist/solutions-components/{p-02ea30d1.entry.js → p-54879c84.entry.js} +1 -1
- package/dist/solutions-components/{p-23dd68de.entry.js → p-5550f101.entry.js} +1 -1
- package/dist/solutions-components/{p-040b6e44.entry.js → p-5714f5ca.entry.js} +1 -1
- package/dist/solutions-components/{p-52f19286.entry.js → p-57be85fb.entry.js} +1 -1
- package/dist/solutions-components/p-58d8ee47.js +6 -0
- package/dist/solutions-components/{p-0b6e5486.js → p-5959580d.js} +1 -1
- package/dist/solutions-components/{p-9524e5e4.js → p-59695ccc.js} +1 -1
- package/dist/solutions-components/{p-87f928a5.entry.js → p-59b3e946.entry.js} +2 -2
- package/dist/solutions-components/{p-6b0fa1eb.entry.js → p-5a997dc9.entry.js} +1 -1
- package/dist/solutions-components/{p-29a09798.js → p-5ba9df82.js} +2 -2
- package/dist/solutions-components/{p-9fa7a7ad.entry.js → p-5cef36d6.entry.js} +1 -1
- package/dist/solutions-components/{p-732bb88c.entry.js → p-5d398871.entry.js} +1 -1
- package/dist/solutions-components/{p-7fce703f.entry.js → p-5d58d70c.entry.js} +1 -1
- package/dist/solutions-components/{p-0e851a4b.js → p-62dadb51.js} +1 -1
- package/dist/solutions-components/{p-981ab7fc.entry.js → p-62ed6a7a.entry.js} +1 -1
- package/dist/solutions-components/{p-49bbe45e.js → p-63f9004a.js} +1 -1
- package/dist/solutions-components/{p-40f5df15.entry.js → p-64906bb5.entry.js} +2 -2
- package/dist/solutions-components/{p-7ae41cd8.js → p-65fe42ef.js} +1 -1
- package/dist/solutions-components/{p-c25e8c35.js → p-66cee72b.js} +1 -1
- package/dist/solutions-components/{p-a85fd786.entry.js → p-6b1d1546.entry.js} +1 -1
- package/dist/solutions-components/{p-0dc73313.js → p-6b21efce.js} +1 -1
- package/dist/solutions-components/{p-79f78acc.entry.js → p-6cf1225a.entry.js} +1 -1
- package/dist/solutions-components/{p-6c080ac7.entry.js → p-6d4db88b.entry.js} +8 -2
- package/dist/solutions-components/{p-b76ed1c7.entry.js → p-6d894d47.entry.js} +2 -2
- package/dist/solutions-components/{p-26a3ba5e.entry.js → p-6e0439fa.entry.js} +1 -1
- package/dist/solutions-components/p-6e118057.js +11 -0
- package/dist/solutions-components/{p-267ef1b8.entry.js → p-6f594492.entry.js} +2 -2
- package/dist/solutions-components/{p-30903105.entry.js → p-70f2898c.entry.js} +1 -1
- package/dist/solutions-components/p-72bce122.entry.js +6 -0
- package/dist/solutions-components/{p-67c34d05.entry.js → p-72ee63b0.entry.js} +1 -1
- package/dist/solutions-components/{p-e4ef6f49.js → p-754a5334.js} +1 -1
- package/dist/solutions-components/{p-2264e8d5.entry.js → p-76efd680.entry.js} +1 -1
- package/dist/solutions-components/{p-5a3cab12.entry.js → p-7758a533.entry.js} +1 -1
- package/dist/solutions-components/{p-cd6eee11.js → p-7a820f38.js} +1 -1
- package/dist/solutions-components/{p-bae65813.entry.js → p-7b122a6e.entry.js} +1 -1
- package/dist/solutions-components/{p-1a06bf01.js → p-7e762fa7.js} +1 -1
- package/dist/solutions-components/{p-004d601f.entry.js → p-7f147e8b.entry.js} +1 -1
- package/dist/solutions-components/{p-a79f4c52.entry.js → p-82185ebf.entry.js} +1 -1
- package/dist/solutions-components/{p-d47abf9b.entry.js → p-827037ce.entry.js} +1 -1
- package/dist/solutions-components/{p-cb07016a.entry.js → p-88c6ece3.entry.js} +2 -2
- package/dist/solutions-components/{p-94ae78d6.js → p-8a683cdc.js} +1 -1
- package/dist/solutions-components/{p-304cef31.js → p-8d453a3a.js} +3 -3
- package/dist/solutions-components/{p-886fbbe3.entry.js → p-8ef003ec.entry.js} +1 -1
- package/dist/solutions-components/p-8fb651e5.entry.js +6 -0
- package/dist/solutions-components/{p-b8ce880d.js → p-92008b90.js} +1 -1
- package/dist/solutions-components/{p-1490c752.js → p-926664d9.js} +1 -1
- package/dist/solutions-components/{p-4e7aa926.js → p-94397114.js} +1 -1
- package/dist/solutions-components/{p-b3e8da19.entry.js → p-94805d7f.entry.js} +1 -1
- package/dist/solutions-components/p-94c518ff.entry.js +6 -0
- package/dist/solutions-components/{p-936037e4.js → p-97aa6766.js} +1 -1
- package/dist/solutions-components/{p-8bb2c169.js → p-984ce9da.js} +1 -1
- package/dist/solutions-components/{p-9c5f4347.js → p-99e6cb74.js} +1 -1
- package/dist/solutions-components/{p-de3ee7a6.entry.js → p-9d12b3f1.entry.js} +1 -1
- package/dist/solutions-components/{p-4fe5e9c3.entry.js → p-9ee72dba.entry.js} +1 -1
- package/dist/solutions-components/{p-dfeb6a2e.entry.js → p-9f3aebd0.entry.js} +1 -1
- package/dist/solutions-components/{p-a5e64f6b.entry.js → p-a1093fee.entry.js} +1 -1
- package/dist/solutions-components/{p-8537518d.entry.js → p-a2a2c6a2.entry.js} +1 -1
- package/dist/solutions-components/{p-c4953b5e.entry.js → p-a2dbc38b.entry.js} +1 -1
- package/dist/solutions-components/{p-6319ca20.js → p-a4255b97.js} +1 -1
- package/dist/solutions-components/{p-b8f33145.js → p-a4e73041.js} +1 -1
- package/dist/solutions-components/{p-1017609e.js → p-a5fc6ab7.js} +2 -2
- package/dist/solutions-components/{p-d75ef009.entry.js → p-a60a2c8b.entry.js} +1 -1
- package/dist/solutions-components/{p-254f6e23.entry.js → p-a6a0df5c.entry.js} +1 -1
- package/dist/solutions-components/{p-33db098c.js → p-a7395caf.js} +1 -1
- package/dist/solutions-components/{p-eb2859d6.js → p-a7761371.js} +1 -1
- package/dist/solutions-components/{p-e74bc7b3.js → p-a8b70e9a.js} +1 -1
- package/dist/solutions-components/{p-fedbf657.entry.js → p-a8d83bc3.entry.js} +1 -1
- package/dist/solutions-components/p-aa36f70e.entry.js +6 -0
- package/dist/solutions-components/{p-c0d25be5.entry.js → p-ac7868a6.entry.js} +1 -1
- package/dist/solutions-components/{p-04294b8e.js → p-ac92679c.js} +1 -1
- package/dist/solutions-components/{p-e0ee0556.entry.js → p-ad441ffa.entry.js} +1 -1
- package/dist/solutions-components/{p-ac11cf8f.entry.js → p-add869b6.entry.js} +1 -1
- package/dist/solutions-components/{p-b96233e3.entry.js → p-af3e49d8.entry.js} +1 -1
- package/dist/solutions-components/{p-c7eaade6.entry.js → p-b310402f.entry.js} +1 -1
- package/dist/solutions-components/{p-996daf05.entry.js → p-b4d708cd.entry.js} +1 -1
- package/dist/solutions-components/{p-5f7c1e49.js → p-b7e63ac2.js} +1 -1
- package/dist/solutions-components/{p-a4e35c2d.entry.js → p-b9b2f7a9.entry.js} +1 -1
- package/dist/solutions-components/{p-3c1ecf85.entry.js → p-bb040eab.entry.js} +1 -1
- package/dist/solutions-components/{p-53b5a39e.js → p-bcc2d4ff.js} +1 -1
- package/dist/solutions-components/{p-66afdfdd.entry.js → p-bcce9d28.entry.js} +1 -1
- package/dist/solutions-components/{p-8fb06a85.entry.js → p-c60c5991.entry.js} +1 -1
- package/dist/solutions-components/{p-062f4457.js → p-c6ef8cca.js} +1 -1
- package/dist/solutions-components/{p-1ef6a1c2.entry.js → p-c718930a.entry.js} +1 -1
- package/dist/solutions-components/{p-270ead49.js → p-c94b0e1a.js} +1 -1
- package/dist/solutions-components/{p-5440c8dd.js → p-cba6953c.js} +1 -1
- package/dist/solutions-components/{p-976ad17d.entry.js → p-d00ca970.entry.js} +1 -1
- package/dist/solutions-components/p-d2033cfa.entry.js +6 -0
- package/dist/solutions-components/{p-ca6055a3.js → p-d2ee8b82.js} +1 -1
- package/dist/solutions-components/p-d4ab82e3.entry.js +17 -0
- package/dist/solutions-components/{p-798b9928.entry.js → p-d7711a84.entry.js} +1 -1
- package/dist/solutions-components/{p-4c179300.entry.js → p-d7871f0d.entry.js} +1 -1
- package/dist/solutions-components/{p-f7bc99fb.entry.js → p-dc264663.entry.js} +3 -3
- package/dist/solutions-components/{p-aa68a36e.entry.js → p-dcaae1e9.entry.js} +2 -2
- package/dist/solutions-components/{p-770a0e12.js → p-dcebc541.js} +1 -1
- package/dist/solutions-components/{p-9277a339.entry.js → p-de3719f2.entry.js} +1 -1
- package/dist/solutions-components/{p-74fbad1c.js → p-dec62e5d.js} +30 -31
- package/dist/solutions-components/{p-aa341d46.entry.js → p-e068dfb9.entry.js} +1 -1
- package/dist/solutions-components/p-e0b65115.js +11 -0
- package/dist/solutions-components/{p-550da58b.js → p-e0fd4006.js} +1 -1
- package/dist/solutions-components/{p-8614d1a0.entry.js → p-e26cf5f5.entry.js} +1 -1
- package/dist/solutions-components/{p-0d6b3f44.js → p-e6798e38.js} +1 -1
- package/dist/solutions-components/p-e8aa44e2.entry.js +6 -0
- package/dist/solutions-components/{p-19b466d0.js → p-ea8d2558.js} +1 -1
- package/dist/solutions-components/{p-fcd33b4f.js → p-ef187f1d.js} +1 -1
- package/dist/solutions-components/{p-b4d92441.entry.js → p-efca5cea.entry.js} +1 -1
- package/dist/solutions-components/{p-40175313.entry.js → p-f4360468.entry.js} +1 -1
- package/dist/solutions-components/{p-80f49acc.js → p-f4d7f757.js} +1 -1
- package/dist/solutions-components/{p-95c3b305.entry.js → p-f72fa647.entry.js} +1 -1
- package/dist/solutions-components/{p-347d9ce0.js → p-f7e45464.js} +1 -1
- package/dist/solutions-components/{p-990d8b4b.js → p-f7ffcd95.js} +1 -1
- package/dist/solutions-components/{p-9560a1fd.entry.js → p-fa7c50f8.entry.js} +1 -1
- package/dist/solutions-components/{p-707ee1d1.entry.js → p-fd9fb1ba.entry.js} +2 -2
- package/dist/solutions-components/{p-986ff43b.entry.js → p-fdb201ff.entry.js} +1 -1
- package/dist/solutions-components/{p-924ec704.js → p-fe0add26.js} +1 -1
- package/dist/solutions-components/{p-54a9017c.entry.js → p-ff105078.entry.js} +1 -1
- package/dist/solutions-components/{p-fa68f43a.entry.js → p-ff639390.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +11 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +117 -0
- package/dist/types/components.d.ts +23 -2
- package/dist/types/preact.d.ts +4 -0
- package/dist/types/utils/interfaces.d.ts +10 -0
- package/package.json +7 -7
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -95
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +0 -46
- package/dist/solutions-components/p-2007eaa4.entry.js +0 -6
- package/dist/solutions-components/p-23ce9afa.entry.js +0 -11
- package/dist/solutions-components/p-27a25ece.entry.js +0 -6
- package/dist/solutions-components/p-2d17790c.js +0 -6
- package/dist/solutions-components/p-2e06ec97.js +0 -6
- package/dist/solutions-components/p-3a47fde6.entry.js +0 -11
- package/dist/solutions-components/p-41c34a67.js +0 -6
- package/dist/solutions-components/p-79f5a8be.js +0 -11
- package/dist/solutions-components/p-93d8ef73.entry.js +0 -6
- package/dist/solutions-components/p-a0b62b46.entry.js +0 -6
- package/dist/solutions-components/p-aef41a6d.entry.js +0 -11
- package/dist/solutions-components/p-b8b78283.entry.js +0 -29
- package/dist/solutions-components/p-d36878db.js +0 -11
- package/dist/solutions-components/p-fd79adec.entry.js +0 -6
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{g as t}from"./p-8bce991a.js";import{
|
6
|
+
import{g as t}from"./p-8bce991a.js";import{d as s,g as i,t as e}from"./p-66cee72b.js";import{S as n}from"./p-38a87c63.js";import{d as o}from"./p-c8d3207e.js";import{h as r,H as a}from"./p-6eb37ed2.js";import{I as c}from"./p-1ce2608d.js";import{C as l,S as h}from"./p-5de67b86.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as r}from"./p-
|
6
|
+
import{d as r}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var p="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},m={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:p,monthsShort:p,weekStart:6,meridiem:function(r){return r>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return m[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return t[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(o,null,!0);export{o as default}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,h as o,H as e,g as s}from"./p-6eb37ed2.js";import{l as n}from"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const
|
6
|
+
import{r as t,h as o,H as e,g as s}from"./p-6eb37ed2.js";import{l as n}from"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const i="components",r=`[slot="${i}"]`,a=class{constructor(o){t(this,o),this.components=[],this.view=void 0}async componentWillLoad(){const[t]=await n(["esri/widgets/Expand"]);this.Expand=t,this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return o(e,{key:"45edbd93de055768fb4b58e9d12a7570d24bdd22"},o("slot",{key:"47d507e456dfc86a068948280b21386bc08e735c",name:i}))}_handleComponents(){const t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return(o,e)=>{let s=o.content;o.isExpand&&(s=this._getExpand(o),o.expandIcon&&(s.expandIcon=o.expandIcon),o.collapseTooltip&&(s.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(s.expandTooltip=o.expandTooltip)),s.container||(s.container=document.createElement("div")),null==t||t.appendChild(s.container),e!==this.components.length-1&&(s.container.style="border-bottom: 1px solid var(--calcite-color-border-3)")}}_getExpand(t){var o;const{view:e}=this,{content:s}=t,n=null!==(o=null==t?void 0:t.expanded)&&void 0!==o&&o;return new this.Expand({content:s,view:e,expanded:n,mode:"floating",group:"instant-apps-control-panel"})}_getComponentsNode(){return this.el.querySelector(r)}_resetUI(t){if(t.children.length>0){const{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return s(this)}};a.style=":host{display:block}";export{a as instant_apps_control_panel}
|
@@ -0,0 +1,6 @@
|
|
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
|
+
export{I as calcite_input_time_picker}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as _}from"./p-
|
6
|
+
import{d as _}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},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/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export{m as default}
|
@@ -0,0 +1,17 @@
|
|
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 e,h as t,g as c,H as n}from"./p-6eb37ed2.js";import{c as a}from"./p-1c249530.js";import{c as o,d as r}from"./p-f8d23498.js";import{g as l,h as s,t as d,a as h}from"./p-66cee72b.js";import{C as m}from"./p-8bfa18b7.js";import{g as p}from"./p-27d462c0.js";import{s as v,a as g,c as b}from"./p-3e828614.js";import"./p-4b9b7778.js";import"./p-aaa56cbf.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const f="accordion",u="accordion--transparent",x=class{constructor(t){i(this,t),this.calciteInternalAccordionChange=e(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(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const i="transparent"===this.appearance;return t("div",{key:"1399ab312fad432bde78fdedd0435848b53109ef",class:{[u]:i,[f]:!i}},t("slot",{key:"3ab7863d23eabb6c5ce499de42dab74df885ccdd"}))}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 c(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};x.style=":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}: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/dev/LICENSE.md for details.
|
15
|
+
* v2.12.2
|
16
|
+
*/
|
17
|
+
const k="actions-start",y="actions-end",w="header",C="icon",I="icon--end",A="icon--start",z="section",j="section-toggle",P=class{constructor(t){i(this,t),this.calciteInternalAccordionItemSelect=e(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=e(this,"calciteInternalAccordionItemClose",6),this.storeHeaderEl=i=>{this.headerEl=i},this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){o(this)}componentWillLoad(){v(this)}componentDidLoad(){g(this)}disconnectedCallback(){r(this)}renderActionsStart(){const{el:i}=this;return l(i,k)?t("div",{class:"actions-start"},t("slot",{name:k})):null}renderActionsEnd(){const{el:i}=this;return l(i,y)?t("div",{class:"actions-end"},t("slot",{name:y})):null}render(){const{iconFlipRtl:i}=this,e=s(this.el),c=this.iconStart?t("calcite-icon",{class:{[C]:!0,[A]:!0},flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null,a=this.iconEnd?t("calcite-icon",{class:{[I]:!0,[C]:!0},flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null,{description:o}=this;return t(n,{key:"814d4825cae2104f75b2f9929536082846cf57bd"},t("div",{key:"2db2128ea0666b97849c6dae790540f233c9d0c1",class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},t("div",{key:"64fe888d6f47db3f9338327280b3e321bb770518",class:{[w]:!0,[m.rtl]:"rtl"===e}},this.renderActionsStart(),t("div",{key:"9b76d09efa231d1840c913245832a10bedd8ea4b","aria-controls":z,"aria-expanded":d(this.expanded),class:"header-content",id:j,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},t("div",{key:"59c73bc01a0321f23b296b12fa4bd9476084ce4b",class:"header-container"},c,t("div",{key:"c9d3551a823a31d4cc54934f780272e437f38ef1",class:"header-text"},t("span",{key:"350ea0660f827ced975b326287dc285ad1417b4c",class:"heading"},this.heading),o?t("span",{class:"description"},o):null),a),t("calcite-icon",{key:"497edd46ef65a4ac27a844f7c6c5de5cfb2cb0e7",class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),t("section",{key:"1b7cd480d664d6b3f65c145e19c5866107d19413","aria-labelledby":j,class:"content",id:z},t("slot",{key:"1156f3056966f11ee0836a5185cce700911c8c8b"}))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[e]=i.composedPath(),t=h(this.el,"calcite-accordion");e===t&&(this.determineActiveItem(t.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[e]=i.composedPath(),t=this.el;if(t.parentElement===e)return;const c=h(t,"calcite-accordion");e===c&&(t.iconPosition=c.iconPosition,t.iconType=c.iconType,t.scale=c.scale,i.stopPropagation())}async setFocus(){await b(this),this.headerEl.focus()}determineActiveItem(i,e){switch(i){case"multiple":this.el===e&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===e&&!this.expanded;break;case"single-persist":this.expanded=this.el===e}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return c(this)}};P.style=".icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation:calc(90deg * -1);--calcite-internal-accordion-item-active-icon-rotation:0deg;--calcite-internal-accordion-item-icon-rotation-rtl:90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));border-width:0}.icon-position--start{--calcite-internal-accordion-item-flex-direction:row-reverse;--calcite-internal-accordion-item-icon-spacing-start:0;--calcite-internal-accordion-item-icon-spacing-end:var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction:row;--calcite-internal-accordion-item-icon-spacing-start:var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation:0deg;--calcite-internal-accordion-item-active-icon-rotation:180deg;--calcite-internal-accordion-item-icon-rotation-rtl:0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2))}.header-content,.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, 0.5rem 0.75rem)))}.header{display:flex;align-items:stretch}.header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction)}.header-content:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}.header-content:focus .expand-icon,.header-content:focus .heading,.header-content:hover .expand-icon,.header-content:hover .heading,.header-content:active .expand-icon,.header-content:active .heading{color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start,.actions-end{display:flex;align-items:center}.icon{display:flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:0.25rem}.content{display:none;padding-block-start:0px;text-align:initial}:host(:not(:focus):not(:hover):not([expanded])) .heading{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]){color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_accordion,P as calcite_accordion_item}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as e,c as t,h as i,g as s}from"./p-6eb37ed2.js";import{c as a,u as c,d as n,I as o}from"./p-1ce2608d.js";import{c as r}from"./p-1c249530.js";import{
|
6
|
+
import{r as e,c as t,h as i,g as s}from"./p-6eb37ed2.js";import{c as a,u as c,d as n,I as o}from"./p-1ce2608d.js";import{c as r}from"./p-1c249530.js";import{b as l}from"./p-66cee72b.js";import"./p-4b9b7778.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,f as e,h as a,g as n}from"./p-6eb37ed2.js";import{s as o,r,f as i}from"./p-
|
6
|
+
import{r as t,f as e,h as a,g as n}from"./p-6eb37ed2.js";import{s as o,r,f as i}from"./p-365169c2.js";import{c,d as l,u as s,I as d}from"./p-1ce2608d.js";import{c as p,d as h,g as u}from"./p-2caf1f94.js";import{s as b,a as v,c as g}from"./p-3e828614.js";import{c as k,d as f}from"./p-8d453a3a.js";import{c as m}from"./p-1c249530.js";import{g as x}from"./p-27d462c0.js";import{c as w,d as y,s as z,u as j}from"./p-a5fc6ab7.js";import{t as C}from"./p-66cee72b.js";import{i as L}from"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
@@ -3,15 +3,15 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as e,c as t,h as i,H as
|
6
|
+
import{r as e,c as t,h as i,H as n,g as o}from"./p-6eb37ed2.js";import{d as s,y as c,g as a,s as r,h as l,t as d,B as h}from"./p-66cee72b.js";import{c as m,d as f}from"./p-f8d23498.js";import{c as b,d as p,u,I as k}from"./p-1ce2608d.js";import{C as v}from"./p-8bfa18b7.js";import{g}from"./p-27d462c0.js";import"./p-aaa56cbf.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
10
|
* v2.12.2
|
11
|
-
*/function x(e){return"CALCITE-TREE-ITEM"===e?.tagName}const
|
11
|
+
*/function x(e){return"CALCITE-TREE-ITEM"===e?.tagName}const y=class{constructor(i){e(this,i),this.calciteTreeSelect=t(this,"calciteTreeSelect",6),this.keyDownHandler=e=>{if(this.child)return;const t=this.el,i=e.target;if(!x(i)||!this.el.contains(i)||!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"].includes(e.key))return;const n=function(e){return Array.from(e.querySelectorAll("calcite-tree-item:not([disabled])")).filter((t=>{let i=t;for(;i!==e&&void 0!==i;){const e=i.parentElement;if(x(e)&&e.hasChildren&&!e.expanded)return!1;i=i.parentElement}return!0}))}(t);if("Tab"!==e.key){if("ArrowDown"===e.key){const t=n.indexOf(i),o=n[t+1];return o?.focus(),void e.preventDefault()}if("ArrowUp"===e.key){const t=n.indexOf(i),o=n[t-1];return o?.focus(),void e.preventDefault()}if("ArrowLeft"===e.key){if(i.hasChildren&&i.expanded)return i.expanded=!1,void e.preventDefault();const t=n.slice(0,n.indexOf(i)).reverse().find((e=>e.depth===i.depth-1));return t?.focus(),void e.preventDefault()}if("ArrowRight"!==e.key)if("Home"!==e.key)if("End"!==e.key);else{const t=n.pop();t&&(t.focus(),e.preventDefault())}else{const t=n.shift();t&&(t.focus(),e.preventDefault())}else if(!i.disabled&&i.hasChildren)if(i.expanded){const t=n.indexOf(i),o=n[t+1];o?.focus(),e.preventDefault()}else i.expanded=!0,e.preventDefault()}else n.forEach((e=>e.tabIndex=-1))},this.lines=!1,this.child=void 0,this.scale="m",this.selectionMode="single",this.selectedItems=[]}componentWillRender(){const e=this.el.parentElement?.closest("calcite-tree");this.lines=e?e.lines:this.lines,this.scale=e?e.scale:this.scale,this.selectionMode=e?e.selectionMode:this.selectionMode,this.child=!!e}render(){return i(n,{key:"bf35df5ec62af45c25800f0a911e0004ac9a0e8f","aria-multiselectable":this.child?void 0:("multiple"===this.selectionMode||"multichildren"===this.selectionMode).toString(),onKeyDown:this.keyDownHandler,role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",{key:"cff28234e6e4cc20dbeaf714667de2c2facabaf0"}))}onFocus(){if(!this.child){const e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");s(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())}onInternalTreeItemSelect(e){if(this.child)return;const t=e.target,i=c(t.querySelectorAll("calcite-tree-item"));if(e.preventDefault(),e.stopPropagation(),"ancestors"===this.selectionMode)return void this.updateAncestorTree(e);const n="none"===this.selectionMode,o=null!==this.selectionMode&&(!t.hasChildren||t.hasChildren&&("children"===this.selectionMode||"multichildren"===this.selectionMode)),s="multichildren"===this.selectionMode&&t.hasChildren,a=!n&&e.detail.modifyCurrentSelection&&("multiple"===this.selectionMode||"multichildren"===this.selectionMode),r=!a&&(("single"===this.selectionMode||"multiple"===this.selectionMode)&&i.length<=0||"children"===this.selectionMode||"multichildren"===this.selectionMode||"single-persist"===this.selectionMode&&!t.hasChildren),l=["multiple","none","single","single-persist"].includes(this.selectionMode)&&t.hasChildren,d=[];o&&d.push(t),r&&c(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((e=>{d.includes(e)||(e.selected=!1)})),l&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(t.expanded=!t.expanded),s&&i.forEach((e=>{e.selected=!1,e.hasChildren&&(e.expanded=!1)})),a&&window.getSelection().removeAllRanges(),a&&t.selected?d.forEach((e=>{e.disabled||(e.selected=!1)})):n||d.forEach((e=>{e.disabled||(e.selected="single"!==this.selectionMode||!e.selected)})),this.selectedItems=n?[]:c(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit(),e.stopPropagation()}updateAncestorTree(e){const t=e.target,i=e.detail.updateItem;if(t.disabled||t.indeterminate&&!i)return;const n=[];let o=t.parentElement.closest("calcite-tree-item");for(;o;)n.push(o),o=o.parentElement.closest("calcite-tree-item");const s=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),a=s.filter((e=>!e.hasChildren)),r=s.filter((e=>e.hasChildren));let l;function d(e,t){const i=e.filter((e=>e.selected)),n=e.filter((e=>!e.selected));t.selected=i.length===e.length,t.indeterminate=i.length>0&&n.length>0}l=i?t.hasChildren?!(t.selected||t.indeterminate):!t.selected:t.selected,a.forEach((e=>{e.selected=l,e.indeterminate=!1})),r.reverse().forEach((e=>{d(Array.from(e.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),e)})),i&&(t.hasChildren?d(s,t):(t.selected=l,t.indeterminate=!1)),n.forEach((e=>{const t=c(e.querySelectorAll("calcite-tree-item")),i=t.filter((e=>e.selected));if(0===i.length)return e.selected=!1,void(e.indeterminate=!1);const n=i.length<t.length;e.indeterminate=n,e.selected=!n})),this.selectedItems=c(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),i&&this.calciteTreeSelect.emit()}getRootTabIndex(){return this.child?-1:0}get el(){return o(this)}};y.style=":host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";
|
12
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
15
|
* v2.12.2
|
16
16
|
*/
|
17
|
-
const z="bullet-point",A="checkmark",j="chevron",I="children-container",S="item--expanded",C="node-container",T="children",E="bullet-point",D="check",R=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.userChangedValue=!1,this.updateParentIsExpanded=(e,t)=>{r(e,T,{all:!0,selector:"calcite-tree-item"}).forEach((e=>e.parentExpanded=t))},this.actionsEndSlotChangeHandler=e=>{this.hasEndActions=l(e)},this.disabled=!1,this.label=void 0,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.hasEndActions=!1,this.updateAfterInitialRender=!1}expandedHandler(e){this.updateParentIsExpanded(this.el,e)}handleSelectedChange(e){"ancestors"!==this.selectionMode||this.userChangedValue||(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){if(this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:e}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,e)}m(this),u(this)}disconnectedCallback(){b(this),g(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e,t=this.el.closest("calcite-tree");if(t)for(this.selectionMode=t.selectionMode,this.scale=t.scale||"m",this.lines=t.lines;t&&(e=t.parentElement?.closest("calcite-tree"),e!==t);)t=e,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){f(this)}render(){const e="rtl"===d(this.el),t="single"===this.selectionMode||"children"===this.selectionMode||"single-persist"===this.selectionMode,n="multiple"===this.selectionMode||"multichildren"===this.selectionMode,s="none"===this.selectionMode&&!this.hasChildren,a=this.hasChildren&&this.indeterminate,c=this.hasChildren?i("calcite-icon",{class:{[j]:!0,[v.rtl]:e},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:y(this.scale)}):null,r=i("slot",{key:"default-slot"}),l="ancestors"===this.selectionMode?i("div",{class:"checkbox-container"},i("calcite-icon",{class:"checkbox",icon:this.selected?"check-square-f":a?"minus-square-f":"square",scale:y(this.scale)}),i("label",{class:"checkbox-label"},r)):null,p=t?E:n?D:s?"blank":null,m=p?i("calcite-icon",{class:{[z]:p===E,[A]:p===D,[v.rtl]:e},icon:p,scale:y(this.scale)}):null,b=!(this.parentExpanded||1===this.depth),u=this.updateAfterInitialRender&&this.expanded,{hasEndActions:g}=this,f=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),x=i("calcite-icon",{key:"72784b82d479a4aa782b95bd198ded6f5e6e78a9",class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:y(this.scale)});return i(o,{key:"6671da841c7970480cc35c492ddcf0e486dc029f","aria-checked":"multiple"===this.selectionMode||"multichildren"===this.selectionMode||"ancestors"===this.selectionMode?h(this.selected):void 0,"aria-expanded":this.hasChildren?h(u):void 0,"aria-hidden":h(b),"aria-live":"polite","aria-selected":"single"===this.selectionMode||"children"===this.selectionMode||"single-persist"===this.selectionMode?h(this.selected):void 0,"calcite-hydrated-hidden":b,role:"treeitem",tabIndex:this.disabled?-1:0},i(k,{key:"152e8d19db10b36fe8727be17f082d773fb4cf09",disabled:this.disabled},i("div",{key:"8c8733c4b1baac1848ec46a3b8820d1dabf5ac43",class:{[S]:u}},i("div",{key:"6e3b101ca30ebe415a9733b6972c7dfae39df37f",class:"node-actions-container"},i("div",{key:"285fbcc2d1539313c63aeff3f1d8c511c0a5b865",class:{[C]:!0,[v.rtl]:e},"data-selection-mode":this.selectionMode,ref:e=>this.defaultSlotWrapper=e},c,m,this.iconStart?x:null,l||r),i("div",{key:"47ce5bcccc12bb85815706fdea4cf2c230fb9a44",class:"actions-end",hidden:!g,ref:e=>this.actionSlotWrapper=e},f)),i("div",{key:"3b307110b4ed213c3be5dcd923a05deafba1db5c",class:{[I]:!0,[v.rtl]:e},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{key:"df26d502672e8ec2b946adcfe11e4115ae514887",name:T})))))}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;const[t]=p(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,updateItem:!0}),this.userChangedValue=!0}keyDownHandler(e){if(!this.isActionEndEvent(e)&&!e.defaultPrevented)switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{const t=Array.from(this.el.children).find((e=>e.matches("a")));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}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(t?.children),o=i.filter((e=>e.selected));i.length===o.length?(e.selected=!0,e.indeterminate=!1):o.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach((e=>{e.selected=!0,e.indeterminate=!1}))}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],selected:["handleSelectedChange"],selectionMode:["getSelectionMode"]}}};R.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-color-text-3)}.node-actions-container{display:flex}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}: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 .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=s]) .node-actions-container .node-container .chevron{padding:0.25rem}: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 .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=m]) .node-actions-container .node-container .chevron{padding:0.5rem}: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 .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([scale=l]) .node-actions-container .node-container .chevron{padding-inline:var(--calcite-size-md);padding-block:var(--calcite-size-sm-plus)}:host([lines]) .children-container::after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-color-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%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-color-border-input)}.checkbox-label{pointer-events:none;display:flex;align-items:center}.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;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-color-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-color-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-color-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}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform 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-color-brand)}:host([selected]) .checkbox{color:var(--calcite-color-brand)}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-color-brand)}:host([hidden]){display:none}[hidden]{display:none}';const L=class{constructor(t){e(this,t),this.isPortal=!1,this.type="",this.typeKeywords=[]}get el(){return n(this)}render(){return i("div",{key:"b09dad770feb6278f79ffb9351e8907bfc9ab71c",title:this.type},i("img",{key:"58f68fa8835383382fa7d9bcf86f597e2557868b",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,c=!1,r=!1,l=!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?(c=t.indexOf("Table")>-1,n=t.indexOf("Route Layer")>-1,a=t.indexOf("Markup")>-1,r=-1!==t.indexOf("Spatiotemporal"),d=r&&c?"spatiotemporaltable":c?"table":n?"routelayer":a?"markup":r?"spatiotemporal":o?"featureshosted":"features"):"map service"===i||"wms"===i||"wmts"===i?(r=-1!==t.indexOf("Spatiotemporal"),l=-1!==t.indexOf("Relational"),d=r||l?"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?s("./item-icons/"+d+"16.png"):null}static get assetsDirs(){return["item-icons"]}};L.style=".item-type-icon{pointer-events:none;display:block;height:1rem;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,R as calcite_tree_item,L as solution_item_icon}
|
17
|
+
const z="bullet-point",w="checkmark",A="chevron",I="children-container",C="item--expanded",S="node-container",E="children",T="bullet-point",j="check",R=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.userChangedValue=!1,this.updateParentIsExpanded=(e,t)=>{a(e,E,{all:!0,selector:"calcite-tree-item"}).forEach((e=>e.parentExpanded=t))},this.actionsEndSlotChangeHandler=e=>{this.hasEndActions=r(e)},this.disabled=!1,this.label=void 0,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.hasEndActions=!1,this.updateAfterInitialRender=!1}expandedHandler(e){this.updateParentIsExpanded(this.el,e)}handleSelectedChange(e){"ancestors"!==this.selectionMode||this.userChangedValue||(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){if(this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:e}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,e)}m(this),b(this)}disconnectedCallback(){f(this),p(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e,t=this.el.closest("calcite-tree");if(t)for(this.selectionMode=t.selectionMode,this.scale=t.scale||"m",this.lines=t.lines;t&&(e=t.parentElement?.closest("calcite-tree"),e!==t);)t=e,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){u(this)}render(){const e="rtl"===l(this.el),t="single"===this.selectionMode||"children"===this.selectionMode||"single-persist"===this.selectionMode,o="multiple"===this.selectionMode||"multichildren"===this.selectionMode,s="none"===this.selectionMode&&!this.hasChildren,c=this.hasChildren&&this.indeterminate,a=this.hasChildren?i("calcite-icon",{class:{[A]:!0,[v.rtl]:e},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:g(this.scale)}):null,r=i("slot",{key:"default-slot"}),h="ancestors"===this.selectionMode?i("div",{class:"checkbox-container"},i("calcite-icon",{class:"checkbox",icon:this.selected?"check-square-f":c?"minus-square-f":"square",scale:g(this.scale)}),i("label",{class:"checkbox-label"},r)):null,m=t?T:o?j:s?"blank":null,f=m?i("calcite-icon",{class:{[z]:m===T,[w]:m===j,[v.rtl]:e},icon:m,scale:g(this.scale)}):null,b=!(this.parentExpanded||1===this.depth),p=this.updateAfterInitialRender&&this.expanded,{hasEndActions:u}=this,x=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),y=i("calcite-icon",{key:"72784b82d479a4aa782b95bd198ded6f5e6e78a9",class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:g(this.scale)});return i(n,{key:"6671da841c7970480cc35c492ddcf0e486dc029f","aria-checked":"multiple"===this.selectionMode||"multichildren"===this.selectionMode||"ancestors"===this.selectionMode?d(this.selected):void 0,"aria-expanded":this.hasChildren?d(p):void 0,"aria-hidden":d(b),"aria-live":"polite","aria-selected":"single"===this.selectionMode||"children"===this.selectionMode||"single-persist"===this.selectionMode?d(this.selected):void 0,"calcite-hydrated-hidden":b,role:"treeitem",tabIndex:this.disabled?-1:0},i(k,{key:"152e8d19db10b36fe8727be17f082d773fb4cf09",disabled:this.disabled},i("div",{key:"8c8733c4b1baac1848ec46a3b8820d1dabf5ac43",class:{[C]:p}},i("div",{key:"6e3b101ca30ebe415a9733b6972c7dfae39df37f",class:"node-actions-container"},i("div",{key:"285fbcc2d1539313c63aeff3f1d8c511c0a5b865",class:{[S]:!0,[v.rtl]:e},"data-selection-mode":this.selectionMode,ref:e=>this.defaultSlotWrapper=e},a,f,this.iconStart?y:null,h||r),i("div",{key:"47ce5bcccc12bb85815706fdea4cf2c230fb9a44",class:"actions-end",hidden:!u,ref:e=>this.actionSlotWrapper=e},x)),i("div",{key:"3b307110b4ed213c3be5dcd923a05deafba1db5c",class:{[I]:!0,[v.rtl]:e},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{key:"df26d502672e8ec2b946adcfe11e4115ae514887",name:E})))))}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;const[t]=h(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,updateItem:!0}),this.userChangedValue=!0}keyDownHandler(e){if(!this.isActionEndEvent(e)&&!e.defaultPrevented)switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{const t=Array.from(this.el.children).find((e=>e.matches("a")));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}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(t?.children),n=i.filter((e=>e.selected));i.length===n.length?(e.selected=!0,e.indeterminate=!1):n.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach((e=>{e.selected=!0,e.indeterminate=!1}))}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return o(this)}static get watchers(){return{expanded:["expandedHandler"],selected:["handleSelectedChange"],selectionMode:["getSelectionMode"]}}};R.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-color-text-3)}.node-actions-container{display:flex}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}: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 .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=s]) .node-actions-container .node-container .chevron{padding:0.25rem}: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 .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=m]) .node-actions-container .node-container .chevron{padding:0.5rem}: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 .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([scale=l]) .node-actions-container .node-container .chevron{padding-inline:var(--calcite-size-md);padding-block:var(--calcite-size-sm-plus)}:host([lines]) .children-container::after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-color-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%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-color-border-input)}.checkbox-label{pointer-events:none;display:flex;align-items:center}.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;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-color-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-color-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-color-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}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform 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-color-brand)}:host([selected]) .checkbox{color:var(--calcite-color-brand)}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-color-brand)}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_tree,R as calcite_tree_item}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as e,h as o,H as i,g as c}from"./p-6eb37ed2.js";import{f as s,t as a}from"./p-
|
6
|
+
import{r as t,c as e,h as o,H as i,g as c}from"./p-6eb37ed2.js";import{f as s,t as a}from"./p-66cee72b.js";import{i as n}from"./p-64a34d92.js";import{c as r,d as l}from"./p-8d453a3a.js";import{u as d,c as h,s as g,d as p}from"./p-a5fc6ab7.js";import{c as v,s as b,a as f}from"./p-3e828614.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
10
|
* v2.12.2
|
11
|
-
*/const u="content",m="toggle",x="invalid",w="section-header",k="status-icon",y="toggle",_="toggle--switch",j="toggle-container",C="valid",z={menuOpen:"chevron-up",menuClosed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},L=class{constructor(o){t(this,o),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=t=>{n(t.key)&&(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await v(this),s(this.el)}effectiveLocaleChange(){
|
11
|
+
*/const u="content",m="toggle",x="invalid",w="section-header",k="status-icon",y="toggle",_="toggle--switch",j="toggle-container",C="valid",z={menuOpen:"chevron-up",menuClosed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},L=class{constructor(o){t(this,o),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=t=>{n(t.key)&&(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await v(this),s(this.el)}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){r(this),h(this)}async componentWillLoad(){await g(this),b(this)}componentDidLoad(){f(this)}disconnectedCallback(){l(this),p(this)}renderStatusIcon(){const{status:t}=this,e=z[t]??!1;return e?o("calcite-icon",{class:{[k]:!0,[C]:"valid"==t,[x]:"invalid"==t},icon:e,scale:"s"}):null}renderIcon(t){const{iconFlipRtl:e}=this;if(void 0===t)return null;const i=t===this.iconStart;return o("calcite-icon",{class:i?"icon--start":"icon--end",flipRtl:i?"both"===e||"start"===e:"both"===e||"end"===e,icon:i?this.iconStart:this.iconEnd,key:i?this.iconStart:this.iconEnd,scale:"s"})}render(){const{messages:t,open:e,text:c,toggleDisplay:s}=this,n=e?z.menuOpen:z.menuClosed,r=e?t.collapse:t.expand,l="switch"===s?o("div",{class:{[j]:!0}},o("div",{"aria-controls":u,"aria-expanded":a(e),class:{[y]:!0,[_]:!0},id:m,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:r},this.renderIcon(this.iconStart),o("div",{class:"toggle--switch__content"},o("span",{class:"toggle--switch__text"},c)),this.renderIcon(this.iconEnd),this.renderStatusIcon(),o("calcite-switch",{checked:e,class:"switch",inert:!0,label:r,scale:"s"}))):o("div",{class:{[j]:!0}},o("button",{"aria-controls":u,"aria-expanded":a(e),class:{[w]:!0,[y]:!0},id:m,onClick:this.toggleSection},this.renderIcon(this.iconStart),o("span",{class:"section-header__text"},c),this.renderIcon(this.iconEnd),this.renderStatusIcon(),o("calcite-icon",{class:"chevron-icon",icon:n,scale:"s"})));return o(i,{key:"224c2187de037da1611a3228195e95ba43bde093"},l,o("section",{key:"8b8849645851e21e26c63cef44428f30d2429a0b","aria-labelledby":m,class:"content",hidden:!e,id:u},o("slot",{key:"3f6d783aaa6d886bb4533a4dec96aafc8ba058ef"})))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}:host([open]) .toggle{color:var(--calcite-color-text-1)}:host([open]) .toggle:hover{color:var(--calcite-color-text-1)}:host([open]) .chevron-icon{color:var(--calcite-color-text-3)}:host([open]) .chevron-icon:hover{color:var(--calcite-color-text-1)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-font-family);gap:var(--calcite-spacing-md);color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.toggle:hover{color:var(--calcite-color-text-1)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-color-text-1)}.section-header__text{margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle-container{position:relative;display:flex;align-items:center;background-color:transparent;word-break:break-word}.toggle-container .toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.toggle-container .icon--end,.toggle-container .icon--start,.toggle-container .chevron-icon{display:flex;align-items:center;color:var(--calcite-color-text-3)}.toggle-container .icon--end:hover,.toggle-container .icon--start:hover,.toggle-container .chevron-icon:hover{color:var(--calcite-color-text-1)}.status-icon{display:flex;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_block_section}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as r}from"./p-
|
6
|
+
import{d as r}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var e={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(r){return r+"."},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.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};r.locale(e,null,!0);export{e as default}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{a as e,r as a,h as i,H as t,g as r}from"./p-6eb37ed2.js";import{
|
6
|
+
import{a as e,r as a,h as i,H as t,g as r}from"./p-6eb37ed2.js";import{h as n,t as o}from"./p-66cee72b.js";import{c as l}from"./p-1c249530.js";import{i as s}from"./p-4b9b7778.js";import{g as c}from"./p-aaa56cbf.js";import{c as d,d as m}from"./p-8d453a3a.js";import"./p-8bfa18b7.js";import"./p-64a34d92.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|