@esri/solutions-components 0.5.0 → 0.5.1
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 +4 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +61 -61
- package/dist/cjs/calcite-input-message_5.cjs.entry.js +297 -295
- package/dist/cjs/{downloadUtils-415ab342.js → downloadUtils-b85476e8.js} +1093 -1093
- package/dist/cjs/{index.es-98008aa0.js → index.es-3ba50626.js} +10682 -10682
- package/dist/cjs/layer-table.cjs.entry.js +22 -22
- package/dist/cjs/loader.cjs.js +30 -30
- package/dist/cjs/{mapViewUtils-f617ae9a.js → mapViewUtils-df63bfa4.js} +26 -26
- package/dist/cjs/public-notification.cjs.entry.js +109 -4
- package/dist/cjs/solutions-components.cjs.js +31 -31
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +3 -7
- package/dist/collection/components/map-select-tools/map-select-tools.js +74 -14
- package/dist/collection/components/public-notification/public-notification.js +177 -3
- package/dist/collection/utils/queryUtils.js +2 -2
- package/dist/collection/utils/queryUtils.ts +2 -2
- package/dist/components/map-draw-tools2.js +3 -7
- package/dist/components/map-select-tools2.js +55 -50
- package/dist/components/public-notification.js +111 -3
- package/dist/components/queryUtils.js +12 -12
- package/dist/esm/buffer-tools_6.entry.js +4 -8
- package/dist/esm/calcite-combobox_3.entry.js +55 -55
- package/dist/esm/calcite-input-message_5.entry.js +289 -287
- package/dist/esm/{downloadUtils-606b0f0e.js → downloadUtils-f278742f.js} +1089 -1089
- package/dist/esm/{index.es-c736c805.js → index.es-6f3a1143.js} +10596 -10596
- package/dist/esm/layer-table.entry.js +18 -18
- package/dist/esm/loader.js +26 -26
- package/dist/esm/{mapViewUtils-4e945e07.js → mapViewUtils-bd1809f0.js} +14 -14
- package/dist/esm/public-notification.entry.js +109 -4
- package/dist/esm/solutions-components.js +26 -26
- package/dist/solutions-components/{p-72117a18.js → p-03e2c6fd.js} +60 -60
- package/dist/solutions-components/{p-5ee7b022.entry.js → p-045d3988.entry.js} +11 -11
- package/dist/solutions-components/{p-6a657ff6.js → p-40c12650.js} +436 -436
- package/dist/solutions-components/p-70e1d4d8.entry.js +17 -0
- package/dist/solutions-components/p-88e5a76d.js +36 -0
- package/dist/solutions-components/p-bc39f296.entry.js +6 -0
- package/dist/solutions-components/{p-84bbaebf.entry.js → p-c93d8e80.entry.js} +6 -6
- package/dist/solutions-components/{p-4f5641b4.entry.js → p-cbac29fb.entry.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/queryUtils.ts +2 -2
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +16 -1
- package/dist/types/components/public-notification/public-notification.d.ts +70 -0
- package/dist/types/components.d.ts +1601 -1553
- package/package.json +1 -1
- package/dist/solutions-components/p-88e28de2.js +0 -36
- package/dist/solutions-components/p-ac76d270.entry.js +0 -17
- package/dist/solutions-components/p-e162304e.entry.js +0 -6
@@ -1,39 +1,39 @@
|
|
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 registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-c246d90e.js';
|
7
|
-
import { s as setRequestedIcon, g as getElementProp, a as getSlotted } from './dom-3bdc69ee.js';
|
8
|
-
import { S as StatusIcons } from './interfaces-4ae145eb.js';
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-d09506c4.js';
|
10
|
-
import { l as loadModules } from './loadModules-b299cd43.js';
|
11
|
-
import { g as goToSelection, h as highlightFeatures, d as queryObjectIds, e as getQueryGeoms } from './mapViewUtils-
|
12
|
-
import { E as EWorkflowType, f as ESelectionMode, g as ERefineMode, c as ESketchType } from './interfaces-d0d83efa.js';
|
13
|
-
import { s as state } from './publicNotificationStore-b9daaee4.js';
|
14
|
-
import { g as getLocaleComponentStrings } from './locale-7bf10e0a.js';
|
15
|
-
import { d as downloadCSV, a as downloadPDF } from './downloadUtils-
|
16
|
-
import { a as getSelectionIds, g as getTotal } from './publicNotificationUtils-5cb5a607.js';
|
17
|
-
import './resources-436ae282.js';
|
18
|
-
import './guid-15fce7c0.js';
|
19
|
-
import './observers-31601001.js';
|
20
|
-
import './index-ac7f66eb.js';
|
21
|
-
import './_commonjsHelpers-d5f9d613.js';
|
22
|
-
|
23
|
-
/*!
|
24
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
25
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
26
|
-
* v1.0.0-beta.97
|
27
|
-
*/
|
28
|
-
var StatusIconDefaults;
|
29
|
-
(function (StatusIconDefaults) {
|
30
|
-
StatusIconDefaults["valid"] = "check-circle";
|
31
|
-
StatusIconDefaults["invalid"] = "exclamation-mark-triangle";
|
32
|
-
StatusIconDefaults["idle"] = "information";
|
33
|
-
})(StatusIconDefaults || (StatusIconDefaults = {}));
|
34
|
-
|
35
|
-
const inputMessageCss = "@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([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active]){visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active][scale=m]),:host([active][scale=l]){-webkit-margin-before:var(--calcite-input-message-spacing-value);margin-block-start:var(--calcite-input-message-spacing-value)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
|
36
|
-
|
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 registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-c246d90e.js';
|
7
|
+
import { s as setRequestedIcon, g as getElementProp, a as getSlotted } from './dom-3bdc69ee.js';
|
8
|
+
import { S as StatusIcons } from './interfaces-4ae145eb.js';
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-d09506c4.js';
|
10
|
+
import { l as loadModules } from './loadModules-b299cd43.js';
|
11
|
+
import { g as goToSelection, h as highlightFeatures, d as queryObjectIds, e as getQueryGeoms } from './mapViewUtils-bd1809f0.js';
|
12
|
+
import { E as EWorkflowType, f as ESelectionMode, g as ERefineMode, c as ESketchType } from './interfaces-d0d83efa.js';
|
13
|
+
import { s as state } from './publicNotificationStore-b9daaee4.js';
|
14
|
+
import { g as getLocaleComponentStrings } from './locale-7bf10e0a.js';
|
15
|
+
import { d as downloadCSV, a as downloadPDF } from './downloadUtils-f278742f.js';
|
16
|
+
import { a as getSelectionIds, g as getTotal } from './publicNotificationUtils-5cb5a607.js';
|
17
|
+
import './resources-436ae282.js';
|
18
|
+
import './guid-15fce7c0.js';
|
19
|
+
import './observers-31601001.js';
|
20
|
+
import './index-ac7f66eb.js';
|
21
|
+
import './_commonjsHelpers-d5f9d613.js';
|
22
|
+
|
23
|
+
/*!
|
24
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
25
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
26
|
+
* v1.0.0-beta.97
|
27
|
+
*/
|
28
|
+
var StatusIconDefaults;
|
29
|
+
(function (StatusIconDefaults) {
|
30
|
+
StatusIconDefaults["valid"] = "check-circle";
|
31
|
+
StatusIconDefaults["invalid"] = "exclamation-mark-triangle";
|
32
|
+
StatusIconDefaults["idle"] = "information";
|
33
|
+
})(StatusIconDefaults || (StatusIconDefaults = {}));
|
34
|
+
|
35
|
+
const inputMessageCss = "@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([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active]){visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active][scale=m]),:host([active][scale=l]){-webkit-margin-before:var(--calcite-input-message-spacing-value);margin-block-start:var(--calcite-input-message-spacing-value)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
|
36
|
+
|
37
37
|
const InputMessage = class {
|
38
38
|
constructor(hostRef) {
|
39
39
|
registerInstance(this, hostRef);
|
@@ -82,32 +82,32 @@ const InputMessage = class {
|
|
82
82
|
"icon": ["handleIconEl"]
|
83
83
|
}; }
|
84
84
|
};
|
85
|
-
InputMessage.style = inputMessageCss;
|
86
|
-
|
87
|
-
/*!
|
88
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
89
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
90
|
-
* v1.0.0-beta.97
|
91
|
-
*/
|
92
|
-
const TEXT = {
|
93
|
-
close: "Close"
|
94
|
-
};
|
95
|
-
const SLOTS = {
|
96
|
-
title: "title",
|
97
|
-
message: "message",
|
98
|
-
link: "link",
|
99
|
-
actionsEnd: "actions-end"
|
100
|
-
};
|
101
|
-
const CSS = {
|
102
|
-
actionsEnd: "actions-end",
|
103
|
-
close: "notice-close",
|
104
|
-
container: "container",
|
105
|
-
content: "notice-content",
|
106
|
-
icon: "notice-icon"
|
107
|
-
};
|
108
|
-
|
109
|
-
const noticeCss = "@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-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";
|
110
|
-
|
85
|
+
InputMessage.style = inputMessageCss;
|
86
|
+
|
87
|
+
/*!
|
88
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
89
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
90
|
+
* v1.0.0-beta.97
|
91
|
+
*/
|
92
|
+
const TEXT = {
|
93
|
+
close: "Close"
|
94
|
+
};
|
95
|
+
const SLOTS = {
|
96
|
+
title: "title",
|
97
|
+
message: "message",
|
98
|
+
link: "link",
|
99
|
+
actionsEnd: "actions-end"
|
100
|
+
};
|
101
|
+
const CSS = {
|
102
|
+
actionsEnd: "actions-end",
|
103
|
+
close: "notice-close",
|
104
|
+
container: "container",
|
105
|
+
content: "notice-content",
|
106
|
+
icon: "notice-icon"
|
107
|
+
};
|
108
|
+
|
109
|
+
const noticeCss = "@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-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";
|
110
|
+
|
111
111
|
const Notice = class {
|
112
112
|
constructor(hostRef) {
|
113
113
|
registerInstance(this, hostRef);
|
@@ -230,10 +230,10 @@ const Notice = class {
|
|
230
230
|
"color": ["updateRequestedIcon"]
|
231
231
|
}; }
|
232
232
|
};
|
233
|
-
Notice.style = noticeCss;
|
234
|
-
|
235
|
-
const mapSelectToolsCss = ":host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:\"1rem\" !important}.end-border{-webkit-border-end:1px solid var(--calcite-ui-border-2);border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}";
|
236
|
-
|
233
|
+
Notice.style = noticeCss;
|
234
|
+
|
235
|
+
const mapSelectToolsCss = ":host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:\"1rem\" !important}.end-border{-webkit-border-end:1px solid var(--calcite-ui-border-2);border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}";
|
236
|
+
|
237
237
|
const MapSelectTools = class {
|
238
238
|
constructor(hostRef) {
|
239
239
|
registerInstance(this, hostRef);
|
@@ -254,13 +254,16 @@ const MapSelectTools = class {
|
|
254
254
|
this.enabledLayerIds = [];
|
255
255
|
this.defaultBufferDistance = undefined;
|
256
256
|
this.defaultBufferUnit = undefined;
|
257
|
-
this.geometries =
|
257
|
+
this.geometries = [];
|
258
258
|
this.isUpdate = false;
|
259
259
|
this.mapView = undefined;
|
260
260
|
this.searchConfiguration = undefined;
|
261
261
|
this.selectionSet = undefined;
|
262
262
|
this.selectLayerView = undefined;
|
263
263
|
this.showBufferTools = true;
|
264
|
+
this.sketchLineSymbol = undefined;
|
265
|
+
this.sketchPointSymbol = undefined;
|
266
|
+
this.sketchPolygonSymbol = undefined;
|
264
267
|
this._layerSelectChecked = undefined;
|
265
268
|
this._searchTerm = undefined;
|
266
269
|
this._translations = undefined;
|
@@ -407,7 +410,7 @@ const MapSelectTools = class {
|
|
407
410
|
const useDrawClass = !this._layerSelectChecked && !searchEnabled ? " div-visible" : " div-not-visible";
|
408
411
|
const showLayerChoiceClass = searchEnabled ? "div-not-visible" : "div-visible";
|
409
412
|
const bufferDistance = typeof ((_a = this.selectionSet) === null || _a === void 0 ? void 0 : _a.distance) === "number" ? this.selectionSet.distance : this.defaultBufferDistance;
|
410
|
-
return (h(Host, null, h("div", { class: "padding-bottom-1" }, h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._workflowChange(evt) }, h("calcite-radio-group-item", { checked: searchEnabled, class: "w-50 end-border", value: EWorkflowType.SEARCH }, this._translations.search), h("calcite-radio-group-item", { checked: drawEnabled, class: "w-50", value: EWorkflowType.SKETCH }, this._translations.sketch))), h("div", { class: showSearchClass }, h("div", { class: "search-widget", ref: (el) => { this._searchElement = el; } })), h("div", { class: showLayerChoiceClass }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { checked: this._layerSelectChecked, onCalciteCheckboxChange: () => this._layerSelectChanged(), ref: (el) => this._selectFromLayerElement = el }), "Use layer features")), h("div", { class: useDrawClass }, h("map-draw-tools", { active: true, border: true, mapView: this.mapView, ref: (el) => { this._drawTools = el; } })), h("div", { class: useSelectClass }, h("refine-selection-tools", { active: true, border: true, enabledLayerIds: this.enabledLayerIds, layerView: this.selectLayerView, layerViews: this._refineSelectLayers, mapView: this.mapView, mode: ESelectionMode.ADD, ref: (el) => { this._refineTools = el; }, refineMode: ERefineMode.SUBSET })), h("calcite-label", { class: showBufferToolsClass }, this._translations.searchDistance, h("buffer-tools", { distance: bufferDistance, geometries: this.geometries, onBufferComplete: (evt) => this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: ((_b = this.selectionSet) === null || _b === void 0 ? void 0 : _b.unit) || this.defaultBufferUnit })), h("slot", null)));
|
413
|
+
return (h(Host, null, h("div", { class: "padding-bottom-1" }, h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._workflowChange(evt) }, h("calcite-radio-group-item", { checked: searchEnabled, class: "w-50 end-border", value: EWorkflowType.SEARCH }, this._translations.search), h("calcite-radio-group-item", { checked: drawEnabled, class: "w-50", value: EWorkflowType.SKETCH }, this._translations.sketch))), h("div", { class: showSearchClass }, h("div", { class: "search-widget", ref: (el) => { this._searchElement = el; } })), h("div", { class: showLayerChoiceClass }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { checked: this._layerSelectChecked, onCalciteCheckboxChange: () => this._layerSelectChanged(), ref: (el) => this._selectFromLayerElement = el }), "Use layer features")), h("div", { class: useDrawClass }, h("map-draw-tools", { active: true, border: true, mapView: this.mapView, pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), h("div", { class: useSelectClass }, h("refine-selection-tools", { active: true, border: true, enabledLayerIds: this.enabledLayerIds, layerView: this.selectLayerView, layerViews: this._refineSelectLayers, mapView: this.mapView, mode: ESelectionMode.ADD, ref: (el) => { this._refineTools = el; }, refineMode: ERefineMode.SUBSET })), h("calcite-label", { class: showBufferToolsClass }, this._translations.searchDistance, h("buffer-tools", { distance: bufferDistance, geometries: this.geometries, onBufferComplete: (evt) => this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: ((_b = this.selectionSet) === null || _b === void 0 ? void 0 : _b.unit) || this.defaultBufferUnit })), h("slot", null)));
|
411
414
|
}
|
412
415
|
//--------------------------------------------------------------------------
|
413
416
|
//
|
@@ -442,7 +445,7 @@ const MapSelectTools = class {
|
|
442
445
|
*/
|
443
446
|
async _init() {
|
444
447
|
this._initGraphicsLayer();
|
445
|
-
this._initSelectionSet();
|
448
|
+
await this._initSelectionSet();
|
446
449
|
this._initSearchWidget();
|
447
450
|
}
|
448
451
|
/**
|
@@ -450,7 +453,7 @@ const MapSelectTools = class {
|
|
450
453
|
*
|
451
454
|
* @protected
|
452
455
|
*/
|
453
|
-
_initSelectionSet() {
|
456
|
+
async _initSelectionSet() {
|
454
457
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
455
458
|
if (this.selectionSet) {
|
456
459
|
this._searchTerm = (_b = (_a = this.selectionSet) === null || _a === void 0 ? void 0 : _a.searchResult) === null || _b === void 0 ? void 0 : _b.name;
|
@@ -465,7 +468,7 @@ const MapSelectTools = class {
|
|
465
468
|
];
|
466
469
|
// reset selection label base
|
467
470
|
this._selectionLabel = ((_k = this.selectionSet) === null || _k === void 0 ? void 0 : _k.label) || this._getSelectionBaseLabel();
|
468
|
-
|
471
|
+
await goToSelection(this.selectionSet.selectedIds, this.selectionSet.layerView, this.mapView, false);
|
469
472
|
}
|
470
473
|
else {
|
471
474
|
this._workflowType = EWorkflowType.SEARCH;
|
@@ -641,17 +644,16 @@ const MapSelectTools = class {
|
|
641
644
|
this.selectionLoadingChange.emit(false);
|
642
645
|
// Add geometries used for selecting features as graphics
|
643
646
|
this._drawTools.graphics = this.geometries.map(geom => {
|
644
|
-
var _a, _b, _c;
|
645
647
|
const props = {
|
646
648
|
"geometry": geom,
|
647
649
|
"symbol": geom.type === "point" ?
|
648
|
-
|
649
|
-
|
650
|
-
|
650
|
+
this.sketchPointSymbol : geom.type === "polyline" ?
|
651
|
+
this.sketchLineSymbol : geom.type === "polygon" ?
|
652
|
+
this.sketchPolygonSymbol : undefined
|
651
653
|
};
|
652
654
|
return new this.Graphic(props);
|
653
655
|
});
|
654
|
-
|
656
|
+
await this._highlightFeatures(this._selectedIds);
|
655
657
|
}
|
656
658
|
/**
|
657
659
|
* Query the selectLayerView based on any user drawn geometries or buffers
|
@@ -680,8 +682,8 @@ const MapSelectTools = class {
|
|
680
682
|
});
|
681
683
|
this._bufferGraphicsLayer.removeAll();
|
682
684
|
this._bufferGraphicsLayer.add(polygonGraphic);
|
683
|
-
|
684
|
-
|
685
|
+
await this._selectFeatures([this._bufferGeometry]);
|
686
|
+
await this.mapView.goTo(polygonGraphic.geometry.extent);
|
685
687
|
}
|
686
688
|
else {
|
687
689
|
if (this._bufferGraphicsLayer) {
|
@@ -725,7 +727,7 @@ const MapSelectTools = class {
|
|
725
727
|
// for sketch
|
726
728
|
// checking for clear as it would throw off tests
|
727
729
|
if ((_b = this._drawTools) === null || _b === void 0 ? void 0 : _b.clear) {
|
728
|
-
|
730
|
+
await this._drawTools.clear();
|
729
731
|
}
|
730
732
|
this.selectionSetChange.emit(this._selectedIds.length);
|
731
733
|
}
|
@@ -764,207 +766,207 @@ const MapSelectTools = class {
|
|
764
766
|
"_workflowType": ["workflowTypeHandler"]
|
765
767
|
}; }
|
766
768
|
};
|
767
|
-
MapSelectTools.style = mapSelectToolsCss;
|
768
|
-
|
769
|
-
const labelFormats = [
|
770
|
-
{
|
771
|
-
descriptionPDF: {
|
772
|
-
labelWidthDisplay: "2-5/8",
|
773
|
-
labelHeightDisplay: "1",
|
774
|
-
labelsPerPageDisplay: "30",
|
775
|
-
averyPartNumber: "*60"
|
776
|
-
},
|
777
|
-
labelSpec: {
|
778
|
-
type: "AVERY",
|
779
|
-
pageProperties: {
|
780
|
-
pageType: "ANSI A",
|
781
|
-
leftMargin: 0.1875,
|
782
|
-
rightMargin: 0.1875,
|
783
|
-
topMargin: 0.5,
|
784
|
-
bottomMargin: 0.5
|
785
|
-
},
|
786
|
-
numLabelsAcross: 3,
|
787
|
-
numLabelsDown: 10,
|
788
|
-
labelWidth: 2.625,
|
789
|
-
labelHeight: 1,
|
790
|
-
horizGapIn: 0.125,
|
791
|
-
vertGapIn: 0,
|
792
|
-
labelPadding: 0.1,
|
793
|
-
fontSizePx: 11,
|
794
|
-
maxNumLabelLines: 4
|
795
|
-
}
|
796
|
-
},
|
797
|
-
{
|
798
|
-
descriptionPDF: {
|
799
|
-
labelWidthDisplay: "4",
|
800
|
-
labelHeightDisplay: "1",
|
801
|
-
labelsPerPageDisplay: "20",
|
802
|
-
averyPartNumber: "*61"
|
803
|
-
},
|
804
|
-
labelSpec: {
|
805
|
-
type: "AVERY",
|
806
|
-
pageProperties: {
|
807
|
-
pageType: "ANSI A",
|
808
|
-
leftMargin: 0.15625,
|
809
|
-
rightMargin: 0.15625,
|
810
|
-
topMargin: 0.47637821,
|
811
|
-
bottomMargin: 0.5
|
812
|
-
},
|
813
|
-
numLabelsAcross: 2,
|
814
|
-
numLabelsDown: 10,
|
815
|
-
labelWidth: 4,
|
816
|
-
labelHeight: 1.0025,
|
817
|
-
horizGapIn: 0.1875,
|
818
|
-
vertGapIn: 0,
|
819
|
-
labelPadding: 0.1,
|
820
|
-
fontSizePx: 11,
|
821
|
-
maxNumLabelLines: 4
|
822
|
-
}
|
823
|
-
},
|
824
|
-
{
|
825
|
-
descriptionPDF: {
|
826
|
-
labelWidthDisplay: "4",
|
827
|
-
labelHeightDisplay: "1-1/3",
|
828
|
-
labelsPerPageDisplay: "14",
|
829
|
-
averyPartNumber: "*62"
|
830
|
-
},
|
831
|
-
labelSpec: {
|
832
|
-
type: "AVERY",
|
833
|
-
pageProperties: {
|
834
|
-
pageType: "ANSI A",
|
835
|
-
leftMargin: 0.15625,
|
836
|
-
rightMargin: 0.15625,
|
837
|
-
topMargin: 0.81889808,
|
838
|
-
bottomMargin: 0.83464612
|
839
|
-
},
|
840
|
-
numLabelsAcross: 2,
|
841
|
-
numLabelsDown: 7,
|
842
|
-
labelWidth: 4,
|
843
|
-
labelHeight: 1.3352,
|
844
|
-
horizGapIn: 0.1875,
|
845
|
-
vertGapIn: 0,
|
846
|
-
labelPadding: 0.1,
|
847
|
-
fontSizePx: 11,
|
848
|
-
maxNumLabelLines: 6
|
849
|
-
}
|
850
|
-
},
|
851
|
-
{
|
852
|
-
descriptionPDF: {
|
853
|
-
labelWidthDisplay: "4",
|
854
|
-
labelHeightDisplay: "2",
|
855
|
-
labelsPerPageDisplay: "10",
|
856
|
-
averyPartNumber: "*63"
|
857
|
-
},
|
858
|
-
labelSpec: {
|
859
|
-
type: "AVERY",
|
860
|
-
pageProperties: {
|
861
|
-
pageType: "ANSI A",
|
862
|
-
leftMargin: 0.15625,
|
863
|
-
rightMargin: 0.15625,
|
864
|
-
topMargin: 0.5,
|
865
|
-
bottomMargin: 0.5
|
866
|
-
},
|
867
|
-
numLabelsAcross: 2,
|
868
|
-
numLabelsDown: 5,
|
869
|
-
labelWidth: 4,
|
870
|
-
labelHeight: 2,
|
871
|
-
horizGapIn: 0.1875,
|
872
|
-
vertGapIn: 0,
|
873
|
-
labelPadding: 0.1,
|
874
|
-
fontSizePx: 12,
|
875
|
-
maxNumLabelLines: 10
|
876
|
-
}
|
877
|
-
},
|
878
|
-
{
|
879
|
-
descriptionPDF: {
|
880
|
-
labelWidthDisplay: "4",
|
881
|
-
labelHeightDisplay: "3-1/3",
|
882
|
-
labelsPerPageDisplay: "6",
|
883
|
-
averyPartNumber: "*64"
|
884
|
-
},
|
885
|
-
labelSpec: {
|
886
|
-
type: "AVERY",
|
887
|
-
pageProperties: {
|
888
|
-
pageType: "ANSI A",
|
889
|
-
leftMargin: 0.15625,
|
890
|
-
rightMargin: 0.15625,
|
891
|
-
topMargin: 0.4724412,
|
892
|
-
bottomMargin: 0.50000027
|
893
|
-
},
|
894
|
-
numLabelsAcross: 2,
|
895
|
-
numLabelsDown: 3,
|
896
|
-
labelWidth: 4,
|
897
|
-
labelHeight: 3.342,
|
898
|
-
horizGapIn: 0.1875,
|
899
|
-
vertGapIn: 0,
|
900
|
-
labelPadding: 0.1,
|
901
|
-
fontSizePx: 14,
|
902
|
-
maxNumLabelLines: 12
|
903
|
-
}
|
904
|
-
},
|
905
|
-
{
|
906
|
-
descriptionPDF: {
|
907
|
-
labelWidthDisplay: "1-3/4",
|
908
|
-
labelHeightDisplay: "1/2",
|
909
|
-
labelsPerPageDisplay: "80",
|
910
|
-
averyPartNumber: "*67"
|
911
|
-
},
|
912
|
-
labelSpec: {
|
913
|
-
type: "AVERY",
|
914
|
-
pageProperties: {
|
915
|
-
pageType: "ANSI A",
|
916
|
-
leftMargin: 0.307086375,
|
917
|
-
rightMargin: 0.307086375,
|
918
|
-
topMargin: 0.4724412,
|
919
|
-
bottomMargin: 0.49606326
|
920
|
-
},
|
921
|
-
numLabelsAcross: 4,
|
922
|
-
numLabelsDown: 20,
|
923
|
-
labelWidth: 1.75,
|
924
|
-
labelHeight: 0.50155,
|
925
|
-
horizGapIn: 0.29527575,
|
926
|
-
vertGapIn: 0,
|
927
|
-
labelPadding: 0.1,
|
928
|
-
fontSizePx: 8,
|
929
|
-
maxNumLabelLines: 3
|
930
|
-
}
|
931
|
-
},
|
932
|
-
{
|
933
|
-
descriptionPDF: {
|
934
|
-
labelWidthDisplay: "1-3/4",
|
935
|
-
labelHeightDisplay: "2/3",
|
936
|
-
labelsPerPageDisplay: "60",
|
937
|
-
averyPartNumber: "*95"
|
938
|
-
},
|
939
|
-
labelSpec: {
|
940
|
-
type: "AVERY",
|
941
|
-
pageProperties: {
|
942
|
-
pageType: "ANSI A",
|
943
|
-
leftMargin: 0.28936983,
|
944
|
-
rightMargin: 0.28936983,
|
945
|
-
topMargin: 0.53937037,
|
946
|
-
bottomMargin: 0.5511814
|
947
|
-
},
|
948
|
-
numLabelsAcross: 4,
|
949
|
-
numLabelsDown: 15,
|
950
|
-
labelWidth: 1.75,
|
951
|
-
labelHeight: 0.6605,
|
952
|
-
horizGapIn: 0.30708678,
|
953
|
-
vertGapIn: 0,
|
954
|
-
labelPadding: 0.1,
|
955
|
-
fontSizePx: 8,
|
956
|
-
maxNumLabelLines: 4
|
957
|
-
}
|
958
|
-
}
|
959
|
-
];
|
960
|
-
|
961
|
-
const pdfLabelFormats = /*#__PURE__*/Object.freeze({
|
962
|
-
__proto__: null,
|
963
|
-
'default': labelFormats
|
964
|
-
});
|
965
|
-
|
966
|
-
const pdfDownloadCss = ":host{display:block}";
|
967
|
-
|
769
|
+
MapSelectTools.style = mapSelectToolsCss;
|
770
|
+
|
771
|
+
const labelFormats = [
|
772
|
+
{
|
773
|
+
descriptionPDF: {
|
774
|
+
labelWidthDisplay: "2-5/8",
|
775
|
+
labelHeightDisplay: "1",
|
776
|
+
labelsPerPageDisplay: "30",
|
777
|
+
averyPartNumber: "*60"
|
778
|
+
},
|
779
|
+
labelSpec: {
|
780
|
+
type: "AVERY",
|
781
|
+
pageProperties: {
|
782
|
+
pageType: "ANSI A",
|
783
|
+
leftMargin: 0.1875,
|
784
|
+
rightMargin: 0.1875,
|
785
|
+
topMargin: 0.5,
|
786
|
+
bottomMargin: 0.5
|
787
|
+
},
|
788
|
+
numLabelsAcross: 3,
|
789
|
+
numLabelsDown: 10,
|
790
|
+
labelWidth: 2.625,
|
791
|
+
labelHeight: 1,
|
792
|
+
horizGapIn: 0.125,
|
793
|
+
vertGapIn: 0,
|
794
|
+
labelPadding: 0.1,
|
795
|
+
fontSizePx: 11,
|
796
|
+
maxNumLabelLines: 4
|
797
|
+
}
|
798
|
+
},
|
799
|
+
{
|
800
|
+
descriptionPDF: {
|
801
|
+
labelWidthDisplay: "4",
|
802
|
+
labelHeightDisplay: "1",
|
803
|
+
labelsPerPageDisplay: "20",
|
804
|
+
averyPartNumber: "*61"
|
805
|
+
},
|
806
|
+
labelSpec: {
|
807
|
+
type: "AVERY",
|
808
|
+
pageProperties: {
|
809
|
+
pageType: "ANSI A",
|
810
|
+
leftMargin: 0.15625,
|
811
|
+
rightMargin: 0.15625,
|
812
|
+
topMargin: 0.47637821,
|
813
|
+
bottomMargin: 0.5
|
814
|
+
},
|
815
|
+
numLabelsAcross: 2,
|
816
|
+
numLabelsDown: 10,
|
817
|
+
labelWidth: 4,
|
818
|
+
labelHeight: 1.0025,
|
819
|
+
horizGapIn: 0.1875,
|
820
|
+
vertGapIn: 0,
|
821
|
+
labelPadding: 0.1,
|
822
|
+
fontSizePx: 11,
|
823
|
+
maxNumLabelLines: 4
|
824
|
+
}
|
825
|
+
},
|
826
|
+
{
|
827
|
+
descriptionPDF: {
|
828
|
+
labelWidthDisplay: "4",
|
829
|
+
labelHeightDisplay: "1-1/3",
|
830
|
+
labelsPerPageDisplay: "14",
|
831
|
+
averyPartNumber: "*62"
|
832
|
+
},
|
833
|
+
labelSpec: {
|
834
|
+
type: "AVERY",
|
835
|
+
pageProperties: {
|
836
|
+
pageType: "ANSI A",
|
837
|
+
leftMargin: 0.15625,
|
838
|
+
rightMargin: 0.15625,
|
839
|
+
topMargin: 0.81889808,
|
840
|
+
bottomMargin: 0.83464612
|
841
|
+
},
|
842
|
+
numLabelsAcross: 2,
|
843
|
+
numLabelsDown: 7,
|
844
|
+
labelWidth: 4,
|
845
|
+
labelHeight: 1.3352,
|
846
|
+
horizGapIn: 0.1875,
|
847
|
+
vertGapIn: 0,
|
848
|
+
labelPadding: 0.1,
|
849
|
+
fontSizePx: 11,
|
850
|
+
maxNumLabelLines: 6
|
851
|
+
}
|
852
|
+
},
|
853
|
+
{
|
854
|
+
descriptionPDF: {
|
855
|
+
labelWidthDisplay: "4",
|
856
|
+
labelHeightDisplay: "2",
|
857
|
+
labelsPerPageDisplay: "10",
|
858
|
+
averyPartNumber: "*63"
|
859
|
+
},
|
860
|
+
labelSpec: {
|
861
|
+
type: "AVERY",
|
862
|
+
pageProperties: {
|
863
|
+
pageType: "ANSI A",
|
864
|
+
leftMargin: 0.15625,
|
865
|
+
rightMargin: 0.15625,
|
866
|
+
topMargin: 0.5,
|
867
|
+
bottomMargin: 0.5
|
868
|
+
},
|
869
|
+
numLabelsAcross: 2,
|
870
|
+
numLabelsDown: 5,
|
871
|
+
labelWidth: 4,
|
872
|
+
labelHeight: 2,
|
873
|
+
horizGapIn: 0.1875,
|
874
|
+
vertGapIn: 0,
|
875
|
+
labelPadding: 0.1,
|
876
|
+
fontSizePx: 12,
|
877
|
+
maxNumLabelLines: 10
|
878
|
+
}
|
879
|
+
},
|
880
|
+
{
|
881
|
+
descriptionPDF: {
|
882
|
+
labelWidthDisplay: "4",
|
883
|
+
labelHeightDisplay: "3-1/3",
|
884
|
+
labelsPerPageDisplay: "6",
|
885
|
+
averyPartNumber: "*64"
|
886
|
+
},
|
887
|
+
labelSpec: {
|
888
|
+
type: "AVERY",
|
889
|
+
pageProperties: {
|
890
|
+
pageType: "ANSI A",
|
891
|
+
leftMargin: 0.15625,
|
892
|
+
rightMargin: 0.15625,
|
893
|
+
topMargin: 0.4724412,
|
894
|
+
bottomMargin: 0.50000027
|
895
|
+
},
|
896
|
+
numLabelsAcross: 2,
|
897
|
+
numLabelsDown: 3,
|
898
|
+
labelWidth: 4,
|
899
|
+
labelHeight: 3.342,
|
900
|
+
horizGapIn: 0.1875,
|
901
|
+
vertGapIn: 0,
|
902
|
+
labelPadding: 0.1,
|
903
|
+
fontSizePx: 14,
|
904
|
+
maxNumLabelLines: 12
|
905
|
+
}
|
906
|
+
},
|
907
|
+
{
|
908
|
+
descriptionPDF: {
|
909
|
+
labelWidthDisplay: "1-3/4",
|
910
|
+
labelHeightDisplay: "1/2",
|
911
|
+
labelsPerPageDisplay: "80",
|
912
|
+
averyPartNumber: "*67"
|
913
|
+
},
|
914
|
+
labelSpec: {
|
915
|
+
type: "AVERY",
|
916
|
+
pageProperties: {
|
917
|
+
pageType: "ANSI A",
|
918
|
+
leftMargin: 0.307086375,
|
919
|
+
rightMargin: 0.307086375,
|
920
|
+
topMargin: 0.4724412,
|
921
|
+
bottomMargin: 0.49606326
|
922
|
+
},
|
923
|
+
numLabelsAcross: 4,
|
924
|
+
numLabelsDown: 20,
|
925
|
+
labelWidth: 1.75,
|
926
|
+
labelHeight: 0.50155,
|
927
|
+
horizGapIn: 0.29527575,
|
928
|
+
vertGapIn: 0,
|
929
|
+
labelPadding: 0.1,
|
930
|
+
fontSizePx: 8,
|
931
|
+
maxNumLabelLines: 3
|
932
|
+
}
|
933
|
+
},
|
934
|
+
{
|
935
|
+
descriptionPDF: {
|
936
|
+
labelWidthDisplay: "1-3/4",
|
937
|
+
labelHeightDisplay: "2/3",
|
938
|
+
labelsPerPageDisplay: "60",
|
939
|
+
averyPartNumber: "*95"
|
940
|
+
},
|
941
|
+
labelSpec: {
|
942
|
+
type: "AVERY",
|
943
|
+
pageProperties: {
|
944
|
+
pageType: "ANSI A",
|
945
|
+
leftMargin: 0.28936983,
|
946
|
+
rightMargin: 0.28936983,
|
947
|
+
topMargin: 0.53937037,
|
948
|
+
bottomMargin: 0.5511814
|
949
|
+
},
|
950
|
+
numLabelsAcross: 4,
|
951
|
+
numLabelsDown: 15,
|
952
|
+
labelWidth: 1.75,
|
953
|
+
labelHeight: 0.6605,
|
954
|
+
horizGapIn: 0.30708678,
|
955
|
+
vertGapIn: 0,
|
956
|
+
labelPadding: 0.1,
|
957
|
+
fontSizePx: 8,
|
958
|
+
maxNumLabelLines: 4
|
959
|
+
}
|
960
|
+
}
|
961
|
+
];
|
962
|
+
|
963
|
+
const pdfLabelFormats = /*#__PURE__*/Object.freeze({
|
964
|
+
__proto__: null,
|
965
|
+
'default': labelFormats
|
966
|
+
});
|
967
|
+
|
968
|
+
const pdfDownloadCss = ":host{display:block}";
|
969
|
+
|
968
970
|
const PdfDownload = class {
|
969
971
|
constructor(hostRef) {
|
970
972
|
registerInstance(this, hostRef);
|
@@ -1089,10 +1091,10 @@ const PdfDownload = class {
|
|
1089
1091
|
}
|
1090
1092
|
get el() { return getElement(this); }
|
1091
1093
|
};
|
1092
|
-
PdfDownload.style = pdfDownloadCss;
|
1093
|
-
|
1094
|
-
const refineSelectionCss = ":host{display:block}";
|
1095
|
-
|
1094
|
+
PdfDownload.style = pdfDownloadCss;
|
1095
|
+
|
1096
|
+
const refineSelectionCss = ":host{display:block}";
|
1097
|
+
|
1096
1098
|
const RefineSelection = class {
|
1097
1099
|
constructor(hostRef) {
|
1098
1100
|
registerInstance(this, hostRef);
|
@@ -1344,6 +1346,6 @@ const RefineSelection = class {
|
|
1344
1346
|
"addresseeLayer": ["addresseeLayerWatchHandler"]
|
1345
1347
|
}; }
|
1346
1348
|
};
|
1347
|
-
RefineSelection.style = refineSelectionCss;
|
1348
|
-
|
1349
|
-
export { InputMessage as calcite_input_message, Notice as calcite_notice, MapSelectTools as map_select_tools, PdfDownload as pdf_download, RefineSelection as refine_selection };
|
1349
|
+
RefineSelection.style = refineSelectionCss;
|
1350
|
+
|
1351
|
+
export { InputMessage as calcite_input_message, Notice as calcite_notice, MapSelectTools as map_select_tools, PdfDownload as pdf_download, RefineSelection as refine_selection };
|