@esri/solutions-components 0.10.24 → 0.10.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block_5.cjs.entry.js +5 -7
- package/dist/cjs/{calcite-carousel.cjs.entry.js → calcite-carousel_2.cjs.entry.js} +52 -18
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +106 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +34 -14
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +59 -29
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/{utils-9343bd5b.js → utils-62072741.js} +23 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/components/calcite-carousel-item.js +1 -54
- package/dist/components/calcite-carousel.js +1 -517
- package/dist/{esm/calcite-carousel-item.entry.js → components/carousel-item.js} +28 -9
- package/dist/{esm/calcite-carousel.entry.js → components/carousel.js} +76 -19
- package/dist/components/instant-apps-app-guide.js +184 -0
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export-views.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +3 -5
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +8 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +2 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +3 -3
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +33 -13
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +1 -1
- package/dist/components/instant-apps-social-share2.js +2 -2
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +59 -29
- package/dist/components/utils4.js +22 -1
- package/dist/esm/{ExpandToggle-9289b7ca.js → ExpandToggle-076b4360.js} +1 -1
- package/dist/esm/{ar-8dded5d5.js → ar-3e3c0d14.js} +8 -8
- package/dist/esm/{bg-c1cdf619.js → bg-a872736b.js} +8 -8
- package/dist/esm/{bs-a40506a4.js → bs-fe545c28.js} +8 -8
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{ca-67879a0c.js → ca-8a2abdaa.js} +8 -8
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +4 -4
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu_2.entry.js +3 -3
- package/dist/esm/calcite-action-pad_2.entry.js +6 -6
- package/dist/esm/calcite-action_2.entry.js +6 -6
- package/dist/esm/calcite-alert_5.entry.js +4 -4
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +3 -3
- package/dist/esm/calcite-block_5.entry.js +14 -16
- package/dist/esm/calcite-button.entry.js +5 -5
- package/dist/esm/calcite-card-group.entry.js +1 -1
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-carousel_2.entry.js +500 -0
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip-group.entry.js +1 -1
- package/dist/esm/calcite-chip_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +8 -8
- package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
- package/dist/esm/calcite-dialog.entry.js +5 -5
- package/dist/esm/calcite-dropdown_2.entry.js +3 -3
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter_5.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +4 -4
- package/dist/esm/calcite-icon_2.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +5 -5
- package/dist/esm/calcite-input-text.entry.js +5 -5
- package/dist/esm/{calcite-input-time-picker-37845feb.js → calcite-input-time-picker-2fbabd28.js} +56 -56
- package/dist/esm/calcite-input-time-picker.entry.js +8 -8
- package/dist/esm/calcite-input-time-zone.entry.js +5 -5
- package/dist/esm/calcite-input_2.entry.js +5 -5
- package/dist/esm/calcite-label.entry.js +2 -2
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +3 -3
- package/dist/esm/calcite-menu.entry.js +3 -3
- package/dist/esm/calcite-meter.entry.js +3 -3
- package/dist/esm/calcite-modal_3.entry.js +5 -5
- package/dist/esm/calcite-navigation.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +4 -4
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +3 -3
- package/dist/esm/calcite-pick-list-group.entry.js +1 -1
- package/dist/esm/calcite-pick-list-item.entry.js +3 -3
- package/dist/esm/calcite-pick-list.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +5 -5
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-sheet.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +4 -4
- 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_2.entry.js +1 -1
- package/dist/esm/{cs-b01aecfc.js → cs-f9bfb6dd.js} +8 -8
- package/dist/esm/{da-87ac64be.js → da-0528de8d.js} +8 -8
- package/dist/esm/{date-7a1345c1.js → date-f0c83d13.js} +1 -1
- package/dist/esm/{de-at-2db1a5d5.js → de-at-c7c45014.js} +8 -8
- package/dist/esm/{de-ch-063c0a6b.js → de-ch-e9338f1b.js} +8 -8
- package/dist/esm/{de-0eb6c065.js → de-d149b983.js} +8 -8
- package/dist/esm/{dom-451ed293.js → dom-42a638f6.js} +1 -1
- package/dist/esm/{el-eb29e645.js → el-d86fff8e.js} +8 -8
- package/dist/esm/{en-au-00f884ad.js → en-au-e722c119.js} +8 -8
- package/dist/esm/{en-ca-1e7456d7.js → en-ca-8f38a3b8.js} +8 -8
- package/dist/esm/{en-gb-60a33692.js → en-gb-24dd064c.js} +8 -8
- package/dist/esm/{es-74f8b164.js → es-39a9e113.js} +8 -8
- package/dist/esm/{es-mx-2bfa704a.js → es-mx-fa0cbd42.js} +8 -8
- package/dist/esm/{et-b1a2d978.js → et-51eabe80.js} +8 -8
- package/dist/esm/{fi-70441d5b.js → fi-64ca8666.js} +8 -8
- package/dist/esm/{floating-ui-4b1f5138.js → floating-ui-a14930d0.js} +1 -1
- package/dist/esm/{focusTrapComponent-b9709e71.js → focusTrapComponent-c1def619.js} +1 -1
- package/dist/esm/{form-fa4c471b.js → form-46367137.js} +1 -1
- package/dist/esm/{fr-ch-8faa2fcf.js → fr-ch-6fe6a6e6.js} +8 -8
- package/dist/esm/{fr-cea05ec9.js → fr-e20306bf.js} +8 -8
- package/dist/esm/{he-058ece46.js → he-32ec6cce.js} +8 -8
- package/dist/esm/{hi-163a268e.js → hi-da2b085c.js} +8 -8
- package/dist/esm/{hr-2b69b2ad.js → hr-5a52222a.js} +8 -8
- package/dist/esm/{hu-e46e0cb6.js → hu-d3bbacef.js} +8 -8
- package/dist/esm/{id-ebccdbbb.js → id-dcdac250.js} +8 -8
- package/dist/esm/instant-apps-app-guide.entry.js +102 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-export-views.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
- package/dist/esm/instant-apps-language-translator.entry.js +34 -14
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +59 -29
- package/dist/esm/{it-813be6d0.js → it-360f430f.js} +8 -8
- package/dist/esm/{it-ch-bc95119e.js → it-ch-0ec68776.js} +8 -8
- package/dist/esm/{ja-3488d28c.js → ja-a95cae4c.js} +8 -8
- package/dist/esm/{ko-54faa268.js → ko-f0edd78f.js} +8 -8
- package/dist/esm/{label-414f1003.js → label-f2ec1100.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-337dc231.js → locale-a53a7bc6.js} +1 -1
- package/dist/esm/{lt-8c773940.js → lt-bff432da.js} +8 -8
- package/dist/esm/{lv-4882a326.js → lv-0c7edf32.js} +8 -8
- package/dist/esm/{mk-d045a827.js → mk-876446b8.js} +8 -8
- package/dist/esm/{nb-529fd6f8.js → nb-25537e87.js} +8 -8
- package/dist/esm/{nl-ebd398ac.js → nl-8be84da3.js} +8 -8
- package/dist/esm/{openCloseComponent-80c6ee4b.js → openCloseComponent-9d44719e.js} +1 -1
- package/dist/esm/{pl-4cd334ed.js → pl-8d4fe5a7.js} +8 -8
- package/dist/esm/{pt-br-29226fc3.js → pt-br-3015e62b.js} +8 -8
- package/dist/esm/{pt-be0c86a5.js → pt-dcc887b4.js} +8 -8
- package/dist/esm/{ro-6555f5dd.js → ro-b973c654.js} +8 -8
- package/dist/esm/{ru-67b5c59c.js → ru-59a7f10b.js} +8 -8
- package/dist/esm/{shared-list-render-c8da5fde.js → shared-list-render-097ee366.js} +1 -1
- package/dist/esm/{sk-81f19081.js → sk-a00e5b97.js} +8 -8
- package/dist/esm/{sl-4b892d99.js → sl-55c8a748.js} +8 -8
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/{sr-6cb6f797.js → sr-e4fc3293.js} +8 -8
- package/dist/esm/{sv-aacab364.js → sv-f0782d2a.js} +8 -8
- package/dist/esm/{t9n-7d4462c0.js → t9n-b33c486a.js} +1 -1
- package/dist/esm/{th-6b423678.js → th-d2abb499.js} +8 -8
- package/dist/esm/{time-b0bba3f9.js → time-f99aceff.js} +1 -1
- package/dist/esm/{tr-0e2b854e.js → tr-512413e1.js} +8 -8
- package/dist/esm/{uk-af0a30cc.js → uk-79fe44f1.js} +8 -8
- package/dist/esm/{utils-6493bff2.js → utils-6f13e31e.js} +22 -1
- package/dist/esm/{utils-37bc2853.js → utils-d67a6d71.js} +1 -1
- package/dist/esm/{vi-62071c6f.js → vi-53b51e7a.js} +8 -8
- package/dist/esm/{zh-cn-8f53db2f.js → zh-cn-7d19a53a.js} +8 -8
- package/dist/esm/{zh-hk-a8c68b9c.js → zh-hk-4fb6c3eb.js} +8 -8
- package/dist/esm/{zh-tw-3006115d.js → zh-tw-6a5d2c2b.js} +8 -8
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +75 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +16 -0
- package/dist/solutions-components/{p-bb9492ed.js → p-022d51db.js} +1 -1
- package/dist/solutions-components/{p-beba6703.js → p-03f3cf77.js} +1 -1
- package/dist/solutions-components/{p-3955461a.js → p-03ffbb1b.js} +1 -1
- package/dist/solutions-components/{p-db2c82ad.js → p-0a1a9ff1.js} +1 -1
- package/dist/solutions-components/p-0a64be62.js +6 -0
- package/dist/solutions-components/{p-a0ef9cee.js → p-0ded20f0.js} +1 -1
- package/dist/solutions-components/{p-abc30e04.js → p-12be6545.js} +1 -1
- package/dist/solutions-components/{p-6384a9a5.entry.js → p-1692858b.entry.js} +1 -1
- package/dist/solutions-components/{p-4182a628.js → p-174aa4da.js} +3 -3
- package/dist/solutions-components/{p-981afe9e.entry.js → p-1826154b.entry.js} +1 -1
- package/dist/solutions-components/{p-109cabd8.entry.js → p-18307307.entry.js} +1 -1
- package/dist/solutions-components/{p-593a6f17.js → p-1a047db6.js} +1 -1
- package/dist/solutions-components/{p-d1371897.js → p-1df2d94d.js} +1 -1
- package/dist/solutions-components/{p-8badcaf5.entry.js → p-216ae423.entry.js} +1 -1
- package/dist/solutions-components/{p-7586e1de.entry.js → p-219f0273.entry.js} +1 -1
- package/dist/solutions-components/{p-ae8ed06a.entry.js → p-283e344a.entry.js} +1 -1
- package/dist/solutions-components/{p-7f090468.entry.js → p-2a059548.entry.js} +1 -1
- package/dist/solutions-components/{p-118e1989.entry.js → p-2bb9b365.entry.js} +1 -1
- package/dist/solutions-components/{p-fd730974.js → p-2caf1f94.js} +2 -2
- package/dist/solutions-components/{p-92de7cd3.entry.js → p-2cb47eff.entry.js} +2 -2
- package/dist/solutions-components/{p-e5736093.entry.js → p-2d2b06db.entry.js} +1 -1
- package/dist/solutions-components/{p-4d97016e.js → p-2d2dcf8a.js} +1 -1
- package/dist/solutions-components/{p-472be784.js → p-2d5e428d.js} +1 -1
- package/dist/solutions-components/{p-89ddc916.js → p-2e7d005f.js} +1 -1
- package/dist/solutions-components/{p-ef360459.entry.js → p-3016bf77.entry.js} +1 -1
- package/dist/solutions-components/{p-a2d4c97e.js → p-3244e59a.js} +2 -2
- package/dist/solutions-components/{p-54fa7a94.js → p-365169c2.js} +1 -1
- package/dist/solutions-components/{p-e013e797.js → p-372e4640.js} +1 -1
- package/dist/solutions-components/p-3d6f8c9e.entry.js +29 -0
- package/dist/solutions-components/{p-458a3f01.entry.js → p-3de85f54.entry.js} +1 -1
- package/dist/solutions-components/{p-5fe92f6e.entry.js → p-3e9a487b.entry.js} +1 -1
- package/dist/solutions-components/{p-2756e4ac.entry.js → p-42710186.entry.js} +1 -1
- package/dist/solutions-components/{p-16d721ef.entry.js → p-44270ade.entry.js} +1 -1
- package/dist/solutions-components/{p-d6c50190.entry.js → p-47398e76.entry.js} +1 -1
- package/dist/solutions-components/{p-20393dcf.entry.js → p-4881885b.entry.js} +3 -3
- package/dist/solutions-components/{p-5a76a4c8.entry.js → p-496b7a1f.entry.js} +1 -1
- package/dist/solutions-components/{p-89f14b8a.entry.js → p-4aafcac7.entry.js} +1 -1
- package/dist/solutions-components/{p-5d4efa42.entry.js → p-4cfe3d80.entry.js} +1 -1
- package/dist/solutions-components/{p-19697807.entry.js → p-4feaf7db.entry.js} +1 -1
- package/dist/solutions-components/{p-c8325ead.entry.js → p-50323300.entry.js} +1 -1
- package/dist/solutions-components/{p-f4e30ab2.js → p-50ab7903.js} +1 -1
- package/dist/solutions-components/{p-960a4993.entry.js → p-50c2d3e5.entry.js} +1 -1
- package/dist/solutions-components/{p-33fe9a28.js → p-50e2a33b.js} +1 -1
- package/dist/solutions-components/{p-6e0b76ce.js → p-51abfcb7.js} +1 -1
- package/dist/solutions-components/{p-1a7c4e9a.js → p-524a996f.js} +1 -1
- package/dist/solutions-components/{p-00cfce5b.entry.js → p-54879c84.entry.js} +1 -1
- package/dist/solutions-components/{p-8ae73529.entry.js → p-5550f101.entry.js} +2 -2
- package/dist/solutions-components/{p-040b6e44.entry.js → p-5714f5ca.entry.js} +1 -1
- package/dist/solutions-components/{p-67392838.entry.js → p-57be85fb.entry.js} +1 -1
- package/dist/solutions-components/{p-48c58b28.js → p-58d8ee47.js} +1 -1
- package/dist/solutions-components/{p-71c0a413.js → p-5959580d.js} +1 -1
- package/dist/solutions-components/{p-acf135cc.js → p-59695ccc.js} +1 -1
- package/dist/solutions-components/{p-116927af.entry.js → p-59b3e946.entry.js} +3 -3
- package/dist/solutions-components/{p-9c6f2672.entry.js → p-5a997dc9.entry.js} +1 -1
- package/dist/solutions-components/{p-c58ec2d0.js → p-5ba9df82.js} +3 -3
- package/dist/solutions-components/{p-78c438c0.entry.js → p-5d398871.entry.js} +1 -1
- package/dist/solutions-components/{p-5d8a5e53.entry.js → p-5d58d70c.entry.js} +1 -1
- package/dist/solutions-components/{p-4336e44a.js → p-62dadb51.js} +1 -1
- package/dist/solutions-components/{p-981ab7fc.entry.js → p-62ed6a7a.entry.js} +1 -1
- package/dist/solutions-components/{p-ea119eee.js → p-63f9004a.js} +1 -1
- package/dist/solutions-components/{p-b955a19b.entry.js → p-64906bb5.entry.js} +2 -2
- package/dist/solutions-components/{p-f7680693.js → p-65fe42ef.js} +1 -1
- package/dist/solutions-components/{p-441f1992.js → p-66cee72b.js} +1 -1
- package/dist/solutions-components/{p-da6e25cb.entry.js → p-6b1d1546.entry.js} +1 -1
- package/dist/solutions-components/{p-f14d11f1.js → p-6b21efce.js} +1 -1
- package/dist/solutions-components/{p-a8d4a522.entry.js → p-6cf1225a.entry.js} +1 -1
- package/dist/solutions-components/{p-a9f65057.entry.js → p-6d4db88b.entry.js} +8 -2
- package/dist/solutions-components/{p-c3782a7e.entry.js → p-6d894d47.entry.js} +1 -1
- package/dist/solutions-components/{p-26a3ba5e.entry.js → p-6e0439fa.entry.js} +1 -1
- package/dist/solutions-components/{p-16261018.js → p-6e118057.js} +2 -2
- package/dist/solutions-components/{p-0bd7752a.entry.js → p-6f594492.entry.js} +2 -2
- package/dist/solutions-components/{p-30903105.entry.js → p-70f2898c.entry.js} +1 -1
- package/dist/solutions-components/p-72bce122.entry.js +6 -0
- package/dist/solutions-components/{p-ddc97e93.entry.js → p-72ee63b0.entry.js} +1 -1
- package/dist/solutions-components/{p-24192cfe.js → p-754a5334.js} +1 -1
- package/dist/solutions-components/{p-fbf86656.entry.js → p-76efd680.entry.js} +1 -1
- package/dist/solutions-components/{p-5c0d42e9.entry.js → p-7758a533.entry.js} +1 -1
- package/dist/solutions-components/{p-c1242d4b.js → p-7a820f38.js} +1 -1
- package/dist/solutions-components/{p-a68f4775.entry.js → p-7b122a6e.entry.js} +1 -1
- package/dist/solutions-components/{p-3fb350ea.js → p-7e762fa7.js} +1 -1
- package/dist/solutions-components/{p-004d601f.entry.js → p-7f147e8b.entry.js} +1 -1
- package/dist/solutions-components/{p-41744516.entry.js → p-82185ebf.entry.js} +1 -1
- package/dist/solutions-components/{p-a16449b2.entry.js → p-827037ce.entry.js} +1 -1
- package/dist/solutions-components/{p-8419b5a1.entry.js → p-88c6ece3.entry.js} +1 -1
- package/dist/solutions-components/{p-cba777d2.js → p-8a683cdc.js} +1 -1
- package/dist/solutions-components/{p-42552409.js → p-8d453a3a.js} +1 -1
- package/dist/solutions-components/{p-886fbbe3.entry.js → p-8ef003ec.entry.js} +1 -1
- package/dist/solutions-components/p-8fb651e5.entry.js +6 -0
- package/dist/solutions-components/{p-4a35785b.js → p-92008b90.js} +1 -1
- package/dist/solutions-components/{p-203b4081.js → p-94397114.js} +1 -1
- package/dist/solutions-components/{p-50203a2d.entry.js → p-94805d7f.entry.js} +1 -1
- package/dist/solutions-components/p-94c518ff.entry.js +6 -0
- package/dist/solutions-components/{p-c5520bba.js → p-97aa6766.js} +1 -1
- package/dist/solutions-components/{p-2afb3a2b.js → p-984ce9da.js} +1 -1
- package/dist/solutions-components/{p-96919110.js → p-99e6cb74.js} +1 -1
- package/dist/solutions-components/{p-075a3c9d.entry.js → p-9d12b3f1.entry.js} +1 -1
- package/dist/solutions-components/{p-ff96d7ee.entry.js → p-9ee72dba.entry.js} +3 -3
- package/dist/solutions-components/{p-86ca6cfe.entry.js → p-9f3aebd0.entry.js} +1 -1
- package/dist/solutions-components/p-a1093fee.entry.js +6 -0
- package/dist/solutions-components/{p-bc86c87d.entry.js → p-a2a2c6a2.entry.js} +2 -2
- package/dist/solutions-components/{p-b9eefee6.entry.js → p-a2dbc38b.entry.js} +2 -2
- package/dist/solutions-components/{p-f4d6771a.js → p-a4255b97.js} +1 -1
- package/dist/solutions-components/{p-6518727d.js → p-a4e73041.js} +1 -1
- package/dist/solutions-components/{p-6e3f1d71.js → p-a5fc6ab7.js} +1 -1
- package/dist/solutions-components/{p-25ee25ea.entry.js → p-a60a2c8b.entry.js} +2 -2
- package/dist/solutions-components/{p-254f6e23.entry.js → p-a6a0df5c.entry.js} +1 -1
- package/dist/solutions-components/p-a7395caf.js +6 -0
- package/dist/solutions-components/{p-8eacc640.js → p-a7761371.js} +1 -1
- package/dist/solutions-components/{p-bdc425fc.js → p-a8b70e9a.js} +1 -1
- package/dist/solutions-components/{p-728ec094.entry.js → p-a8d83bc3.entry.js} +1 -1
- package/dist/solutions-components/p-aa36f70e.entry.js +6 -0
- package/dist/solutions-components/{p-57b673e2.js → p-ac92679c.js} +1 -1
- package/dist/solutions-components/{p-dbcfdc6d.entry.js → p-ad441ffa.entry.js} +1 -1
- package/dist/solutions-components/{p-01510268.entry.js → p-add869b6.entry.js} +1 -1
- package/dist/solutions-components/{p-9232245b.entry.js → p-b310402f.entry.js} +1 -1
- package/dist/solutions-components/{p-996daf05.entry.js → p-b4d708cd.entry.js} +1 -1
- package/dist/solutions-components/{p-6f39a13f.js → p-b7e63ac2.js} +1 -1
- package/dist/solutions-components/{p-c26ac7d9.entry.js → p-b9b2f7a9.entry.js} +1 -1
- package/dist/solutions-components/{p-2fafe489.entry.js → p-bb040eab.entry.js} +1 -1
- package/dist/solutions-components/{p-c5d26e3a.js → p-bcc2d4ff.js} +1 -1
- package/dist/solutions-components/{p-8846430d.entry.js → p-bcce9d28.entry.js} +3 -3
- package/dist/solutions-components/{p-b6b4c707.entry.js → p-c60c5991.entry.js} +1 -1
- package/dist/solutions-components/{p-ec59efb8.js → p-c6ef8cca.js} +1 -1
- package/dist/solutions-components/{p-7b63f249.entry.js → p-c718930a.entry.js} +1 -1
- package/dist/solutions-components/{p-d8a54947.js → p-c94b0e1a.js} +1 -1
- package/dist/solutions-components/{p-e5ec69a4.js → p-cba6953c.js} +1 -1
- package/dist/solutions-components/{p-976ad17d.entry.js → p-d00ca970.entry.js} +1 -1
- package/dist/solutions-components/p-d2033cfa.entry.js +6 -0
- package/dist/solutions-components/{p-4993c7b1.js → p-d2ee8b82.js} +1 -1
- package/dist/solutions-components/{p-228c3bf3.entry.js → p-d4ab82e3.entry.js} +1 -1
- package/dist/solutions-components/{p-8f840208.entry.js → p-d7711a84.entry.js} +1 -1
- package/dist/solutions-components/{p-b7a49673.entry.js → p-d7871f0d.entry.js} +1 -1
- package/dist/solutions-components/{p-1794a1aa.entry.js → p-dc264663.entry.js} +1 -1
- package/dist/solutions-components/{p-2ace1fe7.entry.js → p-dcaae1e9.entry.js} +2 -2
- package/dist/solutions-components/{p-7f31be6a.js → p-dcebc541.js} +1 -1
- package/dist/solutions-components/{p-faf7740b.entry.js → p-de3719f2.entry.js} +1 -1
- package/dist/solutions-components/{p-32cf5a71.entry.js → p-e068dfb9.entry.js} +1 -1
- package/dist/solutions-components/{p-1cfc581f.js → p-e0b65115.js} +1 -1
- package/dist/solutions-components/{p-9901e971.js → p-e0fd4006.js} +1 -1
- package/dist/solutions-components/{p-bd3c130b.entry.js → p-e26cf5f5.entry.js} +1 -1
- package/dist/solutions-components/{p-e3bb02cc.js → p-e6798e38.js} +1 -1
- package/dist/solutions-components/{p-546a2802.js → p-ea8d2558.js} +1 -1
- package/dist/solutions-components/{p-d726e895.js → p-ef187f1d.js} +1 -1
- package/dist/solutions-components/{p-b4d92441.entry.js → p-efca5cea.entry.js} +1 -1
- package/dist/solutions-components/{p-ab8f4820.entry.js → p-f4360468.entry.js} +2 -2
- package/dist/solutions-components/{p-35f33a32.js → p-f4d7f757.js} +1 -1
- package/dist/solutions-components/{p-2b212cd0.entry.js → p-f72fa647.entry.js} +1 -1
- package/dist/solutions-components/{p-328fbcb5.js → p-f7e45464.js} +1 -1
- package/dist/solutions-components/{p-4f4f00a9.js → p-f7ffcd95.js} +1 -1
- package/dist/solutions-components/{p-30b555dc.entry.js → p-fa7c50f8.entry.js} +1 -1
- package/dist/solutions-components/{p-fb95ec69.entry.js → p-fd9fb1ba.entry.js} +1 -1
- package/dist/solutions-components/{p-9957c7b8.entry.js → p-fdb201ff.entry.js} +1 -1
- package/dist/solutions-components/{p-b3b042df.js → p-fe0add26.js} +1 -1
- package/dist/solutions-components/{p-3f6d5f14.entry.js → p-ff105078.entry.js} +1 -1
- package/dist/solutions-components/{p-451b483d.entry.js → p-ff639390.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/preact.d.ts +2 -0
- package/package.json +2 -2
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +0 -46
- package/dist/solutions-components/p-27a25ece.entry.js +0 -6
- package/dist/solutions-components/p-2c00221b.js +0 -6
- package/dist/solutions-components/p-41c34a67.js +0 -6
- package/dist/solutions-components/p-72d0eda0.entry.js +0 -29
- package/dist/solutions-components/p-743ad3a7.entry.js +0 -6
- package/dist/solutions-components/p-93d8ef73.entry.js +0 -6
- package/dist/solutions-components/p-a0b62b46.entry.js +0 -6
- package/dist/solutions-components/p-aef41a6d.entry.js +0 -11
- package/dist/solutions-components/p-af8a7aff.entry.js +0 -6
@@ -404,7 +404,7 @@ const InstantAppsExport = class {
|
|
404
404
|
render() {
|
405
405
|
const mode = this.mode === 'popover' ? this.renderPopover() : this.renderPanel();
|
406
406
|
const compass = this.renderCompass();
|
407
|
-
return (h(Host, { key: '
|
407
|
+
return (h(Host, { key: 'fb3a0e79a4cdf4d6424677930ef57487a49f323e' }, h("div", { key: 'def184b77f3710ae51f32a094ff3c7e8bc44f648', class: this.baseClass, onMouseEnter: this.handleWidgetCreation.bind(this), onFocusin: this.handleWidgetCreation.bind(this) }, mode, h("div", { key: '5fb0360e9fcbc112e640e1c8c877cfad59cadd14', class: CSS.hidden }, compass))));
|
408
408
|
}
|
409
409
|
renderPopover() {
|
410
410
|
var _a, _b, _c;
|
@@ -84,7 +84,7 @@ const InstantAppsHeader = class {
|
|
84
84
|
const title = this.renderTitle();
|
85
85
|
const headerContentClass = this.headerAlignment === 'right' || this.headerAlignment === 'center' ? CSS.headerContent.concat(' ', CSS.alignment[this.headerAlignment]) : CSS.headerContent;
|
86
86
|
const fontFamily = getFontFamily(this.fontFamily);
|
87
|
-
return (h(Host, { key: '
|
87
|
+
return (h(Host, { key: 'f2d1760c4a1345ef24c913a24f95691d0de6867d' }, this.customHeaderHtml ? ([h("style", null, this.customHeaderCss), h("div", { id: "customHeader", innerHTML: this.customHeaderHtml })]) : (h("header", { class: `${CSS.base}${this.dir === 'rtl' ? ` ${CSS.flipRtl}` : ''}${this.logoImage && !hasEmptyLogo ? ` ${CSS.logoHeight}${this.logoScale}` : ` ${CSS.standardHeight}`}`, style: { backgroundColor: this.backgroundColor, fontFamily } }, h("div", { class: CSS.headerContainer }, h("span", { class: headerContentClass }, logo, title, this.infoButton ? (h("calcite-button", { style: { '--calcite-color-text-1': this.textColor }, id: "infoButton", alignment: "start", appearance: "transparent", kind: "neutral", "icon-start": "information-f", scale: "s", label: this.infoTitleText, title: this.infoTitleText, onClick: this.toggleInfo.bind(this) })) : null), h("div", { class: CSS.actionsEndContainer }, h("slot", { name: "actions-end" })))))));
|
88
88
|
}
|
89
89
|
renderLogo(hasEmptyLogo) {
|
90
90
|
return hasEmptyLogo ? ('') : this.logoImage && this.logoLink ? (h("a", { href: `${this.logoLink}`, target: "_blank" }, h("img", { class: `${CSS.logoScale}${this.logoScale}`, src: `${this.logoImage}`, alt: `${this.logoImageAltText}` }))) : this.logoImage ? (h("img", { class: `${CSS.logoScale}${this.logoScale}`, src: `${this.logoImage}`, alt: this.logoImageAltText })) : ('');
|
@@ -1169,6 +1169,12 @@ const InstantAppsInteractiveLegendClassic = class {
|
|
1169
1169
|
handleFilterModeChange() {
|
1170
1170
|
handleFilterChange(this.filterMode, this.legendvm.view);
|
1171
1171
|
}
|
1172
|
+
async connectedCallback() {
|
1173
|
+
if (this.handles)
|
1174
|
+
return;
|
1175
|
+
const [Handles] = await loadModules(['esri/core/Handles']);
|
1176
|
+
this.handles = new Handles();
|
1177
|
+
}
|
1172
1178
|
async componentWillLoad() {
|
1173
1179
|
const observer = new MutationObserver(() => {
|
1174
1180
|
forceUpdate(this.el);
|
@@ -1176,9 +1182,8 @@ const InstantAppsInteractiveLegendClassic = class {
|
|
1176
1182
|
observer.observe(this.el, {
|
1177
1183
|
attributes: true,
|
1178
1184
|
});
|
1179
|
-
const [intl, reactiveUtils
|
1185
|
+
const [intl, reactiveUtils] = await loadModules(['esri/intl', 'esri/core/reactiveUtils']);
|
1180
1186
|
this.reactiveUtils = reactiveUtils;
|
1181
|
-
this.handles = new Handles();
|
1182
1187
|
this.intl = intl;
|
1183
1188
|
}
|
1184
1189
|
async componentDidLoad() {
|
@@ -1457,7 +1462,7 @@ const InstantAppsInteractiveLegendClassic = class {
|
|
1457
1462
|
const interactive = parentLegendElementInfoData && !(elementInfo === null || elementInfo === void 0 ? void 0 : elementInfo.value) ? false : isInteractive;
|
1458
1463
|
return interactive ? (
|
1459
1464
|
// Regular LegendElementInfo
|
1460
|
-
h("button", { onClick: this.applyFilter(elementInfo, layer, infoIndex, parentLegendElementInfo), class: `${CSS.layerRow} ${CSS.interactiveLayerRow}${selected ? ` ${CSS.infoSelected}` : ''}` }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || ''), this.featureCount ? (h("instant-apps-interactive-legend-count", { class: getTheme(this.el), categoryId: parentLegendElementInfoData ? legendElement.title : (_b = elementInfo.label) !== null && _b !== void 0 ? _b : layer === null || layer === void 0 ? void 0 : layer.id, activeLayerInfo: activeLayerInfo, legendvm: this.legendvm, messages: this.messages, selected: selected, legendElement: legendElement, infoIndex: infoIndex })) : null)) : (h("div", { class: CSS.layerRow }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || '')));
|
1465
|
+
h("button", { onClick: this.applyFilter(elementInfo, layer, infoIndex, parentLegendElementInfo), class: `${CSS.layerRow} ${CSS.interactiveLayerRow}${selected ? ` ${CSS.infoSelected}` : ''}` }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || ''), this.featureCount ? (h("instant-apps-interactive-legend-count", { class: getTheme(this.el), categoryId: parentLegendElementInfoData ? legendElement.title : ((_b = elementInfo.label) !== null && _b !== void 0 ? _b : layer === null || layer === void 0 ? void 0 : layer.id), activeLayerInfo: activeLayerInfo, legendvm: this.legendvm, messages: this.messages, selected: selected, legendElement: legendElement, infoIndex: infoIndex })) : null)) : (h("div", { class: CSS.layerRow }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || '')));
|
1461
1466
|
}
|
1462
1467
|
renderImage(elementInfo, layer, isStretched) {
|
1463
1468
|
const { label, src, opacity } = elementInfo;
|
@@ -123,7 +123,7 @@ const InstantAppsInteractiveLegendLayerElementCaption = class {
|
|
123
123
|
const { expanded } = this;
|
124
124
|
const expandCollapseText = expanded ? (_a = this.messages) === null || _a === void 0 ? void 0 : _a.collapse : (_b = this.messages) === null || _b === void 0 ? void 0 : _b.expand;
|
125
125
|
const isChild = this.isChild ? ' instant-apps-interactive-legend__heading-text--group-item' : '';
|
126
|
-
return (h("header", { key: '
|
126
|
+
return (h("header", { key: 'b4080c1d9a4a6b95a1e389156d94661a937c0e6f', class: `${CSS.interacitveLegendHeader} ${getTheme(this.el)}` }, h("calcite-action", { key: '11c804cbb23cdf359589309d40a8f3550f651802', onClick: this.toggleExpanded(), icon: expanded ? 'chevron-down' : 'chevron-up', appearance: "transparent", text: expandCollapseText, label: expandCollapseText, scale: "s" }), h("span", { key: '27f26720b7a189ea36873e4a97063579a6f52e20' }, h("span", { key: '143092f1dab8ebd2a0c8e9efbed4b7cba4267ebf', class: CSS.headerActionContainer }, h("h3", { key: '099fb8082615f356a1d1ecd374800dbc83baf015', class: `${CSS.header} ${CSS.label}${isChild}`, title: (_c = this.activeLayerInfo) === null || _c === void 0 ? void 0 : _c.title }, (_d = this.activeLayerInfo) === null || _d === void 0 ? void 0 : _d.title)), this.featureCount && isInteractive ? (h("instant-apps-interactive-legend-count", { activeLayerInfo: this.activeLayerInfo, "show-total": true, messages: this.messages, legendvm: this.legendvm })) : null)));
|
127
127
|
}
|
128
128
|
toggleExpanded() {
|
129
129
|
return () => {
|
@@ -36,9 +36,9 @@ const InstantAppsInteractiveLegendGroupLegendElementCaption = class {
|
|
36
36
|
const { expanded } = this;
|
37
37
|
const expandCollapseText = expanded ? (_a = this.messages) === null || _a === void 0 ? void 0 : _a.collapse : (_b = this.messages) === null || _b === void 0 ? void 0 : _b.expand;
|
38
38
|
const isChild = this.isChild ? ' instant-apps-interactive-legend__heading-text--group-item' : '';
|
39
|
-
return (h("header", { key: '
|
39
|
+
return (h("header", { key: 'f7fc15a482577d3dc46bf2c75a7e3349d7565654', class: `${CSS.interacitveLegendHeader} ${getTheme(this.el)}`, style: {
|
40
40
|
borderLeft: '1px solid var(--calcite-color-border-3)',
|
41
|
-
} }, h("span", { key: '
|
41
|
+
} }, h("span", { key: 'e8652d3efbba23460e516c7a482b9c58711bfd6e' }, h("span", { key: '0b3aa10dd2da8634101fca455b5a611f6d3e4436', class: CSS.headerActionContainer }, h("calcite-action", { key: '3f311642dd154822d105fa5ecd21bd5cfe7dcf0c', onClick: this.toggleExpanded(), icon: expanded ? 'chevron-down' : 'chevron-up', appearance: "transparent", text: expandCollapseText, label: expandCollapseText, scale: "s" }), h("h3", { key: '0d7eb0a5958b4f661772f59faf287836818aaeeb', class: `${CSS.header} ${CSS.label}${isChild}`, title: (_c = this.activeLayerInfo) === null || _c === void 0 ? void 0 : _c.title }, (_d = this.activeLayerInfo) === null || _d === void 0 ? void 0 : _d.title)), this.featureCount && isInteractive ? (h("instant-apps-interactive-legend-count", { activeLayerInfo: this.activeLayerInfo, "show-total": true, messages: this.messages, legendvm: this.legendvm })) : null)));
|
42
42
|
}
|
43
43
|
toggleExpanded() {
|
44
44
|
return () => {
|
@@ -41,9 +41,9 @@ const InstantAppsInteractiveLegendGroupLegendElement = class {
|
|
41
41
|
});
|
42
42
|
}
|
43
43
|
render() {
|
44
|
-
return (h("div", { key: '
|
44
|
+
return (h("div", { key: 'ab9a4911afa5f1021f3270c4fec409a708e2ec51', style: {
|
45
45
|
borderLeft: '1px solid var(--calcite-color-border-3)',
|
46
|
-
}, class: `${CSS$4.service} ${CSS$4.groupLayer}` }, h("instant-apps-interactive-legend-layer-element-caption", { key: '
|
46
|
+
}, class: `${CSS$4.service} ${CSS$4.groupLayer}` }, h("instant-apps-interactive-legend-layer-element-caption", { key: 'bc80abe473c1b47920a78b072033d5b214f7822c', ref: node => (this.layerCaption = node), class: getTheme(this.el), legendvm: this.legendvm, "feature-count": this.featureCount, activeLayerInfo: this.activeLayerInfo, messages: this.messages, isChild: this.isChild }), h("div", { key: 'cf6dc1620eb0a95430129b9d414a9f6b893b61c2', class: `${CSS$4.groupContent} ${this.expanded === false ? 'hide' : 'show'}` }, h("slot", { key: 'f346b52020e3cf4e3a072fdfa17a3762676aba53', name: "content" }))));
|
47
47
|
}
|
48
48
|
get el() { return getElement(this); }
|
49
49
|
};
|
@@ -81,9 +81,9 @@ const InstantAppsInteractiveLegendLayerElement = class {
|
|
81
81
|
render() {
|
82
82
|
var _a, _b;
|
83
83
|
const layerClasses = !!this.activeLayerInfo.parent ? ` ${CSS$3.groupLayerChild}` : '';
|
84
|
-
return (h("div", { key: '
|
84
|
+
return (h("div", { key: '45305a415db8ba0a08ab69de820ff6b8711e1cee', style: {
|
85
85
|
borderLeft: '1px solid var(--calcite-color-border-3)',
|
86
|
-
}, class: `${CSS$3.service}${layerClasses}`, tabIndex: 0 }, h("instant-apps-interactive-legend-layer-element-caption", { key: '
|
86
|
+
}, class: `${CSS$3.service}${layerClasses}`, tabIndex: 0 }, h("instant-apps-interactive-legend-layer-element-caption", { key: '7babce8571540883bca9e0ff07c0a152cbb30fbb', ref: node => (this.layerCaption = node), legendvm: this.legendvm, "feature-count": this.featureCount, activeLayerInfo: this.activeLayerInfo, messages: this.messages, isChild: !!this.isChild, class: getTheme(this.el) }), h("div", { key: 'c021d9c441c407d5fac6f246eb9f4b6ce76bcaa5', id: `${(_b = (_a = this.activeLayerInfo) === null || _a === void 0 ? void 0 : _a.layer) === null || _b === void 0 ? void 0 : _b.id}-legend-layer`, class: `${CSS$3.layer}${this.expanded === false ? ' hide' : ' show'}` }, h("slot", { key: '761834066d924654c87a39601c1670625c88d863', name: "content" }))));
|
87
87
|
}
|
88
88
|
get el() { return getElement(this); }
|
89
89
|
};
|
@@ -132,7 +132,7 @@ const InstantAppsInteractiveLegendLegendElement = class {
|
|
132
132
|
const expandState = relationshipRampExpandStates[this.activeLayerInfo.layer.id];
|
133
133
|
expanded = expandState;
|
134
134
|
}
|
135
|
-
return (h("div", { key: '
|
135
|
+
return (h("div", { key: 'cd76a15dfd77c630708e61535a4d22d66385a4bf', class: `${tableClass}${tableClasses}${nonInteractiveClass}${nestedUniqueSymbolClass}` }, h("div", { key: '24eb28f5fa505d1d4471a750b5273b34af2f3428', id: `${(_g = (_f = this.activeLayerInfo) === null || _f === void 0 ? void 0 : _f.layer) === null || _g === void 0 ? void 0 : _g.id}-legend-element-caption`, class: `${this.isRelationshipRamp || (!this.titleText && !this.zoomTo && singleSymbol) ? 'hide' : 'show'}` }, h("instant-apps-interactive-legend-legend-element-caption", { key: '5ffd04439d1c99251e358afcf077628a780c8e40', ref: node => (this.legendLayerCaption = node), legendvm: this.legendvm, activeLayerInfo: this.activeLayerInfo, layer: this.activeLayerInfo.layer, titleText: this.titleText, legendElement: this.legendElement, legendElementIndex: this.legendElementIndex, zoomTo: this.zoomTo, isInteractive: this.isInteractive, messages: this.messages })), h("div", { key: "content", id: `${(_j = (_h = this.activeLayerInfo) === null || _h === void 0 ? void 0 : _h.layer) === null || _j === void 0 ? void 0 : _j.id}-legend-element-content-${this.legendElementIndex}`, class: `${expanded === false ? 'hide' : 'show'}` }, h("slot", { key: 'c95e14737a003f85f7c494e6d30d9f946bef464a', name: "content" }))));
|
136
136
|
}
|
137
137
|
};
|
138
138
|
InstantAppsInteractiveLegendLegendElement.style = InstantAppsInteractiveLegendLegendElementStyle0;
|
@@ -263,7 +263,7 @@ const InstantAppsInteractiveLegendRelationship = class {
|
|
263
263
|
}
|
264
264
|
render() {
|
265
265
|
var _a, _b;
|
266
|
-
return (h("div", { key: '
|
266
|
+
return (h("div", { key: '8b7054296e51e501b5378804dc6055acd113fbfa', ref: (node) => {
|
267
267
|
const styleSheet = node === null || node === void 0 ? void 0 : node.querySelector('relationshipStyles');
|
268
268
|
if (!styleSheet) {
|
269
269
|
const css = document.createElement('style');
|
@@ -276,7 +276,7 @@ const InstantAppsInteractiveLegendRelationship = class {
|
|
276
276
|
`;
|
277
277
|
node === null || node === void 0 ? void 0 : node.appendChild(css);
|
278
278
|
}
|
279
|
-
} }, h("span", { key: '
|
279
|
+
} }, h("span", { key: '7cd336ef09492b5fc016657a61991f2f255a0b4a', class: CSS.instructionalText }, (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.relationship) === null || _b === void 0 ? void 0 : _b.instructionalText), this.renderRelationshipRamp()));
|
280
280
|
}
|
281
281
|
renderRelationshipRamp() {
|
282
282
|
var _a;
|
@@ -26,7 +26,7 @@ const InstantAppsKeyboardShortcuts = class {
|
|
26
26
|
var _a, _b, _c, _d, _e, _f, _g;
|
27
27
|
const commands = ((_a = this === null || this === void 0 ? void 0 : this.view) === null || _a === void 0 ? void 0 : _a.type) === '2d' || !(this === null || this === void 0 ? void 0 : this.view) ? this._getMapViewCommands() : this._getSceneViewCommands();
|
28
28
|
const modifierKey = this._isMacLike() ? 'Option' : 'Alt';
|
29
|
-
return (h(Host, { key: '
|
29
|
+
return (h(Host, { key: '9c8b38fe77e393b5c28dcdeb9f536136f1847a80' }, h("calcite-block", { key: '129cc133e93e2817286b651e275c9be4cab404d7', open: true, class: `${CSS.content}`, heading: (_c = (_b = this === null || this === void 0 ? void 0 : this.messages) === null || _b === void 0 ? void 0 : _b.generalShortcuts) === null || _c === void 0 ? void 0 : _c.label }, h("table", { key: '35c2075b9bfd4156dc599f7eb4230f8939b666d7' }, this.renderTableHeader(), h("tr", { key: '4501f1eb90661c5c4dc21448faafc6b05c9c5f44' }, h("td", { key: 'dd5e19bf19397dc2d249280b779021436f792ca2' }, `${modifierKey} + M`), h("td", { key: '7229f20c134afc765ffc5a6fc472ef240ec23d4f' }, (_e = (_d = this === null || this === void 0 ? void 0 : this.messages) === null || _d === void 0 ? void 0 : _d.generalShortcuts) === null || _e === void 0 ? void 0 : _e.title))), h("calcite-label", { key: 'e0ad61c9410eddbe07411a1257208e72993e1552' }, (_g = (_f = this === null || this === void 0 ? void 0 : this.messages) === null || _f === void 0 ? void 0 : _f.generalShortcuts) === null || _g === void 0 ? void 0 : _g.title), h("table", { key: 'da8a5261b67d71d969313c9643e45762dfd7ec1b' }, this.renderTableHeader(), commands.map(command => {
|
30
30
|
return (h("tr", null, h("td", null, command.alias), h("td", null, command.title)));
|
31
31
|
})))));
|
32
32
|
}
|
@@ -86,7 +86,7 @@ const InstantAppsLandingPage = class {
|
|
86
86
|
}
|
87
87
|
render() {
|
88
88
|
const content = this.renderLandingPageContent();
|
89
|
-
return h(Host, { key: '
|
89
|
+
return h(Host, { key: 'f12e6b4ea673c94e8979d82809984b23e6bd6781' }, content);
|
90
90
|
}
|
91
91
|
renderLandingPageContent() {
|
92
92
|
const closed = !this.open ? (this.disableTransition ? ` ${CSS.closedNoTransition}` : ` ${CSS.closed}`) : '';
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-b793d9aa.js';
|
7
|
-
import { g as getMessages } from './utils-
|
7
|
+
import { g as getMessages } from './utils-6f13e31e.js';
|
8
8
|
import { l as loadModules } from './loadModules-03ba7abe.js';
|
9
9
|
import { a as getDefaultLanguage } from './locale-a34f9f04.js';
|
10
10
|
import { g as getPortalItemResource, f as fetchResourceData, L as LANGUAGE_DATA } from './constants-045d6a1b.js';
|
@@ -25,8 +25,8 @@ const InstantAppsLanguageSwitcher = class {
|
|
25
25
|
this.view = undefined;
|
26
26
|
this.locales = [];
|
27
27
|
this.defaultLocale = undefined;
|
28
|
-
this.messages = undefined;
|
29
28
|
this.selectedLanguage = null;
|
29
|
+
this.messages = undefined;
|
30
30
|
this.t9nData = null;
|
31
31
|
}
|
32
32
|
async componentWillLoad() {
|
@@ -78,7 +78,7 @@ const InstantAppsLanguageSwitcher = class {
|
|
78
78
|
const trigger = this.renderTrigger();
|
79
79
|
const dropdown = this.renderDropdownItems();
|
80
80
|
const defaultLocale = this.renderDefaultLocale();
|
81
|
-
return (h("calcite-dropdown", { key: '
|
81
|
+
return (h("calcite-dropdown", { key: '292b75e8a6f9d7ab2739e4d85f90d975f5b49c1e', onCalciteDropdownBeforeOpen: () => (this.trigger.iconEnd = 'chevron-up'), onCalciteDropdownBeforeClose: () => (this.trigger.iconEnd = 'chevron-down'), "width-scale": "m" }, trigger, defaultLocale, dropdown));
|
82
82
|
}
|
83
83
|
renderDefaultLocale() {
|
84
84
|
const { userLocale } = this;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment, g as getElement } from './index-b793d9aa.js';
|
7
|
-
import { g as getMessages, a as generateUIData, s as store, E as EIcons, b as getLocales, l as languageTranslatorState, c as getUIDataKeys } from './utils-
|
7
|
+
import { i as initExternalCKEditorStyles, g as getMessages, a as generateUIData, s as store, E as EIcons, b as getLocales, l as languageTranslatorState, c as getUIDataKeys, u as updateLastSave } from './utils-6f13e31e.js';
|
8
8
|
import { l as loadModules } from './loadModules-03ba7abe.js';
|
9
9
|
import { c as getComponentClosestLanguage } from './locale-a34f9f04.js';
|
10
10
|
import { g as getPortalItemResource, f as fetchResourceData, L as LANGUAGE_DATA } from './constants-045d6a1b.js';
|
@@ -13,7 +13,7 @@ import './esri-loader-c6842c6b.js';
|
|
13
13
|
import './_commonjsHelpers-089957fe.js';
|
14
14
|
import './languageUtil-2b6e191a.js';
|
15
15
|
|
16
|
-
const instantAppsLanguageTranslatorCss = ".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";
|
16
|
+
const instantAppsLanguageTranslatorCss = ".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}";
|
17
17
|
const InstantAppsLanguageTranslatorStyle0 = instantAppsLanguageTranslatorCss;
|
18
18
|
|
19
19
|
const BASE = 'instant-apps-language-translator';
|
@@ -30,6 +30,8 @@ const CSS = {
|
|
30
30
|
userLangText: `${BASE}__user-lang-text`,
|
31
31
|
lastItem: `${BASE}--last-item`,
|
32
32
|
writingIcon: `${BASE}__writing-icon`,
|
33
|
+
primaryContent: `${BASE}__primary-content`,
|
34
|
+
lastAutoSave: `${BASE}__last-auto-save`,
|
33
35
|
};
|
34
36
|
const InstantAppsLanguageTranslator = class {
|
35
37
|
constructor(hostRef) {
|
@@ -56,6 +58,9 @@ const InstantAppsLanguageTranslator = class {
|
|
56
58
|
this.initUIData();
|
57
59
|
this.initSelectLanguage();
|
58
60
|
}
|
61
|
+
componentWillLoad() {
|
62
|
+
initExternalCKEditorStyles();
|
63
|
+
}
|
59
64
|
async componentDidLoad() {
|
60
65
|
this.initialize();
|
61
66
|
}
|
@@ -105,23 +110,23 @@ const InstantAppsLanguageTranslator = class {
|
|
105
110
|
const portalItemResource = (await getPortalItemResource(this.portalItem));
|
106
111
|
store.set('portalItemResource', portalItemResource);
|
107
112
|
const t9nData = await fetchResourceData(this.request, portalItemResource);
|
113
|
+
store.set('lastSave', t9nData.lastSave);
|
108
114
|
store.set('portalItemResourceT9n', t9nData !== null && t9nData !== void 0 ? t9nData : {});
|
109
115
|
}
|
110
116
|
catch (_a) { }
|
111
117
|
}
|
112
118
|
render() {
|
113
|
-
return (h(Host, { key: '
|
119
|
+
return (h(Host, { key: '1f68786d3e9bced7a2242033cf51fc4937bc910a' }, this.renderModal(), this.renderPopoverTip()));
|
114
120
|
}
|
115
121
|
renderModal() {
|
116
|
-
return (h("calcite-modal", { open: this.open, scale: "l", fullscreen: true, onCalciteModalClose: this.close.bind(this) }, this.renderHeader(), this.renderContent(), this.
|
122
|
+
return (h("calcite-modal", { open: this.open, scale: "l", fullscreen: true, onCalciteModalClose: this.close.bind(this) }, this.renderHeader(), this.renderContent(), this.renderPrimaryContent()));
|
117
123
|
}
|
118
124
|
renderPopoverTip() {
|
119
125
|
var _a;
|
120
126
|
return (h("calcite-popover", { label: "", referenceElement: "headerTip", placement: "trailing", "auto-close": true, closable: true }, h("div", { class: CSS.headerTip }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.headerTip)));
|
121
127
|
}
|
122
128
|
renderHeader() {
|
123
|
-
|
124
|
-
return (h("header", { class: CSS.header, slot: "header" }, this.renderHeaderText(), saving ? this.renderSavingIndicator() : null));
|
129
|
+
return (h("header", { class: CSS.header, slot: "header" }, this.renderHeaderText()));
|
125
130
|
}
|
126
131
|
renderHeaderText() {
|
127
132
|
const { messages } = this;
|
@@ -129,9 +134,8 @@ const InstantAppsLanguageTranslator = class {
|
|
129
134
|
}
|
130
135
|
renderSavingIndicator() {
|
131
136
|
var _a;
|
132
|
-
const saving = store.get('saving');
|
133
137
|
const t9n = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.saving;
|
134
|
-
return (h("div", { class: CSS.savingIndicator },
|
138
|
+
return (h("div", { class: CSS.savingIndicator }, h("calcite-loader", { label: t9n, inline: true }), h("span", null, t9n)));
|
135
139
|
}
|
136
140
|
renderContent() {
|
137
141
|
const localeItems = getLocales(this.locales);
|
@@ -200,11 +204,25 @@ const InstantAppsLanguageTranslator = class {
|
|
200
204
|
const translatedLanguageLabels = (_b = (_a = this.appSettings) === null || _a === void 0 ? void 0 : _a.translatedLanguageLabels) === null || _b === void 0 ? void 0 : _b[languageTranslatorState.currentLanguage];
|
201
205
|
const isLast = `${keyIndex === uiDataKeysLen - 1 ? CSS.lastItem : ''}`;
|
202
206
|
const setting = this.appSettings.content.filter(contentItem => contentItem.id === key)[0];
|
203
|
-
return (h("instant-apps-language-translator-item", { key: `${key}-${keyIndex}`, class: isLast, fieldName: key, translatedLanguageLabels: translatedLanguageLabels, setting: setting, userLocaleInputOnChangeCallback:
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
207
|
+
return (h("instant-apps-language-translator-item", { key: `${key}-${keyIndex}`, class: isLast, fieldName: key, translatedLanguageLabels: translatedLanguageLabels, setting: setting, userLocaleInputOnChangeCallback: async (fieldName, value) => {
|
208
|
+
try {
|
209
|
+
await this.userLocaleInputOnChangeCallback(fieldName, value);
|
210
|
+
const resource = store.get('portalItemResource');
|
211
|
+
updateLastSave(resource);
|
212
|
+
}
|
213
|
+
catch (_a) { }
|
214
|
+
}, translatedLocaleInputOnChangeCallback: async (fieldName, value, locale, resource) => {
|
215
|
+
try {
|
216
|
+
await this.translatedLocaleInputOnChangeCallback(fieldName, value, locale, resource);
|
217
|
+
updateLastSave(resource);
|
218
|
+
}
|
219
|
+
catch (_a) { }
|
220
|
+
} }));
|
221
|
+
}
|
222
|
+
renderPrimaryContent() {
|
223
|
+
var _a, _b;
|
224
|
+
return (h("div", { class: CSS.primaryContent, slot: "primary" }, store.get('saving') ? this.renderSavingIndicator() : null, store.get('lastSave') ? (h("span", { key: "last-save", class: CSS.lastAutoSave }, (_a = this.messages) === null || _a === void 0 ? void 0 :
|
225
|
+
_a.lastAutoSave, " ", this.intl.formatDate(store.get('lastSave')))) : null, h("calcite-button", { onClick: () => (this.open = false), class: CSS.closeButton }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.close)));
|
208
226
|
}
|
209
227
|
handleExpandCollapseAll() {
|
210
228
|
this.isCollapse = !this.isCollapse;
|
@@ -261,7 +279,9 @@ const InstantAppsLanguageTranslator = class {
|
|
261
279
|
store.set('saving', true);
|
262
280
|
try {
|
263
281
|
const resource = await this.getPortalItemResource();
|
264
|
-
const
|
282
|
+
const lastSave = Date.now();
|
283
|
+
store.set('lastSave', lastSave);
|
284
|
+
const dataStr = JSON.stringify(Object.assign(Object.assign({}, data), { lastSave }));
|
265
285
|
const blobParts = [dataStr];
|
266
286
|
const options = { type: 'application/json' };
|
267
287
|
const blob = new Blob(blobParts, options);
|
@@ -34,7 +34,7 @@ const InstantAppsMeasurement = class {
|
|
34
34
|
componentDidLoad() { }
|
35
35
|
render() {
|
36
36
|
var _a;
|
37
|
-
return (h(Host, { key: '
|
37
|
+
return (h(Host, { key: '843dd716e3f9b125044afd9a2919a60b937ae8b0' }, h("calcite-panel", { key: '45dd9e43decdcdc0526139938751d727bd73b3e0', heading: (_a = this === null || this === void 0 ? void 0 : this.messages) === null || _a === void 0 ? void 0 : _a.label, closable: this.closable }, h("div", { key: 'beb440bfbb87cd00189630e442aabe97a1e83d9e' }, this.renderActionPad()), this.renderMeasureToolPanel())));
|
38
38
|
}
|
39
39
|
renderMeasureToolPanel() {
|
40
40
|
const { view, coordinateFormat, areaUnit, linearUnit, activeToolType } = this;
|
@@ -49,7 +49,7 @@ const InstantAppsPopover = class {
|
|
49
49
|
}
|
50
50
|
render() {
|
51
51
|
var _a, _b, _c, _d, _e;
|
52
|
-
return (h("calcite-popover", { key: '
|
52
|
+
return (h("calcite-popover", { key: '325d942b43189ebeb5c3be2a4bac2c66f283a5cc', ref: (el) => (this.popoverEl = el), heading: this.popoverTitle, "auto-close": true, placement: this.placement, messageOverrides: { close: (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close }, "trigger-disabled": true, "ref-id": this.refId, closable: true, referenceElement: this.referenceElement, label: this.popoverTitle }, h("div", { key: '46d0e04ac90ecf4765d29c48968c53873d475776', class: `${CSS.content}${this.disableAction ? ` ${CSS.actionDisabled}` : ''}` }, !this.disableAction ? (h("calcite-action", { key: "popover-action", class: CSS.action, onClick: this.popoverAction, icon: document.dir === 'rtl' ? 'chevron-right' : 'chevron-left', compact: true, "text-enabled": true, text: (((_b = this.messageOverrides) === null || _b === void 0 ? void 0 : _b.popoverAction) ? this.messageOverrides.popoverAction : this.messages.back) })) : null, h("section", { key: 'f48382c9f915edc1d4fd90e107c9c86efc2b2114' }, h("span", { key: '5e14762c0520cab8d1207a7aae255f185dc0319c', id: "subtitle" }, this.subtitle), h("p", { key: '6fd83761aa4acbcdead3bef826dba252f1cdf71d' }, this.content), this.imgSrc ? h("img", { key: `iac-popover-img-${this.refId}`, class: CSS.img, src: this.imgSrc, alt: this.imgAlt ? this.imgAlt : '' }) : null), this.pagination ? (h("div", { key: `iac-popover-footer-${this.index}`, class: CSS.footer }, h("span", null, this.index + 1, " ", (_c = this.messages) === null || _c === void 0 ? void 0 :
|
53
53
|
_c.of, " ", (_e = (_d = this.parent) === null || _d === void 0 ? void 0 : _d.instantAppsPopovers) === null || _e === void 0 ? void 0 :
|
54
54
|
_e.size), this.renderPagination())) : null)));
|
55
55
|
}
|
@@ -244,7 +244,7 @@ const InstantAppsScoreboard = class {
|
|
244
244
|
const progress = isLoading || isCalculating || ((_a = this.view) === null || _a === void 0 ? void 0 : _a.updating) ? this.renderProgress() : null;
|
245
245
|
const positionClass = this.getPositionClass;
|
246
246
|
const styleClass = this.getStyleClass;
|
247
|
-
return h(Host, { key: '
|
247
|
+
return h(Host, { key: '44beef3ec01847c89e09afa6469f05dd5caf9e9d', class: `${positionClass} ${styleClass}` }, isDisabled ? null : [progress, ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > 0 ? this.renderBase() : null]);
|
248
248
|
}
|
249
249
|
renderBase() {
|
250
250
|
return (h("div", { key: "instant-apps-scoreboard-base", class: BASE }, this.renderContent()));
|
@@ -49,7 +49,7 @@ const InstantAppsSignIn = class {
|
|
49
49
|
}
|
50
50
|
render() {
|
51
51
|
const signIn = this.ready ? this.renderContent() : null;
|
52
|
-
return h(Host, { key: '
|
52
|
+
return h(Host, { key: 'af7ff807a996fd2dbbc647988fc24e5a122c4efe' }, signIn);
|
53
53
|
}
|
54
54
|
renderContent() {
|
55
55
|
return this.type === 'landingPage' ? this.renderLandingPageSignIn() : this.renderSignInContainer();
|
@@ -94,7 +94,7 @@ const InstantAppsSplash = class {
|
|
94
94
|
getMessages(this);
|
95
95
|
}
|
96
96
|
render() {
|
97
|
-
return (h("calcite-modal", { key: '
|
97
|
+
return (h("calcite-modal", { key: 'd7ae1e9533ce3ac221547530c509e1682e253ab2', onCalciteModalClose: this.close.bind(this), open: this.open, closeButtonDisabled: this.closeButtonDisabled, outsideCloseDisabled: this.outsideCloseDisabled }, this.renderHeader(), this.renderContent(), this.localStorageKey ? this.renderDontShowThisAgainCheckbox() : null, this.renderPrimaryButton(), this.secondaryButton ? this.renderSecondaryButton() : null));
|
98
98
|
}
|
99
99
|
renderHeader() {
|
100
100
|
const { titleText } = this;
|
@@ -255,7 +255,7 @@ class InstantAppsTimeFilterViewModel {
|
|
255
255
|
catch (_a) { }
|
256
256
|
}
|
257
257
|
async init(timeSliderRef) {
|
258
|
-
var _a, _b;
|
258
|
+
var _a, _b, _c;
|
259
259
|
if (timeSliderRef)
|
260
260
|
timeSliderRef.innerHTML = '';
|
261
261
|
if (((_b = (_a = state === null || state === void 0 ? void 0 : state.timeSlider) === null || _a === void 0 ? void 0 : _a.viewModel) === null || _b === void 0 ? void 0 : _b.state) === 'playing')
|
@@ -265,13 +265,21 @@ class InstantAppsTimeFilterViewModel {
|
|
265
265
|
return;
|
266
266
|
try {
|
267
267
|
await view.when();
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
268
|
+
if (timeInfoConfigItems.length === 1 && ((_c = timeInfoConfigItems[0]) === null || _c === void 0 ? void 0 : _c.type) === 'map') {
|
269
|
+
this.initTimeSlider(timeSliderRef, timeInfoConfigItems[0]);
|
270
|
+
}
|
271
|
+
else {
|
272
|
+
const timeLayerViews = await this.getTimeLayerViews(view, timeInfoConfigItems);
|
273
|
+
state.timeInfoItems = this.generateTimeInfoItems(timeLayerViews, timeInfoConfigItems);
|
274
|
+
this.initTimeSlider(timeSliderRef);
|
275
|
+
}
|
272
276
|
return Promise.resolve();
|
273
277
|
}
|
274
|
-
catch (
|
278
|
+
catch (_d) {
|
279
|
+
}
|
280
|
+
finally {
|
281
|
+
this.setupFilterModeWatcher();
|
282
|
+
}
|
275
283
|
}
|
276
284
|
destroy() {
|
277
285
|
var _a, _b;
|
@@ -308,17 +316,26 @@ class InstantAppsTimeFilterViewModel {
|
|
308
316
|
previousTimeExtent: null,
|
309
317
|
};
|
310
318
|
}
|
311
|
-
initTimeSlider(timeSliderRef) {
|
319
|
+
initTimeSlider(timeSliderRef, defaultItem) {
|
312
320
|
var _a, _b;
|
313
|
-
const initialTimeInfoItem = (_a = state === null || state === void 0 ? void 0 : state.timeInfoItems) === null || _a === void 0 ? void 0 : _a[0];
|
314
|
-
if (!initialTimeInfoItem)
|
315
|
-
return;
|
316
321
|
const { TimeSlider } = this;
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
+
const initializeSlider = config => {
|
323
|
+
state.timeSlider = new TimeSlider(config);
|
324
|
+
if (state.autoPlay)
|
325
|
+
state.timeSlider.play();
|
326
|
+
};
|
327
|
+
if (defaultItem) {
|
328
|
+
const config = this.getTimeSliderConfig(timeSliderRef, defaultItem);
|
329
|
+
initializeSlider(config);
|
330
|
+
}
|
331
|
+
else {
|
332
|
+
const initialTimeInfoItem = (_a = state === null || state === void 0 ? void 0 : state.timeInfoItems) === null || _a === void 0 ? void 0 : _a[0];
|
333
|
+
if (!initialTimeInfoItem)
|
334
|
+
return;
|
335
|
+
state.selectedTimeInfoItem = initialTimeInfoItem;
|
336
|
+
const config = this.getTimeSliderConfig(timeSliderRef);
|
337
|
+
initializeSlider(config);
|
338
|
+
}
|
322
339
|
if (((_b = state.view) === null || _b === void 0 ? void 0 : _b.type) === '2d')
|
323
340
|
this.initialize2DView();
|
324
341
|
}
|
@@ -329,20 +346,33 @@ class InstantAppsTimeFilterViewModel {
|
|
329
346
|
this.applyTimeExtent(fLayerView, ((_b = (_a = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.featureEffect) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.timeExtent) || ((_c = fLayerView.filter) === null || _c === void 0 ? void 0 : _c.timeExtent), newValue);
|
330
347
|
}));
|
331
348
|
}
|
332
|
-
getTimeSliderConfig(timeSliderRef) {
|
333
|
-
var _a;
|
334
|
-
const [{ timeExtent, rangeStart, rangeEnd, unit, timeIntervalValue }] = state.timeInfoItems;
|
349
|
+
getTimeSliderConfig(timeSliderRef, defaultItem) {
|
350
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
335
351
|
const { TimeExtent, TimeInterval } = this;
|
336
|
-
const
|
337
|
-
|
338
|
-
|
339
|
-
}),
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
352
|
+
const baseConfig = Object.assign({ container: timeSliderRef, mode: 'time-window', view: ((_a = state.view) === null || _a === void 0 ? void 0 : _a.type) === '3d' ? state.view : null }, state.timeSliderConfig);
|
353
|
+
if (defaultItem) {
|
354
|
+
const timeSlider = (_d = (_c = (_b = state.view) === null || _b === void 0 ? void 0 : _b.map) === null || _c === void 0 ? void 0 : _c.widgets) === null || _d === void 0 ? void 0 : _d.timeSlider;
|
355
|
+
return Object.assign(Object.assign({}, baseConfig), { fullTimeExtent: timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.fullTimeExtent, timeExtent: timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.currentTimeExtent, stops: ((_e = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _e === void 0 ? void 0 : _e.unit) && ((_f = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _f === void 0 ? void 0 : _f.value)
|
356
|
+
? {
|
357
|
+
interval: new TimeInterval({
|
358
|
+
unit: (_g = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _g === void 0 ? void 0 : _g.unit,
|
359
|
+
value: (_h = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _h === void 0 ? void 0 : _h.value,
|
360
|
+
}),
|
361
|
+
}
|
362
|
+
: null });
|
363
|
+
}
|
364
|
+
else {
|
365
|
+
const [{ timeExtent, rangeStart, rangeEnd, unit, timeIntervalValue }] = state.timeInfoItems;
|
366
|
+
return Object.assign(Object.assign({}, baseConfig), { fullTimeExtent: timeExtent, timeExtent: new TimeExtent({
|
367
|
+
start: rangeStart,
|
368
|
+
end: rangeEnd,
|
369
|
+
}), stops: {
|
370
|
+
interval: new TimeInterval({
|
371
|
+
unit,
|
372
|
+
value: timeIntervalValue,
|
373
|
+
}),
|
374
|
+
} });
|
375
|
+
}
|
346
376
|
}
|
347
377
|
initialize2DView() {
|
348
378
|
state.timeInfoItems.forEach(timeInfoItem => this.applyTimeExtent(timeInfoItem.layerView, new this.TimeExtent({ start: timeInfoItem.rangeStart, end: timeInfoItem.rangeEnd })));
|
@@ -501,7 +531,7 @@ const InstantAppsTimeFilter = class {
|
|
501
531
|
viewModel.destroy();
|
502
532
|
}
|
503
533
|
render() {
|
504
|
-
return h$2(Host, { key: '
|
534
|
+
return h$2(Host, { key: '9366ce36d85d1b97ff9dad8a93f5cfb93d12551b' }, this._renderBase());
|
505
535
|
}
|
506
536
|
_renderBase() {
|
507
537
|
return (h$2("div", { class: `${CSS.base}${this.view.type !== '2d' ? CSS.threeD : ''}` }, this._renderLoader(), this.view.type === '2d' && this._renderTopEl(), h$2("div", { key: "time-slider", ref: (ref) => (this.timeSliderRef = ref) })));
|
@@ -3,25 +3,25 @@
|
|
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 dayjs } from './calcite-input-time-picker-
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker-2fbabd28.js';
|
7
7
|
import './index-b793d9aa.js';
|
8
|
-
import './form-
|
9
|
-
import './dom-
|
8
|
+
import './form-46367137.js';
|
9
|
+
import './dom-42a638f6.js';
|
10
10
|
import './guid-42656051.js';
|
11
11
|
import './resources-745dec87.js';
|
12
12
|
import './interactive-b2a41b8b.js';
|
13
13
|
import './browser-a791205e.js';
|
14
14
|
import './key-d6dfb50e.js';
|
15
|
-
import './label-
|
15
|
+
import './label-f2ec1100.js';
|
16
16
|
import './component-d35983a4.js';
|
17
17
|
import './loadable-1a9b14b8.js';
|
18
|
-
import './locale-
|
18
|
+
import './locale-a53a7bc6.js';
|
19
19
|
import './observers-6cac5525.js';
|
20
|
-
import './focusTrapComponent-
|
20
|
+
import './focusTrapComponent-c1def619.js';
|
21
21
|
import './config-8d1c3431.js';
|
22
|
-
import './time-
|
22
|
+
import './time-f99aceff.js';
|
23
23
|
import './math-9afe1f6d.js';
|
24
|
-
import './t9n-
|
24
|
+
import './t9n-b33c486a.js';
|
25
25
|
import './Validation-bd0a53ec.js';
|
26
26
|
import './input-7f3fc18b.js';
|
27
27
|
|
@@ -3,25 +3,25 @@
|
|
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 dayjs } from './calcite-input-time-picker-
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker-2fbabd28.js';
|
7
7
|
import './index-b793d9aa.js';
|
8
|
-
import './form-
|
9
|
-
import './dom-
|
8
|
+
import './form-46367137.js';
|
9
|
+
import './dom-42a638f6.js';
|
10
10
|
import './guid-42656051.js';
|
11
11
|
import './resources-745dec87.js';
|
12
12
|
import './interactive-b2a41b8b.js';
|
13
13
|
import './browser-a791205e.js';
|
14
14
|
import './key-d6dfb50e.js';
|
15
|
-
import './label-
|
15
|
+
import './label-f2ec1100.js';
|
16
16
|
import './component-d35983a4.js';
|
17
17
|
import './loadable-1a9b14b8.js';
|
18
|
-
import './locale-
|
18
|
+
import './locale-a53a7bc6.js';
|
19
19
|
import './observers-6cac5525.js';
|
20
|
-
import './focusTrapComponent-
|
20
|
+
import './focusTrapComponent-c1def619.js';
|
21
21
|
import './config-8d1c3431.js';
|
22
|
-
import './time-
|
22
|
+
import './time-f99aceff.js';
|
23
23
|
import './math-9afe1f6d.js';
|
24
|
-
import './t9n-
|
24
|
+
import './t9n-b33c486a.js';
|
25
25
|
import './Validation-bd0a53ec.js';
|
26
26
|
import './input-7f3fc18b.js';
|
27
27
|
|