@esri/solutions-components 0.10.48 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ExpandToggle-44886935.js +115 -0
- package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
- package/dist/cjs/Heading-ee0aa171.js +25 -0
- package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
- package/dist/cjs/Validation-9515ef0c.js +20 -0
- package/dist/cjs/app-globals-03a6ab9b.js +67 -0
- package/dist/cjs/ar-180cd9b0.js +106 -0
- package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
- package/dist/cjs/bg-fd095c86.js +84 -0
- package/dist/cjs/browser-717f77af.js +35 -0
- package/dist/cjs/bs-11fa6f0d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/ca-0685b1cc.js +73 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
- package/dist/cjs/calcite-button-de2c2e75.js +282 -0
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
- package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
- package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-945ec162.js +1001 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label-e7b67a86.js +111 -0
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
- package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
- package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
- package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
- package/dist/cjs/common-10d11a29.js +37 -0
- package/dist/cjs/component-69260f95.js +1073 -0
- package/dist/cjs/conditionalSlot-130cce71.js +54 -0
- package/dist/cjs/config-c999f8fc.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +7914 -45
- package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-70e8ba01.js +149 -0
- package/dist/cjs/da-e8eb9ff4.js +69 -0
- package/dist/cjs/date-40a80298.js +264 -0
- package/dist/cjs/de-4b8310d2.js +93 -0
- package/dist/cjs/de-at-dc8ed8c3.js +92 -0
- package/dist/cjs/de-ch-c5971940.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-b6490537.js +3223 -0
- package/dist/cjs/el-a70d9f12.js +68 -0
- package/dist/cjs/en-au-88ddb80f.js +68 -0
- package/dist/cjs/en-ca-5a29b95b.js +67 -0
- package/dist/cjs/en-gb-3c763a84.js +71 -0
- package/dist/cjs/es-e83e8ff5.js +68 -0
- package/dist/cjs/es-mx-2ea879ef.js +67 -0
- package/dist/cjs/et-7b00c80d.js +94 -0
- package/dist/cjs/feature-list.cjs.entry.js +12 -10
- package/dist/cjs/fi-92ca007b.js +117 -0
- package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
- package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
- package/dist/cjs/form-dd5380da.js +370 -0
- package/dist/cjs/form-f2a43327.js +381 -0
- package/dist/cjs/fr-a1f5dfd4.js +70 -0
- package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
- package/dist/cjs/he-38b2b883.js +107 -0
- package/dist/cjs/helpers-47465fc2.js +940 -0
- package/dist/cjs/hi-a517b1a8.js +67 -0
- package/dist/cjs/hr-c1e34de1.js +82 -0
- package/dist/cjs/hu-e46e8ae7.js +90 -0
- package/dist/cjs/icon-f45e7fbb.js +979 -0
- package/dist/cjs/id-bfc376d8.js +68 -0
- package/dist/cjs/index-1ab17699.js +201 -0
- package/dist/cjs/index-3bae5121.js +1789 -0
- package/dist/cjs/index-5d8d6ae2.js +2157 -0
- package/dist/cjs/index.es-5fc7bebc.js +11221 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +16 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
- package/dist/cjs/interactive-b59e6294.js +86 -0
- package/dist/cjs/interactive-e1c3ccf2.js +85 -0
- package/dist/cjs/it-6d8c8360.js +68 -0
- package/dist/cjs/it-ch-2b05812c.js +68 -0
- package/dist/cjs/ja-eb46f963.js +74 -0
- package/dist/cjs/ko-dbe28d19.js +74 -0
- package/dist/cjs/label-7f519bd9.js +186 -0
- package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
- package/dist/cjs/loadable-19ab5827.js +98 -0
- package/dist/cjs/loader-97bb6b45.js +176 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-3a817e03.js +1488 -0
- package/dist/cjs/locale-80aff4b9.js +605 -0
- package/dist/cjs/locale-a79da367.js +160 -0
- package/dist/cjs/logger-780b61e8.js +61 -0
- package/dist/cjs/lt-651bfa9c.js +99 -0
- package/dist/cjs/lv-f6fe37a3.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +15 -13
- package/dist/cjs/mk-1f0ffdf6.js +68 -0
- package/dist/cjs/nb-8b7b39ed.js +69 -0
- package/dist/cjs/nl-27515721.js +69 -0
- package/dist/cjs/observers-902ebe13.js +58 -0
- package/dist/cjs/openCloseComponent-039ee139.js +65 -0
- package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pl-d2098514.js +116 -0
- package/dist/cjs/popupUtils-72d48968.js +121 -0
- package/dist/cjs/pt-a3304010.js +69 -0
- package/dist/cjs/pt-br-09d60ba8.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +12 -10
- package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
- package/dist/cjs/request-19fdbaaa.js +21 -0
- package/dist/cjs/restHelpersGet-e4639890.js +507 -0
- package/dist/cjs/ro-2ea54b1c.js +68 -0
- package/dist/cjs/ru-f94ee202.js +128 -0
- package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
- package/dist/cjs/sk-3cdf67d8.js +150 -0
- package/dist/cjs/sl-075daf42.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
- package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
- package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
- package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
- package/dist/cjs/solution-store-4e602251.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +6 -6
- package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
- package/dist/cjs/sr-2f08967b.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +7 -7
- package/dist/cjs/sv-65f0e21c.js +73 -0
- package/dist/cjs/t9n-0195f685.js +108 -0
- package/dist/cjs/templates-1e84847a.js +407 -0
- package/dist/cjs/th-db63e592.js +67 -0
- package/dist/cjs/time-caa0abbe.js +301 -0
- package/dist/cjs/tr-b6401cac.js +68 -0
- package/dist/cjs/typeof-2a7e2dec.js +28 -0
- package/dist/cjs/uk-d00c351d.js +106 -0
- package/dist/cjs/update-243ea407.js +783 -0
- package/dist/cjs/utils-7eb34f90.js +153 -0
- package/dist/cjs/utils-d2bcba4f.js +79 -0
- package/dist/cjs/vi-efe4ad72.js +72 -0
- package/dist/cjs/zh-cn-63f07390.js +96 -0
- package/dist/cjs/zh-hk-84a86ab9.js +94 -0
- package/dist/cjs/zh-tw-894f1adf.js +94 -0
- package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +113 -37
- package/dist/collection/components/create-feature/create-feature.js +2 -2
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +2 -2
- package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +26 -2
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +224 -47
- package/dist/collection/components/map-card/map-card.js +2 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +53 -4
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -3
- package/dist/collection/components/map-tools/map-tools.js +2 -2
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/consent-manager.html +56 -0
- package/dist/collection/utils/interfaces.ts +14 -0
- package/dist/components/IdentityManager.js +339 -0
- package/dist/components/asyncToGenerator.js +88 -0
- package/dist/components/basemap-gallery2.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/calcite-button2.js +273 -0
- package/dist/components/calcite-dialog.js +1 -663
- package/dist/components/calcite-dialog2.js +5867 -0
- package/dist/components/calcite-input2.js +992 -0
- package/dist/components/calcite-label2.js +100 -0
- package/dist/components/calcite-notice2.js +251 -0
- package/dist/components/card-manager2.js +10 -10
- package/dist/components/common.js +0 -1
- package/dist/components/component2.js +1048 -0
- package/dist/components/consent-manager.js +8053 -203
- package/dist/components/create-feature2.js +2 -2
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +37 -37
- package/dist/components/crowdsource-reporter.js +28 -28
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +29 -11
- package/dist/components/delete-dialog2.js +33 -9
- package/dist/components/dialog.js +670 -0
- package/dist/components/downloadUtils.js +10 -26
- package/dist/components/edit-card2.js +7 -2
- package/dist/components/feature-details2.js +23 -23
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/form2.js +362 -0
- package/dist/components/icon2.js +960 -0
- package/dist/components/index.es.js +25 -104
- package/dist/components/index2.js +6 -5
- package/dist/components/info-card2.js +9 -9
- package/dist/components/instant-apps-language-switcher.js +6 -10
- package/dist/components/instant-apps-language-translator2.js +2 -809
- package/dist/components/instant-apps-time-filter.js +3 -57
- package/dist/components/interactive2.js +83 -0
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/label3.js +179 -0
- package/dist/components/layer-table2.js +212 -69
- package/dist/components/loader2.js +173 -0
- package/dist/components/locale3.js +1311 -3
- package/dist/components/map-card2.js +2 -2
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +53 -5
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +28 -3
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/map-tools2.js +2 -2
- package/dist/components/openCloseComponent2.js +64 -0
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +2 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/request.js +14 -0
- package/dist/components/restHelpersGet.js +74 -557
- package/dist/components/solution-configuration.js +27 -28
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -2
- package/dist/components/solution-resource.js +1701 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +36 -285
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/templates.js +0 -1
- package/dist/components/typeof.js +25 -0
- package/dist/components/update.js +773 -0
- package/dist/esm/ExpandToggle-324f556e.js +108 -0
- package/dist/esm/FloatingArrow-cd37b366.js +46 -0
- package/dist/esm/Heading-b6b7a8a6.js +22 -0
- package/dist/esm/IdentityManager-6880e890.js +2012 -0
- package/dist/esm/Validation-b62abebe.js +18 -0
- package/dist/esm/app-globals-b6ef4076.js +65 -0
- package/dist/esm/ar-aa347a04.js +104 -0
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +37 -12
- package/dist/esm/bg-b56e89f6.js +82 -0
- package/dist/esm/browser-e42b9848.js +32 -0
- package/dist/esm/bs-62486009.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +7 -7
- package/dist/esm/ca-db6a81f3.js +71 -0
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +9 -9
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu_2.entry.js +10 -10
- package/dist/esm/calcite-action-pad_2.entry.js +9 -9
- package/dist/esm/calcite-action_2.entry.js +14 -14
- package/dist/esm/calcite-alert_2.entry.js +495 -0
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +7 -7
- package/dist/esm/calcite-block_5.entry.js +19 -19
- package/dist/esm/calcite-button-e86d99b3.js +279 -0
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card-group.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-carousel_2.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip-group.entry.js +5 -5
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker.entry.js +8 -8
- package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
- package/dist/esm/calcite-combobox_3.entry.js +68 -22
- package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
- package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
- package/dist/esm/calcite-dialog.entry.js +10 -10
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter_5.entry.js +8 -8
- package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
- package/dist/esm/calcite-flow_4.entry.js +12 -12
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-icon_2.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-1f12bce0.js +998 -0
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +10 -10
- package/dist/esm/calcite-input_2.entry.js +11 -11
- package/dist/esm/calcite-label-d80f6f1c.js +108 -0
- package/dist/esm/calcite-label.entry.js +3 -3
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list-item-group.entry.js +2 -2
- package/dist/esm/calcite-menu-item.entry.js +7 -7
- package/dist/esm/calcite-menu.entry.js +7 -7
- package/dist/esm/calcite-meter.entry.js +7 -7
- package/dist/esm/calcite-modal_4.entry.js +965 -0
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +4 -4
- package/dist/esm/calcite-notice-acc12411.js +258 -0
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +7 -7
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +11 -11
- package/dist/esm/calcite-pick-list.entry.js +9 -9
- package/dist/esm/calcite-radio-button-group.entry.js +6 -6
- package/dist/esm/calcite-radio-button.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +6 -6
- package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
- package/dist/esm/calcite-shell.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-table-cell_2.entry.js +8 -8
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +11 -11
- package/dist/esm/calcite-tile-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +5 -5
- package/dist/esm/calcite-time-picker.entry.js +8 -8
- package/dist/esm/calcite-tip-group.entry.js +3 -3
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/calcite-tooltip.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +194 -51
- package/dist/esm/common-c8dc0e85.js +35 -0
- package/dist/esm/component-85f22c99.js +1048 -0
- package/dist/esm/conditionalSlot-2e16b206.js +51 -0
- package/dist/esm/config-e6645458.js +36 -0
- package/dist/esm/consent-manager.entry.js +7910 -41
- package/dist/esm/crowdsource-manager.entry.js +6 -6
- package/dist/esm/crowdsource-reporter.entry.js +3 -3
- package/dist/esm/cs-250e21c6.js +147 -0
- package/dist/esm/da-bab8eb4e.js +67 -0
- package/dist/esm/date-272939fd.js +248 -0
- package/dist/esm/de-808a43dc.js +91 -0
- package/dist/esm/de-at-9c396c81.js +90 -0
- package/dist/esm/de-ch-415303cf.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/dom-66c5cd46.js +1165 -0
- package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
- package/dist/esm/el-3d1eaeb8.js +66 -0
- package/dist/esm/en-au-e6b00a93.js +66 -0
- package/dist/esm/en-ca-29b94ea2.js +65 -0
- package/dist/esm/en-gb-09267176.js +69 -0
- package/dist/esm/es-95fef748.js +66 -0
- package/dist/esm/es-mx-9b70cfc9.js +65 -0
- package/dist/esm/et-08cbe214.js +92 -0
- package/dist/esm/feature-list.entry.js +12 -10
- package/dist/esm/fi-e850e58b.js +115 -0
- package/dist/esm/floating-ui-1a431a21.js +2404 -0
- package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
- package/dist/esm/form-1528db83.js +362 -0
- package/dist/esm/form-99398da6.js +372 -0
- package/dist/esm/fr-c71b6844.js +68 -0
- package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
- package/dist/esm/he-311cb5ba.js +105 -0
- package/dist/esm/helpers-f52a734a.js +913 -0
- package/dist/esm/hi-c41f0938.js +65 -0
- package/dist/esm/hr-f42cc721.js +80 -0
- package/dist/esm/hu-d1d33b21.js +88 -0
- package/dist/esm/icon-18c0eb17.js +959 -0
- package/dist/esm/id-1867967d.js +66 -0
- package/dist/esm/index-38bde943.js +199 -0
- package/dist/esm/index-d233c7a2.js +1753 -0
- package/dist/esm/index-d88c3eb6.js +2155 -0
- package/dist/esm/index.es-d286eecc.js +11134 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -13
- package/dist/esm/instant-apps-language-translator.entry.js +5 -5
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +3 -57
- package/dist/esm/interactive-5139f8d7.js +83 -0
- package/dist/esm/interactive-cad37709.js +82 -0
- package/dist/esm/it-6a7495d8.js +66 -0
- package/dist/esm/it-ch-89fa3c82.js +66 -0
- package/dist/esm/ja-f87a1f44.js +72 -0
- package/dist/esm/ko-0f4c7a11.js +72 -0
- package/dist/esm/label-56002f24.js +179 -0
- package/dist/esm/label-7f52ca53.js +179 -0
- package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
- package/dist/esm/loadable-dc3f24a8.js +93 -0
- package/dist/esm/loader-bae2aa52.js +173 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-586d9375.js +155 -0
- package/dist/esm/locale-911eca09.js +591 -0
- package/dist/esm/locale-be7fd298.js +1423 -0
- package/dist/esm/logger-ff14b12f.js +59 -0
- package/dist/esm/lt-a4b14416.js +97 -0
- package/dist/esm/lv-3901862d.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +15 -13
- package/dist/esm/mk-886d280d.js +66 -0
- package/dist/esm/nb-b667a0e1.js +67 -0
- package/dist/esm/nl-d357a092.js +67 -0
- package/dist/esm/observers-ab3d6528.js +56 -0
- package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
- package/dist/esm/openCloseComponent-c3f79463.js +63 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pl-75d54069.js +114 -0
- package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
- package/dist/esm/pt-32bd5da2.js +67 -0
- package/dist/esm/pt-br-6f32314d.js +65 -0
- package/dist/esm/public-notification.entry.js +12 -10
- package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
- package/dist/esm/request-2dbb152a.js +19 -0
- package/dist/esm/restHelpersGet-a7fda344.js +493 -0
- package/dist/esm/ro-d238055e.js +66 -0
- package/dist/esm/ru-ef7165ff.js +126 -0
- package/dist/esm/shared-list-render-5f202c55.js +339 -0
- package/dist/esm/sk-959dbca1.js +148 -0
- package/dist/esm/sl-96436015.js +168 -0
- package/dist/esm/solution-configuration.entry.js +34 -34
- package/dist/esm/solution-contents_3.entry.js +11 -11
- package/dist/esm/solution-item-accordion.entry.js +3 -3
- package/dist/esm/solution-item-icon.entry.js +2 -2
- package/dist/esm/solution-resource-30a29505.js +1842 -0
- package/dist/esm/solution-store-f252cb74.js +1103 -0
- package/dist/esm/solutions-components.js +7 -7
- package/dist/esm/spatial-ref.entry.js +5 -6
- package/dist/esm/sr-73033c89.js +101 -0
- package/dist/esm/store-manager.entry.js +7 -7
- package/dist/esm/sv-b1153aa8.js +71 -0
- package/dist/esm/t9n-1698878e.js +103 -0
- package/dist/esm/templates-60f33938.js +401 -0
- package/dist/esm/th-e1a074e2.js +65 -0
- package/dist/esm/time-bca5f70b.js +286 -0
- package/dist/esm/tr-1350f529.js +66 -0
- package/dist/esm/typeof-ef2a007d.js +25 -0
- package/dist/esm/uk-18ded66c.js +104 -0
- package/dist/esm/update-ad0b88fa.js +773 -0
- package/dist/esm/utils-0da093e1.js +142 -0
- package/dist/esm/utils-30c4c8ca.js +66 -0
- package/dist/esm/vi-cee99413.js +70 -0
- package/dist/esm/zh-cn-6e204128.js +94 -0
- package/dist/esm/zh-hk-ffb02673.js +92 -0
- package/dist/esm/zh-tw-0f52dd8c.js +92 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/solutions-components/demos/consent-manager.html +56 -0
- package/dist/solutions-components/p-0094924f.entry.js +6 -0
- package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
- package/dist/solutions-components/p-018d1f95.entry.js +6 -0
- package/dist/solutions-components/p-025af0b3.entry.js +21 -0
- package/dist/solutions-components/p-0549a65c.js +6 -0
- package/dist/solutions-components/p-058d0542.js +17 -0
- package/dist/solutions-components/p-0668e30d.js +34 -0
- package/dist/solutions-components/p-066fc169.js +6 -0
- package/dist/solutions-components/p-067e36b2.entry.js +6 -0
- package/dist/solutions-components/p-0681b29b.entry.js +11 -0
- package/dist/solutions-components/p-0691d1af.entry.js +22 -0
- package/dist/solutions-components/p-088a5dca.js +67 -0
- package/dist/solutions-components/p-097b80df.js +6 -0
- package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
- package/dist/solutions-components/p-0a71f549.entry.js +29 -0
- package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
- package/dist/solutions-components/p-0b1fb6ae.js +36 -0
- package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
- package/dist/solutions-components/p-0e307601.entry.js +11 -0
- package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
- package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
- package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
- package/dist/solutions-components/p-135b2aba.js +16 -0
- package/dist/solutions-components/p-13bdb2c0.js +6 -0
- package/dist/solutions-components/p-14519a8a.entry.js +11 -0
- package/dist/solutions-components/p-1482f3cf.js +20 -0
- package/dist/solutions-components/p-1492bb6d.js +6 -0
- package/dist/solutions-components/p-1664573a.entry.js +6 -0
- package/dist/solutions-components/p-1900f9b1.js +11 -0
- package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
- package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
- package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
- package/dist/solutions-components/p-1fb3756b.js +6 -0
- package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
- package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
- package/dist/solutions-components/p-2130a063.entry.js +17 -0
- package/dist/solutions-components/p-21f90019.js +21 -0
- package/dist/solutions-components/p-230f7315.entry.js +6 -0
- package/dist/solutions-components/p-24b42859.entry.js +47 -0
- package/dist/solutions-components/p-26f9f9c8.js +11 -0
- package/dist/solutions-components/p-270ca219.entry.js +6 -0
- package/dist/solutions-components/p-27a91364.entry.js +17 -0
- package/dist/solutions-components/p-28498868.entry.js +11 -0
- package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
- package/dist/solutions-components/p-2ac553f6.js +6 -0
- package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
- package/dist/solutions-components/p-2bc98cb0.js +30 -0
- package/dist/solutions-components/p-2d96fdb9.js +6 -0
- package/dist/solutions-components/p-2dd8e49c.js +11 -0
- package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
- package/dist/solutions-components/p-3212300b.entry.js +6 -0
- package/dist/solutions-components/p-35245316.entry.js +6 -0
- package/dist/solutions-components/p-3643a87a.entry.js +6 -0
- package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
- package/dist/solutions-components/p-3828e77b.js +11 -0
- package/dist/solutions-components/p-38e0f88b.js +17 -0
- package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
- package/dist/solutions-components/p-3ba80c7c.js +6 -0
- package/dist/solutions-components/p-3d1f0434.js +21 -0
- package/dist/solutions-components/p-3ffc4738.js +6 -0
- package/dist/solutions-components/p-409401ce.js +11 -0
- package/dist/solutions-components/p-419df1ac.js +11 -0
- package/dist/solutions-components/p-46159285.js +6 -0
- package/dist/solutions-components/p-49a67314.entry.js +6 -0
- package/dist/solutions-components/p-4cbdea35.js +129 -0
- package/dist/solutions-components/p-4dfc2fc4.js +11 -0
- package/dist/solutions-components/p-4f236b5d.js +43 -0
- package/dist/solutions-components/p-4f50385f.js +16 -0
- package/dist/solutions-components/p-4fe489cf.js +6 -0
- package/dist/solutions-components/p-50239e15.entry.js +6 -0
- package/dist/solutions-components/p-531f66c7.entry.js +6 -0
- package/dist/solutions-components/p-570754a4.js +6 -0
- package/dist/solutions-components/p-570b13d9.js +67 -0
- package/dist/solutions-components/p-58d53a46.entry.js +6 -0
- package/dist/solutions-components/p-59970898.js +6 -0
- package/dist/solutions-components/p-59d02697.entry.js +11 -0
- package/dist/solutions-components/p-5b2ae6c4.js +6 -0
- package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
- package/dist/solutions-components/p-5c5cbe3c.js +6 -0
- package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
- package/dist/solutions-components/p-5cfa35f8.js +6 -0
- package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
- package/dist/solutions-components/p-5df09fe4.js +31 -0
- package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
- package/dist/solutions-components/p-5f099cd2.js +6 -0
- package/dist/solutions-components/p-60123545.js +6 -0
- package/dist/solutions-components/p-6148468f.js +11 -0
- package/dist/solutions-components/p-617d2160.js +6 -0
- package/dist/solutions-components/p-619a1ad0.js +6 -0
- package/dist/solutions-components/p-61d2582e.entry.js +6 -0
- package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
- package/dist/solutions-components/p-6708060e.js +11 -0
- package/dist/solutions-components/p-676a2d60.entry.js +6 -0
- package/dist/solutions-components/p-68b5ec37.js +11 -0
- package/dist/solutions-components/p-68cf5134.entry.js +12 -0
- package/dist/solutions-components/p-694cfe4c.js +6 -0
- package/dist/solutions-components/p-6bcde3c4.js +6 -0
- package/dist/solutions-components/p-6c73f067.js +16 -0
- package/dist/solutions-components/p-6d56f75e.js +11 -0
- package/dist/solutions-components/p-6db88e16.entry.js +11 -0
- package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
- package/dist/solutions-components/p-7053b20e.entry.js +6 -0
- package/dist/solutions-components/p-741151d4.js +6 -0
- package/dist/solutions-components/p-749fe711.js +6 -0
- package/dist/solutions-components/p-7518e92a.js +6 -0
- package/dist/solutions-components/p-7802efa1.entry.js +11 -0
- package/dist/solutions-components/p-782c71a7.js +6 -0
- package/dist/solutions-components/p-78aa10b0.js +6 -0
- package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
- package/dist/solutions-components/p-7a9e773b.js +6 -0
- package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
- package/dist/solutions-components/p-7aafba66.js +11 -0
- package/dist/solutions-components/p-7d619b04.entry.js +11 -0
- package/dist/solutions-components/p-7dc37540.js +11 -0
- package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
- package/dist/solutions-components/p-7fd55161.entry.js +6 -0
- package/dist/solutions-components/p-80168ff4.entry.js +11 -0
- package/dist/solutions-components/p-823684a3.js +6 -0
- package/dist/solutions-components/p-825ef4a7.js +6 -0
- package/dist/solutions-components/p-82d93164.js +11 -0
- package/dist/solutions-components/p-82f661c7.entry.js +11 -0
- package/dist/solutions-components/p-8378852e.js +6 -0
- package/dist/solutions-components/p-85bb5908.js +11 -0
- package/dist/solutions-components/p-866a2fad.js +11 -0
- package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
- package/dist/solutions-components/p-8850bd21.js +21 -0
- package/dist/solutions-components/p-896a5fce.entry.js +11 -0
- package/dist/solutions-components/p-8df5939f.js +6 -0
- package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
- package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
- package/dist/solutions-components/p-8ff4b2aa.js +488 -0
- package/dist/solutions-components/p-926e65eb.js +6 -0
- package/dist/solutions-components/p-94ad391c.js +40 -0
- package/dist/solutions-components/p-958c68c2.js +61 -0
- package/dist/solutions-components/p-95fcb607.js +6 -0
- package/dist/solutions-components/p-97df5300.js +27 -0
- package/dist/solutions-components/p-98079396.js +21 -0
- package/dist/solutions-components/p-98b1c057.entry.js +6 -0
- package/dist/solutions-components/p-9d4f62ca.js +6 -0
- package/dist/solutions-components/p-9d733373.entry.js +17 -0
- package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
- package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
- package/dist/solutions-components/p-9f89901b.entry.js +6 -0
- package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
- package/dist/solutions-components/p-a28502ac.entry.js +6 -0
- package/dist/solutions-components/p-a5df8093.entry.js +11 -0
- package/dist/solutions-components/p-a757bf75.js +16 -0
- package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
- package/dist/solutions-components/p-a91fc014.entry.js +6 -0
- package/dist/solutions-components/p-aa6656f0.js +6 -0
- package/dist/solutions-components/p-abe60b81.entry.js +6 -0
- package/dist/solutions-components/p-ad66b010.entry.js +11 -0
- package/dist/solutions-components/p-adb57e25.entry.js +6 -0
- package/dist/solutions-components/p-add122e7.js +6 -0
- package/dist/solutions-components/p-ae357552.entry.js +11 -0
- package/dist/solutions-components/p-af4f2d4a.js +11 -0
- package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
- package/dist/solutions-components/p-b14d2423.entry.js +11 -0
- package/dist/solutions-components/p-b1546c15.js +17 -0
- package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
- package/dist/solutions-components/p-b1f3c713.js +6 -0
- package/dist/solutions-components/p-b22046db.js +11 -0
- package/dist/solutions-components/p-b290affa.js +17 -0
- package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
- package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
- package/dist/solutions-components/p-b62871c3.entry.js +11 -0
- package/dist/solutions-components/p-b6a36bfe.js +6 -0
- package/dist/solutions-components/p-b915029b.js +6 -0
- package/dist/solutions-components/p-b98e9479.js +11 -0
- package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
- package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
- package/dist/solutions-components/p-bad614c0.entry.js +11 -0
- package/dist/solutions-components/p-bb158785.entry.js +11 -0
- package/dist/solutions-components/p-bc281e3b.js +6 -0
- package/dist/solutions-components/p-bc2b747e.js +6 -0
- package/dist/solutions-components/p-be78bc15.entry.js +6 -0
- package/dist/solutions-components/p-bf154e41.js +6 -0
- package/dist/solutions-components/p-c0f30138.entry.js +11 -0
- package/dist/solutions-components/p-c109e720.js +6 -0
- package/dist/solutions-components/p-c115215d.entry.js +6 -0
- package/dist/solutions-components/p-c433cc38.js +6 -0
- package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
- package/dist/solutions-components/p-c5e0e5ef.js +6 -0
- package/dist/solutions-components/p-c766823c.entry.js +11 -0
- package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
- package/dist/solutions-components/p-c8b26c56.js +6 -0
- package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
- package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
- package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
- package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
- package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
- package/dist/solutions-components/p-cea51591.js +16 -0
- package/dist/solutions-components/p-d0b1d33f.js +6 -0
- package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
- package/dist/solutions-components/p-d2a6e970.js +6 -0
- package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
- package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
- package/dist/solutions-components/p-d654b676.entry.js +11 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
- package/dist/solutions-components/p-d96fe526.entry.js +22 -0
- package/dist/solutions-components/p-da0cb140.entry.js +11 -0
- package/dist/solutions-components/p-da36faca.entry.js +6 -0
- package/dist/solutions-components/p-daf6a012.entry.js +6 -0
- package/dist/solutions-components/p-dba4704c.js +11 -0
- package/dist/solutions-components/p-dd16d94e.js +6 -0
- package/dist/solutions-components/p-dd689226.js +11 -0
- package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
- package/dist/solutions-components/p-df4bfe45.js +6 -0
- package/dist/solutions-components/p-dfe18931.js +6 -0
- package/dist/solutions-components/p-e2570a80.js +11 -0
- package/dist/solutions-components/p-ea9e0a79.js +6 -0
- package/dist/solutions-components/p-eb88fddc.js +6 -0
- package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
- package/dist/solutions-components/p-ef0c43dc.js +6 -0
- package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
- package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
- package/dist/solutions-components/p-f1f356f0.js +7 -0
- package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
- package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
- package/dist/solutions-components/p-f6e81cf8.js +22 -0
- package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
- package/dist/solutions-components/p-f8ea8e73.js +6 -0
- package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
- package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
- package/dist/solutions-components/p-fe719f16.entry.js +6 -0
- package/dist/solutions-components/p-feebdac9.entry.js +17 -0
- package/dist/solutions-components/p-ff15447c.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +14 -0
- package/dist/types/components/consent-manager/consent-manager.d.ts +23 -20
- package/dist/types/components/delete-button/delete-button.d.ts +1 -1
- package/dist/types/components/edit-card/edit-card.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +55 -7
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
- package/dist/types/components/map-picker/map-picker.d.ts +10 -2
- package/dist/types/components.d.ts +67 -34
- package/dist/types/preact.d.ts +6 -7
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/utils/interfaces.d.ts +12 -0
- package/package.json +13 -13
- package/dist/cjs/ExpandToggle-c5e409ce.js +0 -115
- package/dist/cjs/FloatingArrow-c2b50d47.js +0 -48
- package/dist/cjs/Heading-3e2d46fd.js +0 -25
- package/dist/cjs/Validation-c065b988.js +0 -20
- package/dist/cjs/app-globals-09eb9eb5.js +0 -67
- package/dist/cjs/ar-0afb390b.js +0 -106
- package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
- package/dist/cjs/bg-b1be4ef3.js +0 -84
- package/dist/cjs/browser-0bedacf5.js +0 -35
- package/dist/cjs/bs-a314390f.js +0 -53
- package/dist/cjs/ca-b8e89e47.js +0 -73
- package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
- package/dist/cjs/calcite-input-time-picker-42ed419f.js +0 -1870
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
- package/dist/cjs/common-eee0c33f.js +0 -38
- package/dist/cjs/conditionalSlot-003e6975.js +0 -54
- package/dist/cjs/config-2282fdac.js +0 -40
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/cs-f14626e8.js +0 -149
- package/dist/cjs/da-2fce32d4.js +0 -69
- package/dist/cjs/date-e763caec.js +0 -264
- package/dist/cjs/de-2c1fce6f.js +0 -93
- package/dist/cjs/de-at-94de293d.js +0 -92
- package/dist/cjs/de-ch-d42f4faf.js +0 -92
- package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
- package/dist/cjs/downloadUtils-76bc7e30.js +0 -3240
- package/dist/cjs/el-8092eeb9.js +0 -68
- package/dist/cjs/en-au-9bc4467f.js +0 -68
- package/dist/cjs/en-ca-d9140239.js +0 -67
- package/dist/cjs/en-gb-f5e2af8e.js +0 -71
- package/dist/cjs/es-4b6327d7.js +0 -68
- package/dist/cjs/es-mx-f729412a.js +0 -67
- package/dist/cjs/et-ec115eb3.js +0 -94
- package/dist/cjs/fi-95701850.js +0 -117
- package/dist/cjs/floating-ui-a8693586.js +0 -2413
- package/dist/cjs/focusTrapComponent-48fdd3f6.js +0 -1013
- package/dist/cjs/form-a36bd0e5.js +0 -381
- package/dist/cjs/fr-ch-a231f229.js +0 -68
- package/dist/cjs/fr-e22a2684.js +0 -70
- package/dist/cjs/he-d0070eb9.js +0 -107
- package/dist/cjs/helpers-0493759d.js +0 -940
- package/dist/cjs/hi-04615e27.js +0 -67
- package/dist/cjs/hr-27fefb6d.js +0 -82
- package/dist/cjs/hu-63da9819.js +0 -90
- package/dist/cjs/id-d4fe65cd.js +0 -68
- package/dist/cjs/index-2b13a4d5.js +0 -201
- package/dist/cjs/index-4b68e4b4.js +0 -1770
- package/dist/cjs/index-f052f656.js +0 -2156
- package/dist/cjs/index.es-8336efed.js +0 -11307
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
- package/dist/cjs/interactive-7ccdd728.js +0 -85
- package/dist/cjs/it-418a53bf.js +0 -68
- package/dist/cjs/it-ch-7f4632ab.js +0 -68
- package/dist/cjs/ja-6c5d5c7d.js +0 -74
- package/dist/cjs/ko-e4154b91.js +0 -74
- package/dist/cjs/loadable-f3fe73a2.js +0 -98
- package/dist/cjs/locale-339b55f0.js +0 -160
- package/dist/cjs/locale-4b820602.js +0 -120
- package/dist/cjs/locale-7eb2f603.js +0 -605
- package/dist/cjs/logger-912d7f26.js +0 -61
- package/dist/cjs/lt-d6dae6fd.js +0 -99
- package/dist/cjs/lv-bcf9724a.js +0 -68
- package/dist/cjs/mk-171505d2.js +0 -68
- package/dist/cjs/nb-0dcee19c.js +0 -69
- package/dist/cjs/nl-dace5864.js +0 -69
- package/dist/cjs/observers-affd684f.js +0 -58
- package/dist/cjs/openCloseComponent-044883e4.js +0 -65
- package/dist/cjs/pl-7755a609.js +0 -116
- package/dist/cjs/popupUtils-bc762034.js +0 -121
- package/dist/cjs/pt-3121cc39.js +0 -69
- package/dist/cjs/pt-br-67b16e3a.js +0 -67
- package/dist/cjs/publicNotificationStore-570204c1.js +0 -47
- package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
- package/dist/cjs/ro-7f726306.js +0 -68
- package/dist/cjs/ru-fc11963d.js +0 -128
- package/dist/cjs/share-item.cjs.entry.js +0 -61
- package/dist/cjs/shared-list-render-3d6ec3ca.js +0 -361
- package/dist/cjs/sk-e85b9c15.js +0 -150
- package/dist/cjs/sl-9eb375c2.js +0 -170
- package/dist/cjs/solution-resource-40e70253.js +0 -145
- package/dist/cjs/solution-store-4de89072.js +0 -1354
- package/dist/cjs/sr-1d2513be.js +0 -103
- package/dist/cjs/sv-f7693c9f.js +0 -73
- package/dist/cjs/t9n-64df74f3.js +0 -108
- package/dist/cjs/templates-0b7f886f.js +0 -408
- package/dist/cjs/th-0d2328bb.js +0 -67
- package/dist/cjs/time-513586eb.js +0 -301
- package/dist/cjs/tr-2c074411.js +0 -68
- package/dist/cjs/uk-5e16db67.js +0 -106
- package/dist/cjs/utils-3f10ea6b.js +0 -153
- package/dist/cjs/utils-d0049d76.js +0 -79
- package/dist/cjs/vi-2a4d8334.js +0 -72
- package/dist/cjs/zh-cn-126bcbc0.js +0 -96
- package/dist/cjs/zh-hk-aeeba861.js +0 -94
- package/dist/cjs/zh-tw-0cfb6e20.js +0 -94
- package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
- package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
- package/dist/collection/components/share-item/share-item.css +0 -19
- package/dist/collection/components/share-item/share-item.js +0 -80
- package/dist/components/arcgis-login.d.ts +0 -11
- package/dist/components/arcgis-login.js +0 -76
- package/dist/components/share-item.d.ts +0 -11
- package/dist/components/share-item.js +0 -76
- package/dist/esm/ExpandToggle-d2cde0b5.js +0 -108
- package/dist/esm/FloatingArrow-1ba04e83.js +0 -46
- package/dist/esm/Heading-82d9e017.js +0 -22
- package/dist/esm/Validation-594a63f5.js +0 -18
- package/dist/esm/app-globals-177bd1cd.js +0 -65
- package/dist/esm/ar-a85b5d05.js +0 -104
- package/dist/esm/arcgis-login.entry.js +0 -57
- package/dist/esm/bg-def28c6d.js +0 -82
- package/dist/esm/browser-e3f463e1.js +0 -32
- package/dist/esm/bs-86bb2bcb.js +0 -51
- package/dist/esm/ca-823e6ba8.js +0 -71
- package/dist/esm/calcite-alert_6.entry.js +0 -2096
- package/dist/esm/calcite-input-time-picker-c45e1964.js +0 -1867
- package/dist/esm/calcite-modal.entry.js +0 -389
- package/dist/esm/common-c3bbba83.js +0 -36
- package/dist/esm/conditionalSlot-720a3c33.js +0 -51
- package/dist/esm/config-3af0e436.js +0 -36
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/cs-87414fd8.js +0 -147
- package/dist/esm/da-f7060594.js +0 -67
- package/dist/esm/date-8f6c3f50.js +0 -248
- package/dist/esm/de-18aa2195.js +0 -91
- package/dist/esm/de-at-00f0ce55.js +0 -90
- package/dist/esm/de-ch-2bf886c0.js +0 -90
- package/dist/esm/delete-dialog.entry.js +0 -127
- package/dist/esm/dom-6f6759df.js +0 -1165
- package/dist/esm/downloadUtils-bc7a4ba1.js +0 -3233
- package/dist/esm/el-0c5df4ce.js +0 -66
- package/dist/esm/en-au-947d067e.js +0 -66
- package/dist/esm/en-ca-d80eb647.js +0 -65
- package/dist/esm/en-gb-78272f13.js +0 -69
- package/dist/esm/es-6b8b399b.js +0 -66
- package/dist/esm/es-mx-4f12df51.js +0 -65
- package/dist/esm/et-11aeba76.js +0 -92
- package/dist/esm/fi-c44d11d6.js +0 -115
- package/dist/esm/floating-ui-d21020a0.js +0 -2404
- package/dist/esm/focusTrapComponent-1ddc67c5.js +0 -1008
- package/dist/esm/form-e9b1ad9a.js +0 -372
- package/dist/esm/fr-cac28d20.js +0 -68
- package/dist/esm/fr-ch-a324bd02.js +0 -66
- package/dist/esm/he-eab95e66.js +0 -105
- package/dist/esm/helpers-91ca0f44.js +0 -913
- package/dist/esm/hi-cefe2a7e.js +0 -65
- package/dist/esm/hr-f863024d.js +0 -80
- package/dist/esm/hu-2921d1d5.js +0 -88
- package/dist/esm/id-4e25c1e7.js +0 -66
- package/dist/esm/index-39bc2e6d.js +0 -199
- package/dist/esm/index-904bc599.js +0 -1736
- package/dist/esm/index-e14fade9.js +0 -2154
- package/dist/esm/index.es-0d189a34.js +0 -11220
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
- package/dist/esm/interactive-949b348f.js +0 -82
- package/dist/esm/it-1f2ce2fc.js +0 -66
- package/dist/esm/it-ch-fa4f6a28.js +0 -66
- package/dist/esm/ja-dd6ac9b5.js +0 -72
- package/dist/esm/ko-3c269b4f.js +0 -72
- package/dist/esm/label-1ef4763d.js +0 -179
- package/dist/esm/loadable-421e634e.js +0 -93
- package/dist/esm/locale-0d06fca0.js +0 -155
- package/dist/esm/locale-77038bee.js +0 -115
- package/dist/esm/locale-a75d14ff.js +0 -591
- package/dist/esm/logger-5c7a2fec.js +0 -59
- package/dist/esm/lt-8f5fd3eb.js +0 -97
- package/dist/esm/lv-d1afc7ed.js +0 -66
- package/dist/esm/mk-794650fc.js +0 -66
- package/dist/esm/nb-800989aa.js +0 -67
- package/dist/esm/nl-634b9b85.js +0 -67
- package/dist/esm/observers-2d4fa9e3.js +0 -56
- package/dist/esm/openCloseComponent-4621d4ae.js +0 -63
- package/dist/esm/pl-45fb968c.js +0 -114
- package/dist/esm/popupUtils-03dc398a.js +0 -119
- package/dist/esm/pt-bd7887a6.js +0 -67
- package/dist/esm/pt-br-d9181dce.js +0 -65
- package/dist/esm/publicNotificationStore-8f6b0f93.js +0 -45
- package/dist/esm/restHelpersGet-48113381.js +0 -976
- package/dist/esm/ro-31fe0dcc.js +0 -66
- package/dist/esm/ru-e73bc075.js +0 -126
- package/dist/esm/share-item.entry.js +0 -57
- package/dist/esm/shared-list-render-83bb7274.js +0 -339
- package/dist/esm/sk-e7e24146.js +0 -148
- package/dist/esm/sl-ad96d047.js +0 -168
- package/dist/esm/solution-resource-f5809979.js +0 -142
- package/dist/esm/solution-store-ff13861b.js +0 -1352
- package/dist/esm/sr-785166a3.js +0 -101
- package/dist/esm/sv-9f422817.js +0 -71
- package/dist/esm/t9n-23649a4a.js +0 -103
- package/dist/esm/templates-0b442208.js +0 -402
- package/dist/esm/th-7e8b3dad.js +0 -65
- package/dist/esm/time-5ca488ba.js +0 -286
- package/dist/esm/tr-1b1dd6db.js +0 -66
- package/dist/esm/uk-13d0afbf.js +0 -104
- package/dist/esm/utils-0a78d3c9.js +0 -142
- package/dist/esm/utils-a564ca55.js +0 -66
- package/dist/esm/vi-82ec876c.js +0 -70
- package/dist/esm/zh-cn-c4181895.js +0 -94
- package/dist/esm/zh-hk-752cc263.js +0 -92
- package/dist/esm/zh-tw-e653ba6c.js +0 -92
- package/dist/solutions-components/p-053effee.entry.js +0 -6
- package/dist/solutions-components/p-05ae2b11.entry.js +0 -6
- package/dist/solutions-components/p-087c3740.entry.js +0 -6
- package/dist/solutions-components/p-08c18450.js +0 -11
- package/dist/solutions-components/p-09543b4e.js +0 -6
- package/dist/solutions-components/p-09d34b2b.entry.js +0 -11
- package/dist/solutions-components/p-0af967af.js +0 -6
- package/dist/solutions-components/p-0f8241d2.entry.js +0 -6
- package/dist/solutions-components/p-10a158fd.entry.js +0 -11
- package/dist/solutions-components/p-115af8e4.entry.js +0 -11
- package/dist/solutions-components/p-11c2426d.entry.js +0 -20
- package/dist/solutions-components/p-1336a071.entry.js +0 -6
- package/dist/solutions-components/p-1588fad8.entry.js +0 -6
- package/dist/solutions-components/p-177b4cbc.js +0 -16
- package/dist/solutions-components/p-184b270d.entry.js +0 -11
- package/dist/solutions-components/p-191f30e1.entry.js +0 -11
- package/dist/solutions-components/p-19e89591.entry.js +0 -12
- package/dist/solutions-components/p-1afc5947.entry.js +0 -11
- package/dist/solutions-components/p-1b1ff60a.entry.js +0 -6
- package/dist/solutions-components/p-1e8af7ed.js +0 -6
- package/dist/solutions-components/p-1f65aed7.js +0 -6
- package/dist/solutions-components/p-1fafdc23.entry.js +0 -11
- package/dist/solutions-components/p-20ed3f7f.entry.js +0 -11
- package/dist/solutions-components/p-2105e658.entry.js +0 -6
- package/dist/solutions-components/p-25f30972.entry.js +0 -11
- package/dist/solutions-components/p-26ba0cc7.js +0 -17
- package/dist/solutions-components/p-2714a658.entry.js +0 -6
- package/dist/solutions-components/p-2714ede8.entry.js +0 -16
- package/dist/solutions-components/p-274aa753.entry.js +0 -6
- package/dist/solutions-components/p-294cd25c.js +0 -6
- package/dist/solutions-components/p-2b9f9f7d.js +0 -16
- package/dist/solutions-components/p-2d9072d8.entry.js +0 -11
- package/dist/solutions-components/p-2e0aea4e.entry.js +0 -11
- package/dist/solutions-components/p-2e42f34c.js +0 -6
- package/dist/solutions-components/p-2f1ef41d.entry.js +0 -6
- package/dist/solutions-components/p-2f784608.entry.js +0 -6
- package/dist/solutions-components/p-351c7cbf.entry.js +0 -6
- package/dist/solutions-components/p-368902f1.entry.js +0 -6
- package/dist/solutions-components/p-39e21b70.js +0 -6
- package/dist/solutions-components/p-3aee989b.js +0 -11
- package/dist/solutions-components/p-3af39767.entry.js +0 -6
- package/dist/solutions-components/p-3ba388b6.entry.js +0 -17
- package/dist/solutions-components/p-3d999f0f.entry.js +0 -6
- package/dist/solutions-components/p-3e44cfab.entry.js +0 -6
- package/dist/solutions-components/p-3e87c19c.js +0 -6
- package/dist/solutions-components/p-3f9ec755.js +0 -6
- package/dist/solutions-components/p-3fe6c230.entry.js +0 -6
- package/dist/solutions-components/p-41503b16.entry.js +0 -6
- package/dist/solutions-components/p-4416d650.entry.js +0 -17
- package/dist/solutions-components/p-443be7fe.js +0 -6
- package/dist/solutions-components/p-44dc3dec.entry.js +0 -6
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-499489c5.entry.js +0 -6
- package/dist/solutions-components/p-49df6eb3.entry.js +0 -11
- package/dist/solutions-components/p-4a665563.js +0 -6
- package/dist/solutions-components/p-4b15f4a4.entry.js +0 -11
- package/dist/solutions-components/p-4b47caf1.entry.js +0 -11
- package/dist/solutions-components/p-4d6e359e.entry.js +0 -11
- package/dist/solutions-components/p-4e3a18b1.js +0 -6
- package/dist/solutions-components/p-4e6eb06e.js +0 -7
- package/dist/solutions-components/p-4ff35ed4.js +0 -6
- package/dist/solutions-components/p-5104cc98.js +0 -6
- package/dist/solutions-components/p-51c6e6fe.js +0 -21
- package/dist/solutions-components/p-545a48dc.entry.js +0 -11
- package/dist/solutions-components/p-55bbfdbc.entry.js +0 -6
- package/dist/solutions-components/p-5804e6e1.entry.js +0 -22
- package/dist/solutions-components/p-58cff07f.entry.js +0 -11
- package/dist/solutions-components/p-592ab45c.js +0 -6
- package/dist/solutions-components/p-592f2000.entry.js +0 -6
- package/dist/solutions-components/p-5b5b78c0.js +0 -6
- package/dist/solutions-components/p-5e71e72a.js +0 -21
- package/dist/solutions-components/p-614a66c4.entry.js +0 -11
- package/dist/solutions-components/p-6166d8b4.js +0 -16
- package/dist/solutions-components/p-61cc2efe.js +0 -6
- package/dist/solutions-components/p-62c10928.entry.js +0 -6
- package/dist/solutions-components/p-63d334b2.entry.js +0 -6
- package/dist/solutions-components/p-677db47a.js +0 -6
- package/dist/solutions-components/p-68375137.js +0 -6
- package/dist/solutions-components/p-6a3f2249.entry.js +0 -6
- package/dist/solutions-components/p-6acd19c5.entry.js +0 -12
- package/dist/solutions-components/p-6b5b52c1.entry.js +0 -21
- package/dist/solutions-components/p-6cad2a22.js +0 -6
- package/dist/solutions-components/p-6f606cdb.js +0 -61
- package/dist/solutions-components/p-7059fc40.js +0 -6
- package/dist/solutions-components/p-70eba636.entry.js +0 -6
- package/dist/solutions-components/p-71f31d39.js +0 -6
- package/dist/solutions-components/p-74720d2b.js +0 -6
- package/dist/solutions-components/p-7530a02f.js +0 -30
- package/dist/solutions-components/p-764ff506.entry.js +0 -11
- package/dist/solutions-components/p-76a1236d.entry.js +0 -6
- package/dist/solutions-components/p-770a5a64.js +0 -11
- package/dist/solutions-components/p-77865541.entry.js +0 -11
- package/dist/solutions-components/p-78b6d3fe.entry.js +0 -6
- package/dist/solutions-components/p-78df7603.entry.js +0 -11
- package/dist/solutions-components/p-78e09c03.js +0 -6
- package/dist/solutions-components/p-7a7951bd.entry.js +0 -11
- package/dist/solutions-components/p-7bcfe068.entry.js +0 -6
- package/dist/solutions-components/p-7cc8e95a.js +0 -11
- package/dist/solutions-components/p-7d5d1b0a.js +0 -11
- package/dist/solutions-components/p-7eee9aa8.js +0 -11
- package/dist/solutions-components/p-7f68e6a4.js +0 -11
- package/dist/solutions-components/p-7fb51464.entry.js +0 -17
- package/dist/solutions-components/p-80ff858b.js +0 -6
- package/dist/solutions-components/p-8304ce4b.js +0 -17
- package/dist/solutions-components/p-85c068fd.js +0 -6
- package/dist/solutions-components/p-85c3237c.js +0 -11
- package/dist/solutions-components/p-860099d5.js +0 -6
- package/dist/solutions-components/p-86a5caf8.js +0 -6
- package/dist/solutions-components/p-86db882f.js +0 -6
- package/dist/solutions-components/p-872986ce.entry.js +0 -11
- package/dist/solutions-components/p-8a2ccb1e.js +0 -6
- package/dist/solutions-components/p-8cb9ecf6.js +0 -6
- package/dist/solutions-components/p-8d811472.js +0 -6
- package/dist/solutions-components/p-8dc9d5b6.entry.js +0 -6
- package/dist/solutions-components/p-8f8c7045.entry.js +0 -6
- package/dist/solutions-components/p-8ff43000.entry.js +0 -11
- package/dist/solutions-components/p-91a83986.entry.js +0 -47
- package/dist/solutions-components/p-928f0b5e.entry.js +0 -6
- package/dist/solutions-components/p-93d03bf0.js +0 -11
- package/dist/solutions-components/p-94e51621.entry.js +0 -6
- package/dist/solutions-components/p-977c099e.js +0 -11
- package/dist/solutions-components/p-9bb44f57.js +0 -65
- package/dist/solutions-components/p-9c25ee2c.entry.js +0 -6
- package/dist/solutions-components/p-9c5d5171.js +0 -11
- package/dist/solutions-components/p-9ce8e34f.js +0 -11
- package/dist/solutions-components/p-9d86dd68.js +0 -6
- package/dist/solutions-components/p-9d9e0e74.entry.js +0 -6
- package/dist/solutions-components/p-9e8d7c1d.entry.js +0 -17
- package/dist/solutions-components/p-9e996faa.js +0 -6
- package/dist/solutions-components/p-a1473254.entry.js +0 -11
- package/dist/solutions-components/p-a1ed15b8.entry.js +0 -11
- package/dist/solutions-components/p-a329f05c.entry.js +0 -6
- package/dist/solutions-components/p-a52fa87b.entry.js +0 -11
- package/dist/solutions-components/p-a5f6a4b9.entry.js +0 -23
- package/dist/solutions-components/p-a6790373.entry.js +0 -11
- package/dist/solutions-components/p-a693aa25.entry.js +0 -17
- package/dist/solutions-components/p-a7d249d9.js +0 -6
- package/dist/solutions-components/p-a7d4b1a4.js +0 -6
- package/dist/solutions-components/p-ac9c4111.entry.js +0 -12
- package/dist/solutions-components/p-acc4d847.entry.js +0 -11
- package/dist/solutions-components/p-adabe68e.entry.js +0 -6
- package/dist/solutions-components/p-ae5ea416.entry.js +0 -6
- package/dist/solutions-components/p-b138a65e.js +0 -11
- package/dist/solutions-components/p-b49e1a78.js +0 -6
- package/dist/solutions-components/p-b5a5da41.entry.js +0 -17
- package/dist/solutions-components/p-b6d50640.entry.js +0 -6
- package/dist/solutions-components/p-b8d1b57a.entry.js +0 -6
- package/dist/solutions-components/p-b90978d2.js +0 -6
- package/dist/solutions-components/p-b95968fa.entry.js +0 -6
- package/dist/solutions-components/p-bab47a85.entry.js +0 -29
- package/dist/solutions-components/p-bd35725f.js +0 -6
- package/dist/solutions-components/p-be6cd650.entry.js +0 -11
- package/dist/solutions-components/p-c0ceb17a.js +0 -6
- package/dist/solutions-components/p-c2ceb29c.js +0 -6
- package/dist/solutions-components/p-c350eacb.js +0 -143
- package/dist/solutions-components/p-c399f2b8.entry.js +0 -6
- package/dist/solutions-components/p-c604728b.js +0 -6
- package/dist/solutions-components/p-c63451e1.entry.js +0 -11
- package/dist/solutions-components/p-c7f86f73.entry.js +0 -6
- package/dist/solutions-components/p-c8e22575.entry.js +0 -22
- package/dist/solutions-components/p-c9422007.js +0 -6
- package/dist/solutions-components/p-c9715704.entry.js +0 -11
- package/dist/solutions-components/p-cb8d90d1.js +0 -11
- package/dist/solutions-components/p-cc6f6e41.entry.js +0 -17
- package/dist/solutions-components/p-cd482a33.js +0 -21
- package/dist/solutions-components/p-cdc63710.entry.js +0 -11
- package/dist/solutions-components/p-ce7b0b1a.entry.js +0 -11
- package/dist/solutions-components/p-cf2947f6.entry.js +0 -11
- package/dist/solutions-components/p-d02fb95c.entry.js +0 -17
- package/dist/solutions-components/p-d031cf50.entry.js +0 -11
- package/dist/solutions-components/p-d0d020a5.js +0 -37
- package/dist/solutions-components/p-d0ebd10d.js +0 -6
- package/dist/solutions-components/p-d154b5a1.entry.js +0 -11
- package/dist/solutions-components/p-d1b2484b.entry.js +0 -17
- package/dist/solutions-components/p-d2c2a105.entry.js +0 -11
- package/dist/solutions-components/p-d2f8d8a8.entry.js +0 -6
- package/dist/solutions-components/p-d37a68f7.entry.js +0 -6
- package/dist/solutions-components/p-d390df76.entry.js +0 -11
- package/dist/solutions-components/p-d3e1cc81.js +0 -6
- package/dist/solutions-components/p-d851b11e.js +0 -6
- package/dist/solutions-components/p-d9d25da8.entry.js +0 -11
- package/dist/solutions-components/p-d9e9fe80.js +0 -16
- package/dist/solutions-components/p-d9f3778e.js +0 -6
- package/dist/solutions-components/p-daae2ae7.js +0 -6
- package/dist/solutions-components/p-db7d5db8.entry.js +0 -6
- package/dist/solutions-components/p-dc9d4be3.js +0 -6
- package/dist/solutions-components/p-ddb37cba.entry.js +0 -11
- package/dist/solutions-components/p-df062602.entry.js +0 -11
- package/dist/solutions-components/p-e29e57db.entry.js +0 -6
- package/dist/solutions-components/p-e2fd2e29.js +0 -6
- package/dist/solutions-components/p-e3111b70.js +0 -6
- package/dist/solutions-components/p-e37e117f.js +0 -11
- package/dist/solutions-components/p-e4be63b6.entry.js +0 -11
- package/dist/solutions-components/p-e4e7add2.js +0 -11
- package/dist/solutions-components/p-e625aa69.entry.js +0 -6
- package/dist/solutions-components/p-e93a531c.entry.js +0 -11
- package/dist/solutions-components/p-e9a0d2f3.entry.js +0 -6
- package/dist/solutions-components/p-e9d3365f.js +0 -22
- package/dist/solutions-components/p-e9fcc194.entry.js +0 -6
- package/dist/solutions-components/p-ee487e75.entry.js +0 -11
- package/dist/solutions-components/p-ef773a13.js +0 -11
- package/dist/solutions-components/p-f09744aa.entry.js +0 -6
- package/dist/solutions-components/p-f3119757.entry.js +0 -11
- package/dist/solutions-components/p-f4aadb3b.js +0 -36
- package/dist/solutions-components/p-f5789e08.entry.js +0 -29
- package/dist/solutions-components/p-f57978f3.entry.js +0 -6
- package/dist/solutions-components/p-f6cc1cf8.entry.js +0 -17
- package/dist/solutions-components/p-f845da58.js +0 -6
- package/dist/solutions-components/p-fbf63d14.entry.js +0 -6
- package/dist/solutions-components/p-fc7c88c8.js +0 -6
- package/dist/solutions-components/p-fd019d15.js +0 -11
- package/dist/solutions-components/p-fd40d066.js +0 -6
- package/dist/solutions-components/p-febf9f75.entry.js +0 -11
- package/dist/solutions-components/p-ff9e28d1.js +0 -488
- package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
- package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -4,7 +4,6 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { c as commonjsGlobal, a as commonjsRequire } from './_commonjsHelpers.js';
|
7
|
-
import './index2.js';
|
8
7
|
|
9
8
|
/** @license
|
10
9
|
* Copyright 2018 Esri
|
@@ -81,6 +80,1707 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
81
80
|
|
82
81
|
const JSZip = jszip_min.exports;
|
83
82
|
|
83
|
+
/*!
|
84
|
+
* @esri/arcgis-html-sanitizer - v4.0.3 - Wed Jul 03 2024 17:50:35 GMT-0400 (Eastern Daylight Time)
|
85
|
+
* Copyright (c) 2024 - Environmental Systems Research Institute, Inc.
|
86
|
+
* Apache-2.0
|
87
|
+
*
|
88
|
+
* js-xss
|
89
|
+
* Copyright (c) 2012-2018 Zongmin Lei(雷宗民) <leizongmin@gmail.com>
|
90
|
+
* http://ucdok.com
|
91
|
+
* MIT License, see https://github.com/leizongmin/js-xss/blob/master/LICENSE for details
|
92
|
+
*/
|
93
|
+
|
94
|
+
var lib$1 = {exports: {}};
|
95
|
+
|
96
|
+
var _default$1 = {};
|
97
|
+
|
98
|
+
var lib = {exports: {}};
|
99
|
+
|
100
|
+
var _default = {};
|
101
|
+
|
102
|
+
/**
|
103
|
+
* cssfilter
|
104
|
+
*
|
105
|
+
* @author 老雷<leizongmin@gmail.com>
|
106
|
+
*/
|
107
|
+
|
108
|
+
function getDefaultWhiteList$1 () {
|
109
|
+
// 白名单值说明:
|
110
|
+
// true: 允许该属性
|
111
|
+
// Function: function (val) { } 返回true表示允许该属性,其他值均表示不允许
|
112
|
+
// RegExp: regexp.test(val) 返回true表示允许该属性,其他值均表示不允许
|
113
|
+
// 除上面列出的值外均表示不允许
|
114
|
+
var whiteList = {};
|
115
|
+
|
116
|
+
whiteList['align-content'] = false; // default: auto
|
117
|
+
whiteList['align-items'] = false; // default: auto
|
118
|
+
whiteList['align-self'] = false; // default: auto
|
119
|
+
whiteList['alignment-adjust'] = false; // default: auto
|
120
|
+
whiteList['alignment-baseline'] = false; // default: baseline
|
121
|
+
whiteList['all'] = false; // default: depending on individual properties
|
122
|
+
whiteList['anchor-point'] = false; // default: none
|
123
|
+
whiteList['animation'] = false; // default: depending on individual properties
|
124
|
+
whiteList['animation-delay'] = false; // default: 0
|
125
|
+
whiteList['animation-direction'] = false; // default: normal
|
126
|
+
whiteList['animation-duration'] = false; // default: 0
|
127
|
+
whiteList['animation-fill-mode'] = false; // default: none
|
128
|
+
whiteList['animation-iteration-count'] = false; // default: 1
|
129
|
+
whiteList['animation-name'] = false; // default: none
|
130
|
+
whiteList['animation-play-state'] = false; // default: running
|
131
|
+
whiteList['animation-timing-function'] = false; // default: ease
|
132
|
+
whiteList['azimuth'] = false; // default: center
|
133
|
+
whiteList['backface-visibility'] = false; // default: visible
|
134
|
+
whiteList['background'] = true; // default: depending on individual properties
|
135
|
+
whiteList['background-attachment'] = true; // default: scroll
|
136
|
+
whiteList['background-clip'] = true; // default: border-box
|
137
|
+
whiteList['background-color'] = true; // default: transparent
|
138
|
+
whiteList['background-image'] = true; // default: none
|
139
|
+
whiteList['background-origin'] = true; // default: padding-box
|
140
|
+
whiteList['background-position'] = true; // default: 0% 0%
|
141
|
+
whiteList['background-repeat'] = true; // default: repeat
|
142
|
+
whiteList['background-size'] = true; // default: auto
|
143
|
+
whiteList['baseline-shift'] = false; // default: baseline
|
144
|
+
whiteList['binding'] = false; // default: none
|
145
|
+
whiteList['bleed'] = false; // default: 6pt
|
146
|
+
whiteList['bookmark-label'] = false; // default: content()
|
147
|
+
whiteList['bookmark-level'] = false; // default: none
|
148
|
+
whiteList['bookmark-state'] = false; // default: open
|
149
|
+
whiteList['border'] = true; // default: depending on individual properties
|
150
|
+
whiteList['border-bottom'] = true; // default: depending on individual properties
|
151
|
+
whiteList['border-bottom-color'] = true; // default: current color
|
152
|
+
whiteList['border-bottom-left-radius'] = true; // default: 0
|
153
|
+
whiteList['border-bottom-right-radius'] = true; // default: 0
|
154
|
+
whiteList['border-bottom-style'] = true; // default: none
|
155
|
+
whiteList['border-bottom-width'] = true; // default: medium
|
156
|
+
whiteList['border-collapse'] = true; // default: separate
|
157
|
+
whiteList['border-color'] = true; // default: depending on individual properties
|
158
|
+
whiteList['border-image'] = true; // default: none
|
159
|
+
whiteList['border-image-outset'] = true; // default: 0
|
160
|
+
whiteList['border-image-repeat'] = true; // default: stretch
|
161
|
+
whiteList['border-image-slice'] = true; // default: 100%
|
162
|
+
whiteList['border-image-source'] = true; // default: none
|
163
|
+
whiteList['border-image-width'] = true; // default: 1
|
164
|
+
whiteList['border-left'] = true; // default: depending on individual properties
|
165
|
+
whiteList['border-left-color'] = true; // default: current color
|
166
|
+
whiteList['border-left-style'] = true; // default: none
|
167
|
+
whiteList['border-left-width'] = true; // default: medium
|
168
|
+
whiteList['border-radius'] = true; // default: 0
|
169
|
+
whiteList['border-right'] = true; // default: depending on individual properties
|
170
|
+
whiteList['border-right-color'] = true; // default: current color
|
171
|
+
whiteList['border-right-style'] = true; // default: none
|
172
|
+
whiteList['border-right-width'] = true; // default: medium
|
173
|
+
whiteList['border-spacing'] = true; // default: 0
|
174
|
+
whiteList['border-style'] = true; // default: depending on individual properties
|
175
|
+
whiteList['border-top'] = true; // default: depending on individual properties
|
176
|
+
whiteList['border-top-color'] = true; // default: current color
|
177
|
+
whiteList['border-top-left-radius'] = true; // default: 0
|
178
|
+
whiteList['border-top-right-radius'] = true; // default: 0
|
179
|
+
whiteList['border-top-style'] = true; // default: none
|
180
|
+
whiteList['border-top-width'] = true; // default: medium
|
181
|
+
whiteList['border-width'] = true; // default: depending on individual properties
|
182
|
+
whiteList['bottom'] = false; // default: auto
|
183
|
+
whiteList['box-decoration-break'] = true; // default: slice
|
184
|
+
whiteList['box-shadow'] = true; // default: none
|
185
|
+
whiteList['box-sizing'] = true; // default: content-box
|
186
|
+
whiteList['box-snap'] = true; // default: none
|
187
|
+
whiteList['box-suppress'] = true; // default: show
|
188
|
+
whiteList['break-after'] = true; // default: auto
|
189
|
+
whiteList['break-before'] = true; // default: auto
|
190
|
+
whiteList['break-inside'] = true; // default: auto
|
191
|
+
whiteList['caption-side'] = false; // default: top
|
192
|
+
whiteList['chains'] = false; // default: none
|
193
|
+
whiteList['clear'] = true; // default: none
|
194
|
+
whiteList['clip'] = false; // default: auto
|
195
|
+
whiteList['clip-path'] = false; // default: none
|
196
|
+
whiteList['clip-rule'] = false; // default: nonzero
|
197
|
+
whiteList['color'] = true; // default: implementation dependent
|
198
|
+
whiteList['color-interpolation-filters'] = true; // default: auto
|
199
|
+
whiteList['column-count'] = false; // default: auto
|
200
|
+
whiteList['column-fill'] = false; // default: balance
|
201
|
+
whiteList['column-gap'] = false; // default: normal
|
202
|
+
whiteList['column-rule'] = false; // default: depending on individual properties
|
203
|
+
whiteList['column-rule-color'] = false; // default: current color
|
204
|
+
whiteList['column-rule-style'] = false; // default: medium
|
205
|
+
whiteList['column-rule-width'] = false; // default: medium
|
206
|
+
whiteList['column-span'] = false; // default: none
|
207
|
+
whiteList['column-width'] = false; // default: auto
|
208
|
+
whiteList['columns'] = false; // default: depending on individual properties
|
209
|
+
whiteList['contain'] = false; // default: none
|
210
|
+
whiteList['content'] = false; // default: normal
|
211
|
+
whiteList['counter-increment'] = false; // default: none
|
212
|
+
whiteList['counter-reset'] = false; // default: none
|
213
|
+
whiteList['counter-set'] = false; // default: none
|
214
|
+
whiteList['crop'] = false; // default: auto
|
215
|
+
whiteList['cue'] = false; // default: depending on individual properties
|
216
|
+
whiteList['cue-after'] = false; // default: none
|
217
|
+
whiteList['cue-before'] = false; // default: none
|
218
|
+
whiteList['cursor'] = false; // default: auto
|
219
|
+
whiteList['direction'] = false; // default: ltr
|
220
|
+
whiteList['display'] = true; // default: depending on individual properties
|
221
|
+
whiteList['display-inside'] = true; // default: auto
|
222
|
+
whiteList['display-list'] = true; // default: none
|
223
|
+
whiteList['display-outside'] = true; // default: inline-level
|
224
|
+
whiteList['dominant-baseline'] = false; // default: auto
|
225
|
+
whiteList['elevation'] = false; // default: level
|
226
|
+
whiteList['empty-cells'] = false; // default: show
|
227
|
+
whiteList['filter'] = false; // default: none
|
228
|
+
whiteList['flex'] = false; // default: depending on individual properties
|
229
|
+
whiteList['flex-basis'] = false; // default: auto
|
230
|
+
whiteList['flex-direction'] = false; // default: row
|
231
|
+
whiteList['flex-flow'] = false; // default: depending on individual properties
|
232
|
+
whiteList['flex-grow'] = false; // default: 0
|
233
|
+
whiteList['flex-shrink'] = false; // default: 1
|
234
|
+
whiteList['flex-wrap'] = false; // default: nowrap
|
235
|
+
whiteList['float'] = false; // default: none
|
236
|
+
whiteList['float-offset'] = false; // default: 0 0
|
237
|
+
whiteList['flood-color'] = false; // default: black
|
238
|
+
whiteList['flood-opacity'] = false; // default: 1
|
239
|
+
whiteList['flow-from'] = false; // default: none
|
240
|
+
whiteList['flow-into'] = false; // default: none
|
241
|
+
whiteList['font'] = true; // default: depending on individual properties
|
242
|
+
whiteList['font-family'] = true; // default: implementation dependent
|
243
|
+
whiteList['font-feature-settings'] = true; // default: normal
|
244
|
+
whiteList['font-kerning'] = true; // default: auto
|
245
|
+
whiteList['font-language-override'] = true; // default: normal
|
246
|
+
whiteList['font-size'] = true; // default: medium
|
247
|
+
whiteList['font-size-adjust'] = true; // default: none
|
248
|
+
whiteList['font-stretch'] = true; // default: normal
|
249
|
+
whiteList['font-style'] = true; // default: normal
|
250
|
+
whiteList['font-synthesis'] = true; // default: weight style
|
251
|
+
whiteList['font-variant'] = true; // default: normal
|
252
|
+
whiteList['font-variant-alternates'] = true; // default: normal
|
253
|
+
whiteList['font-variant-caps'] = true; // default: normal
|
254
|
+
whiteList['font-variant-east-asian'] = true; // default: normal
|
255
|
+
whiteList['font-variant-ligatures'] = true; // default: normal
|
256
|
+
whiteList['font-variant-numeric'] = true; // default: normal
|
257
|
+
whiteList['font-variant-position'] = true; // default: normal
|
258
|
+
whiteList['font-weight'] = true; // default: normal
|
259
|
+
whiteList['grid'] = false; // default: depending on individual properties
|
260
|
+
whiteList['grid-area'] = false; // default: depending on individual properties
|
261
|
+
whiteList['grid-auto-columns'] = false; // default: auto
|
262
|
+
whiteList['grid-auto-flow'] = false; // default: none
|
263
|
+
whiteList['grid-auto-rows'] = false; // default: auto
|
264
|
+
whiteList['grid-column'] = false; // default: depending on individual properties
|
265
|
+
whiteList['grid-column-end'] = false; // default: auto
|
266
|
+
whiteList['grid-column-start'] = false; // default: auto
|
267
|
+
whiteList['grid-row'] = false; // default: depending on individual properties
|
268
|
+
whiteList['grid-row-end'] = false; // default: auto
|
269
|
+
whiteList['grid-row-start'] = false; // default: auto
|
270
|
+
whiteList['grid-template'] = false; // default: depending on individual properties
|
271
|
+
whiteList['grid-template-areas'] = false; // default: none
|
272
|
+
whiteList['grid-template-columns'] = false; // default: none
|
273
|
+
whiteList['grid-template-rows'] = false; // default: none
|
274
|
+
whiteList['hanging-punctuation'] = false; // default: none
|
275
|
+
whiteList['height'] = true; // default: auto
|
276
|
+
whiteList['hyphens'] = false; // default: manual
|
277
|
+
whiteList['icon'] = false; // default: auto
|
278
|
+
whiteList['image-orientation'] = false; // default: auto
|
279
|
+
whiteList['image-resolution'] = false; // default: normal
|
280
|
+
whiteList['ime-mode'] = false; // default: auto
|
281
|
+
whiteList['initial-letters'] = false; // default: normal
|
282
|
+
whiteList['inline-box-align'] = false; // default: last
|
283
|
+
whiteList['justify-content'] = false; // default: auto
|
284
|
+
whiteList['justify-items'] = false; // default: auto
|
285
|
+
whiteList['justify-self'] = false; // default: auto
|
286
|
+
whiteList['left'] = false; // default: auto
|
287
|
+
whiteList['letter-spacing'] = true; // default: normal
|
288
|
+
whiteList['lighting-color'] = true; // default: white
|
289
|
+
whiteList['line-box-contain'] = false; // default: block inline replaced
|
290
|
+
whiteList['line-break'] = false; // default: auto
|
291
|
+
whiteList['line-grid'] = false; // default: match-parent
|
292
|
+
whiteList['line-height'] = false; // default: normal
|
293
|
+
whiteList['line-snap'] = false; // default: none
|
294
|
+
whiteList['line-stacking'] = false; // default: depending on individual properties
|
295
|
+
whiteList['line-stacking-ruby'] = false; // default: exclude-ruby
|
296
|
+
whiteList['line-stacking-shift'] = false; // default: consider-shifts
|
297
|
+
whiteList['line-stacking-strategy'] = false; // default: inline-line-height
|
298
|
+
whiteList['list-style'] = true; // default: depending on individual properties
|
299
|
+
whiteList['list-style-image'] = true; // default: none
|
300
|
+
whiteList['list-style-position'] = true; // default: outside
|
301
|
+
whiteList['list-style-type'] = true; // default: disc
|
302
|
+
whiteList['margin'] = true; // default: depending on individual properties
|
303
|
+
whiteList['margin-bottom'] = true; // default: 0
|
304
|
+
whiteList['margin-left'] = true; // default: 0
|
305
|
+
whiteList['margin-right'] = true; // default: 0
|
306
|
+
whiteList['margin-top'] = true; // default: 0
|
307
|
+
whiteList['marker-offset'] = false; // default: auto
|
308
|
+
whiteList['marker-side'] = false; // default: list-item
|
309
|
+
whiteList['marks'] = false; // default: none
|
310
|
+
whiteList['mask'] = false; // default: border-box
|
311
|
+
whiteList['mask-box'] = false; // default: see individual properties
|
312
|
+
whiteList['mask-box-outset'] = false; // default: 0
|
313
|
+
whiteList['mask-box-repeat'] = false; // default: stretch
|
314
|
+
whiteList['mask-box-slice'] = false; // default: 0 fill
|
315
|
+
whiteList['mask-box-source'] = false; // default: none
|
316
|
+
whiteList['mask-box-width'] = false; // default: auto
|
317
|
+
whiteList['mask-clip'] = false; // default: border-box
|
318
|
+
whiteList['mask-image'] = false; // default: none
|
319
|
+
whiteList['mask-origin'] = false; // default: border-box
|
320
|
+
whiteList['mask-position'] = false; // default: center
|
321
|
+
whiteList['mask-repeat'] = false; // default: no-repeat
|
322
|
+
whiteList['mask-size'] = false; // default: border-box
|
323
|
+
whiteList['mask-source-type'] = false; // default: auto
|
324
|
+
whiteList['mask-type'] = false; // default: luminance
|
325
|
+
whiteList['max-height'] = true; // default: none
|
326
|
+
whiteList['max-lines'] = false; // default: none
|
327
|
+
whiteList['max-width'] = true; // default: none
|
328
|
+
whiteList['min-height'] = true; // default: 0
|
329
|
+
whiteList['min-width'] = true; // default: 0
|
330
|
+
whiteList['move-to'] = false; // default: normal
|
331
|
+
whiteList['nav-down'] = false; // default: auto
|
332
|
+
whiteList['nav-index'] = false; // default: auto
|
333
|
+
whiteList['nav-left'] = false; // default: auto
|
334
|
+
whiteList['nav-right'] = false; // default: auto
|
335
|
+
whiteList['nav-up'] = false; // default: auto
|
336
|
+
whiteList['object-fit'] = false; // default: fill
|
337
|
+
whiteList['object-position'] = false; // default: 50% 50%
|
338
|
+
whiteList['opacity'] = false; // default: 1
|
339
|
+
whiteList['order'] = false; // default: 0
|
340
|
+
whiteList['orphans'] = false; // default: 2
|
341
|
+
whiteList['outline'] = false; // default: depending on individual properties
|
342
|
+
whiteList['outline-color'] = false; // default: invert
|
343
|
+
whiteList['outline-offset'] = false; // default: 0
|
344
|
+
whiteList['outline-style'] = false; // default: none
|
345
|
+
whiteList['outline-width'] = false; // default: medium
|
346
|
+
whiteList['overflow'] = false; // default: depending on individual properties
|
347
|
+
whiteList['overflow-wrap'] = false; // default: normal
|
348
|
+
whiteList['overflow-x'] = false; // default: visible
|
349
|
+
whiteList['overflow-y'] = false; // default: visible
|
350
|
+
whiteList['padding'] = true; // default: depending on individual properties
|
351
|
+
whiteList['padding-bottom'] = true; // default: 0
|
352
|
+
whiteList['padding-left'] = true; // default: 0
|
353
|
+
whiteList['padding-right'] = true; // default: 0
|
354
|
+
whiteList['padding-top'] = true; // default: 0
|
355
|
+
whiteList['page'] = false; // default: auto
|
356
|
+
whiteList['page-break-after'] = false; // default: auto
|
357
|
+
whiteList['page-break-before'] = false; // default: auto
|
358
|
+
whiteList['page-break-inside'] = false; // default: auto
|
359
|
+
whiteList['page-policy'] = false; // default: start
|
360
|
+
whiteList['pause'] = false; // default: implementation dependent
|
361
|
+
whiteList['pause-after'] = false; // default: implementation dependent
|
362
|
+
whiteList['pause-before'] = false; // default: implementation dependent
|
363
|
+
whiteList['perspective'] = false; // default: none
|
364
|
+
whiteList['perspective-origin'] = false; // default: 50% 50%
|
365
|
+
whiteList['pitch'] = false; // default: medium
|
366
|
+
whiteList['pitch-range'] = false; // default: 50
|
367
|
+
whiteList['play-during'] = false; // default: auto
|
368
|
+
whiteList['position'] = false; // default: static
|
369
|
+
whiteList['presentation-level'] = false; // default: 0
|
370
|
+
whiteList['quotes'] = false; // default: text
|
371
|
+
whiteList['region-fragment'] = false; // default: auto
|
372
|
+
whiteList['resize'] = false; // default: none
|
373
|
+
whiteList['rest'] = false; // default: depending on individual properties
|
374
|
+
whiteList['rest-after'] = false; // default: none
|
375
|
+
whiteList['rest-before'] = false; // default: none
|
376
|
+
whiteList['richness'] = false; // default: 50
|
377
|
+
whiteList['right'] = false; // default: auto
|
378
|
+
whiteList['rotation'] = false; // default: 0
|
379
|
+
whiteList['rotation-point'] = false; // default: 50% 50%
|
380
|
+
whiteList['ruby-align'] = false; // default: auto
|
381
|
+
whiteList['ruby-merge'] = false; // default: separate
|
382
|
+
whiteList['ruby-position'] = false; // default: before
|
383
|
+
whiteList['shape-image-threshold'] = false; // default: 0.0
|
384
|
+
whiteList['shape-outside'] = false; // default: none
|
385
|
+
whiteList['shape-margin'] = false; // default: 0
|
386
|
+
whiteList['size'] = false; // default: auto
|
387
|
+
whiteList['speak'] = false; // default: auto
|
388
|
+
whiteList['speak-as'] = false; // default: normal
|
389
|
+
whiteList['speak-header'] = false; // default: once
|
390
|
+
whiteList['speak-numeral'] = false; // default: continuous
|
391
|
+
whiteList['speak-punctuation'] = false; // default: none
|
392
|
+
whiteList['speech-rate'] = false; // default: medium
|
393
|
+
whiteList['stress'] = false; // default: 50
|
394
|
+
whiteList['string-set'] = false; // default: none
|
395
|
+
whiteList['tab-size'] = false; // default: 8
|
396
|
+
whiteList['table-layout'] = false; // default: auto
|
397
|
+
whiteList['text-align'] = true; // default: start
|
398
|
+
whiteList['text-align-last'] = true; // default: auto
|
399
|
+
whiteList['text-combine-upright'] = true; // default: none
|
400
|
+
whiteList['text-decoration'] = true; // default: none
|
401
|
+
whiteList['text-decoration-color'] = true; // default: currentColor
|
402
|
+
whiteList['text-decoration-line'] = true; // default: none
|
403
|
+
whiteList['text-decoration-skip'] = true; // default: objects
|
404
|
+
whiteList['text-decoration-style'] = true; // default: solid
|
405
|
+
whiteList['text-emphasis'] = true; // default: depending on individual properties
|
406
|
+
whiteList['text-emphasis-color'] = true; // default: currentColor
|
407
|
+
whiteList['text-emphasis-position'] = true; // default: over right
|
408
|
+
whiteList['text-emphasis-style'] = true; // default: none
|
409
|
+
whiteList['text-height'] = true; // default: auto
|
410
|
+
whiteList['text-indent'] = true; // default: 0
|
411
|
+
whiteList['text-justify'] = true; // default: auto
|
412
|
+
whiteList['text-orientation'] = true; // default: mixed
|
413
|
+
whiteList['text-overflow'] = true; // default: clip
|
414
|
+
whiteList['text-shadow'] = true; // default: none
|
415
|
+
whiteList['text-space-collapse'] = true; // default: collapse
|
416
|
+
whiteList['text-transform'] = true; // default: none
|
417
|
+
whiteList['text-underline-position'] = true; // default: auto
|
418
|
+
whiteList['text-wrap'] = true; // default: normal
|
419
|
+
whiteList['top'] = false; // default: auto
|
420
|
+
whiteList['transform'] = false; // default: none
|
421
|
+
whiteList['transform-origin'] = false; // default: 50% 50% 0
|
422
|
+
whiteList['transform-style'] = false; // default: flat
|
423
|
+
whiteList['transition'] = false; // default: depending on individual properties
|
424
|
+
whiteList['transition-delay'] = false; // default: 0s
|
425
|
+
whiteList['transition-duration'] = false; // default: 0s
|
426
|
+
whiteList['transition-property'] = false; // default: all
|
427
|
+
whiteList['transition-timing-function'] = false; // default: ease
|
428
|
+
whiteList['unicode-bidi'] = false; // default: normal
|
429
|
+
whiteList['vertical-align'] = false; // default: baseline
|
430
|
+
whiteList['visibility'] = false; // default: visible
|
431
|
+
whiteList['voice-balance'] = false; // default: center
|
432
|
+
whiteList['voice-duration'] = false; // default: auto
|
433
|
+
whiteList['voice-family'] = false; // default: implementation dependent
|
434
|
+
whiteList['voice-pitch'] = false; // default: medium
|
435
|
+
whiteList['voice-range'] = false; // default: medium
|
436
|
+
whiteList['voice-rate'] = false; // default: normal
|
437
|
+
whiteList['voice-stress'] = false; // default: normal
|
438
|
+
whiteList['voice-volume'] = false; // default: medium
|
439
|
+
whiteList['volume'] = false; // default: medium
|
440
|
+
whiteList['white-space'] = false; // default: normal
|
441
|
+
whiteList['widows'] = false; // default: 2
|
442
|
+
whiteList['width'] = true; // default: auto
|
443
|
+
whiteList['will-change'] = false; // default: auto
|
444
|
+
whiteList['word-break'] = true; // default: normal
|
445
|
+
whiteList['word-spacing'] = true; // default: normal
|
446
|
+
whiteList['word-wrap'] = true; // default: normal
|
447
|
+
whiteList['wrap-flow'] = false; // default: auto
|
448
|
+
whiteList['wrap-through'] = false; // default: wrap
|
449
|
+
whiteList['writing-mode'] = false; // default: horizontal-tb
|
450
|
+
whiteList['z-index'] = false; // default: auto
|
451
|
+
|
452
|
+
return whiteList;
|
453
|
+
}
|
454
|
+
|
455
|
+
|
456
|
+
/**
|
457
|
+
* 匹配到白名单上的一个属性时
|
458
|
+
*
|
459
|
+
* @param {String} name
|
460
|
+
* @param {String} value
|
461
|
+
* @param {Object} options
|
462
|
+
* @return {String}
|
463
|
+
*/
|
464
|
+
function onAttr (name, value, options) {
|
465
|
+
// do nothing
|
466
|
+
}
|
467
|
+
|
468
|
+
/**
|
469
|
+
* 匹配到不在白名单上的一个属性时
|
470
|
+
*
|
471
|
+
* @param {String} name
|
472
|
+
* @param {String} value
|
473
|
+
* @param {Object} options
|
474
|
+
* @return {String}
|
475
|
+
*/
|
476
|
+
function onIgnoreAttr (name, value, options) {
|
477
|
+
// do nothing
|
478
|
+
}
|
479
|
+
|
480
|
+
var REGEXP_URL_JAVASCRIPT = /javascript\s*\:/img;
|
481
|
+
|
482
|
+
/**
|
483
|
+
* 过滤属性值
|
484
|
+
*
|
485
|
+
* @param {String} name
|
486
|
+
* @param {String} value
|
487
|
+
* @return {String}
|
488
|
+
*/
|
489
|
+
function safeAttrValue$1(name, value) {
|
490
|
+
if (REGEXP_URL_JAVASCRIPT.test(value)) return '';
|
491
|
+
return value;
|
492
|
+
}
|
493
|
+
|
494
|
+
|
495
|
+
_default.whiteList = getDefaultWhiteList$1();
|
496
|
+
_default.getDefaultWhiteList = getDefaultWhiteList$1;
|
497
|
+
_default.onAttr = onAttr;
|
498
|
+
_default.onIgnoreAttr = onIgnoreAttr;
|
499
|
+
_default.safeAttrValue = safeAttrValue$1;
|
500
|
+
|
501
|
+
var util$1 = {
|
502
|
+
indexOf: function (arr, item) {
|
503
|
+
var i, j;
|
504
|
+
if (Array.prototype.indexOf) {
|
505
|
+
return arr.indexOf(item);
|
506
|
+
}
|
507
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
508
|
+
if (arr[i] === item) {
|
509
|
+
return i;
|
510
|
+
}
|
511
|
+
}
|
512
|
+
return -1;
|
513
|
+
},
|
514
|
+
forEach: function (arr, fn, scope) {
|
515
|
+
var i, j;
|
516
|
+
if (Array.prototype.forEach) {
|
517
|
+
return arr.forEach(fn, scope);
|
518
|
+
}
|
519
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
520
|
+
fn.call(scope, arr[i], i, arr);
|
521
|
+
}
|
522
|
+
},
|
523
|
+
trim: function (str) {
|
524
|
+
if (String.prototype.trim) {
|
525
|
+
return str.trim();
|
526
|
+
}
|
527
|
+
return str.replace(/(^\s*)|(\s*$)/g, '');
|
528
|
+
},
|
529
|
+
trimRight: function (str) {
|
530
|
+
if (String.prototype.trimRight) {
|
531
|
+
return str.trimRight();
|
532
|
+
}
|
533
|
+
return str.replace(/(\s*$)/g, '');
|
534
|
+
}
|
535
|
+
};
|
536
|
+
|
537
|
+
/**
|
538
|
+
* cssfilter
|
539
|
+
*
|
540
|
+
* @author 老雷<leizongmin@gmail.com>
|
541
|
+
*/
|
542
|
+
|
543
|
+
var _$3 = util$1;
|
544
|
+
|
545
|
+
|
546
|
+
/**
|
547
|
+
* 解析style
|
548
|
+
*
|
549
|
+
* @param {String} css
|
550
|
+
* @param {Function} onAttr 处理属性的函数
|
551
|
+
* 参数格式: function (sourcePosition, position, name, value, source)
|
552
|
+
* @return {String}
|
553
|
+
*/
|
554
|
+
function parseStyle$1 (css, onAttr) {
|
555
|
+
css = _$3.trimRight(css);
|
556
|
+
if (css[css.length - 1] !== ';') css += ';';
|
557
|
+
var cssLength = css.length;
|
558
|
+
var isParenthesisOpen = false;
|
559
|
+
var lastPos = 0;
|
560
|
+
var i = 0;
|
561
|
+
var retCSS = '';
|
562
|
+
|
563
|
+
function addNewAttr () {
|
564
|
+
// 如果没有正常的闭合圆括号,则直接忽略当前属性
|
565
|
+
if (!isParenthesisOpen) {
|
566
|
+
var source = _$3.trim(css.slice(lastPos, i));
|
567
|
+
var j = source.indexOf(':');
|
568
|
+
if (j !== -1) {
|
569
|
+
var name = _$3.trim(source.slice(0, j));
|
570
|
+
var value = _$3.trim(source.slice(j + 1));
|
571
|
+
// 必须有属性名称
|
572
|
+
if (name) {
|
573
|
+
var ret = onAttr(lastPos, retCSS.length, name, value, source);
|
574
|
+
if (ret) retCSS += ret + '; ';
|
575
|
+
}
|
576
|
+
}
|
577
|
+
}
|
578
|
+
lastPos = i + 1;
|
579
|
+
}
|
580
|
+
|
581
|
+
for (; i < cssLength; i++) {
|
582
|
+
var c = css[i];
|
583
|
+
if (c === '/' && css[i + 1] === '*') {
|
584
|
+
// 备注开始
|
585
|
+
var j = css.indexOf('*/', i + 2);
|
586
|
+
// 如果没有正常的备注结束,则后面的部分全部跳过
|
587
|
+
if (j === -1) break;
|
588
|
+
// 直接将当前位置调到备注结尾,并且初始化状态
|
589
|
+
i = j + 1;
|
590
|
+
lastPos = i + 1;
|
591
|
+
isParenthesisOpen = false;
|
592
|
+
} else if (c === '(') {
|
593
|
+
isParenthesisOpen = true;
|
594
|
+
} else if (c === ')') {
|
595
|
+
isParenthesisOpen = false;
|
596
|
+
} else if (c === ';') {
|
597
|
+
if (isParenthesisOpen) ; else {
|
598
|
+
addNewAttr();
|
599
|
+
}
|
600
|
+
} else if (c === '\n') {
|
601
|
+
addNewAttr();
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
605
|
+
return _$3.trim(retCSS);
|
606
|
+
}
|
607
|
+
|
608
|
+
var parser$2 = parseStyle$1;
|
609
|
+
|
610
|
+
/**
|
611
|
+
* cssfilter
|
612
|
+
*
|
613
|
+
* @author 老雷<leizongmin@gmail.com>
|
614
|
+
*/
|
615
|
+
|
616
|
+
var DEFAULT$1 = _default;
|
617
|
+
var parseStyle = parser$2;
|
618
|
+
|
619
|
+
|
620
|
+
/**
|
621
|
+
* 返回值是否为空
|
622
|
+
*
|
623
|
+
* @param {Object} obj
|
624
|
+
* @return {Boolean}
|
625
|
+
*/
|
626
|
+
function isNull$1 (obj) {
|
627
|
+
return (obj === undefined || obj === null);
|
628
|
+
}
|
629
|
+
|
630
|
+
/**
|
631
|
+
* 浅拷贝对象
|
632
|
+
*
|
633
|
+
* @param {Object} obj
|
634
|
+
* @return {Object}
|
635
|
+
*/
|
636
|
+
function shallowCopyObject$1 (obj) {
|
637
|
+
var ret = {};
|
638
|
+
for (var i in obj) {
|
639
|
+
ret[i] = obj[i];
|
640
|
+
}
|
641
|
+
return ret;
|
642
|
+
}
|
643
|
+
|
644
|
+
/**
|
645
|
+
* 创建CSS过滤器
|
646
|
+
*
|
647
|
+
* @param {Object} options
|
648
|
+
* - {Object} whiteList
|
649
|
+
* - {Function} onAttr
|
650
|
+
* - {Function} onIgnoreAttr
|
651
|
+
* - {Function} safeAttrValue
|
652
|
+
*/
|
653
|
+
function FilterCSS$2 (options) {
|
654
|
+
options = shallowCopyObject$1(options || {});
|
655
|
+
options.whiteList = options.whiteList || DEFAULT$1.whiteList;
|
656
|
+
options.onAttr = options.onAttr || DEFAULT$1.onAttr;
|
657
|
+
options.onIgnoreAttr = options.onIgnoreAttr || DEFAULT$1.onIgnoreAttr;
|
658
|
+
options.safeAttrValue = options.safeAttrValue || DEFAULT$1.safeAttrValue;
|
659
|
+
this.options = options;
|
660
|
+
}
|
661
|
+
|
662
|
+
FilterCSS$2.prototype.process = function (css) {
|
663
|
+
// 兼容各种奇葩输入
|
664
|
+
css = css || '';
|
665
|
+
css = css.toString();
|
666
|
+
if (!css) return '';
|
667
|
+
|
668
|
+
var me = this;
|
669
|
+
var options = me.options;
|
670
|
+
var whiteList = options.whiteList;
|
671
|
+
var onAttr = options.onAttr;
|
672
|
+
var onIgnoreAttr = options.onIgnoreAttr;
|
673
|
+
var safeAttrValue = options.safeAttrValue;
|
674
|
+
|
675
|
+
var retCSS = parseStyle(css, function (sourcePosition, position, name, value, source) {
|
676
|
+
|
677
|
+
var check = whiteList[name];
|
678
|
+
var isWhite = false;
|
679
|
+
if (check === true) isWhite = check;
|
680
|
+
else if (typeof check === 'function') isWhite = check(value);
|
681
|
+
else if (check instanceof RegExp) isWhite = check.test(value);
|
682
|
+
if (isWhite !== true) isWhite = false;
|
683
|
+
|
684
|
+
// 如果过滤后 value 为空则直接忽略
|
685
|
+
value = safeAttrValue(name, value);
|
686
|
+
if (!value) return;
|
687
|
+
|
688
|
+
var opts = {
|
689
|
+
position: position,
|
690
|
+
sourcePosition: sourcePosition,
|
691
|
+
source: source,
|
692
|
+
isWhite: isWhite
|
693
|
+
};
|
694
|
+
|
695
|
+
if (isWhite) {
|
696
|
+
|
697
|
+
var ret = onAttr(name, value, opts);
|
698
|
+
if (isNull$1(ret)) {
|
699
|
+
return name + ':' + value;
|
700
|
+
} else {
|
701
|
+
return ret;
|
702
|
+
}
|
703
|
+
|
704
|
+
} else {
|
705
|
+
|
706
|
+
var ret = onIgnoreAttr(name, value, opts);
|
707
|
+
if (!isNull$1(ret)) {
|
708
|
+
return ret;
|
709
|
+
}
|
710
|
+
|
711
|
+
}
|
712
|
+
});
|
713
|
+
|
714
|
+
return retCSS;
|
715
|
+
};
|
716
|
+
|
717
|
+
|
718
|
+
var css = FilterCSS$2;
|
719
|
+
|
720
|
+
/**
|
721
|
+
* cssfilter
|
722
|
+
*
|
723
|
+
* @author 老雷<leizongmin@gmail.com>
|
724
|
+
*/
|
725
|
+
|
726
|
+
(function (module, exports) {
|
727
|
+
var DEFAULT = _default;
|
728
|
+
var FilterCSS = css;
|
729
|
+
|
730
|
+
|
731
|
+
/**
|
732
|
+
* XSS过滤
|
733
|
+
*
|
734
|
+
* @param {String} css 要过滤的CSS代码
|
735
|
+
* @param {Object} options 选项:whiteList, onAttr, onIgnoreAttr
|
736
|
+
* @return {String}
|
737
|
+
*/
|
738
|
+
function filterCSS (html, options) {
|
739
|
+
var xss = new FilterCSS(options);
|
740
|
+
return xss.process(html);
|
741
|
+
}
|
742
|
+
|
743
|
+
|
744
|
+
// 输出
|
745
|
+
exports = module.exports = filterCSS;
|
746
|
+
exports.FilterCSS = FilterCSS;
|
747
|
+
for (var i in DEFAULT) exports[i] = DEFAULT[i];
|
748
|
+
} (lib, lib.exports));
|
749
|
+
|
750
|
+
var libExports$1 = lib.exports;
|
751
|
+
|
752
|
+
var util = {
|
753
|
+
indexOf: function (arr, item) {
|
754
|
+
var i, j;
|
755
|
+
if (Array.prototype.indexOf) {
|
756
|
+
return arr.indexOf(item);
|
757
|
+
}
|
758
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
759
|
+
if (arr[i] === item) {
|
760
|
+
return i;
|
761
|
+
}
|
762
|
+
}
|
763
|
+
return -1;
|
764
|
+
},
|
765
|
+
forEach: function (arr, fn, scope) {
|
766
|
+
var i, j;
|
767
|
+
if (Array.prototype.forEach) {
|
768
|
+
return arr.forEach(fn, scope);
|
769
|
+
}
|
770
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
771
|
+
fn.call(scope, arr[i], i, arr);
|
772
|
+
}
|
773
|
+
},
|
774
|
+
trim: function (str) {
|
775
|
+
if (String.prototype.trim) {
|
776
|
+
return str.trim();
|
777
|
+
}
|
778
|
+
return str.replace(/(^\s*)|(\s*$)/g, "");
|
779
|
+
},
|
780
|
+
spaceIndex: function (str) {
|
781
|
+
var reg = /\s|\n|\t/;
|
782
|
+
var match = reg.exec(str);
|
783
|
+
return match ? match.index : -1;
|
784
|
+
},
|
785
|
+
};
|
786
|
+
|
787
|
+
/**
|
788
|
+
* default settings
|
789
|
+
*
|
790
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
791
|
+
*/
|
792
|
+
|
793
|
+
var FilterCSS$1 = libExports$1.FilterCSS;
|
794
|
+
var getDefaultCSSWhiteList = libExports$1.getDefaultWhiteList;
|
795
|
+
var _$2 = util;
|
796
|
+
|
797
|
+
function getDefaultWhiteList() {
|
798
|
+
return {
|
799
|
+
a: ["target", "href", "title"],
|
800
|
+
abbr: ["title"],
|
801
|
+
address: [],
|
802
|
+
area: ["shape", "coords", "href", "alt"],
|
803
|
+
article: [],
|
804
|
+
aside: [],
|
805
|
+
audio: [
|
806
|
+
"autoplay",
|
807
|
+
"controls",
|
808
|
+
"crossorigin",
|
809
|
+
"loop",
|
810
|
+
"muted",
|
811
|
+
"preload",
|
812
|
+
"src",
|
813
|
+
],
|
814
|
+
b: [],
|
815
|
+
bdi: ["dir"],
|
816
|
+
bdo: ["dir"],
|
817
|
+
big: [],
|
818
|
+
blockquote: ["cite"],
|
819
|
+
br: [],
|
820
|
+
caption: [],
|
821
|
+
center: [],
|
822
|
+
cite: [],
|
823
|
+
code: [],
|
824
|
+
col: ["align", "valign", "span", "width"],
|
825
|
+
colgroup: ["align", "valign", "span", "width"],
|
826
|
+
dd: [],
|
827
|
+
del: ["datetime"],
|
828
|
+
details: ["open"],
|
829
|
+
div: [],
|
830
|
+
dl: [],
|
831
|
+
dt: [],
|
832
|
+
em: [],
|
833
|
+
figcaption: [],
|
834
|
+
figure: [],
|
835
|
+
font: ["color", "size", "face"],
|
836
|
+
footer: [],
|
837
|
+
h1: [],
|
838
|
+
h2: [],
|
839
|
+
h3: [],
|
840
|
+
h4: [],
|
841
|
+
h5: [],
|
842
|
+
h6: [],
|
843
|
+
header: [],
|
844
|
+
hr: [],
|
845
|
+
i: [],
|
846
|
+
img: ["src", "alt", "title", "width", "height"],
|
847
|
+
ins: ["datetime"],
|
848
|
+
li: [],
|
849
|
+
mark: [],
|
850
|
+
nav: [],
|
851
|
+
ol: [],
|
852
|
+
p: [],
|
853
|
+
pre: [],
|
854
|
+
s: [],
|
855
|
+
section: [],
|
856
|
+
small: [],
|
857
|
+
span: [],
|
858
|
+
sub: [],
|
859
|
+
summary: [],
|
860
|
+
sup: [],
|
861
|
+
strong: [],
|
862
|
+
strike: [],
|
863
|
+
table: ["width", "border", "align", "valign"],
|
864
|
+
tbody: ["align", "valign"],
|
865
|
+
td: ["width", "rowspan", "colspan", "align", "valign"],
|
866
|
+
tfoot: ["align", "valign"],
|
867
|
+
th: ["width", "rowspan", "colspan", "align", "valign"],
|
868
|
+
thead: ["align", "valign"],
|
869
|
+
tr: ["rowspan", "align", "valign"],
|
870
|
+
tt: [],
|
871
|
+
u: [],
|
872
|
+
ul: [],
|
873
|
+
video: [
|
874
|
+
"autoplay",
|
875
|
+
"controls",
|
876
|
+
"crossorigin",
|
877
|
+
"loop",
|
878
|
+
"muted",
|
879
|
+
"playsinline",
|
880
|
+
"poster",
|
881
|
+
"preload",
|
882
|
+
"src",
|
883
|
+
"height",
|
884
|
+
"width",
|
885
|
+
],
|
886
|
+
};
|
887
|
+
}
|
888
|
+
|
889
|
+
var defaultCSSFilter = new FilterCSS$1();
|
890
|
+
|
891
|
+
/**
|
892
|
+
* default onTag function
|
893
|
+
*
|
894
|
+
* @param {String} tag
|
895
|
+
* @param {String} html
|
896
|
+
* @param {Object} options
|
897
|
+
* @return {String}
|
898
|
+
*/
|
899
|
+
function onTag(tag, html, options) {
|
900
|
+
// do nothing
|
901
|
+
}
|
902
|
+
|
903
|
+
/**
|
904
|
+
* default onIgnoreTag function
|
905
|
+
*
|
906
|
+
* @param {String} tag
|
907
|
+
* @param {String} html
|
908
|
+
* @param {Object} options
|
909
|
+
* @return {String}
|
910
|
+
*/
|
911
|
+
function onIgnoreTag(tag, html, options) {
|
912
|
+
// do nothing
|
913
|
+
}
|
914
|
+
|
915
|
+
/**
|
916
|
+
* default onTagAttr function
|
917
|
+
*
|
918
|
+
* @param {String} tag
|
919
|
+
* @param {String} name
|
920
|
+
* @param {String} value
|
921
|
+
* @return {String}
|
922
|
+
*/
|
923
|
+
function onTagAttr(tag, name, value) {
|
924
|
+
// do nothing
|
925
|
+
}
|
926
|
+
|
927
|
+
/**
|
928
|
+
* default onIgnoreTagAttr function
|
929
|
+
*
|
930
|
+
* @param {String} tag
|
931
|
+
* @param {String} name
|
932
|
+
* @param {String} value
|
933
|
+
* @return {String}
|
934
|
+
*/
|
935
|
+
function onIgnoreTagAttr(tag, name, value) {
|
936
|
+
// do nothing
|
937
|
+
}
|
938
|
+
|
939
|
+
/**
|
940
|
+
* default escapeHtml function
|
941
|
+
*
|
942
|
+
* @param {String} html
|
943
|
+
*/
|
944
|
+
function escapeHtml(html) {
|
945
|
+
return html.replace(REGEXP_LT, "<").replace(REGEXP_GT, ">");
|
946
|
+
}
|
947
|
+
|
948
|
+
/**
|
949
|
+
* default safeAttrValue function
|
950
|
+
*
|
951
|
+
* @param {String} tag
|
952
|
+
* @param {String} name
|
953
|
+
* @param {String} value
|
954
|
+
* @param {Object} cssFilter
|
955
|
+
* @return {String}
|
956
|
+
*/
|
957
|
+
function safeAttrValue(tag, name, value, cssFilter) {
|
958
|
+
// unescape attribute value firstly
|
959
|
+
value = friendlyAttrValue(value);
|
960
|
+
|
961
|
+
if (name === "href" || name === "src") {
|
962
|
+
// filter `href` and `src` attribute
|
963
|
+
// only allow the value that starts with `http://` | `https://` | `mailto:` | `/` | `#`
|
964
|
+
value = _$2.trim(value);
|
965
|
+
if (value === "#") return "#";
|
966
|
+
if (
|
967
|
+
!(
|
968
|
+
value.substr(0, 7) === "http://" ||
|
969
|
+
value.substr(0, 8) === "https://" ||
|
970
|
+
value.substr(0, 7) === "mailto:" ||
|
971
|
+
value.substr(0, 4) === "tel:" ||
|
972
|
+
value.substr(0, 11) === "data:image/" ||
|
973
|
+
value.substr(0, 6) === "ftp://" ||
|
974
|
+
value.substr(0, 2) === "./" ||
|
975
|
+
value.substr(0, 3) === "../" ||
|
976
|
+
value[0] === "#" ||
|
977
|
+
value[0] === "/"
|
978
|
+
)
|
979
|
+
) {
|
980
|
+
return "";
|
981
|
+
}
|
982
|
+
} else if (name === "background") {
|
983
|
+
// filter `background` attribute (maybe no use)
|
984
|
+
// `javascript:`
|
985
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
|
986
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
|
987
|
+
return "";
|
988
|
+
}
|
989
|
+
} else if (name === "style") {
|
990
|
+
// `expression()`
|
991
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_7.lastIndex = 0;
|
992
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_7.test(value)) {
|
993
|
+
return "";
|
994
|
+
}
|
995
|
+
// `url()`
|
996
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_8.lastIndex = 0;
|
997
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_8.test(value)) {
|
998
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
|
999
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
|
1000
|
+
return "";
|
1001
|
+
}
|
1002
|
+
}
|
1003
|
+
if (cssFilter !== false) {
|
1004
|
+
cssFilter = cssFilter || defaultCSSFilter;
|
1005
|
+
value = cssFilter.process(value);
|
1006
|
+
}
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
// escape `<>"` before returns
|
1010
|
+
value = escapeAttrValue(value);
|
1011
|
+
return value;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
// RegExp list
|
1015
|
+
var REGEXP_LT = /</g;
|
1016
|
+
var REGEXP_GT = />/g;
|
1017
|
+
var REGEXP_QUOTE = /"/g;
|
1018
|
+
var REGEXP_QUOTE_2 = /"/g;
|
1019
|
+
var REGEXP_ATTR_VALUE_1 = /&#([a-zA-Z0-9]*);?/gim;
|
1020
|
+
var REGEXP_ATTR_VALUE_COLON = /:?/gim;
|
1021
|
+
var REGEXP_ATTR_VALUE_NEWLINE = /&newline;?/gim;
|
1022
|
+
// var REGEXP_DEFAULT_ON_TAG_ATTR_3 = /\/\*|\*\//gm;
|
1023
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_4 =
|
1024
|
+
/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi;
|
1025
|
+
// var REGEXP_DEFAULT_ON_TAG_ATTR_5 = /^[\s"'`]*(d\s*a\s*t\s*a\s*)\:/gi;
|
1026
|
+
// var REGEXP_DEFAULT_ON_TAG_ATTR_6 = /^[\s"'`]*(d\s*a\s*t\s*a\s*)\:\s*image\//gi;
|
1027
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_7 =
|
1028
|
+
/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi;
|
1029
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_8 = /u\s*r\s*l\s*\(.*/gi;
|
1030
|
+
|
1031
|
+
/**
|
1032
|
+
* escape double quote
|
1033
|
+
*
|
1034
|
+
* @param {String} str
|
1035
|
+
* @return {String} str
|
1036
|
+
*/
|
1037
|
+
function escapeQuote(str) {
|
1038
|
+
return str.replace(REGEXP_QUOTE, """);
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
/**
|
1042
|
+
* unescape double quote
|
1043
|
+
*
|
1044
|
+
* @param {String} str
|
1045
|
+
* @return {String} str
|
1046
|
+
*/
|
1047
|
+
function unescapeQuote(str) {
|
1048
|
+
return str.replace(REGEXP_QUOTE_2, '"');
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
/**
|
1052
|
+
* escape html entities
|
1053
|
+
*
|
1054
|
+
* @param {String} str
|
1055
|
+
* @return {String}
|
1056
|
+
*/
|
1057
|
+
function escapeHtmlEntities(str) {
|
1058
|
+
return str.replace(REGEXP_ATTR_VALUE_1, function replaceUnicode(str, code) {
|
1059
|
+
return code[0] === "x" || code[0] === "X"
|
1060
|
+
? String.fromCharCode(parseInt(code.substr(1), 16))
|
1061
|
+
: String.fromCharCode(parseInt(code, 10));
|
1062
|
+
});
|
1063
|
+
}
|
1064
|
+
|
1065
|
+
/**
|
1066
|
+
* escape html5 new danger entities
|
1067
|
+
*
|
1068
|
+
* @param {String} str
|
1069
|
+
* @return {String}
|
1070
|
+
*/
|
1071
|
+
function escapeDangerHtml5Entities(str) {
|
1072
|
+
return str
|
1073
|
+
.replace(REGEXP_ATTR_VALUE_COLON, ":")
|
1074
|
+
.replace(REGEXP_ATTR_VALUE_NEWLINE, " ");
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
/**
|
1078
|
+
* clear nonprintable characters
|
1079
|
+
*
|
1080
|
+
* @param {String} str
|
1081
|
+
* @return {String}
|
1082
|
+
*/
|
1083
|
+
function clearNonPrintableCharacter(str) {
|
1084
|
+
var str2 = "";
|
1085
|
+
for (var i = 0, len = str.length; i < len; i++) {
|
1086
|
+
str2 += str.charCodeAt(i) < 32 ? " " : str.charAt(i);
|
1087
|
+
}
|
1088
|
+
return _$2.trim(str2);
|
1089
|
+
}
|
1090
|
+
|
1091
|
+
/**
|
1092
|
+
* get friendly attribute value
|
1093
|
+
*
|
1094
|
+
* @param {String} str
|
1095
|
+
* @return {String}
|
1096
|
+
*/
|
1097
|
+
function friendlyAttrValue(str) {
|
1098
|
+
str = unescapeQuote(str);
|
1099
|
+
str = escapeHtmlEntities(str);
|
1100
|
+
str = escapeDangerHtml5Entities(str);
|
1101
|
+
str = clearNonPrintableCharacter(str);
|
1102
|
+
return str;
|
1103
|
+
}
|
1104
|
+
|
1105
|
+
/**
|
1106
|
+
* unescape attribute value
|
1107
|
+
*
|
1108
|
+
* @param {String} str
|
1109
|
+
* @return {String}
|
1110
|
+
*/
|
1111
|
+
function escapeAttrValue(str) {
|
1112
|
+
str = escapeQuote(str);
|
1113
|
+
str = escapeHtml(str);
|
1114
|
+
return str;
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
/**
|
1118
|
+
* `onIgnoreTag` function for removing all the tags that are not in whitelist
|
1119
|
+
*/
|
1120
|
+
function onIgnoreTagStripAll() {
|
1121
|
+
return "";
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
/**
|
1125
|
+
* remove tag body
|
1126
|
+
* specify a `tags` list, if the tag is not in the `tags` list then process by the specify function (optional)
|
1127
|
+
*
|
1128
|
+
* @param {array} tags
|
1129
|
+
* @param {function} next
|
1130
|
+
*/
|
1131
|
+
function StripTagBody(tags, next) {
|
1132
|
+
if (typeof next !== "function") {
|
1133
|
+
next = function () {};
|
1134
|
+
}
|
1135
|
+
|
1136
|
+
var isRemoveAllTag = !Array.isArray(tags);
|
1137
|
+
function isRemoveTag(tag) {
|
1138
|
+
if (isRemoveAllTag) return true;
|
1139
|
+
return _$2.indexOf(tags, tag) !== -1;
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
var removeList = [];
|
1143
|
+
var posStart = false;
|
1144
|
+
|
1145
|
+
return {
|
1146
|
+
onIgnoreTag: function (tag, html, options) {
|
1147
|
+
if (isRemoveTag(tag)) {
|
1148
|
+
if (options.isClosing) {
|
1149
|
+
var ret = "[/removed]";
|
1150
|
+
var end = options.position + ret.length;
|
1151
|
+
removeList.push([
|
1152
|
+
posStart !== false ? posStart : options.position,
|
1153
|
+
end,
|
1154
|
+
]);
|
1155
|
+
posStart = false;
|
1156
|
+
return ret;
|
1157
|
+
} else {
|
1158
|
+
if (!posStart) {
|
1159
|
+
posStart = options.position;
|
1160
|
+
}
|
1161
|
+
return "[removed]";
|
1162
|
+
}
|
1163
|
+
} else {
|
1164
|
+
return next(tag, html, options);
|
1165
|
+
}
|
1166
|
+
},
|
1167
|
+
remove: function (html) {
|
1168
|
+
var rethtml = "";
|
1169
|
+
var lastPos = 0;
|
1170
|
+
_$2.forEach(removeList, function (pos) {
|
1171
|
+
rethtml += html.slice(lastPos, pos[0]);
|
1172
|
+
lastPos = pos[1];
|
1173
|
+
});
|
1174
|
+
rethtml += html.slice(lastPos);
|
1175
|
+
return rethtml;
|
1176
|
+
},
|
1177
|
+
};
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
/**
|
1181
|
+
* remove html comments
|
1182
|
+
*
|
1183
|
+
* @param {String} html
|
1184
|
+
* @return {String}
|
1185
|
+
*/
|
1186
|
+
function stripCommentTag(html) {
|
1187
|
+
var retHtml = "";
|
1188
|
+
var lastPos = 0;
|
1189
|
+
while (lastPos < html.length) {
|
1190
|
+
var i = html.indexOf("<!--", lastPos);
|
1191
|
+
if (i === -1) {
|
1192
|
+
retHtml += html.slice(lastPos);
|
1193
|
+
break;
|
1194
|
+
}
|
1195
|
+
retHtml += html.slice(lastPos, i);
|
1196
|
+
var j = html.indexOf("-->", i);
|
1197
|
+
if (j === -1) {
|
1198
|
+
break;
|
1199
|
+
}
|
1200
|
+
lastPos = j + 3;
|
1201
|
+
}
|
1202
|
+
return retHtml;
|
1203
|
+
}
|
1204
|
+
|
1205
|
+
/**
|
1206
|
+
* remove invisible characters
|
1207
|
+
*
|
1208
|
+
* @param {String} html
|
1209
|
+
* @return {String}
|
1210
|
+
*/
|
1211
|
+
function stripBlankChar(html) {
|
1212
|
+
var chars = html.split("");
|
1213
|
+
chars = chars.filter(function (char) {
|
1214
|
+
var c = char.charCodeAt(0);
|
1215
|
+
if (c === 127) return false;
|
1216
|
+
if (c <= 31) {
|
1217
|
+
if (c === 10 || c === 13) return true;
|
1218
|
+
return false;
|
1219
|
+
}
|
1220
|
+
return true;
|
1221
|
+
});
|
1222
|
+
return chars.join("");
|
1223
|
+
}
|
1224
|
+
|
1225
|
+
_default$1.whiteList = getDefaultWhiteList();
|
1226
|
+
_default$1.getDefaultWhiteList = getDefaultWhiteList;
|
1227
|
+
_default$1.onTag = onTag;
|
1228
|
+
_default$1.onIgnoreTag = onIgnoreTag;
|
1229
|
+
_default$1.onTagAttr = onTagAttr;
|
1230
|
+
_default$1.onIgnoreTagAttr = onIgnoreTagAttr;
|
1231
|
+
_default$1.safeAttrValue = safeAttrValue;
|
1232
|
+
_default$1.escapeHtml = escapeHtml;
|
1233
|
+
_default$1.escapeQuote = escapeQuote;
|
1234
|
+
_default$1.unescapeQuote = unescapeQuote;
|
1235
|
+
_default$1.escapeHtmlEntities = escapeHtmlEntities;
|
1236
|
+
_default$1.escapeDangerHtml5Entities = escapeDangerHtml5Entities;
|
1237
|
+
_default$1.clearNonPrintableCharacter = clearNonPrintableCharacter;
|
1238
|
+
_default$1.friendlyAttrValue = friendlyAttrValue;
|
1239
|
+
_default$1.escapeAttrValue = escapeAttrValue;
|
1240
|
+
_default$1.onIgnoreTagStripAll = onIgnoreTagStripAll;
|
1241
|
+
_default$1.StripTagBody = StripTagBody;
|
1242
|
+
_default$1.stripCommentTag = stripCommentTag;
|
1243
|
+
_default$1.stripBlankChar = stripBlankChar;
|
1244
|
+
_default$1.cssFilter = defaultCSSFilter;
|
1245
|
+
_default$1.getDefaultCSSWhiteList = getDefaultCSSWhiteList;
|
1246
|
+
|
1247
|
+
var parser$1 = {};
|
1248
|
+
|
1249
|
+
/**
|
1250
|
+
* Simple HTML Parser
|
1251
|
+
*
|
1252
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
1253
|
+
*/
|
1254
|
+
|
1255
|
+
var _$1 = util;
|
1256
|
+
|
1257
|
+
/**
|
1258
|
+
* get tag name
|
1259
|
+
*
|
1260
|
+
* @param {String} html e.g. '<a hef="#">'
|
1261
|
+
* @return {String}
|
1262
|
+
*/
|
1263
|
+
function getTagName(html) {
|
1264
|
+
var i = _$1.spaceIndex(html);
|
1265
|
+
var tagName;
|
1266
|
+
if (i === -1) {
|
1267
|
+
tagName = html.slice(1, -1);
|
1268
|
+
} else {
|
1269
|
+
tagName = html.slice(1, i + 1);
|
1270
|
+
}
|
1271
|
+
tagName = _$1.trim(tagName).toLowerCase();
|
1272
|
+
if (tagName.slice(0, 1) === "/") tagName = tagName.slice(1);
|
1273
|
+
if (tagName.slice(-1) === "/") tagName = tagName.slice(0, -1);
|
1274
|
+
return tagName;
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
/**
|
1278
|
+
* is close tag?
|
1279
|
+
*
|
1280
|
+
* @param {String} html 如:'<a hef="#">'
|
1281
|
+
* @return {Boolean}
|
1282
|
+
*/
|
1283
|
+
function isClosing(html) {
|
1284
|
+
return html.slice(0, 2) === "</";
|
1285
|
+
}
|
1286
|
+
|
1287
|
+
/**
|
1288
|
+
* parse input html and returns processed html
|
1289
|
+
*
|
1290
|
+
* @param {String} html
|
1291
|
+
* @param {Function} onTag e.g. function (sourcePosition, position, tag, html, isClosing)
|
1292
|
+
* @param {Function} escapeHtml
|
1293
|
+
* @return {String}
|
1294
|
+
*/
|
1295
|
+
function parseTag$1(html, onTag, escapeHtml) {
|
1296
|
+
|
1297
|
+
var rethtml = "";
|
1298
|
+
var lastPos = 0;
|
1299
|
+
var tagStart = false;
|
1300
|
+
var quoteStart = false;
|
1301
|
+
var currentPos = 0;
|
1302
|
+
var len = html.length;
|
1303
|
+
var currentTagName = "";
|
1304
|
+
var currentHtml = "";
|
1305
|
+
|
1306
|
+
chariterator: for (currentPos = 0; currentPos < len; currentPos++) {
|
1307
|
+
var c = html.charAt(currentPos);
|
1308
|
+
if (tagStart === false) {
|
1309
|
+
if (c === "<") {
|
1310
|
+
tagStart = currentPos;
|
1311
|
+
continue;
|
1312
|
+
}
|
1313
|
+
} else {
|
1314
|
+
if (quoteStart === false) {
|
1315
|
+
if (c === "<") {
|
1316
|
+
rethtml += escapeHtml(html.slice(lastPos, currentPos));
|
1317
|
+
tagStart = currentPos;
|
1318
|
+
lastPos = currentPos;
|
1319
|
+
continue;
|
1320
|
+
}
|
1321
|
+
if (c === ">") {
|
1322
|
+
rethtml += escapeHtml(html.slice(lastPos, tagStart));
|
1323
|
+
currentHtml = html.slice(tagStart, currentPos + 1);
|
1324
|
+
currentTagName = getTagName(currentHtml);
|
1325
|
+
rethtml += onTag(
|
1326
|
+
tagStart,
|
1327
|
+
rethtml.length,
|
1328
|
+
currentTagName,
|
1329
|
+
currentHtml,
|
1330
|
+
isClosing(currentHtml)
|
1331
|
+
);
|
1332
|
+
lastPos = currentPos + 1;
|
1333
|
+
tagStart = false;
|
1334
|
+
continue;
|
1335
|
+
}
|
1336
|
+
if (c === '"' || c === "'") {
|
1337
|
+
var i = 1;
|
1338
|
+
var ic = html.charAt(currentPos - i);
|
1339
|
+
|
1340
|
+
while (ic.trim() === "" || ic === "=") {
|
1341
|
+
if (ic === "=") {
|
1342
|
+
quoteStart = c;
|
1343
|
+
continue chariterator;
|
1344
|
+
}
|
1345
|
+
ic = html.charAt(currentPos - ++i);
|
1346
|
+
}
|
1347
|
+
}
|
1348
|
+
} else {
|
1349
|
+
if (c === quoteStart) {
|
1350
|
+
quoteStart = false;
|
1351
|
+
continue;
|
1352
|
+
}
|
1353
|
+
}
|
1354
|
+
}
|
1355
|
+
}
|
1356
|
+
if (lastPos < html.length) {
|
1357
|
+
rethtml += escapeHtml(html.substr(lastPos));
|
1358
|
+
}
|
1359
|
+
|
1360
|
+
return rethtml;
|
1361
|
+
}
|
1362
|
+
|
1363
|
+
var REGEXP_ILLEGAL_ATTR_NAME = /[^a-zA-Z0-9\\_:.-]/gim;
|
1364
|
+
|
1365
|
+
/**
|
1366
|
+
* parse input attributes and returns processed attributes
|
1367
|
+
*
|
1368
|
+
* @param {String} html e.g. `href="#" target="_blank"`
|
1369
|
+
* @param {Function} onAttr e.g. `function (name, value)`
|
1370
|
+
* @return {String}
|
1371
|
+
*/
|
1372
|
+
function parseAttr$1(html, onAttr) {
|
1373
|
+
|
1374
|
+
var lastPos = 0;
|
1375
|
+
var lastMarkPos = 0;
|
1376
|
+
var retAttrs = [];
|
1377
|
+
var tmpName = false;
|
1378
|
+
var len = html.length;
|
1379
|
+
|
1380
|
+
function addAttr(name, value) {
|
1381
|
+
name = _$1.trim(name);
|
1382
|
+
name = name.replace(REGEXP_ILLEGAL_ATTR_NAME, "").toLowerCase();
|
1383
|
+
if (name.length < 1) return;
|
1384
|
+
var ret = onAttr(name, value || "");
|
1385
|
+
if (ret) retAttrs.push(ret);
|
1386
|
+
}
|
1387
|
+
|
1388
|
+
// 逐个分析字符
|
1389
|
+
for (var i = 0; i < len; i++) {
|
1390
|
+
var c = html.charAt(i);
|
1391
|
+
var v, j;
|
1392
|
+
if (tmpName === false && c === "=") {
|
1393
|
+
tmpName = html.slice(lastPos, i);
|
1394
|
+
lastPos = i + 1;
|
1395
|
+
lastMarkPos = html.charAt(lastPos) === '"' || html.charAt(lastPos) === "'" ? lastPos : findNextQuotationMark(html, i + 1);
|
1396
|
+
continue;
|
1397
|
+
}
|
1398
|
+
if (tmpName !== false) {
|
1399
|
+
if (
|
1400
|
+
i === lastMarkPos
|
1401
|
+
) {
|
1402
|
+
j = html.indexOf(c, i + 1);
|
1403
|
+
if (j === -1) {
|
1404
|
+
break;
|
1405
|
+
} else {
|
1406
|
+
v = _$1.trim(html.slice(lastMarkPos + 1, j));
|
1407
|
+
addAttr(tmpName, v);
|
1408
|
+
tmpName = false;
|
1409
|
+
i = j;
|
1410
|
+
lastPos = i + 1;
|
1411
|
+
continue;
|
1412
|
+
}
|
1413
|
+
}
|
1414
|
+
}
|
1415
|
+
if (/\s|\n|\t/.test(c)) {
|
1416
|
+
html = html.replace(/\s|\n|\t/g, " ");
|
1417
|
+
if (tmpName === false) {
|
1418
|
+
j = findNextEqual(html, i);
|
1419
|
+
if (j === -1) {
|
1420
|
+
v = _$1.trim(html.slice(lastPos, i));
|
1421
|
+
addAttr(v);
|
1422
|
+
tmpName = false;
|
1423
|
+
lastPos = i + 1;
|
1424
|
+
continue;
|
1425
|
+
} else {
|
1426
|
+
i = j - 1;
|
1427
|
+
continue;
|
1428
|
+
}
|
1429
|
+
} else {
|
1430
|
+
j = findBeforeEqual(html, i - 1);
|
1431
|
+
if (j === -1) {
|
1432
|
+
v = _$1.trim(html.slice(lastPos, i));
|
1433
|
+
v = stripQuoteWrap(v);
|
1434
|
+
addAttr(tmpName, v);
|
1435
|
+
tmpName = false;
|
1436
|
+
lastPos = i + 1;
|
1437
|
+
continue;
|
1438
|
+
} else {
|
1439
|
+
continue;
|
1440
|
+
}
|
1441
|
+
}
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
if (lastPos < html.length) {
|
1446
|
+
if (tmpName === false) {
|
1447
|
+
addAttr(html.slice(lastPos));
|
1448
|
+
} else {
|
1449
|
+
addAttr(tmpName, stripQuoteWrap(_$1.trim(html.slice(lastPos))));
|
1450
|
+
}
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
return _$1.trim(retAttrs.join(" "));
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
function findNextEqual(str, i) {
|
1457
|
+
for (; i < str.length; i++) {
|
1458
|
+
var c = str[i];
|
1459
|
+
if (c === " ") continue;
|
1460
|
+
if (c === "=") return i;
|
1461
|
+
return -1;
|
1462
|
+
}
|
1463
|
+
}
|
1464
|
+
|
1465
|
+
function findNextQuotationMark(str, i) {
|
1466
|
+
for (; i < str.length; i++) {
|
1467
|
+
var c = str[i];
|
1468
|
+
if (c === " ") continue;
|
1469
|
+
if (c === "'" || c === '"') return i;
|
1470
|
+
return -1;
|
1471
|
+
}
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
function findBeforeEqual(str, i) {
|
1475
|
+
for (; i > 0; i--) {
|
1476
|
+
var c = str[i];
|
1477
|
+
if (c === " ") continue;
|
1478
|
+
if (c === "=") return i;
|
1479
|
+
return -1;
|
1480
|
+
}
|
1481
|
+
}
|
1482
|
+
|
1483
|
+
function isQuoteWrapString(text) {
|
1484
|
+
if (
|
1485
|
+
(text[0] === '"' && text[text.length - 1] === '"') ||
|
1486
|
+
(text[0] === "'" && text[text.length - 1] === "'")
|
1487
|
+
) {
|
1488
|
+
return true;
|
1489
|
+
} else {
|
1490
|
+
return false;
|
1491
|
+
}
|
1492
|
+
}
|
1493
|
+
|
1494
|
+
function stripQuoteWrap(text) {
|
1495
|
+
if (isQuoteWrapString(text)) {
|
1496
|
+
return text.substr(1, text.length - 2);
|
1497
|
+
} else {
|
1498
|
+
return text;
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
parser$1.parseTag = parseTag$1;
|
1503
|
+
parser$1.parseAttr = parseAttr$1;
|
1504
|
+
|
1505
|
+
/**
|
1506
|
+
* filter xss
|
1507
|
+
*
|
1508
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
1509
|
+
*/
|
1510
|
+
|
1511
|
+
var FilterCSS = libExports$1.FilterCSS;
|
1512
|
+
var DEFAULT = _default$1;
|
1513
|
+
var parser = parser$1;
|
1514
|
+
var parseTag = parser.parseTag;
|
1515
|
+
var parseAttr = parser.parseAttr;
|
1516
|
+
var _ = util;
|
1517
|
+
|
1518
|
+
/**
|
1519
|
+
* returns `true` if the input value is `undefined` or `null`
|
1520
|
+
*
|
1521
|
+
* @param {Object} obj
|
1522
|
+
* @return {Boolean}
|
1523
|
+
*/
|
1524
|
+
function isNull(obj) {
|
1525
|
+
return obj === undefined || obj === null;
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
/**
|
1529
|
+
* get attributes for a tag
|
1530
|
+
*
|
1531
|
+
* @param {String} html
|
1532
|
+
* @return {Object}
|
1533
|
+
* - {String} html
|
1534
|
+
* - {Boolean} closing
|
1535
|
+
*/
|
1536
|
+
function getAttrs(html) {
|
1537
|
+
var i = _.spaceIndex(html);
|
1538
|
+
if (i === -1) {
|
1539
|
+
return {
|
1540
|
+
html: "",
|
1541
|
+
closing: html[html.length - 2] === "/",
|
1542
|
+
};
|
1543
|
+
}
|
1544
|
+
html = _.trim(html.slice(i + 1, -1));
|
1545
|
+
var isClosing = html[html.length - 1] === "/";
|
1546
|
+
if (isClosing) html = _.trim(html.slice(0, -1));
|
1547
|
+
return {
|
1548
|
+
html: html,
|
1549
|
+
closing: isClosing,
|
1550
|
+
};
|
1551
|
+
}
|
1552
|
+
|
1553
|
+
/**
|
1554
|
+
* shallow copy
|
1555
|
+
*
|
1556
|
+
* @param {Object} obj
|
1557
|
+
* @return {Object}
|
1558
|
+
*/
|
1559
|
+
function shallowCopyObject(obj) {
|
1560
|
+
var ret = {};
|
1561
|
+
for (var i in obj) {
|
1562
|
+
ret[i] = obj[i];
|
1563
|
+
}
|
1564
|
+
return ret;
|
1565
|
+
}
|
1566
|
+
|
1567
|
+
function keysToLowerCase(obj) {
|
1568
|
+
var ret = {};
|
1569
|
+
for (var i in obj) {
|
1570
|
+
if (Array.isArray(obj[i])) {
|
1571
|
+
ret[i.toLowerCase()] = obj[i].map(function (item) {
|
1572
|
+
return item.toLowerCase();
|
1573
|
+
});
|
1574
|
+
} else {
|
1575
|
+
ret[i.toLowerCase()] = obj[i];
|
1576
|
+
}
|
1577
|
+
}
|
1578
|
+
return ret;
|
1579
|
+
}
|
1580
|
+
|
1581
|
+
/**
|
1582
|
+
* FilterXSS class
|
1583
|
+
*
|
1584
|
+
* @param {Object} options
|
1585
|
+
* whiteList (or allowList), onTag, onTagAttr, onIgnoreTag,
|
1586
|
+
* onIgnoreTagAttr, safeAttrValue, escapeHtml
|
1587
|
+
* stripIgnoreTagBody, allowCommentTag, stripBlankChar
|
1588
|
+
* css{whiteList, onAttr, onIgnoreAttr} `css=false` means don't use `cssfilter`
|
1589
|
+
*/
|
1590
|
+
function FilterXSS(options) {
|
1591
|
+
options = shallowCopyObject(options || {});
|
1592
|
+
|
1593
|
+
if (options.stripIgnoreTag) {
|
1594
|
+
if (options.onIgnoreTag) {
|
1595
|
+
console.error(
|
1596
|
+
'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
|
1597
|
+
);
|
1598
|
+
}
|
1599
|
+
options.onIgnoreTag = DEFAULT.onIgnoreTagStripAll;
|
1600
|
+
}
|
1601
|
+
if (options.whiteList || options.allowList) {
|
1602
|
+
options.whiteList = keysToLowerCase(options.whiteList || options.allowList);
|
1603
|
+
} else {
|
1604
|
+
options.whiteList = DEFAULT.whiteList;
|
1605
|
+
}
|
1606
|
+
|
1607
|
+
options.onTag = options.onTag || DEFAULT.onTag;
|
1608
|
+
options.onTagAttr = options.onTagAttr || DEFAULT.onTagAttr;
|
1609
|
+
options.onIgnoreTag = options.onIgnoreTag || DEFAULT.onIgnoreTag;
|
1610
|
+
options.onIgnoreTagAttr = options.onIgnoreTagAttr || DEFAULT.onIgnoreTagAttr;
|
1611
|
+
options.safeAttrValue = options.safeAttrValue || DEFAULT.safeAttrValue;
|
1612
|
+
options.escapeHtml = options.escapeHtml || DEFAULT.escapeHtml;
|
1613
|
+
this.options = options;
|
1614
|
+
|
1615
|
+
if (options.css === false) {
|
1616
|
+
this.cssFilter = false;
|
1617
|
+
} else {
|
1618
|
+
options.css = options.css || {};
|
1619
|
+
this.cssFilter = new FilterCSS(options.css);
|
1620
|
+
}
|
1621
|
+
}
|
1622
|
+
|
1623
|
+
/**
|
1624
|
+
* start process and returns result
|
1625
|
+
*
|
1626
|
+
* @param {String} html
|
1627
|
+
* @return {String}
|
1628
|
+
*/
|
1629
|
+
FilterXSS.prototype.process = function (html) {
|
1630
|
+
// compatible with the input
|
1631
|
+
html = html || "";
|
1632
|
+
html = html.toString();
|
1633
|
+
if (!html) return "";
|
1634
|
+
|
1635
|
+
var me = this;
|
1636
|
+
var options = me.options;
|
1637
|
+
var whiteList = options.whiteList;
|
1638
|
+
var onTag = options.onTag;
|
1639
|
+
var onIgnoreTag = options.onIgnoreTag;
|
1640
|
+
var onTagAttr = options.onTagAttr;
|
1641
|
+
var onIgnoreTagAttr = options.onIgnoreTagAttr;
|
1642
|
+
var safeAttrValue = options.safeAttrValue;
|
1643
|
+
var escapeHtml = options.escapeHtml;
|
1644
|
+
var cssFilter = me.cssFilter;
|
1645
|
+
|
1646
|
+
// remove invisible characters
|
1647
|
+
if (options.stripBlankChar) {
|
1648
|
+
html = DEFAULT.stripBlankChar(html);
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
// remove html comments
|
1652
|
+
if (!options.allowCommentTag) {
|
1653
|
+
html = DEFAULT.stripCommentTag(html);
|
1654
|
+
}
|
1655
|
+
|
1656
|
+
// if enable stripIgnoreTagBody
|
1657
|
+
var stripIgnoreTagBody = false;
|
1658
|
+
if (options.stripIgnoreTagBody) {
|
1659
|
+
stripIgnoreTagBody = DEFAULT.StripTagBody(
|
1660
|
+
options.stripIgnoreTagBody,
|
1661
|
+
onIgnoreTag
|
1662
|
+
);
|
1663
|
+
onIgnoreTag = stripIgnoreTagBody.onIgnoreTag;
|
1664
|
+
}
|
1665
|
+
|
1666
|
+
var retHtml = parseTag(
|
1667
|
+
html,
|
1668
|
+
function (sourcePosition, position, tag, html, isClosing) {
|
1669
|
+
var info = {
|
1670
|
+
sourcePosition: sourcePosition,
|
1671
|
+
position: position,
|
1672
|
+
isClosing: isClosing,
|
1673
|
+
isWhite: Object.prototype.hasOwnProperty.call(whiteList, tag),
|
1674
|
+
};
|
1675
|
+
|
1676
|
+
// call `onTag()`
|
1677
|
+
var ret = onTag(tag, html, info);
|
1678
|
+
if (!isNull(ret)) return ret;
|
1679
|
+
|
1680
|
+
if (info.isWhite) {
|
1681
|
+
if (info.isClosing) {
|
1682
|
+
return "</" + tag + ">";
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
var attrs = getAttrs(html);
|
1686
|
+
var whiteAttrList = whiteList[tag];
|
1687
|
+
var attrsHtml = parseAttr(attrs.html, function (name, value) {
|
1688
|
+
// call `onTagAttr()`
|
1689
|
+
var isWhiteAttr = _.indexOf(whiteAttrList, name) !== -1;
|
1690
|
+
var ret = onTagAttr(tag, name, value, isWhiteAttr);
|
1691
|
+
if (!isNull(ret)) return ret;
|
1692
|
+
|
1693
|
+
if (isWhiteAttr) {
|
1694
|
+
// call `safeAttrValue()`
|
1695
|
+
value = safeAttrValue(tag, name, value, cssFilter);
|
1696
|
+
if (value) {
|
1697
|
+
return name + '="' + value + '"';
|
1698
|
+
} else {
|
1699
|
+
return name;
|
1700
|
+
}
|
1701
|
+
} else {
|
1702
|
+
// call `onIgnoreTagAttr()`
|
1703
|
+
ret = onIgnoreTagAttr(tag, name, value, isWhiteAttr);
|
1704
|
+
if (!isNull(ret)) return ret;
|
1705
|
+
return;
|
1706
|
+
}
|
1707
|
+
});
|
1708
|
+
|
1709
|
+
// build new tag html
|
1710
|
+
html = "<" + tag;
|
1711
|
+
if (attrsHtml) html += " " + attrsHtml;
|
1712
|
+
if (attrs.closing) html += " /";
|
1713
|
+
html += ">";
|
1714
|
+
return html;
|
1715
|
+
} else {
|
1716
|
+
// call `onIgnoreTag()`
|
1717
|
+
ret = onIgnoreTag(tag, html, info);
|
1718
|
+
if (!isNull(ret)) return ret;
|
1719
|
+
return escapeHtml(html);
|
1720
|
+
}
|
1721
|
+
},
|
1722
|
+
escapeHtml
|
1723
|
+
);
|
1724
|
+
|
1725
|
+
// if enable stripIgnoreTagBody
|
1726
|
+
if (stripIgnoreTagBody) {
|
1727
|
+
retHtml = stripIgnoreTagBody.remove(retHtml);
|
1728
|
+
}
|
1729
|
+
|
1730
|
+
return retHtml;
|
1731
|
+
};
|
1732
|
+
|
1733
|
+
var xss = FilterXSS;
|
1734
|
+
|
1735
|
+
/**
|
1736
|
+
* xss
|
1737
|
+
*
|
1738
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
1739
|
+
*/
|
1740
|
+
|
1741
|
+
(function (module, exports) {
|
1742
|
+
var DEFAULT = _default$1;
|
1743
|
+
var parser = parser$1;
|
1744
|
+
var FilterXSS = xss;
|
1745
|
+
|
1746
|
+
/**
|
1747
|
+
* filter xss function
|
1748
|
+
*
|
1749
|
+
* @param {String} html
|
1750
|
+
* @param {Object} options { whiteList, onTag, onTagAttr, onIgnoreTag, onIgnoreTagAttr, safeAttrValue, escapeHtml }
|
1751
|
+
* @return {String}
|
1752
|
+
*/
|
1753
|
+
function filterXSS(html, options) {
|
1754
|
+
var xss = new FilterXSS(options);
|
1755
|
+
return xss.process(html);
|
1756
|
+
}
|
1757
|
+
|
1758
|
+
exports = module.exports = filterXSS;
|
1759
|
+
exports.filterXSS = filterXSS;
|
1760
|
+
exports.FilterXSS = FilterXSS;
|
1761
|
+
|
1762
|
+
(function () {
|
1763
|
+
for (var i in DEFAULT) {
|
1764
|
+
exports[i] = DEFAULT[i];
|
1765
|
+
}
|
1766
|
+
for (var j in parser) {
|
1767
|
+
exports[j] = parser[j];
|
1768
|
+
}
|
1769
|
+
})();
|
1770
|
+
|
1771
|
+
// using `xss` on the WebWorker, output `filterXSS` to the globals
|
1772
|
+
function isWorkerEnv() {
|
1773
|
+
return (
|
1774
|
+
typeof self !== "undefined" &&
|
1775
|
+
typeof DedicatedWorkerGlobalScope !== "undefined" &&
|
1776
|
+
self instanceof DedicatedWorkerGlobalScope
|
1777
|
+
);
|
1778
|
+
}
|
1779
|
+
if (isWorkerEnv()) {
|
1780
|
+
self.filterXSS = module.exports;
|
1781
|
+
}
|
1782
|
+
} (lib$1, lib$1.exports));
|
1783
|
+
|
84
1784
|
/** @license
|
85
1785
|
* Copyright 2018 Esri
|
86
1786
|
*
|