@esri/solutions-components 0.1.7 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/buffer-tools_6.cjs.entry.js +21 -79
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js +14 -16
- package/dist/cjs/calcite-action_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block.cjs.entry.js +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +3 -18
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-number.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-option_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pick-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +17 -116
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
- package/dist/cjs/calcite-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tree_3.cjs.entry.js +1 -15
- package/dist/cjs/check-list.cjs.entry.js +2 -10
- package/dist/cjs/config-buffer-tools.cjs.entry.js +2 -11
- package/dist/cjs/config-draw-tools.cjs.entry.js +1 -9
- package/dist/cjs/config-layer-picker.cjs.entry.js +2 -19
- package/dist/cjs/config-pdf-download.cjs.entry.js +1 -17
- package/dist/cjs/{index-73010cd8.js → index-7af21b6f.js} +7 -158
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-search.cjs.entry.js +3 -0
- package/dist/cjs/public-notification.cjs.entry.js +3 -24
- package/dist/cjs/{resources-f7622a24.js → resources-aa19bf8c.js} +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +7 -24
- package/dist/cjs/solution-contents_3.cjs.entry.js +7 -33
- package/dist/cjs/solutions.cjs.js +1 -1
- package/dist/cjs/store-manager.cjs.entry.js +1 -12
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -29
- package/dist/collection/components/check-list/check-list.js +2 -10
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +2 -11
- package/dist/collection/components/config-draw-tools/config-draw-tools.js +1 -9
- package/dist/collection/components/config-layer-picker/config-layer-picker.js +2 -19
- package/dist/collection/components/config-pdf-download/config-pdf-download.js +1 -17
- package/dist/collection/components/json-editor/assets/monaco-editor/LICENSE +21 -21
- package/dist/collection/components/json-editor/json-editor.js +2 -22
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +5 -14
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -16
- package/dist/collection/components/map-search/map-search.js +5 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +8 -4
- package/dist/collection/components/pdf-download/pdf-download.js +2 -8
- package/dist/collection/components/public-notification/public-notification.js +3 -24
- package/dist/collection/components/refine-selection/refine-selection.js +4 -4
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +13 -34
- package/dist/collection/components/solution-configuration/solution-configuration.js +7 -24
- package/dist/collection/components/solution-contents/solution-contents.js +1 -3
- package/dist/collection/components/solution-item/solution-item.js +3 -9
- package/dist/collection/components/solution-item-details/solution-item-details.js +4 -8
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -14
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -11
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -13
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +3 -16
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +3 -21
- package/dist/collection/components/solution-template-data/solution-template-data.js +2 -30
- package/dist/collection/components/solution-variables/solution-variables.js +1 -13
- package/dist/collection/components/store-manager/store-manager.js +1 -12
- package/dist/components/action.js +1 -1
- package/dist/components/buffer-tools2.js +1 -29
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.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-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/check-list2.js +2 -10
- package/dist/components/checkbox.js +1 -1
- package/dist/components/color-picker-swatch.js +7 -158
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/config-buffer-tools.js +2 -11
- package/dist/components/config-draw-tools.js +1 -9
- package/dist/components/config-layer-picker.js +2 -19
- package/dist/components/config-pdf-download.js +1 -17
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/json-editor2.js +2 -22
- package/dist/components/label.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/map-draw-tools2.js +5 -14
- package/dist/components/map-layer-picker2.js +1 -16
- package/dist/components/map-search.js +3 -0
- package/dist/components/map-select-tools2.js +8 -4
- package/dist/components/panel.js +1 -1
- package/dist/components/pdf-download2.js +2 -8
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/public-notification.js +3 -24
- package/dist/components/radio-group.js +1 -1
- package/dist/components/refine-selection-tools2.js +13 -34
- package/dist/components/refine-selection2.js +4 -4
- package/dist/components/select.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +7 -24
- package/dist/components/solution-contents2.js +1 -3
- package/dist/components/solution-item-details2.js +4 -8
- package/dist/components/solution-item-icon2.js +0 -14
- package/dist/components/solution-item-sharing2.js +1 -11
- package/dist/components/solution-item2.js +3 -9
- package/dist/components/solution-organization-variables2.js +1 -13
- package/dist/components/solution-resource-item2.js +3 -16
- package/dist/components/solution-spatial-ref2.js +3 -21
- package/dist/components/solution-template-data2.js +2 -30
- package/dist/components/solution-variables2.js +1 -13
- package/dist/components/store-manager.js +1 -12
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tree-item.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +1 -1
- package/dist/esm/buffer-tools_6.entry.js +21 -79
- package/dist/esm/calcite-action-bar_6.entry.js +14 -16
- package/dist/esm/calcite-action_2.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +1 -1
- package/dist/esm/calcite-block.entry.js +1 -1
- package/dist/esm/calcite-button.entry.js +1 -1
- package/dist/esm/calcite-checkbox.entry.js +1 -1
- package/dist/esm/calcite-color-picker-hex-input.entry.js +2 -2
- package/dist/esm/calcite-color-picker-swatch.entry.js +1 -1
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox_3.entry.js +3 -18
- package/dist/esm/calcite-date-picker-day_3.entry.js +1 -1
- package/dist/esm/calcite-dropdown.entry.js +1 -1
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-flow-item.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +1 -1
- package/dist/esm/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm/calcite-input-number.entry.js +1 -1
- package/dist/esm/calcite-input-text.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker.entry.js +1 -1
- package/dist/esm/calcite-input_2.entry.js +1 -1
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_2.entry.js +2 -2
- package/dist/esm/calcite-option_2.entry.js +1 -1
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel_2.entry.js +1 -1
- package/dist/esm/calcite-pick-list-item.entry.js +1 -1
- package/dist/esm/calcite-pick-list.entry.js +1 -1
- package/dist/esm/calcite-radio-button.entry.js +1 -1
- package/dist/esm/calcite-rating.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +17 -116
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +1 -1
- package/dist/esm/calcite-stepper-item.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +1 -1
- package/dist/esm/calcite-tile-select-group.entry.js +1 -1
- package/dist/esm/calcite-tile-select.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-time-picker.entry.js +1 -1
- package/dist/esm/calcite-tree_3.entry.js +1 -15
- package/dist/esm/check-list.entry.js +2 -10
- package/dist/esm/config-buffer-tools.entry.js +2 -11
- package/dist/esm/config-draw-tools.entry.js +1 -9
- package/dist/esm/config-layer-picker.entry.js +2 -19
- package/dist/esm/config-pdf-download.entry.js +1 -17
- package/dist/esm/{index-dc607780.js → index-d33ebc35.js} +7 -158
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-search.entry.js +3 -0
- package/dist/esm/public-notification.entry.js +3 -24
- package/dist/esm/{resources-adf937de.js → resources-7d4a587f.js} +1 -1
- package/dist/esm/solution-configuration.entry.js +7 -24
- package/dist/esm/solution-contents_3.entry.js +7 -33
- package/dist/esm/solutions.js +1 -1
- package/dist/esm/store-manager.entry.js +1 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +0 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +0 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +0 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +0 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +0 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +0 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-group/radio-group.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +0 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +0 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +0 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +0 -1
- package/dist/solutions/assets/monaco-editor/LICENSE +21 -21
- package/dist/solutions/{p-9fdfd6c6.entry.js → p-07ff4a74.entry.js} +1 -1
- package/dist/solutions/p-08c96ac2.entry.js +6 -0
- package/dist/solutions/p-1033ca8d.entry.js +6 -0
- package/dist/solutions/{p-22b54603.entry.js → p-15994a4d.entry.js} +1 -1
- package/dist/solutions/p-199c5c24.entry.js +6 -0
- package/dist/solutions/p-1db37170.entry.js +6 -0
- package/dist/solutions/p-1ed2008f.entry.js +22 -0
- package/dist/solutions/{p-0922119b.entry.js → p-255ff9e3.entry.js} +2 -2
- package/dist/solutions/p-2a977e48.entry.js +11 -0
- package/dist/solutions/{p-911c476b.entry.js → p-320edf27.entry.js} +1 -1
- package/dist/solutions/p-33d9d95c.entry.js +11 -0
- package/dist/solutions/{p-5f367dbf.js → p-374a5031.js} +2 -2
- package/dist/solutions/{p-8b19de1b.entry.js → p-3841527d.entry.js} +2 -2
- package/dist/solutions/p-420de3c4.entry.js +29 -0
- package/dist/solutions/{p-f8df8f60.entry.js → p-46cb43a6.entry.js} +1 -1
- package/dist/solutions/{p-01e27538.entry.js → p-4a418e85.entry.js} +1 -1
- package/dist/solutions/{p-2f504ad4.entry.js → p-4d5989db.entry.js} +2 -2
- package/dist/solutions/{p-972c9f6b.entry.js → p-4ed258b7.entry.js} +1 -1
- package/dist/solutions/{p-aecc26bc.entry.js → p-58022a7b.entry.js} +1 -1
- package/dist/solutions/p-59070b11.entry.js +6 -0
- package/dist/solutions/{p-fee0d21a.entry.js → p-60e33308.entry.js} +1 -1
- package/dist/solutions/{p-32bde829.entry.js → p-6152930f.entry.js} +1 -1
- package/dist/solutions/{p-1c4e26cd.entry.js → p-66e3e92c.entry.js} +1 -1
- package/dist/solutions/{p-5aa00dda.entry.js → p-68a32f82.entry.js} +2 -2
- package/dist/solutions/p-6d81d035.entry.js +12 -0
- package/dist/solutions/{p-062a0a85.entry.js → p-74c52dd8.entry.js} +1 -1
- package/dist/solutions/p-763f2aff.entry.js +6 -0
- package/dist/solutions/{p-e73ac319.entry.js → p-838b5963.entry.js} +1 -1
- package/dist/solutions/p-8717d549.entry.js +11 -0
- package/dist/solutions/p-93d3119d.js +6 -0
- package/dist/solutions/{p-f65f29be.entry.js → p-953d2b0b.entry.js} +1 -1
- package/dist/solutions/{p-b506be5a.entry.js → p-9645aeb2.entry.js} +1 -1
- package/dist/solutions/{p-1d59f41f.entry.js → p-9b36c7c3.entry.js} +2 -2
- package/dist/solutions/{p-6cd67c8f.entry.js → p-9bbaf3a6.entry.js} +1 -1
- package/dist/solutions/{p-3ba01dcf.entry.js → p-9eebe062.entry.js} +1 -1
- package/dist/solutions/p-9efcd26b.entry.js +23 -0
- package/dist/solutions/{p-4d3cc150.entry.js → p-9f4aab0d.entry.js} +1 -1
- package/dist/solutions/p-a25b2981.entry.js +6 -0
- package/dist/solutions/{p-11aefdf6.entry.js → p-a25b5eac.entry.js} +1 -1
- package/dist/solutions/{p-0d969c42.entry.js → p-a2ff7885.entry.js} +1 -1
- package/dist/solutions/{p-cdcf8087.entry.js → p-a47e729e.entry.js} +2 -2
- package/dist/solutions/p-a8def555.entry.js +11 -0
- package/dist/solutions/{p-c5e2efca.entry.js → p-ac1f7035.entry.js} +2 -2
- package/dist/solutions/p-adaf2269.entry.js +6 -0
- package/dist/solutions/{p-60d5be8d.entry.js → p-b498f95f.entry.js} +1 -1
- package/dist/solutions/p-ba3f1e2c.entry.js +6 -0
- package/dist/solutions/p-bd9c54b1.entry.js +12 -0
- package/dist/solutions/{p-28c78bbe.entry.js → p-c188f72f.entry.js} +1 -1
- package/dist/solutions/{p-d6d15e07.entry.js → p-c55027a5.entry.js} +3 -3
- package/dist/solutions/{p-f8910acc.entry.js → p-d63c9fda.entry.js} +1 -1
- package/dist/solutions/{p-7e9bcf39.entry.js → p-d6d803fd.entry.js} +1 -1
- package/dist/solutions/{p-d6d53153.entry.js → p-e9b057bb.entry.js} +1 -1
- package/dist/solutions/{p-e1ac2e9d.entry.js → p-efa46da1.entry.js} +1 -1
- package/dist/solutions/p-fb544e27.entry.js +6 -0
- package/dist/solutions/solutions.css +1 -1
- package/dist/solutions/solutions.esm.js +1 -1
- package/dist/solutions-components_commit.txt +5 -7
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/package.json +1 -1
- package/dist/solutions/p-092a0bff.entry.js +0 -12
- package/dist/solutions/p-0b6167b7.entry.js +0 -11
- package/dist/solutions/p-3c69af40.entry.js +0 -6
- package/dist/solutions/p-437e55cb.entry.js +0 -6
- package/dist/solutions/p-4c125f96.entry.js +0 -6
- package/dist/solutions/p-57157b9d.entry.js +0 -12
- package/dist/solutions/p-599afe71.entry.js +0 -6
- package/dist/solutions/p-5ba1efd5.entry.js +0 -6
- package/dist/solutions/p-60deec33.entry.js +0 -6
- package/dist/solutions/p-7e689d39.entry.js +0 -6
- package/dist/solutions/p-7ee9ae73.entry.js +0 -23
- package/dist/solutions/p-87c09099.entry.js +0 -11
- package/dist/solutions/p-ba6ba612.entry.js +0 -6
- package/dist/solutions/p-be63740d.entry.js +0 -6
- package/dist/solutions/p-c89eefda.entry.js +0 -11
- package/dist/solutions/p-cd33aa83.entry.js +0 -6
- package/dist/solutions/p-ce33ef37.js +0 -6
- package/dist/solutions/p-d58c1b71.entry.js +0 -29
- package/dist/solutions/p-e9641c29.entry.js +0 -11
- package/dist/solutions/p-f27e1023.entry.js +0 -22
package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css
CHANGED
@@ -88,7 +88,6 @@
|
|
88
88
|
cursor: default;
|
89
89
|
-webkit-user-select: none;
|
90
90
|
-moz-user-select: none;
|
91
|
-
-ms-user-select: none;
|
92
91
|
user-select: none;
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
94
93
|
}
|
@@ -217,10 +216,6 @@
|
|
217
216
|
border-color: var(--calcite-ui-border-input);
|
218
217
|
color: var(--calcite-ui-text-1);
|
219
218
|
}
|
220
|
-
:host input:-ms-input-placeholder, :host textarea:-ms-input-placeholder {
|
221
|
-
font-weight: var(--calcite-font-weight-normal);
|
222
|
-
color: var(--calcite-ui-text-3);
|
223
|
-
}
|
224
219
|
:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder, :host textarea::placeholder, :host textarea:-ms-input-placeholder, :host textarea::-ms-input-placeholder {
|
225
220
|
font-weight: var(--calcite-font-weight-normal);
|
226
221
|
color: var(--calcite-ui-text-3);
|
@@ -383,7 +378,6 @@ input[type=time]::-webkit-clear-button {
|
|
383
378
|
min-block-size: 100%;
|
384
379
|
-webkit-user-select: none;
|
385
380
|
-moz-user-select: none;
|
386
|
-
-ms-user-select: none;
|
387
381
|
user-select: none;
|
388
382
|
align-content: center;
|
389
383
|
align-items: center;
|
@@ -88,7 +88,6 @@
|
|
88
88
|
cursor: default;
|
89
89
|
-webkit-user-select: none;
|
90
90
|
-moz-user-select: none;
|
91
|
-
-ms-user-select: none;
|
92
91
|
user-select: none;
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
94
93
|
}
|
@@ -165,10 +164,6 @@
|
|
165
164
|
border-color: var(--calcite-ui-border-input);
|
166
165
|
color: var(--calcite-ui-text-1);
|
167
166
|
}
|
168
|
-
:host input:-ms-input-placeholder {
|
169
|
-
font-weight: var(--calcite-font-weight-normal);
|
170
|
-
color: var(--calcite-ui-text-3);
|
171
|
-
}
|
172
167
|
:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder {
|
173
168
|
font-weight: var(--calcite-font-weight-normal);
|
174
169
|
color: var(--calcite-ui-text-3);
|
@@ -309,7 +304,6 @@
|
|
309
304
|
min-block-size: 100%;
|
310
305
|
-webkit-user-select: none;
|
311
306
|
-moz-user-select: none;
|
312
|
-
-ms-user-select: none;
|
313
307
|
user-select: none;
|
314
308
|
align-content: center;
|
315
309
|
align-items: center;
|
@@ -88,7 +88,6 @@
|
|
88
88
|
cursor: default;
|
89
89
|
-webkit-user-select: none;
|
90
90
|
-moz-user-select: none;
|
91
|
-
-ms-user-select: none;
|
92
91
|
user-select: none;
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
94
93
|
}
|
@@ -169,10 +168,6 @@ input {
|
|
169
168
|
border-color: var(--calcite-ui-border-input);
|
170
169
|
color: var(--calcite-ui-text-1);
|
171
170
|
}
|
172
|
-
:host input:-ms-input-placeholder {
|
173
|
-
font-weight: var(--calcite-font-weight-normal);
|
174
|
-
color: var(--calcite-ui-text-3);
|
175
|
-
}
|
176
171
|
:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder {
|
177
172
|
font-weight: var(--calcite-font-weight-normal);
|
178
173
|
color: var(--calcite-ui-text-3);
|
@@ -320,7 +315,6 @@ input[type=text]::-ms-reveal {
|
|
320
315
|
min-block-size: 100%;
|
321
316
|
-webkit-user-select: none;
|
322
317
|
-moz-user-select: none;
|
323
|
-
-ms-user-select: none;
|
324
318
|
user-select: none;
|
325
319
|
align-content: center;
|
326
320
|
align-items: center;
|
@@ -88,7 +88,6 @@
|
|
88
88
|
cursor: default;
|
89
89
|
-webkit-user-select: none;
|
90
90
|
-moz-user-select: none;
|
91
|
-
-ms-user-select: none;
|
92
91
|
user-select: none;
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
94
93
|
}
|
@@ -97,7 +96,6 @@
|
|
97
96
|
display: inline-block;
|
98
97
|
-webkit-user-select: none;
|
99
98
|
-moz-user-select: none;
|
100
|
-
-ms-user-select: none;
|
101
99
|
user-select: none;
|
102
100
|
}
|
103
101
|
|
package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css
CHANGED
@@ -88,7 +88,6 @@
|
|
88
88
|
cursor: default;
|
89
89
|
-webkit-user-select: none;
|
90
90
|
-moz-user-select: none;
|
91
|
-
-ms-user-select: none;
|
92
91
|
user-select: none;
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
94
93
|
}
|
@@ -136,7 +135,6 @@
|
|
136
135
|
cursor: pointer;
|
137
136
|
-webkit-user-select: none;
|
138
137
|
-moz-user-select: none;
|
139
|
-
-ms-user-select: none;
|
140
138
|
user-select: none;
|
141
139
|
vertical-align: middle;
|
142
140
|
tap-highlight-color: transparent;
|
@@ -88,7 +88,6 @@
|
|
88
88
|
cursor: default;
|
89
89
|
-webkit-user-select: none;
|
90
90
|
-moz-user-select: none;
|
91
|
-
-ms-user-select: none;
|
92
91
|
user-select: none;
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
94
93
|
}
|
@@ -98,7 +97,6 @@
|
|
98
97
|
display: inline-block;
|
99
98
|
-webkit-user-select: none;
|
100
99
|
-moz-user-select: none;
|
101
|
-
-ms-user-select: none;
|
102
100
|
user-select: none;
|
103
101
|
background-color: var(--calcite-ui-foreground-1);
|
104
102
|
color: var(--calcite-ui-text-3);
|
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2016 - present Microsoft Corporation
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 - present Microsoft Corporation
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -8,4 +8,4 @@ import{r as t,h as i,F as e,g as n}from"./p-be2e3b99.js";import{a}from"./p-32a67
|
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
10
|
* v1.0.0-beta.97
|
11
|
-
*/const s=class{constructor(i){t(this,i),this.active=!1,this.disabled=!1,this.embed=!1,this.focused=!1,this.hidden=!1}connectedCallback(){o(this)}disconnectedCallback(){c(this)}componentDidRender(){r(this)}renderTile(){const{icon:t,el:e,heading:n,description:o}=this,c=n&&t&&!o;return i("div",{class:{container:!0,"large-visual":c}},t&&i("div",{class:"icon"},i("calcite-icon",{icon:t,scale:"l",style:c?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},a(e,"content-start")?i("div",{class:"content-slot-container"},i("slot",{name:"content-start"})):null,i("div",{class:"content"},n&&i("div",{class:"heading"},n),o&&i("div",{class:"description"},o)),a(e,"content-end")?i("div",{class:"content-slot-container"},i("slot",{name:"content-end"})):null))}render(){return i(e,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};s.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none
|
11
|
+
*/const s=class{constructor(i){t(this,i),this.active=!1,this.disabled=!1,this.embed=!1,this.focused=!1,this.hidden=!1}connectedCallback(){o(this)}disconnectedCallback(){c(this)}componentDidRender(){r(this)}renderTile(){const{icon:t,el:e,heading:n,description:o}=this,c=n&&t&&!o;return i("div",{class:{container:!0,"large-visual":c}},t&&i("div",{class:"icon"},i("calcite-icon",{icon:t,scale:"l",style:c?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},a(e,"content-start")?i("div",{class:"content-slot-container"},i("slot",{name:"content-start"})):null,i("div",{class:"content"},n&&i("div",{class:"heading"},n),o&&i("div",{class:"description"},o)),a(e,"content-end")?i("div",{class:"content-slot-container"},i("slot",{name:"content-end"})):null))}render(){return i(e,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};s.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:flex;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";export{s as calcite_tile}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as t,h as i,H as r,g as a}from"./p-be2e3b99.js";import{g as n,t as o}from"./p-32a67cb2.js";import{u as s}from"./p-7daea1df.js";import{n as c,c as l,d}from"./p-23904a3d.js";import"./p-729708a3.js";import"./p-a80b3880.js";import"./p-73e23995.js";import"./p-9a9955db.js";const p=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.active=!1,this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.effectiveLocale="",this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{"horizontal"===this.layout&&e.composedPath().some((e=>{var t;return null===(t=e.classList)||void 0===t?void 0:t.contains("stepper-item-content")}))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})}}activeHandler(e){this.selected=e}selectedHandler(e){this.active=e,this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(e){var t;c.numberFormatOptions={locale:e,numberingSystem:null===(t=this.parentStepperEl)||void 0===t?void 0:t.numberingSystem,useGrouping:!1}}connectedCallback(){l(this);const{selected:e,active:t}=this;e?this.active=e:t&&(this.selected=t)}componentWillLoad(){var e;this.icon=n(this.el,"icon",!1),this.numbered=n(this.el,"numbered",!1),this.layout=n(this.el,"layout",!1),this.scale=n(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem(),c.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:null===(e=this.parentStepperEl)||void 0===e?void 0:e.numberingSystem,useGrouping:!1}}componentDidRender(){s(this,!0)}disconnectedCallback(){d(this)}render(){return i(r,{"aria-expanded":o(this.active),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",ref:e=>this.headerEl=e,tabIndex:"horizontal"!==this.layout||this.disabled?null:0},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},c.numberFormatter.format(this.itemPosition+1),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),i("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){var e;null===(e="vertical"===this.layout?this.el:this.headerEl)||void 0===e||e.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){var e;return Array.from(null===(e=this.parentStepperEl)||void 0===e?void 0:e.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";export{p as calcite_stepper_item}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as s,c as i,h as t,H as a,g as h}from"./p-be2e3b99.js";import{l as e}from"./p-a128b9ca.js";import{g as r}from"./p-0af82897.js";import"./p-3b010ce1.js";const o=class{constructor(t){s(this,t),this.searchChange=i(this,"searchChange",7),this.mapView=void 0,this._searchTerm=void 0,this._translations=void 0}async clear(){this._searchWidget.clear()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}render(){return t(a,null,t("div",{class:"search-widget",ref:s=>{this._searchElement=s}}))}async _initModules(){const[s]=await e(["esri/widgets/Search"]);this.Search=s}_init(){this._initSearchWidget()}_initSearchWidget(){this.mapView&&this._searchElement&&(this._searchWidget=new this.Search({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm}),this._searchWidget.on("search-clear",(()=>{this._searchResult=void 0,this.searchChange.emit(this._searchResult)})),this._searchWidget.on("select-result",(s=>{this._searchResult=void 0,s.result&&(this._searchResult=s.result,this.searchChange.emit({graphics:[s.result.feature],name:s.result.name||""}))})))}async _getTranslations(){const s=await r(this.el);this._translations=s[0]}get el(){return h(this)}};o.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}";export{o as map_search}
|
@@ -8,4 +8,4 @@ import{r as i,c as t,h as e,F as a,g as s}from"./p-be2e3b99.js";import{n,c as o,
|
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
10
|
* v1.0.0-beta.97
|
11
|
-
*/const c=class{constructor(e){i(this,e),this.calcitePaginationUpdate=t(this,"calcitePaginationUpdate",6),this.calcitePaginationChange=t(this,"calcitePaginationChange",6),this.groupSeparator=!1,this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.effectiveLocale="",this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.determineGroupSeparator=i=>(n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},this.groupSeparator?n.localize(i.toString()):i.toString())}connectedCallback(){o(this)}disconnectedCallback(){r(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:i,num:t}=this;return 1+(i%t==0?i-t:Math.floor(i/t)*t)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const i={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(i),this.calcitePaginationUpdate.emit(i)}renderPages(){const i=this.getLastStart();let t,e;this.total/this.num<=5?(e=1+this.num,t=i-this.num):this.start/this.num<4?(e=1+this.num,t=1+4*this.num):this.start+3*this.num>=this.total?(e=i-4*this.num,t=i-this.num):(e=this.start-this.num,t=this.start+this.num);const a=[];for(;e<=t;)a.push(e),e+=this.num;return a.map((i=>this.renderPage(i)))}renderPage(i){const t=Math.floor(i/this.num)+(1===this.num?0:1),a=this.determineGroupSeparator(t);return e("button",{class:{page:!0,"is-selected":i===this.start},onClick:()=>{this.start=i,this.emitUpdate()}},a)}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return e("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return e("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:i,num:t,start:s}=this,n=1===t?s<=t:s<t,o=s+t>i;return e(a,null,e("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),i>t?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};c.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex
|
11
|
+
*/const c=class{constructor(e){i(this,e),this.calcitePaginationUpdate=t(this,"calcitePaginationUpdate",6),this.calcitePaginationChange=t(this,"calcitePaginationChange",6),this.groupSeparator=!1,this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.effectiveLocale="",this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.determineGroupSeparator=i=>(n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},this.groupSeparator?n.localize(i.toString()):i.toString())}connectedCallback(){o(this)}disconnectedCallback(){r(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:i,num:t}=this;return 1+(i%t==0?i-t:Math.floor(i/t)*t)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const i={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(i),this.calcitePaginationUpdate.emit(i)}renderPages(){const i=this.getLastStart();let t,e;this.total/this.num<=5?(e=1+this.num,t=i-this.num):this.start/this.num<4?(e=1+this.num,t=1+4*this.num):this.start+3*this.num>=this.total?(e=i-4*this.num,t=i-this.num):(e=this.start-this.num,t=this.start+this.num);const a=[];for(;e<=t;)a.push(e),e+=this.num;return a.map((i=>this.renderPage(i)))}renderPage(i){const t=Math.floor(i/this.num)+(1===this.num?0:1),a=this.determineGroupSeparator(t);return e("button",{class:{page:!0,"is-selected":i===this.start},onClick:()=>{this.start=i,this.emitUpdate()}},a)}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return e("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return e("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:i,num:t,start:s}=this,n=1===t?s<=t:s<t,o=s+t>i;return e(a,null,e("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),i>t?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};c.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:flex;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{c as calcite_pagination}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as s,H as e,g as i}from"./p-be2e3b99.js";const r=class{constructor(s){t(this,s),this._elements=[],this.defaultChecked=!0,this.values=void 0}async getConfigInfo(){return this._elements.reduce(((t,s)=>(t[s.value]=s.checked,t)),{})}async componentDidLoad(){this.defaultChecked&&this._elements.forEach((t=>{t.checked=!0}))}render(){return s(e,null,s("div",null,this._renderCheckboxes(this.values)))}_renderCheckboxes(t){return t.map((t=>s("calcite-label",{layout:"inline"},s("calcite-checkbox",{ref:t=>this._elements.push(t),value:t}),t)))}get el(){return i(this)}};r.style=":host{display:block}";export{r as check_list}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,h as t,H as s,g as a}from"./p-be2e3b99.js";import{g as n}from"./p-0af82897.js";import"./p-3b010ce1.js";const e=class{constructor(t){i(this,t),this.defaultChecked=!0,this._translations=void 0}async getConfigInfo(){return this._checkList.getConfigInfo()}async componentWillLoad(){await this._getTranslations()}render(){var i,a;const n=(null===(i=this._translations)||void 0===i?void 0:i.types)||{},e=Object.keys(n).map((i=>n[i]));return t(s,null,t("div",null,t("div",{class:"padding-block-end-1"},t("calcite-label",{class:"label-spacing"},null===(a=this._translations)||void 0===a?void 0:a.drawTools)),t("div",{class:"padding-inline-start-1"},t("check-list",{defaultChecked:this.defaultChecked,ref:i=>{this._checkList=i},values:e}))))}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}get el(){return a(this)}};e.style=":host{display:block}.label-spacing{--calcite-label-margin-bottom:0}.padding-block-end-1{-webkit-padding-after:1rem;padding-block-end:1rem}.padding-inline-start-1{-webkit-padding-start:1rem;padding-inline-start:1rem}";export{e as config_draw_tools}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as i,H as e,g as s}from"./p-be2e3b99.js";import{g as o,s as n}from"./p-4f2d92fe.js";import{g as a}from"./p-0af82897.js";import"./p-91192214.js";import"./p-6b9dc092.js";import"./p-3b010ce1.js";
|
7
|
+
/** @license
|
8
|
+
* Copyright 2022 Esri
|
9
|
+
*
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
* you may not use this file except in compliance with the License.
|
12
|
+
* You may obtain a copy of the License at
|
13
|
+
*
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
*
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
* See the License for the specific language governing permissions and
|
20
|
+
* limitations under the License.
|
21
|
+
*/
|
22
|
+
function l(t){const i=function(t){const i=[];function e(i,o,n=[]){const a=function(t,i){const e=t.findIndex((t=>i===t.itemId));return e>=0?t[e]:null}(t,i);if(a){const t={id:i,dependencies:[]};n.indexOf(i)<0&&(n.push(i),a.dependencies.forEach((i=>{const o=s.indexOf(i);o>=0&&s.splice(o,1),e(i,t.dependencies,n)}))),o.push(t)}}let s=function(t){const i=t.map((t=>t.itemId));return t.forEach((t=>{(t.dependencies||[]).forEach((t=>{const e=i.indexOf(t);e>=0&&i.splice(e,1)}))})),i}(t);const o=t.filter((t=>s.indexOf(t.itemId)<0)).sort(((t,i)=>i.dependencies.length-t.dependencies.length));s=s.concat(o.map((t=>t.itemId)));let n=s.shift();for(;void 0!==n;)e(n,i),n=s.shift();return i}(t),e=i.reduce(((t,i)=>(t.push(i.id),t)),[]);return t.reduce(((s,o)=>{if(e.indexOf(o.itemId)>-1){const e=i.filter((t=>t.id===o.itemId));s.push(c(o,t,e[0].dependencies))}return s}),[])}function r(t,i,e,s){t.forEach((t=>{const o=t.name&&t.name.indexOf("||")>-1?t.name.split("||")[1].replace("}}","").trim():t.name;i.dependencies.push({id:e.itemId,title:`${o} (${s.id})`,value:`{{${e.itemId}.layer${t.id}.id}}`}),i.dependencies.push({id:e.itemId,title:`${o} (${s.name})`,value:`{{${e.itemId}.layer${t.id}.name||${o}}}`})}))}function c(t,i,e){return{id:t.itemId||"",title:t.item.title||"",dependencies:h(e,i),type:t.item.type||"",typeKeywords:t.item.typeKeywords||[]}}function h(t,i){const e=[],s=t.reduce(((t,i)=>(t.push(i.id),e.push(i),t)),[]);return i.reduce(((t,o)=>{const n=s.indexOf(o.itemId);return n>-1&&t.push(c(o,i,e[n].dependencies)),t}),[])}const u=class{constructor(i){t(this,i),this._solutionStoreHasChanges=!1,this._solutionEditorHasChanges=!1,this._solutionEditorHasErrors=!1,this._canSave=!1,this.authentication=void 0,this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=void 0,this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=void 0,this._treeOpen=!0,this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}async componentWillLoad(){return this._getTranslations()}render(){const t=o(n.getStoreInfo("spatialReferenceInfo"),"spatialReference"),s=n.getStoreInfo("featureServices").length>0;return i(e,null,this._solutionIsLoaded?null:i("calcite-loader",{active:!0,label:""}),i("div",{class:"configuration-container"},i("div",{class:"configuration"},i("calcite-tabs",{class:"config-tabs"},i("calcite-tab-nav",{slot:"tab-nav"},i("calcite-tab-title",null,this._translations.definitionTab),s?i("calcite-tab-title",null,this._translations.spatialReferenceTab):null),i("calcite-tab",{active:!0,class:"config-tab"},i("div",{class:"config-solution"},i("div",{class:this._treeOpen?"config-inventory":"config-inventory-hide"},i("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),i("calcite-button",{appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),i("div",{class:"config-item"},i("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),s?i("calcite-tab",{class:"config-tab"},i("div",{class:"config-solution"},i("solution-spatial-ref",{defaultWkid:t,id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`,locked:!t,services:n.getStoreInfo("featureServices").map((t=>t.name))}))):null))))}_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(n.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await n.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=n.getStoreInfo("solutionData");var i;let e;this._solutionVariables=JSON.stringify(function(t,i){const e=[];return t.forEach((t=>{const s={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:i.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&s.dependencies.push({id:t.itemId,title:i.url,value:`{{${t.itemId}.url}}`}),"Feature Service"===t.type&&(s.dependencies.push({id:t.itemId,title:i.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),r(t.properties.layers||[],s,t,i),r(t.properties.tables||[],s,t,i)),e.push(s)})),e}(t.templates,this._translations)),this._organizationVariables=JSON.stringify([{id:"",title:(i=this._translations).geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]),this._templateHierarchy=[...l(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=n.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await n.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,i,e){const s=(t||i)&&!e;this._canSave!==s&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:s,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=s}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{solutionItemId:["valueWatchHandler"]}}};u.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{u as solution_configuration}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as i,c as t,h as a,F as n,g as e}from"./p-be2e3b99.js";import{g as s}from"./p-a80b3880.js";import{c as o,d as r}from"./p-dbad98e8.js";import{c,d as l,H as d}from"./p-ab93e73f.js";import{u as h}from"./p-7daea1df.js";import{i as
|
6
|
+
import{r as i,c as t,h as a,F as n,g as e}from"./p-be2e3b99.js";import{g as s}from"./p-a80b3880.js";import{c as o,d as r}from"./p-dbad98e8.js";import{c,d as l,H as d}from"./p-ab93e73f.js";import{u as h}from"./p-7daea1df.js";import{i as p}from"./p-73e23995.js";import"./p-32a67cb2.js";import"./p-729708a3.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
10
|
* v1.0.0-beta.97
|
11
|
-
*/const
|
11
|
+
*/const m=class{constructor(a){i(this,a),this.calciteRatingChange=t(this,"calciteRatingChange",6),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.required=!1,this.onKeyboardPressed=i=>{!this.required&&p(i.key)&&(i.preventDefault(),this.updateValue(0))},this.onFocusChange=i=>{this.hasFocus=!0,this.required||this.focusValue!==i?this.focusValue=i:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`}connectedCallback(){o(this),c(this)}disconnectedCallback(){r(this),l(this)}componentDidRender(){h(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((i=>{const t=this.value>=i,n=this.average&&!this.value&&i<=this.average,e=i<=this.hoverValue,s=this.average&&this.average+1-i,o=!this.value&&!e&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===i,selected:t,average:n,hovered:e,partial:o},htmlFor:`${this.guid}-${i}`,onPointerOver:()=>{this.hoverValue=i}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:t||n||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${i}`))),a("input",{checked:i===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${i}`,name:this.guid,onChange:()=>this.updateValue(i),onClick:i=>i.stopPropagation(),onFocus:()=>this.onFocusChange(i),onKeyDown:this.onKeyboardPressed,ref:t=>(1===i||i===this.value)&&(this.inputFocusRef=t),type:"radio",value:i}))}))}render(){const{disabled:i,intlRating:t,showChip:e,scale:s,count:o,average:r}=this;return a(n,null,a("fieldset",{class:"fieldset",disabled:i,onBlur:()=>this.hoverValue=null,onPointerLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},t),this.renderStars()),(o||r)&&e?a("calcite-chip",{scale:s,value:null==o?void 0:o.toString()},!!r&&a("span",{class:"number--average"},r.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null,a(d,{component:this}))}onLabelClick(){this.setFocus()}updateValue(i){this.value=i,this.calciteRatingChange.emit({value:i})}async setFocus(){var i;null===(i=this.inputFocusRef)||void 0===i||i.focus()}get el(){return e(this)}};m.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0px;display:flex;border-width:0px;padding:0px}.wrapper{display:inline-block;-webkit-margin-end:var(--calcite-rating-spacing-unit);margin-inline-end:var(--calcite-rating-spacing-unit)}.star{position:relative;display:flex;cursor:pointer;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}:host .fraction{pointer-events:none;position:absolute;inset-block-start:0px;overflow:hidden;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){-webkit-margin-start:var(--calcite-rating-spacing-unit);margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{m as calcite_rating}
|