@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
@@ -365,6 +365,17 @@ export interface ITemplateData {
|
|
365
365
|
value?: any;
|
366
366
|
}
|
367
367
|
|
368
|
+
/**
|
369
|
+
* Stores the id, type, and title for a given template
|
370
|
+
*/
|
371
|
+
export interface ITemplateInfo {
|
372
|
+
id: string;
|
373
|
+
title: string;
|
374
|
+
type: string;
|
375
|
+
typeKeywords: string[];
|
376
|
+
description: string;
|
377
|
+
}
|
378
|
+
|
368
379
|
/**
|
369
380
|
* Stores updated templates that contain runtime changes from the user
|
370
381
|
*/
|
@@ -0,0 +1,117 @@
|
|
1
|
+
/** @license
|
2
|
+
* Copyright 2024 Esri
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { VNode } from '../../stencil-public-runtime';
|
17
|
+
import SolutionItemAccordion_T9n from "../../assets/t9n/solution-item-accordion/resources.json";
|
18
|
+
import { ITemplateInfo } from "../../utils/interfaces";
|
19
|
+
export declare class SolutionItemAccordion {
|
20
|
+
el: HTMLSolutionItemAccordionElement;
|
21
|
+
/**
|
22
|
+
* ITemplateInfo[]: Collection of template infos
|
23
|
+
*/
|
24
|
+
templateInfos: ITemplateInfo[];
|
25
|
+
/**
|
26
|
+
* ITemplateInfo[]: Collection of sorted template infos
|
27
|
+
*/
|
28
|
+
_sortedTemplateInfos: ITemplateInfo[];
|
29
|
+
/**
|
30
|
+
* Contains the translations for this component.
|
31
|
+
* All UI strings should be defined here.
|
32
|
+
*/
|
33
|
+
_translations: typeof SolutionItemAccordion_T9n;
|
34
|
+
/**
|
35
|
+
* string[]: The order we should sort templates based on
|
36
|
+
*/
|
37
|
+
protected _sortOrder: string[];
|
38
|
+
/**
|
39
|
+
* string[]: Array of template types.
|
40
|
+
* This array is used during render to ensure only one Accordion item is added for each type.
|
41
|
+
*/
|
42
|
+
protected _types: string[];
|
43
|
+
templateInfosWatchHandler(): Promise<void>;
|
44
|
+
/**
|
45
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
46
|
+
*/
|
47
|
+
componentWillLoad(): Promise<void>;
|
48
|
+
/**
|
49
|
+
* StencilJS: Called before each render
|
50
|
+
*/
|
51
|
+
componentWillRender(): Promise<void>;
|
52
|
+
/**
|
53
|
+
* Renders the component.
|
54
|
+
*/
|
55
|
+
render(): any;
|
56
|
+
/**
|
57
|
+
* Get the Accordion component
|
58
|
+
*
|
59
|
+
* @returns the Accordion component
|
60
|
+
*
|
61
|
+
* @protected
|
62
|
+
*/
|
63
|
+
protected _getAccordion(): VNode;
|
64
|
+
/**
|
65
|
+
* Get the Accordion Item component with the appropriate icon and template type
|
66
|
+
* Only one accordion item per type.
|
67
|
+
*
|
68
|
+
* @returns the Accordion Item component
|
69
|
+
*
|
70
|
+
* @protected
|
71
|
+
*/
|
72
|
+
protected _getAccordionItem(templateInfo: ITemplateInfo): VNode;
|
73
|
+
/**
|
74
|
+
* Get the list of template infos for the current type
|
75
|
+
*
|
76
|
+
* @param templateInfos filtered list of templateInfos for the current type
|
77
|
+
*
|
78
|
+
* @returns the List component
|
79
|
+
*
|
80
|
+
* @protected
|
81
|
+
*/
|
82
|
+
protected _getList(templateInfos: ITemplateInfo[]): VNode;
|
83
|
+
/**
|
84
|
+
* Get list item for the current type
|
85
|
+
*
|
86
|
+
* @param templateInfo the current templateInfo to handle
|
87
|
+
*
|
88
|
+
* @returns the List item component
|
89
|
+
*
|
90
|
+
* @protected
|
91
|
+
*/
|
92
|
+
protected _getListItem(templateInfo: ITemplateInfo): VNode;
|
93
|
+
/**
|
94
|
+
* Sort the templates based on the defined order in _sortOrder
|
95
|
+
*
|
96
|
+
* @returns the sorted templates
|
97
|
+
*
|
98
|
+
* @protected
|
99
|
+
*/
|
100
|
+
protected _sortTemplates(): ITemplateInfo[];
|
101
|
+
/**
|
102
|
+
* Some template types are displayed with a value that is different than the stored type value.
|
103
|
+
* This function will catch and update the type value to match how we would like it sorted and displayed.
|
104
|
+
*
|
105
|
+
* @returns the sorted templates
|
106
|
+
*
|
107
|
+
* @protected
|
108
|
+
*/
|
109
|
+
protected _updateType(templateInfo: ITemplateInfo): string;
|
110
|
+
/**
|
111
|
+
* Fetches the component's translations
|
112
|
+
*
|
113
|
+
* @returns Promise when complete
|
114
|
+
* @protected
|
115
|
+
*/
|
116
|
+
protected _getTranslations(): Promise<void>;
|
117
|
+
}
|
@@ -5,11 +5,11 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
-
import { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
|
8
|
+
import { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, ITemplateInfo, IValueChange, theme } from "./utils/interfaces";
|
9
9
|
import { IReportingOptions as IReportingOptions1 } from "./components";
|
10
10
|
import { ILayerItemsHash } from "./components/layer-list/layer-list";
|
11
11
|
import { UserSession } from "@esri/solution-common";
|
12
|
-
export { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
|
12
|
+
export { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, ITemplateInfo, IValueChange, theme } from "./utils/interfaces";
|
13
13
|
export { IReportingOptions as IReportingOptions1 } from "./components";
|
14
14
|
export { ILayerItemsHash } from "./components/layer-list/layer-list";
|
15
15
|
export { UserSession } from "@esri/solution-common";
|
@@ -1595,6 +1595,12 @@ export namespace Components {
|
|
1595
1595
|
*/
|
1596
1596
|
"solutionVariables": string;
|
1597
1597
|
}
|
1598
|
+
interface SolutionItemAccordion {
|
1599
|
+
/**
|
1600
|
+
* ITemplateInfo[]: Collection of template infos
|
1601
|
+
*/
|
1602
|
+
"templateInfos": ITemplateInfo[];
|
1603
|
+
}
|
1598
1604
|
interface SolutionItemDetails {
|
1599
1605
|
/**
|
1600
1606
|
* A template's itemId.
|
@@ -2437,6 +2443,12 @@ declare global {
|
|
2437
2443
|
prototype: HTMLSolutionItemElement;
|
2438
2444
|
new (): HTMLSolutionItemElement;
|
2439
2445
|
};
|
2446
|
+
interface HTMLSolutionItemAccordionElement extends Components.SolutionItemAccordion, HTMLStencilElement {
|
2447
|
+
}
|
2448
|
+
var HTMLSolutionItemAccordionElement: {
|
2449
|
+
prototype: HTMLSolutionItemAccordionElement;
|
2450
|
+
new (): HTMLSolutionItemAccordionElement;
|
2451
|
+
};
|
2440
2452
|
interface HTMLSolutionItemDetailsElement extends Components.SolutionItemDetails, HTMLStencilElement {
|
2441
2453
|
}
|
2442
2454
|
var HTMLSolutionItemDetailsElement: {
|
@@ -2598,6 +2610,7 @@ declare global {
|
|
2598
2610
|
"solution-configuration": HTMLSolutionConfigurationElement;
|
2599
2611
|
"solution-contents": HTMLSolutionContentsElement;
|
2600
2612
|
"solution-item": HTMLSolutionItemElement;
|
2613
|
+
"solution-item-accordion": HTMLSolutionItemAccordionElement;
|
2601
2614
|
"solution-item-details": HTMLSolutionItemDetailsElement;
|
2602
2615
|
"solution-item-icon": HTMLSolutionItemIconElement;
|
2603
2616
|
"solution-item-sharing": HTMLSolutionItemSharingElement;
|
@@ -4240,6 +4253,12 @@ declare namespace LocalJSX {
|
|
4240
4253
|
*/
|
4241
4254
|
"solutionVariables"?: string;
|
4242
4255
|
}
|
4256
|
+
interface SolutionItemAccordion {
|
4257
|
+
/**
|
4258
|
+
* ITemplateInfo[]: Collection of template infos
|
4259
|
+
*/
|
4260
|
+
"templateInfos"?: ITemplateInfo[];
|
4261
|
+
}
|
4243
4262
|
interface SolutionItemDetails {
|
4244
4263
|
/**
|
4245
4264
|
* A template's itemId.
|
@@ -4400,6 +4419,7 @@ declare namespace LocalJSX {
|
|
4400
4419
|
"solution-configuration": SolutionConfiguration;
|
4401
4420
|
"solution-contents": SolutionContents;
|
4402
4421
|
"solution-item": SolutionItem;
|
4422
|
+
"solution-item-accordion": SolutionItemAccordion;
|
4403
4423
|
"solution-item-details": SolutionItemDetails;
|
4404
4424
|
"solution-item-icon": SolutionItemIcon;
|
4405
4425
|
"solution-item-sharing": SolutionItemSharing;
|
@@ -4459,6 +4479,7 @@ declare module "@stencil/core" {
|
|
4459
4479
|
"solution-configuration": LocalJSX.SolutionConfiguration & JSXBase.HTMLAttributes<HTMLSolutionConfigurationElement>;
|
4460
4480
|
"solution-contents": LocalJSX.SolutionContents & JSXBase.HTMLAttributes<HTMLSolutionContentsElement>;
|
4461
4481
|
"solution-item": LocalJSX.SolutionItem & JSXBase.HTMLAttributes<HTMLSolutionItemElement>;
|
4482
|
+
"solution-item-accordion": LocalJSX.SolutionItemAccordion & JSXBase.HTMLAttributes<HTMLSolutionItemAccordionElement>;
|
4462
4483
|
"solution-item-details": LocalJSX.SolutionItemDetails & JSXBase.HTMLAttributes<HTMLSolutionItemDetailsElement>;
|
4463
4484
|
"solution-item-icon": LocalJSX.SolutionItemIcon & JSXBase.HTMLAttributes<HTMLSolutionItemIconElement>;
|
4464
4485
|
"solution-item-sharing": LocalJSX.SolutionItemSharing & JSXBase.HTMLAttributes<HTMLSolutionItemSharingElement>;
|
package/dist/types/preact.d.ts
CHANGED
@@ -800,6 +800,8 @@ declare module "preact/src/jsx" {
|
|
800
800
|
|
801
801
|
"solution-item": JSX.SolutionsSolutionItem & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemElement>
|
802
802
|
|
803
|
+
"solution-item-accordion": JSX.SolutionsSolutionItemAccordion & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemAccordionElement>
|
804
|
+
|
803
805
|
"solution-item-details": JSX.SolutionsSolutionItemDetails & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemDetailsElement>
|
804
806
|
|
805
807
|
"solution-item-icon": JSX.SolutionsSolutionItemIcon & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemIconElement>
|
@@ -311,6 +311,16 @@ export interface ITemplateData {
|
|
311
311
|
resourceItem?: IResourceItem;
|
312
312
|
value?: any;
|
313
313
|
}
|
314
|
+
/**
|
315
|
+
* Stores the id, type, and title for a given template
|
316
|
+
*/
|
317
|
+
export interface ITemplateInfo {
|
318
|
+
id: string;
|
319
|
+
title: string;
|
320
|
+
type: string;
|
321
|
+
typeKeywords: string[];
|
322
|
+
description: string;
|
323
|
+
}
|
314
324
|
/**
|
315
325
|
* Stores updated templates that contain runtime changes from the user
|
316
326
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@esri/solutions-components",
|
3
|
-
"version": "0.10.
|
3
|
+
"version": "0.10.24",
|
4
4
|
"description": "Web Components for Esri's Solutions Applications",
|
5
5
|
"main": "dist/index.cjs.js",
|
6
6
|
"module": "dist/index.js",
|
@@ -59,11 +59,11 @@
|
|
59
59
|
"babel-jest": "^29.7.0",
|
60
60
|
"braces": "^3.0.3",
|
61
61
|
"dotenv": "^16.4.5",
|
62
|
-
"eslint": "^8.
|
62
|
+
"eslint": "^8.57.1",
|
63
63
|
"eslint-config-prettier": "9.1.0",
|
64
64
|
"eslint-plugin-jest": "^28.8.2",
|
65
65
|
"eslint-plugin-prettier": "5.2.1",
|
66
|
-
"eslint-plugin-react": "7.
|
66
|
+
"eslint-plugin-react": "7.37.1",
|
67
67
|
"eslint-plugin-unicorn": "^55.0.0",
|
68
68
|
"esri-loader": "^3.7.0",
|
69
69
|
"form-request-submit-polyfill": "^2.0.0",
|
@@ -74,7 +74,7 @@
|
|
74
74
|
"ncp": "^2.0.0",
|
75
75
|
"npm-check-updates": "^17.1.1",
|
76
76
|
"prettier": "3.3.3",
|
77
|
-
"puppeteer": "^23.
|
77
|
+
"puppeteer": "^23.5.0",
|
78
78
|
"react": "^18.3.1",
|
79
79
|
"rimraf": "^6.0.1",
|
80
80
|
"tailwindcss": "3.4.10",
|
@@ -94,8 +94,8 @@
|
|
94
94
|
"@esri/hub-teams": "^14.1.1",
|
95
95
|
"@esri/solution-common": "^5.6.7",
|
96
96
|
"@pdf-lib/fontkit": "^1.1.1",
|
97
|
-
"focus-trap": "7.
|
98
|
-
"jspdf": "^2.5.
|
97
|
+
"focus-trap": "7.6.0",
|
98
|
+
"jspdf": "^2.5.2",
|
99
99
|
"minimist": "^1.2.8",
|
100
100
|
"pdf-lib": "^1.17.1",
|
101
101
|
"templates-common-library-esm": "npm:templates-common-library@0.0.504-esm"
|
@@ -1,95 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
9
|
-
|
10
|
-
const index = require('./index-5a0af791.js');
|
11
|
-
const observers = require('./observers-5f9f67ee.js');
|
12
|
-
require('./browser-2893460e.js');
|
13
|
-
|
14
|
-
/*!
|
15
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
16
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
17
|
-
* v2.12.2
|
18
|
-
*/
|
19
|
-
const CSS = {
|
20
|
-
accordion: "accordion",
|
21
|
-
transparent: "accordion--transparent",
|
22
|
-
};
|
23
|
-
|
24
|
-
const accordionCss = ":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";
|
25
|
-
const CalciteAccordionStyle0 = accordionCss;
|
26
|
-
|
27
|
-
const Accordion = class {
|
28
|
-
constructor(hostRef) {
|
29
|
-
index.registerInstance(this, hostRef);
|
30
|
-
this.calciteInternalAccordionChange = index.createEvent(this, "calciteInternalAccordionChange", 6);
|
31
|
-
this.mutationObserver = observers.createObserver("mutation", () => this.updateAccordionItems());
|
32
|
-
this.appearance = "solid";
|
33
|
-
this.iconPosition = "end";
|
34
|
-
this.iconType = "chevron";
|
35
|
-
this.scale = "m";
|
36
|
-
this.selectionMode = "multiple";
|
37
|
-
}
|
38
|
-
handlePropsChange() {
|
39
|
-
this.updateAccordionItems();
|
40
|
-
}
|
41
|
-
//--------------------------------------------------------------------------
|
42
|
-
//
|
43
|
-
// Lifecycle
|
44
|
-
//
|
45
|
-
//--------------------------------------------------------------------------
|
46
|
-
connectedCallback() {
|
47
|
-
this.mutationObserver?.observe(this.el, { childList: true });
|
48
|
-
this.updateAccordionItems();
|
49
|
-
}
|
50
|
-
disconnectedCallback() {
|
51
|
-
this.mutationObserver?.disconnect();
|
52
|
-
}
|
53
|
-
render() {
|
54
|
-
const transparent = this.appearance === "transparent";
|
55
|
-
return (index.h("div", { key: '1399ab312fad432bde78fdedd0435848b53109ef', class: {
|
56
|
-
[CSS.transparent]: transparent,
|
57
|
-
[CSS.accordion]: !transparent,
|
58
|
-
} }, index.h("slot", { key: '3ab7863d23eabb6c5ce499de42dab74df885ccdd' })));
|
59
|
-
}
|
60
|
-
//--------------------------------------------------------------------------
|
61
|
-
//
|
62
|
-
// Event Listeners
|
63
|
-
//
|
64
|
-
//--------------------------------------------------------------------------
|
65
|
-
updateActiveItemOnChange(event) {
|
66
|
-
this.calciteInternalAccordionChange.emit({
|
67
|
-
requestedAccordionItem: event.detail.requestedAccordionItem,
|
68
|
-
});
|
69
|
-
event.stopPropagation();
|
70
|
-
}
|
71
|
-
//--------------------------------------------------------------------------
|
72
|
-
//
|
73
|
-
// Private Methods
|
74
|
-
//
|
75
|
-
//--------------------------------------------------------------------------
|
76
|
-
updateAccordionItems() {
|
77
|
-
this.el.querySelectorAll("calcite-accordion-item").forEach((item) => {
|
78
|
-
item.iconPosition = this.iconPosition;
|
79
|
-
item.iconType = this.iconType;
|
80
|
-
item.scale = this.scale;
|
81
|
-
});
|
82
|
-
// sync props on items across shadow DOM
|
83
|
-
document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"));
|
84
|
-
}
|
85
|
-
get el() { return index.getElement(this); }
|
86
|
-
static get watchers() { return {
|
87
|
-
"iconPosition": ["handlePropsChange"],
|
88
|
-
"iconType": ["handlePropsChange"],
|
89
|
-
"scale": ["handlePropsChange"],
|
90
|
-
"selectionMode": ["handlePropsChange"]
|
91
|
-
}; }
|
92
|
-
};
|
93
|
-
Accordion.style = CalciteAccordionStyle0;
|
94
|
-
|
95
|
-
exports.calcite_accordion = Accordion;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
export{I as calcite_input_time_picker}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,c as e,h as t,H as c,g as n}from"./p-6eb37ed2.js";import{c as o,d as a}from"./p-f8d23498.js";import{g as r,a as s,t as d,c as l}from"./p-c25e8c35.js";import{C as h}from"./p-8bfa18b7.js";import{g as p}from"./p-27d462c0.js";import{s as m,a as v,c as f}from"./p-3e828614.js";import"./p-1c249530.js";import"./p-4b9b7778.js";import"./p-aaa56cbf.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.12.2
|
11
|
-
*/const g="actions-start",b="actions-end",x="header",u="icon",k="icon--end",y="icon--start",w="section",j="section-toggle",I=class{constructor(t){i(this,t),this.calciteInternalAccordionItemSelect=e(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=e(this,"calciteInternalAccordionItemClose",6),this.storeHeaderEl=i=>{this.headerEl=i},this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){o(this)}componentWillLoad(){m(this)}componentDidLoad(){v(this)}disconnectedCallback(){a(this)}renderActionsStart(){const{el:i}=this;return r(i,g)?t("div",{class:"actions-start"},t("slot",{name:g})):null}renderActionsEnd(){const{el:i}=this;return r(i,b)?t("div",{class:"actions-end"},t("slot",{name:b})):null}render(){const{iconFlipRtl:i}=this,e=s(this.el),n=this.iconStart?t("calcite-icon",{class:{[u]:!0,[y]:!0},flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null,o=this.iconEnd?t("calcite-icon",{class:{[k]:!0,[u]:!0},flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null,{description:a}=this;return t(c,{key:"814d4825cae2104f75b2f9929536082846cf57bd"},t("div",{key:"2db2128ea0666b97849c6dae790540f233c9d0c1",class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},t("div",{key:"64fe888d6f47db3f9338327280b3e321bb770518",class:{[x]:!0,[h.rtl]:"rtl"===e}},this.renderActionsStart(),t("div",{key:"9b76d09efa231d1840c913245832a10bedd8ea4b","aria-controls":w,"aria-expanded":d(this.expanded),class:"header-content",id:j,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},t("div",{key:"59c73bc01a0321f23b296b12fa4bd9476084ce4b",class:"header-container"},n,t("div",{key:"c9d3551a823a31d4cc54934f780272e437f38ef1",class:"header-text"},t("span",{key:"350ea0660f827ced975b326287dc285ad1417b4c",class:"heading"},this.heading),a?t("span",{class:"description"},a):null),o),t("calcite-icon",{key:"497edd46ef65a4ac27a844f7c6c5de5cfb2cb0e7",class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),t("section",{key:"1b7cd480d664d6b3f65c145e19c5866107d19413","aria-labelledby":j,class:"content",id:w},t("slot",{key:"1156f3056966f11ee0836a5185cce700911c8c8b"}))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[e]=i.composedPath(),t=l(this.el,"calcite-accordion");e===t&&(this.determineActiveItem(t.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[e]=i.composedPath(),t=this.el;if(t.parentElement===e)return;const c=l(t,"calcite-accordion");e===c&&(t.iconPosition=c.iconPosition,t.iconType=c.iconType,t.scale=c.scale,i.stopPropagation())}async setFocus(){await f(this),this.headerEl.focus()}determineActiveItem(i,e){switch(i){case"multiple":this.el===e&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===e&&!this.expanded;break;case"single-persist":this.expanded=this.el===e}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return n(this)}};I.style=".icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation:calc(90deg * -1);--calcite-internal-accordion-item-active-icon-rotation:0deg;--calcite-internal-accordion-item-icon-rotation-rtl:90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));border-width:0}.icon-position--start{--calcite-internal-accordion-item-flex-direction:row-reverse;--calcite-internal-accordion-item-icon-spacing-start:0;--calcite-internal-accordion-item-icon-spacing-end:var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction:row;--calcite-internal-accordion-item-icon-spacing-start:var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation:0deg;--calcite-internal-accordion-item-active-icon-rotation:180deg;--calcite-internal-accordion-item-icon-rotation-rtl:0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2))}.header-content,.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, 0.5rem 0.75rem)))}.header{display:flex;align-items:stretch}.header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction)}.header-content:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}.header-content:focus .expand-icon,.header-content:focus .heading,.header-content:hover .expand-icon,.header-content:hover .heading,.header-content:active .expand-icon,.header-content:active .heading{color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start,.actions-end{display:flex;align-items:center}.icon{display:flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:0.25rem}.content{display:none;padding-block-start:0px;text-align:initial}:host(:not(:focus):not(:hover):not([expanded])) .heading{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]){color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_accordion_item}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";function t(e,t,a,s){var p={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return t?(p[a][2]?p[a][2]:p[a][1]).replace("%d",e):(s?p[a][0]:p[a][1]).replace("%d",e)}var a={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};e.locale(a,null,!0);export{a as default}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var s=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(r(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(r(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(r(e)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(r(e)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export{m as default}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as r}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,p){return"néhány másodperc"+(p||e?"":"e")},m:function(r,e,t,p){return"egy perc"+(p||e?"":"e")},mm:function(r,e,t,p){return r+" perc"+(p||e?"":"e")},h:function(r,e,t,p){return"egy "+(p||e?"óra":"órája")},hh:function(r,e,t,p){return r+" "+(p||e?"óra":"órája")},d:function(r,e,t,p){return"egy "+(p||e?"nap":"napja")},dd:function(r,e,t,p){return r+" "+(p||e?"nap":"napja")},M:function(r,e,t,p){return"egy "+(p||e?"hónap":"hónapja")},MM:function(r,e,t,p){return r+" "+(p||e?"hónap":"hónapja")},y:function(r,e,t,p){return"egy "+(p||e?"év":"éve")},yy:function(r,e,t,p){return r+" "+(p||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export{e as default}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as i,h as c,g as t}from"./p-6eb37ed2.js";import{c as n}from"./p-1c249530.js";import"./p-4b9b7778.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.12.2
|
11
|
-
*/const a="accordion",r="accordion--transparent",o=class{constructor(c){e(this,c),this.calciteInternalAccordionChange=i(this,"calciteInternalAccordionChange",6),this.mutationObserver=n("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const e="transparent"===this.appearance;return c("div",{key:"1399ab312fad432bde78fdedd0435848b53109ef",class:{[r]:e,[a]:!e}},c("slot",{key:"3ab7863d23eabb6c5ce499de42dab74df885ccdd"}))}updateActiveItemOnChange(e){this.calciteInternalAccordionChange.emit({requestedAccordionItem:e.detail.requestedAccordionItem}),e.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((e=>{e.iconPosition=this.iconPosition,e.iconType=this.iconType,e.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return t(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};o.style=":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_accordion}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as o}from"./p-6eb37ed2.js";import{p as n}from"./p-c25e8c35.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.12.2
|
11
|
-
*/const e=o;function p(o){return"opened"in o?o.opened:o.open}function r(o){e((()=>{o.transitionEl&&n(o.transitionEl,o.openTransitionProp,(()=>{p(o)?o.onBeforeOpen():o.onBeforeClose()}),(()=>{p(o)?o.onOpen():o.onClose()}))}))}export{r as o}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as i,F as t,g as a}from"./p-6eb37ed2.js";import{c as o,d as r}from"./p-f8d23498.js";import{g as s}from"./p-c25e8c35.js";import{H as c,c as n}from"./p-1b229454.js";import{l}from"./p-b5b66530.js";import{S as d,C as p}from"./p-38a87c63.js";import"./p-1c249530.js";import"./p-4b9b7778.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-0ef9d36b.js";l.deprecated("component",{name:"pick-list-group",removalVersion:3,suggested:"list-item-group"});const m=class{constructor(i){e(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){o(this)}disconnectedCallback(){r(this)}render(){const{el:e,groupTitle:a,headingLevel:o}=this,r=null!==s(e,d.parentItem),l={[p.container]:!0,[p.indented]:r},m=a,b=e.closest("calcite-pick-list")?.headingLevel,f=b?n(b+1):null;return i(t,{key:"ed20e87abe8e3b68153c0e132869953e379e76cd"},m?i(c,{class:p.heading,level:o||f},m):null,i("slot",{key:"cf2218ff15bf2d69ab1710bf7b272d0a32283bba",name:d.parentItem}),i("section",{key:"bbf9c988f97a38d8319feaf544090c35fb388f3e",class:l},i("slot",{key:"1a67fc5febf55333069ddc02577900f5e4e98171"})))}get el(){return a(this)}};m.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-color-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_pick_list_group}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{n}from"./p-304cef31.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.12.2
|
11
|
-
*/function t(n,t,e){if(!n)return;const r=n.getTime(),a=!(t instanceof Date)||r>=t.getTime(),o=!(e instanceof Date)||r<=e.getTime();return a&&o}function e(n,t,e){if(!(n instanceof Date))return null;const r=n.getTime(),a=t instanceof Date&&r<t.getTime(),o=e instanceof Date&&r>e.getTime();return a?t:o?e:n}function r(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),r=new Date(e[0],(e[1]||1)-1,e[2]||1);if(r.setFullYear(e[0]),isNaN(r.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?m(r):r}function a(n,t){if(!t)return null;const{separator:e}=t,r=function(n,t){const{day:e,month:r,year:a}=i(n,t);return{day:parseInt(e),month:parseInt(r)-1,year:parseInt(a)}}(n,t),{day:a,month:s}=r,u=o(r.year,t),c=new Date(u,s,a);c.setFullYear(u);const f=a>0,d=s>-1,D=!isNaN(c.getTime()),y=n.split(e).filter((n=>n)).length>2,l=u.toString().length>0;return f&&d&&D&&y&&l?c:null}function o(n,t){return u(n,t,"read")}function s(n,t){return u(n,t,"write")}function u(n,t,e){return"buddhist"!==t["default-calendar"]?n:n+543*("read"===e?-1:1)}function i(t,e){const{separator:r,unitOrder:a}=e,o=l(a),s=t.split(r).map((t=>n.delocalize(t)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function c(n){if(n instanceof Date){const t=String(n.getMonth()+1).padStart(2,"0"),e=String(n.getDate()).padStart(2,"0");return`${String(n.getFullYear()).padStart(4,"0")}-${t}-${e}`}return""}function f(n){const t=n.split("-");return{day:t[2],month:t[1],year:t[0]}}function d(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function D(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function y(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function l(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function p(n,t){return(n.getTime()-t.getTime())/864e5}function m(n){return n.setHours(23,59,59,999),n}export{c as a,e as b,f as c,r as d,i as e,a as f,p as g,d as h,t as i,l as j,s as k,o as l,y as n,D as p,m as s}
|