@esri/solutions-components 0.10.18 → 0.10.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-54ca6b91.js +115 -0
- package/dist/cjs/FloatingArrow-28f6bb91.js +48 -0
- package/dist/cjs/Heading-63b5c82c.js +25 -0
- package/dist/cjs/Validation-9bab9a69.js +20 -0
- package/dist/cjs/app-globals-d2085e28.js +67 -0
- package/dist/cjs/ar-ce94723b.js +106 -0
- package/dist/cjs/array-708fd433.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +15 -7
- package/dist/cjs/bg-8ab5661c.js +84 -0
- package/dist/cjs/browser-2893460e.js +35 -0
- package/dist/cjs/bs-f15b7a3d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/ca-321e7e4f.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-alert_5.cjs.entry.js +55 -27
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +27 -27
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +49 -17
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker-d63d914b.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +23 -17
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal_3.cjs.entry.js +19 -19
- 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 +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +40 -39
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
- package/dist/cjs/card-manager_3.cjs.entry.js +8 -7
- package/dist/cjs/common-eee0c33f.js +38 -0
- package/dist/cjs/component-7f2bd646.js +33 -0
- package/dist/cjs/conditionalSlot-2d2541f4.js +54 -0
- package/dist/cjs/config-7c16c710.js +40 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +71 -32
- package/dist/cjs/cs-66742e3a.js +149 -0
- package/dist/cjs/da-933e7031.js +69 -0
- package/dist/cjs/date-e01a99aa.js +264 -0
- package/dist/cjs/de-87706bda.js +93 -0
- package/dist/cjs/de-at-752f7be1.js +92 -0
- package/dist/cjs/de-ch-41dc3fef.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-3d3a8f25.js +1215 -0
- package/dist/cjs/downloadUtils-5864e6b2.js +3164 -0
- package/dist/cjs/el-23b7e02b.js +68 -0
- package/dist/cjs/en-au-4f9fe083.js +68 -0
- package/dist/cjs/en-ca-afba9508.js +67 -0
- package/dist/cjs/en-gb-78a49c6a.js +71 -0
- package/dist/cjs/es-ea5faae0.js +68 -0
- package/dist/cjs/es-mx-47a5667a.js +67 -0
- package/dist/cjs/et-72505ea1.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +25 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-7b4ac88c.js +117 -0
- package/dist/cjs/filter-a9429bde.js +778 -0
- package/dist/cjs/floating-ui-9ff03df8.js +2373 -0
- package/dist/cjs/focusTrapComponent-86ebd41d.js +1018 -0
- package/dist/cjs/form-8132060d.js +381 -0
- package/dist/cjs/fr-8077e2e8.js +70 -0
- package/dist/cjs/fr-ch-04f427a0.js +68 -0
- package/dist/cjs/guid-42cda8c9.js +26 -0
- package/dist/cjs/he-93b37a58.js +107 -0
- package/dist/cjs/hi-cb320ba3.js +67 -0
- package/dist/cjs/hr-15e455d9.js +82 -0
- package/dist/cjs/hu-10c42dd5.js +90 -0
- package/dist/cjs/id-813844ef.js +68 -0
- package/dist/cjs/index.es-c82ac9f0.js +11318 -0
- package/dist/cjs/input-3efc5a5e.js +60 -0
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
- package/dist/cjs/interactive-3b85d8df.js +167 -0
- package/dist/cjs/it-090375c5.js +68 -0
- package/dist/cjs/it-ch-6cc91215.js +68 -0
- package/dist/cjs/ja-e6697420.js +74 -0
- package/dist/cjs/key-82084ef6.js +19 -0
- package/dist/cjs/ko-522250be.js +74 -0
- package/dist/cjs/label-e7d3c371.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-0e357195.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-351282c5.js +605 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-309df5d9.js +61 -0
- package/dist/cjs/lt-c2f9fd21.js +99 -0
- package/dist/cjs/lv-a1930986.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -6
- package/dist/cjs/math-14740338.js +60 -0
- package/dist/cjs/mk-deb11706.js +68 -0
- package/dist/cjs/nb-3859b631.js +69 -0
- package/dist/cjs/nl-6c2c838d.js +69 -0
- package/dist/cjs/observers-5f9f67ee.js +58 -0
- package/dist/cjs/openCloseComponent-b66f10f5.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-fcb7899e.js +116 -0
- package/dist/cjs/popupUtils-f92ecd7f.js +121 -0
- package/dist/cjs/pt-416d2cf8.js +69 -0
- package/dist/cjs/pt-br-bae3d576.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -5
- package/dist/cjs/purify-0805e9f8.js +1562 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-4446499e.js +39 -0
- package/dist/cjs/resources-4c3e1c50.js +68 -0
- package/dist/cjs/resources-6f65a67f.js +29 -0
- package/dist/cjs/resources-87ed79dd.js +23 -0
- package/dist/cjs/resources-9b04cd8c.js +23 -0
- package/dist/cjs/resources-a1ca0958.js +27 -0
- package/dist/cjs/resources-c5f09989.js +68 -0
- package/dist/cjs/resources-dbc687b5.js +26 -0
- package/dist/cjs/resources-f11e9bd6.js +39 -0
- package/dist/cjs/resources-f8785f51.js +21 -0
- package/dist/cjs/restHelpersGet-5c2245a3.js +991 -0
- package/dist/cjs/ro-bda94f37.js +68 -0
- package/dist/cjs/ru-7258ce51.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-d4b7311f.js +361 -0
- package/dist/cjs/sk-3a398547.js +150 -0
- package/dist/cjs/sl-bfb5a728.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +31 -30
- package/dist/cjs/solution-contents_3.cjs.entry.js +8 -7
- package/dist/cjs/solution-resource-40e70253.js +145 -0
- package/dist/cjs/solution-store-2cd6a8c3.js +1354 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-8684e273.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -3
- package/dist/cjs/sr-58554054.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +5 -4
- package/dist/cjs/sv-335a4402.js +73 -0
- package/dist/cjs/t9n-e41672d2.js +108 -0
- package/dist/cjs/templates-0b7f886f.js +408 -0
- package/dist/cjs/th-14ebad2e.js +67 -0
- package/dist/cjs/time-9a5e2f2d.js +301 -0
- package/dist/cjs/tr-36bcc20f.js +68 -0
- package/dist/cjs/uk-dcff92bd.js +106 -0
- package/dist/cjs/utils-29c97686.js +2304 -0
- package/dist/cjs/utils-edb4e372.js +78 -0
- package/dist/cjs/vi-284fec96.js +72 -0
- package/dist/cjs/zh-cn-1f4ab46b.js +96 -0
- package/dist/cjs/zh-hk-39cf1fdd.js +94 -0
- package/dist/cjs/zh-tw-e0b3117d.js +94 -0
- package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/collection/assets/t9n/create-feature/resources.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/collection/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +11 -1
- package/dist/collection/components/create-feature/create-feature.css +6 -1
- package/dist/collection/components/create-feature/create-feature.js +50 -3
- package/dist/collection/components/create-related-feature/create-related-feature.css +10 -0
- package/dist/collection/components/create-related-feature/create-related-feature.js +35 -3
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +72 -31
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.css +0 -8
- package/dist/collection/components/feature-details/feature-details.js +58 -10
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +29 -10
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- 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 +3 -3
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- 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 +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- 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-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.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-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/crowdsource-reporter.html +24 -25
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/basemap-gallery2.js +10 -1
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-dialog.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +11 -4
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/common.js +1 -0
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/create-feature2.js +47 -5
- package/dist/components/create-related-feature2.js +32 -5
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +73 -33
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/downloadUtils.js +27 -26
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +31 -11
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +20 -8
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +2117 -162
- package/dist/components/index3.js +162 -2117
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +10 -10
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/panel.js +2 -2
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/public-notification.js +2 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +275 -429
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/restHelpersGet.js +16 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +27 -26
- package/dist/components/solution-contents2.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 +2 -1
- package/dist/components/solution-resource.js +1 -1699
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +2 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/store.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/templates.js +1 -0
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils4.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-b5147279.js +108 -0
- package/dist/esm/FloatingArrow-9a505e89.js +46 -0
- package/dist/esm/Heading-cae0b34c.js +22 -0
- package/dist/esm/Validation-bd0a53ec.js +18 -0
- package/dist/esm/app-globals-530c75ff.js +65 -0
- package/dist/esm/ar-e0e64e78.js +104 -0
- package/dist/esm/array-ddb2593b.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +15 -7
- package/dist/esm/bg-d2d8dbe0.js +82 -0
- package/dist/esm/browser-a791205e.js +32 -0
- package/dist/esm/bs-d883901d.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-064729ad.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +9 -9
- package/dist/esm/calcite-accordion.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +15 -15
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +20 -20
- package/dist/esm/calcite-alert_5.entry.js +55 -27
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +27 -27
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel-item.entry.js +2 -2
- package/dist/esm/calcite-carousel.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +15 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +21 -21
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +15 -15
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +50 -18
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker-66e7a9f3.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +23 -17
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal_3.entry.js +19 -19
- 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 +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +40 -39
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +11 -11
- package/dist/esm/card-manager_3.entry.js +8 -7
- package/dist/esm/common-c3bbba83.js +36 -0
- package/dist/esm/component-d35983a4.js +30 -0
- package/dist/esm/conditionalSlot-0cbc7172.js +51 -0
- package/dist/esm/config-8d1c3431.js +36 -0
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +71 -32
- package/dist/esm/cs-3751e560.js +147 -0
- package/dist/esm/da-227f8ad5.js +67 -0
- package/dist/esm/date-87a67cb4.js +248 -0
- package/dist/esm/de-a5d2b25b.js +91 -0
- package/dist/esm/de-at-66232b80.js +90 -0
- package/dist/esm/de-ch-1264ed4c.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-63d2d41c.js +1180 -0
- package/dist/esm/downloadUtils-a065e9cd.js +3157 -0
- package/dist/esm/el-f5bf7ca3.js +66 -0
- package/dist/esm/en-au-2ac8f62e.js +66 -0
- package/dist/esm/en-ca-a1602b49.js +65 -0
- package/dist/esm/en-gb-28354b2e.js +69 -0
- package/dist/esm/es-feb7aad2.js +66 -0
- package/dist/esm/es-mx-5d64f899.js +65 -0
- package/dist/esm/et-173d2f49.js +92 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +25 -12
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-ff9bb719.js +115 -0
- package/dist/esm/filter-6ee02739.js +775 -0
- package/dist/esm/floating-ui-c7ae81d9.js +2365 -0
- package/dist/esm/focusTrapComponent-833b1234.js +1013 -0
- package/dist/esm/form-08e1bcb7.js +372 -0
- package/dist/esm/fr-ch-491f1abe.js +66 -0
- package/dist/esm/fr-e3af6835.js +68 -0
- package/dist/esm/guid-42656051.js +24 -0
- package/dist/esm/he-47aa8dde.js +105 -0
- package/dist/esm/hi-1700df3e.js +65 -0
- package/dist/esm/hr-68b828f5.js +80 -0
- package/dist/esm/hu-df6a8f29.js +88 -0
- package/dist/esm/id-8091582d.js +66 -0
- package/dist/esm/index.es-4b7e52e4.js +11231 -0
- package/dist/esm/input-7f3fc18b.js +58 -0
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +9 -9
- package/dist/esm/interactive-b2a41b8b.js +162 -0
- package/dist/esm/it-1f5e149d.js +66 -0
- package/dist/esm/it-ch-bf7fcac6.js +66 -0
- package/dist/esm/ja-a5117166.js +72 -0
- package/dist/esm/key-d6dfb50e.js +16 -0
- package/dist/esm/ko-9d7a9e79.js +72 -0
- package/dist/esm/label-4c4e06d6.js +179 -0
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-1a9b14b8.js +93 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-4441c976.js +591 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-3188b9c3.js +59 -0
- package/dist/esm/lt-2e1c53de.js +97 -0
- package/dist/esm/lv-ca1ba866.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +7 -6
- package/dist/esm/math-9afe1f6d.js +54 -0
- package/dist/esm/mk-421d0d41.js +66 -0
- package/dist/esm/nb-5b103e32.js +67 -0
- package/dist/esm/nl-eac33461.js +67 -0
- package/dist/esm/observers-6cac5525.js +56 -0
- package/dist/esm/openCloseComponent-c8c8645b.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-03531ccb.js +114 -0
- package/dist/esm/popupUtils-07732cb9.js +119 -0
- package/dist/esm/pt-b5d8bffc.js +67 -0
- package/dist/esm/pt-br-dee45728.js +65 -0
- package/dist/esm/public-notification.entry.js +6 -5
- package/dist/esm/purify-cb56797a.js +1560 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-119ae117.js +23 -0
- package/dist/esm/resources-244d70ca.js +22 -0
- package/dist/esm/resources-3f56d4e7.js +19 -0
- package/dist/esm/resources-57625076.js +63 -0
- package/dist/esm/resources-5b213c89.js +35 -0
- package/dist/esm/resources-61eab899.js +20 -0
- package/dist/esm/resources-745dec87.js +34 -0
- package/dist/esm/resources-9494c015.js +21 -0
- package/dist/esm/resources-d6566b8a.js +62 -0
- package/dist/esm/resources-d7e0fbbf.js +24 -0
- package/dist/esm/restHelpersGet-48113381.js +976 -0
- package/dist/esm/ro-df6cb584.js +66 -0
- package/dist/esm/ru-e7c02faa.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-cadae2eb.js +339 -0
- package/dist/esm/sk-cae387d2.js +148 -0
- package/dist/esm/sl-2892ad87.js +168 -0
- package/dist/esm/solution-configuration.entry.js +31 -30
- package/dist/esm/solution-contents_3.entry.js +8 -7
- package/dist/esm/solution-resource-f5809979.js +142 -0
- package/dist/esm/solution-store-ca4d55de.js +1352 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/sortableComponent-52b99f0f.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +4 -3
- package/dist/esm/sr-11e6839f.js +101 -0
- package/dist/esm/store-manager.entry.js +5 -4
- package/dist/esm/sv-fd5c6ca5.js +71 -0
- package/dist/esm/t9n-b7ea1a61.js +103 -0
- package/dist/esm/templates-0b442208.js +402 -0
- package/dist/esm/th-170cf6b1.js +65 -0
- package/dist/esm/time-a7f1020b.js +286 -0
- package/dist/esm/tr-1d6ca382.js +66 -0
- package/dist/esm/uk-35eec84e.js +104 -0
- package/dist/esm/utils-62514064.js +65 -0
- package/dist/esm/utils-d2524a35.js +2274 -0
- package/dist/esm/vi-2713ee26.js +70 -0
- package/dist/esm/zh-cn-ed066014.js +94 -0
- package/dist/esm/zh-hk-a118dced.js +92 -0
- package/dist/esm/zh-tw-c9bbf220.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +24 -25
- package/dist/solutions-components/p-01588d2c.js +61 -0
- package/dist/solutions-components/p-01bdd59d.entry.js +6 -0
- package/dist/solutions-components/p-01dae909.js +6 -0
- package/dist/solutions-components/p-02ea30d1.entry.js +11 -0
- package/dist/solutions-components/p-040b6e44.entry.js +6 -0
- package/dist/solutions-components/p-04294b8e.js +6 -0
- package/dist/solutions-components/p-062e5705.entry.js +6 -0
- package/dist/solutions-components/p-062f4457.js +6 -0
- package/dist/solutions-components/p-07d30a6b.entry.js +11 -0
- package/dist/solutions-components/p-08d1cc1f.js +11 -0
- package/dist/solutions-components/p-0a165419.js +18 -0
- package/dist/solutions-components/p-0b6e5486.js +6 -0
- package/dist/solutions-components/p-0d6b3f44.js +6 -0
- package/dist/solutions-components/p-0dc73313.js +6 -0
- package/dist/solutions-components/p-0e851a4b.js +6 -0
- package/dist/solutions-components/p-0ef9d36b.js +11 -0
- package/dist/solutions-components/p-1017609e.js +11 -0
- package/dist/solutions-components/p-14f027b5.js +11 -0
- package/dist/solutions-components/p-150394be.js +11 -0
- package/dist/solutions-components/p-16a3f7ca.entry.js +6 -0
- package/dist/solutions-components/p-16b24981.entry.js +11 -0
- package/dist/solutions-components/p-19b466d0.js +6 -0
- package/dist/solutions-components/p-1a06bf01.js +6 -0
- package/dist/solutions-components/p-1b0fe5b1.entry.js +6 -0
- package/dist/solutions-components/p-1b229454.js +11 -0
- package/dist/solutions-components/p-1c249530.js +11 -0
- package/dist/solutions-components/p-1ce2608d.js +12 -0
- package/dist/solutions-components/p-1ef6a1c2.entry.js +6 -0
- package/dist/solutions-components/p-2007eaa4.entry.js +6 -0
- package/dist/solutions-components/p-222e0445.entry.js +11 -0
- package/dist/solutions-components/p-2230d4cc.js +11 -0
- package/dist/solutions-components/p-2264e8d5.entry.js +11 -0
- package/dist/solutions-components/p-23ce9afa.entry.js +11 -0
- package/dist/solutions-components/p-23dd68de.entry.js +17 -0
- package/dist/solutions-components/p-245c35ce.js +6 -0
- package/dist/solutions-components/p-24a813a4.entry.js +6 -0
- package/dist/solutions-components/p-25b5ffea.js +6 -0
- package/dist/solutions-components/p-267ef1b8.entry.js +11 -0
- package/dist/solutions-components/p-270ead49.js +16 -0
- package/dist/solutions-components/p-27d462c0.js +11 -0
- package/dist/solutions-components/p-2868a42b.js +11 -0
- package/dist/solutions-components/p-29a09798.js +17 -0
- package/dist/solutions-components/p-2a53ba0d.js +489 -0
- package/dist/solutions-components/p-2aa44a02.entry.js +11 -0
- package/dist/solutions-components/p-2d17790c.js +6 -0
- package/dist/solutions-components/p-2e06ec97.js +6 -0
- package/dist/solutions-components/p-304cef31.js +16 -0
- package/dist/solutions-components/p-33db098c.js +6 -0
- package/dist/solutions-components/p-347d9ce0.js +6 -0
- package/dist/solutions-components/p-36e59391.js +143 -0
- package/dist/solutions-components/p-3792492a.js +11 -0
- package/dist/solutions-components/p-38a87c63.js +11 -0
- package/dist/solutions-components/p-39ca5896.entry.js +6 -0
- package/dist/solutions-components/p-3a47fde6.entry.js +11 -0
- package/dist/solutions-components/p-3c1ecf85.entry.js +29 -0
- package/dist/solutions-components/p-3c89bfe5.entry.js +6 -0
- package/dist/solutions-components/p-3e828614.js +11 -0
- package/dist/solutions-components/p-40175313.entry.js +11 -0
- package/dist/solutions-components/p-40f5df15.entry.js +11 -0
- package/dist/solutions-components/p-42cd083f.entry.js +20 -0
- package/dist/solutions-components/p-47a0be20.js +11 -0
- package/dist/solutions-components/p-4920ee12.js +11 -0
- package/dist/solutions-components/p-49bbe45e.js +6 -0
- package/dist/solutions-components/p-4b9b7778.js +11 -0
- package/dist/solutions-components/p-4c179300.entry.js +11 -0
- package/dist/solutions-components/p-4e7aa926.js +6 -0
- package/dist/solutions-components/p-4fe5e9c3.entry.js +22 -0
- package/dist/solutions-components/p-508b2b7b.js +6 -0
- package/dist/solutions-components/p-52f19286.entry.js +11 -0
- package/dist/solutions-components/p-53b5a39e.js +6 -0
- package/dist/solutions-components/p-5440c8dd.js +6 -0
- package/dist/solutions-components/p-54a9017c.entry.js +11 -0
- package/dist/solutions-components/p-54b7e680.js +6 -0
- package/dist/solutions-components/p-550da58b.js +6 -0
- package/dist/solutions-components/p-5612aa0c.entry.js +6 -0
- package/dist/solutions-components/p-57025491.entry.js +6 -0
- package/dist/solutions-components/p-5a3cab12.entry.js +17 -0
- package/dist/solutions-components/p-5de67b86.js +11 -0
- package/dist/solutions-components/p-5e71e72a.js +21 -0
- package/dist/solutions-components/p-5f705984.js +6 -0
- package/dist/solutions-components/p-5f7c1e49.js +6 -0
- package/dist/solutions-components/p-6147cfb4.entry.js +6 -0
- package/dist/solutions-components/p-6319ca20.js +6 -0
- package/dist/solutions-components/p-64a34d92.js +11 -0
- package/dist/solutions-components/p-64bf4d2e.entry.js +11 -0
- package/dist/solutions-components/p-66afdfdd.entry.js +17 -0
- package/dist/solutions-components/p-66b01781.js +11 -0
- package/dist/solutions-components/p-67c34d05.entry.js +16 -0
- package/dist/solutions-components/p-6b0fa1eb.entry.js +17 -0
- package/dist/solutions-components/p-6c080ac7.entry.js +11 -0
- package/dist/solutions-components/p-707ee1d1.entry.js +11 -0
- package/dist/solutions-components/p-712873f0.js +6 -0
- package/dist/solutions-components/p-732bb88c.entry.js +6 -0
- package/dist/solutions-components/p-744d9575.js +11 -0
- package/dist/solutions-components/p-7586e1de.entry.js +6 -0
- package/dist/solutions-components/p-770a0e12.js +6 -0
- package/dist/solutions-components/p-793f1b14.entry.js +11 -0
- package/dist/solutions-components/p-798b9928.entry.js +11 -0
- package/dist/solutions-components/p-79f5a8be.js +11 -0
- package/dist/solutions-components/p-79f78acc.entry.js +11 -0
- package/dist/solutions-components/p-7ae41cd8.js +6 -0
- package/dist/solutions-components/p-7b2ef872.entry.js +11 -0
- package/dist/solutions-components/p-7c854814.js +11 -0
- package/dist/solutions-components/p-7fce703f.entry.js +12 -0
- package/dist/solutions-components/p-80f49acc.js +6 -0
- package/dist/solutions-components/p-8537518d.entry.js +11 -0
- package/dist/solutions-components/p-8614d1a0.entry.js +11 -0
- package/dist/solutions-components/p-87f928a5.entry.js +17 -0
- package/dist/solutions-components/p-8bb2c169.js +11 -0
- package/dist/solutions-components/p-8bce991a.js +11 -0
- package/dist/solutions-components/p-8bfa18b7.js +11 -0
- package/dist/solutions-components/p-8c6a301f.entry.js +47 -0
- package/dist/solutions-components/p-8da5aeea.entry.js +11 -0
- package/dist/solutions-components/p-8fb06a85.entry.js +11 -0
- package/dist/solutions-components/p-919e9de7.entry.js +11 -0
- package/dist/solutions-components/p-91b7a7dc.entry.js +11 -0
- package/dist/solutions-components/p-924ec704.js +6 -0
- package/dist/solutions-components/p-9277a339.entry.js +22 -0
- package/dist/solutions-components/p-92ba99ff.js +6 -0
- package/dist/solutions-components/p-936037e4.js +6 -0
- package/dist/solutions-components/p-9384cc65.entry.js +11 -0
- package/dist/solutions-components/p-94ae78d6.js +6 -0
- package/dist/solutions-components/p-9524e5e4.js +6 -0
- package/dist/solutions-components/p-9560a1fd.entry.js +6 -0
- package/dist/solutions-components/p-95c3b305.entry.js +12 -0
- package/dist/solutions-components/p-986ff43b.entry.js +17 -0
- package/dist/solutions-components/p-990d8b4b.js +6 -0
- package/dist/solutions-components/p-996daf05.entry.js +6 -0
- package/dist/solutions-components/p-9bb44f57.js +65 -0
- package/dist/solutions-components/p-9bc84681.js +6 -0
- package/dist/solutions-components/p-9c5f4347.js +6 -0
- package/dist/solutions-components/p-9db30b19.entry.js +6 -0
- package/dist/solutions-components/p-9fa7a7ad.entry.js +6 -0
- package/dist/solutions-components/p-a37d1b17.entry.js +6 -0
- package/dist/solutions-components/p-a471ceb6.js +11 -0
- package/dist/solutions-components/p-a4e35c2d.entry.js +6 -0
- package/dist/solutions-components/p-a5e64f6b.entry.js +6 -0
- package/dist/solutions-components/p-a79f4c52.entry.js +12 -0
- package/dist/solutions-components/p-a8b42e35.entry.js +6 -0
- package/dist/solutions-components/p-aa341d46.entry.js +11 -0
- package/dist/solutions-components/p-aa68a36e.entry.js +11 -0
- package/dist/solutions-components/p-aa85b136.entry.js +6 -0
- package/dist/solutions-components/p-aaa56cbf.js +11 -0
- package/dist/solutions-components/p-abd1cb78.js +21 -0
- package/dist/solutions-components/p-ac11cf8f.entry.js +11 -0
- package/dist/solutions-components/p-aef41a6d.entry.js +11 -0
- package/dist/solutions-components/p-b3e8da19.entry.js +11 -0
- package/dist/solutions-components/p-b5575639.js +11 -0
- package/dist/solutions-components/p-b5b66530.js +11 -0
- package/dist/solutions-components/p-b75c4db2.entry.js +6 -0
- package/dist/solutions-components/p-b76ed1c7.entry.js +11 -0
- package/dist/solutions-components/p-b8b78283.entry.js +29 -0
- package/dist/solutions-components/p-b8ce880d.js +6 -0
- package/dist/solutions-components/p-b8f33145.js +6 -0
- package/dist/solutions-components/p-bae65813.entry.js +6 -0
- package/dist/solutions-components/p-bb0f549a.js +6 -0
- package/dist/solutions-components/p-bc6cf10f.entry.js +11 -0
- package/dist/solutions-components/p-c0d25be5.entry.js +21 -0
- package/dist/solutions-components/p-c151da98.entry.js +11 -0
- package/dist/solutions-components/p-c163b67f.js +6 -0
- package/dist/solutions-components/p-c1fa5dae.entry.js +11 -0
- package/dist/solutions-components/p-c25e8c35.js +17 -0
- package/dist/solutions-components/p-c40b0ec5.js +16 -0
- package/dist/solutions-components/p-c4953b5e.entry.js +11 -0
- package/dist/solutions-components/p-c5facecd.entry.js +6 -0
- package/dist/solutions-components/p-c6255e3c.entry.js +6 -0
- package/dist/solutions-components/p-c7eaade6.entry.js +11 -0
- package/dist/solutions-components/p-ca6055a3.js +6 -0
- package/dist/solutions-components/p-cadbe907.entry.js +11 -0
- package/dist/solutions-components/p-cb07016a.entry.js +11 -0
- package/dist/solutions-components/p-cd6eee11.js +6 -0
- package/dist/solutions-components/p-cf9e6515.entry.js +11 -0
- package/dist/solutions-components/p-d0d020a5.js +37 -0
- package/dist/solutions-components/p-d1cc620f.entry.js +11 -0
- package/dist/solutions-components/p-d36878db.js +11 -0
- package/dist/solutions-components/p-d47abf9b.entry.js +16 -0
- package/dist/solutions-components/p-d75ef009.entry.js +11 -0
- package/dist/solutions-components/p-d784f756.entry.js +23 -0
- package/dist/solutions-components/p-d9e930c8.js +11 -0
- package/dist/solutions-components/p-da80cfbc.entry.js +11 -0
- package/dist/solutions-components/p-dcef5e1a.entry.js +6 -0
- package/dist/solutions-components/p-de3ee7a6.entry.js +17 -0
- package/dist/solutions-components/p-de8121a4.js +6 -0
- package/dist/solutions-components/p-dfeb6a2e.entry.js +11 -0
- package/dist/solutions-components/p-e0ee0556.entry.js +11 -0
- package/dist/solutions-components/p-e378184f.entry.js +6 -0
- package/dist/solutions-components/p-e3fe81ae.js +7 -0
- package/dist/solutions-components/p-e4ef6f49.js +6 -0
- package/dist/solutions-components/p-e74bc7b3.js +6 -0
- package/dist/solutions-components/p-e9d3365f.js +22 -0
- package/dist/solutions-components/p-eb2859d6.js +6 -0
- package/dist/solutions-components/p-ec8f8ff9.entry.js +17 -0
- package/dist/solutions-components/p-ee9b7fab.js +6 -0
- package/dist/solutions-components/p-ef67c743.js +11 -0
- package/dist/solutions-components/p-f222a84e.entry.js +6 -0
- package/dist/solutions-components/p-f3166d51.entry.js +6 -0
- package/dist/solutions-components/p-f550ebc1.entry.js +6 -0
- package/dist/solutions-components/p-f6c3501c.js +16 -0
- package/dist/solutions-components/p-f6f2018a.js +11 -0
- package/dist/solutions-components/p-f7bc99fb.entry.js +17 -0
- package/dist/solutions-components/p-f88c3477.entry.js +6 -0
- package/dist/solutions-components/p-f8d23498.js +11 -0
- package/dist/solutions-components/p-fa56b7c2.js +11 -0
- package/dist/solutions-components/p-fa68f43a.entry.js +6 -0
- package/dist/solutions-components/p-fb3e0eae.js +6 -0
- package/dist/solutions-components/p-fcd33b4f.js +6 -0
- package/dist/solutions-components/p-fedbf657.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +1 -0
- package/dist/types/components/create-feature/create-feature.d.ts +20 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +19 -3
- package/dist/types/components/feature-details/feature-details.d.ts +8 -0
- package/dist/types/components/feature-list/feature-list.d.ts +3 -1
- package/dist/types/components/layer-table/layer-table.d.ts +1 -1
- package/dist/types/components.d.ts +28 -1
- package/dist/types/preact.d.ts +3 -1
- package/package.json +8 -7
- package/dist/cjs/ExpandToggle-63855ea7.js +0 -115
- package/dist/cjs/FloatingArrow-4afc0a27.js +0 -48
- package/dist/cjs/Heading-f01dc40c.js +0 -25
- package/dist/cjs/Validation-c52e0b30.js +0 -20
- package/dist/cjs/app-globals-587d5fc5.js +0 -67
- package/dist/cjs/ar-406e323c.js +0 -106
- package/dist/cjs/array-7ee883b3.js +0 -17
- package/dist/cjs/bg-56abe1a2.js +0 -84
- package/dist/cjs/browser-e9eb8b2e.js +0 -35
- package/dist/cjs/bs-43ed4dcb.js +0 -53
- package/dist/cjs/ca-ad58f302.js +0 -73
- package/dist/cjs/calcite-input-time-picker-83bcd60f.js +0 -1861
- package/dist/cjs/common-4d4cf291.js +0 -37
- package/dist/cjs/component-ab59efe0.js +0 -33
- package/dist/cjs/conditionalSlot-e7b1e80b.js +0 -54
- package/dist/cjs/config-90915d7e.js +0 -40
- package/dist/cjs/cs-eef992e9.js +0 -149
- package/dist/cjs/da-4957191f.js +0 -69
- package/dist/cjs/date-09eabd7c.js +0 -264
- package/dist/cjs/de-64947d33.js +0 -93
- package/dist/cjs/de-at-976bd625.js +0 -92
- package/dist/cjs/de-ch-9c2f85be.js +0 -92
- package/dist/cjs/dom-5fd0c11a.js +0 -1215
- package/dist/cjs/downloadUtils-b1bc6031.js +0 -3163
- package/dist/cjs/el-17064e96.js +0 -68
- package/dist/cjs/en-au-bf34aa99.js +0 -68
- package/dist/cjs/en-ca-20b7aeab.js +0 -67
- package/dist/cjs/en-gb-72ebc333.js +0 -71
- package/dist/cjs/es-996df974.js +0 -68
- package/dist/cjs/es-mx-cf34d408.js +0 -67
- package/dist/cjs/et-fe1aba97.js +0 -94
- package/dist/cjs/fi-154d8730.js +0 -117
- package/dist/cjs/filter-1906ce7b.js +0 -778
- package/dist/cjs/floating-ui-b477f602.js +0 -2373
- package/dist/cjs/focusTrapComponent-01de8e72.js +0 -1018
- package/dist/cjs/form-fba99326.js +0 -381
- package/dist/cjs/fr-21a56733.js +0 -70
- package/dist/cjs/fr-ch-66f7a5c9.js +0 -68
- package/dist/cjs/guid-81a8c49f.js +0 -26
- package/dist/cjs/he-249d58b9.js +0 -107
- package/dist/cjs/hi-7015dbc4.js +0 -67
- package/dist/cjs/hr-e57553fd.js +0 -82
- package/dist/cjs/hu-e0a32fbd.js +0 -90
- package/dist/cjs/id-6eeb6f33.js +0 -68
- package/dist/cjs/index.es-5ad1b7be.js +0 -11317
- package/dist/cjs/input-cb7565cc.js +0 -60
- package/dist/cjs/interactive-d349d0f0.js +0 -167
- package/dist/cjs/it-21b9179c.js +0 -68
- package/dist/cjs/it-ch-ed862b1c.js +0 -68
- package/dist/cjs/ja-a5d93dac.js +0 -74
- package/dist/cjs/key-a0f7c4f3.js +0 -19
- package/dist/cjs/ko-1913cf25.js +0 -74
- package/dist/cjs/label-dc906a73.js +0 -186
- package/dist/cjs/loadable-d9a2a731.js +0 -98
- package/dist/cjs/locale-4d172288.js +0 -605
- package/dist/cjs/logger-dc99f85b.js +0 -61
- package/dist/cjs/lt-aeec2286.js +0 -99
- package/dist/cjs/lv-9055202a.js +0 -68
- package/dist/cjs/math-8d9588b6.js +0 -60
- package/dist/cjs/mk-98948b48.js +0 -68
- package/dist/cjs/nb-d88ea8dc.js +0 -69
- package/dist/cjs/nl-a8df29cd.js +0 -69
- package/dist/cjs/observers-b83abbfc.js +0 -58
- package/dist/cjs/openCloseComponent-a2a2a773.js +0 -65
- package/dist/cjs/pl-0c9cc2cf.js +0 -116
- package/dist/cjs/popupUtils-948e8990.js +0 -121
- package/dist/cjs/pt-5d70043e.js +0 -69
- package/dist/cjs/pt-br-fed6323a.js +0 -67
- package/dist/cjs/purify-17c0fc4a.js +0 -1716
- package/dist/cjs/resources-03698411.js +0 -39
- package/dist/cjs/resources-085b5a9c.js +0 -23
- package/dist/cjs/resources-08ceff44.js +0 -21
- package/dist/cjs/resources-32b7c652.js +0 -23
- package/dist/cjs/resources-3e7e7fb7.js +0 -26
- package/dist/cjs/resources-44438f5c.js +0 -68
- package/dist/cjs/resources-b4193681.js +0 -27
- package/dist/cjs/resources-bcc3f2b2.js +0 -68
- package/dist/cjs/resources-e3a7e2f5.js +0 -29
- package/dist/cjs/resources-e5bab826.js +0 -39
- package/dist/cjs/restHelpersGet-88ba0e25.js +0 -975
- package/dist/cjs/ro-021065c9.js +0 -68
- package/dist/cjs/ru-9ec3c8de.js +0 -128
- package/dist/cjs/shared-list-render-79567fc0.js +0 -361
- package/dist/cjs/sk-09cbe5ba.js +0 -150
- package/dist/cjs/sl-3a4381a4.js +0 -170
- package/dist/cjs/solution-resource-16c7510c.js +0 -1843
- package/dist/cjs/solution-store-1218246d.js +0 -1353
- package/dist/cjs/sortableComponent-abdb9e28.js +0 -2748
- package/dist/cjs/sr-c18bc63a.js +0 -103
- package/dist/cjs/sv-e721be29.js +0 -73
- package/dist/cjs/t9n-c8d7a2ec.js +0 -108
- package/dist/cjs/templates-2f44c01b.js +0 -407
- package/dist/cjs/th-baa740bc.js +0 -67
- package/dist/cjs/time-087f0346.js +0 -301
- package/dist/cjs/tr-c0b17a53.js +0 -68
- package/dist/cjs/uk-68a75a5a.js +0 -106
- package/dist/cjs/utils-8f400dfd.js +0 -78
- package/dist/cjs/utils-9a063f23.js +0 -2304
- package/dist/cjs/vi-bf3bf360.js +0 -72
- package/dist/cjs/zh-cn-f36908e8.js +0 -96
- package/dist/cjs/zh-hk-79863fdd.js +0 -94
- package/dist/cjs/zh-tw-eb1f3b17.js +0 -94
- package/dist/esm/ExpandToggle-f909e195.js +0 -108
- package/dist/esm/FloatingArrow-4dbed45e.js +0 -46
- package/dist/esm/Heading-19e46a14.js +0 -22
- package/dist/esm/Validation-0b8675a8.js +0 -18
- package/dist/esm/app-globals-0fc0d343.js +0 -65
- package/dist/esm/ar-2b7701c9.js +0 -104
- package/dist/esm/array-0d5d845c.js +0 -15
- package/dist/esm/bg-cfd918d6.js +0 -82
- package/dist/esm/browser-d0009bfe.js +0 -32
- package/dist/esm/bs-6e26541f.js +0 -51
- package/dist/esm/ca-3edf7b06.js +0 -71
- package/dist/esm/calcite-input-time-picker-c5ee10a4.js +0 -1858
- package/dist/esm/common-3b99e350.js +0 -35
- package/dist/esm/component-0f26d27a.js +0 -30
- package/dist/esm/conditionalSlot-56fa9723.js +0 -51
- package/dist/esm/config-e0237f7c.js +0 -36
- package/dist/esm/cs-93a3355b.js +0 -147
- package/dist/esm/da-f4d05bf2.js +0 -67
- package/dist/esm/date-dd3d9d2f.js +0 -248
- package/dist/esm/de-04f477b6.js +0 -91
- package/dist/esm/de-at-1b4e56b9.js +0 -90
- package/dist/esm/de-ch-59c96703.js +0 -90
- package/dist/esm/dom-9e8610a2.js +0 -1180
- package/dist/esm/downloadUtils-ee2d6a99.js +0 -3156
- package/dist/esm/el-134dd039.js +0 -66
- package/dist/esm/en-au-ec33ef70.js +0 -66
- package/dist/esm/en-ca-ab1fbea4.js +0 -65
- package/dist/esm/en-gb-ceb65f79.js +0 -69
- package/dist/esm/es-e023cfc8.js +0 -66
- package/dist/esm/es-mx-e0a5ee8c.js +0 -65
- package/dist/esm/et-572b1e56.js +0 -92
- package/dist/esm/fi-f13fae4c.js +0 -115
- package/dist/esm/filter-3c649b00.js +0 -775
- package/dist/esm/floating-ui-9d9558a6.js +0 -2365
- package/dist/esm/focusTrapComponent-a9be9a5f.js +0 -1013
- package/dist/esm/form-a992bc7e.js +0 -372
- package/dist/esm/fr-ch-a1f8ebbf.js +0 -66
- package/dist/esm/fr-e9b456c3.js +0 -68
- package/dist/esm/guid-52aae62c.js +0 -24
- package/dist/esm/he-dfaa7ea1.js +0 -105
- package/dist/esm/hi-efa0d8e7.js +0 -65
- package/dist/esm/hr-7c04c969.js +0 -80
- package/dist/esm/hu-fc6efaba.js +0 -88
- package/dist/esm/id-2d884294.js +0 -66
- package/dist/esm/index.es-6d52a4cf.js +0 -11230
- package/dist/esm/input-b18c3393.js +0 -58
- package/dist/esm/interactive-353bf495.js +0 -162
- package/dist/esm/it-913dabbb.js +0 -66
- package/dist/esm/it-ch-d4c2b23e.js +0 -66
- package/dist/esm/ja-b6c332b1.js +0 -72
- package/dist/esm/key-a9ffa61d.js +0 -16
- package/dist/esm/ko-b220c903.js +0 -72
- package/dist/esm/label-026b99b7.js +0 -179
- package/dist/esm/loadable-4841127f.js +0 -93
- package/dist/esm/locale-8a2aae09.js +0 -591
- package/dist/esm/logger-29d1dc0e.js +0 -59
- package/dist/esm/lt-e97a19a7.js +0 -97
- package/dist/esm/lv-c4e1d066.js +0 -66
- package/dist/esm/math-dd484f87.js +0 -54
- package/dist/esm/mk-fec9b21d.js +0 -66
- package/dist/esm/nb-28189f31.js +0 -67
- package/dist/esm/nl-194a064e.js +0 -67
- package/dist/esm/observers-3af27a40.js +0 -56
- package/dist/esm/openCloseComponent-00e6186d.js +0 -63
- package/dist/esm/pl-c0a7eacf.js +0 -114
- package/dist/esm/popupUtils-75294be5.js +0 -119
- package/dist/esm/pt-48180eaa.js +0 -67
- package/dist/esm/pt-br-e378640f.js +0 -65
- package/dist/esm/purify-72515357.js +0 -1714
- package/dist/esm/resources-0b9430f0.js +0 -21
- package/dist/esm/resources-2117aee0.js +0 -63
- package/dist/esm/resources-29504413.js +0 -34
- package/dist/esm/resources-37d6b520.js +0 -35
- package/dist/esm/resources-75518fcf.js +0 -23
- package/dist/esm/resources-8e7f2865.js +0 -22
- package/dist/esm/resources-8fe9ef4a.js +0 -20
- package/dist/esm/resources-966e32ad.js +0 -62
- package/dist/esm/resources-a1cc283e.js +0 -24
- package/dist/esm/resources-f4406546.js +0 -19
- package/dist/esm/restHelpersGet-788d7f7b.js +0 -960
- package/dist/esm/ro-a116f43c.js +0 -66
- package/dist/esm/ru-53b48473.js +0 -126
- package/dist/esm/shared-list-render-7df95a79.js +0 -339
- package/dist/esm/sk-6e16e781.js +0 -148
- package/dist/esm/sl-0b5a108a.js +0 -168
- package/dist/esm/solution-resource-966f8511.js +0 -1840
- package/dist/esm/solution-store-61fd39ea.js +0 -1351
- package/dist/esm/sortableComponent-fc3d2fcf.js +0 -2745
- package/dist/esm/sr-c91ad375.js +0 -101
- package/dist/esm/sv-99a8436f.js +0 -71
- package/dist/esm/t9n-d5539b3a.js +0 -103
- package/dist/esm/templates-9330d7b8.js +0 -401
- package/dist/esm/th-f448c101.js +0 -65
- package/dist/esm/time-8f4af53a.js +0 -286
- package/dist/esm/tr-1c4d126e.js +0 -66
- package/dist/esm/uk-afcd7307.js +0 -104
- package/dist/esm/utils-057404c5.js +0 -2274
- package/dist/esm/utils-6391b35c.js +0 -65
- package/dist/esm/vi-13e0626d.js +0 -70
- package/dist/esm/zh-cn-80512388.js +0 -94
- package/dist/esm/zh-hk-220c6f50.js +0 -92
- package/dist/esm/zh-tw-f9a73c0d.js +0 -92
- package/dist/solutions-components/p-0129abe8.entry.js +0 -11
- package/dist/solutions-components/p-0238f68c.js +0 -6
- package/dist/solutions-components/p-034291c9.entry.js +0 -11
- package/dist/solutions-components/p-042c0134.entry.js +0 -11
- package/dist/solutions-components/p-052d1165.js +0 -11
- package/dist/solutions-components/p-0558fbc7.js +0 -143
- package/dist/solutions-components/p-06c581b3.js +0 -6
- package/dist/solutions-components/p-071a80fb.js +0 -11
- package/dist/solutions-components/p-0ac3d6fb.js +0 -6
- package/dist/solutions-components/p-0afbf455.js +0 -11
- package/dist/solutions-components/p-0b0d30a9.entry.js +0 -11
- package/dist/solutions-components/p-0c8cf779.js +0 -6
- package/dist/solutions-components/p-0cdda3a9.js +0 -6
- package/dist/solutions-components/p-10a4512a.entry.js +0 -6
- package/dist/solutions-components/p-11149179.js +0 -6
- package/dist/solutions-components/p-111ff298.entry.js +0 -29
- package/dist/solutions-components/p-131ca2b1.js +0 -11
- package/dist/solutions-components/p-13ac2814.js +0 -6
- package/dist/solutions-components/p-14ac7f32.js +0 -17
- package/dist/solutions-components/p-15105f4c.js +0 -6
- package/dist/solutions-components/p-15cbdc2c.entry.js +0 -6
- package/dist/solutions-components/p-16af273f.entry.js +0 -6
- package/dist/solutions-components/p-17f35552.entry.js +0 -6
- package/dist/solutions-components/p-1803e66b.entry.js +0 -21
- package/dist/solutions-components/p-18103eee.entry.js +0 -11
- package/dist/solutions-components/p-190de825.js +0 -6
- package/dist/solutions-components/p-19879c48.entry.js +0 -6
- package/dist/solutions-components/p-1b147794.js +0 -11
- package/dist/solutions-components/p-1c45b737.entry.js +0 -6
- package/dist/solutions-components/p-1fcd444d.entry.js +0 -6
- package/dist/solutions-components/p-23c70a46.entry.js +0 -17
- package/dist/solutions-components/p-2483d087.entry.js +0 -11
- package/dist/solutions-components/p-26ccfcc6.entry.js +0 -6
- package/dist/solutions-components/p-27bc7520.js +0 -6
- package/dist/solutions-components/p-27eca753.js +0 -6
- package/dist/solutions-components/p-2866ef30.js +0 -11
- package/dist/solutions-components/p-288599db.entry.js +0 -16
- package/dist/solutions-components/p-28b4de12.js +0 -6
- package/dist/solutions-components/p-29a24832.entry.js +0 -6
- package/dist/solutions-components/p-2c7a600b.js +0 -6
- package/dist/solutions-components/p-2cff27c5.js +0 -22
- package/dist/solutions-components/p-2df01fbd.js +0 -6
- package/dist/solutions-components/p-30448906.entry.js +0 -6
- package/dist/solutions-components/p-32539121.js +0 -16
- package/dist/solutions-components/p-32b1bb0a.entry.js +0 -11
- package/dist/solutions-components/p-33601437.js +0 -6
- package/dist/solutions-components/p-351b4ea6.js +0 -61
- package/dist/solutions-components/p-363c89e1.js +0 -6
- package/dist/solutions-components/p-3795ce25.js +0 -18
- package/dist/solutions-components/p-3832f6b0.js +0 -11
- package/dist/solutions-components/p-38346d75.js +0 -6
- package/dist/solutions-components/p-39bc5b60.js +0 -6
- package/dist/solutions-components/p-3a4f0ef6.js +0 -6
- package/dist/solutions-components/p-3a839252.entry.js +0 -6
- package/dist/solutions-components/p-3ab1d999.js +0 -6
- package/dist/solutions-components/p-3ae3fb2d.entry.js +0 -6
- package/dist/solutions-components/p-3edf491f.js +0 -11
- package/dist/solutions-components/p-3f23fa58.js +0 -6
- package/dist/solutions-components/p-4115fcd2.entry.js +0 -6
- package/dist/solutions-components/p-416c0818.js +0 -11
- package/dist/solutions-components/p-42903dc4.entry.js +0 -11
- package/dist/solutions-components/p-432d7aac.entry.js +0 -11
- package/dist/solutions-components/p-443bb48a.js +0 -6
- package/dist/solutions-components/p-44b455ac.js +0 -21
- package/dist/solutions-components/p-461d72a9.entry.js +0 -11
- package/dist/solutions-components/p-4a5f4c12.js +0 -6
- package/dist/solutions-components/p-4a8da1a3.entry.js +0 -6
- package/dist/solutions-components/p-4dd4e1f5.js +0 -11
- package/dist/solutions-components/p-4e44d681.entry.js +0 -6
- package/dist/solutions-components/p-4ebde78c.entry.js +0 -6
- package/dist/solutions-components/p-517bc39b.entry.js +0 -6
- package/dist/solutions-components/p-51b004f6.js +0 -11
- package/dist/solutions-components/p-51eb6427.entry.js +0 -11
- package/dist/solutions-components/p-51f2cd4b.entry.js +0 -6
- package/dist/solutions-components/p-53e0faf4.js +0 -12
- package/dist/solutions-components/p-54713c54.js +0 -11
- package/dist/solutions-components/p-5501cb25.entry.js +0 -17
- package/dist/solutions-components/p-57729067.entry.js +0 -11
- package/dist/solutions-components/p-58d0a9e8.js +0 -11
- package/dist/solutions-components/p-5ae7ca10.js +0 -6
- package/dist/solutions-components/p-5cd51ba9.js +0 -6
- package/dist/solutions-components/p-5e901f4d.js +0 -6
- package/dist/solutions-components/p-5ea0c09b.js +0 -6
- package/dist/solutions-components/p-5fcdc5af.entry.js +0 -12
- package/dist/solutions-components/p-632a3328.js +0 -6
- package/dist/solutions-components/p-64e8c883.js +0 -11
- package/dist/solutions-components/p-659678f1.js +0 -43
- package/dist/solutions-components/p-667f4b68.js +0 -6
- package/dist/solutions-components/p-6b2ea220.entry.js +0 -11
- package/dist/solutions-components/p-6c44ba5f.js +0 -16
- package/dist/solutions-components/p-6d369f32.entry.js +0 -22
- package/dist/solutions-components/p-6d4f59df.js +0 -6
- package/dist/solutions-components/p-6def4549.js +0 -11
- package/dist/solutions-components/p-6df7b770.js +0 -11
- package/dist/solutions-components/p-6eaba85e.js +0 -11
- package/dist/solutions-components/p-6eba7557.entry.js +0 -11
- package/dist/solutions-components/p-6ef00d3c.js +0 -6
- package/dist/solutions-components/p-6f98db75.entry.js +0 -11
- package/dist/solutions-components/p-7090b8bc.entry.js +0 -11
- package/dist/solutions-components/p-72b4bf7a.entry.js +0 -23
- package/dist/solutions-components/p-74bd8ced.entry.js +0 -11
- package/dist/solutions-components/p-76c08334.js +0 -16
- package/dist/solutions-components/p-792a8e91.entry.js +0 -17
- package/dist/solutions-components/p-7b0448b1.js +0 -6
- package/dist/solutions-components/p-7c19f274.js +0 -6
- package/dist/solutions-components/p-7c583516.js +0 -50
- package/dist/solutions-components/p-7fa53f88.entry.js +0 -6
- package/dist/solutions-components/p-81012aaa.entry.js +0 -6
- package/dist/solutions-components/p-8145011e.entry.js +0 -11
- package/dist/solutions-components/p-8343f841.entry.js +0 -17
- package/dist/solutions-components/p-85002390.js +0 -11
- package/dist/solutions-components/p-860452b5.entry.js +0 -11
- package/dist/solutions-components/p-8704c6df.entry.js +0 -11
- package/dist/solutions-components/p-871b9b39.entry.js +0 -6
- package/dist/solutions-components/p-873a5fd1.entry.js +0 -29
- package/dist/solutions-components/p-8817162f.js +0 -17
- package/dist/solutions-components/p-88934d2b.js +0 -11
- package/dist/solutions-components/p-88e391ab.entry.js +0 -6
- package/dist/solutions-components/p-89bd8016.entry.js +0 -22
- package/dist/solutions-components/p-8ad16e95.js +0 -16
- package/dist/solutions-components/p-8b54465a.js +0 -11
- package/dist/solutions-components/p-8e85d818.js +0 -6
- package/dist/solutions-components/p-8feb21be.entry.js +0 -17
- package/dist/solutions-components/p-9099acb6.js +0 -6
- package/dist/solutions-components/p-93c9be09.entry.js +0 -17
- package/dist/solutions-components/p-941ec574.entry.js +0 -6
- package/dist/solutions-components/p-949a8cb7.entry.js +0 -11
- package/dist/solutions-components/p-952a4ed2.js +0 -6
- package/dist/solutions-components/p-960baebc.entry.js +0 -6
- package/dist/solutions-components/p-96a7e73d.js +0 -11
- package/dist/solutions-components/p-9905a2cd.js +0 -6
- package/dist/solutions-components/p-9a4f0ae3.entry.js +0 -11
- package/dist/solutions-components/p-9ab5fbed.entry.js +0 -17
- package/dist/solutions-components/p-9bfb0a88.entry.js +0 -17
- package/dist/solutions-components/p-9edd6de9.entry.js +0 -16
- package/dist/solutions-components/p-9f943f1a.js +0 -6
- package/dist/solutions-components/p-a2613102.entry.js +0 -11
- package/dist/solutions-components/p-a2c467d7.js +0 -6
- package/dist/solutions-components/p-a6aba7d4.entry.js +0 -6
- package/dist/solutions-components/p-a704be29.js +0 -6
- package/dist/solutions-components/p-a7ca67b9.js +0 -11
- package/dist/solutions-components/p-a8638d44.entry.js +0 -11
- package/dist/solutions-components/p-abafd987.entry.js +0 -47
- package/dist/solutions-components/p-abd443e4.entry.js +0 -11
- package/dist/solutions-components/p-abd99f2b.entry.js +0 -11
- package/dist/solutions-components/p-ac40d2a6.entry.js +0 -11
- package/dist/solutions-components/p-ade4a0c0.entry.js +0 -6
- package/dist/solutions-components/p-ae53daf0.js +0 -11
- package/dist/solutions-components/p-b134cc53.entry.js +0 -11
- package/dist/solutions-components/p-b1a053c7.entry.js +0 -6
- package/dist/solutions-components/p-b1b88bb9.entry.js +0 -11
- package/dist/solutions-components/p-b24985b0.entry.js +0 -11
- package/dist/solutions-components/p-b4f15b86.entry.js +0 -11
- package/dist/solutions-components/p-b51111e1.js +0 -11
- package/dist/solutions-components/p-b6ac459a.entry.js +0 -11
- package/dist/solutions-components/p-b715fe7e.entry.js +0 -11
- package/dist/solutions-components/p-bd989e41.js +0 -11
- package/dist/solutions-components/p-c58a3ade.entry.js +0 -11
- package/dist/solutions-components/p-c6296ee6.js +0 -11
- package/dist/solutions-components/p-c62bd2a0.entry.js +0 -17
- package/dist/solutions-components/p-c6fe3b6c.js +0 -6
- package/dist/solutions-components/p-c897ea6a.entry.js +0 -11
- package/dist/solutions-components/p-c9193d36.entry.js +0 -6
- package/dist/solutions-components/p-caa665a4.js +0 -11
- package/dist/solutions-components/p-cb860e39.js +0 -11
- package/dist/solutions-components/p-cc5e8fec.entry.js +0 -11
- package/dist/solutions-components/p-ccc3f0c4.entry.js +0 -6
- package/dist/solutions-components/p-cde4f891.entry.js +0 -11
- package/dist/solutions-components/p-cefb0487.js +0 -489
- package/dist/solutions-components/p-d29843c1.js +0 -6
- package/dist/solutions-components/p-d34db378.entry.js +0 -21
- package/dist/solutions-components/p-d3b61974.entry.js +0 -11
- package/dist/solutions-components/p-d7f00451.entry.js +0 -11
- package/dist/solutions-components/p-d81f19b5.js +0 -6
- package/dist/solutions-components/p-d9110df1.entry.js +0 -11
- package/dist/solutions-components/p-e060bbf4.entry.js +0 -6
- package/dist/solutions-components/p-e191b864.entry.js +0 -11
- package/dist/solutions-components/p-e2263afa.entry.js +0 -11
- package/dist/solutions-components/p-e2d9c1e4.entry.js +0 -12
- package/dist/solutions-components/p-e46f6b68.js +0 -11
- package/dist/solutions-components/p-e683e142.js +0 -6
- package/dist/solutions-components/p-e6ac93e5.entry.js +0 -11
- package/dist/solutions-components/p-e7ce7ab5.entry.js +0 -11
- package/dist/solutions-components/p-e85ca9f5.entry.js +0 -11
- package/dist/solutions-components/p-e9488a2a.js +0 -6
- package/dist/solutions-components/p-eacb5b05.js +0 -11
- package/dist/solutions-components/p-ed000576.js +0 -6
- package/dist/solutions-components/p-eec49294.entry.js +0 -11
- package/dist/solutions-components/p-f067a46c.js +0 -21
- package/dist/solutions-components/p-f123e913.entry.js +0 -6
- package/dist/solutions-components/p-f2139e1f.js +0 -11
- package/dist/solutions-components/p-f2e30760.entry.js +0 -11
- package/dist/solutions-components/p-f3cd6339.entry.js +0 -11
- package/dist/solutions-components/p-f42cdeb6.entry.js +0 -6
- package/dist/solutions-components/p-f44c8764.js +0 -6
- package/dist/solutions-components/p-f6a94b55.js +0 -11
- package/dist/solutions-components/p-f6c2f78c.js +0 -6
- package/dist/solutions-components/p-f97b2291.js +0 -6
- package/dist/solutions-components/p-fbd8a250.entry.js +0 -12
- package/dist/solutions-components/p-fc62c04b.entry.js +0 -6
- package/dist/solutions-components/p-fc68aaf4.js +0 -6
- package/dist/solutions-components/p-fc8d6dcf.js +0 -11
- package/dist/solutions-components/p-fc9301a3.entry.js +0 -6
- package/dist/solutions-components/p-fde2ea30.entry.js +0 -6
- package/dist/solutions-components/p-fe82bd8a.js +0 -11
- package/dist/solutions-components/p-ff87b9de.js +0 -7
- package/dist/solutions-components/p-ffbe2075.js +0 -11
- /package/dist/cjs/{index-5f864f65.js → index-f052f656.js} +0 -0
- /package/dist/esm/{index-dc62418d.js → index-e14fade9.js} +0 -0
- /package/dist/solutions-components/{p-36c1c370.js → p-7530a02f.js} +0 -0
@@ -3,197 +3,2152 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
|
6
|
+
/*!
|
7
|
+
* @esri/arcgis-html-sanitizer - v4.0.3 - Wed Jul 03 2024 17:50:35 GMT-0400 (Eastern Daylight Time)
|
8
|
+
* Copyright (c) 2024 - Environmental Systems Research Institute, Inc.
|
9
|
+
* Apache-2.0
|
10
|
+
*
|
11
|
+
* js-xss
|
12
|
+
* Copyright (c) 2012-2018 Zongmin Lei(雷宗民) <leizongmin@gmail.com>
|
13
|
+
* http://ucdok.com
|
14
|
+
* MIT License, see https://github.com/leizongmin/js-xss/blob/master/LICENSE for details
|
15
|
+
*/
|
16
|
+
/*! *****************************************************************************
|
17
|
+
Copyright (c) Microsoft Corporation.
|
18
|
+
|
19
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
20
|
+
purpose with or without fee is hereby granted.
|
21
|
+
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
23
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
24
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
25
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
26
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
27
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
28
|
+
PERFORMANCE OF THIS SOFTWARE.
|
29
|
+
***************************************************************************** */
|
30
|
+
/* global Reflect, Promise */
|
31
|
+
|
32
|
+
|
33
|
+
var __assign = function() {
|
34
|
+
__assign = Object.assign || function __assign(t) {
|
35
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
36
|
+
s = arguments[i];
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
38
|
+
}
|
39
|
+
return t;
|
40
|
+
};
|
41
|
+
return __assign.apply(this, arguments);
|
42
|
+
};
|
43
|
+
|
44
|
+
var lib$1 = {exports: {}};
|
45
|
+
|
46
|
+
var _default$1 = {};
|
47
|
+
|
48
|
+
var lib = {exports: {}};
|
49
|
+
|
50
|
+
var _default = {};
|
51
|
+
|
52
|
+
/**
|
53
|
+
* cssfilter
|
54
|
+
*
|
55
|
+
* @author 老雷<leizongmin@gmail.com>
|
56
|
+
*/
|
7
57
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
58
|
+
function getDefaultWhiteList$1 () {
|
59
|
+
// 白名单值说明:
|
60
|
+
// true: 允许该属性
|
61
|
+
// Function: function (val) { } 返回true表示允许该属性,其他值均表示不允许
|
62
|
+
// RegExp: regexp.test(val) 返回true表示允许该属性,其他值均表示不允许
|
63
|
+
// 除上面列出的值外均表示不允许
|
64
|
+
var whiteList = {};
|
65
|
+
|
66
|
+
whiteList['align-content'] = false; // default: auto
|
67
|
+
whiteList['align-items'] = false; // default: auto
|
68
|
+
whiteList['align-self'] = false; // default: auto
|
69
|
+
whiteList['alignment-adjust'] = false; // default: auto
|
70
|
+
whiteList['alignment-baseline'] = false; // default: baseline
|
71
|
+
whiteList['all'] = false; // default: depending on individual properties
|
72
|
+
whiteList['anchor-point'] = false; // default: none
|
73
|
+
whiteList['animation'] = false; // default: depending on individual properties
|
74
|
+
whiteList['animation-delay'] = false; // default: 0
|
75
|
+
whiteList['animation-direction'] = false; // default: normal
|
76
|
+
whiteList['animation-duration'] = false; // default: 0
|
77
|
+
whiteList['animation-fill-mode'] = false; // default: none
|
78
|
+
whiteList['animation-iteration-count'] = false; // default: 1
|
79
|
+
whiteList['animation-name'] = false; // default: none
|
80
|
+
whiteList['animation-play-state'] = false; // default: running
|
81
|
+
whiteList['animation-timing-function'] = false; // default: ease
|
82
|
+
whiteList['azimuth'] = false; // default: center
|
83
|
+
whiteList['backface-visibility'] = false; // default: visible
|
84
|
+
whiteList['background'] = true; // default: depending on individual properties
|
85
|
+
whiteList['background-attachment'] = true; // default: scroll
|
86
|
+
whiteList['background-clip'] = true; // default: border-box
|
87
|
+
whiteList['background-color'] = true; // default: transparent
|
88
|
+
whiteList['background-image'] = true; // default: none
|
89
|
+
whiteList['background-origin'] = true; // default: padding-box
|
90
|
+
whiteList['background-position'] = true; // default: 0% 0%
|
91
|
+
whiteList['background-repeat'] = true; // default: repeat
|
92
|
+
whiteList['background-size'] = true; // default: auto
|
93
|
+
whiteList['baseline-shift'] = false; // default: baseline
|
94
|
+
whiteList['binding'] = false; // default: none
|
95
|
+
whiteList['bleed'] = false; // default: 6pt
|
96
|
+
whiteList['bookmark-label'] = false; // default: content()
|
97
|
+
whiteList['bookmark-level'] = false; // default: none
|
98
|
+
whiteList['bookmark-state'] = false; // default: open
|
99
|
+
whiteList['border'] = true; // default: depending on individual properties
|
100
|
+
whiteList['border-bottom'] = true; // default: depending on individual properties
|
101
|
+
whiteList['border-bottom-color'] = true; // default: current color
|
102
|
+
whiteList['border-bottom-left-radius'] = true; // default: 0
|
103
|
+
whiteList['border-bottom-right-radius'] = true; // default: 0
|
104
|
+
whiteList['border-bottom-style'] = true; // default: none
|
105
|
+
whiteList['border-bottom-width'] = true; // default: medium
|
106
|
+
whiteList['border-collapse'] = true; // default: separate
|
107
|
+
whiteList['border-color'] = true; // default: depending on individual properties
|
108
|
+
whiteList['border-image'] = true; // default: none
|
109
|
+
whiteList['border-image-outset'] = true; // default: 0
|
110
|
+
whiteList['border-image-repeat'] = true; // default: stretch
|
111
|
+
whiteList['border-image-slice'] = true; // default: 100%
|
112
|
+
whiteList['border-image-source'] = true; // default: none
|
113
|
+
whiteList['border-image-width'] = true; // default: 1
|
114
|
+
whiteList['border-left'] = true; // default: depending on individual properties
|
115
|
+
whiteList['border-left-color'] = true; // default: current color
|
116
|
+
whiteList['border-left-style'] = true; // default: none
|
117
|
+
whiteList['border-left-width'] = true; // default: medium
|
118
|
+
whiteList['border-radius'] = true; // default: 0
|
119
|
+
whiteList['border-right'] = true; // default: depending on individual properties
|
120
|
+
whiteList['border-right-color'] = true; // default: current color
|
121
|
+
whiteList['border-right-style'] = true; // default: none
|
122
|
+
whiteList['border-right-width'] = true; // default: medium
|
123
|
+
whiteList['border-spacing'] = true; // default: 0
|
124
|
+
whiteList['border-style'] = true; // default: depending on individual properties
|
125
|
+
whiteList['border-top'] = true; // default: depending on individual properties
|
126
|
+
whiteList['border-top-color'] = true; // default: current color
|
127
|
+
whiteList['border-top-left-radius'] = true; // default: 0
|
128
|
+
whiteList['border-top-right-radius'] = true; // default: 0
|
129
|
+
whiteList['border-top-style'] = true; // default: none
|
130
|
+
whiteList['border-top-width'] = true; // default: medium
|
131
|
+
whiteList['border-width'] = true; // default: depending on individual properties
|
132
|
+
whiteList['bottom'] = false; // default: auto
|
133
|
+
whiteList['box-decoration-break'] = true; // default: slice
|
134
|
+
whiteList['box-shadow'] = true; // default: none
|
135
|
+
whiteList['box-sizing'] = true; // default: content-box
|
136
|
+
whiteList['box-snap'] = true; // default: none
|
137
|
+
whiteList['box-suppress'] = true; // default: show
|
138
|
+
whiteList['break-after'] = true; // default: auto
|
139
|
+
whiteList['break-before'] = true; // default: auto
|
140
|
+
whiteList['break-inside'] = true; // default: auto
|
141
|
+
whiteList['caption-side'] = false; // default: top
|
142
|
+
whiteList['chains'] = false; // default: none
|
143
|
+
whiteList['clear'] = true; // default: none
|
144
|
+
whiteList['clip'] = false; // default: auto
|
145
|
+
whiteList['clip-path'] = false; // default: none
|
146
|
+
whiteList['clip-rule'] = false; // default: nonzero
|
147
|
+
whiteList['color'] = true; // default: implementation dependent
|
148
|
+
whiteList['color-interpolation-filters'] = true; // default: auto
|
149
|
+
whiteList['column-count'] = false; // default: auto
|
150
|
+
whiteList['column-fill'] = false; // default: balance
|
151
|
+
whiteList['column-gap'] = false; // default: normal
|
152
|
+
whiteList['column-rule'] = false; // default: depending on individual properties
|
153
|
+
whiteList['column-rule-color'] = false; // default: current color
|
154
|
+
whiteList['column-rule-style'] = false; // default: medium
|
155
|
+
whiteList['column-rule-width'] = false; // default: medium
|
156
|
+
whiteList['column-span'] = false; // default: none
|
157
|
+
whiteList['column-width'] = false; // default: auto
|
158
|
+
whiteList['columns'] = false; // default: depending on individual properties
|
159
|
+
whiteList['contain'] = false; // default: none
|
160
|
+
whiteList['content'] = false; // default: normal
|
161
|
+
whiteList['counter-increment'] = false; // default: none
|
162
|
+
whiteList['counter-reset'] = false; // default: none
|
163
|
+
whiteList['counter-set'] = false; // default: none
|
164
|
+
whiteList['crop'] = false; // default: auto
|
165
|
+
whiteList['cue'] = false; // default: depending on individual properties
|
166
|
+
whiteList['cue-after'] = false; // default: none
|
167
|
+
whiteList['cue-before'] = false; // default: none
|
168
|
+
whiteList['cursor'] = false; // default: auto
|
169
|
+
whiteList['direction'] = false; // default: ltr
|
170
|
+
whiteList['display'] = true; // default: depending on individual properties
|
171
|
+
whiteList['display-inside'] = true; // default: auto
|
172
|
+
whiteList['display-list'] = true; // default: none
|
173
|
+
whiteList['display-outside'] = true; // default: inline-level
|
174
|
+
whiteList['dominant-baseline'] = false; // default: auto
|
175
|
+
whiteList['elevation'] = false; // default: level
|
176
|
+
whiteList['empty-cells'] = false; // default: show
|
177
|
+
whiteList['filter'] = false; // default: none
|
178
|
+
whiteList['flex'] = false; // default: depending on individual properties
|
179
|
+
whiteList['flex-basis'] = false; // default: auto
|
180
|
+
whiteList['flex-direction'] = false; // default: row
|
181
|
+
whiteList['flex-flow'] = false; // default: depending on individual properties
|
182
|
+
whiteList['flex-grow'] = false; // default: 0
|
183
|
+
whiteList['flex-shrink'] = false; // default: 1
|
184
|
+
whiteList['flex-wrap'] = false; // default: nowrap
|
185
|
+
whiteList['float'] = false; // default: none
|
186
|
+
whiteList['float-offset'] = false; // default: 0 0
|
187
|
+
whiteList['flood-color'] = false; // default: black
|
188
|
+
whiteList['flood-opacity'] = false; // default: 1
|
189
|
+
whiteList['flow-from'] = false; // default: none
|
190
|
+
whiteList['flow-into'] = false; // default: none
|
191
|
+
whiteList['font'] = true; // default: depending on individual properties
|
192
|
+
whiteList['font-family'] = true; // default: implementation dependent
|
193
|
+
whiteList['font-feature-settings'] = true; // default: normal
|
194
|
+
whiteList['font-kerning'] = true; // default: auto
|
195
|
+
whiteList['font-language-override'] = true; // default: normal
|
196
|
+
whiteList['font-size'] = true; // default: medium
|
197
|
+
whiteList['font-size-adjust'] = true; // default: none
|
198
|
+
whiteList['font-stretch'] = true; // default: normal
|
199
|
+
whiteList['font-style'] = true; // default: normal
|
200
|
+
whiteList['font-synthesis'] = true; // default: weight style
|
201
|
+
whiteList['font-variant'] = true; // default: normal
|
202
|
+
whiteList['font-variant-alternates'] = true; // default: normal
|
203
|
+
whiteList['font-variant-caps'] = true; // default: normal
|
204
|
+
whiteList['font-variant-east-asian'] = true; // default: normal
|
205
|
+
whiteList['font-variant-ligatures'] = true; // default: normal
|
206
|
+
whiteList['font-variant-numeric'] = true; // default: normal
|
207
|
+
whiteList['font-variant-position'] = true; // default: normal
|
208
|
+
whiteList['font-weight'] = true; // default: normal
|
209
|
+
whiteList['grid'] = false; // default: depending on individual properties
|
210
|
+
whiteList['grid-area'] = false; // default: depending on individual properties
|
211
|
+
whiteList['grid-auto-columns'] = false; // default: auto
|
212
|
+
whiteList['grid-auto-flow'] = false; // default: none
|
213
|
+
whiteList['grid-auto-rows'] = false; // default: auto
|
214
|
+
whiteList['grid-column'] = false; // default: depending on individual properties
|
215
|
+
whiteList['grid-column-end'] = false; // default: auto
|
216
|
+
whiteList['grid-column-start'] = false; // default: auto
|
217
|
+
whiteList['grid-row'] = false; // default: depending on individual properties
|
218
|
+
whiteList['grid-row-end'] = false; // default: auto
|
219
|
+
whiteList['grid-row-start'] = false; // default: auto
|
220
|
+
whiteList['grid-template'] = false; // default: depending on individual properties
|
221
|
+
whiteList['grid-template-areas'] = false; // default: none
|
222
|
+
whiteList['grid-template-columns'] = false; // default: none
|
223
|
+
whiteList['grid-template-rows'] = false; // default: none
|
224
|
+
whiteList['hanging-punctuation'] = false; // default: none
|
225
|
+
whiteList['height'] = true; // default: auto
|
226
|
+
whiteList['hyphens'] = false; // default: manual
|
227
|
+
whiteList['icon'] = false; // default: auto
|
228
|
+
whiteList['image-orientation'] = false; // default: auto
|
229
|
+
whiteList['image-resolution'] = false; // default: normal
|
230
|
+
whiteList['ime-mode'] = false; // default: auto
|
231
|
+
whiteList['initial-letters'] = false; // default: normal
|
232
|
+
whiteList['inline-box-align'] = false; // default: last
|
233
|
+
whiteList['justify-content'] = false; // default: auto
|
234
|
+
whiteList['justify-items'] = false; // default: auto
|
235
|
+
whiteList['justify-self'] = false; // default: auto
|
236
|
+
whiteList['left'] = false; // default: auto
|
237
|
+
whiteList['letter-spacing'] = true; // default: normal
|
238
|
+
whiteList['lighting-color'] = true; // default: white
|
239
|
+
whiteList['line-box-contain'] = false; // default: block inline replaced
|
240
|
+
whiteList['line-break'] = false; // default: auto
|
241
|
+
whiteList['line-grid'] = false; // default: match-parent
|
242
|
+
whiteList['line-height'] = false; // default: normal
|
243
|
+
whiteList['line-snap'] = false; // default: none
|
244
|
+
whiteList['line-stacking'] = false; // default: depending on individual properties
|
245
|
+
whiteList['line-stacking-ruby'] = false; // default: exclude-ruby
|
246
|
+
whiteList['line-stacking-shift'] = false; // default: consider-shifts
|
247
|
+
whiteList['line-stacking-strategy'] = false; // default: inline-line-height
|
248
|
+
whiteList['list-style'] = true; // default: depending on individual properties
|
249
|
+
whiteList['list-style-image'] = true; // default: none
|
250
|
+
whiteList['list-style-position'] = true; // default: outside
|
251
|
+
whiteList['list-style-type'] = true; // default: disc
|
252
|
+
whiteList['margin'] = true; // default: depending on individual properties
|
253
|
+
whiteList['margin-bottom'] = true; // default: 0
|
254
|
+
whiteList['margin-left'] = true; // default: 0
|
255
|
+
whiteList['margin-right'] = true; // default: 0
|
256
|
+
whiteList['margin-top'] = true; // default: 0
|
257
|
+
whiteList['marker-offset'] = false; // default: auto
|
258
|
+
whiteList['marker-side'] = false; // default: list-item
|
259
|
+
whiteList['marks'] = false; // default: none
|
260
|
+
whiteList['mask'] = false; // default: border-box
|
261
|
+
whiteList['mask-box'] = false; // default: see individual properties
|
262
|
+
whiteList['mask-box-outset'] = false; // default: 0
|
263
|
+
whiteList['mask-box-repeat'] = false; // default: stretch
|
264
|
+
whiteList['mask-box-slice'] = false; // default: 0 fill
|
265
|
+
whiteList['mask-box-source'] = false; // default: none
|
266
|
+
whiteList['mask-box-width'] = false; // default: auto
|
267
|
+
whiteList['mask-clip'] = false; // default: border-box
|
268
|
+
whiteList['mask-image'] = false; // default: none
|
269
|
+
whiteList['mask-origin'] = false; // default: border-box
|
270
|
+
whiteList['mask-position'] = false; // default: center
|
271
|
+
whiteList['mask-repeat'] = false; // default: no-repeat
|
272
|
+
whiteList['mask-size'] = false; // default: border-box
|
273
|
+
whiteList['mask-source-type'] = false; // default: auto
|
274
|
+
whiteList['mask-type'] = false; // default: luminance
|
275
|
+
whiteList['max-height'] = true; // default: none
|
276
|
+
whiteList['max-lines'] = false; // default: none
|
277
|
+
whiteList['max-width'] = true; // default: none
|
278
|
+
whiteList['min-height'] = true; // default: 0
|
279
|
+
whiteList['min-width'] = true; // default: 0
|
280
|
+
whiteList['move-to'] = false; // default: normal
|
281
|
+
whiteList['nav-down'] = false; // default: auto
|
282
|
+
whiteList['nav-index'] = false; // default: auto
|
283
|
+
whiteList['nav-left'] = false; // default: auto
|
284
|
+
whiteList['nav-right'] = false; // default: auto
|
285
|
+
whiteList['nav-up'] = false; // default: auto
|
286
|
+
whiteList['object-fit'] = false; // default: fill
|
287
|
+
whiteList['object-position'] = false; // default: 50% 50%
|
288
|
+
whiteList['opacity'] = false; // default: 1
|
289
|
+
whiteList['order'] = false; // default: 0
|
290
|
+
whiteList['orphans'] = false; // default: 2
|
291
|
+
whiteList['outline'] = false; // default: depending on individual properties
|
292
|
+
whiteList['outline-color'] = false; // default: invert
|
293
|
+
whiteList['outline-offset'] = false; // default: 0
|
294
|
+
whiteList['outline-style'] = false; // default: none
|
295
|
+
whiteList['outline-width'] = false; // default: medium
|
296
|
+
whiteList['overflow'] = false; // default: depending on individual properties
|
297
|
+
whiteList['overflow-wrap'] = false; // default: normal
|
298
|
+
whiteList['overflow-x'] = false; // default: visible
|
299
|
+
whiteList['overflow-y'] = false; // default: visible
|
300
|
+
whiteList['padding'] = true; // default: depending on individual properties
|
301
|
+
whiteList['padding-bottom'] = true; // default: 0
|
302
|
+
whiteList['padding-left'] = true; // default: 0
|
303
|
+
whiteList['padding-right'] = true; // default: 0
|
304
|
+
whiteList['padding-top'] = true; // default: 0
|
305
|
+
whiteList['page'] = false; // default: auto
|
306
|
+
whiteList['page-break-after'] = false; // default: auto
|
307
|
+
whiteList['page-break-before'] = false; // default: auto
|
308
|
+
whiteList['page-break-inside'] = false; // default: auto
|
309
|
+
whiteList['page-policy'] = false; // default: start
|
310
|
+
whiteList['pause'] = false; // default: implementation dependent
|
311
|
+
whiteList['pause-after'] = false; // default: implementation dependent
|
312
|
+
whiteList['pause-before'] = false; // default: implementation dependent
|
313
|
+
whiteList['perspective'] = false; // default: none
|
314
|
+
whiteList['perspective-origin'] = false; // default: 50% 50%
|
315
|
+
whiteList['pitch'] = false; // default: medium
|
316
|
+
whiteList['pitch-range'] = false; // default: 50
|
317
|
+
whiteList['play-during'] = false; // default: auto
|
318
|
+
whiteList['position'] = false; // default: static
|
319
|
+
whiteList['presentation-level'] = false; // default: 0
|
320
|
+
whiteList['quotes'] = false; // default: text
|
321
|
+
whiteList['region-fragment'] = false; // default: auto
|
322
|
+
whiteList['resize'] = false; // default: none
|
323
|
+
whiteList['rest'] = false; // default: depending on individual properties
|
324
|
+
whiteList['rest-after'] = false; // default: none
|
325
|
+
whiteList['rest-before'] = false; // default: none
|
326
|
+
whiteList['richness'] = false; // default: 50
|
327
|
+
whiteList['right'] = false; // default: auto
|
328
|
+
whiteList['rotation'] = false; // default: 0
|
329
|
+
whiteList['rotation-point'] = false; // default: 50% 50%
|
330
|
+
whiteList['ruby-align'] = false; // default: auto
|
331
|
+
whiteList['ruby-merge'] = false; // default: separate
|
332
|
+
whiteList['ruby-position'] = false; // default: before
|
333
|
+
whiteList['shape-image-threshold'] = false; // default: 0.0
|
334
|
+
whiteList['shape-outside'] = false; // default: none
|
335
|
+
whiteList['shape-margin'] = false; // default: 0
|
336
|
+
whiteList['size'] = false; // default: auto
|
337
|
+
whiteList['speak'] = false; // default: auto
|
338
|
+
whiteList['speak-as'] = false; // default: normal
|
339
|
+
whiteList['speak-header'] = false; // default: once
|
340
|
+
whiteList['speak-numeral'] = false; // default: continuous
|
341
|
+
whiteList['speak-punctuation'] = false; // default: none
|
342
|
+
whiteList['speech-rate'] = false; // default: medium
|
343
|
+
whiteList['stress'] = false; // default: 50
|
344
|
+
whiteList['string-set'] = false; // default: none
|
345
|
+
whiteList['tab-size'] = false; // default: 8
|
346
|
+
whiteList['table-layout'] = false; // default: auto
|
347
|
+
whiteList['text-align'] = true; // default: start
|
348
|
+
whiteList['text-align-last'] = true; // default: auto
|
349
|
+
whiteList['text-combine-upright'] = true; // default: none
|
350
|
+
whiteList['text-decoration'] = true; // default: none
|
351
|
+
whiteList['text-decoration-color'] = true; // default: currentColor
|
352
|
+
whiteList['text-decoration-line'] = true; // default: none
|
353
|
+
whiteList['text-decoration-skip'] = true; // default: objects
|
354
|
+
whiteList['text-decoration-style'] = true; // default: solid
|
355
|
+
whiteList['text-emphasis'] = true; // default: depending on individual properties
|
356
|
+
whiteList['text-emphasis-color'] = true; // default: currentColor
|
357
|
+
whiteList['text-emphasis-position'] = true; // default: over right
|
358
|
+
whiteList['text-emphasis-style'] = true; // default: none
|
359
|
+
whiteList['text-height'] = true; // default: auto
|
360
|
+
whiteList['text-indent'] = true; // default: 0
|
361
|
+
whiteList['text-justify'] = true; // default: auto
|
362
|
+
whiteList['text-orientation'] = true; // default: mixed
|
363
|
+
whiteList['text-overflow'] = true; // default: clip
|
364
|
+
whiteList['text-shadow'] = true; // default: none
|
365
|
+
whiteList['text-space-collapse'] = true; // default: collapse
|
366
|
+
whiteList['text-transform'] = true; // default: none
|
367
|
+
whiteList['text-underline-position'] = true; // default: auto
|
368
|
+
whiteList['text-wrap'] = true; // default: normal
|
369
|
+
whiteList['top'] = false; // default: auto
|
370
|
+
whiteList['transform'] = false; // default: none
|
371
|
+
whiteList['transform-origin'] = false; // default: 50% 50% 0
|
372
|
+
whiteList['transform-style'] = false; // default: flat
|
373
|
+
whiteList['transition'] = false; // default: depending on individual properties
|
374
|
+
whiteList['transition-delay'] = false; // default: 0s
|
375
|
+
whiteList['transition-duration'] = false; // default: 0s
|
376
|
+
whiteList['transition-property'] = false; // default: all
|
377
|
+
whiteList['transition-timing-function'] = false; // default: ease
|
378
|
+
whiteList['unicode-bidi'] = false; // default: normal
|
379
|
+
whiteList['vertical-align'] = false; // default: baseline
|
380
|
+
whiteList['visibility'] = false; // default: visible
|
381
|
+
whiteList['voice-balance'] = false; // default: center
|
382
|
+
whiteList['voice-duration'] = false; // default: auto
|
383
|
+
whiteList['voice-family'] = false; // default: implementation dependent
|
384
|
+
whiteList['voice-pitch'] = false; // default: medium
|
385
|
+
whiteList['voice-range'] = false; // default: medium
|
386
|
+
whiteList['voice-rate'] = false; // default: normal
|
387
|
+
whiteList['voice-stress'] = false; // default: normal
|
388
|
+
whiteList['voice-volume'] = false; // default: medium
|
389
|
+
whiteList['volume'] = false; // default: medium
|
390
|
+
whiteList['white-space'] = false; // default: normal
|
391
|
+
whiteList['widows'] = false; // default: 2
|
392
|
+
whiteList['width'] = true; // default: auto
|
393
|
+
whiteList['will-change'] = false; // default: auto
|
394
|
+
whiteList['word-break'] = true; // default: normal
|
395
|
+
whiteList['word-spacing'] = true; // default: normal
|
396
|
+
whiteList['word-wrap'] = true; // default: normal
|
397
|
+
whiteList['wrap-flow'] = false; // default: auto
|
398
|
+
whiteList['wrap-through'] = false; // default: wrap
|
399
|
+
whiteList['writing-mode'] = false; // default: horizontal-tb
|
400
|
+
whiteList['z-index'] = false; // default: auto
|
401
|
+
|
402
|
+
return whiteList;
|
403
|
+
}
|
404
|
+
|
405
|
+
|
406
|
+
/**
|
407
|
+
* 匹配到白名单上的一个属性时
|
408
|
+
*
|
409
|
+
* @param {String} name
|
410
|
+
* @param {String} value
|
411
|
+
* @param {Object} options
|
412
|
+
* @return {String}
|
413
|
+
*/
|
414
|
+
function onAttr (name, value, options) {
|
415
|
+
// do nothing
|
416
|
+
}
|
417
|
+
|
418
|
+
/**
|
419
|
+
* 匹配到不在白名单上的一个属性时
|
420
|
+
*
|
421
|
+
* @param {String} name
|
422
|
+
* @param {String} value
|
423
|
+
* @param {Object} options
|
424
|
+
* @return {String}
|
425
|
+
*/
|
426
|
+
function onIgnoreAttr (name, value, options) {
|
427
|
+
// do nothing
|
428
|
+
}
|
429
|
+
|
430
|
+
var REGEXP_URL_JAVASCRIPT = /javascript\s*\:/img;
|
431
|
+
|
432
|
+
/**
|
433
|
+
* 过滤属性值
|
434
|
+
*
|
435
|
+
* @param {String} name
|
436
|
+
* @param {String} value
|
437
|
+
* @return {String}
|
438
|
+
*/
|
439
|
+
function safeAttrValue$1(name, value) {
|
440
|
+
if (REGEXP_URL_JAVASCRIPT.test(value)) return '';
|
441
|
+
return value;
|
442
|
+
}
|
443
|
+
|
444
|
+
|
445
|
+
_default.whiteList = getDefaultWhiteList$1();
|
446
|
+
_default.getDefaultWhiteList = getDefaultWhiteList$1;
|
447
|
+
_default.onAttr = onAttr;
|
448
|
+
_default.onIgnoreAttr = onIgnoreAttr;
|
449
|
+
_default.safeAttrValue = safeAttrValue$1;
|
450
|
+
|
451
|
+
var util$1 = {
|
452
|
+
indexOf: function (arr, item) {
|
453
|
+
var i, j;
|
454
|
+
if (Array.prototype.indexOf) {
|
455
|
+
return arr.indexOf(item);
|
456
|
+
}
|
457
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
458
|
+
if (arr[i] === item) {
|
459
|
+
return i;
|
460
|
+
}
|
461
|
+
}
|
462
|
+
return -1;
|
463
|
+
},
|
464
|
+
forEach: function (arr, fn, scope) {
|
465
|
+
var i, j;
|
466
|
+
if (Array.prototype.forEach) {
|
467
|
+
return arr.forEach(fn, scope);
|
468
|
+
}
|
469
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
470
|
+
fn.call(scope, arr[i], i, arr);
|
12
471
|
}
|
13
|
-
|
14
|
-
|
472
|
+
},
|
473
|
+
trim: function (str) {
|
474
|
+
if (String.prototype.trim) {
|
475
|
+
return str.trim();
|
15
476
|
}
|
477
|
+
return str.replace(/(^\s*)|(\s*$)/g, '');
|
478
|
+
},
|
479
|
+
trimRight: function (str) {
|
480
|
+
if (String.prototype.trimRight) {
|
481
|
+
return str.trimRight();
|
482
|
+
}
|
483
|
+
return str.replace(/(\s*$)/g, '');
|
484
|
+
}
|
16
485
|
};
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
486
|
+
|
487
|
+
/**
|
488
|
+
* cssfilter
|
489
|
+
*
|
490
|
+
* @author 老雷<leizongmin@gmail.com>
|
491
|
+
*/
|
492
|
+
|
493
|
+
var _$3 = util$1;
|
494
|
+
|
495
|
+
|
496
|
+
/**
|
497
|
+
* 解析style
|
498
|
+
*
|
499
|
+
* @param {String} css
|
500
|
+
* @param {Function} onAttr 处理属性的函数
|
501
|
+
* 参数格式: function (sourcePosition, position, name, value, source)
|
502
|
+
* @return {String}
|
503
|
+
*/
|
504
|
+
function parseStyle$1 (css, onAttr) {
|
505
|
+
css = _$3.trimRight(css);
|
506
|
+
if (css[css.length - 1] !== ';') css += ';';
|
507
|
+
var cssLength = css.length;
|
508
|
+
var isParenthesisOpen = false;
|
509
|
+
var lastPos = 0;
|
510
|
+
var i = 0;
|
511
|
+
var retCSS = '';
|
512
|
+
|
513
|
+
function addNewAttr () {
|
514
|
+
// 如果没有正常的闭合圆括号,则直接忽略当前属性
|
515
|
+
if (!isParenthesisOpen) {
|
516
|
+
var source = _$3.trim(css.slice(lastPos, i));
|
517
|
+
var j = source.indexOf(':');
|
518
|
+
if (j !== -1) {
|
519
|
+
var name = _$3.trim(source.slice(0, j));
|
520
|
+
var value = _$3.trim(source.slice(j + 1));
|
521
|
+
// 必须有属性名称
|
522
|
+
if (name) {
|
523
|
+
var ret = onAttr(lastPos, retCSS.length, name, value, source);
|
524
|
+
if (ret) retCSS += ret + '; ';
|
525
|
+
}
|
526
|
+
}
|
527
|
+
}
|
528
|
+
lastPos = i + 1;
|
529
|
+
}
|
530
|
+
|
531
|
+
for (; i < cssLength; i++) {
|
532
|
+
var c = css[i];
|
533
|
+
if (c === '/' && css[i + 1] === '*') {
|
534
|
+
// 备注开始
|
535
|
+
var j = css.indexOf('*/', i + 2);
|
536
|
+
// 如果没有正常的备注结束,则后面的部分全部跳过
|
537
|
+
if (j === -1) break;
|
538
|
+
// 直接将当前位置调到备注结尾,并且初始化状态
|
539
|
+
i = j + 1;
|
540
|
+
lastPos = i + 1;
|
541
|
+
isParenthesisOpen = false;
|
542
|
+
} else if (c === '(') {
|
543
|
+
isParenthesisOpen = true;
|
544
|
+
} else if (c === ')') {
|
545
|
+
isParenthesisOpen = false;
|
546
|
+
} else if (c === ';') {
|
547
|
+
if (isParenthesisOpen) ; else {
|
548
|
+
addNewAttr();
|
549
|
+
}
|
550
|
+
} else if (c === '\n') {
|
551
|
+
addNewAttr();
|
552
|
+
}
|
553
|
+
}
|
554
|
+
|
555
|
+
return _$3.trim(retCSS);
|
556
|
+
}
|
557
|
+
|
558
|
+
var parser$2 = parseStyle$1;
|
559
|
+
|
560
|
+
/**
|
561
|
+
* cssfilter
|
562
|
+
*
|
563
|
+
* @author 老雷<leizongmin@gmail.com>
|
564
|
+
*/
|
565
|
+
|
566
|
+
var DEFAULT$1 = _default;
|
567
|
+
var parseStyle = parser$2;
|
568
|
+
|
569
|
+
|
570
|
+
/**
|
571
|
+
* 返回值是否为空
|
572
|
+
*
|
573
|
+
* @param {Object} obj
|
574
|
+
* @return {Boolean}
|
575
|
+
*/
|
576
|
+
function isNull$1 (obj) {
|
577
|
+
return (obj === undefined || obj === null);
|
578
|
+
}
|
579
|
+
|
580
|
+
/**
|
581
|
+
* 浅拷贝对象
|
582
|
+
*
|
583
|
+
* @param {Object} obj
|
584
|
+
* @return {Object}
|
585
|
+
*/
|
586
|
+
function shallowCopyObject$1 (obj) {
|
587
|
+
var ret = {};
|
588
|
+
for (var i in obj) {
|
589
|
+
ret[i] = obj[i];
|
590
|
+
}
|
591
|
+
return ret;
|
592
|
+
}
|
593
|
+
|
594
|
+
/**
|
595
|
+
* 创建CSS过滤器
|
596
|
+
*
|
597
|
+
* @param {Object} options
|
598
|
+
* - {Object} whiteList
|
599
|
+
* - {Function} onAttr
|
600
|
+
* - {Function} onIgnoreAttr
|
601
|
+
* - {Function} safeAttrValue
|
602
|
+
*/
|
603
|
+
function FilterCSS$2 (options) {
|
604
|
+
options = shallowCopyObject$1(options || {});
|
605
|
+
options.whiteList = options.whiteList || DEFAULT$1.whiteList;
|
606
|
+
options.onAttr = options.onAttr || DEFAULT$1.onAttr;
|
607
|
+
options.onIgnoreAttr = options.onIgnoreAttr || DEFAULT$1.onIgnoreAttr;
|
608
|
+
options.safeAttrValue = options.safeAttrValue || DEFAULT$1.safeAttrValue;
|
609
|
+
this.options = options;
|
610
|
+
}
|
611
|
+
|
612
|
+
FilterCSS$2.prototype.process = function (css) {
|
613
|
+
// 兼容各种奇葩输入
|
614
|
+
css = css || '';
|
615
|
+
css = css.toString();
|
616
|
+
if (!css) return '';
|
617
|
+
|
618
|
+
var me = this;
|
619
|
+
var options = me.options;
|
620
|
+
var whiteList = options.whiteList;
|
621
|
+
var onAttr = options.onAttr;
|
622
|
+
var onIgnoreAttr = options.onIgnoreAttr;
|
623
|
+
var safeAttrValue = options.safeAttrValue;
|
624
|
+
|
625
|
+
var retCSS = parseStyle(css, function (sourcePosition, position, name, value, source) {
|
626
|
+
|
627
|
+
var check = whiteList[name];
|
628
|
+
var isWhite = false;
|
629
|
+
if (check === true) isWhite = check;
|
630
|
+
else if (typeof check === 'function') isWhite = check(value);
|
631
|
+
else if (check instanceof RegExp) isWhite = check.test(value);
|
632
|
+
if (isWhite !== true) isWhite = false;
|
633
|
+
|
634
|
+
// 如果过滤后 value 为空则直接忽略
|
635
|
+
value = safeAttrValue(name, value);
|
636
|
+
if (!value) return;
|
637
|
+
|
638
|
+
var opts = {
|
639
|
+
position: position,
|
640
|
+
sourcePosition: sourcePosition,
|
641
|
+
source: source,
|
642
|
+
isWhite: isWhite
|
27
643
|
};
|
644
|
+
|
645
|
+
if (isWhite) {
|
646
|
+
|
647
|
+
var ret = onAttr(name, value, opts);
|
648
|
+
if (isNull$1(ret)) {
|
649
|
+
return name + ':' + value;
|
650
|
+
} else {
|
651
|
+
return ret;
|
652
|
+
}
|
653
|
+
|
654
|
+
} else {
|
655
|
+
|
656
|
+
var ret = onIgnoreAttr(name, value, opts);
|
657
|
+
if (!isNull$1(ret)) {
|
658
|
+
return ret;
|
659
|
+
}
|
660
|
+
|
661
|
+
}
|
662
|
+
});
|
663
|
+
|
664
|
+
return retCSS;
|
28
665
|
};
|
29
666
|
|
667
|
+
|
668
|
+
var css = FilterCSS$2;
|
669
|
+
|
30
670
|
/**
|
31
|
-
*
|
32
|
-
* The property might not be there, so we check for it.
|
671
|
+
* cssfilter
|
33
672
|
*
|
34
|
-
*
|
35
|
-
|
673
|
+
* @author 老雷<leizongmin@gmail.com>
|
674
|
+
*/
|
675
|
+
|
676
|
+
(function (module, exports) {
|
677
|
+
var DEFAULT = _default;
|
678
|
+
var FilterCSS = css;
|
679
|
+
|
680
|
+
|
681
|
+
/**
|
682
|
+
* XSS过滤
|
683
|
+
*
|
684
|
+
* @param {String} css 要过滤的CSS代码
|
685
|
+
* @param {Object} options 选项:whiteList, onAttr, onIgnoreAttr
|
686
|
+
* @return {String}
|
687
|
+
*/
|
688
|
+
function filterCSS (html, options) {
|
689
|
+
var xss = new FilterCSS(options);
|
690
|
+
return xss.process(html);
|
691
|
+
}
|
692
|
+
|
693
|
+
|
694
|
+
// 输出
|
695
|
+
exports = module.exports = filterCSS;
|
696
|
+
exports.FilterCSS = FilterCSS;
|
697
|
+
for (var i in DEFAULT) exports[i] = DEFAULT[i];
|
698
|
+
} (lib, lib.exports));
|
699
|
+
|
700
|
+
var libExports$1 = lib.exports;
|
701
|
+
|
702
|
+
var util = {
|
703
|
+
indexOf: function (arr, item) {
|
704
|
+
var i, j;
|
705
|
+
if (Array.prototype.indexOf) {
|
706
|
+
return arr.indexOf(item);
|
707
|
+
}
|
708
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
709
|
+
if (arr[i] === item) {
|
710
|
+
return i;
|
711
|
+
}
|
712
|
+
}
|
713
|
+
return -1;
|
714
|
+
},
|
715
|
+
forEach: function (arr, fn, scope) {
|
716
|
+
var i, j;
|
717
|
+
if (Array.prototype.forEach) {
|
718
|
+
return arr.forEach(fn, scope);
|
719
|
+
}
|
720
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
721
|
+
fn.call(scope, arr[i], i, arr);
|
722
|
+
}
|
723
|
+
},
|
724
|
+
trim: function (str) {
|
725
|
+
if (String.prototype.trim) {
|
726
|
+
return str.trim();
|
727
|
+
}
|
728
|
+
return str.replace(/(^\s*)|(\s*$)/g, "");
|
729
|
+
},
|
730
|
+
spaceIndex: function (str) {
|
731
|
+
var reg = /\s|\n|\t/;
|
732
|
+
var match = reg.exec(str);
|
733
|
+
return match ? match.index : -1;
|
734
|
+
},
|
735
|
+
};
|
736
|
+
|
737
|
+
/**
|
738
|
+
* default settings
|
739
|
+
*
|
740
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
741
|
+
*/
|
742
|
+
|
743
|
+
var FilterCSS$1 = libExports$1.FilterCSS;
|
744
|
+
var getDefaultCSSWhiteList = libExports$1.getDefaultWhiteList;
|
745
|
+
var _$2 = util;
|
746
|
+
|
747
|
+
function getDefaultWhiteList() {
|
748
|
+
return {
|
749
|
+
a: ["target", "href", "title"],
|
750
|
+
abbr: ["title"],
|
751
|
+
address: [],
|
752
|
+
area: ["shape", "coords", "href", "alt"],
|
753
|
+
article: [],
|
754
|
+
aside: [],
|
755
|
+
audio: [
|
756
|
+
"autoplay",
|
757
|
+
"controls",
|
758
|
+
"crossorigin",
|
759
|
+
"loop",
|
760
|
+
"muted",
|
761
|
+
"preload",
|
762
|
+
"src",
|
763
|
+
],
|
764
|
+
b: [],
|
765
|
+
bdi: ["dir"],
|
766
|
+
bdo: ["dir"],
|
767
|
+
big: [],
|
768
|
+
blockquote: ["cite"],
|
769
|
+
br: [],
|
770
|
+
caption: [],
|
771
|
+
center: [],
|
772
|
+
cite: [],
|
773
|
+
code: [],
|
774
|
+
col: ["align", "valign", "span", "width"],
|
775
|
+
colgroup: ["align", "valign", "span", "width"],
|
776
|
+
dd: [],
|
777
|
+
del: ["datetime"],
|
778
|
+
details: ["open"],
|
779
|
+
div: [],
|
780
|
+
dl: [],
|
781
|
+
dt: [],
|
782
|
+
em: [],
|
783
|
+
figcaption: [],
|
784
|
+
figure: [],
|
785
|
+
font: ["color", "size", "face"],
|
786
|
+
footer: [],
|
787
|
+
h1: [],
|
788
|
+
h2: [],
|
789
|
+
h3: [],
|
790
|
+
h4: [],
|
791
|
+
h5: [],
|
792
|
+
h6: [],
|
793
|
+
header: [],
|
794
|
+
hr: [],
|
795
|
+
i: [],
|
796
|
+
img: ["src", "alt", "title", "width", "height"],
|
797
|
+
ins: ["datetime"],
|
798
|
+
li: [],
|
799
|
+
mark: [],
|
800
|
+
nav: [],
|
801
|
+
ol: [],
|
802
|
+
p: [],
|
803
|
+
pre: [],
|
804
|
+
s: [],
|
805
|
+
section: [],
|
806
|
+
small: [],
|
807
|
+
span: [],
|
808
|
+
sub: [],
|
809
|
+
summary: [],
|
810
|
+
sup: [],
|
811
|
+
strong: [],
|
812
|
+
strike: [],
|
813
|
+
table: ["width", "border", "align", "valign"],
|
814
|
+
tbody: ["align", "valign"],
|
815
|
+
td: ["width", "rowspan", "colspan", "align", "valign"],
|
816
|
+
tfoot: ["align", "valign"],
|
817
|
+
th: ["width", "rowspan", "colspan", "align", "valign"],
|
818
|
+
thead: ["align", "valign"],
|
819
|
+
tr: ["rowspan", "align", "valign"],
|
820
|
+
tt: [],
|
821
|
+
u: [],
|
822
|
+
ul: [],
|
823
|
+
video: [
|
824
|
+
"autoplay",
|
825
|
+
"controls",
|
826
|
+
"crossorigin",
|
827
|
+
"loop",
|
828
|
+
"muted",
|
829
|
+
"playsinline",
|
830
|
+
"poster",
|
831
|
+
"preload",
|
832
|
+
"src",
|
833
|
+
"height",
|
834
|
+
"width",
|
835
|
+
],
|
836
|
+
};
|
837
|
+
}
|
838
|
+
|
839
|
+
var defaultCSSFilter = new FilterCSS$1();
|
840
|
+
|
841
|
+
/**
|
842
|
+
* default onTag function
|
843
|
+
*
|
844
|
+
* @param {String} tag
|
845
|
+
* @param {String} html
|
846
|
+
* @param {Object} options
|
847
|
+
* @return {String}
|
848
|
+
*/
|
849
|
+
function onTag(tag, html, options) {
|
850
|
+
// do nothing
|
851
|
+
}
|
852
|
+
|
853
|
+
/**
|
854
|
+
* default onIgnoreTag function
|
855
|
+
*
|
856
|
+
* @param {String} tag
|
857
|
+
* @param {String} html
|
858
|
+
* @param {Object} options
|
859
|
+
* @return {String}
|
860
|
+
*/
|
861
|
+
function onIgnoreTag(tag, html, options) {
|
862
|
+
// do nothing
|
863
|
+
}
|
864
|
+
|
865
|
+
/**
|
866
|
+
* default onTagAttr function
|
867
|
+
*
|
868
|
+
* @param {String} tag
|
869
|
+
* @param {String} name
|
870
|
+
* @param {String} value
|
871
|
+
* @return {String}
|
872
|
+
*/
|
873
|
+
function onTagAttr(tag, name, value) {
|
874
|
+
// do nothing
|
875
|
+
}
|
876
|
+
|
877
|
+
/**
|
878
|
+
* default onIgnoreTagAttr function
|
879
|
+
*
|
880
|
+
* @param {String} tag
|
881
|
+
* @param {String} name
|
882
|
+
* @param {String} value
|
883
|
+
* @return {String}
|
884
|
+
*/
|
885
|
+
function onIgnoreTagAttr(tag, name, value) {
|
886
|
+
// do nothing
|
887
|
+
}
|
888
|
+
|
889
|
+
/**
|
890
|
+
* default escapeHtml function
|
891
|
+
*
|
892
|
+
* @param {String} html
|
893
|
+
*/
|
894
|
+
function escapeHtml(html) {
|
895
|
+
return html.replace(REGEXP_LT, "<").replace(REGEXP_GT, ">");
|
896
|
+
}
|
897
|
+
|
898
|
+
/**
|
899
|
+
* default safeAttrValue function
|
36
900
|
*
|
37
|
-
*
|
901
|
+
* @param {String} tag
|
902
|
+
* @param {String} name
|
903
|
+
* @param {String} value
|
904
|
+
* @param {Object} cssFilter
|
905
|
+
* @return {String}
|
38
906
|
*/
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
907
|
+
function safeAttrValue(tag, name, value, cssFilter) {
|
908
|
+
// unescape attribute value firstly
|
909
|
+
value = friendlyAttrValue(value);
|
910
|
+
|
911
|
+
if (name === "href" || name === "src") {
|
912
|
+
// filter `href` and `src` attribute
|
913
|
+
// only allow the value that starts with `http://` | `https://` | `mailto:` | `/` | `#`
|
914
|
+
value = _$2.trim(value);
|
915
|
+
if (value === "#") return "#";
|
916
|
+
if (
|
917
|
+
!(
|
918
|
+
value.substr(0, 7) === "http://" ||
|
919
|
+
value.substr(0, 8) === "https://" ||
|
920
|
+
value.substr(0, 7) === "mailto:" ||
|
921
|
+
value.substr(0, 4) === "tel:" ||
|
922
|
+
value.substr(0, 11) === "data:image/" ||
|
923
|
+
value.substr(0, 6) === "ftp://" ||
|
924
|
+
value.substr(0, 2) === "./" ||
|
925
|
+
value.substr(0, 3) === "../" ||
|
926
|
+
value[0] === "#" ||
|
927
|
+
value[0] === "/"
|
928
|
+
)
|
929
|
+
) {
|
930
|
+
return "";
|
43
931
|
}
|
44
|
-
}
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
932
|
+
} else if (name === "background") {
|
933
|
+
// filter `background` attribute (maybe no use)
|
934
|
+
// `javascript:`
|
935
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
|
936
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
|
937
|
+
return "";
|
50
938
|
}
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
939
|
+
} else if (name === "style") {
|
940
|
+
// `expression()`
|
941
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_7.lastIndex = 0;
|
942
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_7.test(value)) {
|
943
|
+
return "";
|
944
|
+
}
|
945
|
+
// `url()`
|
946
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_8.lastIndex = 0;
|
947
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_8.test(value)) {
|
948
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
|
949
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
|
950
|
+
return "";
|
951
|
+
}
|
952
|
+
}
|
953
|
+
if (cssFilter !== false) {
|
954
|
+
cssFilter = cssFilter || defaultCSSFilter;
|
955
|
+
value = cssFilter.process(value);
|
956
|
+
}
|
957
|
+
}
|
958
|
+
|
959
|
+
// escape `<>"` before returns
|
960
|
+
value = escapeAttrValue(value);
|
961
|
+
return value;
|
962
|
+
}
|
963
|
+
|
964
|
+
// RegExp list
|
965
|
+
var REGEXP_LT = /</g;
|
966
|
+
var REGEXP_GT = />/g;
|
967
|
+
var REGEXP_QUOTE = /"/g;
|
968
|
+
var REGEXP_QUOTE_2 = /"/g;
|
969
|
+
var REGEXP_ATTR_VALUE_1 = /&#([a-zA-Z0-9]*);?/gim;
|
970
|
+
var REGEXP_ATTR_VALUE_COLON = /:?/gim;
|
971
|
+
var REGEXP_ATTR_VALUE_NEWLINE = /&newline;?/gim;
|
972
|
+
// var REGEXP_DEFAULT_ON_TAG_ATTR_3 = /\/\*|\*\//gm;
|
973
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_4 =
|
974
|
+
/((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;
|
975
|
+
// var REGEXP_DEFAULT_ON_TAG_ATTR_5 = /^[\s"'`]*(d\s*a\s*t\s*a\s*)\:/gi;
|
976
|
+
// var REGEXP_DEFAULT_ON_TAG_ATTR_6 = /^[\s"'`]*(d\s*a\s*t\s*a\s*)\:\s*image\//gi;
|
977
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_7 =
|
978
|
+
/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi;
|
979
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_8 = /u\s*r\s*l\s*\(.*/gi;
|
980
|
+
|
981
|
+
/**
|
982
|
+
* escape double quote
|
983
|
+
*
|
984
|
+
* @param {String} str
|
985
|
+
* @return {String} str
|
986
|
+
*/
|
987
|
+
function escapeQuote(str) {
|
988
|
+
return str.replace(REGEXP_QUOTE, """);
|
989
|
+
}
|
990
|
+
|
991
|
+
/**
|
992
|
+
* unescape double quote
|
993
|
+
*
|
994
|
+
* @param {String} str
|
995
|
+
* @return {String} str
|
996
|
+
*/
|
997
|
+
function unescapeQuote(str) {
|
998
|
+
return str.replace(REGEXP_QUOTE_2, '"');
|
999
|
+
}
|
1000
|
+
|
1001
|
+
/**
|
1002
|
+
* escape html entities
|
1003
|
+
*
|
1004
|
+
* @param {String} str
|
1005
|
+
* @return {String}
|
1006
|
+
*/
|
1007
|
+
function escapeHtmlEntities(str) {
|
1008
|
+
return str.replace(REGEXP_ATTR_VALUE_1, function replaceUnicode(str, code) {
|
1009
|
+
return code[0] === "x" || code[0] === "X"
|
1010
|
+
? String.fromCharCode(parseInt(code.substr(1), 16))
|
1011
|
+
: String.fromCharCode(parseInt(code, 10));
|
1012
|
+
});
|
1013
|
+
}
|
1014
|
+
|
1015
|
+
/**
|
1016
|
+
* escape html5 new danger entities
|
1017
|
+
*
|
1018
|
+
* @param {String} str
|
1019
|
+
* @return {String}
|
1020
|
+
*/
|
1021
|
+
function escapeDangerHtml5Entities(str) {
|
1022
|
+
return str
|
1023
|
+
.replace(REGEXP_ATTR_VALUE_COLON, ":")
|
1024
|
+
.replace(REGEXP_ATTR_VALUE_NEWLINE, " ");
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
/**
|
1028
|
+
* clear nonprintable characters
|
1029
|
+
*
|
1030
|
+
* @param {String} str
|
1031
|
+
* @return {String}
|
1032
|
+
*/
|
1033
|
+
function clearNonPrintableCharacter(str) {
|
1034
|
+
var str2 = "";
|
1035
|
+
for (var i = 0, len = str.length; i < len; i++) {
|
1036
|
+
str2 += str.charCodeAt(i) < 32 ? " " : str.charAt(i);
|
1037
|
+
}
|
1038
|
+
return _$2.trim(str2);
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
/**
|
1042
|
+
* get friendly attribute value
|
1043
|
+
*
|
1044
|
+
* @param {String} str
|
1045
|
+
* @return {String}
|
1046
|
+
*/
|
1047
|
+
function friendlyAttrValue(str) {
|
1048
|
+
str = unescapeQuote(str);
|
1049
|
+
str = escapeHtmlEntities(str);
|
1050
|
+
str = escapeDangerHtml5Entities(str);
|
1051
|
+
str = clearNonPrintableCharacter(str);
|
1052
|
+
return str;
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
/**
|
1056
|
+
* unescape attribute value
|
1057
|
+
*
|
1058
|
+
* @param {String} str
|
1059
|
+
* @return {String}
|
1060
|
+
*/
|
1061
|
+
function escapeAttrValue(str) {
|
1062
|
+
str = escapeQuote(str);
|
1063
|
+
str = escapeHtml(str);
|
1064
|
+
return str;
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
/**
|
1068
|
+
* `onIgnoreTag` function for removing all the tags that are not in whitelist
|
1069
|
+
*/
|
1070
|
+
function onIgnoreTagStripAll() {
|
1071
|
+
return "";
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
/**
|
1075
|
+
* remove tag body
|
1076
|
+
* specify a `tags` list, if the tag is not in the `tags` list then process by the specify function (optional)
|
1077
|
+
*
|
1078
|
+
* @param {array} tags
|
1079
|
+
* @param {function} next
|
1080
|
+
*/
|
1081
|
+
function StripTagBody(tags, next) {
|
1082
|
+
if (typeof next !== "function") {
|
1083
|
+
next = function () {};
|
1084
|
+
}
|
1085
|
+
|
1086
|
+
var isRemoveAllTag = !Array.isArray(tags);
|
1087
|
+
function isRemoveTag(tag) {
|
1088
|
+
if (isRemoveAllTag) return true;
|
1089
|
+
return _$2.indexOf(tags, tag) !== -1;
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
var removeList = [];
|
1093
|
+
var posStart = false;
|
1094
|
+
|
1095
|
+
return {
|
1096
|
+
onIgnoreTag: function (tag, html, options) {
|
1097
|
+
if (isRemoveTag(tag)) {
|
1098
|
+
if (options.isClosing) {
|
1099
|
+
var ret = "[/removed]";
|
1100
|
+
var end = options.position + ret.length;
|
1101
|
+
removeList.push([
|
1102
|
+
posStart !== false ? posStart : options.position,
|
1103
|
+
end,
|
1104
|
+
]);
|
1105
|
+
posStart = false;
|
1106
|
+
return ret;
|
1107
|
+
} else {
|
1108
|
+
if (!posStart) {
|
1109
|
+
posStart = options.position;
|
1110
|
+
}
|
1111
|
+
return "[removed]";
|
1112
|
+
}
|
1113
|
+
} else {
|
1114
|
+
return next(tag, html, options);
|
1115
|
+
}
|
1116
|
+
},
|
1117
|
+
remove: function (html) {
|
1118
|
+
var rethtml = "";
|
1119
|
+
var lastPos = 0;
|
1120
|
+
_$2.forEach(removeList, function (pos) {
|
1121
|
+
rethtml += html.slice(lastPos, pos[0]);
|
1122
|
+
lastPos = pos[1];
|
1123
|
+
});
|
1124
|
+
rethtml += html.slice(lastPos);
|
1125
|
+
return rethtml;
|
1126
|
+
},
|
1127
|
+
};
|
1128
|
+
}
|
1129
|
+
|
1130
|
+
/**
|
1131
|
+
* remove html comments
|
1132
|
+
*
|
1133
|
+
* @param {String} html
|
1134
|
+
* @return {String}
|
1135
|
+
*/
|
1136
|
+
function stripCommentTag(html) {
|
1137
|
+
var retHtml = "";
|
1138
|
+
var lastPos = 0;
|
1139
|
+
while (lastPos < html.length) {
|
1140
|
+
var i = html.indexOf("<!--", lastPos);
|
1141
|
+
if (i === -1) {
|
1142
|
+
retHtml += html.slice(lastPos);
|
1143
|
+
break;
|
1144
|
+
}
|
1145
|
+
retHtml += html.slice(lastPos, i);
|
1146
|
+
var j = html.indexOf("-->", i);
|
1147
|
+
if (j === -1) {
|
1148
|
+
break;
|
1149
|
+
}
|
1150
|
+
lastPos = j + 3;
|
1151
|
+
}
|
1152
|
+
return retHtml;
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
/**
|
1156
|
+
* remove invisible characters
|
1157
|
+
*
|
1158
|
+
* @param {String} html
|
1159
|
+
* @return {String}
|
1160
|
+
*/
|
1161
|
+
function stripBlankChar(html) {
|
1162
|
+
var chars = html.split("");
|
1163
|
+
chars = chars.filter(function (char) {
|
1164
|
+
var c = char.charCodeAt(0);
|
1165
|
+
if (c === 127) return false;
|
1166
|
+
if (c <= 31) {
|
1167
|
+
if (c === 10 || c === 13) return true;
|
1168
|
+
return false;
|
1169
|
+
}
|
1170
|
+
return true;
|
1171
|
+
});
|
1172
|
+
return chars.join("");
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
_default$1.whiteList = getDefaultWhiteList();
|
1176
|
+
_default$1.getDefaultWhiteList = getDefaultWhiteList;
|
1177
|
+
_default$1.onTag = onTag;
|
1178
|
+
_default$1.onIgnoreTag = onIgnoreTag;
|
1179
|
+
_default$1.onTagAttr = onTagAttr;
|
1180
|
+
_default$1.onIgnoreTagAttr = onIgnoreTagAttr;
|
1181
|
+
_default$1.safeAttrValue = safeAttrValue;
|
1182
|
+
_default$1.escapeHtml = escapeHtml;
|
1183
|
+
_default$1.escapeQuote = escapeQuote;
|
1184
|
+
_default$1.unescapeQuote = unescapeQuote;
|
1185
|
+
_default$1.escapeHtmlEntities = escapeHtmlEntities;
|
1186
|
+
_default$1.escapeDangerHtml5Entities = escapeDangerHtml5Entities;
|
1187
|
+
_default$1.clearNonPrintableCharacter = clearNonPrintableCharacter;
|
1188
|
+
_default$1.friendlyAttrValue = friendlyAttrValue;
|
1189
|
+
_default$1.escapeAttrValue = escapeAttrValue;
|
1190
|
+
_default$1.onIgnoreTagStripAll = onIgnoreTagStripAll;
|
1191
|
+
_default$1.StripTagBody = StripTagBody;
|
1192
|
+
_default$1.stripCommentTag = stripCommentTag;
|
1193
|
+
_default$1.stripBlankChar = stripBlankChar;
|
1194
|
+
_default$1.cssFilter = defaultCSSFilter;
|
1195
|
+
_default$1.getDefaultCSSWhiteList = getDefaultCSSWhiteList;
|
1196
|
+
|
1197
|
+
var parser$1 = {};
|
1198
|
+
|
1199
|
+
/**
|
1200
|
+
* Simple HTML Parser
|
1201
|
+
*
|
1202
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
1203
|
+
*/
|
1204
|
+
|
1205
|
+
var _$1 = util;
|
1206
|
+
|
1207
|
+
/**
|
1208
|
+
* get tag name
|
1209
|
+
*
|
1210
|
+
* @param {String} html e.g. '<a hef="#">'
|
1211
|
+
* @return {String}
|
1212
|
+
*/
|
1213
|
+
function getTagName(html) {
|
1214
|
+
var i = _$1.spaceIndex(html);
|
1215
|
+
var tagName;
|
1216
|
+
if (i === -1) {
|
1217
|
+
tagName = html.slice(1, -1);
|
1218
|
+
} else {
|
1219
|
+
tagName = html.slice(1, i + 1);
|
1220
|
+
}
|
1221
|
+
tagName = _$1.trim(tagName).toLowerCase();
|
1222
|
+
if (tagName.slice(0, 1) === "/") tagName = tagName.slice(1);
|
1223
|
+
if (tagName.slice(-1) === "/") tagName = tagName.slice(0, -1);
|
1224
|
+
return tagName;
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
/**
|
1228
|
+
* is close tag?
|
1229
|
+
*
|
1230
|
+
* @param {String} html 如:'<a hef="#">'
|
1231
|
+
* @return {Boolean}
|
1232
|
+
*/
|
1233
|
+
function isClosing(html) {
|
1234
|
+
return html.slice(0, 2) === "</";
|
1235
|
+
}
|
1236
|
+
|
1237
|
+
/**
|
1238
|
+
* parse input html and returns processed html
|
1239
|
+
*
|
1240
|
+
* @param {String} html
|
1241
|
+
* @param {Function} onTag e.g. function (sourcePosition, position, tag, html, isClosing)
|
1242
|
+
* @param {Function} escapeHtml
|
1243
|
+
* @return {String}
|
1244
|
+
*/
|
1245
|
+
function parseTag$1(html, onTag, escapeHtml) {
|
1246
|
+
|
1247
|
+
var rethtml = "";
|
1248
|
+
var lastPos = 0;
|
1249
|
+
var tagStart = false;
|
1250
|
+
var quoteStart = false;
|
1251
|
+
var currentPos = 0;
|
1252
|
+
var len = html.length;
|
1253
|
+
var currentTagName = "";
|
1254
|
+
var currentHtml = "";
|
1255
|
+
|
1256
|
+
chariterator: for (currentPos = 0; currentPos < len; currentPos++) {
|
1257
|
+
var c = html.charAt(currentPos);
|
1258
|
+
if (tagStart === false) {
|
1259
|
+
if (c === "<") {
|
1260
|
+
tagStart = currentPos;
|
1261
|
+
continue;
|
1262
|
+
}
|
1263
|
+
} else {
|
1264
|
+
if (quoteStart === false) {
|
1265
|
+
if (c === "<") {
|
1266
|
+
rethtml += escapeHtml(html.slice(lastPos, currentPos));
|
1267
|
+
tagStart = currentPos;
|
1268
|
+
lastPos = currentPos;
|
1269
|
+
continue;
|
1270
|
+
}
|
1271
|
+
if (c === ">") {
|
1272
|
+
rethtml += escapeHtml(html.slice(lastPos, tagStart));
|
1273
|
+
currentHtml = html.slice(tagStart, currentPos + 1);
|
1274
|
+
currentTagName = getTagName(currentHtml);
|
1275
|
+
rethtml += onTag(
|
1276
|
+
tagStart,
|
1277
|
+
rethtml.length,
|
1278
|
+
currentTagName,
|
1279
|
+
currentHtml,
|
1280
|
+
isClosing(currentHtml)
|
1281
|
+
);
|
1282
|
+
lastPos = currentPos + 1;
|
1283
|
+
tagStart = false;
|
1284
|
+
continue;
|
1285
|
+
}
|
1286
|
+
if (c === '"' || c === "'") {
|
1287
|
+
var i = 1;
|
1288
|
+
var ic = html.charAt(currentPos - i);
|
1289
|
+
|
1290
|
+
while (ic.trim() === "" || ic === "=") {
|
1291
|
+
if (ic === "=") {
|
1292
|
+
quoteStart = c;
|
1293
|
+
continue chariterator;
|
64
1294
|
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
1295
|
+
ic = html.charAt(currentPos - ++i);
|
1296
|
+
}
|
1297
|
+
}
|
1298
|
+
} else {
|
1299
|
+
if (c === quoteStart) {
|
1300
|
+
quoteStart = false;
|
1301
|
+
continue;
|
1302
|
+
}
|
1303
|
+
}
|
1304
|
+
}
|
1305
|
+
}
|
1306
|
+
if (lastPos < html.length) {
|
1307
|
+
rethtml += escapeHtml(html.substr(lastPos));
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
return rethtml;
|
1311
|
+
}
|
1312
|
+
|
1313
|
+
var REGEXP_ILLEGAL_ATTR_NAME = /[^a-zA-Z0-9\\_:.-]/gim;
|
1314
|
+
|
1315
|
+
/**
|
1316
|
+
* parse input attributes and returns processed attributes
|
1317
|
+
*
|
1318
|
+
* @param {String} html e.g. `href="#" target="_blank"`
|
1319
|
+
* @param {Function} onAttr e.g. `function (name, value)`
|
1320
|
+
* @return {String}
|
1321
|
+
*/
|
1322
|
+
function parseAttr$1(html, onAttr) {
|
1323
|
+
|
1324
|
+
var lastPos = 0;
|
1325
|
+
var lastMarkPos = 0;
|
1326
|
+
var retAttrs = [];
|
1327
|
+
var tmpName = false;
|
1328
|
+
var len = html.length;
|
1329
|
+
|
1330
|
+
function addAttr(name, value) {
|
1331
|
+
name = _$1.trim(name);
|
1332
|
+
name = name.replace(REGEXP_ILLEGAL_ATTR_NAME, "").toLowerCase();
|
1333
|
+
if (name.length < 1) return;
|
1334
|
+
var ret = onAttr(name, value || "");
|
1335
|
+
if (ret) retAttrs.push(ret);
|
1336
|
+
}
|
1337
|
+
|
1338
|
+
// 逐个分析字符
|
1339
|
+
for (var i = 0; i < len; i++) {
|
1340
|
+
var c = html.charAt(i);
|
1341
|
+
var v, j;
|
1342
|
+
if (tmpName === false && c === "=") {
|
1343
|
+
tmpName = html.slice(lastPos, i);
|
1344
|
+
lastPos = i + 1;
|
1345
|
+
lastMarkPos = html.charAt(lastPos) === '"' || html.charAt(lastPos) === "'" ? lastPos : findNextQuotationMark(html, i + 1);
|
1346
|
+
continue;
|
1347
|
+
}
|
1348
|
+
if (tmpName !== false) {
|
1349
|
+
if (
|
1350
|
+
i === lastMarkPos
|
1351
|
+
) {
|
1352
|
+
j = html.indexOf(c, i + 1);
|
1353
|
+
if (j === -1) {
|
1354
|
+
break;
|
1355
|
+
} else {
|
1356
|
+
v = _$1.trim(html.slice(lastMarkPos + 1, j));
|
1357
|
+
addAttr(tmpName, v);
|
1358
|
+
tmpName = false;
|
1359
|
+
i = j;
|
1360
|
+
lastPos = i + 1;
|
1361
|
+
continue;
|
1362
|
+
}
|
1363
|
+
}
|
1364
|
+
}
|
1365
|
+
if (/\s|\n|\t/.test(c)) {
|
1366
|
+
html = html.replace(/\s|\n|\t/g, " ");
|
1367
|
+
if (tmpName === false) {
|
1368
|
+
j = findNextEqual(html, i);
|
1369
|
+
if (j === -1) {
|
1370
|
+
v = _$1.trim(html.slice(lastPos, i));
|
1371
|
+
addAttr(v);
|
1372
|
+
tmpName = false;
|
1373
|
+
lastPos = i + 1;
|
1374
|
+
continue;
|
1375
|
+
} else {
|
1376
|
+
i = j - 1;
|
1377
|
+
continue;
|
1378
|
+
}
|
1379
|
+
} else {
|
1380
|
+
j = findBeforeEqual(html, i - 1);
|
1381
|
+
if (j === -1) {
|
1382
|
+
v = _$1.trim(html.slice(lastPos, i));
|
1383
|
+
v = stripQuoteWrap(v);
|
1384
|
+
addAttr(tmpName, v);
|
1385
|
+
tmpName = false;
|
1386
|
+
lastPos = i + 1;
|
1387
|
+
continue;
|
1388
|
+
} else {
|
1389
|
+
continue;
|
1390
|
+
}
|
1391
|
+
}
|
1392
|
+
}
|
1393
|
+
}
|
1394
|
+
|
1395
|
+
if (lastPos < html.length) {
|
1396
|
+
if (tmpName === false) {
|
1397
|
+
addAttr(html.slice(lastPos));
|
1398
|
+
} else {
|
1399
|
+
addAttr(tmpName, stripQuoteWrap(_$1.trim(html.slice(lastPos))));
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
|
1403
|
+
return _$1.trim(retAttrs.join(" "));
|
1404
|
+
}
|
1405
|
+
|
1406
|
+
function findNextEqual(str, i) {
|
1407
|
+
for (; i < str.length; i++) {
|
1408
|
+
var c = str[i];
|
1409
|
+
if (c === " ") continue;
|
1410
|
+
if (c === "=") return i;
|
1411
|
+
return -1;
|
1412
|
+
}
|
1413
|
+
}
|
1414
|
+
|
1415
|
+
function findNextQuotationMark(str, i) {
|
1416
|
+
for (; i < str.length; i++) {
|
1417
|
+
var c = str[i];
|
1418
|
+
if (c === " ") continue;
|
1419
|
+
if (c === "'" || c === '"') return i;
|
1420
|
+
return -1;
|
1421
|
+
}
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
function findBeforeEqual(str, i) {
|
1425
|
+
for (; i > 0; i--) {
|
1426
|
+
var c = str[i];
|
1427
|
+
if (c === " ") continue;
|
1428
|
+
if (c === "=") return i;
|
1429
|
+
return -1;
|
1430
|
+
}
|
1431
|
+
}
|
1432
|
+
|
1433
|
+
function isQuoteWrapString(text) {
|
1434
|
+
if (
|
1435
|
+
(text[0] === '"' && text[text.length - 1] === '"') ||
|
1436
|
+
(text[0] === "'" && text[text.length - 1] === "'")
|
1437
|
+
) {
|
1438
|
+
return true;
|
1439
|
+
} else {
|
1440
|
+
return false;
|
1441
|
+
}
|
1442
|
+
}
|
1443
|
+
|
1444
|
+
function stripQuoteWrap(text) {
|
1445
|
+
if (isQuoteWrapString(text)) {
|
1446
|
+
return text.substr(1, text.length - 2);
|
1447
|
+
} else {
|
1448
|
+
return text;
|
1449
|
+
}
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
parser$1.parseTag = parseTag$1;
|
1453
|
+
parser$1.parseAttr = parseAttr$1;
|
1454
|
+
|
1455
|
+
/**
|
1456
|
+
* filter xss
|
1457
|
+
*
|
1458
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
1459
|
+
*/
|
1460
|
+
|
1461
|
+
var FilterCSS = libExports$1.FilterCSS;
|
1462
|
+
var DEFAULT = _default$1;
|
1463
|
+
var parser = parser$1;
|
1464
|
+
var parseTag = parser.parseTag;
|
1465
|
+
var parseAttr = parser.parseAttr;
|
1466
|
+
var _ = util;
|
1467
|
+
|
1468
|
+
/**
|
1469
|
+
* returns `true` if the input value is `undefined` or `null`
|
1470
|
+
*
|
1471
|
+
* @param {Object} obj
|
1472
|
+
* @return {Boolean}
|
1473
|
+
*/
|
1474
|
+
function isNull(obj) {
|
1475
|
+
return obj === undefined || obj === null;
|
1476
|
+
}
|
1477
|
+
|
1478
|
+
/**
|
1479
|
+
* get attributes for a tag
|
1480
|
+
*
|
1481
|
+
* @param {String} html
|
1482
|
+
* @return {Object}
|
1483
|
+
* - {String} html
|
1484
|
+
* - {Boolean} closing
|
1485
|
+
*/
|
1486
|
+
function getAttrs(html) {
|
1487
|
+
var i = _.spaceIndex(html);
|
1488
|
+
if (i === -1) {
|
1489
|
+
return {
|
1490
|
+
html: "",
|
1491
|
+
closing: html[html.length - 2] === "/",
|
71
1492
|
};
|
1493
|
+
}
|
1494
|
+
html = _.trim(html.slice(i + 1, -1));
|
1495
|
+
var isClosing = html[html.length - 1] === "/";
|
1496
|
+
if (isClosing) html = _.trim(html.slice(0, -1));
|
1497
|
+
return {
|
1498
|
+
html: html,
|
1499
|
+
closing: isClosing,
|
1500
|
+
};
|
1501
|
+
}
|
1502
|
+
|
1503
|
+
/**
|
1504
|
+
* shallow copy
|
1505
|
+
*
|
1506
|
+
* @param {Object} obj
|
1507
|
+
* @return {Object}
|
1508
|
+
*/
|
1509
|
+
function shallowCopyObject(obj) {
|
1510
|
+
var ret = {};
|
1511
|
+
for (var i in obj) {
|
1512
|
+
ret[i] = obj[i];
|
1513
|
+
}
|
1514
|
+
return ret;
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
function keysToLowerCase(obj) {
|
1518
|
+
var ret = {};
|
1519
|
+
for (var i in obj) {
|
1520
|
+
if (Array.isArray(obj[i])) {
|
1521
|
+
ret[i.toLowerCase()] = obj[i].map(function (item) {
|
1522
|
+
return item.toLowerCase();
|
1523
|
+
});
|
1524
|
+
} else {
|
1525
|
+
ret[i.toLowerCase()] = obj[i];
|
1526
|
+
}
|
1527
|
+
}
|
1528
|
+
return ret;
|
1529
|
+
}
|
1530
|
+
|
1531
|
+
/**
|
1532
|
+
* FilterXSS class
|
1533
|
+
*
|
1534
|
+
* @param {Object} options
|
1535
|
+
* whiteList (or allowList), onTag, onTagAttr, onIgnoreTag,
|
1536
|
+
* onIgnoreTagAttr, safeAttrValue, escapeHtml
|
1537
|
+
* stripIgnoreTagBody, allowCommentTag, stripBlankChar
|
1538
|
+
* css{whiteList, onAttr, onIgnoreAttr} `css=false` means don't use `cssfilter`
|
1539
|
+
*/
|
1540
|
+
function FilterXSS(options) {
|
1541
|
+
options = shallowCopyObject(options || {});
|
1542
|
+
|
1543
|
+
if (options.stripIgnoreTag) {
|
1544
|
+
if (options.onIgnoreTag) {
|
1545
|
+
console.error(
|
1546
|
+
'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
|
1547
|
+
);
|
1548
|
+
}
|
1549
|
+
options.onIgnoreTag = DEFAULT.onIgnoreTagStripAll;
|
1550
|
+
}
|
1551
|
+
if (options.whiteList || options.allowList) {
|
1552
|
+
options.whiteList = keysToLowerCase(options.whiteList || options.allowList);
|
1553
|
+
} else {
|
1554
|
+
options.whiteList = DEFAULT.whiteList;
|
1555
|
+
}
|
1556
|
+
|
1557
|
+
options.onTag = options.onTag || DEFAULT.onTag;
|
1558
|
+
options.onTagAttr = options.onTagAttr || DEFAULT.onTagAttr;
|
1559
|
+
options.onIgnoreTag = options.onIgnoreTag || DEFAULT.onIgnoreTag;
|
1560
|
+
options.onIgnoreTagAttr = options.onIgnoreTagAttr || DEFAULT.onIgnoreTagAttr;
|
1561
|
+
options.safeAttrValue = options.safeAttrValue || DEFAULT.safeAttrValue;
|
1562
|
+
options.escapeHtml = options.escapeHtml || DEFAULT.escapeHtml;
|
1563
|
+
this.options = options;
|
1564
|
+
|
1565
|
+
if (options.css === false) {
|
1566
|
+
this.cssFilter = false;
|
1567
|
+
} else {
|
1568
|
+
options.css = options.css || {};
|
1569
|
+
this.cssFilter = new FilterCSS(options.css);
|
1570
|
+
}
|
1571
|
+
}
|
1572
|
+
|
1573
|
+
/**
|
1574
|
+
* start process and returns result
|
1575
|
+
*
|
1576
|
+
* @param {String} html
|
1577
|
+
* @return {String}
|
1578
|
+
*/
|
1579
|
+
FilterXSS.prototype.process = function (html) {
|
1580
|
+
// compatible with the input
|
1581
|
+
html = html || "";
|
1582
|
+
html = html.toString();
|
1583
|
+
if (!html) return "";
|
1584
|
+
|
1585
|
+
var me = this;
|
1586
|
+
var options = me.options;
|
1587
|
+
var whiteList = options.whiteList;
|
1588
|
+
var onTag = options.onTag;
|
1589
|
+
var onIgnoreTag = options.onIgnoreTag;
|
1590
|
+
var onTagAttr = options.onTagAttr;
|
1591
|
+
var onIgnoreTagAttr = options.onIgnoreTagAttr;
|
1592
|
+
var safeAttrValue = options.safeAttrValue;
|
1593
|
+
var escapeHtml = options.escapeHtml;
|
1594
|
+
var cssFilter = me.cssFilter;
|
1595
|
+
|
1596
|
+
// remove invisible characters
|
1597
|
+
if (options.stripBlankChar) {
|
1598
|
+
html = DEFAULT.stripBlankChar(html);
|
1599
|
+
}
|
1600
|
+
|
1601
|
+
// remove html comments
|
1602
|
+
if (!options.allowCommentTag) {
|
1603
|
+
html = DEFAULT.stripCommentTag(html);
|
1604
|
+
}
|
1605
|
+
|
1606
|
+
// if enable stripIgnoreTagBody
|
1607
|
+
var stripIgnoreTagBody = false;
|
1608
|
+
if (options.stripIgnoreTagBody) {
|
1609
|
+
stripIgnoreTagBody = DEFAULT.StripTagBody(
|
1610
|
+
options.stripIgnoreTagBody,
|
1611
|
+
onIgnoreTag
|
1612
|
+
);
|
1613
|
+
onIgnoreTag = stripIgnoreTagBody.onIgnoreTag;
|
1614
|
+
}
|
1615
|
+
|
1616
|
+
var retHtml = parseTag(
|
1617
|
+
html,
|
1618
|
+
function (sourcePosition, position, tag, html, isClosing) {
|
1619
|
+
var info = {
|
1620
|
+
sourcePosition: sourcePosition,
|
1621
|
+
position: position,
|
1622
|
+
isClosing: isClosing,
|
1623
|
+
isWhite: Object.prototype.hasOwnProperty.call(whiteList, tag),
|
1624
|
+
};
|
1625
|
+
|
1626
|
+
// call `onTag()`
|
1627
|
+
var ret = onTag(tag, html, info);
|
1628
|
+
if (!isNull(ret)) return ret;
|
1629
|
+
|
1630
|
+
if (info.isWhite) {
|
1631
|
+
if (info.isClosing) {
|
1632
|
+
return "</" + tag + ">";
|
1633
|
+
}
|
1634
|
+
|
1635
|
+
var attrs = getAttrs(html);
|
1636
|
+
var whiteAttrList = whiteList[tag];
|
1637
|
+
var attrsHtml = parseAttr(attrs.html, function (name, value) {
|
1638
|
+
// call `onTagAttr()`
|
1639
|
+
var isWhiteAttr = _.indexOf(whiteAttrList, name) !== -1;
|
1640
|
+
var ret = onTagAttr(tag, name, value, isWhiteAttr);
|
1641
|
+
if (!isNull(ret)) return ret;
|
1642
|
+
|
1643
|
+
if (isWhiteAttr) {
|
1644
|
+
// call `safeAttrValue()`
|
1645
|
+
value = safeAttrValue(tag, name, value, cssFilter);
|
1646
|
+
if (value) {
|
1647
|
+
return name + '="' + value + '"';
|
1648
|
+
} else {
|
1649
|
+
return name;
|
1650
|
+
}
|
1651
|
+
} else {
|
1652
|
+
// call `onIgnoreTagAttr()`
|
1653
|
+
ret = onIgnoreTagAttr(tag, name, value, isWhiteAttr);
|
1654
|
+
if (!isNull(ret)) return ret;
|
1655
|
+
return;
|
1656
|
+
}
|
1657
|
+
});
|
1658
|
+
|
1659
|
+
// build new tag html
|
1660
|
+
html = "<" + tag;
|
1661
|
+
if (attrsHtml) html += " " + attrsHtml;
|
1662
|
+
if (attrs.closing) html += " /";
|
1663
|
+
html += ">";
|
1664
|
+
return html;
|
1665
|
+
} else {
|
1666
|
+
// call `onIgnoreTag()`
|
1667
|
+
ret = onIgnoreTag(tag, html, info);
|
1668
|
+
if (!isNull(ret)) return ret;
|
1669
|
+
return escapeHtml(html);
|
1670
|
+
}
|
1671
|
+
},
|
1672
|
+
escapeHtml
|
1673
|
+
);
|
1674
|
+
|
1675
|
+
// if enable stripIgnoreTagBody
|
1676
|
+
if (stripIgnoreTagBody) {
|
1677
|
+
retHtml = stripIgnoreTagBody.remove(retHtml);
|
1678
|
+
}
|
1679
|
+
|
1680
|
+
return retHtml;
|
72
1681
|
};
|
73
1682
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
1683
|
+
var xss = FilterXSS;
|
1684
|
+
|
1685
|
+
/**
|
1686
|
+
* xss
|
1687
|
+
*
|
1688
|
+
* @author Zongmin Lei<leizongmin@gmail.com>
|
1689
|
+
*/
|
1690
|
+
|
1691
|
+
(function (module, exports) {
|
1692
|
+
var DEFAULT = _default$1;
|
1693
|
+
var parser = parser$1;
|
1694
|
+
var FilterXSS = xss;
|
1695
|
+
|
1696
|
+
/**
|
1697
|
+
* filter xss function
|
1698
|
+
*
|
1699
|
+
* @param {String} html
|
1700
|
+
* @param {Object} options { whiteList, onTag, onTagAttr, onIgnoreTag, onIgnoreTagAttr, safeAttrValue, escapeHtml }
|
1701
|
+
* @return {String}
|
1702
|
+
*/
|
1703
|
+
function filterXSS(html, options) {
|
1704
|
+
var xss = new FilterXSS(options);
|
1705
|
+
return xss.process(html);
|
1706
|
+
}
|
1707
|
+
|
1708
|
+
exports = module.exports = filterXSS;
|
1709
|
+
exports.filterXSS = filterXSS;
|
1710
|
+
exports.FilterXSS = FilterXSS;
|
1711
|
+
|
1712
|
+
(function () {
|
1713
|
+
for (var i in DEFAULT) {
|
1714
|
+
exports[i] = DEFAULT[i];
|
1715
|
+
}
|
1716
|
+
for (var j in parser) {
|
1717
|
+
exports[j] = parser[j];
|
1718
|
+
}
|
1719
|
+
})();
|
1720
|
+
|
1721
|
+
// using `xss` on the WebWorker, output `filterXSS` to the globals
|
1722
|
+
function isWorkerEnv() {
|
1723
|
+
return (
|
1724
|
+
typeof self !== "undefined" &&
|
1725
|
+
typeof DedicatedWorkerGlobalScope !== "undefined" &&
|
1726
|
+
self instanceof DedicatedWorkerGlobalScope
|
1727
|
+
);
|
1728
|
+
}
|
1729
|
+
if (isWorkerEnv()) {
|
1730
|
+
self.filterXSS = module.exports;
|
1731
|
+
}
|
1732
|
+
} (lib$1, lib$1.exports));
|
1733
|
+
|
1734
|
+
var libExports = lib$1.exports;
|
1735
|
+
|
1736
|
+
/**
|
1737
|
+
* Determine if the value is a plain object.
|
1738
|
+
* @param {*} value The value to check.
|
1739
|
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
1740
|
+
*/
|
1741
|
+
var isPlainObject = function (value) {
|
1742
|
+
if (typeof value !== "object" || value === null) {
|
1743
|
+
return false;
|
1744
|
+
}
|
1745
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") {
|
1746
|
+
return false;
|
1747
|
+
}
|
1748
|
+
var proto = Object.getPrototypeOf(value);
|
1749
|
+
if (proto === null) {
|
1750
|
+
return true;
|
1751
|
+
}
|
1752
|
+
while (Object.getPrototypeOf(proto) !== null) {
|
1753
|
+
proto = Object.getPrototypeOf(proto);
|
1754
|
+
}
|
1755
|
+
return Object.getPrototypeOf(value) === proto;
|
1756
|
+
};
|
1757
|
+
|
1758
|
+
/**
|
1759
|
+
* The Sanitizer Class
|
1760
|
+
*
|
1761
|
+
* @export
|
1762
|
+
* @class Sanitizer
|
1763
|
+
*/
|
1764
|
+
var Sanitizer = /** @class */ (function () {
|
1765
|
+
function Sanitizer(filterOptions, extendDefaults) {
|
1766
|
+
var _this = this;
|
1767
|
+
// Supported HTML Spec: https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm
|
1768
|
+
this.arcgisWhiteList = {
|
1769
|
+
a: ["href", "style", "target"],
|
1770
|
+
abbr: ["title"],
|
1771
|
+
article: ["style"],
|
1772
|
+
aside: ["style"],
|
1773
|
+
audio: ["autoplay", "controls", "loop", "muted", "preload"],
|
1774
|
+
b: [],
|
1775
|
+
blockquote: ["style"],
|
1776
|
+
br: [],
|
1777
|
+
code: ["style"],
|
1778
|
+
dd: ["style"],
|
1779
|
+
details: ["style"],
|
1780
|
+
div: ["align", "style", "aria-label", "aria-hidden"],
|
1781
|
+
dl: ["style"],
|
1782
|
+
dt: ["style"],
|
1783
|
+
em: [],
|
1784
|
+
figcaption: ["style"],
|
1785
|
+
figure: ["style"],
|
1786
|
+
font: ["color", "face", "size", "style"],
|
1787
|
+
footer: ["style"],
|
1788
|
+
h1: ["style"],
|
1789
|
+
h2: ["style"],
|
1790
|
+
h3: ["style"],
|
1791
|
+
h4: ["style"],
|
1792
|
+
h5: ["style"],
|
1793
|
+
h6: ["style"],
|
1794
|
+
header: ["style"],
|
1795
|
+
hr: [],
|
1796
|
+
i: [],
|
1797
|
+
img: ["alt", "border", "height", "src", "style", "width"],
|
1798
|
+
li: [],
|
1799
|
+
main: ["style"],
|
1800
|
+
mark: ["style"],
|
1801
|
+
nav: ["style"],
|
1802
|
+
ol: [],
|
1803
|
+
p: ["style"],
|
1804
|
+
pre: ["style"],
|
1805
|
+
section: ["style"],
|
1806
|
+
source: ["media", "src", "type"],
|
1807
|
+
span: ["style"],
|
1808
|
+
strong: [],
|
1809
|
+
sub: ["style"],
|
1810
|
+
summary: ["style"],
|
1811
|
+
sup: ["style"],
|
1812
|
+
table: ["border", "cellpadding", "cellspacing", "height", "style", "width"],
|
1813
|
+
tbody: [],
|
1814
|
+
tr: ["align", "height", "style", "valign"],
|
1815
|
+
td: [
|
1816
|
+
"align",
|
1817
|
+
"colspan",
|
1818
|
+
"height",
|
1819
|
+
"nowrap",
|
1820
|
+
"rowspan",
|
1821
|
+
"style",
|
1822
|
+
"valign",
|
1823
|
+
"width",
|
1824
|
+
],
|
1825
|
+
th: [
|
1826
|
+
"align",
|
1827
|
+
"colspan",
|
1828
|
+
"height",
|
1829
|
+
"nowrap",
|
1830
|
+
"rowspan",
|
1831
|
+
"style",
|
1832
|
+
"valign",
|
1833
|
+
"width",
|
1834
|
+
],
|
1835
|
+
time: ["style"],
|
1836
|
+
u: [],
|
1837
|
+
ul: [],
|
1838
|
+
video: [
|
1839
|
+
"autoplay",
|
1840
|
+
"controls",
|
1841
|
+
"height",
|
1842
|
+
"loop",
|
1843
|
+
"muted",
|
1844
|
+
"poster",
|
1845
|
+
"preload",
|
1846
|
+
"width",
|
1847
|
+
],
|
1848
|
+
};
|
1849
|
+
this.arcgisCSSWhiteList = __assign(__assign({}, libExports.getDefaultCSSWhiteList()), { "flex": true, "flex-basis": true, "flex-direction": true, "flex-flow": true, "flex-grow": true, "flex-shrink": true, "flex-wrap": true, "line-height": true, "justify-content": true, "overflow": true });
|
1850
|
+
this.allowedProtocols = [
|
1851
|
+
"http",
|
1852
|
+
"https",
|
1853
|
+
"mailto",
|
1854
|
+
"iform",
|
1855
|
+
"tel",
|
1856
|
+
"flow",
|
1857
|
+
"lfmobile",
|
1858
|
+
"arcgis-navigator",
|
1859
|
+
"arcgis-appstudio-player",
|
1860
|
+
"arcgis-survey123",
|
1861
|
+
"arcgis-collector",
|
1862
|
+
"arcgis-workforce",
|
1863
|
+
"arcgis-explorer",
|
1864
|
+
"arcgis-trek2there",
|
1865
|
+
"arcgis-quickcapture",
|
1866
|
+
"mspbi",
|
1867
|
+
"comgooglemaps",
|
1868
|
+
"pdfefile",
|
1869
|
+
"pdfehttp",
|
1870
|
+
"pdfehttps",
|
1871
|
+
"boxapp",
|
1872
|
+
"boxemm",
|
1873
|
+
"awb",
|
1874
|
+
"awbs",
|
1875
|
+
"gropen",
|
1876
|
+
"radarscope",
|
1877
|
+
];
|
1878
|
+
this.arcgisFilterOptions = {
|
1879
|
+
allowCommentTag: true,
|
1880
|
+
safeAttrValue: function (tag, name, value, cssFilter) {
|
1881
|
+
// Take over safe attribute filtering for `a` `href`, `img` `src`,
|
1882
|
+
// and `source` `src` attributes, otherwise pass onto the
|
1883
|
+
// default `XSS.safeAttrValue` method.
|
1884
|
+
if ((tag === "a" && name === "href") ||
|
1885
|
+
((tag === "img" || tag === "source") && name === "src")) {
|
1886
|
+
return _this.sanitizeUrl(value);
|
1887
|
+
}
|
1888
|
+
return libExports.safeAttrValue(tag, name, value, cssFilter);
|
1889
|
+
},
|
1890
|
+
};
|
1891
|
+
this._entityMap = {
|
1892
|
+
"&": "8",
|
1893
|
+
"<": "<",
|
1894
|
+
">": ">",
|
1895
|
+
'"': """,
|
1896
|
+
"'": "'",
|
1897
|
+
"/": "/",
|
1898
|
+
};
|
1899
|
+
var xssFilterOptions;
|
1900
|
+
if (filterOptions && !extendDefaults) {
|
1901
|
+
// Override the defaults
|
1902
|
+
xssFilterOptions = filterOptions;
|
1903
|
+
}
|
1904
|
+
else if (filterOptions && extendDefaults) {
|
1905
|
+
// Extend the defaults
|
1906
|
+
xssFilterOptions = Object.create(this.arcgisFilterOptions);
|
1907
|
+
xssFilterOptions.css = { whiteList: this.arcgisCSSWhiteList };
|
1908
|
+
Object.keys(filterOptions).forEach(function (key) {
|
1909
|
+
if (key === "whiteList") {
|
1910
|
+
// Extend the whitelist by concatenating arrays
|
1911
|
+
xssFilterOptions.whiteList = _this._extendObjectOfArrays([
|
1912
|
+
_this.arcgisWhiteList,
|
1913
|
+
filterOptions.whiteList || {},
|
1914
|
+
]);
|
1915
|
+
}
|
1916
|
+
else if (key === "css") {
|
1917
|
+
var cssExtensions_1 = filterOptions.css.whiteList;
|
1918
|
+
if (cssExtensions_1 != null && filterOptions.css instanceof Object) {
|
1919
|
+
Object.keys(cssExtensions_1).forEach(function (attr) {
|
1920
|
+
return (xssFilterOptions.css.whiteList[attr] =
|
1921
|
+
cssExtensions_1[attr]);
|
1922
|
+
});
|
1923
|
+
}
|
1924
|
+
}
|
1925
|
+
else {
|
1926
|
+
xssFilterOptions[key] = filterOptions[key];
|
1927
|
+
}
|
1928
|
+
});
|
1929
|
+
}
|
1930
|
+
else {
|
1931
|
+
// Only use the defaults
|
1932
|
+
xssFilterOptions = Object.create(this.arcgisFilterOptions);
|
1933
|
+
xssFilterOptions.whiteList = this.arcgisWhiteList;
|
1934
|
+
xssFilterOptions.css = { whiteList: this.arcgisCSSWhiteList };
|
1935
|
+
}
|
1936
|
+
this.xssFilterOptions = xssFilterOptions;
|
1937
|
+
// Make this readable to tests
|
1938
|
+
this._xssFilter = new libExports.FilterXSS(xssFilterOptions);
|
1939
|
+
}
|
1940
|
+
/**
|
1941
|
+
* Sanitizes value to remove invalid HTML tags.
|
1942
|
+
*
|
1943
|
+
* Note: If the value passed does not contain a valid JSON data type (String,
|
1944
|
+
* Number, JSON Object, Array, Boolean, or null), the value will be nullified.
|
1945
|
+
*
|
1946
|
+
* @param {any} value The value to sanitize.
|
1947
|
+
* @returns {any} The sanitized value.
|
1948
|
+
* @memberof Sanitizer
|
1949
|
+
*/
|
1950
|
+
Sanitizer.prototype.sanitize = function (value, options) {
|
1951
|
+
if (options === void 0) { options = {}; }
|
1952
|
+
switch (typeof value) {
|
1953
|
+
case "number":
|
1954
|
+
if (isNaN(value) || !isFinite(value)) {
|
1955
|
+
return null;
|
1956
|
+
}
|
1957
|
+
return value;
|
1958
|
+
case "boolean":
|
1959
|
+
return value;
|
1960
|
+
case "string":
|
1961
|
+
return this._xssFilter.process(value);
|
1962
|
+
case "object":
|
1963
|
+
return this._iterateOverObject(value, options);
|
1964
|
+
default:
|
1965
|
+
if (options.allowUndefined && typeof value === "undefined") {
|
1966
|
+
return;
|
1967
|
+
}
|
1968
|
+
return null;
|
1969
|
+
}
|
96
1970
|
};
|
97
|
-
|
98
|
-
|
99
|
-
|
1971
|
+
/**
|
1972
|
+
* Sanitizes a URL string following the allowed protocols and sanitization rules.
|
1973
|
+
*
|
1974
|
+
* @param {string} value The URL to sanitize.
|
1975
|
+
* @param {{ isProtocolRequired: boolean }} options Configuration options for URL checking.
|
1976
|
+
* @returns {string} The sanitized URL if it's valid, or an empty string if the URL is invalid.
|
1977
|
+
*/
|
1978
|
+
Sanitizer.prototype.sanitizeUrl = function (value, options) {
|
1979
|
+
var _a = (options !== null && options !== void 0 ? options : {}).isProtocolRequired, isProtocolRequired = _a === void 0 ? true : _a;
|
1980
|
+
var protocol = this._trim(value.substring(0, value.indexOf(":")));
|
1981
|
+
var isRootUrl = value === "/";
|
1982
|
+
var isUrlFragment = /^#/.test(value);
|
1983
|
+
var isValidProtocol = protocol && this.allowedProtocols.indexOf(protocol.toLowerCase()) > -1;
|
1984
|
+
if (isRootUrl || isUrlFragment || isValidProtocol) {
|
1985
|
+
return libExports.escapeAttrValue(value);
|
1986
|
+
}
|
1987
|
+
if (!protocol && !isProtocolRequired) {
|
1988
|
+
return libExports.escapeAttrValue("https://".concat(value));
|
1989
|
+
}
|
1990
|
+
return "";
|
100
1991
|
};
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
1992
|
+
/**
|
1993
|
+
* Sanitizes an HTML attribute value.
|
1994
|
+
*
|
1995
|
+
* @param {string} tag The tagname of the HTML element.
|
1996
|
+
* @param {string} attribute The attribute name of the HTML element.
|
1997
|
+
* @param {string} value The raw value to be used for the HTML attribute value.
|
1998
|
+
* @param {XSS.ICSSFilter} [cssFilter] The CSS filter to be used.
|
1999
|
+
* @returns {string} The sanitized attribute value.
|
2000
|
+
* @memberof Sanitizer
|
2001
|
+
*/
|
2002
|
+
Sanitizer.prototype.sanitizeHTMLAttribute = function (tag, attribute, value, cssFilter) {
|
2003
|
+
// use the custom safeAttrValue function if provided
|
2004
|
+
if (typeof this.xssFilterOptions.safeAttrValue === "function") {
|
2005
|
+
return this.xssFilterOptions.safeAttrValue(tag, attribute, value,
|
2006
|
+
// @ts-expect-error safeAttrValue does handle undefined cssFilter
|
2007
|
+
cssFilter);
|
106
2008
|
}
|
2009
|
+
// otherwise use the default
|
2010
|
+
// @ts-ignore safeAttrValue does handle undefined cssFilter
|
2011
|
+
return libExports.safeAttrValue(tag, attribute, value, cssFilter);
|
107
2012
|
};
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
};
|
122
|
-
},
|
123
|
-
has(_, propName) {
|
124
|
-
return states.has(propName);
|
125
|
-
},
|
126
|
-
set(_, propName, value) {
|
127
|
-
set(propName, value);
|
128
|
-
return true;
|
129
|
-
},
|
130
|
-
}));
|
131
|
-
const on = (eventName, callback) => {
|
132
|
-
handlers[eventName].push(callback);
|
133
|
-
return () => {
|
134
|
-
removeFromArray(handlers[eventName], callback);
|
2013
|
+
/**
|
2014
|
+
* Checks if a value only contains valid HTML.
|
2015
|
+
*
|
2016
|
+
* @param {any} value The value to validate.
|
2017
|
+
* @returns {boolean}
|
2018
|
+
* @memberof Sanitizer
|
2019
|
+
*/
|
2020
|
+
Sanitizer.prototype.validate = function (value, options) {
|
2021
|
+
if (options === void 0) { options = {}; }
|
2022
|
+
var sanitized = this.sanitize(value, options);
|
2023
|
+
return {
|
2024
|
+
isValid: value === sanitized,
|
2025
|
+
sanitized: sanitized,
|
135
2026
|
};
|
136
2027
|
};
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
2028
|
+
/**
|
2029
|
+
* Encodes the following characters, `& < > \" ' /` to their hexadecimal HTML entity code.
|
2030
|
+
* Example: "·" => "8middot;"
|
2031
|
+
*
|
2032
|
+
* @param {string} value The value to encode.
|
2033
|
+
* @returns {string} The encoded string value.
|
2034
|
+
* @memberof Sanitizer
|
2035
|
+
*/
|
2036
|
+
Sanitizer.prototype.encodeHTML = function (value) {
|
2037
|
+
var _this = this;
|
2038
|
+
return String(value).replace(/[&<>"'\/]/g, function (s) {
|
2039
|
+
return _this._entityMap[s];
|
142
2040
|
});
|
143
|
-
// We need to unwrap the defaultState because it might be a function.
|
144
|
-
// Otherwise we might not be sending the right reset value.
|
145
|
-
const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));
|
146
|
-
return () => {
|
147
|
-
unSet();
|
148
|
-
unReset();
|
149
|
-
};
|
150
2041
|
};
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
2042
|
+
/**
|
2043
|
+
* Encodes all non-alphanumeric ASCII characters to their hexadecimal HTML entity codes.
|
2044
|
+
* Example: "alert(document.cookie)" => "alert(document.cookie)"
|
2045
|
+
*
|
2046
|
+
* @param {string} value The value to encode.
|
2047
|
+
* @returns {string} The encoded string value.
|
2048
|
+
* @memberof Sanitizer
|
2049
|
+
*/
|
2050
|
+
Sanitizer.prototype.encodeAttrValue = function (value) {
|
2051
|
+
var alphanumericRE = /^[a-zA-Z0-9]$/;
|
2052
|
+
return String(value).replace(/[\x00-\xFF]/g, function (c, idx) {
|
2053
|
+
return !alphanumericRE.test(c)
|
2054
|
+
? "&#x".concat(Number(value.charCodeAt(idx)).toString(16), ";")
|
2055
|
+
: c;
|
2056
|
+
});
|
2057
|
+
};
|
2058
|
+
/**
|
2059
|
+
* Extends an object of arrays by by concatenating arrays of the same object
|
2060
|
+
* keys. If the if the previous key's value is not an array, the next key's
|
2061
|
+
* value will replace the previous key. This method is used for extending the
|
2062
|
+
* whiteList in the XSS filter options.
|
2063
|
+
*
|
2064
|
+
* @private
|
2065
|
+
* @param {Array<{}>} objects An array of objects.
|
2066
|
+
* @returns {{}} The extended object.
|
2067
|
+
* @memberof Sanitizer
|
2068
|
+
*/
|
2069
|
+
Sanitizer.prototype._extendObjectOfArrays = function (objects) {
|
2070
|
+
var finalObj = {};
|
2071
|
+
objects.forEach(function (obj) {
|
2072
|
+
Object.keys(obj).forEach(function (key) {
|
2073
|
+
if (Array.isArray(obj[key]) && Array.isArray(finalObj[key])) {
|
2074
|
+
finalObj[key] = finalObj[key].concat(obj[key]);
|
2075
|
+
}
|
2076
|
+
else {
|
2077
|
+
finalObj[key] = obj[key];
|
2078
|
+
}
|
2079
|
+
});
|
2080
|
+
});
|
2081
|
+
return finalObj;
|
2082
|
+
};
|
2083
|
+
/**
|
2084
|
+
* Iterate over a plain object or array to deeply sanitize each value.
|
2085
|
+
*
|
2086
|
+
* @private
|
2087
|
+
* @param {object} obj The object to iterate over.
|
2088
|
+
* @returns {(object | null)} The sanitized object.
|
2089
|
+
* @memberof Sanitizer
|
2090
|
+
*/
|
2091
|
+
Sanitizer.prototype._iterateOverObject = function (obj, options) {
|
2092
|
+
var _this = this;
|
2093
|
+
if (options === void 0) { options = {}; }
|
2094
|
+
try {
|
2095
|
+
var hasChanged_1 = false;
|
2096
|
+
var changedObj = void 0;
|
2097
|
+
if (Array.isArray(obj)) {
|
2098
|
+
changedObj = obj.reduce(function (prev, value) {
|
2099
|
+
var validation = _this.validate(value, options);
|
2100
|
+
if (validation.isValid) {
|
2101
|
+
return prev.concat([value]);
|
2102
|
+
}
|
2103
|
+
else {
|
2104
|
+
hasChanged_1 = true;
|
2105
|
+
return prev.concat([validation.sanitized]);
|
2106
|
+
}
|
2107
|
+
}, []);
|
155
2108
|
}
|
156
|
-
if (
|
157
|
-
|
2109
|
+
else if (!isPlainObject(obj)) {
|
2110
|
+
if (options.allowUndefined && typeof obj === "undefined") {
|
2111
|
+
return;
|
2112
|
+
}
|
2113
|
+
return null;
|
158
2114
|
}
|
159
|
-
|
160
|
-
|
2115
|
+
else {
|
2116
|
+
var keys = Object.keys(obj);
|
2117
|
+
changedObj = keys.reduce(function (prev, key) {
|
2118
|
+
var value = obj[key];
|
2119
|
+
var validation = _this.validate(value, options);
|
2120
|
+
if (validation.isValid) {
|
2121
|
+
prev[key] = value;
|
2122
|
+
}
|
2123
|
+
else {
|
2124
|
+
hasChanged_1 = true;
|
2125
|
+
prev[key] = validation.sanitized;
|
2126
|
+
}
|
2127
|
+
return prev;
|
2128
|
+
}, {});
|
161
2129
|
}
|
162
|
-
if (
|
163
|
-
|
2130
|
+
if (hasChanged_1) {
|
2131
|
+
return changedObj;
|
164
2132
|
}
|
165
|
-
return
|
166
|
-
}
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
const oldValue = states.get(key);
|
171
|
-
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
2133
|
+
return obj;
|
2134
|
+
}
|
2135
|
+
catch (err) {
|
2136
|
+
return null;
|
2137
|
+
}
|
172
2138
|
};
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
2139
|
+
/**
|
2140
|
+
* Trim whitespace from the start and ends of a string.
|
2141
|
+
* @param {string} val The string to trim.
|
2142
|
+
* @returns {string} The trimmed string.
|
2143
|
+
*/
|
2144
|
+
Sanitizer.prototype._trim = function (val) {
|
2145
|
+
// @ts-ignore This is used by Jest,
|
2146
|
+
// but TypeScript errors since it assumes `trim` is always available.
|
2147
|
+
return String.prototype.trim
|
2148
|
+
? val.trim()
|
2149
|
+
: val.replace(/(^\s*)|(\s*$)/g, "");
|
183
2150
|
};
|
184
|
-
|
185
|
-
|
186
|
-
const index = array.indexOf(item);
|
187
|
-
if (index >= 0) {
|
188
|
-
array[index] = array[array.length - 1];
|
189
|
-
array.length--;
|
190
|
-
}
|
191
|
-
};
|
192
|
-
|
193
|
-
const createStore = (defaultState, shouldUpdate) => {
|
194
|
-
const map = createObservableMap(defaultState, shouldUpdate);
|
195
|
-
map.use(stencilSubscription());
|
196
|
-
return map;
|
197
|
-
};
|
2151
|
+
return Sanitizer;
|
2152
|
+
}());
|
198
2153
|
|
199
|
-
export {
|
2154
|
+
export { Sanitizer as S };
|