@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.
Files changed (46) hide show
  1. package/dist/cjs/buffer-tools_6.cjs.entry.js +4 -8
  2. package/dist/cjs/calcite-combobox_3.cjs.entry.js +61 -61
  3. package/dist/cjs/calcite-input-message_5.cjs.entry.js +297 -295
  4. package/dist/cjs/{downloadUtils-415ab342.js → downloadUtils-b85476e8.js} +1093 -1093
  5. package/dist/cjs/{index.es-98008aa0.js → index.es-3ba50626.js} +10682 -10682
  6. package/dist/cjs/layer-table.cjs.entry.js +22 -22
  7. package/dist/cjs/loader.cjs.js +30 -30
  8. package/dist/cjs/{mapViewUtils-f617ae9a.js → mapViewUtils-df63bfa4.js} +26 -26
  9. package/dist/cjs/public-notification.cjs.entry.js +109 -4
  10. package/dist/cjs/solutions-components.cjs.js +31 -31
  11. package/dist/collection/components/map-draw-tools/map-draw-tools.js +3 -7
  12. package/dist/collection/components/map-select-tools/map-select-tools.js +74 -14
  13. package/dist/collection/components/public-notification/public-notification.js +177 -3
  14. package/dist/collection/utils/queryUtils.js +2 -2
  15. package/dist/collection/utils/queryUtils.ts +2 -2
  16. package/dist/components/map-draw-tools2.js +3 -7
  17. package/dist/components/map-select-tools2.js +55 -50
  18. package/dist/components/public-notification.js +111 -3
  19. package/dist/components/queryUtils.js +12 -12
  20. package/dist/esm/buffer-tools_6.entry.js +4 -8
  21. package/dist/esm/calcite-combobox_3.entry.js +55 -55
  22. package/dist/esm/calcite-input-message_5.entry.js +289 -287
  23. package/dist/esm/{downloadUtils-606b0f0e.js → downloadUtils-f278742f.js} +1089 -1089
  24. package/dist/esm/{index.es-c736c805.js → index.es-6f3a1143.js} +10596 -10596
  25. package/dist/esm/layer-table.entry.js +18 -18
  26. package/dist/esm/loader.js +26 -26
  27. package/dist/esm/{mapViewUtils-4e945e07.js → mapViewUtils-bd1809f0.js} +14 -14
  28. package/dist/esm/public-notification.entry.js +109 -4
  29. package/dist/esm/solutions-components.js +26 -26
  30. package/dist/solutions-components/{p-72117a18.js → p-03e2c6fd.js} +60 -60
  31. package/dist/solutions-components/{p-5ee7b022.entry.js → p-045d3988.entry.js} +11 -11
  32. package/dist/solutions-components/{p-6a657ff6.js → p-40c12650.js} +436 -436
  33. package/dist/solutions-components/p-70e1d4d8.entry.js +17 -0
  34. package/dist/solutions-components/p-88e5a76d.js +36 -0
  35. package/dist/solutions-components/p-bc39f296.entry.js +6 -0
  36. package/dist/solutions-components/{p-84bbaebf.entry.js → p-c93d8e80.entry.js} +6 -6
  37. package/dist/solutions-components/{p-4f5641b4.entry.js → p-cbac29fb.entry.js} +2 -2
  38. package/dist/solutions-components/solutions-components.esm.js +1 -1
  39. package/dist/solutions-components/utils/queryUtils.ts +2 -2
  40. package/dist/types/components/map-select-tools/map-select-tools.d.ts +16 -1
  41. package/dist/types/components/public-notification/public-notification.d.ts +70 -0
  42. package/dist/types/components.d.ts +1601 -1553
  43. package/package.json +1 -1
  44. package/dist/solutions-components/p-88e28de2.js +0 -36
  45. package/dist/solutions-components/p-ac76d270.entry.js +0 -17
  46. package/dist/solutions-components/p-e162304e.entry.js +0 -6
