@esri/solutions-components 0.8.39 → 0.8.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/solution-spatial-ref/resources.json +3 -3
- package/dist/assets/t9n/solution-spatial-ref/resources_en.json +2 -2
- package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +2 -2
- package/dist/assets/t9n/solution-spatial-ref/resources_he.json +2 -2
- package/dist/cjs/_commonjsHelpers-baf43783.js +20 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -2
- package/dist/cjs/buffer-tools_3.cjs.entry.js +3 -2
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +3 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +7 -6
- package/dist/cjs/calcite-block_5.cjs.entry.js +5 -4
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +3 -2
- package/dist/cjs/calcite-flow_6.cjs.entry.js +3 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +9 -8
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -5
- package/dist/cjs/{common-03600219.js → common-7ee7ad73.js} +1 -1
- package/dist/cjs/consent-manager.cjs.entry.js +3 -2
- package/dist/cjs/{core-b459e4f2.js → core-7f0bcc12.js} +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -2
- package/dist/cjs/{downloadUtils-839a1425.js → downloadUtils-2e169425.js} +7 -7
- package/dist/cjs/{esri-loader-fce6a9cb.js → esri-loader-a56cbcbe.js} +2 -13
- package/dist/cjs/feature-list.cjs.entry.js +7 -6
- package/dist/cjs/{helpers-7cee3150.js → helpers-95c28cf3.js} +1 -1
- package/dist/cjs/{html2canvas-ef5cae40.js → html2canvas-29c6b9cc.js} +2 -2
- package/dist/cjs/{index.es-dd4d4842.js → index.es-301b8d18.js} +11 -10
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +6 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -5
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +7 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +7 -6
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -4
- package/dist/cjs/{languageSwitcher-1154d55d.js → languageSwitcher-f0bb94fa.js} +1 -1
- package/dist/cjs/{languageUtil-d23251cd.js → languageUtil-f22ce913.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -2
- package/dist/cjs/{loadModules-4189814e.js → loadModules-36d49819.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-62f4cef2.js → locale-708985a1.js} +2 -2
- package/dist/cjs/{locale-6973733d.js → locale-f6fd03d2.js} +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -5
- package/dist/cjs/{popupUtils-bae7f923.js → popupUtils-36e57a27.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +6 -5
- package/dist/cjs/{purify-4a0e9dfb.js → purify-17c0fc4a.js} +2 -2
- package/dist/cjs/{restHelpersGet-afc74285.js → restHelpersGet-be451f4a.js} +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +10 -350
- package/dist/cjs/solution-contents_3.cjs.entry.js +58 -48
- package/dist/cjs/solution-resource-a09a6fe0.js +145 -0
- package/dist/cjs/{solution-store-c8bada29.js → solution-store-d9f3ea44.js} +8 -10
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +6 -5
- package/dist/cjs/store-manager.cjs.entry.js +17 -13
- package/dist/cjs/templates-f7a3bf48.js +401 -0
- package/dist/cjs/{utils-1de4eaa0.js → utils-31a22d49.js} +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +11 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +83 -47
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +25 -24
- 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/components/store-manager/store-manager.js +11 -13
- package/dist/collection/demos/data/election-outreach.json +2981 -0
- package/dist/collection/demos/solution-item.html +7 -6
- package/dist/collection/demos/solution-spatial-ref.html +10 -4
- package/dist/collection/demos/solution-template-data.html +5 -5
- package/dist/collection/utils/interfaces.ts +0 -2
- package/dist/collection/utils/solution-store.js +6 -8
- package/dist/collection/utils/solution-store.ts +12 -13
- package/dist/collection/utils/templates.js +113 -26
- package/dist/collection/utils/templates.ts +125 -30
- package/dist/collection/utils/test/templates.e2e.js +2 -2
- package/dist/collection/utils/test/templates.e2e.ts +2 -2
- package/dist/components/_commonjsHelpers.js +16 -0
- package/dist/components/core.js +1 -1
- package/dist/components/downloadUtils.js +1 -1
- package/dist/components/esri-loader.js +2 -10
- package/dist/components/html2canvas.js +1 -1
- package/dist/components/index.es.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/purify.js +1 -1
- package/dist/components/solution-configuration.js +1 -342
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-resource.js +1 -1
- package/dist/components/solution-spatial-ref2.js +52 -44
- package/dist/components/solution-store.js +6 -8
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref2.js +1 -1
- package/dist/components/store-manager.js +11 -13
- package/dist/components/templates.js +395 -0
- package/dist/esm/_commonjsHelpers-089957fe.js +16 -0
- package/dist/esm/basemap-gallery_7.entry.js +3 -2
- package/dist/esm/buffer-tools_3.entry.js +3 -2
- package/dist/esm/calcite-action-pad_2.entry.js +3 -2
- package/dist/esm/calcite-alert_4.entry.js +7 -6
- package/dist/esm/calcite-block_5.entry.js +5 -4
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-dropdown-group_2.entry.js +3 -2
- package/dist/esm/calcite-flow_6.entry.js +3 -2
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +9 -8
- package/dist/esm/card-manager_3.entry.js +6 -5
- package/dist/esm/{common-8697fccd.js → common-96e3ddb0.js} +1 -1
- package/dist/esm/consent-manager.entry.js +3 -2
- package/dist/esm/{core-4bd4a70f.js → core-6a3c13ac.js} +1 -1
- package/dist/esm/crowdsource-manager.entry.js +3 -2
- package/dist/esm/crowdsource-reporter.entry.js +3 -2
- package/dist/esm/{downloadUtils-97acca92.js → downloadUtils-5fbd8a40.js} +6 -6
- package/dist/esm/{esri-loader-3080dcc0.js → esri-loader-781d738a.js} +2 -10
- package/dist/esm/feature-list.entry.js +7 -6
- package/dist/esm/{helpers-7c88b974.js → helpers-3d53560f.js} +1 -1
- package/dist/esm/{html2canvas-fd387d87.js → html2canvas-6443b68e.js} +1 -1
- package/dist/esm/{index.es-ee5497bc.js → index.es-66571353.js} +6 -5
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +6 -5
- package/dist/esm/instant-apps-control-panel.entry.js +3 -2
- package/dist/esm/instant-apps-create.entry.js +5 -4
- package/dist/esm/instant-apps-export.entry.js +5 -4
- package/dist/esm/instant-apps-header.entry.js +3 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -5
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +7 -6
- package/dist/esm/instant-apps-language-translator.entry.js +7 -6
- package/dist/esm/instant-apps-measurement.entry.js +5 -4
- package/dist/esm/instant-apps-popover.entry.js +5 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +5 -4
- package/dist/esm/instant-apps-sign-in.entry.js +5 -4
- package/dist/esm/instant-apps-splash.entry.js +5 -4
- package/dist/esm/{languageSwitcher-0f693a04.js → languageSwitcher-b665499d.js} +1 -1
- package/dist/esm/{languageUtil-de206286.js → languageUtil-a3e6adf6.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -2
- package/dist/esm/{loadModules-43119ac8.js → loadModules-9c062d08.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-42369411.js → locale-28d48640.js} +1 -1
- package/dist/esm/{locale-70630b7c.js → locale-b4e7d56f.js} +2 -2
- package/dist/esm/map-select-tools_3.entry.js +6 -5
- package/dist/esm/{popupUtils-98ad70f3.js → popupUtils-4a91aa2a.js} +2 -2
- package/dist/esm/public-notification.entry.js +6 -5
- package/dist/esm/{purify-caded4cd.js → purify-72515357.js} +1 -1
- package/dist/esm/{restHelpersGet-dab84057.js → restHelpersGet-5c822bcd.js} +1 -1
- package/dist/esm/solution-configuration.entry.js +7 -347
- package/dist/esm/solution-contents_3.entry.js +58 -48
- package/dist/esm/{solution-resource-a2fff3bf.js → solution-resource-3108caf7.js} +1 -1
- package/dist/esm/{solution-store-30a19a45.js → solution-store-1c36ce1d.js} +8 -10
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +6 -5
- package/dist/esm/store-manager.entry.js +17 -13
- package/dist/esm/templates-824ea028.js +395 -0
- package/dist/esm/{utils-9bb48951.js → utils-5484fcbf.js} +1 -1
- package/dist/solutions-components/demos/data/election-outreach.json +2981 -0
- package/dist/solutions-components/demos/solution-item.html +7 -6
- package/dist/solutions-components/demos/solution-spatial-ref.html +10 -4
- package/dist/solutions-components/demos/solution-template-data.html +5 -5
- package/dist/solutions-components/{p-3eb49703.js → p-00291b93.js} +3 -3
- package/dist/solutions-components/p-0cd87dca.entry.js +6 -0
- package/dist/solutions-components/p-13404ad7.entry.js +6 -0
- package/dist/solutions-components/{p-bf27cd5f.js → p-1c3c83a5.js} +1 -1
- package/dist/solutions-components/p-1e6c6ec4.entry.js +6 -0
- package/dist/solutions-components/p-219f209e.entry.js +6 -0
- package/dist/solutions-components/{p-b1abf15c.entry.js → p-2467b476.entry.js} +3 -3
- package/dist/solutions-components/p-295f850a.entry.js +6 -0
- package/dist/solutions-components/p-2961c63c.entry.js +6 -0
- package/dist/solutions-components/{p-946ee345.js → p-2afdcdfc.js} +2 -2
- package/dist/solutions-components/p-2d6d44b5.entry.js +6 -0
- package/dist/solutions-components/p-36e199e0.entry.js +6 -0
- package/dist/solutions-components/{p-d27ab863.js → p-3d7cff5e.js} +1 -1
- package/dist/solutions-components/{p-b2f11718.entry.js → p-3e8562b5.entry.js} +1 -1
- package/dist/solutions-components/{p-49250010.js → p-427b4593.js} +1 -1
- package/dist/solutions-components/{p-f1ae51dc.js → p-44fea43a.js} +1 -1
- package/dist/solutions-components/{p-afd2b67b.entry.js → p-4b27da06.entry.js} +1 -1
- package/dist/solutions-components/{p-7fe77355.js → p-5cc6eb18.js} +1 -1
- package/dist/solutions-components/p-61f88049.entry.js +6 -0
- package/dist/solutions-components/{p-d029b513.js → p-65581d83.js} +1 -1
- package/dist/solutions-components/p-6a68306c.js +6 -0
- package/dist/solutions-components/p-6c7a990a.entry.js +6 -0
- package/dist/solutions-components/p-6e6e6d23.entry.js +6 -0
- package/dist/solutions-components/p-7696af8e.entry.js +6 -0
- package/dist/solutions-components/{p-7afca6b4.js → p-7d1af07b.js} +1 -1
- package/dist/solutions-components/{p-6c7e34c1.entry.js → p-881ead62.entry.js} +2 -2
- package/dist/solutions-components/p-90864588.entry.js +6 -0
- package/dist/solutions-components/{p-59f016a1.js → p-91142a26.js} +1 -1
- package/dist/solutions-components/p-932d6f29.entry.js +6 -0
- package/dist/solutions-components/{p-71c212e6.entry.js → p-969828ab.entry.js} +1 -1
- package/dist/solutions-components/p-986ee365.entry.js +6 -0
- package/dist/solutions-components/p-9e3b0220.entry.js +6 -0
- package/dist/solutions-components/{p-7996f123.js → p-a0300d31.js} +1 -1
- package/dist/solutions-components/p-a8d62b7d.entry.js +6 -0
- package/dist/solutions-components/p-ae50581b.entry.js +6 -0
- package/dist/solutions-components/{p-89f6ff72.js → p-af2c8aa9.js} +1 -1
- package/dist/solutions-components/p-b7123452.entry.js +6 -0
- package/dist/solutions-components/p-b92e9047.entry.js +6 -0
- package/dist/solutions-components/p-bb7463ed.entry.js +6 -0
- package/dist/solutions-components/p-bbc7dd5e.entry.js +6 -0
- package/dist/solutions-components/p-bd871071.entry.js +21 -0
- package/dist/solutions-components/p-c6fd40f9.entry.js +6 -0
- package/dist/solutions-components/{p-42ea2581.js → p-c742acd9.js} +1 -1
- package/dist/solutions-components/p-cb4842dd.entry.js +6 -0
- package/dist/solutions-components/{p-bd459df3.entry.js → p-ccd1e256.entry.js} +2 -2
- package/dist/solutions-components/p-ce4b6931.entry.js +6 -0
- package/dist/solutions-components/p-d2de2b2a.entry.js +6 -0
- package/dist/solutions-components/p-d300430b.entry.js +6 -0
- package/dist/solutions-components/p-d4056c1c.js +6 -0
- package/dist/solutions-components/p-d73b90ab.entry.js +6 -0
- package/dist/solutions-components/{p-4e92c1ba.entry.js → p-dae9d5b3.entry.js} +1 -1
- package/dist/solutions-components/p-df56c019.entry.js +6 -0
- package/dist/solutions-components/p-e80751f4.entry.js +6 -0
- package/dist/solutions-components/{p-132b1138.entry.js → p-e8ed3fa6.entry.js} +2 -2
- package/dist/solutions-components/{p-1d369231.js → p-eed41e1a.js} +1 -1
- package/dist/solutions-components/p-fdd93685.js +22 -0
- package/dist/solutions-components/{p-6acf6c8f.js → p-ff87b9de.js} +1 -1
- package/dist/solutions-components/{p-c9b22653.js → p-ffd41e25.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +0 -2
- package/dist/solutions-components/utils/solution-store.ts +12 -13
- package/dist/solutions-components/utils/templates.ts +125 -30
- package/dist/solutions-components/utils/test/templates.e2e.ts +2 -2
- package/dist/solutions-components_commit.txt +8 -0
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +21 -25
- package/dist/types/components/store-manager/store-manager.d.ts +3 -3
- package/dist/types/components.d.ts +10 -2
- package/dist/types/utils/templates.d.ts +35 -5
- package/package.json +6 -5
- package/dist/cjs/solution-resource-ffe3c333.js +0 -145
- package/dist/solutions-components/p-11b4cd1a.entry.js +0 -6
- package/dist/solutions-components/p-123fcb43.entry.js +0 -6
- package/dist/solutions-components/p-12b84e3b.entry.js +0 -36
- package/dist/solutions-components/p-1a8f7075.entry.js +0 -6
- package/dist/solutions-components/p-2a7111ad.entry.js +0 -6
- package/dist/solutions-components/p-36f5dee9.entry.js +0 -6
- package/dist/solutions-components/p-52bcd209.entry.js +0 -6
- package/dist/solutions-components/p-57961ae0.entry.js +0 -6
- package/dist/solutions-components/p-5b2d9899.entry.js +0 -6
- package/dist/solutions-components/p-5bd6a732.entry.js +0 -6
- package/dist/solutions-components/p-5fb4ddc2.entry.js +0 -6
- package/dist/solutions-components/p-622f33ee.entry.js +0 -6
- package/dist/solutions-components/p-652140aa.entry.js +0 -6
- package/dist/solutions-components/p-6d0404a6.entry.js +0 -6
- package/dist/solutions-components/p-789eb1c2.entry.js +0 -6
- package/dist/solutions-components/p-7a2f1801.entry.js +0 -6
- package/dist/solutions-components/p-7dcf6b16.entry.js +0 -6
- package/dist/solutions-components/p-8413a2ae.entry.js +0 -6
- package/dist/solutions-components/p-941e55f0.entry.js +0 -6
- package/dist/solutions-components/p-9b38e6a0.entry.js +0 -6
- package/dist/solutions-components/p-9c1fbf73.entry.js +0 -6
- package/dist/solutions-components/p-9d82f0e3.entry.js +0 -6
- package/dist/solutions-components/p-9fa1855f.entry.js +0 -6
- package/dist/solutions-components/p-a2390bee.entry.js +0 -6
- package/dist/solutions-components/p-a805c11f.entry.js +0 -6
- package/dist/solutions-components/p-af1c9389.entry.js +0 -6
- package/dist/solutions-components/p-b7d060b0.entry.js +0 -6
- package/dist/solutions-components/p-c4160bf7.js +0 -6
- package/dist/solutions-components/p-da75df88.entry.js +0 -6
- package/dist/solutions-components/p-e0277e0b.entry.js +0 -6
- package/dist/solutions-components/p-e11a4728.entry.js +0 -6
- package/dist/solutions-components/p-e89c05d6.entry.js +0 -6
- /package/dist/solutions-components/{p-8ad54f5c.js → p-e3196917.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"paramDescription": "Expose the Spatial Reference parameter and allow users to change the layers spatial reference when deploying the solution.",
|
3
|
-
"specifyParam": "Spatial Reference
|
4
|
-
"spatialReferenceInfo": "
|
5
|
-
"featureServicesHeading": "
|
3
|
+
"specifyParam": "Spatial Reference Parameter",
|
4
|
+
"spatialReferenceInfo": "Default Spatial Reference",
|
5
|
+
"featureServicesHeading": "Feature Services"
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"paramDescription": "Expose the Spatial Reference parameter and allow users to change the layers spatial reference when deploying the solution.",
|
3
3
|
"specifyParam": "Spatial Reference parameter",
|
4
|
-
"spatialReferenceInfo": "
|
5
|
-
"featureServicesHeading": "
|
4
|
+
"spatialReferenceInfo": "Default Spatial Reference",
|
5
|
+
"featureServicesHeading": "Feature Services"
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"paramDescription": "Exposez le paramètre Spatial Reference et autorisez les utilisateurs à modifier la référence spatiale des couches lors du déploiement de la solution.",
|
3
3
|
"specifyParam": "Paramètre de référence spatiale",
|
4
|
-
"
|
5
|
-
"
|
4
|
+
"spatialReferenceInfo": "Référence spatiale par défaut",
|
5
|
+
"featureServicesHeading": "Services de fonctionnalités"
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"paramDescription": "חשוף את הפרמטר Spatial Reference ואפשר למשתמשים לשנות את ההתייחסות המרחבית לשכבות בעת פריסת הפתרון.",
|
3
3
|
"specifyParam": "פרמטר התייחסות מרחבית",
|
4
|
-
"
|
5
|
-
"
|
4
|
+
"spatialReferenceInfo": "ברירת המחדל של הפניה מרחבית",
|
5
|
+
"featureServicesHeading": "שירותי תכונה"
|
6
6
|
}
|
@@ -0,0 +1,20 @@
|
|
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
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
9
|
+
|
10
|
+
function getDefaultExportFromCjs (x) {
|
11
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
12
|
+
}
|
13
|
+
|
14
|
+
function commonjsRequire (path) {
|
15
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
16
|
+
}
|
17
|
+
|
18
|
+
exports.commonjsGlobal = commonjsGlobal;
|
19
|
+
exports.commonjsRequire = commonjsRequire;
|
20
|
+
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
@@ -8,8 +8,9 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
require('./esri-loader-
|
11
|
+
const locale = require('./locale-f6fd03d2.js');
|
12
|
+
require('./esri-loader-a56cbcbe.js');
|
13
|
+
require('./_commonjsHelpers-baf43783.js');
|
13
14
|
|
14
15
|
const basemapGalleryCss = ":host{display:block}";
|
15
16
|
const BasemapGalleryStyle0 = basemapGalleryCss;
|
@@ -8,11 +8,12 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-f6fd03d2.js');
|
12
12
|
const dom = require('./dom-1c78fa73.js');
|
13
13
|
const interfaces = require('./interfaces-7cd0a48a.js');
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-691f6f30.js');
|
15
|
-
require('./esri-loader-
|
15
|
+
require('./esri-loader-a56cbcbe.js');
|
16
|
+
require('./_commonjsHelpers-baf43783.js');
|
16
17
|
require('./guid-a7528dfa.js');
|
17
18
|
require('./resources-1c0e54c1.js');
|
18
19
|
require('./index-97020c9d.js');
|
@@ -15,13 +15,14 @@ const locale = require('./locale-d2a1066a.js');
|
|
15
15
|
const t9n = require('./t9n-ef615628.js');
|
16
16
|
const ExpandToggle = require('./ExpandToggle-1ff416a1.js');
|
17
17
|
const observers = require('./observers-2a59d471.js');
|
18
|
-
const loadModules = require('./loadModules-
|
18
|
+
const loadModules = require('./loadModules-36d49819.js');
|
19
19
|
require('./guid-a7528dfa.js');
|
20
20
|
require('./resources-1c0e54c1.js');
|
21
21
|
require('./key-7ed07912.js');
|
22
22
|
require('./resources-f9c93f5a.js');
|
23
23
|
require('./resources-144a98da.js');
|
24
|
-
require('./esri-loader-
|
24
|
+
require('./esri-loader-a56cbcbe.js');
|
25
|
+
require('./_commonjsHelpers-baf43783.js');
|
25
26
|
|
26
27
|
/*!
|
27
28
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -15,19 +15,20 @@ const locale = require('./locale-d2a1066a.js');
|
|
15
15
|
const openCloseComponent = require('./openCloseComponent-e752f2a5.js');
|
16
16
|
const t9n = require('./t9n-ef615628.js');
|
17
17
|
const resources = require('./resources-6146eb17.js');
|
18
|
-
const locale$1 = require('./locale-
|
18
|
+
const locale$1 = require('./locale-f6fd03d2.js');
|
19
19
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
20
|
-
const popupUtils = require('./popupUtils-
|
20
|
+
const popupUtils = require('./popupUtils-36e57a27.js');
|
21
21
|
require('./guid-a7528dfa.js');
|
22
22
|
require('./resources-1c0e54c1.js');
|
23
23
|
require('./key-7ed07912.js');
|
24
24
|
require('./observers-2a59d471.js');
|
25
|
-
require('./esri-loader-
|
25
|
+
require('./esri-loader-a56cbcbe.js');
|
26
|
+
require('./_commonjsHelpers-baf43783.js');
|
26
27
|
require('./interfaces-7cd0a48a.js');
|
27
|
-
require('./downloadUtils-
|
28
|
-
require('./solution-resource-
|
28
|
+
require('./downloadUtils-2e169425.js');
|
29
|
+
require('./solution-resource-a09a6fe0.js');
|
29
30
|
require('./index-f64944ad.js');
|
30
|
-
require('./restHelpersGet-
|
31
|
+
require('./restHelpersGet-be451f4a.js');
|
31
32
|
|
32
33
|
/*!
|
33
34
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -25,15 +25,16 @@ const focusTrapComponent = require('./focusTrapComponent-0c672330.js');
|
|
25
25
|
const guid = require('./guid-a7528dfa.js');
|
26
26
|
const component = require('./component-d48747c9.js');
|
27
27
|
const Validation = require('./Validation-425b2de4.js');
|
28
|
-
const loadModules = require('./loadModules-
|
29
|
-
const locale$1 = require('./locale-
|
28
|
+
const loadModules = require('./loadModules-36d49819.js');
|
29
|
+
const locale$1 = require('./locale-708985a1.js');
|
30
30
|
const mode = require('./mode-3478ba36.js');
|
31
31
|
require('./observers-2a59d471.js');
|
32
32
|
require('./resources-1c0e54c1.js');
|
33
33
|
require('./browser-d12b6cd5.js');
|
34
34
|
require('./debounce-7f1e04d6.js');
|
35
|
-
require('./esri-loader-
|
36
|
-
require('./
|
35
|
+
require('./esri-loader-a56cbcbe.js');
|
36
|
+
require('./_commonjsHelpers-baf43783.js');
|
37
|
+
require('./languageUtil-f22ce913.js');
|
37
38
|
|
38
39
|
/*!
|
39
40
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const core = require('./core-
|
11
|
+
const core = require('./core-7f0bcc12.js');
|
12
12
|
const filter = require('./filter-f363c8fb.js');
|
13
13
|
const dom = require('./dom-1c78fa73.js');
|
14
14
|
const floatingUi = require('./floating-ui-beb70d3c.js');
|
@@ -10,10 +10,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
11
|
const observers = require('./observers-2a59d471.js');
|
12
12
|
const resources = require('./resources-fa37e40f.js');
|
13
|
-
const locale = require('./locale-
|
13
|
+
const locale = require('./locale-f6fd03d2.js');
|
14
14
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
15
15
|
const publicNotificationStore = require('./publicNotificationStore-691f6f30.js');
|
16
|
-
require('./esri-loader-
|
16
|
+
require('./esri-loader-a56cbcbe.js');
|
17
|
+
require('./_commonjsHelpers-baf43783.js');
|
17
18
|
require('./interfaces-7cd0a48a.js');
|
18
19
|
require('./index-97020c9d.js');
|
19
20
|
|
@@ -15,13 +15,14 @@ const interactive = require('./interactive-7e5c7df4.js');
|
|
15
15
|
const locale = require('./locale-d2a1066a.js');
|
16
16
|
const t9n = require('./t9n-ef615628.js');
|
17
17
|
const resources = require('./resources-cb14bafc.js');
|
18
|
-
const locale$1 = require('./locale-
|
18
|
+
const locale$1 = require('./locale-f6fd03d2.js');
|
19
19
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
20
20
|
require('./guid-a7528dfa.js');
|
21
21
|
require('./resources-1c0e54c1.js');
|
22
22
|
require('./browser-d12b6cd5.js');
|
23
23
|
require('./key-7ed07912.js');
|
24
|
-
require('./esri-loader-
|
24
|
+
require('./esri-loader-a56cbcbe.js');
|
25
|
+
require('./_commonjsHelpers-baf43783.js');
|
25
26
|
require('./interfaces-7cd0a48a.js');
|
26
27
|
|
27
28
|
/*!
|
@@ -20,7 +20,7 @@ require('./key-7ed07912.js');
|
|
20
20
|
|
21
21
|
/**
|
22
22
|
* Do not edit directly
|
23
|
-
* Generated on Wed,
|
23
|
+
* Generated on Wed, 01 May 2024 00:07:12 GMT
|
24
24
|
*/
|
25
25
|
const calciteContainerSizeWidthXxs = {"min":"0","max":"320px"}; // Small handheld devices and mini-windows
|
26
26
|
const calciteContainerSizeWidthXs = {"min":"321px","max":"476px"}; // Handheld devices
|
@@ -15,7 +15,7 @@ const math = require('./math-11993213.js');
|
|
15
15
|
const t9n = require('./t9n-ef615628.js');
|
16
16
|
const resources = require('./resources-1c0e54c1.js');
|
17
17
|
const guid = require('./guid-a7528dfa.js');
|
18
|
-
const core = require('./core-
|
18
|
+
const core = require('./core-7f0bcc12.js');
|
19
19
|
const observers = require('./observers-2a59d471.js');
|
20
20
|
const interactive = require('./interactive-7e5c7df4.js');
|
21
21
|
const component = require('./component-d48747c9.js');
|
@@ -24,19 +24,20 @@ const sharedListRender = require('./shared-list-render-6491aae1.js');
|
|
24
24
|
const sortableComponent = require('./sortableComponent-b1b229bf.js');
|
25
25
|
const resources$2 = require('./resources-c35bef76.js');
|
26
26
|
const resources$1 = require('./resources-5ba856a7.js');
|
27
|
-
const locale$1 = require('./locale-
|
28
|
-
const solutionStore = require('./solution-store-
|
27
|
+
const locale$1 = require('./locale-f6fd03d2.js');
|
28
|
+
const solutionStore = require('./solution-store-d9f3ea44.js');
|
29
29
|
const interfaces = require('./interfaces-7cd0a48a.js');
|
30
|
-
const solutionResource = require('./solution-resource-
|
30
|
+
const solutionResource = require('./solution-resource-a09a6fe0.js');
|
31
31
|
require('./index-f64944ad.js');
|
32
32
|
require('./key-7ed07912.js');
|
33
33
|
require('./browser-d12b6cd5.js');
|
34
34
|
require('./array-550d54b1.js');
|
35
35
|
require('./resources-35c28ff1.js');
|
36
36
|
require('./debounce-7f1e04d6.js');
|
37
|
-
require('./esri-loader-
|
37
|
+
require('./esri-loader-a56cbcbe.js');
|
38
|
+
require('./_commonjsHelpers-baf43783.js');
|
38
39
|
require('./index-97020c9d.js');
|
39
|
-
require('./restHelpersGet-
|
40
|
+
require('./restHelpersGet-be451f4a.js');
|
40
41
|
|
41
42
|
/*!
|
42
43
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -2936,7 +2937,7 @@ const SolutionTemplateData = class {
|
|
2936
2937
|
* Renders the component.
|
2937
2938
|
*/
|
2938
2939
|
render() {
|
2939
|
-
return (index.h(index.Host, { key: '
|
2940
|
+
return (index.h(index.Host, { key: '5a417f81d9b0d98ad28f9139406fee4b37204169' }, index.h("div", { key: '0dd5d77a961473bf45f7654ccb2e0507b492a6c7', class: "solution-data-container" }, index.h("calcite-shell", { key: '3b839b36a89f1a9db10a6ad8b3f7d088248770bc', class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { key: '9f6ce42fdad56cf7a9f6b2f9ccac707eb655f4f1', class: "json-editor" }, index.h("div", { key: 'a1ba50c8fd13cf6d4934aa72083c0519c317721d', class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { key: '8f832aecde35b6b82e16b3d201b738fe202e86a3', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { key: 'c24f19fcc440884123f59842b392063925b5cbf6', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { key: '8d9c25baada3e2ca03ee192f44121d7bdab85432', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.h("calcite-button", { key: '247b542336578c5404c7246552424c16030d90a7', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), index.h("div", { key: '963c1802c7828557cec5493602c3a1669e21683c', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { key: '566f672a97401d77ed7180d5fc7b2367027fcc57', value: this.organizationVariables })), index.h("div", { key: '79508bfcde2ac8507acd40bbc3edceb944c3e717', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { key: '51756082f8d13c73d7ae1349fc5625994a3354bb', value: this.solutionVariables }))))))));
|
2940
2941
|
}
|
2941
2942
|
//--------------------------------------------------------------------------
|
2942
2943
|
//
|
@@ -3009,7 +3010,7 @@ const SolutionVariables = class {
|
|
3009
3010
|
* Renders the component.
|
3010
3011
|
*/
|
3011
3012
|
render() {
|
3012
|
-
return (index.h(index.Host, { key: '
|
3013
|
+
return (index.h(index.Host, { key: '4367694cf20a2063b57679f1a955ef827eea1c05' }, index.h("div", { key: '875e6e1532e7406ddf6cca804e421980aa23b7cd' }, index.h("h4", { key: 'b6798506cf71d3c84e2c33a3d12a0729591a73a7', class: "org-var-header" }, this._translations.solVariables)), index.h("div", { key: '413d3c7ebae5afa05a8cb5c87f766db64f43e106', class: "container-border" }, index.h("calcite-tree", { key: 'ba5bf27e005ce7536cdfe0c8022c96cd0b4ad920', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
3013
3014
|
}
|
3014
3015
|
//--------------------------------------------------------------------------
|
3015
3016
|
//
|
@@ -8,14 +8,15 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-f6fd03d2.js');
|
12
12
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
13
|
-
const downloadUtils = require('./downloadUtils-
|
14
|
-
require('./esri-loader-
|
13
|
+
const downloadUtils = require('./downloadUtils-2e169425.js');
|
14
|
+
require('./esri-loader-a56cbcbe.js');
|
15
|
+
require('./_commonjsHelpers-baf43783.js');
|
15
16
|
require('./interfaces-7cd0a48a.js');
|
16
|
-
require('./solution-resource-
|
17
|
+
require('./solution-resource-a09a6fe0.js');
|
17
18
|
require('./index-f64944ad.js');
|
18
|
-
require('./restHelpersGet-
|
19
|
+
require('./restHelpersGet-be451f4a.js');
|
19
20
|
|
20
21
|
const cardManagerCss = ":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";
|
21
22
|
const CardManagerStyle0 = cardManagerCss;
|
@@ -8,8 +8,9 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
require('./esri-loader-
|
11
|
+
const locale = require('./locale-f6fd03d2.js');
|
12
|
+
require('./esri-loader-a56cbcbe.js');
|
13
|
+
require('./_commonjsHelpers-baf43783.js');
|
13
14
|
|
14
15
|
function shouldDisableTracking(options = {}) {
|
15
16
|
const { disabled, portal } = options;
|
@@ -8,10 +8,11 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-f6fd03d2.js');
|
12
12
|
const interfaces = require('./interfaces-7cd0a48a.js');
|
13
13
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
14
|
-
require('./esri-loader-
|
14
|
+
require('./esri-loader-a56cbcbe.js');
|
15
|
+
require('./_commonjsHelpers-baf43783.js');
|
15
16
|
|
16
17
|
const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}";
|
17
18
|
const CrowdsourceManagerStyle0 = crowdsourceManagerCss;
|
@@ -8,9 +8,10 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-f6fd03d2.js');
|
12
12
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
13
|
-
require('./esri-loader-
|
13
|
+
require('./esri-loader-a56cbcbe.js');
|
14
|
+
require('./_commonjsHelpers-baf43783.js');
|
14
15
|
require('./interfaces-7cd0a48a.js');
|
15
16
|
|
16
17
|
const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";
|
@@ -5,13 +5,13 @@
|
|
5
5
|
*/
|
6
6
|
'use strict';
|
7
7
|
|
8
|
-
const
|
8
|
+
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
9
9
|
const index = require('./index-ff18be0d.js');
|
10
|
-
const locale = require('./locale-
|
10
|
+
const locale = require('./locale-f6fd03d2.js');
|
11
11
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
12
|
-
require('./solution-resource-
|
12
|
+
require('./solution-resource-a09a6fe0.js');
|
13
13
|
require('./index-f64944ad.js');
|
14
|
-
const restHelpersGet = require('./restHelpersGet-
|
14
|
+
const restHelpersGet = require('./restHelpersGet-be451f4a.js');
|
15
15
|
|
16
16
|
/** @license
|
17
17
|
* Copyright 2022 Esri
|
@@ -503,7 +503,7 @@ function _typeof(obj) {
|
|
503
503
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
504
504
|
}(_typeof));
|
505
505
|
|
506
|
-
const t = /*@__PURE__*/
|
506
|
+
const t = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(_typeof.exports);
|
507
507
|
|
508
508
|
// DEFLATE is a complex format; to read this code, you should probably check the RFC first:
|
509
509
|
|
@@ -1349,7 +1349,7 @@ function(t){var r=function(t){var e,r,n,i,a,o,s,c,u,h;for(/[^\x00-\xFF]/.test(t)
|
|
1349
1349
|
* Licensed under the MIT License.
|
1350
1350
|
* http://opensource.org/licenses/mit-license
|
1351
1351
|
*/
|
1352
|
-
function(t){t.loadFile=function(t,e,r){return function(t,e,r){e=!1!==e,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(t,e,r){var n=new XMLHttpRequest,i=0,a=function(t){var e=t.length,r=[],n=String.fromCharCode;for(i=0;i<e;i+=1)r.push(n(255&t.charCodeAt(i)));return r.join("")};if(n.open("GET",t,!e),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(n.onload=function(){200===n.status?r(a(this.responseText)):r(void 0);}),n.send(null),e&&200===n.status)return a(n.responseText)}(t,e,r);}catch(t){}return n}(t,e,r)},t.loadImageFile=t.loadFile;}(E.API),function(e){function r(){return (n.html2canvas?Promise.resolve(n.html2canvas):Promise.resolve().then(function () { return require('./html2canvas-ef5cae40.js'); }).then(function (n) { return n.html2canvas; })).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function i(){return (n.DOMPurify?Promise.resolve(n.DOMPurify):Promise.resolve().then(function () { return require('./purify-4a0e9dfb.js'); }).then(function (n) { return n.purify; })).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var a=function(e){var r=t(e);return "undefined"===r?"undefined":"string"===r||e instanceof String?"string":"number"===r||e instanceof Number?"number":"function"===r||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===r?"object":"unknown"},o=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},s=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return n=(n=n.setProgress(1,t,1,[t])).set(e)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(t,e){return t.__proto__=e||s.prototype,t},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(a(t)){case"string":return "string";case"element":return "canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return "unknown"}}(t)){case"string":return this.then(i).then((function(e){return this.set({src:o("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=function t(e,r){for(var n=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),i=e.firstChild;i;i=i.nextSibling)!0!==r&&1===i.nodeType&&"SCRIPT"===i.nodeName||n.appendChild(t(i,r));return 1===e.nodeType&&("CANVAS"===e.nodeName?(n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(n.value=e.value),n.addEventListener("load",(function(){n.scrollTop=e.scrollTop,n.scrollLeft=e.scrollLeft;}),!0)),n}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(o("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px";}))},s.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(r).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay);}))},s.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(r).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:n,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,e.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.margin=this.opt.margin,e.context2d.fontFaces=r,r)for(var a=0;a<r.length;++a){var o=r[a],s=o.src.find((function(t){return "truetype"===t.format}));s&&e.addFont(s.url,o.ref.name,o.ref.style);}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,e.context2d.save(!0),t(this.prop.container,i)})).then((function(t){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay);}))},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t;}))},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF;}))},s.prototype.output=function(t,e,r){return "img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},s.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},s.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw 'Image output type "'+t+'" is not supported.'}}))},s.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename);}))},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf);}))},s.prototype.set=function(t){if("object"!==a(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in s.template.prop)return function(){this.prop[e]=t[e];};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e];}}}),this);return this.then((function(){return this.thenList(e)}))},s.prototype.get=function(t,e){return this.then((function(){var r=t in s.template.prop?this.prop[t]:this.opt[t];return e?e(r):r}))},s.prototype.setMargin=function(t){return this.then((function(){switch(a(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t;})).then(this.setPageSize)},s.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||E.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t;}))},s.prototype.setProgress=function(t,e,r,n){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(t,e,r,n){return this.setProgress(t?this.progress.val+t:null,e||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},s.prototype.then=function(t,e){var r=this;return this.thenCore(t,e,(function(t,e){return r.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return r.updateProgress(null,t),e})).then(t,e).then((function(t){return r.updateProgress(1),t}))}))},s.prototype.thenCore=function(t,e,r){r=r||Promise.prototype.then;t&&(t=t.bind(this)),e&&(e=e.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:s.convert(Object.assign({},this),Promise.prototype),i=r.call(n,t,e);return s.convert(i,this.__proto__)},s.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},s.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t);})),e},s.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return s.convert(e,this)},s.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},s.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,E.getPageSize=function(e,r,n){if("object"===t(e)){var i=e;e=i.orientation,r=i.unit||r,n=i.format||n;}r=r||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var a,o=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(r){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw "Invalid unit: "+r}var c,u=0,h=0;if(s.hasOwnProperty(o))u=s[o][1]/a,h=s[o][0]/a;else try{u=n[1],h=n[0];}catch(t){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",h>u&&(c=h,h=u,u=c);else {if("l"!==e&&"landscape"!==e)throw "Invalid orientation: "+e;e="l",u>h&&(c=h,h=u,u=c);}return {width:h,height:u,unit:r,k:a,orientation:e}},e.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(jt):null;var r=new s(e);return e.worker?r:r.from(t).doCallback()};}(E.API),E.API.addJS=function(t){return Ht=t,this.internal.events.subscribe("postPutResources",(function(){Ut=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ut+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),zt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ht+")"),this.internal.out(">>"),this.internal.out("endobj");})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ut&&void 0!==zt&&this.internal.out("/Names <</JavaScript "+Ut+" 0 R>>");})),this},
|
1352
|
+
function(t){t.loadFile=function(t,e,r){return function(t,e,r){e=!1!==e,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(t,e,r){var n=new XMLHttpRequest,i=0,a=function(t){var e=t.length,r=[],n=String.fromCharCode;for(i=0;i<e;i+=1)r.push(n(255&t.charCodeAt(i)));return r.join("")};if(n.open("GET",t,!e),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(n.onload=function(){200===n.status?r(a(this.responseText)):r(void 0);}),n.send(null),e&&200===n.status)return a(n.responseText)}(t,e,r);}catch(t){}return n}(t,e,r)},t.loadImageFile=t.loadFile;}(E.API),function(e){function r(){return (n.html2canvas?Promise.resolve(n.html2canvas):Promise.resolve().then(function () { return require('./html2canvas-29c6b9cc.js'); }).then(function (n) { return n.html2canvas; })).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function i(){return (n.DOMPurify?Promise.resolve(n.DOMPurify):Promise.resolve().then(function () { return require('./purify-17c0fc4a.js'); }).then(function (n) { return n.purify; })).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var a=function(e){var r=t(e);return "undefined"===r?"undefined":"string"===r||e instanceof String?"string":"number"===r||e instanceof Number?"number":"function"===r||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===r?"object":"unknown"},o=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},s=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return n=(n=n.setProgress(1,t,1,[t])).set(e)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(t,e){return t.__proto__=e||s.prototype,t},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(a(t)){case"string":return "string";case"element":return "canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return "unknown"}}(t)){case"string":return this.then(i).then((function(e){return this.set({src:o("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=function t(e,r){for(var n=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),i=e.firstChild;i;i=i.nextSibling)!0!==r&&1===i.nodeType&&"SCRIPT"===i.nodeName||n.appendChild(t(i,r));return 1===e.nodeType&&("CANVAS"===e.nodeName?(n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(n.value=e.value),n.addEventListener("load",(function(){n.scrollTop=e.scrollTop,n.scrollLeft=e.scrollLeft;}),!0)),n}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(o("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px";}))},s.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(r).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay);}))},s.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(r).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:n,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,e.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.margin=this.opt.margin,e.context2d.fontFaces=r,r)for(var a=0;a<r.length;++a){var o=r[a],s=o.src.find((function(t){return "truetype"===t.format}));s&&e.addFont(s.url,o.ref.name,o.ref.style);}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,e.context2d.save(!0),t(this.prop.container,i)})).then((function(t){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay);}))},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t;}))},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF;}))},s.prototype.output=function(t,e,r){return "img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},s.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},s.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw 'Image output type "'+t+'" is not supported.'}}))},s.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename);}))},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf);}))},s.prototype.set=function(t){if("object"!==a(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in s.template.prop)return function(){this.prop[e]=t[e];};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e];}}}),this);return this.then((function(){return this.thenList(e)}))},s.prototype.get=function(t,e){return this.then((function(){var r=t in s.template.prop?this.prop[t]:this.opt[t];return e?e(r):r}))},s.prototype.setMargin=function(t){return this.then((function(){switch(a(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t;})).then(this.setPageSize)},s.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||E.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t;}))},s.prototype.setProgress=function(t,e,r,n){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(t,e,r,n){return this.setProgress(t?this.progress.val+t:null,e||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},s.prototype.then=function(t,e){var r=this;return this.thenCore(t,e,(function(t,e){return r.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return r.updateProgress(null,t),e})).then(t,e).then((function(t){return r.updateProgress(1),t}))}))},s.prototype.thenCore=function(t,e,r){r=r||Promise.prototype.then;t&&(t=t.bind(this)),e&&(e=e.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:s.convert(Object.assign({},this),Promise.prototype),i=r.call(n,t,e);return s.convert(i,this.__proto__)},s.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},s.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t);})),e},s.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return s.convert(e,this)},s.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},s.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,E.getPageSize=function(e,r,n){if("object"===t(e)){var i=e;e=i.orientation,r=i.unit||r,n=i.format||n;}r=r||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var a,o=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(r){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw "Invalid unit: "+r}var c,u=0,h=0;if(s.hasOwnProperty(o))u=s[o][1]/a,h=s[o][0]/a;else try{u=n[1],h=n[0];}catch(t){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",h>u&&(c=h,h=u,u=c);else {if("l"!==e&&"landscape"!==e)throw "Invalid orientation: "+e;e="l",u>h&&(c=h,h=u,u=c);}return {width:h,height:u,unit:r,k:a,orientation:e}},e.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(jt):null;var r=new s(e);return e.worker?r:r.from(t).doCallback()};}(E.API),E.API.addJS=function(t){return Ht=t,this.internal.events.subscribe("postPutResources",(function(){Ut=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ut+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),zt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ht+")"),this.internal.out(">>"),this.internal.out("endobj");})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ut&&void 0!==zt&&this.internal.out("/Names <</JavaScript "+Ut+" 0 R>>");})),this},
|
1353
1353
|
/**
|
1354
1354
|
* @license
|
1355
1355
|
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
@@ -1512,7 +1512,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
|
|
1512
1512
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1513
1513
|
* ====================================================================
|
1514
1514
|
*/
|
1515
|
-
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-
|
1515
|
+
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-301b8d18.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
|
1516
1516
|
/** ====================================================================
|
1517
1517
|
* @license
|
1518
1518
|
* jsPDF XMP metadata plugin
|
@@ -5,22 +5,14 @@
|
|
5
5
|
*/
|
6
6
|
'use strict';
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
function getDefaultExportFromCjs (x) {
|
11
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
12
|
-
}
|
13
|
-
|
14
|
-
function commonjsRequire (path) {
|
15
|
-
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
16
|
-
}
|
8
|
+
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
17
9
|
|
18
10
|
var esriLoader = {exports: {}};
|
19
11
|
|
20
12
|
(function (module, exports) {
|
21
13
|
(function (global, factory) {
|
22
14
|
factory(exports) ;
|
23
|
-
}(commonjsGlobal, (function (exports) {
|
15
|
+
}(_commonjsHelpers.commonjsGlobal, (function (exports) {
|
24
16
|
/* Copyright (c) 2022 Environmental Systems Research Institute, Inc.
|
25
17
|
* Apache-2.0 */
|
26
18
|
var isBrowser = typeof window !== 'undefined';
|
@@ -310,7 +302,4 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
310
302
|
|
311
303
|
}(esriLoader, esriLoader.exports));
|
312
304
|
|
313
|
-
exports.commonjsGlobal = commonjsGlobal;
|
314
|
-
exports.commonjsRequire = commonjsRequire;
|
315
305
|
exports.esriLoader = esriLoader;
|
316
|
-
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
@@ -8,14 +8,15 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
const popupUtils = require('./popupUtils-
|
11
|
+
const locale = require('./locale-f6fd03d2.js');
|
12
|
+
const popupUtils = require('./popupUtils-36e57a27.js');
|
13
13
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
14
|
-
require('./esri-loader-
|
15
|
-
require('./
|
16
|
-
require('./
|
14
|
+
require('./esri-loader-a56cbcbe.js');
|
15
|
+
require('./_commonjsHelpers-baf43783.js');
|
16
|
+
require('./downloadUtils-2e169425.js');
|
17
|
+
require('./solution-resource-a09a6fe0.js');
|
17
18
|
require('./index-f64944ad.js');
|
18
|
-
require('./restHelpersGet-
|
19
|
+
require('./restHelpersGet-be451f4a.js');
|
19
20
|
require('./interfaces-7cd0a48a.js');
|
20
21
|
|
21
22
|
const featureListCss = ":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;padding:10px 12px;white-space:pre-line}.feature-list-popup-title-small{font-size:small;padding:10px 12px;white-space:pre-line}";
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
'use strict';
|
7
7
|
|
8
|
-
const loadModules = require('./loadModules-
|
8
|
+
const loadModules = require('./loadModules-36d49819.js');
|
9
9
|
const index = require('./index-97020c9d.js');
|
10
10
|
|
11
11
|
async function getMergedEffect(presetLayerEffect, featureLayerView, type) {
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
'use strict';
|
7
7
|
|
8
|
-
const
|
8
|
+
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
9
9
|
|
10
10
|
var html2canvas$2 = {exports: {}};
|
11
11
|
|
@@ -18,7 +18,7 @@ var html2canvas$2 = {exports: {}};
|
|
18
18
|
(function (module, exports) {
|
19
19
|
(function (global, factory) {
|
20
20
|
module.exports = factory() ;
|
21
|
-
}(
|
21
|
+
}(_commonjsHelpers.commonjsGlobal, (function () {
|
22
22
|
/*! *****************************************************************************
|
23
23
|
Copyright (c) Microsoft Corporation.
|
24
24
|
|