@esri/solutions-components 0.10.23 → 0.10.24
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-alert_5.cjs.entry.js +2 -2
- 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/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/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 +1 -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/downloadUtils.js +234 -159
- package/dist/components/index.es.js +35 -46
- 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/esm/{ExpandToggle-b5147279.js → ExpandToggle-9289b7ca.js} +1 -1
- package/dist/esm/{ar-e0e64e78.js → ar-8dded5d5.js} +8 -8
- package/dist/esm/{bg-d2d8dbe0.js → bg-c1cdf619.js} +8 -8
- package/dist/esm/{bs-d883901d.js → bs-a40506a4.js} +8 -8
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{ca-064729ad.js → ca-67879a0c.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 +4 -4
- 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 +9 -9
- 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.entry.js +3 -3
- 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-37845feb.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-b01aecfc.js} +8 -8
- package/dist/esm/{da-227f8ad5.js → da-87ac64be.js} +8 -8
- package/dist/esm/{date-87a67cb4.js → date-7a1345c1.js} +1 -1
- package/dist/esm/{de-a5d2b25b.js → de-0eb6c065.js} +8 -8
- package/dist/esm/{de-at-66232b80.js → de-at-2db1a5d5.js} +8 -8
- package/dist/esm/{de-ch-1264ed4c.js → de-ch-063c0a6b.js} +8 -8
- package/dist/esm/{dom-63d2d41c.js → dom-451ed293.js} +1 -1
- package/dist/esm/{downloadUtils-d1f791c5.js → downloadUtils-4a34c86a.js} +235 -160
- package/dist/esm/{el-f5bf7ca3.js → el-eb29e645.js} +8 -8
- package/dist/esm/{en-au-2ac8f62e.js → en-au-00f884ad.js} +8 -8
- package/dist/esm/{en-ca-a1602b49.js → en-ca-1e7456d7.js} +8 -8
- package/dist/esm/{en-gb-28354b2e.js → en-gb-60a33692.js} +8 -8
- package/dist/esm/{es-feb7aad2.js → es-74f8b164.js} +8 -8
- package/dist/esm/{es-mx-5d64f899.js → es-mx-2bfa704a.js} +8 -8
- package/dist/esm/{et-173d2f49.js → et-b1a2d978.js} +8 -8
- package/dist/esm/feature-list.entry.js +2 -2
- package/dist/esm/{fi-ff9bb719.js → fi-70441d5b.js} +8 -8
- package/dist/esm/{floating-ui-c7ae81d9.js → floating-ui-4b1f5138.js} +1 -1
- package/dist/esm/{focusTrapComponent-833b1234.js → focusTrapComponent-b9709e71.js} +1 -1
- package/dist/esm/{form-08e1bcb7.js → form-fa4c471b.js} +1 -1
- package/dist/esm/{fr-e3af6835.js → fr-cea05ec9.js} +8 -8
- package/dist/esm/{fr-ch-491f1abe.js → fr-ch-8faa2fcf.js} +8 -8
- package/dist/esm/{he-47aa8dde.js → he-058ece46.js} +8 -8
- package/dist/esm/{hi-1700df3e.js → hi-163a268e.js} +8 -8
- package/dist/esm/{hr-68b828f5.js → hr-2b69b2ad.js} +8 -8
- package/dist/esm/{hu-df6a8f29.js → hu-e46e0cb6.js} +8 -8
- package/dist/esm/{id-8091582d.js → id-ebccdbbb.js} +8 -8
- package/dist/esm/{index.es-decad494.js → index.es-5f44061b.js} +36 -47
- package/dist/esm/{it-1f5e149d.js → it-813be6d0.js} +8 -8
- package/dist/esm/{it-ch-bf7fcac6.js → it-ch-bc95119e.js} +8 -8
- package/dist/esm/{ja-a5117166.js → ja-3488d28c.js} +8 -8
- package/dist/esm/{ko-9d7a9e79.js → ko-54faa268.js} +8 -8
- package/dist/esm/{label-4c4e06d6.js → label-414f1003.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-4441c976.js → locale-337dc231.js} +1 -1
- package/dist/esm/{lt-2e1c53de.js → lt-8c773940.js} +8 -8
- package/dist/esm/{lv-ca1ba866.js → lv-4882a326.js} +8 -8
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/{mk-421d0d41.js → mk-d045a827.js} +8 -8
- package/dist/esm/{nb-5b103e32.js → nb-529fd6f8.js} +8 -8
- package/dist/esm/{nl-eac33461.js → nl-ebd398ac.js} +8 -8
- package/dist/esm/{openCloseComponent-c8c8645b.js → openCloseComponent-80c6ee4b.js} +1 -1
- package/dist/esm/{pl-03531ccb.js → pl-4cd334ed.js} +8 -8
- package/dist/esm/{popupUtils-4e0a103f.js → popupUtils-3ccb86bd.js} +1 -1
- package/dist/esm/{pt-b5d8bffc.js → pt-be0c86a5.js} +8 -8
- package/dist/esm/{pt-br-dee45728.js → pt-br-29226fc3.js} +8 -8
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/{ro-df6cb584.js → ro-6555f5dd.js} +8 -8
- package/dist/esm/{ru-e7c02faa.js → ru-67b5c59c.js} +8 -8
- package/dist/esm/{shared-list-render-cadae2eb.js → shared-list-render-c8da5fde.js} +1 -1
- package/dist/esm/{sk-cae387d2.js → sk-81f19081.js} +8 -8
- package/dist/esm/{sl-2892ad87.js → sl-4b892d99.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-6cb6f797.js} +8 -8
- package/dist/esm/{sv-fd5c6ca5.js → sv-aacab364.js} +8 -8
- package/dist/esm/{t9n-b7ea1a61.js → t9n-7d4462c0.js} +1 -1
- package/dist/esm/{th-170cf6b1.js → th-6b423678.js} +8 -8
- package/dist/esm/{time-a7f1020b.js → time-b0bba3f9.js} +1 -1
- package/dist/esm/{tr-1d6ca382.js → tr-0e2b854e.js} +8 -8
- package/dist/esm/{uk-35eec84e.js → uk-af0a30cc.js} +8 -8
- package/dist/esm/{utils-62514064.js → utils-37bc2853.js} +1 -1
- package/dist/esm/{vi-2713ee26.js → vi-62071c6f.js} +8 -8
- package/dist/esm/{zh-cn-ed066014.js → zh-cn-8f53db2f.js} +8 -8
- package/dist/esm/{zh-hk-a118dced.js → zh-hk-a8c68b9c.js} +8 -8
- package/dist/esm/{zh-tw-c9bbf220.js → zh-tw-3006115d.js} +8 -8
- 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-02ea30d1.entry.js → p-00cfce5b.entry.js} +1 -1
- package/dist/solutions-components/{p-ac11cf8f.entry.js → p-01510268.entry.js} +1 -1
- package/dist/solutions-components/{p-cd5a9034.entry.js → p-030e5077.entry.js} +1 -1
- package/dist/solutions-components/{p-de3ee7a6.entry.js → p-075a3c9d.entry.js} +1 -1
- package/dist/solutions-components/{p-267ef1b8.entry.js → p-0bd7752a.entry.js} +1 -1
- package/dist/solutions-components/{p-8c6a301f.entry.js → p-109cabd8.entry.js} +2 -2
- package/dist/solutions-components/{p-87f928a5.entry.js → p-116927af.entry.js} +3 -3
- package/dist/solutions-components/{p-8da5aeea.entry.js → p-118e1989.entry.js} +1 -1
- package/dist/solutions-components/p-16261018.js +11 -0
- package/dist/solutions-components/{p-c5facecd.entry.js → p-16d721ef.entry.js} +1 -1
- package/dist/solutions-components/{p-f7bc99fb.entry.js → p-1794a1aa.entry.js} +3 -3
- package/dist/solutions-components/{p-cf9e6515.entry.js → p-19697807.entry.js} +2 -2
- package/dist/solutions-components/{p-25b5ffea.js → p-1a7c4e9a.js} +1 -1
- package/dist/solutions-components/{p-5067d77e.entry.js → p-1c5f17cb.entry.js} +1 -1
- package/dist/solutions-components/p-1cfc581f.js +11 -0
- package/dist/solutions-components/{p-d784f756.entry.js → p-20393dcf.entry.js} +1 -1
- package/dist/solutions-components/{p-4e7aa926.js → p-203b4081.js} +1 -1
- package/dist/solutions-components/p-228c3bf3.entry.js +17 -0
- package/dist/solutions-components/{p-e4ef6f49.js → p-24192cfe.js} +1 -1
- package/dist/solutions-components/{p-d75ef009.entry.js → p-25ee25ea.entry.js} +2 -2
- package/dist/solutions-components/{p-7b2ef872.entry.js → p-2756e4ac.entry.js} +1 -1
- package/dist/solutions-components/{p-691cb5f4.js → p-290dee0b.js} +2 -2
- package/dist/solutions-components/{p-aa68a36e.entry.js → p-2ace1fe7.entry.js} +2 -2
- package/dist/solutions-components/{p-8bb2c169.js → p-2afb3a2b.js} +1 -1
- package/dist/solutions-components/{p-95c3b305.entry.js → p-2b212cd0.entry.js} +1 -1
- package/dist/solutions-components/p-2c00221b.js +6 -0
- package/dist/solutions-components/{p-3c1ecf85.entry.js → p-2fafe489.entry.js} +1 -1
- package/dist/solutions-components/{p-9560a1fd.entry.js → p-30b555dc.entry.js} +1 -1
- package/dist/solutions-components/{p-347d9ce0.js → p-328fbcb5.js} +1 -1
- package/dist/solutions-components/{p-aa341d46.entry.js → p-32cf5a71.entry.js} +1 -1
- package/dist/solutions-components/{p-712873f0.js → p-33fe9a28.js} +1 -1
- package/dist/solutions-components/{p-80f49acc.js → p-35f33a32.js} +1 -1
- package/dist/solutions-components/p-374d0fdc.entry.js +6 -0
- package/dist/solutions-components/{p-fb3e0eae.js → p-3955461a.js} +1 -1
- package/dist/solutions-components/p-39e9ae5c.entry.js +6 -0
- package/dist/solutions-components/{p-54a9017c.entry.js → p-3f6d5f14.entry.js} +1 -1
- package/dist/solutions-components/{p-1a06bf01.js → p-3fb350ea.js} +1 -1
- package/dist/solutions-components/{p-a79f4c52.entry.js → p-41744516.entry.js} +1 -1
- package/dist/solutions-components/{p-c40b0ec5.js → p-4182a628.js} +3 -3
- package/dist/solutions-components/{p-304cef31.js → p-42552409.js} +3 -3
- package/dist/solutions-components/{p-0e851a4b.js → p-4336e44a.js} +1 -1
- package/dist/solutions-components/{p-c25e8c35.js → p-441f1992.js} +1 -1
- package/dist/solutions-components/{p-fa68f43a.entry.js → p-451b483d.entry.js} +1 -1
- package/dist/solutions-components/{p-9bc84681.js → p-472be784.js} +1 -1
- package/dist/solutions-components/p-48c58b28.js +6 -0
- package/dist/solutions-components/{p-ca6055a3.js → p-4993c7b1.js} +1 -1
- package/dist/solutions-components/{p-b8ce880d.js → p-4a35785b.js} +1 -1
- package/dist/solutions-components/{p-de8121a4.js → p-4d97016e.js} +1 -1
- package/dist/solutions-components/{p-990d8b4b.js → p-4f4f00a9.js} +1 -1
- package/dist/solutions-components/{p-b3e8da19.entry.js → p-50203a2d.entry.js} +1 -1
- package/dist/solutions-components/{p-19b466d0.js → p-546a2802.js} +1 -1
- package/dist/solutions-components/{p-66b01781.js → p-54fa7a94.js} +2 -2
- package/dist/solutions-components/{p-04294b8e.js → p-57b673e2.js} +1 -1
- package/dist/solutions-components/{p-c163b67f.js → p-593a6f17.js} +1 -1
- package/dist/solutions-components/{p-5a3cab12.entry.js → p-5c0d42e9.entry.js} +1 -1
- package/dist/solutions-components/{p-9fa7a7ad.entry.js → p-5cef36d6.entry.js} +1 -1
- package/dist/solutions-components/{p-2aa44a02.entry.js → p-5d4efa42.entry.js} +2 -2
- package/dist/solutions-components/{p-7fce703f.entry.js → p-5d8a5e53.entry.js} +1 -1
- package/dist/solutions-components/{p-c7046172.entry.js → p-5fe92f6e.entry.js} +2 -2
- package/dist/solutions-components/{p-da80cfbc.entry.js → p-6384a9a5.entry.js} +1 -1
- package/dist/solutions-components/{p-b8f33145.js → p-6518727d.js} +1 -1
- package/dist/solutions-components/{p-52f19286.entry.js → p-67392838.entry.js} +1 -1
- package/dist/solutions-components/{p-54b7e680.js → p-6e0b76ce.js} +1 -1
- package/dist/solutions-components/{p-1017609e.js → p-6e3f1d71.js} +2 -2
- package/dist/solutions-components/{p-5f7c1e49.js → p-6f39a13f.js} +1 -1
- package/dist/solutions-components/{p-0b6e5486.js → p-71c0a413.js} +1 -1
- package/dist/solutions-components/{p-fedbf657.entry.js → p-728ec094.entry.js} +1 -1
- package/dist/solutions-components/{p-b8b78283.entry.js → p-72d0eda0.entry.js} +1 -1
- package/dist/solutions-components/p-743ad3a7.entry.js +6 -0
- package/dist/solutions-components/{p-732bb88c.entry.js → p-78c438c0.entry.js} +1 -1
- package/dist/solutions-components/{p-1ef6a1c2.entry.js → p-7b63f249.entry.js} +1 -1
- package/dist/solutions-components/{p-91b7a7dc.entry.js → p-7f090468.entry.js} +1 -1
- package/dist/solutions-components/{p-770a0e12.js → p-7f31be6a.js} +1 -1
- package/dist/solutions-components/{p-cb07016a.entry.js → p-8419b5a1.entry.js} +2 -2
- package/dist/solutions-components/{p-dfeb6a2e.entry.js → p-86ca6cfe.entry.js} +1 -1
- package/dist/solutions-components/{p-66afdfdd.entry.js → p-8846430d.entry.js} +3 -3
- package/dist/solutions-components/{p-508b2b7b.js → p-89ddc916.js} +1 -1
- package/dist/solutions-components/{p-9db30b19.entry.js → p-89f14b8a.entry.js} +1 -1
- package/dist/solutions-components/{p-23dd68de.entry.js → p-8ae73529.entry.js} +2 -2
- package/dist/solutions-components/{p-64bf4d2e.entry.js → p-8badcaf5.entry.js} +1 -1
- package/dist/solutions-components/{p-eb2859d6.js → p-8eacc640.js} +1 -1
- package/dist/solutions-components/{p-798b9928.entry.js → p-8f840208.entry.js} +1 -1
- package/dist/solutions-components/{p-c7eaade6.entry.js → p-9232245b.entry.js} +1 -1
- package/dist/solutions-components/{p-1490c752.js → p-926664d9.js} +1 -1
- package/dist/solutions-components/{p-919e9de7.entry.js → p-92de7cd3.entry.js} +1 -1
- package/dist/solutions-components/{p-9c5f4347.js → p-96919110.js} +1 -1
- package/dist/solutions-components/{p-222e0445.entry.js → p-981afe9e.entry.js} +1 -1
- package/dist/solutions-components/{p-550da58b.js → p-9901e971.js} +1 -1
- package/dist/solutions-components/{p-986ff43b.entry.js → p-9957c7b8.entry.js} +1 -1
- package/dist/solutions-components/{p-6b0fa1eb.entry.js → p-9c6f2672.entry.js} +1 -1
- package/dist/solutions-components/{p-bb0f549a.js → p-a0ef9cee.js} +1 -1
- package/dist/solutions-components/{p-d47abf9b.entry.js → p-a16449b2.entry.js} +1 -1
- package/dist/solutions-components/{p-08d1cc1f.js → p-a2d4c97e.js} +2 -2
- package/dist/solutions-components/{p-bae65813.entry.js → p-a68f4775.entry.js} +1 -1
- package/dist/solutions-components/{p-79f78acc.entry.js → p-a8d4a522.entry.js} +1 -1
- package/dist/solutions-components/{p-6c080ac7.entry.js → p-a9f65057.entry.js} +1 -1
- package/dist/solutions-components/{p-40175313.entry.js → p-ab8f4820.entry.js} +2 -2
- package/dist/solutions-components/{p-f6f2018a.js → p-abc30e04.js} +1 -1
- package/dist/solutions-components/{p-c0d25be5.entry.js → p-ac7868a6.entry.js} +1 -1
- package/dist/solutions-components/{p-9524e5e4.js → p-acf135cc.js} +1 -1
- package/dist/solutions-components/{p-b96233e3.entry.js → p-af3e49d8.entry.js} +1 -1
- package/dist/solutions-components/p-af8a7aff.entry.js +6 -0
- package/dist/solutions-components/{p-924ec704.js → p-b3b042df.js} +1 -1
- package/dist/solutions-components/{p-8fb06a85.entry.js → p-b6b4c707.entry.js} +1 -1
- package/dist/solutions-components/{p-4c179300.entry.js → p-b7a49673.entry.js} +1 -1
- package/dist/solutions-components/{p-40f5df15.entry.js → p-b955a19b.entry.js} +1 -1
- package/dist/solutions-components/{p-c4953b5e.entry.js → p-b9eefee6.entry.js} +2 -2
- package/dist/solutions-components/p-bb9492ed.js +6 -0
- package/dist/solutions-components/{p-8537518d.entry.js → p-bc86c87d.entry.js} +2 -2
- package/dist/solutions-components/{p-8614d1a0.entry.js → p-bd3c130b.entry.js} +1 -1
- package/dist/solutions-components/{p-e74bc7b3.js → p-bdc425fc.js} +1 -1
- package/dist/solutions-components/{p-92ba99ff.js → p-beba6703.js} +1 -1
- package/dist/solutions-components/{p-cd6eee11.js → p-c1242d4b.js} +1 -1
- package/dist/solutions-components/{p-a4e35c2d.entry.js → p-c26ac7d9.entry.js} +1 -1
- package/dist/solutions-components/{p-b76ed1c7.entry.js → p-c3782a7e.entry.js} +2 -2
- package/dist/solutions-components/{p-936037e4.js → p-c5520bba.js} +1 -1
- package/dist/solutions-components/{p-29a09798.js → p-c58ec2d0.js} +3 -3
- package/dist/solutions-components/{p-53b5a39e.js → p-c5d26e3a.js} +1 -1
- package/dist/solutions-components/{p-a37d1b17.entry.js → p-c8325ead.entry.js} +1 -1
- package/dist/solutions-components/{p-94ae78d6.js → p-cba777d2.js} +1 -1
- package/dist/solutions-components/{p-01dae909.js → p-d1371897.js} +1 -1
- package/dist/solutions-components/{p-d1cc620f.entry.js → p-d6c50190.entry.js} +1 -1
- package/dist/solutions-components/{p-fcd33b4f.js → p-d726e895.js} +1 -1
- package/dist/solutions-components/{p-270ead49.js → p-d8a54947.js} +1 -1
- package/dist/solutions-components/{p-a85fd786.entry.js → p-da6e25cb.entry.js} +1 -1
- package/dist/solutions-components/{p-ee9b7fab.js → p-db2c82ad.js} +1 -1
- package/dist/solutions-components/{p-e0ee0556.entry.js → p-dbcfdc6d.entry.js} +1 -1
- package/dist/solutions-components/{p-67c34d05.entry.js → p-ddc97e93.entry.js} +1 -1
- package/dist/solutions-components/{p-74fbad1c.js → p-dec62e5d.js} +30 -31
- package/dist/solutions-components/{p-245c35ce.js → p-e013e797.js} +1 -1
- package/dist/solutions-components/{p-0d6b3f44.js → p-e3bb02cc.js} +1 -1
- package/dist/solutions-components/{p-5440c8dd.js → p-e5ec69a4.js} +1 -1
- package/dist/solutions-components/p-e8aa44e2.entry.js +6 -0
- package/dist/solutions-components/{p-49bbe45e.js → p-ea119eee.js} +1 -1
- package/dist/solutions-components/{p-062f4457.js → p-ec59efb8.js} +1 -1
- package/dist/solutions-components/{p-bc6cf10f.entry.js → p-ef360459.entry.js} +1 -1
- package/dist/solutions-components/{p-0dc73313.js → p-f14d11f1.js} +1 -1
- package/dist/solutions-components/{p-6319ca20.js → p-f4d6771a.js} +1 -1
- package/dist/solutions-components/{p-5f705984.js → p-f4e30ab2.js} +1 -1
- package/dist/solutions-components/{p-7ae41cd8.js → p-f7680693.js} +1 -1
- package/dist/solutions-components/{p-9277a339.entry.js → p-faf7740b.entry.js} +1 -1
- package/dist/solutions-components/{p-707ee1d1.entry.js → p-fb95ec69.entry.js} +2 -2
- package/dist/solutions-components/{p-2264e8d5.entry.js → p-fbf86656.entry.js} +1 -1
- package/dist/solutions-components/{p-7c854814.js → p-fd730974.js} +2 -2
- package/dist/solutions-components/{p-4fe5e9c3.entry.js → p-ff96d7ee.entry.js} +3 -3
- 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 +2 -0
- package/dist/types/utils/interfaces.d.ts +10 -0
- package/package.json +6 -6
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -95
- 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-2d17790c.js +0 -6
- package/dist/solutions-components/p-2e06ec97.js +0 -6
- package/dist/solutions-components/p-33db098c.js +0 -6
- package/dist/solutions-components/p-3a47fde6.entry.js +0 -11
- package/dist/solutions-components/p-79f5a8be.js +0 -11
- package/dist/solutions-components/p-a5e64f6b.entry.js +0 -6
- 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{r as t,c as i,h as e,H as s,g as a,a as n}from"./p-6eb37ed2.js";import{c as o,d as l}from"./p-f8d23498.js";import{s as r,f as c,g as h,t as d}from"./p-
|
6
|
+
import{r as t,c as i,h as e,H as s,g as a,a as n}from"./p-6eb37ed2.js";import{c as o,d as l}from"./p-f8d23498.js";import{s as r,f as c,g as h,t as d}from"./p-441f1992.js";import{c as p,d as u,u as v,I as m}from"./p-1ce2608d.js";import{c as f,d as g,g as b,n as x,a as y,f as w,b as _}from"./p-42552409.js";import{u as k,c as $,d as C,s as D}from"./p-6e3f1d71.js";import{H as z}from"./p-1b229454.js";import{c as E,s as I,a as L}from"./p-3e828614.js";import{o as F}from"./p-16261018.js";import{d as P,g as S,a as R,b as A,s as j,c as O,e as M,f as T,i as B}from"./p-1cfc581f.js";import{i as N}from"./p-4b9b7778.js";import{f as H,c as W,d as U,r as V,a as q,F as K}from"./p-2afb3a2b.js";import{s as Z,c as G,d as Q,H as Y}from"./p-54fa7a94.js";import{n as J}from"./p-64a34d92.js";import{c as X,d as tt}from"./p-fd730974.js";import{c as it,d as et,a as st}from"./p-4182a628.js";import{g as at}from"./p-aaa56cbf.js";import{g as nt}from"./p-27d462c0.js";import{V as ot}from"./p-ef67c743.js";import{s as lt}from"./p-14f027b5.js";import{l as rt}from"./p-4cd4cb85.js";import{g as ct}from"./p-3d0e9be4.js";import{g as ht}from"./p-a9a72626.js";import"./p-1c249530.js";import"./p-8bfa18b7.js";import"./p-c8d3207e.js";import"./p-0ef9d36b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.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.
|
@@ -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-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.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{r as
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-6eb37ed2.js";import{c as a,d as o}from"./p-f8d23498.js";import{g as c,t as n}from"./p-441f1992.js";import{c as r,d as l,u as d,I as h}from"./p-1ce2608d.js";import{s as p,a as m,c as f}from"./p-3e828614.js";import{c as b,d as g}from"./p-42552409.js";import{u,c as v,s as x,d as w}from"./p-6e3f1d71.js";import{I as y}from"./p-5de67b86.js";import{l as k}from"./p-b5b66530.js";import{I as j,C,S as I}from"./p-a471ceb6.js";import"./p-1c249530.js";import"./p-4b9b7778.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-64a34d92.js";import"./p-0ef9d36b.js";k.deprecated("component",{name:"pick-list-item",removalVersion:3,suggested:"list-item"});const W=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){r(this),b(this),v(this),a(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){l(this),g(this),w(this),o(this)}componentDidRender(){d(this)}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await f(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[C.icon]:!0,[C.iconDot]:t===y.circle},onClick:this.pickListClickHandler},t===y.square?i("calcite-icon",{flipRtl:e,icon:j.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:C.remove,icon:j.remove,onClick:this.removeClickHandler,slot:I.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return c(t,I.actionsStart)?i("div",{class:{[C.actions]:!0,[C.actionsStart]:!0}},i("slot",{name:I.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return c(t,I.actionsEnd)||e?i("div",{class:{[C.actions]:!0,[C.actionsEnd]:!0}},i("slot",{name:I.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(h,{key:"11397cbf6035e4f15e4d180bbd97296af3e1cd29",disabled:this.disabled},this.renderIcon(),this.renderActionsStart(),i("label",{key:"0c61b5554c54e84fe097c7a52e64206032443d74","aria-label":e,class:C.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},i("div",{key:"8846e2bc50f2e12a57d7cfe885b3798c0d79c03c","aria-checked":n(this.selected),class:C.textContainer,role:"menuitemcheckbox"},i("span",{key:"79112c39b73b2453cec22e234cea66e4f8bb832d",class:C.title},e),t?i("span",{class:C.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-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 )}.label:hover{background-color:var(--calcite-color-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-color-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-color-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-color-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot::before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot::before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_pick_list_item}
|
@@ -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,g as e}from"./p-6eb37ed2.js";import{c as a,d as s}from"./p-f8d23498.js";import{c as i,s as c,a as n}from"./p-3e828614.js";import{c as r,d as l}from"./p-
|
6
|
+
import{r as t,h as o,g as e}from"./p-6eb37ed2.js";import{c as a,d as s}from"./p-f8d23498.js";import{c as i,s as c,a as n}from"./p-3e828614.js";import{c as r,d as l}from"./p-42552409.js";import{u as d,c as p,d as h,s as u}from"./p-6e3f1d71.js";import{S as g}from"./p-fa56b7c2.js";import{s as m}from"./p-441f1992.js";import{S as f,I as b,C as v}from"./p-150394be.js";import"./p-1c249530.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";const x=class{constructor(o){t(this,o),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=m(t)},this.expanded=!1,this.label=void 0,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}async setFocus(){await i(this),this.el.focus()}connectedCallback(){r(this),p(this),a(this)}disconnectedCallback(){l(this),h(this),s(this)}async componentWillLoad(){c(this),await u(this)}componentDidLoad(){n(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:a,layout:s,messages:i,overlayPositioning:c,hasMenuActions:n}=this;return o("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!n,label:i.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:c,placement:"horizontal"===s?"bottom-start":"leading-start",scale:a},o("calcite-action",{icon:b.menu,scale:a,slot:g.trigger,text:i.more,textEnabled:t}),o("slot",{name:f.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),o("slot",{name:f.menuTooltip,slot:g.tooltip}))}render(){return o("div",{key:"53e37d8cb8d51e6809c35b035483218ce2f43bff","aria-label":this.label,class:v.container,role:"group"},o("slot",{key:"967676dd0b0fec78f278da527f4695decf7fe47a"}),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};x.style=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-internal-action-group-columns:1}:host([columns="2"]){--calcite-internal-action-group-columns:2}:host([columns="3"]){--calcite-internal-action-group-columns:3}:host([columns="4"]){--calcite-internal-action-group-columns:4}:host([columns="5"]){--calcite-internal-action-group-columns:5}:host([columns="6"]){--calcite-internal-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)), auto);gap:var(--calcite-action-group-gap, 1px);padding:var(--calcite-action-group-gap, 1px)}:host([hidden]){display:none}[hidden]{display:none}';export{x as calcite_action_group}
|
@@ -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 c,H as o,g as i}from"./p-6eb37ed2.js";import{s as a,g as n,t as r}from"./p-
|
6
|
+
import{r as e,c as t,h as c,H as o,g as i}from"./p-6eb37ed2.js";import{s as a,g as n,t as r}from"./p-441f1992.js";import{c as s,d as l}from"./p-42552409.js";import{c as d,d as h,s as p,u as b}from"./p-6e3f1d71.js";import{c as f,a as m,s as v}from"./p-3e828614.js";import{c as g,u,d as k,I as w}from"./p-1ce2608d.js";import{i as x}from"./p-64a34d92.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.
|
@@ -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-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.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,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 i,F as o,H as n,g as r}from"./p-6eb37ed2.js";import{
|
6
|
+
import{r as t,c as e,h as i,F as o,H as n,g as r}from"./p-6eb37ed2.js";import{e as s,h as c}from"./p-441f1992.js";import{c as a,s as l,a as d}from"./p-3e828614.js";import{C as h}from"./p-8bfa18b7.js";import{u,c as m,s as v,d as p}from"./p-6e3f1d71.js";import{c as b,d as f}from"./p-42552409.js";import"./p-aaa56cbf.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-1c249530.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 g="container",y="content",x="dropdown--vertical",k="dropdown-menu-items",w="dropdown-action",z="layout--vertical",I="hover-href-icon",j="icon",C="icon--breadcrumb",S="icon--dropdown",$="icon--end",D="icon--start",L="parent--vertical",O="open",A="nested",E=class{constructor(i){t(this,i),this.calciteInternalMenuItemKeyEvent=e(this,"calciteInternalMenuItemKeyEvent",7),this.calciteMenuItemSelect=e(this,"calciteMenuItemSelect",7),this.clickHandler=t=>{(this.href&&t.target===this.dropdownActionEl||!this.href&&this.hasSubmenu)&&(this.open=!this.open),this.selectMenuItem(t)},this.handleMenuItemSlotChange=t=>{this.submenuItems=c(t),this.submenuItems.forEach((t=>{t.topLevelMenuLayout||(t.topLevelMenuLayout=this.topLevelMenuLayout)})),this.hasSubmenu=this.submenuItems.length>0},this.keyDownHandler=async t=>{const{hasSubmenu:e,href:i,layout:o,open:n,submenuItems:r}=this,c=t.key,s=t.target===this.dropdownActionEl;if(!t.defaultPrevented)if(" "===c||"Enter"===c)e&&(!i||i&&s)&&(this.open=!n),i&&s||"Enter"===c||this.selectMenuItem(t),(" "===c||i&&s)&&t.preventDefault();else if("Escape"===c){if(n)return void(this.open=!1);this.calciteInternalMenuItemKeyEvent.emit({event:t}),t.preventDefault()}else if("ArrowDown"===c||"ArrowUp"===c){if(t.preventDefault(),(s||!i)&&e&&!n&&"horizontal"===o)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:r,isSubmenuOpen:n&&e})}else if("ArrowLeft"===c)t.preventDefault(),this.calciteInternalMenuItemKeyEvent.emit({event:t,children:r,isSubmenuOpen:!0});else if("ArrowRight"===c){if(t.preventDefault(),(s||!i)&&e&&!n&&"vertical"===o)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:r,isSubmenuOpen:n&&e})}},this.active=void 0,this.breadcrumb=void 0,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.isTopLevelItem=!1,this.label=void 0,this.layout=void 0,this.messageOverrides=void 0,this.messages=void 0,this.open=!1,this.rel=void 0,this.target=void 0,this.text=void 0,this.topLevelMenuLayout=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasSubmenu=!1,this.submenuItems=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await a(this),this.anchorEl.focus()}handleClickOut(t){"vertical"!==this.topLevelMenuLayout&&this.hasSubmenu&&this.open&&!t.composedPath().includes(this.el)&&(this.open=!1)}handleFocusOut(t){"vertical"===this.topLevelMenuLayout||this.el.contains(t.relatedTarget)||(this.open=!1)}connectedCallback(){b(this),m(this)}async componentWillLoad(){l(this),await v(this)}componentDidLoad(){d(this)}disconnectedCallback(){f(this),p(this)}blurHandler(){this.isFocused=!1}focusHandler(t){const e=t.target;this.isFocused=!0,e.open&&!this.open&&(e.open=!1)}selectMenuItem(t){t.target!==this.dropdownActionEl&&this.calciteMenuItemSelect.emit()}renderIconStart(){return i("calcite-icon",{class:`${j} ${D}`,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,key:D,scale:"s"})}renderIconEnd(){return i("calcite-icon",{class:`${j} ${$}`,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,key:$,scale:"s"})}renderBreadcrumbIcon(t){return i("calcite-icon",{class:`${j} ${C}`,icon:"rtl"===t?"chevron-left":"chevron-right",key:C,scale:"s"})}renderDropdownIcon(t){return i("calcite-icon",{class:`${j} ${S}`,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:S,scale:"s"})}renderDropdownAction(t){return i("calcite-action",{class:w,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:w,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:t=>this.dropdownActionEl=t,text:this.messages.open})}renderSubmenuItems(t){return i("calcite-menu",{class:{[k]:!0,[O]:this.open,[A]:!this.isTopLevelItem,[h.rtl]:"rtl"===t,[x]:"vertical"===this.topLevelMenuLayout},label:this.messages.submenu,layout:"vertical",role:"menu"},i("slot",{name:"submenu-item",onSlotchange:this.handleMenuItemSlotChange}))}renderHrefIcon(t){return i("calcite-icon",{class:I,icon:"rtl"===t?"arrow-left":"arrow-right",key:I,scale:"s"})}renderItemContent(t){const e=this.href&&("vertical"===this.topLevelMenuLayout||!this.isTopLevelItem);return i(o,null,this.iconStart&&this.renderIconStart(),i("div",{class:"text-container"},i("span",null,this.text)),e&&this.renderHrefIcon(t),this.iconEnd&&this.renderIconEnd(),this.breadcrumb?this.renderBreadcrumbIcon(t):null,!this.href&&this.hasSubmenu?this.renderDropdownIcon(t):null)}render(){const t=s(this.el);return i(n,{key:"bcce69d3d73b19ee5cefd5fa318ceab1c56783ca",onBlur:this.blurHandler,onFocus:this.focusHandler},i("li",{key:"cb0c08894182a55dc48d1a584d38bb9f3eac0e8b",class:{[g]:!0,[L]:"vertical"===this.topLevelMenuLayout},role:"none"},i("div",{key:"5ce74539a6937fbfa3035495a20531226add6781",class:"item-content"},i("a",{key:"194e81581df9f9e9b2708862e8875f0d8b2f5350","aria-current":!!this.isFocused&&"page","aria-expanded":this.open,"aria-haspopup":this.hasSubmenu,"aria-label":this.label,class:{[z]:"vertical"===this.layout,[y]:!0},href:this.href,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:t=>this.anchorEl=t,rel:this.rel,role:"menuitem",tabIndex:this.isTopLevelItem?0:-1,target:this.target},this.renderItemContent(t)),this.href&&this.hasSubmenu?this.renderDropdownAction(t):null),this.renderSubmenuItems(t)))}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};E.style=':host{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}.content:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-2)}.content:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-2);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 )}.content:active{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}:host([active]) .content{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand)}:host([active]) .content .icon{--calcite-icon-color:var(--calcite-color-brand)}:host([layout=vertical]) .content{padding-inline:0.75rem}.icon--start{margin-inline-end:0.75rem}.icon--end{margin-inline-start:0.75rem}:host([layout=vertical]) .icon--end{margin-inline-start:auto;padding-inline-start:0.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-icon-color:var(--calcite-color-text-3)}:host([layout=vertical]) .icon--end~.icon--dropdown{margin-inline-start:0.75rem}:host([layout=vertical]) .hover-href-icon{padding-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--end{margin-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--breadcrumb{margin-inline-start:0.75rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-icon-color:var(--calcite-color-text-3)}:host([layout=vertical]) .icon--breadcrumb{margin-inline-start:auto}:host([layout=vertical]) .icon--breadcrumb~.icon--dropdown{margin-inline-start:0.5rem}:host([layout=vertical]) .icon--end~.icon--breadcrumb{margin-inline-start:0.5rem}:host([breadcrumb]) .content{padding-inline-end:0.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-color-foreground-1)}calcite-action::after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:0.75rem;background-color:var(--calcite-color-border-3)}calcite-action:hover::after{block-size:100%;inset-block:0}.content:focus~calcite-action,.content:hover~calcite-action{color:var(--calcite-color-text-1);border-inline-start:1px solid var(--calcite-color-border-3)}.container:hover .dropdown-action{background-color:var(--calcite-color-foreground-2)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);inset-block-start:100%;z-index:var(--calcite-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([layout=vertical]:last-of-type) .dropdown-menu-items{border-block-end:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.5rem}.dropdown-menu-items.nested.calcite--rtl{transform:translateX(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-0.25rem;opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{E as calcite_menu_item}
|
11
|
+
*/const g="container",y="content",x="dropdown--vertical",k="dropdown-menu-items",w="dropdown-action",z="layout--vertical",I="hover-href-icon",j="icon",C="icon--breadcrumb",S="icon--dropdown",$="icon--end",D="icon--start",L="parent--vertical",O="open",A="nested",E=class{constructor(i){t(this,i),this.calciteInternalMenuItemKeyEvent=e(this,"calciteInternalMenuItemKeyEvent",7),this.calciteMenuItemSelect=e(this,"calciteMenuItemSelect",7),this.clickHandler=t=>{(this.href&&t.target===this.dropdownActionEl||!this.href&&this.hasSubmenu)&&(this.open=!this.open),this.selectMenuItem(t)},this.handleMenuItemSlotChange=t=>{this.submenuItems=s(t),this.submenuItems.forEach((t=>{t.topLevelMenuLayout||(t.topLevelMenuLayout=this.topLevelMenuLayout)})),this.hasSubmenu=this.submenuItems.length>0},this.keyDownHandler=async t=>{const{hasSubmenu:e,href:i,layout:o,open:n,submenuItems:r}=this,s=t.key,c=t.target===this.dropdownActionEl;if(!t.defaultPrevented)if(" "===s||"Enter"===s)e&&(!i||i&&c)&&(this.open=!n),i&&c||"Enter"===s||this.selectMenuItem(t),(" "===s||i&&c)&&t.preventDefault();else if("Escape"===s){if(n)return void(this.open=!1);this.calciteInternalMenuItemKeyEvent.emit({event:t}),t.preventDefault()}else if("ArrowDown"===s||"ArrowUp"===s){if(t.preventDefault(),(c||!i)&&e&&!n&&"horizontal"===o)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:r,isSubmenuOpen:n&&e})}else if("ArrowLeft"===s)t.preventDefault(),this.calciteInternalMenuItemKeyEvent.emit({event:t,children:r,isSubmenuOpen:!0});else if("ArrowRight"===s){if(t.preventDefault(),(c||!i)&&e&&!n&&"vertical"===o)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:r,isSubmenuOpen:n&&e})}},this.active=void 0,this.breadcrumb=void 0,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.isTopLevelItem=!1,this.label=void 0,this.layout=void 0,this.messageOverrides=void 0,this.messages=void 0,this.open=!1,this.rel=void 0,this.target=void 0,this.text=void 0,this.topLevelMenuLayout=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasSubmenu=!1,this.submenuItems=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await a(this),this.anchorEl.focus()}handleClickOut(t){"vertical"!==this.topLevelMenuLayout&&this.hasSubmenu&&this.open&&!t.composedPath().includes(this.el)&&(this.open=!1)}handleFocusOut(t){"vertical"===this.topLevelMenuLayout||this.el.contains(t.relatedTarget)||(this.open=!1)}connectedCallback(){b(this),m(this)}async componentWillLoad(){l(this),await v(this)}componentDidLoad(){d(this)}disconnectedCallback(){f(this),p(this)}blurHandler(){this.isFocused=!1}focusHandler(t){const e=t.target;this.isFocused=!0,e.open&&!this.open&&(e.open=!1)}selectMenuItem(t){t.target!==this.dropdownActionEl&&this.calciteMenuItemSelect.emit()}renderIconStart(){return i("calcite-icon",{class:`${j} ${D}`,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,key:D,scale:"s"})}renderIconEnd(){return i("calcite-icon",{class:`${j} ${$}`,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,key:$,scale:"s"})}renderBreadcrumbIcon(t){return i("calcite-icon",{class:`${j} ${C}`,icon:"rtl"===t?"chevron-left":"chevron-right",key:C,scale:"s"})}renderDropdownIcon(t){return i("calcite-icon",{class:`${j} ${S}`,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:S,scale:"s"})}renderDropdownAction(t){return i("calcite-action",{class:w,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:w,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:t=>this.dropdownActionEl=t,text:this.messages.open})}renderSubmenuItems(t){return i("calcite-menu",{class:{[k]:!0,[O]:this.open,[A]:!this.isTopLevelItem,[h.rtl]:"rtl"===t,[x]:"vertical"===this.topLevelMenuLayout},label:this.messages.submenu,layout:"vertical",role:"menu"},i("slot",{name:"submenu-item",onSlotchange:this.handleMenuItemSlotChange}))}renderHrefIcon(t){return i("calcite-icon",{class:I,icon:"rtl"===t?"arrow-left":"arrow-right",key:I,scale:"s"})}renderItemContent(t){const e=this.href&&("vertical"===this.topLevelMenuLayout||!this.isTopLevelItem);return i(o,null,this.iconStart&&this.renderIconStart(),i("div",{class:"text-container"},i("span",null,this.text)),e&&this.renderHrefIcon(t),this.iconEnd&&this.renderIconEnd(),this.breadcrumb?this.renderBreadcrumbIcon(t):null,!this.href&&this.hasSubmenu?this.renderDropdownIcon(t):null)}render(){const t=c(this.el);return i(n,{key:"bcce69d3d73b19ee5cefd5fa318ceab1c56783ca",onBlur:this.blurHandler,onFocus:this.focusHandler},i("li",{key:"cb0c08894182a55dc48d1a584d38bb9f3eac0e8b",class:{[g]:!0,[L]:"vertical"===this.topLevelMenuLayout},role:"none"},i("div",{key:"5ce74539a6937fbfa3035495a20531226add6781",class:"item-content"},i("a",{key:"194e81581df9f9e9b2708862e8875f0d8b2f5350","aria-current":!!this.isFocused&&"page","aria-expanded":this.open,"aria-haspopup":this.hasSubmenu,"aria-label":this.label,class:{[z]:"vertical"===this.layout,[y]:!0},href:this.href,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:t=>this.anchorEl=t,rel:this.rel,role:"menuitem",tabIndex:this.isTopLevelItem?0:-1,target:this.target},this.renderItemContent(t)),this.href&&this.hasSubmenu?this.renderDropdownAction(t):null),this.renderSubmenuItems(t)))}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};E.style=':host{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}.content:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-2)}.content:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-2);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 )}.content:active{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}:host([active]) .content{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand)}:host([active]) .content .icon{--calcite-icon-color:var(--calcite-color-brand)}:host([layout=vertical]) .content{padding-inline:0.75rem}.icon--start{margin-inline-end:0.75rem}.icon--end{margin-inline-start:0.75rem}:host([layout=vertical]) .icon--end{margin-inline-start:auto;padding-inline-start:0.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-icon-color:var(--calcite-color-text-3)}:host([layout=vertical]) .icon--end~.icon--dropdown{margin-inline-start:0.75rem}:host([layout=vertical]) .hover-href-icon{padding-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--end{margin-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--breadcrumb{margin-inline-start:0.75rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-icon-color:var(--calcite-color-text-3)}:host([layout=vertical]) .icon--breadcrumb{margin-inline-start:auto}:host([layout=vertical]) .icon--breadcrumb~.icon--dropdown{margin-inline-start:0.5rem}:host([layout=vertical]) .icon--end~.icon--breadcrumb{margin-inline-start:0.5rem}:host([breadcrumb]) .content{padding-inline-end:0.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-color-foreground-1)}calcite-action::after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:0.75rem;background-color:var(--calcite-color-border-3)}calcite-action:hover::after{block-size:100%;inset-block:0}.content:focus~calcite-action,.content:hover~calcite-action{color:var(--calcite-color-text-1);border-inline-start:1px solid var(--calcite-color-border-3)}.container:hover .dropdown-action{background-color:var(--calcite-color-foreground-2)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);inset-block-start:100%;z-index:var(--calcite-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([layout=vertical]:last-of-type) .dropdown-menu-items{border-block-end:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.5rem}.dropdown-menu-items.nested.calcite--rtl{transform:translateX(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-0.25rem;opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{E as calcite_menu_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 t,c as e,h as i,H as s,g as a}from"./p-6eb37ed2.js";import{s as n,a as l}from"./p-3e828614.js";import{u as c,s as o,c as h,d as r}from"./p-
|
6
|
+
import{r as t,c as e,h as i,H as s,g as a}from"./p-6eb37ed2.js";import{s as n,a as l}from"./p-3e828614.js";import{u as c,s as o,c as h,d as r}from"./p-6e3f1d71.js";import{n as d,c as b,d as p}from"./p-42552409.js";import{g as f}from"./p-4b9b7778.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-64a34d92.js";import"./p-1c249530.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,h as t,H as i,g as c}from"./p-6eb37ed2.js";import{s as l,a,c as
|
6
|
+
import{r as e,h as t,H as i,g as c}from"./p-6eb37ed2.js";import{s as l,a as s,c as a}from"./p-3e828614.js";import{u as o,s as n,c as r,d}from"./p-6e3f1d71.js";import{c as h,u as b,d as v,I as p}from"./p-1ce2608d.js";import{c as f,d as g}from"./p-42552409.js";import{h as u}from"./p-441f1992.js";import{C as m}from"./p-8bfa18b7.js";import{g as x}from"./p-27d462c0.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-1c249530.js";import"./p-aaa56cbf.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 k="content-cell",w="number-cell",y="footer-cell",C="selection-cell",$="selected-cell",z="last-cell",S="static-cell",j=class{constructor(t){e(this,t),this.updateScreenReaderContentsText=()=>{this.contentsText=this.el.textContent},this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.rowSpan=void 0,this.disabled=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=void 0,this.parentRowIsSelected=void 0,this.parentRowAlignment="start",this.parentRowPositionLocalized=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.readCellContentsToAT=void 0,this.scale="m",this.selectionCell=void 0,this.messages=void 0,this.messageOverrides=void 0,this.contentsText="",this.defaultMessages=void 0,this.focused=!1,this.selectionText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderSelectionText()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}componentDidLoad(){
|
11
|
+
*/const k="content-cell",w="number-cell",y="footer-cell",C="selection-cell",$="selected-cell",z="last-cell",S="static-cell",j=class{constructor(t){e(this,t),this.updateScreenReaderContentsText=()=>{this.contentsText=this.el.textContent},this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.rowSpan=void 0,this.disabled=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=void 0,this.parentRowIsSelected=void 0,this.parentRowAlignment="start",this.parentRowPositionLocalized=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.readCellContentsToAT=void 0,this.scale="m",this.selectionCell=void 0,this.messages=void 0,this.messageOverrides=void 0,this.contentsText="",this.defaultMessages=void 0,this.focused=!1,this.selectionText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderSelectionText()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}componentDidLoad(){s(this)}connectedCallback(){f(this),r(this),h(this)}componentDidRender(){b(this)}disconnectedCallback(){g(this),d(this),v(this)}async setFocus(){await a(this),this.containerEl.focus()}updateScreenReaderSelectionText(){this.selectionText=this.parentRowIsSelected?`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.selected} ${this.messages?.keyboardDeselect}`:`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.unselected} ${this.messages?.keyboardSelect}`}render(){const e=u(this.el),c=this.disabled||"static"===this.interactionMode&&(!this.selectionCell||this.selectionCell&&"foot"===this.parentRowType);return t(i,{key:"4d52967c0b56ad11ae0cd2f2bcda584a4c32d7aa"},t(p,{key:"38dc03f0b7b46647d55510c954da818991134923",disabled:this.disabled},t("td",{key:"f33e06346894caae2199743b02b3d82d45227a9c","aria-disabled":this.disabled,class:{[y]:"foot"===this.parentRowType,[k]:!this.numberCell&&!this.selectionCell,[w]:this.numberCell,[C]:this.selectionCell,[$]:this.parentRowIsSelected,[z]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[m.rtl]:"rtl"===e,[S]:c,[this.parentRowAlignment]:"start"===this.parentRowAlignment||"end"===this.parentRowAlignment},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:e=>this.containerEl=e,role:"interactive"===this.interactionMode?"gridcell":"cell",rowSpan:this.rowSpan,tabIndex:c?-1:0},(this.selectionCell||this.readCellContentsToAT)&&t("span",{key:"09f8419edf6633fec643980debdab653cfa1aa18","aria-hidden":!0,"aria-live":this.focused?"polite":"off",class:"assistive-text"},this.selectionCell&&this.selectionText,this.readCellContentsToAT&&!this.selectionCell&&this.contentsText),t("slot",{key:"05f0410a867cb1cfab5a01b1d4e374002314493d",onSlotchange:this.updateScreenReaderContentsText}))))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{parentRowIsSelected:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};j.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{--calcite-internal-table-cell-background:var(--calcite-table-cell-background, transparent);display:contents}:host([alignment=center]) td:not(.selection-cell):not(.number-cell){text-align:center}:host([alignment=end]) td:not(.selection-cell):not(.number-cell){text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-color-text-1);background:var(--calcite-internal-table-cell-background);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-color-border-3);padding:var(--calcite-internal-table-cell-padding)}td:not(.static-cell){outline-color:transparent}td:not(.static-cell):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 )}td.start.content-cell{vertical-align:top}td.end.content-cell{vertical-align:bottom}td.last-cell{border-inline-end:0}.number-cell{background-color:var(--calcite-color-foreground-2)}.footer-cell{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-start:1px solid var(--calcite-color-border-3)}.number-cell,.selection-cell{text-align:center;border-inline-end:1px solid var(--calcite-color-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{color:var(--calcite-color-text-3);inset-inline-start:2rem}.selection-cell:not(.footer-cell){cursor:pointer}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-cell-background:var(--calcite-color-foreground-current)}.selection-cell.selected-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-color-brand);color:var(--calcite-color-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-color-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -0.25rem 0 0 0 var(--calcite-color-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";
|
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 L="content-cell",R="number-cell",D="selection-cell",F="body-row",I="footer-row",M="cell--multiple-selection",_="active",q="selected-cell",B="last-cell",O="static-cell",T=class{constructor(t){e(this,t),this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.description=void 0,this.heading=void 0,this.rowSpan=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=!1,this.parentRowAlignment="start",this.parentRowIsSelected=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.scale=void 0,this.selectedRowCount=void 0,this.selectedRowCountLocalized=void 0,this.selectionCell=!1,this.selectionMode=void 0,this.bodyRowCount=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.focused=!1,this.screenReaderText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderText()}onMessagesChange(){}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderText()}componentDidLoad(){
|
17
|
+
const L="content-cell",R="number-cell",D="selection-cell",F="body-row",I="footer-row",M="cell--multiple-selection",_="active",q="selected-cell",B="last-cell",O="static-cell",T=class{constructor(t){e(this,t),this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.description=void 0,this.heading=void 0,this.rowSpan=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=!1,this.parentRowAlignment="start",this.parentRowIsSelected=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.scale=void 0,this.selectedRowCount=void 0,this.selectedRowCountLocalized=void 0,this.selectionCell=!1,this.selectionMode=void 0,this.bodyRowCount=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.focused=!1,this.screenReaderText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderText()}onMessagesChange(){}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderText()}componentDidLoad(){s(this)}connectedCallback(){f(this),r(this)}disconnectedCallback(){g(this),d(this)}effectiveLocaleChange(){o(this,this.effectiveLocale)}async setFocus(){await a(this),this.containerEl.focus()}updateScreenReaderText(){let e="";const t=`${this.selectedRowCountLocalized} ${this.messages?.selected}`;e=this.numberCell?this.messages?.rowNumber:"single"===this.selectionMode?`${this.messages?.selectionColumn}. ${t}`:this.bodyRowCount===this.selectedRowCount?`${this.messages?.selectionColumn}. ${this.messages?.all} ${t} ${this.messages?.keyboardDeselectAll}`:`${this.messages?.selectionColumn}. ${t} ${this.messages?.keyboardSelectAll}`,this.screenReaderText=e}render(){const e=this.rowSpan?"rowgroup":this.colSpan?"colgroup":"body"===this.parentRowType?"row":"col",c=this.selectedRowCount===this.bodyRowCount,l=this.selectedRowCount>0,s=c?"check-square-f":l?"minus-square-f":"square",a="static"===this.interactionMode&&!this.selectionCell;return t(i,{key:"55805e40fd5617971301fe6c3df52fd45ff4486e"},t("th",{key:"2f7c756603386e578a871558645daac673fd6cdc","aria-colindex":"head"===this.parentRowType?this.positionInRow:void 0,class:{[F]:"body"===this.parentRowType,[I]:"foot"===this.parentRowType,[L]:!this.numberCell&&!this.selectionCell,[R]:this.numberCell,[D]:this.selectionCell,[q]:this.parentRowIsSelected,[M]:"multiple"===this.selectionMode,[O]:a,[B]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[this.parentRowAlignment]:"center"===this.parentRowAlignment||"end"===this.parentRowAlignment},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:e=>this.containerEl=e,role:"head"===this.parentRowType?"columnheader":"rowheader",rowSpan:this.rowSpan,scope:e,tabIndex:this.selectionCell?0:a?-1:0},this.heading&&t("div",{key:"e347778a1676cf40c5f4c2937a590ac8b6c1fde0",class:"heading"},this.heading),this.description&&t("div",{key:"13c5d2ec28bf68132c1217be299aa4363794f370",class:"description"},this.description),this.selectionCell&&"multiple"===this.selectionMode&&t("calcite-icon",{key:"11f84e3c1c3cb8be33c8c5aa4a2cc4f5d01fbbfa",class:{[_]:l||c},icon:s,scale:x(this.scale)}),(this.selectionCell||this.numberCell)&&t("span",{key:"23c2914de335aa02bf99b1d9286ad2b2ad38cccb","aria-hidden":!0,"aria-live":this.focused?"polite":"off",class:"assistive-text"},this.screenReaderText)))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{selectedRowCount:["onSelectedChange"],selectedRowCountLocalized:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};T.style=":host{--calcite-internal-table-header-background:var(--calcite-table-header-background, var(--calcite-color-foreground-2));--calcite-internal-table-header-border-color:var(--calcite-table-border-color, var(--calcite-color-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}th{white-space:normal;text-align:start;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:not(.static-cell){outline-color:transparent}th:not(.static-cell):not(.static-cell):focus-within{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 )}th:not(.center):not(.end).content-cell{vertical-align:top}th.center{vertical-align:middle}th.end.content-cell{vertical-align:bottom}th.body-row,th.footer-row{padding-block:var(--calcite-internal-table-cell-padding);border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}th.last-cell{border-inline-end:0}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-color-text-3)}.cell--multiple-selection:not(.end){vertical-align:middle}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-header-background:var(--calcite-color-foreground-current)}.number-cell,.selection-cell{color:var(--calcite-color-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-color-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-color-text-1)}.description{color:var(--calcite-color-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}";export{j as calcite_table_cell,T as calcite_table_header}
|
@@ -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-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export{m 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,c as e,h as s,g as i}from"./p-6eb37ed2.js";import{
|
6
|
+
import{r as t,c as e,h as s,g as i}from"./p-6eb37ed2.js";import{e as a,b as c,t as h}from"./p-441f1992.js";import{c as n,d as o,u as r,I as l}from"./p-1ce2608d.js";import{a as d,s as p,c as b}from"./p-3e828614.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";const f=class{constructor(s){t(this,s),this.calciteChipGroupSelect=e(this,"calciteChipGroupSelect",6),this.items=[],this.updateItems=t=>{const e=this.slotRefEl?.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-chip")));this.items=t?a(t):e,this.items?.length<1||(this.items?.forEach((t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode,t.parentChipGroup=this.el})),this.setSelectedItems(!1))},this.updateSelectedItems=()=>{this.selectedItems=this.items?.filter((t=>t.selected))},this.setSelectedItems=(t,e)=>{e&&this.items?.forEach((t=>{const s=e===t;switch(this.selectionMode){case"multiple":s&&(t.selected=!t.selected);break;case"single":t.selected=!!s&&!t.selected;break;case"single-persist":t.selected=!!s}})),this.updateSelectedItems(),t&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){n(this)}componentDidRender(){o(this),r(this)}componentDidLoad(){d(this)}async componentWillLoad(){p(this)}calciteInternalChipKeyEventListener(t){if(t.composedPath().includes(this.el)){const e=this.items?.filter((t=>!t.disabled));switch(t.detail.key){case"ArrowRight":c(e,t.detail.target,"next");break;case"ArrowLeft":c(e,t.detail.target,"previous");break;case"Home":c(e,t.detail.target,"first");break;case"End":c(e,t.detail.target,"last")}}t.stopPropagation()}calciteChipCloseListener(t){const e=t.target;this.items?.includes(e)&&(this.items?.indexOf(e)>0?c(this.items,e,"previous"):0===this.items?.indexOf(e)?c(this.items,e,"next"):c(this.items,e,"first")),this.items=this.items?.filter((t=>t!==e)),t.stopPropagation()}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!0,t.target),t.stopPropagation()}calciteInternalChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!1,t.target),t.stopPropagation()}calciteInternalSyncSelectedChips(t){t.composedPath().includes(this.el)&&(this.updateSelectedItems(),"single"===this.selectionMode&&this.selectedItems.length>1&&this.setSelectedItems(!1,t.target)),t.stopPropagation()}async setFocus(){if(await b(this),!this.disabled)return(this.selectedItems[0]||this.items[0])?.setFocus()}render(){const t="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup",{disabled:e}=this;return s(l,{key:"341dd9e8f25d4d358ea6e33740d8b851a5fa0e9d",disabled:e},s("div",{key:"66c9eaa00b7ca0c602f94a017f5b6ef6afc3bd93","aria-disabled":h(e),"aria-label":this.label,class:"container",role:t},s("slot",{key:"d62c336c6cdca0bbd5c6673975ae4a25bc8ef9df",onSlotchange:this.updateItems,ref:t=>this.slotRefEl=t})))}get el(){return i(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};f.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:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{f as calcite_chip_group}
|
@@ -3,12 +3,12 @@
|
|
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 o,g as n}from"./p-6eb37ed2.js";import{t as a,
|
6
|
+
import{r as e,c as t,h as i,H as o,g as n}from"./p-6eb37ed2.js";import{t as a,h as l,A as s}from"./p-441f1992.js";import{a as r,c,d,H as h}from"./p-54fa7a94.js";import{c as m,d as p,u as g,I as b}from"./p-1ce2608d.js";import{c as f,d as u}from"./p-fd730974.js";import{s as v,a as k,c as w}from"./p-3e828614.js";import{c as y}from"./p-1c249530.js";import{V as x}from"./p-ef67c743.js";import{i as C}from"./p-4b9b7778.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-27d462c0.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 z="segmentedControlValidationMessage",j=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.mutationObserver=y("mutation",(()=>this.setUpItems())),this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.name=void 0,this.layout="horizontal",this.scale="m",this.value=null,this.selectedItem=void 0,this.status="idle",this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.width="auto"}handlePropsChange(){this.handleItemPropChange()}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=e?.value,e===t)return;const i=this.getItems(),o=i.filter((t=>t===e)).pop();o?this.selectItem(o):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){v(this),this.setUpItems()}componentDidLoad(){r(this,this.value),k(this)}connectedCallback(){m(this),
|
11
|
+
*/const z="segmentedControlValidationMessage",j=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.mutationObserver=y("mutation",(()=>this.setUpItems())),this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.name=void 0,this.layout="horizontal",this.scale="m",this.value=null,this.selectedItem=void 0,this.status="idle",this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.width="auto"}handlePropsChange(){this.handleItemPropChange()}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=e?.value,e===t)return;const i=this.getItems(),o=i.filter((t=>t===e)).pop();o?this.selectItem(o):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){v(this),this.setUpItems()}componentDidLoad(){r(this,this.value),k(this)}connectedCallback(){m(this),f(this),c(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.handleItemPropChange()}disconnectedCallback(){p(this),u(this),d(this),this.mutationObserver?.unobserve(this.el)}componentDidRender(){g(this)}render(){return i(o,{key:"15d2892515a26a3d97657819a2f7e4ec1bfa132b",onClick:this.handleClick,role:"radiogroup"},i("div",{key:"5cf92b36bed0d722d548bbda4804fe3e2a8c0c6a","aria-errormessage":z,"aria-invalid":a("invalid"===this.status),class:"item-wrapper"},i(b,{key:"3cdc812ffe33a9651dd4308b8fe8db582e3055de",disabled:this.disabled},i("slot",{key:"4e81e1944e237c65f4bf06b8270a5c23f8c49bd3"}),i(h,{key:"b0ccbb1b76b295ab87912c43b0cbbb936c7fea6e",component:this}))),this.validationMessage&&"invalid"===this.status?i(x,{icon:this.validationIcon,id:z,message:this.validationMessage,scale:this.scale,status:this.status}):null)}handleSelected(e){e.preventDefault();const t=e.target;t.checked&&this.selectItem(t),e.stopPropagation()}handleKeyDown(e){const{key:t}=e,{el:i,selectedItem:o}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;let n=t;"rtl"===l(i)&&("ArrowRight"===t&&(n="ArrowLeft"),"ArrowLeft"===t&&(n="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((e,t)=>{e===o&&(s=t)})),n){case"ArrowLeft":case"ArrowUp":return e.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return e.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return e.preventDefault(),void this.selectItem(e.target,!0);default:return}}async setFocus(){await w(this),(this.selectedItem||this.getItems()[0])?.focus()}handleItemPropChange(){this.getItems().forEach((e=>{e.appearance=this.appearance,e.layout=this.layout,e.scale=this.scale}))}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(e,t=!1){if(e===this.selectedItem)return;const i=this.getItems();let o=null;i.forEach((i=>{const n=i===e;(n&&!i.checked||!n&&i.checked)&&(i.checked=n),i.tabIndex=n?0:-1,n&&(o=i,t&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=o,C()&&o&&o.focus()}setUpItems(){const e=this.getItems(),t=e.filter((e=>e.checked)).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}get el(){return n(this)}static get watchers(){return{appearance:["handlePropsChange"],layout:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};j.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:flex;flex-direction:column}.item-wrapper{display:flex;background-color:var(--calcite-color-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-color-border-input);outline-offset:-1px}:host([appearance=outline])>.item-wrapper{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([layout=vertical])>.item-wrapper{flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full])>.item-wrapper{inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full])>.item-wrapper ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical])>.item-wrapper ::slotted(calcite-segmented-control-item){justify-content:flex-start}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}: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.
|
@@ -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,c as e,h as i,f as s,H as a,g as o}from"./p-6eb37ed2.js";import{c as r,d as n,H as c}from"./p-
|
6
|
+
import{r as t,c as e,h as i,f as s,H as a,g as o}from"./p-6eb37ed2.js";import{c as r,d as n,H as c}from"./p-54fa7a94.js";import{c as l,d as h,g as d}from"./p-fd730974.js";import{t as f,s as p}from"./p-441f1992.js";import{c as b,d as m,n as g}from"./p-42552409.js";import{c as u}from"./p-1c249530.js";import{b as v,s as x,a as y,c as k}from"./p-3e828614.js";import{c as z,s as w,d as j,u as L}from"./p-6e3f1d71.js";import{c as H,u as C,d as A,I as M}from"./p-1ce2608d.js";import{g as W}from"./p-aaa56cbf.js";import{V as I}from"./p-ef67c743.js";import{s as S}from"./p-14f027b5.js";import{t as D}from"./p-29edb87c.js";import"./p-27d462c0.js";import"./p-8bfa18b7.js";import"./p-64a34d92.js";import"./p-4b9b7778.js";import"./p-c8d3207e.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
|
6
|
+
import{d as r}from"./p-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(r){return r},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};r.locale(a,null,!0);export{a 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{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-441f1992.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,c as i,h as a,H as s,g as e}from"./p-6eb37ed2.js";import{c as o}from"./p-1c249530.js";import{t as n}from"./p-
|
6
|
+
import{r as t,c as i,h as a,H as s,g as e}from"./p-6eb37ed2.js";import{c as o}from"./p-1c249530.js";import{t as n}from"./p-441f1992.js";import{s as l,a as c,c as r}from"./p-3e828614.js";import{V as h}from"./p-ef67c743.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.
|