@@ -1,43 +1,43 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- 'use strict';
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- const index = require('./index-c6979cbb.js');
11
- const dom = require('./dom-4a580af6.js');
12
- const interfaces = require('./interfaces-e76f31e9.js');
13
- const conditionalSlot = require('./conditionalSlot-baada7a3.js');
14
- const loadModules = require('./loadModules-0806a34f.js');
15
- const mapViewUtils = require('./mapViewUtils-f617ae9a.js');
16
- const interfaces$1 = require('./interfaces-17c631bf.js');
17
- const publicNotificationStore = require('./publicNotificationStore-20e924f5.js');
18
- const locale = require('./locale-04da9a8c.js');
19
- const downloadUtils = require('./downloadUtils-415ab342.js');
20
- const publicNotificationUtils = require('./publicNotificationUtils-9d585d8d.js');
21
- require('./resources-b56bce71.js');
22
- require('./guid-84ac4d91.js');
23
- require('./observers-5311faf8.js');
24
- require('./index-763f87ac.js');
25
- require('./_commonjsHelpers-384729db.js');
26
-
27
- /*!
28
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
29
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
30
- * v1.0.0-beta.97
31
- */
32
- var StatusIconDefaults;
33
- (function (StatusIconDefaults) {
34
- StatusIconDefaults["valid"] = "check-circle";
35
- StatusIconDefaults["invalid"] = "exclamation-mark-triangle";
36
- StatusIconDefaults["idle"] = "information";
37
- })(StatusIconDefaults || (StatusIconDefaults = {}));
38
-
39
- 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}";
40
-
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ const index = require('./index-c6979cbb.js');
11
+ const dom = require('./dom-4a580af6.js');
12
+ const interfaces = require('./interfaces-e76f31e9.js');
13
+ const conditionalSlot = require('./conditionalSlot-baada7a3.js');
14
+ const loadModules = require('./loadModules-0806a34f.js');
15
+ const mapViewUtils = require('./mapViewUtils-df63bfa4.js');
16
+ const interfaces$1 = require('./interfaces-17c631bf.js');
17
+ const publicNotificationStore = require('./publicNotificationStore-20e924f5.js');
18
+ const locale = require('./locale-04da9a8c.js');
19
+ const downloadUtils = require('./downloadUtils-b85476e8.js');
20
+ const publicNotificationUtils = require('./publicNotificationUtils-9d585d8d.js');
21
+ require('./resources-b56bce71.js');
22
+ require('./guid-84ac4d91.js');
23
+ require('./observers-5311faf8.js');
24
+ require('./index-763f87ac.js');
25
+ require('./_commonjsHelpers-384729db.js');
26
+
27
+ /*!
28
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
29
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
30
+ * v1.0.0-beta.97
31
+ */
32
+ var StatusIconDefaults;
33
+ (function (StatusIconDefaults) {
34
+ StatusIconDefaults["valid"] = "check-circle";
35
+ StatusIconDefaults["invalid"] = "exclamation-mark-triangle";
36
+ StatusIconDefaults["idle"] = "information";
37
+ })(StatusIconDefaults || (StatusIconDefaults = {}));
38
+
39
+ 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}";
40
+
41
41
  const InputMessage = class {
42
42
  constructor(hostRef) {
43
43
  index.registerInstance(this, hostRef);
@@ -86,32 +86,32 @@ const InputMessage = class {
86
86
  "icon": ["handleIconEl"]
87
87
  }; }
88
88
  };
89
- InputMessage.style = inputMessageCss;
90
-
91
- /*!
92
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
93
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
94
- * v1.0.0-beta.97
95
- */
96
- const TEXT = {
97
- close: "Close"
98
- };
99
- const SLOTS = {
100
- title: "title",
101
- message: "message",
102
- link: "link",
103
- actionsEnd: "actions-end"
104
- };
105
- const CSS = {
106
- actionsEnd: "actions-end",
107
- close: "notice-close",
108
- container: "container",
109
- content: "notice-content",
110
- icon: "notice-icon"
111
- };
112
-
113
- 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)}";
114
-
89
+ InputMessage.style = inputMessageCss;
90
+
91
+ /*!
92
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
93
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
94
+ * v1.0.0-beta.97
95
+ */
96
+ const TEXT = {
97
+ close: "Close"
98
+ };
99
+ const SLOTS = {
100
+ title: "title",
101
+ message: "message",
102
+ link: "link",
103
+ actionsEnd: "actions-end"
104
+ };
105
+ const CSS = {
106
+ actionsEnd: "actions-end",
107
+ close: "notice-close",
108
+ container: "container",
109
+ content: "notice-content",
110
+ icon: "notice-icon"
111
+ };
112
+
113
+ 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)}";
114
+
115
115
  const Notice = class {
116
116
  constructor(hostRef) {
117
117
  index.registerInstance(this, hostRef);
@@ -234,10 +234,10 @@ const Notice = class {
234
234
  "color": ["updateRequestedIcon"]
235
235
  }; }
236
236
  };
237
- Notice.style = noticeCss;
238
-
239
- 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}";
240
-
237
+ Notice.style = noticeCss;
238
+
239
+ 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}";
240
+
241
241
  const MapSelectTools = class {
242
242
  constructor(hostRef) {
243
243
  index.registerInstance(this, hostRef);
@@ -258,13 +258,16 @@ const MapSelectTools = class {
258
258
  this.enabledLayerIds = [];
259
259
  this.defaultBufferDistance = undefined;
260
260
  this.defaultBufferUnit = undefined;
261
- this.geometries = undefined;
261
+ this.geometries = [];
262
262
  this.isUpdate = false;
263
263
  this.mapView = undefined;
264
264
  this.searchConfiguration = undefined;
265
265
  this.selectionSet = undefined;
266
266
  this.selectLayerView = undefined;
267
267
  this.showBufferTools = true;
268
+ this.sketchLineSymbol = undefined;
269
+ this.sketchPointSymbol = undefined;
270
+ this.sketchPolygonSymbol = undefined;
268
271
  this._layerSelectChecked = undefined;
269
272
  this._searchTerm = undefined;
270
273
  this._translations = undefined;
@@ -411,7 +414,7 @@ const MapSelectTools = class {
411
414
  const useDrawClass = !this._layerSelectChecked && !searchEnabled ? " div-visible" : " div-not-visible";
412
415
  const showLayerChoiceClass = searchEnabled ? "div-not-visible" : "div-visible";
413
416
  const bufferDistance = typeof ((_a = this.selectionSet) === null || _a === void 0 ? void 0 : _a.distance) === "number" ? this.selectionSet.distance : this.defaultBufferDistance;
414
- return (index.h(index.Host, null, index.h("div", { class: "padding-bottom-1" }, index.h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._workflowChange(evt) }, index.h("calcite-radio-group-item", { checked: searchEnabled, class: "w-50 end-border", value: interfaces$1.EWorkflowType.SEARCH }, this._translations.search), index.h("calcite-radio-group-item", { checked: drawEnabled, class: "w-50", value: interfaces$1.EWorkflowType.SKETCH }, this._translations.sketch))), index.h("div", { class: showSearchClass }, index.h("div", { class: "search-widget", ref: (el) => { this._searchElement = el; } })), index.h("div", { class: showLayerChoiceClass }, index.h("calcite-label", { layout: "inline" }, index.h("calcite-checkbox", { checked: this._layerSelectChecked, onCalciteCheckboxChange: () => this._layerSelectChanged(), ref: (el) => this._selectFromLayerElement = el }), "Use layer features")), index.h("div", { class: useDrawClass }, index.h("map-draw-tools", { active: true, border: true, mapView: this.mapView, ref: (el) => { this._drawTools = el; } })), index.h("div", { class: useSelectClass }, index.h("refine-selection-tools", { active: true, border: true, enabledLayerIds: this.enabledLayerIds, layerView: this.selectLayerView, layerViews: this._refineSelectLayers, mapView: this.mapView, mode: interfaces$1.ESelectionMode.ADD, ref: (el) => { this._refineTools = el; }, refineMode: interfaces$1.ERefineMode.SUBSET })), index.h("calcite-label", { class: showBufferToolsClass }, this._translations.searchDistance, index.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 })), index.h("slot", null)));
417
+ return (index.h(index.Host, null, index.h("div", { class: "padding-bottom-1" }, index.h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._workflowChange(evt) }, index.h("calcite-radio-group-item", { checked: searchEnabled, class: "w-50 end-border", value: interfaces$1.EWorkflowType.SEARCH }, this._translations.search), index.h("calcite-radio-group-item", { checked: drawEnabled, class: "w-50", value: interfaces$1.EWorkflowType.SKETCH }, this._translations.sketch))), index.h("div", { class: showSearchClass }, index.h("div", { class: "search-widget", ref: (el) => { this._searchElement = el; } })), index.h("div", { class: showLayerChoiceClass }, index.h("calcite-label", { layout: "inline" }, index.h("calcite-checkbox", { checked: this._layerSelectChecked, onCalciteCheckboxChange: () => this._layerSelectChanged(), ref: (el) => this._selectFromLayerElement = el }), "Use layer features")), index.h("div", { class: useDrawClass }, index.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; } })), index.h("div", { class: useSelectClass }, index.h("refine-selection-tools", { active: true, border: true, enabledLayerIds: this.enabledLayerIds, layerView: this.selectLayerView, layerViews: this._refineSelectLayers, mapView: this.mapView, mode: interfaces$1.ESelectionMode.ADD, ref: (el) => { this._refineTools = el; }, refineMode: interfaces$1.ERefineMode.SUBSET })), index.h("calcite-label", { class: showBufferToolsClass }, this._translations.searchDistance, index.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 })), index.h("slot", null)));
415
418
  }
416
419
  //--------------------------------------------------------------------------
417
420
  //
@@ -446,7 +449,7 @@ const MapSelectTools = class {
446
449
  */
447
450
  async _init() {
448
451
  this._initGraphicsLayer();
449
- this._initSelectionSet();
452
+ await this._initSelectionSet();
450
453
  this._initSearchWidget();
451
454
  }
452
455
  /**
@@ -454,7 +457,7 @@ const MapSelectTools = class {
454
457
  *
455
458
  * @protected
456
459
  */
457
- _initSelectionSet() {
460
+ async _initSelectionSet() {
458
461
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
459
462
  if (this.selectionSet) {
460
463
  this._searchTerm = (_b = (_a = this.selectionSet) === null || _a === void 0 ? void 0 : _a.searchResult) === null || _b === void 0 ? void 0 : _b.name;
@@ -469,7 +472,7 @@ const MapSelectTools = class {
469
472
  ];
470
473
  // reset selection label base
471
474
  this._selectionLabel = ((_k = this.selectionSet) === null || _k === void 0 ? void 0 : _k.label) || this._getSelectionBaseLabel();
472
- void mapViewUtils.goToSelection(this.selectionSet.selectedIds, this.selectionSet.layerView, this.mapView, false);
475
+ await mapViewUtils.goToSelection(this.selectionSet.selectedIds, this.selectionSet.layerView, this.mapView, false);
473
476
  }
474
477
  else {
475
478
  this._workflowType = interfaces$1.EWorkflowType.SEARCH;
@@ -645,17 +648,16 @@ const MapSelectTools = class {
645
648
  this.selectionLoadingChange.emit(false);
646
649
  // Add geometries used for selecting features as graphics
647
650
  this._drawTools.graphics = this.geometries.map(geom => {
648
- var _a, _b, _c;
649
651
  const props = {
650
652
  "geometry": geom,
651
653
  "symbol": geom.type === "point" ?
652
- (_a = this._drawTools) === null || _a === void 0 ? void 0 : _a.pointSymbol : geom.type === "polyline" ?
653
- (_b = this._drawTools) === null || _b === void 0 ? void 0 : _b.polylineSymbol : geom.type === "polygon" ?
654
- (_c = this._drawTools) === null || _c === void 0 ? void 0 : _c.polygonSymbol : undefined
654
+ this.sketchPointSymbol : geom.type === "polyline" ?
655
+ this.sketchLineSymbol : geom.type === "polygon" ?
656
+ this.sketchPolygonSymbol : undefined
655
657
  };
656
658
  return new this.Graphic(props);
657
659
  });
658
- void this._highlightFeatures(this._selectedIds);
660
+ await this._highlightFeatures(this._selectedIds);
659
661
  }
660
662
  /**
661
663
  * Query the selectLayerView based on any user drawn geometries or buffers
@@ -684,8 +686,8 @@ const MapSelectTools = class {
684
686
  });
685
687
  this._bufferGraphicsLayer.removeAll();
686
688
  this._bufferGraphicsLayer.add(polygonGraphic);
687
- void this._selectFeatures([this._bufferGeometry]);
688
- void this.mapView.goTo(polygonGraphic.geometry.extent);
689
+ await this._selectFeatures([this._bufferGeometry]);
690
+ await this.mapView.goTo(polygonGraphic.geometry.extent);
689
691
  }
690
692
  else {
691
693
  if (this._bufferGraphicsLayer) {
@@ -729,7 +731,7 @@ const MapSelectTools = class {
729
731
  // for sketch
730
732
  // checking for clear as it would throw off tests
731
733
  if ((_b = this._drawTools) === null || _b === void 0 ? void 0 : _b.clear) {
732
- void this._drawTools.clear();
734
+ await this._drawTools.clear();
733
735
  }
734
736
  this.selectionSetChange.emit(this._selectedIds.length);
735
737
  }
@@ -768,207 +770,207 @@ const MapSelectTools = class {
768
770
  "_workflowType": ["workflowTypeHandler"]
769
771
  }; }
770
772
  };
771
- MapSelectTools.style = mapSelectToolsCss;
772
-
773
- const labelFormats = [
774
- {
775
- descriptionPDF: {
776
- labelWidthDisplay: "2-5/8",
777
- labelHeightDisplay: "1",
778
- labelsPerPageDisplay: "30",
779
- averyPartNumber: "*60"
780
- },
781
- labelSpec: {
782
- type: "AVERY",
783
- pageProperties: {
784
- pageType: "ANSI A",
785
- leftMargin: 0.1875,
786
- rightMargin: 0.1875,
787
- topMargin: 0.5,
788
- bottomMargin: 0.5
789
- },
790
- numLabelsAcross: 3,
791
- numLabelsDown: 10,
792
- labelWidth: 2.625,
793
- labelHeight: 1,
794
- horizGapIn: 0.125,
795
- vertGapIn: 0,
796
- labelPadding: 0.1,
797
- fontSizePx: 11,
798
- maxNumLabelLines: 4
799
- }
800
- },
801
- {
802
- descriptionPDF: {
803
- labelWidthDisplay: "4",
804
- labelHeightDisplay: "1",
805
- labelsPerPageDisplay: "20",
806
- averyPartNumber: "*61"
807
- },
808
- labelSpec: {
809
- type: "AVERY",
810
- pageProperties: {
811
- pageType: "ANSI A",
812
- leftMargin: 0.15625,
813
- rightMargin: 0.15625,
814
- topMargin: 0.47637821,
815
- bottomMargin: 0.5
816
- },
817
- numLabelsAcross: 2,
818
- numLabelsDown: 10,
819
- labelWidth: 4,
820
- labelHeight: 1.0025,
821
- horizGapIn: 0.1875,
822
- vertGapIn: 0,
823
- labelPadding: 0.1,
824
- fontSizePx: 11,
825
- maxNumLabelLines: 4
826
- }
827
- },
828
- {
829
- descriptionPDF: {
830
- labelWidthDisplay: "4",
831
- labelHeightDisplay: "1-1/3",
832
- labelsPerPageDisplay: "14",
833
- averyPartNumber: "*62"
834
- },
835
- labelSpec: {
836
- type: "AVERY",
837
- pageProperties: {
838
- pageType: "ANSI A",
839
- leftMargin: 0.15625,
840
- rightMargin: 0.15625,
841
- topMargin: 0.81889808,
842
- bottomMargin: 0.83464612
843
- },
844
- numLabelsAcross: 2,
845
- numLabelsDown: 7,
846
- labelWidth: 4,
847
- labelHeight: 1.3352,
848
- horizGapIn: 0.1875,
849
- vertGapIn: 0,
850
- labelPadding: 0.1,
851
- fontSizePx: 11,
852
- maxNumLabelLines: 6
853
- }
854
- },
855
- {
856
- descriptionPDF: {
857
- labelWidthDisplay: "4",
858
- labelHeightDisplay: "2",
859
- labelsPerPageDisplay: "10",
860
- averyPartNumber: "*63"
861
- },
862
- labelSpec: {
863
- type: "AVERY",
864
- pageProperties: {
865
- pageType: "ANSI A",
866
- leftMargin: 0.15625,
867
- rightMargin: 0.15625,
868
- topMargin: 0.5,
869
- bottomMargin: 0.5
870
- },
871
- numLabelsAcross: 2,
872
- numLabelsDown: 5,
873
- labelWidth: 4,
874
- labelHeight: 2,
875
- horizGapIn: 0.1875,
876
- vertGapIn: 0,
877
- labelPadding: 0.1,
878
- fontSizePx: 12,
879
- maxNumLabelLines: 10
880
- }
881
- },
882
- {
883
- descriptionPDF: {
884
- labelWidthDisplay: "4",
885
- labelHeightDisplay: "3-1/3",
886
- labelsPerPageDisplay: "6",
887
- averyPartNumber: "*64"
888
- },
889
- labelSpec: {
890
- type: "AVERY",
891
- pageProperties: {
892
- pageType: "ANSI A",
893
- leftMargin: 0.15625,
894
- rightMargin: 0.15625,
895
- topMargin: 0.4724412,
896
- bottomMargin: 0.50000027
897
- },
898
- numLabelsAcross: 2,
899
- numLabelsDown: 3,
900
- labelWidth: 4,
901
- labelHeight: 3.342,
902
- horizGapIn: 0.1875,
903
- vertGapIn: 0,
904
- labelPadding: 0.1,
905
- fontSizePx: 14,
906
- maxNumLabelLines: 12
907
- }
908
- },
909
- {
910
- descriptionPDF: {
911
- labelWidthDisplay: "1-3/4",
912
- labelHeightDisplay: "1/2",
913
- labelsPerPageDisplay: "80",
914
- averyPartNumber: "*67"
915
- },
916
- labelSpec: {
917
- type: "AVERY",
918
- pageProperties: {
919
- pageType: "ANSI A",
920
- leftMargin: 0.307086375,
921
- rightMargin: 0.307086375,
922
- topMargin: 0.4724412,
923
- bottomMargin: 0.49606326
924
- },
925
- numLabelsAcross: 4,
926
- numLabelsDown: 20,
927
- labelWidth: 1.75,
928
- labelHeight: 0.50155,
929
- horizGapIn: 0.29527575,
930
- vertGapIn: 0,
931
- labelPadding: 0.1,
932
- fontSizePx: 8,
933
- maxNumLabelLines: 3
934
- }
935
- },
936
- {
937
- descriptionPDF: {
938
- labelWidthDisplay: "1-3/4",
939
- labelHeightDisplay: "2/3",
940
- labelsPerPageDisplay: "60",
941
- averyPartNumber: "*95"
942
- },
943
- labelSpec: {
944
- type: "AVERY",
945
- pageProperties: {
946
- pageType: "ANSI A",
947
- leftMargin: 0.28936983,
948
- rightMargin: 0.28936983,
949
- topMargin: 0.53937037,
950
- bottomMargin: 0.5511814
951
- },
952
- numLabelsAcross: 4,
953
- numLabelsDown: 15,
954
- labelWidth: 1.75,
955
- labelHeight: 0.6605,
956
- horizGapIn: 0.30708678,
957
- vertGapIn: 0,
958
- labelPadding: 0.1,
959
- fontSizePx: 8,
960
- maxNumLabelLines: 4
961
- }
962
- }
963
- ];
964
-
965
- const pdfLabelFormats = /*#__PURE__*/Object.freeze({
966
- __proto__: null,
967
- 'default': labelFormats
968
- });
969
-
970
- const pdfDownloadCss = ":host{display:block}";
971
-
773
+ MapSelectTools.style = mapSelectToolsCss;
774
+
775
+ const labelFormats = [
776
+ {
777
+ descriptionPDF: {
778
+ labelWidthDisplay: "2-5/8",
779
+ labelHeightDisplay: "1",
780
+ labelsPerPageDisplay: "30",
781
+ averyPartNumber: "*60"
782
+ },
783
+ labelSpec: {
784
+ type: "AVERY",
785
+ pageProperties: {
786
+ pageType: "ANSI A",
787
+ leftMargin: 0.1875,
788
+ rightMargin: 0.1875,
789
+ topMargin: 0.5,
790
+ bottomMargin: 0.5
791
+ },
792
+ numLabelsAcross: 3,
793
+ numLabelsDown: 10,
794
+ labelWidth: 2.625,
795
+ labelHeight: 1,
796
+ horizGapIn: 0.125,
797
+ vertGapIn: 0,
798
+ labelPadding: 0.1,
799
+ fontSizePx: 11,
800
+ maxNumLabelLines: 4
801
+ }
802
+ },
803
+ {
804
+ descriptionPDF: {
805
+ labelWidthDisplay: "4",
806
+ labelHeightDisplay: "1",
807
+ labelsPerPageDisplay: "20",
808
+ averyPartNumber: "*61"
809
+ },
810
+ labelSpec: {
811
+ type: "AVERY",
812
+ pageProperties: {
813
+ pageType: "ANSI A",
814
+ leftMargin: 0.15625,
815
+ rightMargin: 0.15625,
816
+ topMargin: 0.47637821,
817
+ bottomMargin: 0.5
818
+ },
819
+ numLabelsAcross: 2,
820
+ numLabelsDown: 10,
821
+ labelWidth: 4,
822
+ labelHeight: 1.0025,
823
+ horizGapIn: 0.1875,
824
+ vertGapIn: 0,
825
+ labelPadding: 0.1,
826
+ fontSizePx: 11,
827
+ maxNumLabelLines: 4
828
+ }
829
+ },
830
+ {
831
+ descriptionPDF: {
832
+ labelWidthDisplay: "4",
833
+ labelHeightDisplay: "1-1/3",
834
+ labelsPerPageDisplay: "14",
835
+ averyPartNumber: "*62"
836
+ },
837
+ labelSpec: {
838
+ type: "AVERY",
839
+ pageProperties: {
840
+ pageType: "ANSI A",
841
+ leftMargin: 0.15625,
842
+ rightMargin: 0.15625,
843
+ topMargin: 0.81889808,
844
+ bottomMargin: 0.83464612
845
+ },
846
+ numLabelsAcross: 2,
847
+ numLabelsDown: 7,
848
+ labelWidth: 4,
849
+ labelHeight: 1.3352,
850
+ horizGapIn: 0.1875,
851
+ vertGapIn: 0,
852
+ labelPadding: 0.1,
853
+ fontSizePx: 11,
854
+ maxNumLabelLines: 6
855
+ }
856
+ },
857
+ {
858
+ descriptionPDF: {
859
+ labelWidthDisplay: "4",
860
+ labelHeightDisplay: "2",
861
+ labelsPerPageDisplay: "10",
862
+ averyPartNumber: "*63"
863
+ },
864
+ labelSpec: {
865
+ type: "AVERY",
866
+ pageProperties: {
867
+ pageType: "ANSI A",
868
+ leftMargin: 0.15625,
869
+ rightMargin: 0.15625,
870
+ topMargin: 0.5,
871
+ bottomMargin: 0.5
872
+ },
873
+ numLabelsAcross: 2,
874
+ numLabelsDown: 5,
875
+ labelWidth: 4,
876
+ labelHeight: 2,
877
+ horizGapIn: 0.1875,
878
+ vertGapIn: 0,
879
+ labelPadding: 0.1,
880
+ fontSizePx: 12,
881
+ maxNumLabelLines: 10
882
+ }
883
+ },
884
+ {
885
+ descriptionPDF: {
886
+ labelWidthDisplay: "4",
887
+ labelHeightDisplay: "3-1/3",
888
+ labelsPerPageDisplay: "6",
889
+ averyPartNumber: "*64"
890
+ },
891
+ labelSpec: {
892
+ type: "AVERY",
893
+ pageProperties: {
894
+ pageType: "ANSI A",
895
+ leftMargin: 0.15625,
896
+ rightMargin: 0.15625,
897
+ topMargin: 0.4724412,
898
+ bottomMargin: 0.50000027
899
+ },
900
+ numLabelsAcross: 2,
901
+ numLabelsDown: 3,
902
+ labelWidth: 4,
903
+ labelHeight: 3.342,
904
+ horizGapIn: 0.1875,
905
+ vertGapIn: 0,
906
+ labelPadding: 0.1,
907
+ fontSizePx: 14,
908
+ maxNumLabelLines: 12
909
+ }
910
+ },
911
+ {
912
+ descriptionPDF: {
913
+ labelWidthDisplay: "1-3/4",
914
+ labelHeightDisplay: "1/2",
915
+ labelsPerPageDisplay: "80",
916
+ averyPartNumber: "*67"
917
+ },
918
+ labelSpec: {
919
+ type: "AVERY",
920
+ pageProperties: {
921
+ pageType: "ANSI A",
922
+ leftMargin: 0.307086375,
923
+ rightMargin: 0.307086375,
924
+ topMargin: 0.4724412,
925
+ bottomMargin: 0.49606326
926
+ },
927
+ numLabelsAcross: 4,
928
+ numLabelsDown: 20,
929
+ labelWidth: 1.75,
930
+ labelHeight: 0.50155,
931
+ horizGapIn: 0.29527575,
932
+ vertGapIn: 0,
933
+ labelPadding: 0.1,
934
+ fontSizePx: 8,
935
+ maxNumLabelLines: 3
936
+ }
937
+ },
938
+ {
939
+ descriptionPDF: {
940
+ labelWidthDisplay: "1-3/4",
941
+ labelHeightDisplay: "2/3",
942
+ labelsPerPageDisplay: "60",
943
+ averyPartNumber: "*95"
944
+ },
945
+ labelSpec: {
946
+ type: "AVERY",
947
+ pageProperties: {
948
+ pageType: "ANSI A",
949
+ leftMargin: 0.28936983,
950
+ rightMargin: 0.28936983,
951
+ topMargin: 0.53937037,
952
+ bottomMargin: 0.5511814
953
+ },
954
+ numLabelsAcross: 4,
955
+ numLabelsDown: 15,
956
+ labelWidth: 1.75,
957
+ labelHeight: 0.6605,
958
+ horizGapIn: 0.30708678,
959
+ vertGapIn: 0,
960
+ labelPadding: 0.1,
961
+ fontSizePx: 8,
962
+ maxNumLabelLines: 4
963
+ }
964
+ }
965
+ ];
966
+
967
+ const pdfLabelFormats = /*#__PURE__*/Object.freeze({
968
+ __proto__: null,
969
+ 'default': labelFormats
970
+ });
971
+
972
+ const pdfDownloadCss = ":host{display:block}";
973
+
972
974
  const PdfDownload = class {
973
975
  constructor(hostRef) {
974
976
  index.registerInstance(this, hostRef);
@@ -1093,10 +1095,10 @@ const PdfDownload = class {
1093
1095
  }
1094
1096
  get el() { return index.getElement(this); }
1095
1097
  };
1096
- PdfDownload.style = pdfDownloadCss;
1097
-
1098
- const refineSelectionCss = ":host{display:block}";
1099
-
1098
+ PdfDownload.style = pdfDownloadCss;
1099
+
1100
+ const refineSelectionCss = ":host{display:block}";
1101
+
1100
1102
  const RefineSelection = class {
1101
1103
  constructor(hostRef) {
1102
1104
  index.registerInstance(this, hostRef);
@@ -1348,10 +1350,10 @@ const RefineSelection = class {
1348
1350
  "addresseeLayer": ["addresseeLayerWatchHandler"]
1349
1351
  }; }
1350
1352
  };
1351
- RefineSelection.style = refineSelectionCss;
1352
-
1353
- exports.calcite_input_message = InputMessage;
1354
- exports.calcite_notice = Notice;
1355
- exports.map_select_tools = MapSelectTools;
1356
- exports.pdf_download = PdfDownload;
1357
- exports.refine_selection = RefineSelection;
1353
+ RefineSelection.style = refineSelectionCss;
1354
+
1355
+ exports.calcite_input_message = InputMessage;
1356
+ exports.calcite_notice = Notice;
1357
+ exports.map_select_tools = MapSelectTools;
1358
+ exports.pdf_download = PdfDownload;
1359
+ exports.refine_selection = RefineSelection;