@nysds/components 1.16.0 → 1.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +63 -0
- package/dist/.vscode/vscode.html-custom-data.json +10 -0
- package/dist/custom-elements.json +63 -0
- package/dist/nysds.es.js +929 -864
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +114 -110
- package/dist/nysds.js.map +1 -1
- package/dist/packages/nys-datepicker/src/nys-datepicker.d.ts +5 -0
- package/package.json +9 -9
- package/packages/react/NysDatepicker.d.ts +6 -0
- package/packages/react/NysDatepicker.js +4 -0
- package/packages/react/nysds-jsx.d.ts +4 -0
package/dist/nysds.es.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { LitElement as f, unsafeCSS as g, html as d } from "lit";
|
|
2
|
-
import { property as a, query as
|
|
2
|
+
import { property as a, query as At, state as _ } from "lit/decorators.js";
|
|
3
3
|
import { ifDefined as y } from "lit/directives/if-defined.js";
|
|
4
4
|
/*!
|
|
5
|
-
* New York State Design System v1.16.
|
|
5
|
+
* New York State Design System v1.16.1
|
|
6
6
|
* Description: A design system for New York State's digital products.
|
|
7
7
|
* Repository: https://github.com/its-hcd/nysds
|
|
8
8
|
* License: MIT
|
|
9
9
|
*/
|
|
10
10
|
const $1 = ':host{--_nys-accordion-border-radius: var(--nys-radius-md, 4px);--_nys-accordion-border-width: var(--nys-border-width-md, 2px);--_nys-accordion-border-color: var(--nys-color-neutral-50, #ededed);--_nys-accordion-padding--x: var(--nys-space-250, 20px);--_nys-accordion-padding--y: var(--nys-space-200, 16px);--_nys-accordion-outline-width: var(--nys-border-width-md, 2px);--_nys-accordion-outline-offset: var(--nys-space-2px, 2px);--_nys-accordion-outline-color: var(--nys-color-focus, #004dd1);--_nys-accordion-gap: var(--nys-space-100, 8px);--_nys-accordion-background-color--header: var( --nys-accordion-background-color--header, var(--nys-color-neutral-50, #ededed) );--_nys-accordion-background-color--header--hover: var( --nys-accordion-background-color--header--hover, var(--nys-color-neutral-100, #d0d0ce) );--_nys-accordionitem-gap: var(--nys-space-200, 16px);--_nys-accordionitem-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-accordionitem-padding: var(--nys-space-200, 16px) var(--local-xx-spacing-205, 20px);--_nys-accordion-content-max-width: var( --nys-accordion-content-max-width, 80ch );--_nys-accordion-font-size: var(--nys-type-size-ui-xl, 20px);--_nys-accordion-font-weight: var(--nys-font-weight-bold, 700);--_nys-accordion-line-height: var(--nys-font-lineheight-ui-xl, 28px);--_nys-accordion-letter-spacing: var(--nys-font-letterspacing-ui-xl, .017px);--_nys-accordion-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) )}::slotted(p),p{margin:0!important}.nys-accordionitem{font-family:var(--_nys-accordion-font-family);font-size:var(--_nys-accordion-font-size);font-weight:var(--_nys-accordion-font-weight);line-height:var(--_nys-accordion-line-height);letter-spacing:var(--_nys-accordion-letter-spacing);display:flex}.nys-accordionitem__heading{all:unset;flex:1;gap:var(--_nys-accordionitem-gap);display:flex;padding:var(--_nys-accordion-padding--y) var(--_nys-accordion-padding--x);align-items:center;align-self:stretch;border-radius:var(--_nys-accordion-border-radius);background-color:var(--_nys-accordion-background-color--header);cursor:pointer;transition:.05s all ease-in-out}.nys-accordionitem__heading:hover{border-radius:var(--_nys-accordion-border-radius);background-color:var(--_nys-accordion-background-color--header--hover)}.nys-accordionitem__heading:focus-visible{outline-offset:var(--_nys-accordion-outline-offset);outline:solid var(--_nys-accordion-outline-width) var(--_nys-accordion-outline-color)}.nys-accordionitem__heading .nys-accordionitem__heading-title{flex:1}.nys-accordionitem__content{height:0;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1) 0ms;visibility:hidden}.nys-accordionitem__content.expanded{visibility:visible}.nys-accordionitem__content-slot-container{display:flex;flex-direction:column;align-items:flex-start;gap:var(--_nys-accordion-gap);align-self:stretch;padding:var(--_nys-accordionitem-padding);background-color:var(--_nys-accordionitem-background-color)}.nys-accordionitem__content-slot-container-text{max-width:var(--_nys-accordion-content-max-width)}.expand-icon{transition:all .3s cubic-bezier(.4,0,.2,1) 0ms}:host([expanded]) .expand-icon{transform:rotate(180deg)}:host([bordered][expanded]) .nys-accordionitem__heading{border-radius:var(--_nys-accordion-border-radius) var(--_nys-accordion-border-radius) 0 0}:host([bordered]) .nys-accordionitem__content-slot-container{border:var(--_nys-accordion-border-width) solid var(--_nys-accordion-border-color);border-radius:0 0 var(--_nys-accordion-border-radius) var(--_nys-accordion-border-radius)}.nys-accordion{display:flex;flex-direction:column;gap:var(--_nys-accordion-gap)}';
|
|
11
|
-
var J1 = Object.defineProperty,
|
|
11
|
+
var J1 = Object.defineProperty, nt = (r, e, t, s) => {
|
|
12
12
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
13
13
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
14
14
|
return o && J1(e, t, o), o;
|
|
15
15
|
};
|
|
16
16
|
let es = 0;
|
|
17
|
-
const
|
|
17
|
+
const Ut = class Ut extends f {
|
|
18
18
|
/**
|
|
19
19
|
* Lifecycle methods
|
|
20
20
|
* --------------------------------------------------------------------------
|
|
@@ -90,31 +90,31 @@ const Pt = class Pt extends f {
|
|
|
90
90
|
</div>`;
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
|
-
|
|
94
|
-
let
|
|
95
|
-
|
|
93
|
+
Ut.styles = g($1);
|
|
94
|
+
let _e = Ut;
|
|
95
|
+
nt([
|
|
96
96
|
a({ type: String, reflect: !0 })
|
|
97
|
-
],
|
|
98
|
-
|
|
97
|
+
], _e.prototype, "id");
|
|
98
|
+
nt([
|
|
99
99
|
a({ type: String })
|
|
100
|
-
],
|
|
101
|
-
|
|
100
|
+
], _e.prototype, "heading");
|
|
101
|
+
nt([
|
|
102
102
|
a({ type: Boolean, reflect: !0 })
|
|
103
|
-
],
|
|
104
|
-
|
|
103
|
+
], _e.prototype, "expanded");
|
|
104
|
+
nt([
|
|
105
105
|
a({ type: Boolean, reflect: !0 })
|
|
106
|
-
],
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
],
|
|
110
|
-
customElements.get("nys-accordionitem") || customElements.define("nys-accordionitem",
|
|
111
|
-
var ts = Object.defineProperty,
|
|
106
|
+
], _e.prototype, "bordered");
|
|
107
|
+
nt([
|
|
108
|
+
At(".nys-accordionitem__content")
|
|
109
|
+
], _e.prototype, "_contentContainer");
|
|
110
|
+
customElements.get("nys-accordionitem") || customElements.define("nys-accordionitem", _e);
|
|
111
|
+
var ts = Object.defineProperty, It = (r, e, t, s) => {
|
|
112
112
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
113
113
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
114
114
|
return o && ts(e, t, o), o;
|
|
115
115
|
};
|
|
116
116
|
let ss = 0;
|
|
117
|
-
const
|
|
117
|
+
const Zt = class Zt extends f {
|
|
118
118
|
/**
|
|
119
119
|
* Lifecycle methods
|
|
120
120
|
* --------------------------------------------------------------------------
|
|
@@ -161,26 +161,26 @@ const Tt = class Tt extends f {
|
|
|
161
161
|
</div>`;
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
|
-
|
|
165
|
-
let He =
|
|
166
|
-
|
|
164
|
+
Zt.styles = g($1);
|
|
165
|
+
let He = Zt;
|
|
166
|
+
It([
|
|
167
167
|
a({ type: String, reflect: !0 })
|
|
168
168
|
], He.prototype, "id");
|
|
169
|
-
|
|
169
|
+
It([
|
|
170
170
|
a({ type: Boolean, reflect: !0 })
|
|
171
171
|
], He.prototype, "singleSelect");
|
|
172
|
-
|
|
172
|
+
It([
|
|
173
173
|
a({ type: Boolean, reflect: !0 })
|
|
174
174
|
], He.prototype, "bordered");
|
|
175
175
|
customElements.get("nys-accordion") || customElements.define("nys-accordion", He);
|
|
176
176
|
const os = ':host{--_nys-alert-border-width: var(--nys-border-width-lg, 4px);--_nys-alert-border-radius: var(--nys-radius-md, 4px);--_nys-alert-color: var( --nys-alert-color, var(--nys-color-text, var(--nys-color-neutral-900, #1b1b1b)) );--_nys-alert-color--link: var( --nys-alert-color--link, var(--nys-color-link, var(--nys-color-blue-600, #004dd1)) );--_nys-alert-color--link--hover: var( --nys-alert-color--link--hover, var(--nys-color-link-strong, var(--nys-color-blue-700, #003ba1)) );--_nys-alert-color--link--active: var( --nys-alert-color--link--active, var(--nys-color-link-strongest, var(--nys-color-blue-800, #002971)) );--_nys-alert-padding: var(--nys-space-250, 20px);--_nys-alert-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-alert-font-size: var(--nys-font-size-ui-md, 16px);--_nys-alert-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-alert-letter-spacing: var( --nys-font-letterspacing-ui-md, var(--nys-font-letterspacing-400, .044px) );--_nys-alert-font-weight--regular: var(--nys-font-weight-regular, 400);--_nys-alert-font-weight--semibold: var(--nys-font-weight-semibold, 600);--_nys-alert-border-color: var( --nys-alert-border-color, var(--nys-color-base, var(--nys-color-neutral-600, #62666a)) );--_nys-alert-background-color: var( --nys-alert-background-color, var(--nys-color-base-weak, var(--nys-color-neutral-10, #f6f6f6)) );--_nys-alert-gap--icon: var(--nys-space-150, 12px);--_nys-alert-gap--text: var(--nys-space-50, 4px);--_nys-alert-gap--actions: var(--nys-space-150, 12px)}.nys-alert__container{display:flex;background-color:var(--_nys-alert-background-color);border-inline-start:var(--_nys-alert-border-width) solid var(--_nys-alert-border-color);border-radius:var(--_nys-alert-border-radius);color:var(--_nys-alert-color);padding:var(--_nys-alert-padding);font-style:normal;font-family:var(--_nys-alert-font-family);font-size:var(--_nys-alert-font-size);line-height:var(--_nys-alert-line-height);letter-spacing:var(--_nys-alert-letter-spacing);gap:var(--_nys-alert-gap--icon)}p{margin:0}::slotted(p){margin-bottom:0!important}.nys-alert__icon{margin-top:-2px}a,a:visited{font-weight:var(--_nys-alert-font-weight--semibold);font-size:var(--_nys-alert-font-size);color:var(--_nys-alert-color--link)}a:hover{color:var(--_nys-alert-color--link--hover)}a:active{color:var(--_nys-alert-color--link--active)}::slotted(a){color:var(--_nys-alert-color--link)}.nys-alert__texts{position:relative;display:flex;flex-direction:column;flex:1;gap:var(--_nys-alert-gap--text)}.nys-alert__header{margin:0;font-weight:var(--_nys-alert-font-weight--semibold)}.nys-alert__text{font-weight:var(--_nys-alert-font-weight--regular);margin:0}::slotted(*){font-weight:var(--_nys-alert-font-weight--regular);margin:0}.nys-alert--centered{display:flex;align-items:center}.nys-alert--centered .nys-alert__header{margin-bottom:-3px}.nys-alert--centered div[part=nys-alert__icon]{margin-top:0;display:flex;align-items:center;justify-content:center}.nys-alert__actions{display:flex;gap:var(--_nys-alert-gap--actions);flex-wrap:wrap}#dismiss-btn{margin-top:-8px}:host([type=info]){--_nys-alert-border-color: var( --nys-alert-border-color, var(--nys-color-info, var(--nys-color-blue-600, #004dd1)) );--_nys-alert-background-color: var( --nys-alert-background-color, var(--nys-color-info-weak, var(--nys-color-blue-50, #e5effa)) )}:host([type=success]){--_nys-alert-border-color: var( --nys-alert-border-color, var(--nys-color-success, var(--nys-color-green-600, #1e752e)) );--_nys-alert-background-color: var( --nys-alert-background-color, var(--nys-color-success-weak, var(--nys-color-green-50, #e8f1ea)) )}:host([type=warning]){--_nys-alert-border-color: var( --nys-alert-border-color, var(--nys-color-warning, var(--nys-color-yellow-400, #face00)) );--_nys-alert-background-color: var( --nys-alert-background-color, var(--nys-color-warning-weak, var(--nys-color-yellow-50, #fefae5)) )}:host([type=danger]){--_nys-alert-border-color: var( --nys-alert-border-color, var(--nys-color-danger, var(--nys-color-red-600, #b52c2c)) );--_nys-alert-background-color: var( --nys-alert-background-color, var(--nys-color-danger-weak, var(--nys-color-red-50, #f7eaea)) )}:host([type=emergency]){--_nys-alert-border-color: var( --nys-alert-border-color, var(--nys-color-emergency, var(--nys-color-red-800, #721c1c)) );--_nys-alert-background-color: var( --nys-alert-background-color, var(--nys-color-emergency, var(--nys-color-red-800, #721c1c)) );--_nys-alert-color: var( --nys-alert-color, var(--nys-color-text-reverse, var(--nys-color-white, #ffffff)) );--_nys-alert-color--link: var( --nys-alert-color--link, var(--nys-color-link-reverse-neutral, var(--nys-color-white, #ffffff)) );--_nys-alert-color--link--hover: var( --nys-alert-color--link--hover, var(--nys-color-link-reverse-neutral, var(--nys-color-white, #ffffff)) );--_nys-alert-color--link--active: var( --nys-alert-color--link--active, var(--nys-color-link-reverse-neutral, var(--nys-color-white, #ffffff)) )}:host([type=emergency]) a:hover{text-decoration-thickness:2px}:host([type=emergency]) a:active{text-decoration-thickness:3px}';
|
|
177
|
-
var rs = Object.defineProperty,
|
|
177
|
+
var rs = Object.defineProperty, Q = (r, e, t, s) => {
|
|
178
178
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
179
179
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
180
180
|
return o && rs(e, t, o), o;
|
|
181
181
|
};
|
|
182
182
|
let ns = 0;
|
|
183
|
-
const
|
|
183
|
+
const Ft = class Ft extends f {
|
|
184
184
|
constructor() {
|
|
185
185
|
super(...arguments), this.id = "", this.heading = "", this.icon = "", this.dismissible = !1, this.duration = 0, this.text = "", this.primaryAction = "", this.secondaryAction = "", this.primaryLabel = "Learn more", this.secondaryLabel = "Dismiss", this.type = "base", this._alertClosed = !1, this._slotHasContent = !0, this._timeoutId = null;
|
|
186
186
|
}
|
|
@@ -304,56 +304,56 @@ const Ut = class Ut extends f {
|
|
|
304
304
|
`;
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
|
-
|
|
308
|
-
let
|
|
309
|
-
|
|
307
|
+
Ft.styles = g(os);
|
|
308
|
+
let R = Ft;
|
|
309
|
+
Q([
|
|
310
310
|
a({ type: String, reflect: !0 })
|
|
311
|
-
],
|
|
312
|
-
|
|
311
|
+
], R.prototype, "id");
|
|
312
|
+
Q([
|
|
313
313
|
a({ type: String })
|
|
314
|
-
],
|
|
315
|
-
|
|
314
|
+
], R.prototype, "heading");
|
|
315
|
+
Q([
|
|
316
316
|
a({ type: String })
|
|
317
|
-
],
|
|
318
|
-
|
|
317
|
+
], R.prototype, "icon");
|
|
318
|
+
Q([
|
|
319
319
|
a({ type: Boolean, reflect: !0 })
|
|
320
|
-
],
|
|
321
|
-
|
|
320
|
+
], R.prototype, "dismissible");
|
|
321
|
+
Q([
|
|
322
322
|
a({ type: Number, reflect: !0 })
|
|
323
|
-
],
|
|
324
|
-
|
|
323
|
+
], R.prototype, "duration");
|
|
324
|
+
Q([
|
|
325
325
|
a({ type: String })
|
|
326
|
-
],
|
|
327
|
-
|
|
326
|
+
], R.prototype, "text");
|
|
327
|
+
Q([
|
|
328
328
|
a({ type: String })
|
|
329
|
-
],
|
|
330
|
-
|
|
329
|
+
], R.prototype, "primaryAction");
|
|
330
|
+
Q([
|
|
331
331
|
a({ type: String })
|
|
332
|
-
],
|
|
333
|
-
|
|
332
|
+
], R.prototype, "secondaryAction");
|
|
333
|
+
Q([
|
|
334
334
|
a({ type: String })
|
|
335
|
-
],
|
|
336
|
-
|
|
335
|
+
], R.prototype, "primaryLabel");
|
|
336
|
+
Q([
|
|
337
337
|
a({ type: String })
|
|
338
|
-
],
|
|
339
|
-
|
|
338
|
+
], R.prototype, "secondaryLabel");
|
|
339
|
+
Q([
|
|
340
340
|
a({ type: String, reflect: !0 })
|
|
341
|
-
],
|
|
342
|
-
|
|
341
|
+
], R.prototype, "type");
|
|
342
|
+
Q([
|
|
343
343
|
_()
|
|
344
|
-
],
|
|
345
|
-
|
|
344
|
+
], R.prototype, "_alertClosed");
|
|
345
|
+
Q([
|
|
346
346
|
_()
|
|
347
|
-
],
|
|
348
|
-
customElements.get("nys-alert") || customElements.define("nys-alert",
|
|
347
|
+
], R.prototype, "_slotHasContent");
|
|
348
|
+
customElements.get("nys-alert") || customElements.define("nys-alert", R);
|
|
349
349
|
const is = ":host{--_nys-avatar-border-radius: var(--nys-radius-round, 1776px);--_nys-avatar-size: var(--nys-avatar-size, var(--nys-font-size-6xl, 36px));--_nys-avatar-shape: var(--nys-radius-round, 1776px);--_nys-avatar-border-color: var(--nys-color-ink-reverse, #ffffff);--_nys-avatar-border-size: var(--nys-border-width-sm, 1px);--_nys-avatar-width: var(--nys-font-size-6xl, 36px);--_nys-avatar-color: var(--nys-color-theme, #154973);--_nys-avatar-background-color: var(--nys-color-theme-weaker, #eff6fb);--_nys-avatar-outline-color: var(--nys-color-focus, #004dd1);--_nys-avatar-outline-width: var(--nys-border-width-md, 2px);--_nys-avatar-outline-offset: var(--nys-space-2px, 2px)}.nys-avatar{display:inline-block}.nys-avatar__component{display:flex;justify-content:center;align-items:center;border-radius:var(--_nys-avatar-border-radius);width:var(--_nys-avatar-size);height:var(--_nys-avatar-size);font-size:var(--_nys-avatar-size);overflow:hidden;box-sizing:border-box;color:var(--_nys-avatar-color);background-color:var(--_nys-avatar-background-color);border:var(--_nys-avatar-border-size) solid var(--_nys-avatar-border-color);outline-offset:var(--_nys-avatar-outline-offset);transition:all .15s ease-in-out;-webkit-user-select:none;user-select:none}:host([interactive]) .nys-avatar__component:hover,:host([interactive]) .nys-avatar__component:active{--_nys-avatar-color: var( --nys-color-text-reverse, --nys-color-ink-reverse, #ffffff );cursor:pointer}:host([interactive]) .nys-avatar__component:hover{--_nys-avatar-background-color: var(--nys-color-theme-mid, #457aa5)}:host([interactive]) .nys-avatar__component:active{--_nys-avatar-background-color: var(--nys-color-theme-strong, #0e324f)}:host([disabled]) .nys-avatar__component{--_nys-avatar-color: var(--nys-color-text-disabled, #bec0c1);--_nys-avatar-background-color: var(--nys-color-neutral-10, #f6f6f6);cursor:not-allowed}:host([disabled]) .nys-avatar__component:focus-within{outline:solid var(--_nys-avatar-outline-width) var(--_nys-avatar-outline-color)}div[part=nys-avatar__icon]{display:flex;align-items:center;justify-content:center}.nys-avatar__initials{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:calc(var(--_nys-avatar-width) * .5);font-weight:700;text-transform:uppercase}.nys-avatar__image{width:100%;height:100%;object-fit:cover}.nys-avatar__icon{width:100%;height:100%;fill:currentcolor}";
|
|
350
|
-
var as = Object.defineProperty,
|
|
350
|
+
var as = Object.defineProperty, ae = (r, e, t, s) => {
|
|
351
351
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
352
352
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
353
353
|
return o && as(e, t, o), o;
|
|
354
354
|
};
|
|
355
355
|
let ls = 0;
|
|
356
|
-
const
|
|
356
|
+
const Nt = class Nt extends f {
|
|
357
357
|
constructor() {
|
|
358
358
|
super(...arguments), this.id = "", this.ariaLabel = "", this.image = "", this.initials = "", this.icon = "", this.color = "", this.interactive = !1, this.disabled = !1, this.lazy = !1, this._slotHasContent = !1;
|
|
359
359
|
}
|
|
@@ -440,46 +440,46 @@ const Zt = class Zt extends f {
|
|
|
440
440
|
`;
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
|
-
|
|
444
|
-
let
|
|
445
|
-
|
|
443
|
+
Nt.styles = g(is);
|
|
444
|
+
let G = Nt;
|
|
445
|
+
ae([
|
|
446
446
|
a({ type: String, reflect: !0 })
|
|
447
|
-
],
|
|
448
|
-
|
|
447
|
+
], G.prototype, "id");
|
|
448
|
+
ae([
|
|
449
449
|
a({ type: String })
|
|
450
|
-
],
|
|
451
|
-
|
|
450
|
+
], G.prototype, "ariaLabel");
|
|
451
|
+
ae([
|
|
452
452
|
a({ type: String })
|
|
453
|
-
],
|
|
454
|
-
|
|
453
|
+
], G.prototype, "image");
|
|
454
|
+
ae([
|
|
455
455
|
a({ type: String })
|
|
456
|
-
],
|
|
457
|
-
|
|
456
|
+
], G.prototype, "initials");
|
|
457
|
+
ae([
|
|
458
458
|
a({ type: String })
|
|
459
|
-
],
|
|
460
|
-
|
|
459
|
+
], G.prototype, "icon");
|
|
460
|
+
ae([
|
|
461
461
|
a({ type: String })
|
|
462
|
-
],
|
|
463
|
-
|
|
462
|
+
], G.prototype, "color");
|
|
463
|
+
ae([
|
|
464
464
|
a({ type: Boolean, reflect: !0 })
|
|
465
|
-
],
|
|
466
|
-
|
|
465
|
+
], G.prototype, "interactive");
|
|
466
|
+
ae([
|
|
467
467
|
a({ type: Boolean, reflect: !0 })
|
|
468
|
-
],
|
|
469
|
-
|
|
468
|
+
], G.prototype, "disabled");
|
|
469
|
+
ae([
|
|
470
470
|
a({ type: Boolean, reflect: !0 })
|
|
471
|
-
],
|
|
472
|
-
|
|
471
|
+
], G.prototype, "lazy");
|
|
472
|
+
ae([
|
|
473
473
|
_()
|
|
474
|
-
],
|
|
475
|
-
customElements.get("nys-avatar") || customElements.define("nys-avatar",
|
|
476
|
-
const cs = ".nys-backtotop{--_nys-button-border-radius
|
|
477
|
-
var ds = Object.defineProperty,
|
|
474
|
+
], G.prototype, "_slotHasContent");
|
|
475
|
+
customElements.get("nys-avatar") || customElements.define("nys-avatar", G);
|
|
476
|
+
const cs = ".nys-backtotop{--_nys-button-border-radius: var(--nys-radius-round, 1776px);--_nys-button-padding--y: var(--nys-space-100, 8px);--_nys-button-padding--x: var(--nys-space-200, 16px);position:fixed;bottom:1rem;right:1rem;z-index:9999;display:none}.left{left:1rem;right:auto}.visible{display:inline-flex}";
|
|
477
|
+
var ds = Object.defineProperty, kt = (r, e, t, s) => {
|
|
478
478
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
479
479
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
480
480
|
return o && ds(e, t, o), o;
|
|
481
481
|
};
|
|
482
|
-
const
|
|
482
|
+
const jt = class jt extends f {
|
|
483
483
|
/**
|
|
484
484
|
* Lifecycle methods
|
|
485
485
|
* --------------------------------------------------------------------------
|
|
@@ -526,29 +526,29 @@ const Ft = class Ft extends f {
|
|
|
526
526
|
></nys-button>`;
|
|
527
527
|
}
|
|
528
528
|
};
|
|
529
|
-
|
|
530
|
-
let Ee =
|
|
531
|
-
|
|
529
|
+
jt.styles = g(cs);
|
|
530
|
+
let Ee = jt;
|
|
531
|
+
kt([
|
|
532
532
|
a({ type: String })
|
|
533
533
|
], Ee.prototype, "position");
|
|
534
|
-
|
|
534
|
+
kt([
|
|
535
535
|
a({ type: Boolean, reflect: !0 })
|
|
536
536
|
], Ee.prototype, "visible");
|
|
537
|
-
|
|
537
|
+
kt([
|
|
538
538
|
_()
|
|
539
539
|
], Ee.prototype, "isMobile");
|
|
540
|
-
|
|
540
|
+
kt([
|
|
541
541
|
_()
|
|
542
542
|
], Ee.prototype, "forceVisible");
|
|
543
543
|
customElements.get("nys-backtotop") || customElements.define("nys-backtotop", Ee);
|
|
544
|
-
const hs = ':host{--_nys-button-width: fit-content;--_nys-button-height: var(--nys-size-600, 48px);--_nys-button-border-radius--start: var(--nys-radius-xl, 12px);--_nys-button-border-radius--end: var(--nys-radius-xl, 12px);--_nys-button-padding--y: calc(var(--nys-space-150, 12px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-250, 20px) - var(--nys-border-width-md, 2px));--_nys-button-gap: var(--nys-space-100, 8px);--_nys-button-justify-content: center;--_nys-button-border-width: var(--nys-border-width-md, 2px);--_nys-button-outline-width: var(--nys-border-width-md, 2px);--_nys-button-outline-offset: var(--nys-space-2px, 2px);--_nys-button-outline-color: var(--nys-color-focus, #004dd1);--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-theme, #154973));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-theme, #154973));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-theme-strong, #0e324f));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-theme-strong, #0e324f));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-theme-stronger, #081b2b));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-theme-stronger, #081b2b));--_nys-button-background-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-button-font-size: var(--nys-font-size-ui-md, 16px);--_nys-button-font-weight: var(--nys-font-weight-semibold, 600);--_nys-button-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-button-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif));display:inline-flex;width:fit-content}:host([size=sm]){--_nys-button-height: var(--nys-size-500, 40px);--_nys-button-padding--y: calc(var(--nys-space-100, 8px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-200, 16px) - var(--nys-border-width-md, 2px))}:host([size=md]){--_nys-button-height: var(--nys-size-600, 48px);--_nys-button-padding--y: calc(var(--nys-space-150, 12px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-250, 20px) - var(--nys-border-width-md, 2px))}:host([size=lg]){--_nys-button-height: var(--nys-size-700, 56px);--_nys-button-padding--y: calc(var(--nys-space-200, 16px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-300, 24px) - var(--nys-border-width-md, 2px))}:host([fullWidth]){width:100%}:host([fullWidth]) .nys-button{width:100%}:host([variant=filled]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-theme, #154973));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-theme-strong, #0e324f));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse, #ffffff));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-theme-stronger, #081b2b));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse, #ffffff));--_nys-button-background-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1)}:host([variant=outline]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-surface, #ffffff));--_nys-button-color: var(--nys-button-color, var(--nys-color-theme, #154973));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-theme, #154973));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-theme-weaker, #eff6fb));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-theme, #154973));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-theme, #154973));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-theme-weak, #cddde9));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-theme, #154973));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-theme, #154973));--_nys-button-background-color--disabled: var(--nys-color-surface, #ffffff);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-neutral-100, #d0d0ce)}:host([variant=text]){--_nys-button-height: fit-content;--_nys-button-border-radius--start: var(--nys-radius-md, 4px);--_nys-button-border-radius--end: var(--nys-radius-md, 4px);--_nys-button-padding--y: var(--nys-space-2px, 2px);--_nys-button-padding--x: var(--nys-space-50, 4px);--_nys-button-border-width: 0px;--_nys-button-text-decoration: underline;--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-link, #004dd1));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-link-strong, #003ba1));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-link-strongest, #002971));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([variant=ghost]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-text, #1b1b1b));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-black-transparent-100, #0000001a));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text, #1b1b1b));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-black-transparent-200, #00000033));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text, #1b1b1b));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([variant=filled][inverted]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-surface, #ffffff));--_nys-button-color: var(--nys-button-color, var(--nys-color-text, #1b1b1b));--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-neutral-100, #d0d0ce));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text, #1b1b1b));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-neutral-300, #a7a9ab));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text, #1b1b1b));--_nys-button-background-color--disabled: var(--nys-color-text, #1b1b1b);--_nys-button-color--disabled: var(--nys-color-text-disabled, #62666a)}:host([variant=outline][inverted]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-surface-reverse, #1b1b1b));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-ink-reverse, #ffffff));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-surface-reverse, #1b1b1b));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse-weak, #d0d0ce));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-neutral-100, #d0d0ce));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-surface-reverse, #1b1b1b));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse-weaker, #bec0c1));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-neutral-300, #a7a9ab));--_nys-button-background-color--disabled: var(--nys-color-surface-reverse, #1b1b1b);--_nys-button-color--disabled: var(--nys-color-text-reverse-disabled, #62666a);--_nys-button-border-color--disabled: var(--nys-color-neutral-600, #62666a)}:host([variant=text][inverted]){--_nys-button-height: fit-content;--_nys-button-border-radius--start: var(--nys-radius-md, 4px);--_nys-button-border-radius--end: var(--nys-radius-md, 4px);--_nys-button-padding--y: var(--nys-space-2px, 2px);--_nys-button-padding--x: var(--nys-space-50, 4px);--_nys-button-border-width: 0px;--_nys-button-text-decoration: underline;--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-link-reverse, #a7a9ab));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-link-reverse-strong, #ededed));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-reverse-strongest, #ffffff));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-reverse-disabled, #62666a);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([variant=ghost][inverted]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-white-transparent-200, #ffffff33));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-white-transparent-300, #ffffff4d));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-disabled, #62666a);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([inverted]){--_nys-button-outline-color: var(--nys-color-focus-reverse, #7aa5e7)}:host([circle]){--_nys-button-width: var(--_nys-button-height);--_nys-button-border-radius--start: var(--nys-radius-round, 1776px);--_nys-button-border-radius--end: var(--nys-radius-round, 1776px);--_nys-button-padding--y: 0;--_nys-button-padding--x: 0}.nys-button{width:var(--_nys-button-width);min-height:var(--_nys-button-height);border-start-start-radius:var(--_nys-button-border-radius--start);border-end-start-radius:var(--_nys-button-border-radius--start);border-start-end-radius:var(--_nys-button-border-radius--end);border-end-end-radius:var(--_nys-button-border-radius--end);padding:var(--_nys-button-padding--y) var(--_nys-button-padding--x);display:flex;align-items:center;justify-content:var(--_nys-button-justify-content);gap:var(--_nys-button-gap);font-family:var(--_nys-button-font-family);font-size:var(--_nys-button-font-size);font-weight:var(--_nys-button-font-weight);line-height:var(--_nys-button-line-height);text-decoration:var(--_nys-button-text-decoration);box-sizing:border-box;background-color:var(--_nys-button-background-color);color:var(--_nys-button-color);border:solid var(--_nys-button-border-width) var(--_nys-button-border-color);cursor:var(--_nys-button-cursor, pointer)}:host([circle]) .nys-button{max-width:var(--_nys-button-height);max-height:var(--_nys-button-height)}.nys-button:hover{background-color:var(--_nys-button-background-color--hover);color:var(--_nys-button-color--hover);border-color:var(--_nys-button-border-color--hover)}.nys-button:active{background-color:var(--_nys-button-background-color--active);color:var(--_nys-button-color--active);border-color:var(--_nys-button-border-color--active)}.nys-button:disabled,a[disabled]{background-color:var(--_nys-button-background-color--disabled);color:var(--_nys-button-color--disabled);border-color:var(--_nys-button-border-color--disabled);cursor:not-allowed}.nys-button__linkwrapper:has([disabled]){cursor:not-allowed;width:fit-content}a[disabled]{pointer-events:none}a[disabled]:hover{background-color:var(--_nys-button-background-color--disabled);color:var(--_nys-button-color--disabled);border-color:var(--_nys-button-border-color--disabled)}.nys-button *{cursor:var(--_nys-button-cursor, pointer)}.nys-button:disabled *{cursor:not-allowed}.nys-button:focus-visible{outline-offset:var(--_nys-button-outline-offset);outline:solid var(--_nys-button-outline-width) var(--_nys-button-outline-color)}.nys-button__text{display:flex;align-items:center;-webkit-user-select:none;user-select:none}';
|
|
544
|
+
const hs = ':host{--_nys-button-width: fit-content;--_nys-button-height: var(--nys-size-600, 48px);--_nys-button-border-radius: var(--nys-radius-xl, 12px);--_nys-button-padding--y: calc(var(--nys-space-150, 12px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-250, 20px) - var(--nys-border-width-md, 2px));--_nys-button-gap: var(--nys-space-100, 8px);--_nys-button-justify-content: center;--_nys-button-border-style: solid;--_nys-button-border-width: var(--nys-border-width-md, 2px);--_nys-button-outline-width: var(--nys-border-width-md, 2px);--_nys-button-outline-offset: var(--nys-space-2px, 2px);--_nys-button-outline-color: var(--nys-color-focus, #004dd1);--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-theme, #154973));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-theme, #154973));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-theme-strong, #0e324f));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-theme-strong, #0e324f));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-theme-stronger, #081b2b));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-theme-stronger, #081b2b));--_nys-button-background-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-button-font-size: var(--nys-font-size-ui-md, 16px);--_nys-button-font-weight: var(--nys-font-weight-semibold, 600);--_nys-button-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-button-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif));--_nys-button-text-decoration: none;display:inline-flex;width:fit-content}:host([size=sm]){--_nys-button-height: var(--nys-size-500, 40px);--_nys-button-padding--y: calc(var(--nys-space-100, 8px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-200, 16px) - var(--nys-border-width-md, 2px))}:host([size=md]){--_nys-button-height: var(--nys-size-600, 48px);--_nys-button-padding--y: calc(var(--nys-space-150, 12px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-250, 20px) - var(--nys-border-width-md, 2px))}:host([size=lg]){--_nys-button-height: var(--nys-size-700, 56px);--_nys-button-padding--y: calc(var(--nys-space-200, 16px) - var(--nys-border-width-md, 2px));--_nys-button-padding--x: calc(var(--nys-space-300, 24px) - var(--nys-border-width-md, 2px))}:host([fullWidth]){width:100%}:host([fullWidth]) .nys-button{width:100%}:host([variant=filled]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-theme, #154973));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-theme-strong, #0e324f));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--hover: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-theme-stronger, #081b2b));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--active: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1)}:host([variant=outline]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-surface, #ffffff));--_nys-button-color: var(--nys-button-color, var(--nys-color-theme, #154973));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-theme, #154973));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-theme-weaker, #eff6fb));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-theme, #154973));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-theme, #154973));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-theme-weak, #cddde9));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-theme, #154973));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-theme, #154973));--_nys-button-background-color--disabled: var(--nys-color-surface, #ffffff);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-neutral-100, #d0d0ce)}:host([variant=text]){--_nys-button-height: fit-content;--_nys-button-border-radius: var(--nys-radius-md, 4px);--_nys-button-padding--y: var(--nys-space-2px, 2px);--_nys-button-padding--x: var(--nys-space-50, 4px);--_nys-button-border-width: 0px;--_nys-button-text-decoration: underline;--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-link, #004dd1));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-link-strong, #003ba1));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-link-strongest, #002971));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([variant=ghost]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-text, #1b1b1b));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-black-transparent-100, #0000001a));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text, #1b1b1b));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-black-transparent-200, #00000033));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text, #1b1b1b));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([variant=filled][inverted]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-surface, #ffffff));--_nys-button-color: var(--nys-button-color, var(--nys-color-text, #1b1b1b));--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-neutral-100, #d0d0ce));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text, #1b1b1b));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-neutral-300, #a7a9ab));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text, #1b1b1b));--_nys-button-background-color--disabled: var(--nys-color-text, #1b1b1b);--_nys-button-color--disabled: var(--nys-color-text-disabled, #62666a)}:host([variant=outline][inverted]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-surface-reverse, #1b1b1b));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-ink-reverse, #ffffff));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-surface-reverse, #1b1b1b));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse-weak, #d0d0ce));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-neutral-100, #d0d0ce));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-surface-reverse, #1b1b1b));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse-weaker, #bec0c1));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-neutral-300, #a7a9ab));--_nys-button-background-color--disabled: var(--nys-color-surface-reverse, #1b1b1b);--_nys-button-color--disabled: var(--nys-color-text-reverse-disabled, #62666a);--_nys-button-border-color--disabled: var(--nys-color-neutral-600, #62666a)}:host([variant=text][inverted]){--_nys-button-height: fit-content;--_nys-button-border-radius: var(--nys-radius-md, 4px);--_nys-button-padding--y: var(--nys-space-2px, 2px);--_nys-button-padding--x: var(--nys-space-50, 4px);--_nys-button-border-width: 0px;--_nys-button-text-decoration: underline;--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-link-reverse, #a7a9ab));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-link-reverse-strong, #ededed));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-reverse-strongest, #ffffff));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-reverse-disabled, #62666a);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([variant=ghost][inverted]){--_nys-button-background-color: var(--nys-button-background-color, var(--nys-color-transparent, #ffffff00));--_nys-button-color: var(--nys-button-color, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color: var(--nys-button-border-color, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--hover: var(--nys-button-background-color--hover, var(--nys-color-white-transparent-200, #ffffff33));--_nys-button-color--hover: var(--nys-button-color--hover, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--hover: var(--nys-button-border-color--hover, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--active: var(--nys-button-background-color--active, var(--nys-color-white-transparent-300, #ffffff4d));--_nys-button-color--active: var(--nys-button-color--active, var(--nys-color-text-reverse, #ffffff));--_nys-button-border-color--active: var(--nys-button-border-color--active, var(--nys-color-transparent, #ffffff00));--_nys-button-background-color--disabled: var(--nys-color-transparent, #ffffff00);--_nys-button-color--disabled: var(--nys-color-text-disabled, #62666a);--_nys-button-border-color--disabled: var(--nys-color-transparent, #ffffff00)}:host([inverted]){--_nys-button-outline-color: var(--nys-color-focus-reverse, #7aa5e7)}:host([circle]){--_nys-button-width: var(--_nys-button-height);--_nys-button-border-radius: var(--nys-radius-round, 1776px);--_nys-button-padding--y: 0;--_nys-button-padding--x: 0}:host([circle]) .nys-button{max-width:var(--_nys-button-height);max-height:var(--_nys-button-height)}.nys-button{width:var(--_nys-button-width);min-height:var(--_nys-button-height);border-radius:var(--_nys-button-border-radius);padding:var(--_nys-button-padding--y) var(--_nys-button-padding--x);display:flex;align-items:center;justify-content:var(--_nys-button-justify-content);gap:var(--_nys-button-gap);font-family:var(--_nys-button-font-family);font-size:var(--_nys-button-font-size);font-weight:var(--_nys-button-font-weight);line-height:var(--_nys-button-line-height);text-decoration:var(--_nys-button-text-decoration);box-sizing:border-box;background-color:var(--_nys-button-background-color);color:var(--_nys-button-color);border-color:var(--_nys-button-border-color);border-style:var(--_nys-button-border-style);border-width:var(--_nys-button-border-width);cursor:var(--_nys-button-cursor, pointer)}.nys-button:hover{background-color:var(--_nys-button-background-color--hover);color:var(--_nys-button-color--hover);border-color:var(--_nys-button-border-color--hover)}.nys-button:active{background-color:var(--_nys-button-background-color--active);color:var(--_nys-button-color--active);border-color:var(--_nys-button-border-color--active)}.nys-button:disabled,a[disabled]{background-color:var(--_nys-button-background-color--disabled);color:var(--_nys-button-color--disabled);border-color:var(--_nys-button-border-color--disabled);cursor:not-allowed}.nys-button__linkwrapper:has([disabled]){cursor:not-allowed;width:fit-content}a[disabled]{pointer-events:none}a[disabled]:hover{background-color:var(--_nys-button-background-color--disabled);color:var(--_nys-button-color--disabled);border-color:var(--_nys-button-border-color--disabled)}.nys-button *{cursor:var(--_nys-button-cursor, pointer)}.nys-button:disabled *{cursor:not-allowed}.nys-button:focus-visible{outline-offset:var(--_nys-button-outline-offset);outline:solid var(--_nys-button-outline-width) var(--_nys-button-outline-color)}.nys-button__text{display:flex;align-items:center;-webkit-user-select:none;user-select:none}';
|
|
545
545
|
var us = Object.defineProperty, D = (r, e, t, s) => {
|
|
546
546
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
547
547
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
548
548
|
return o && us(e, t, o), o;
|
|
549
549
|
};
|
|
550
550
|
let ps = 0;
|
|
551
|
-
const
|
|
551
|
+
const We = class We extends f {
|
|
552
552
|
// allows use of elementInternals' API
|
|
553
553
|
constructor() {
|
|
554
554
|
super(), this.id = "", this.name = "", this.size = "md", this.fullWidth = !1, this.variant = "filled", this.inverted = !1, this.label = "", this.ariaLabel = "", this.ariaControls = "", this.prefixIcon = "", this.suffixIcon = "", this.circle = !1, this.icon = "", this.disabled = !1, this.form = null, this.value = "", this.ariaDescription = "", this.type = "button", this.onClick = null, this.href = "", this.target = "_self", this._internals = this.attachInternals();
|
|
@@ -674,6 +674,7 @@ const Ye = class Ye extends f {
|
|
|
674
674
|
class="nys-button"
|
|
675
675
|
name=${y(this.name ? this.name : void 0)}
|
|
676
676
|
?disabled=${this.disabled}
|
|
677
|
+
aria-disabled="${this.disabled ? "true" : "false"}"
|
|
677
678
|
form=${y(this.form || void 0)}
|
|
678
679
|
value=${y(this.value ? this.value : void 0)}
|
|
679
680
|
type=${this.type}
|
|
@@ -707,11 +708,11 @@ const Ye = class Ye extends f {
|
|
|
707
708
|
`;
|
|
708
709
|
}
|
|
709
710
|
};
|
|
710
|
-
|
|
711
|
+
We.styles = g(hs), We.shadowRootOptions = {
|
|
711
712
|
...f.shadowRootOptions,
|
|
712
713
|
delegatesFocus: !0
|
|
713
|
-
},
|
|
714
|
-
let w =
|
|
714
|
+
}, We.formAssociated = !0;
|
|
715
|
+
let w = We;
|
|
715
716
|
D([
|
|
716
717
|
a({ type: String, reflect: !0 })
|
|
717
718
|
], w.prototype, "id");
|
|
@@ -777,14 +778,14 @@ D([
|
|
|
777
778
|
], w.prototype, "target");
|
|
778
779
|
customElements.get("nys-button") || customElements.define("nys-button", w);
|
|
779
780
|
const ys = ':host{--_nys-badge-width: fit-content;--_nys-badge-height: var(--nys-size-600, 48px);--_nys-badge-radius: var(--nys-radius-round, 1776px);--_nys-badge-padding: var(--nys-space-2-px, 2px) var(--nys-space-100, 8px);--_nys-badge-gap: var(--nys-space-50, 4px);--_nys-badge-color: var(--nys-color-ink, #000000);--_nys-badge-background-color: var(--nys-color-base-weak, #f6f6f6);--_nys-badge-border-color: var(--nys-color-base, #62666a);--_nys-badge-border-width: var(--nys-border-width-sm, 1px);--_nys-badge-font-size: var(--nys-font-size-ui-sm, 14px);--_nys-badge-font-weight: var(--nys-font-weight-semibold, 600);--_nys-badge-line-height: var(--nys-font-lineheight-ui-sm, 24px);--_nys-badge-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif));--_nys-badge-prefix-font-weight: var(--nys-font-weight-regular, 400)}:host([size=sm]){--_nys-badge-font-size: var(--nys-font-size-ui-xs, 12px);--_nys-badge-line-height: var(--nys-font-lineheight-ui-xs, 20px)}:host([intent=neutral]){--_nys-badge-background-color: var(--nys-color-base-weak, #f6f6f6);--_nys-badge-border-color: var(--nys-color-base, #62666a)}:host([intent=error]){--_nys-badge-background-color: var(--nys-color-error-weak, #f7eaea);--_nys-badge-border-color: var(--nys-color-error-strong, #721c1c)}:host([intent=success]){--_nys-badge-background-color: var(--nys-color-success-weak, #e8f1ea);--_nys-badge-border-color: var(--nys-color-success-strong, #0f3d18)}:host([intent=warning]){--_nys-badge-background-color: var(--nys-color-warning-weak, #fefae5);--_nys-badge-border-color: var(--nys-color-warning-strong, #6a5700)}:host([variant=strong]){--_nys-badge-background-color: var(--_nys-badge-border-color);--_nys-badge-color: var(--nys-color-white, #ffffff)}:host([variant=strong]) .nys-badge{--nys-icon-color: var(--nys-color-white, #ffffff)}:host([variant=strong][intent=success]){--_nys-badge-border-color: var(--nys-color-success, #1E752E)}:host([variant=strong][intent=warning]){--_nys-badge-border-color: var(--nys-color-warning, #FACE00);--_nys-badge-color: var(--nys-color-ink, #000000)}:host([variant=strong][intent=warning]) .nys-badge{--nys-icon-color: var(--nys-color-ink, #000000)}.nys-badge{display:flex;width:fit-content;align-items:center;justify-content:center;gap:var(--_nys-badge-gap);padding:var(--_nys-badge-padding);border:var(--_nys-badge-border-width) solid var(--_nys-badge-border-color);background-color:var(--_nys-badge-background-color);color:var(--_nys-badge-color);border-radius:var(--_nys-badge-radius);font-family:var(--_nys-badge-font-family);font-size:var(--_nys-badge-font-size);font-weight:var(--_nys-badge-font-weight);line-height:var(--_nys-badge-line-height);cursor:default;--nys-icon-color: var(--_nys-badge-border-color)}.nys-badge__prefix{font-weight:var(--_nys-badge-prefix-font-weight)}';
|
|
780
|
-
var fs = Object.defineProperty, vs = Object.getOwnPropertyDescriptor,
|
|
781
|
+
var fs = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, fe = (r, e, t, s) => {
|
|
781
782
|
for (var o = s > 1 ? void 0 : s ? vs(e, t) : e, n = r.length - 1, i; n >= 0; n--)
|
|
782
783
|
(i = r[n]) && (o = (s ? i(e, t, o) : i(o)) || o);
|
|
783
784
|
return s && o && fs(e, t, o), o;
|
|
784
785
|
};
|
|
785
786
|
let bs = 0;
|
|
786
|
-
var
|
|
787
|
-
const
|
|
787
|
+
var be;
|
|
788
|
+
const le = (be = class extends f {
|
|
788
789
|
constructor() {
|
|
789
790
|
super(...arguments), this.id = "", this.name = "", this.size = "md", this.intent = "neutral", this.prefixLabel = "", this.label = "", this.variant = "", this._prefixIcon = "", this._suffixIcon = "";
|
|
790
791
|
}
|
|
@@ -817,7 +818,7 @@ const ae = (ve = class extends f {
|
|
|
817
818
|
* @returns Icon name or null if no icon should be rendered
|
|
818
819
|
*/
|
|
819
820
|
resolveIcon(e) {
|
|
820
|
-
return e === !0 ?
|
|
821
|
+
return e === !0 ? be.DEFAULT_ICONS[this.intent] ?? "info" : typeof e == "string" && e.trim() !== "" ? e : null;
|
|
821
822
|
}
|
|
822
823
|
render() {
|
|
823
824
|
const e = this.resolveIcon(this.prefixIcon), t = this.resolveIcon(this.suffixIcon);
|
|
@@ -830,49 +831,49 @@ const ae = (ve = class extends f {
|
|
|
830
831
|
</div>
|
|
831
832
|
`;
|
|
832
833
|
}
|
|
833
|
-
},
|
|
834
|
+
}, be.styles = g(ys), be.DEFAULT_ICONS = {
|
|
834
835
|
neutral: "info",
|
|
835
836
|
error: "emergency_home",
|
|
836
837
|
success: "check_circle",
|
|
837
838
|
warning: "warning"
|
|
838
|
-
},
|
|
839
|
-
|
|
839
|
+
}, be);
|
|
840
|
+
fe([
|
|
840
841
|
a({ type: String, reflect: !0 })
|
|
841
|
-
],
|
|
842
|
-
|
|
842
|
+
], le.prototype, "id", 2);
|
|
843
|
+
fe([
|
|
843
844
|
a({ type: String, reflect: !0 })
|
|
844
|
-
],
|
|
845
|
-
|
|
845
|
+
], le.prototype, "name", 2);
|
|
846
|
+
fe([
|
|
846
847
|
a({ type: String, reflect: !0 })
|
|
847
|
-
],
|
|
848
|
-
|
|
848
|
+
], le.prototype, "size", 2);
|
|
849
|
+
fe([
|
|
849
850
|
a({ type: String, reflect: !0 })
|
|
850
|
-
],
|
|
851
|
-
|
|
851
|
+
], le.prototype, "intent", 2);
|
|
852
|
+
fe([
|
|
852
853
|
a({ type: String })
|
|
853
|
-
],
|
|
854
|
-
|
|
854
|
+
], le.prototype, "prefixLabel", 2);
|
|
855
|
+
fe([
|
|
855
856
|
a({ type: String })
|
|
856
|
-
],
|
|
857
|
-
|
|
857
|
+
], le.prototype, "label", 2);
|
|
858
|
+
fe([
|
|
858
859
|
a({ type: String, reflect: !0 })
|
|
859
|
-
],
|
|
860
|
-
|
|
860
|
+
], le.prototype, "variant", 2);
|
|
861
|
+
fe([
|
|
861
862
|
a({ type: String, attribute: "prefixicon" })
|
|
862
|
-
],
|
|
863
|
-
|
|
863
|
+
], le.prototype, "prefixIcon", 1);
|
|
864
|
+
fe([
|
|
864
865
|
a({ type: String, attribute: "suffixicon" })
|
|
865
|
-
],
|
|
866
|
-
let gs =
|
|
866
|
+
], le.prototype, "suffixIcon", 1);
|
|
867
|
+
let gs = le;
|
|
867
868
|
customElements.get("nys-badge") || customElements.define("nys-badge", gs);
|
|
868
869
|
const L1 = ':host{--_nys-checkbox-size: var(--nys-size-400, 32px);--_nys-checkbox-border-radius: var(--nys-radius-md, 4px);--_nys-checkbox-border-width: var(--nys-border-width-md, 2px);--_nys-checkbox-outline-color: var(--nys-color-focus, #004dd1);--_nys-checkbox-outline-width: var(--nys-border-width-md, 2px);--_nys-checkbox-outline-offset: var(--nys-space-2px, 2px);--_nys-checkbox-gap: var(--nys-space-150, 12px);--_nys-checkboxgroup-gap: var(--nys-space-200, 16px);--_nys-checkbox-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-checkbox-font-size: var(--nys-font-size-ui-md, 16px);--_nys-checkbox-font-weight: var(--nys-font-weight-regular, 400);--_nys-checkbox-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-checkbox-color: var( --nys-color-ink, var(--nys-color-neutral-900, #1b1b1b) );--_nys-checkbox-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-checkbox-border-color: var(--nys-color-neutral-600, #62666a);--_nys-checkbox-background-color--hover: var(--nys-color-neutral-50, #ededed);--_nys-checkbox-border-color--hover: var(--nys-color-ink, #1b1b1b);--_nys-checkbox-background-color--active: var( --nys-color-neutral-100, #d0d0ce );--_nys-checkbox-border-color--active: var(--nys-color-ink, #1b1b1b);--_nys-checkbox-background-color--checked: var(--nys-color-theme, #154973);--_nys-checkbox-border-color--checked: var(--nys-color-theme, #154973);--_nys-checkbox-background-color--checked--hover: var( --nys-color-theme-strong, #0e324f );--_nys-checkbox-border-color--checked--hover: var( --nys-color-theme-strong, #0e324f );--_nys-checkbox-background-color--checked--active: var( --nys-color-theme-stronger, #081b2b );--_nys-checkbox-border-color--checked--active: var( --nys-color-theme-stronger, #081b2b );--_nys-checkbox-background-color--disabled: var( --nys-color-ink-reverse, #f0f0f0 );--_nys-checkbox-border-color--disabled: var(--nys-color-neutral-400, #757575);--_nys-checkbox-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-checkbox-background-color--checked--disabled: var( --nys-color-neutral-100, #d0d0ce );--_nys-checkbox-border-color--checked--disabled: var( --nys-color-neutral-100, #d0d0ce )}:host([size=sm]){--_nys-checkbox-size: var(--nys-size-300, 24px);--_nys-checkbox-border-radius: var(--nys-radius-sm, 2px);--_nys-checkboxgroup-gap: var(--nys-space-100, 8px);--_nys-checkbox-gap: var(--nys-space-100, 8px)}:host([size=md]){--_nys-checkbox-size: var(--nys-size-400, 32px);--_nys-checkbox-border-radius: var(--nys-radius-md, 4px)}:host([tile]){--_nys-checkbox-border-width--tile: var(--nys-border-width-sm, 1px);--_nys-checkbox-border-radius--tile: var(--nys-radius-md, 4px);--_nys-checkbox-border-color--tile: var(--nys-color-neutral-100, #d0d0ce);--_nys-checkbox-background-color--tile: var(--nys-color-ink-reverse, #ffffff);--_nys-checkbox-padding--x--tile: var(--nys-space-250, 20px);--_nys-checkbox-padding--y--tile: var(--nys-space-200, 16px);--_nys-checkbox-border-color--tile--hover: var( --nys-color-neutral-700, #4a4d4f );--_nys-checkbox-background-color--tile--hover: var( --nys-color-ink-reverse, #ffffff );--_nys-checkbox-border-color--tile--active: var( --nys-color-neutral-900, #1b1b1b );--_nys-checkbox-background-color--tile--active: var( --nys-color-ink-reverse, #ffffff );--_nys-checkbox-border-color--tile--checked: var( --nys-color-theme-mid, #457aa5 );--_nys-checkbox-background-color--tile--checked: var( --nys-color-theme-faint, #f7fafd );--_nys-checkbox-background-color--tile--disabled: var( --nys-color-ink-reverse, #f0f0f0 );--_nys-checkbox-border-color--tile--disabled: var( --nys-color-neutral-100, #d0d0ce )}:host([tile][size=sm]){--_nys-checkbox-padding--x--tile: var(--nys-space-200, 16px);--_nys-checkbox-padding--y--tile: var(--nys-space-150, 12px)}:host([tile][showError]){--_nys-checkbox-border-color--tile: var(--nys-color-danger, #b52c2c);--_nys-checkbox-border-color--tile--hover: var(--nys-color-danger, #b52c2c);--_nys-checkbox-border-color--tile--active: var(--nys-color-danger, #b52c2c);--_nys-checkbox-border-color--tile--checked: var(--nys-color-danger, #b52c2c)}:host([inverted]){--_nys-checkbox-outline-color: var(--nys-color-focus-reverse, #7aa5e7)}#single-error-message{--_nys-errormessage-margin-top: var(--nys-space-50, 4px)}.nys-checkboxgroup{display:flex;flex-direction:column;gap:var(--nys-space-200, 16px);font-family:var(--_nys-checkbox-font-family);font-size:var(--_nys-checkbox-font-size);line-height:var(--_nys-checkbox-line-height)}.nys-checkboxgroup__content{display:flex;flex-direction:column;gap:var(--_nys-checkboxgroup-gap)}.nys-checkbox{display:flex;flex-direction:column;border-radius:var(--_nys-checkbox-border-radius--tile);border:var(--_nys-checkbox-border-width--tile) solid var(--_nys-checkbox-border-color--tile);background:var(--_nys-checkbox-background-color--tile);padding:var(--_nys-checkbox-padding--y--tile) var(--_nys-checkbox-padding--x--tile)}.nys-checkbox .nys-checkbox__main-container{display:flex;font-family:var(--_nys-checkbox-font-family);font-size:var(--_nys-checkbox-font-size);line-height:var(--_nys-checkbox-line-height);align-items:center;gap:var(--_nys-checkbox-gap)}.nys-checkbox .nys-checkbox__main-container.has-description{align-items:flex-start}.nys-checkbox__checkbox-wrapper{position:relative;display:flex;justify-content:center;align-items:center;max-height:var(--_nys-checkbox-size)}.nys-checkbox__icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;color:var(--nys-color-ink-reverse, #ffffff)}.nys-checkbox__checkbox{appearance:none;background-repeat:no-repeat;background-position:center;width:var(--_nys-checkbox-size);min-width:var(--_nys-checkbox-size);min-height:var(--_nys-checkbox-size);height:var(--_nys-checkbox-size);max-width:var(--_nys-checkbox-size);max-height:var(--_nys-checkbox-size);border:solid var(--_nys-checkbox-border-width) var(--_nys-checkbox-border-color);background-color:var(--_nys-checkbox-background-color);border-radius:var(--_nys-checkbox-border-radius);outline-offset:var(--_nys-checkbox-outline-offset);outline:none;margin:0}.nys-checkbox:hover,.nys-checkbox:hover *{cursor:pointer}.nys-checkbox__checkbox:not(:disabled):checked{background-color:var(--_nys-checkbox-background-color--checked);border-color:var(--_nys-checkbox-border-color--checked)}:host([tile]) .nys-checkbox:has(.nys-checkbox__checkbox:not(:disabled):checked){border-color:var(--_nys-checkbox-border-color--tile--checked);background-color:var(--_nys-checkbox-background-color--tile--checked)}.nys-checkbox__checkbox:disabled:checked{background-color:var(--_nys-checkbox-background-color--checked--disabled);border-color:var(--_nys-checkbox-border-color--checked--disabled)}:host([tile]) .nys-checkbox:has(.nys-checkbox__checkbox:disabled:checked){border-color:var(--_nys-checkbox-border-color--tile--disabled);background-color:var(--_nys-checkbox-background-color--tile--disabled)}.nys-checkbox__checkbox:disabled{background-color:var(--_nys-checkbox-background-color--disabled);border-color:var(--_nys-checkbox-border-color--disabled);cursor:not-allowed}.nys-checkbox:has(.nys-checkbox__checkbox:disabled) *{color:var(--_nys-checkbox-color--disabled);cursor:not-allowed;--_nys-label-cursor: not-allowed;--_nys-label-color: var(--_nys-checkbox-color--disabled)}:host([tile]) .nys-checkbox:has(.nys-checkbox__checkbox:disabled){background-color:var(--_nys-checkbox-background-color--disabled);border-color:var(--_nys-checkbox-border-color--disabled);cursor:not-allowed}.nys-checkbox:hover .nys-checkbox__checkbox:not(:disabled):not(:checked),.nys-checkbox__checkbox:hover:not(:disabled):not(:checked){background-color:var(--_nys-checkbox-background-color--hover);border-color:var(--_nys-checkbox-border-color--hover)}:host([tile]) .nys-checkbox:hover:has(.nys-checkbox__checkbox:not(:disabled):not(:checked)){border-color:var(--_nys-checkbox-border-color--tile--hover);background-color:var(--_nys-checkbox-background-color--tile--hover);outline:solid var(--_nys-checkbox-border-width--tile) var(--_nys-checkbox-border-color--tile--hover)}.nys-checkbox:hover .nys-checkbox__checkbox:not(:disabled):checked,.nys-checkbox__checkbox:hover:not(:disabled):checked{border-color:var(--_nys-checkbox-border-color--checked--hover);background-color:var(--_nys-checkbox-background-color--checked--hover)}:host([tile]) .nys-checkbox:hover:has(.nys-checkbox__checkbox:not(:disabled):checked){outline:solid var(--_nys-checkbox-border-width--tile) var(--_nys-checkbox-border-color--tile--checked)}.nys-checkbox:active .nys-checkbox__checkbox:not(:disabled):not(:checked),.nys-checkbox__checkbox:active:not(:disabled):not(:checked){background-color:var(--_nys-checkbox-background-color--active);border-color:var(--_nys-checkbox-border-color--active)}:host([tile]) .nys-checkbox:has(.nys-checkbox__checkbox:active:not(:disabled):not(:checked)){border-color:var(--_nys-checkbox-border-color--tile--active);background-color:var(--_nys-checkbox-background-color--tile--active);outline:solid var(--_nys-checkbox-border-width--tile) var(--_nys-checkbox-border-color--tile--active)}.nys-checkbox:active .nys-checkbox__checkbox:not(:disabled):checked,.nys-checkbox__checkbox:active:not(:disabled):checked{border-color:var(--_nys-checkbox-border-color--checked--active);background-color:var(--_nys-checkbox-background-color--checked--active)}:host(:not([tile])) .nys-checkbox__checkbox:focus{outline:solid var(--_nys-checkbox-outline-width) var(--_nys-checkbox-outline-color)}:host([tile]) .nys-checkbox:has(*:focus-visible),:host([tile][showError]) .nys-checkbox:has(*:focus){outline:solid var(--_nys-checkbox-border-width--tile) var(--_nys-checkbox-outline-color)!important;border-color:var(--_nys-checkbox-outline-color)!important}:host(:not([tile])) .nys-checkbox__main-container>nys-label{--_nys-label-font-weight: var(--_nys-checkbox-font-weight)}:host([tile]) .nys-checkbox__main-container>nys-label{--_nys-description-font-style: normal}.nys-checkbox__required{color:var(--nys-color-danger, #b52c2c)}.nys-checkbox__requiredwrapper{display:flex;gap:3px}fieldset{all:unset;display:contents}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}.nys-checkbox__other-container{display:flex;padding-inline-start:calc(var(--_nys-checkbox-size) + var(--_nys-checkbox-gap))}';
|
|
869
|
-
var _s = Object.defineProperty,
|
|
870
|
+
var _s = Object.defineProperty, T = (r, e, t, s) => {
|
|
870
871
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
871
872
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
872
873
|
return o && _s(e, t, o), o;
|
|
873
874
|
};
|
|
874
875
|
let Cs = 0;
|
|
875
|
-
const
|
|
876
|
+
const Ke = class Ke extends f {
|
|
876
877
|
// allows use of elementInternals' API
|
|
877
878
|
constructor() {
|
|
878
879
|
super(), this.id = "", this.name = "", this.required = !1, this.optional = !1, this.showError = !1, this.errorMessage = "", this.label = "", this.description = "", this.tile = !1, this.tooltip = "", this.inverted = !1, this.form = null, this.size = "md", this._slottedDescriptionText = "", this._hasOtherError = !1, this._otherErrorCheckbox = null, this._internals = this.attachInternals();
|
|
@@ -1072,67 +1073,67 @@ const We = class We extends f {
|
|
|
1072
1073
|
`;
|
|
1073
1074
|
}
|
|
1074
1075
|
};
|
|
1075
|
-
|
|
1076
|
+
Ke.styles = g(L1), Ke.shadowRootOptions = {
|
|
1076
1077
|
...f.shadowRootOptions,
|
|
1077
1078
|
delegatesFocus: !0
|
|
1078
|
-
},
|
|
1079
|
-
let
|
|
1080
|
-
|
|
1079
|
+
}, Ke.formAssociated = !0;
|
|
1080
|
+
let z = Ke;
|
|
1081
|
+
T([
|
|
1081
1082
|
a({ type: String, reflect: !0 })
|
|
1082
|
-
],
|
|
1083
|
-
|
|
1083
|
+
], z.prototype, "id");
|
|
1084
|
+
T([
|
|
1084
1085
|
a({ type: String, reflect: !0 })
|
|
1085
|
-
],
|
|
1086
|
-
|
|
1086
|
+
], z.prototype, "name");
|
|
1087
|
+
T([
|
|
1087
1088
|
a({ type: Boolean, reflect: !0 })
|
|
1088
|
-
],
|
|
1089
|
-
|
|
1089
|
+
], z.prototype, "required");
|
|
1090
|
+
T([
|
|
1090
1091
|
a({ type: Boolean, reflect: !0 })
|
|
1091
|
-
],
|
|
1092
|
-
|
|
1092
|
+
], z.prototype, "optional");
|
|
1093
|
+
T([
|
|
1093
1094
|
a({ type: Boolean, reflect: !0 })
|
|
1094
|
-
],
|
|
1095
|
-
|
|
1095
|
+
], z.prototype, "showError");
|
|
1096
|
+
T([
|
|
1096
1097
|
a({ type: String })
|
|
1097
|
-
],
|
|
1098
|
-
|
|
1098
|
+
], z.prototype, "errorMessage");
|
|
1099
|
+
T([
|
|
1099
1100
|
a({ type: String })
|
|
1100
|
-
],
|
|
1101
|
-
|
|
1101
|
+
], z.prototype, "label");
|
|
1102
|
+
T([
|
|
1102
1103
|
a({ type: String })
|
|
1103
|
-
],
|
|
1104
|
-
|
|
1104
|
+
], z.prototype, "description");
|
|
1105
|
+
T([
|
|
1105
1106
|
a({ type: Boolean, reflect: !0 })
|
|
1106
|
-
],
|
|
1107
|
-
|
|
1107
|
+
], z.prototype, "tile");
|
|
1108
|
+
T([
|
|
1108
1109
|
a({ type: String })
|
|
1109
|
-
],
|
|
1110
|
-
|
|
1110
|
+
], z.prototype, "tooltip");
|
|
1111
|
+
T([
|
|
1111
1112
|
a({ type: Boolean, reflect: !0 })
|
|
1112
|
-
],
|
|
1113
|
-
|
|
1113
|
+
], z.prototype, "inverted");
|
|
1114
|
+
T([
|
|
1114
1115
|
a({ type: String, reflect: !0 })
|
|
1115
|
-
],
|
|
1116
|
-
|
|
1116
|
+
], z.prototype, "form");
|
|
1117
|
+
T([
|
|
1117
1118
|
a({ type: String, reflect: !0 })
|
|
1118
|
-
],
|
|
1119
|
-
|
|
1119
|
+
], z.prototype, "size");
|
|
1120
|
+
T([
|
|
1120
1121
|
_()
|
|
1121
|
-
],
|
|
1122
|
-
|
|
1122
|
+
], z.prototype, "_slottedDescriptionText");
|
|
1123
|
+
T([
|
|
1123
1124
|
_()
|
|
1124
|
-
],
|
|
1125
|
-
|
|
1125
|
+
], z.prototype, "_hasOtherError");
|
|
1126
|
+
T([
|
|
1126
1127
|
_()
|
|
1127
|
-
],
|
|
1128
|
-
customElements.get("nys-checkboxgroup") || customElements.define("nys-checkboxgroup",
|
|
1129
|
-
var ms = Object.defineProperty,
|
|
1128
|
+
], z.prototype, "_otherErrorCheckbox");
|
|
1129
|
+
customElements.get("nys-checkboxgroup") || customElements.define("nys-checkboxgroup", z);
|
|
1130
|
+
var ms = Object.defineProperty, B = (r, e, t, s) => {
|
|
1130
1131
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
1131
1132
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
1132
1133
|
return o && ms(e, t, o), o;
|
|
1133
1134
|
};
|
|
1134
1135
|
let ws = 0;
|
|
1135
|
-
const
|
|
1136
|
+
const Ge = class Ge extends f {
|
|
1136
1137
|
// allows use of elementInternals' API
|
|
1137
1138
|
constructor() {
|
|
1138
1139
|
super(), this.checked = !1, this.disabled = !1, this.required = !1, this.label = "", this.description = "", this.id = "", this.name = "", this.value = "", this.form = null, this.showError = !1, this.errorMessage = "", this.groupExist = !1, this.tile = !1, this.inverted = !1, this.tooltip = "", this.size = "md", this.other = !1, this.showOtherError = !1, this.isMobile = window.innerWidth < 480, this._hasUserInteracted = !1, this._manageLabelClick = () => {
|
|
@@ -1369,77 +1370,77 @@ const Ke = class Ke extends f {
|
|
|
1369
1370
|
`;
|
|
1370
1371
|
}
|
|
1371
1372
|
};
|
|
1372
|
-
|
|
1373
|
+
Ge.styles = g(L1), Ge.shadowRootOptions = {
|
|
1373
1374
|
...f.shadowRootOptions,
|
|
1374
1375
|
delegatesFocus: !0
|
|
1375
|
-
},
|
|
1376
|
-
let
|
|
1377
|
-
|
|
1376
|
+
}, Ge.formAssociated = !0;
|
|
1377
|
+
let E = Ge;
|
|
1378
|
+
B([
|
|
1378
1379
|
a({ type: Boolean, reflect: !0 })
|
|
1379
|
-
],
|
|
1380
|
-
|
|
1380
|
+
], E.prototype, "checked");
|
|
1381
|
+
B([
|
|
1381
1382
|
a({ type: Boolean, reflect: !0 })
|
|
1382
|
-
],
|
|
1383
|
-
|
|
1383
|
+
], E.prototype, "disabled");
|
|
1384
|
+
B([
|
|
1384
1385
|
a({ type: Boolean, reflect: !0 })
|
|
1385
|
-
],
|
|
1386
|
-
|
|
1386
|
+
], E.prototype, "required");
|
|
1387
|
+
B([
|
|
1387
1388
|
a({ type: String })
|
|
1388
|
-
],
|
|
1389
|
-
|
|
1389
|
+
], E.prototype, "label");
|
|
1390
|
+
B([
|
|
1390
1391
|
a({ type: String })
|
|
1391
|
-
],
|
|
1392
|
-
|
|
1392
|
+
], E.prototype, "description");
|
|
1393
|
+
B([
|
|
1393
1394
|
a({ type: String, reflect: !0 })
|
|
1394
|
-
],
|
|
1395
|
-
|
|
1395
|
+
], E.prototype, "id");
|
|
1396
|
+
B([
|
|
1396
1397
|
a({ type: String, reflect: !0 })
|
|
1397
|
-
],
|
|
1398
|
-
|
|
1398
|
+
], E.prototype, "name");
|
|
1399
|
+
B([
|
|
1399
1400
|
a({ type: String })
|
|
1400
|
-
],
|
|
1401
|
-
|
|
1401
|
+
], E.prototype, "value");
|
|
1402
|
+
B([
|
|
1402
1403
|
a({ type: String, reflect: !0 })
|
|
1403
|
-
],
|
|
1404
|
-
|
|
1404
|
+
], E.prototype, "form");
|
|
1405
|
+
B([
|
|
1405
1406
|
a({ type: Boolean, reflect: !0 })
|
|
1406
|
-
],
|
|
1407
|
-
|
|
1407
|
+
], E.prototype, "showError");
|
|
1408
|
+
B([
|
|
1408
1409
|
a({ type: String })
|
|
1409
|
-
],
|
|
1410
|
-
|
|
1410
|
+
], E.prototype, "errorMessage");
|
|
1411
|
+
B([
|
|
1411
1412
|
a({ type: Boolean })
|
|
1412
|
-
],
|
|
1413
|
-
|
|
1413
|
+
], E.prototype, "groupExist");
|
|
1414
|
+
B([
|
|
1414
1415
|
a({ type: Boolean, reflect: !0 })
|
|
1415
|
-
],
|
|
1416
|
-
|
|
1416
|
+
], E.prototype, "tile");
|
|
1417
|
+
B([
|
|
1417
1418
|
a({ type: Boolean, reflect: !0 })
|
|
1418
|
-
],
|
|
1419
|
-
|
|
1419
|
+
], E.prototype, "inverted");
|
|
1420
|
+
B([
|
|
1420
1421
|
a({ type: String })
|
|
1421
|
-
],
|
|
1422
|
-
|
|
1422
|
+
], E.prototype, "tooltip");
|
|
1423
|
+
B([
|
|
1423
1424
|
a({ type: String, reflect: !0 })
|
|
1424
|
-
],
|
|
1425
|
-
|
|
1425
|
+
], E.prototype, "size");
|
|
1426
|
+
B([
|
|
1426
1427
|
a({ type: Boolean, reflect: !0 })
|
|
1427
|
-
],
|
|
1428
|
-
|
|
1428
|
+
], E.prototype, "other");
|
|
1429
|
+
B([
|
|
1429
1430
|
a({ type: Boolean })
|
|
1430
|
-
],
|
|
1431
|
-
|
|
1431
|
+
], E.prototype, "showOtherError");
|
|
1432
|
+
B([
|
|
1432
1433
|
_()
|
|
1433
|
-
],
|
|
1434
|
-
customElements.get("nys-checkbox") || customElements.define("nys-checkbox",
|
|
1434
|
+
], E.prototype, "isMobile");
|
|
1435
|
+
customElements.get("nys-checkbox") || customElements.define("nys-checkbox", E);
|
|
1435
1436
|
const xs = ':host{--_nys-combobox-width: 100%;--_nys-combobox-height: var(--nys-size-500, 40px);--_nys-combobox-border-radius: var(--nys-radius-md, 4px);--_nys-combobox-border-width: var(--nys-border-width-sm, 1px);--_nys-combobox-border-color: var(--nys-color-neutral-400, #909395);--_nys-combobox-color: var(--nys-color-text, var(--nys-color-neutral-900, #1b1b1b));--_nys-combobox-padding: var(--nys-space-100, 8px) var(--nys-space-150, 12px);--_nys-combobox-gap: var(--nys-space-50, 4px);--_nys-combobox-background-color: var(--nys-color-ink-reverse, var(--nys-color-white, #ffffff));--_nys-combobox-outline-color--hover: var(--nys-color-neutral-900, #1b1b1b);--_nys-combobox-outline-width: var(--nys-border-width-sm, 1px);--_nys-combobox-outline-color--focus: var(--nys-color-focus, #004dd1);--_nys-combobox-background-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-combobox-border-color--disabled: var(--nys-color-neutral-200, #bec0c1);--_nys-combobox-color--disabled: var(--nys-color-text-disabled, var(--nys-color-neutral-200, #bec0c1));--_nys-combobox-background-color--dropdown: var(--nys-color-ink-reverse, var(--nys-color-white, #ffffff));--_nys-combobox-border-color--dropdown: var(--nys-color-neutral-400, #909395);--_nys-combobox-shadow--dropdown: var(--nys-shadow-lg, 0 4px 8px rgba(0, 0, 0, .1));--_nys-combobox-max-height--dropdown: var(--nys-size-3000, 300px);--_nys-combobox-padding--option: var(--nys-space-100, 8px) var(--nys-space-150, 12px);--_nys-combobox-background-color--option--hover: var(--nys-color-neutral-10, #f6f6f6);--_nys-combobox-background-color--option--active: var(--nys-color-neutral-50, #ededed);--_nys-combobox-background-color--option--disabled: var(--nys-color-white, #ffffff);--_nys-combobox-color--option--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-combobox-background-color--option--selected: var(--nys-theme-weaker, #eff6fb);--_nys-combobox-border-color--option--selected: var(--nys-color-theme-mid, #457aa5);--_nys-combobox-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif));--_nys-combobox-font-size: var(--nys-font-size-ui-md, 16px);--_nys-combobox-font-weight: var(--nys-font-weight-regular, 400);--_nys-combobox-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-combobox-letter-spacing: var(--nys-font-letterspacing-ui-md, var(--nys-font-letterspacing-400, .044px))}:host([width=sm]){--_nys-combobox-width: var(--nys-form-width-sm, 88px)}:host([width=md]){--_nys-combobox-width: var(--nys-form-width-md, 200px)}:host([width=lg]){--_nys-combobox-width: var(--nys-form-width-lg, 384px)}:host([width=full]){--_nys-combobox-width: 100%;flex:1}:host([showError]){--_nys-combobox-border-color: var(--nys-color-danger, #b52c2c)}:host([inverted]){--_nys-combobox-outline-color--focus: var(--nys-color-focus-reverse, #7aa5e7)}.nys-combobox{font-weight:var(--_nys-combobox-font-weight);font-family:var(--_nys-combobox-font-family);font-size:var(--_nys-combobox-font-size);line-height:var(--_nys-combobox-line-height);letter-spacing:var(--_nys-combobox-letter-spacing);color:var(--_nys-combobox-color);gap:var(--_nys-combobox-gap);display:flex;flex-direction:column;position:relative}.nys-combobox__container{width:var(--_nys-combobox-width);max-width:100%;position:relative}.nys-combobox__input-wrapper{position:relative;display:flex;align-items:center;background-color:var(--_nys-combobox-background-color);border-radius:var(--_nys-combobox-border-radius)}.nys-combobox__input{color:var(--_nys-combobox-color);border-radius:var(--_nys-combobox-border-radius);border:solid var(--_nys-combobox-border-color) var(--_nys-combobox-border-width);outline-color:transparent;outline-width:var(--_nys-combobox-outline-width);outline-style:solid;padding:var(--_nys-combobox-padding);padding-right:calc(var(--nys-size-400, 32px) + var(--nys-space-100, 8px));width:100%;height:var(--_nys-combobox-height);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;background-color:transparent;font:inherit;cursor:text}.nys-combobox__input:not(:placeholder-shown){padding-right:calc(var(--nys-size-400, 32px) * 2 + var(--nys-space-100, 8px))}.nys-combobox__input:hover:not(:disabled):not(:focus):not([readonly]){outline-color:var(--_nys-combobox-outline-color--hover);border-color:var(--_nys-combobox-outline-color--hover)}.nys-combobox__input:focus:not([readonly]){outline-color:var(--_nys-combobox-outline-color--focus);border-color:var(--_nys-combobox-outline-color--focus);caret-color:var(--_nys-combobox-outline-color--focus)}.nys-combobox__input:disabled{background-color:var(--_nys-combobox-background-color--disabled);border-color:var(--_nys-combobox-border-color--disabled);color:var(--_nys-combobox-color--disabled);cursor:not-allowed}.nys-combobox__buttons{display:flex;position:absolute;right:var(--nys-space-150, 12px);gap:var(--nys-space-150, 12px)}.nys-combobox__buttons nys-button{--_nys-button-padding--y: var(--nys-space-50, 4px);--_nys-button-padding--x: var(--nys-space-50, 4px);--_nys-button-height: var(--nys-size-300, 32px);--_nys-button-width: var(--nys-size-400, 32px)}.nys-combobox__buttons .nys-combobox__chevron{border-inline-start:solid var(--nys-color-neutral-200, #bec0c1) var(--nys-border-width-sm, 1px);padding-inline-start:var(--nys-space-150, 12px)}.nys-combobox__listbox{position:absolute;left:0;right:0;top:calc(100% + var(--nys-space-50, 4px));background-color:var(--_nys-combobox-background-color--dropdown);border:solid var(--_nys-combobox-border-color--dropdown) var(--_nys-combobox-border-width);border-radius:var(--_nys-combobox-border-radius);box-shadow:var(--_nys-combobox-shadow--dropdown);max-height:var(--_nys-combobox-max-height--dropdown);overflow-y:auto;z-index:1000;box-sizing:border-box}.nys-combobox__listbox--above{top:auto;bottom:calc(100% + var(--nys-space-50, 4px))}.nys-combobox__option{padding:var(--_nys-combobox-padding--option);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s ease;border-bottom:var(--nys-border-width-sm, 1px) solid var(--nys-color-neutral-50, #ededed);background-color:var(--_nys-combobox-background-color)}.nys-combobox__option:hover:not([disabled]):not(.nys-combobox__option--selected){background-color:var(--_nys-combobox-background-color--option--hover)}.nys-combobox__option:active:not([disabled]):not(.nys-combobox__option--selected){background-color:var(--_nys-combobox-background-color--option--active)}.nys-combobox__option--selected:not([disabled]){background-color:var(--_nys-combobox-background-color--option--selected);border:var(--_nys-combobox-border-color--option--selected) solid 1px}.nys-combobox__option--focused:not([disabled]):not(:hover){outline:var(--_nys-combobox-outline-color--focus) solid 2px;outline-offset:-2px}.nys-combobox__option[disabled]{background-color:var(--_nys-combobox-background-color--option--disabled);color:var(--_nys-combobox-color--option--disabled);cursor:not-allowed}.nys-combobox__optgroup{padding:var(--nys-space-100, 8px) var(--nys-space-150, 12px);border-bottom:var(--nys-border-width-sm, 1px) solid var(--nys-color-neutral-50, #ededed);-webkit-user-select:none;user-select:none;color:var(--nys-color-text);font-family:var(--nys-font-family-ui, "Proxima Nova");font-size:var(--nys-font-size-ui-md, 16px);font-style:normal;font-weight:700;line-height:var(--nys-font-lineheight-ui-md, 24px);letter-spacing:var(--nys-font-letterspacing-ui-md, .044px)}.nys-combobox__optgroup~.nys-combobox__option{padding-left:var(--nys-space-300, 24px)}.nys-combobox__no-results{background-color:var(--_nys-combobox-background-color);padding:var(--_nys-combobox-padding--option);color:var(--_nys-combobox-color);cursor:not-allowed}.nys-combobox__listbox::-webkit-scrollbar{width:var(--nys-space-100, 8px)}.nys-combobox__listbox::-webkit-scrollbar-track{background:var(--nys-color-neutral-50, #eeeeee);border-radius:var(--_nys-combobox-border-radius)}.nys-combobox__listbox::-webkit-scrollbar-thumb{background:var(--nys-color-neutral-300, #a7a9ab);border-radius:var(--_nys-combobox-border-radius)}.nys-combobox__listbox::-webkit-scrollbar-thumb:hover{background:var(--nys-color-neutral-400, #909395)}';
|
|
1436
|
-
var ks = Object.defineProperty,
|
|
1437
|
+
var ks = Object.defineProperty, L = (r, e, t, s) => {
|
|
1437
1438
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
1438
1439
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
1439
1440
|
return o && ks(e, t, o), o;
|
|
1440
1441
|
};
|
|
1441
1442
|
let $s = 0;
|
|
1442
|
-
const
|
|
1443
|
+
const Ct = class Ct extends f {
|
|
1443
1444
|
constructor() {
|
|
1444
1445
|
super(), this.id = "", this.name = "", this.label = "", this.description = "", this.value = "", this.disabled = !1, this.required = !1, this.optional = !1, this.tooltip = "", this.form = null, this.width = "full", this.inverted = !1, this.showError = !1, this.errorMessage = "", this._isOpen = !1, this._filterText = "", this._highlightedIndex = -1, this._options = [], this._filteredOptions = [], this._dropdownAbove = !1, this._announcement = "", this._originalErrorMessage = "", this._hasUserInteracted = !1, this._selectedLabel = "", this._defaultValue = "", this._handleDocumentClick = (e) => {
|
|
1445
1446
|
e.target === this || this.shadowRoot?.contains(e.target) || this._closeDropdown();
|
|
@@ -1539,7 +1540,8 @@ const _t = class _t extends f {
|
|
|
1539
1540
|
if (!this._input) return;
|
|
1540
1541
|
const e = this._input.validity;
|
|
1541
1542
|
let t = "";
|
|
1542
|
-
|
|
1543
|
+
const s = this._input && !this._options.some((o) => o.value === this.value);
|
|
1544
|
+
e.valueMissing || s ? t = "This field is required" : t = this._input.validationMessage, this._setValidityMessage(t);
|
|
1543
1545
|
}
|
|
1544
1546
|
formResetCallback() {
|
|
1545
1547
|
this.value = this._defaultValue, this._filterText = this._defaultValue ? this._options.find((e) => e.value === this._defaultValue)?.label ?? "" : "", this._selectedLabel = this._filterText, this._input && (this._input.value = this._filterText), this._internals.setFormValue(this.value), this.showError = !1, this.errorMessage = "", this._internals.setValidity({}), this.requestUpdate();
|
|
@@ -1819,76 +1821,76 @@ const _t = class _t extends f {
|
|
|
1819
1821
|
`;
|
|
1820
1822
|
}
|
|
1821
1823
|
};
|
|
1822
|
-
|
|
1823
|
-
let m =
|
|
1824
|
-
|
|
1824
|
+
Ct.styles = g(xs), Ct.formAssociated = !0;
|
|
1825
|
+
let m = Ct;
|
|
1826
|
+
L([
|
|
1825
1827
|
a({ type: String, reflect: !0 })
|
|
1826
1828
|
], m.prototype, "id");
|
|
1827
|
-
|
|
1829
|
+
L([
|
|
1828
1830
|
a({ type: String, reflect: !0 })
|
|
1829
1831
|
], m.prototype, "name");
|
|
1830
|
-
|
|
1832
|
+
L([
|
|
1831
1833
|
a({ type: String })
|
|
1832
1834
|
], m.prototype, "label");
|
|
1833
|
-
|
|
1835
|
+
L([
|
|
1834
1836
|
a({ type: String })
|
|
1835
1837
|
], m.prototype, "description");
|
|
1836
|
-
|
|
1838
|
+
L([
|
|
1837
1839
|
a({ type: String })
|
|
1838
1840
|
], m.prototype, "value");
|
|
1839
|
-
|
|
1841
|
+
L([
|
|
1840
1842
|
a({ type: Boolean, reflect: !0 })
|
|
1841
1843
|
], m.prototype, "disabled");
|
|
1842
|
-
|
|
1844
|
+
L([
|
|
1843
1845
|
a({ type: Boolean, reflect: !0 })
|
|
1844
1846
|
], m.prototype, "required");
|
|
1845
|
-
|
|
1847
|
+
L([
|
|
1846
1848
|
a({ type: Boolean, reflect: !0 })
|
|
1847
1849
|
], m.prototype, "optional");
|
|
1848
|
-
|
|
1850
|
+
L([
|
|
1849
1851
|
a({ type: String })
|
|
1850
1852
|
], m.prototype, "tooltip");
|
|
1851
|
-
|
|
1853
|
+
L([
|
|
1852
1854
|
a({ type: String, reflect: !0 })
|
|
1853
1855
|
], m.prototype, "form");
|
|
1854
|
-
|
|
1856
|
+
L([
|
|
1855
1857
|
a({ type: String, reflect: !0 })
|
|
1856
1858
|
], m.prototype, "width");
|
|
1857
|
-
|
|
1859
|
+
L([
|
|
1858
1860
|
a({ type: Boolean, reflect: !0 })
|
|
1859
1861
|
], m.prototype, "inverted");
|
|
1860
|
-
|
|
1862
|
+
L([
|
|
1861
1863
|
a({ type: Boolean, reflect: !0 })
|
|
1862
1864
|
], m.prototype, "showError");
|
|
1863
|
-
|
|
1865
|
+
L([
|
|
1864
1866
|
a({ type: String })
|
|
1865
1867
|
], m.prototype, "errorMessage");
|
|
1866
|
-
|
|
1868
|
+
L([
|
|
1867
1869
|
_()
|
|
1868
1870
|
], m.prototype, "_isOpen");
|
|
1869
|
-
|
|
1871
|
+
L([
|
|
1870
1872
|
_()
|
|
1871
1873
|
], m.prototype, "_filterText");
|
|
1872
|
-
|
|
1874
|
+
L([
|
|
1873
1875
|
_()
|
|
1874
1876
|
], m.prototype, "_highlightedIndex");
|
|
1875
|
-
|
|
1877
|
+
L([
|
|
1876
1878
|
_()
|
|
1877
1879
|
], m.prototype, "_options");
|
|
1878
|
-
|
|
1880
|
+
L([
|
|
1879
1881
|
_()
|
|
1880
1882
|
], m.prototype, "_filteredOptions");
|
|
1881
|
-
|
|
1883
|
+
L([
|
|
1882
1884
|
_()
|
|
1883
1885
|
], m.prototype, "_dropdownAbove");
|
|
1884
|
-
|
|
1886
|
+
L([
|
|
1885
1887
|
_()
|
|
1886
1888
|
], m.prototype, "_announcement");
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
+
L([
|
|
1890
|
+
At("input")
|
|
1889
1891
|
], m.prototype, "_input");
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
+
L([
|
|
1893
|
+
At(".nys-combobox__listbox")
|
|
1892
1894
|
], m.prototype, "_listbox");
|
|
1893
1895
|
customElements.get("nys-combobox") || customElements.define("nys-combobox", m);
|
|
1894
1896
|
const Ls = ':host{--_nys-datepicker-width: fit-content;--_nys-datepicker-width--input: var(--nys-form-width-md, 200px);--_nys-datepicker-gap: var(--nys-space-100, 8px);--_nys-datepicker-height: var(--nys-size-600, 48px);--_nys-datepicker-radius: var(--nys-radius-xl, 12px);--_nys-datepicker-color: var( --nys-color-text, var(--nys-color-neutral-900, #1b1b1b) );--_nys-datepicker-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-datepicker-space-sm: var(--nys-space-50, 4px);--_nys-datepicker-space-md: var(--nys-space-100, 8px);--_nys-datepicker-space-lg: var(--nys-space-150, 12px);--_nys-datepicker-border-width: var(--nys-border-width-sm, 1px);--_nys-datepicker-border-color: var(--nys-color-neutral-400, #909395);--_nys-datepicker-border-radius: var(--nys-radius-md, 4px);--_nys-datepicker-outline-color--hover: var(--nys-color-neutral-900, #1b1b1b);--_nys-datepicker-outline-color--focus: var(--nys-color-focus, #004dd1);--_nys-datepicker-font-size: var(--nys-font-size-ui-md, 16px);--_nys-datepicker-font-weight: var(--nys-font-weight-regular, 400);--_nys-datepicker-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-datepicker-letterspacing: var(--nys-font-letterspacing-ui-md, .044px);--_nys-datepicker-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-datepicker-text-color: var(--nys-color-text, #1b1b1b);--_nys-datepicker-text-disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-datepicker-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-datepicker-background-color--button--active: var( --nys-color-gray-100, #d0d0ce );--_nys-datepicker-padding--calendar: var(--nys-space-200, 16px);--_nys-datepicker-color--calendar--weekends: var( --nys-color-text-weaker, #797c7f );--_nys-datepicker-gap--calendar-row: var(--nys-space-2-px, 2px);--_nys-datepicker-font-size--date: var(--nys-type-size-ui-sm, 14px);--_nys-datepicker-background-color--date--hover: var( --nys-color-neutral-50, #ededed );--_nys-datepicker-background-color--date--active: var( --nys-color-neutral-100, #d0d0ce );--_nys-datepicker-background-color--date--selected: var( --nys-color-info-weak, #e5effa );--_nys-datepicker-focus-ring--date: var(--nys-color-link, #004dd1);--_nys-datepicker-color--date: var(--nys-color-text, #1b1b1b);--_nys-datepicker-color--date--hover: var(--nys-color-text, #1b1b1b);--_nys-datepicker-color--date--selected: var(--nys-color-info, #004dd1);--_nys-datepicker-color--date--disabled: var( --nys-color-text-disabled, #bec0c1 );--_nys-datepicker-border-color--date--disabled: var( --nys-color-neutral-200, #bec0c1 );--_nys-datepicker-background-color--navigation--hover: var( --nys-color-neutral-10, #f6f6f6 );--_nys-datepicker-background-color--navigation--pressed: var( --nys-color-neutral-50, #ededed );--_nys-datepicker-background-color--navigation--disabled: var( --nys-color-neutral-10, #f6f6f6 );--_nys-datepicker-color--navigation--hover: var( --nys-color-neutral-900, #1b1b1b );--_nys-datepicker-color--navigation--pressed: var( --nys-color-neutral-900, #1b1b1b );--_nys-datepicker-color--navigation--disabled: var( --nys-color-neutral-200, #bec0c1 );--_nys-datepicker-box-shadow-border--navigation: inset 0 0 0 1px var(--nys-color-neutral-900, #1b1b1b)}:host([width=lg]){--_nys-datepicker-width--input: var(--nys-form-width-lg, 384px)}:host([width=full]){--_nys-datepicker-width--input: 100%}:host([showError]){--_nys-datepicker-border-color: var(--nys-color-danger, #b52c2c)}:host([inverted]){--_nys-datepicker-outline-color--focus: var(--nys-color-focus-reverse, #7aa5e7)}.nys-datepicker--container{display:flex;flex-direction:column;gap:var(--_nys-datepicker-space-sm);font-family:var(--_nys-datepicker-font-family);font-size:var(--_nys-datepicker-font-size);font-weight:var(--_nys-datepicker-font-weight);line-height:var(--_nys-datepicker-line-height);width:100%}.nys-datepicker--container .nys-datepicker--input-container{position:relative;width:var(--_nys-datepicker-width--input);display:flex;cursor:pointer}.nys-datepicker--container .nys-datepicker--input-container.disabled #calendar-button{cursor:not-allowed;color:var(--_nys-datepicker-color--date--disabled)}.nys-datepicker--container .nys-datepicker--input-container .nys-datepicker--input{cursor:text;text-align:start;font-family:var(--_nys-datepicker-font-family);font-size:var(--_nys-datepicker-font-size);flex:1;height:24px;outline:transparent solid 1px;border-radius:var(--_nys-datepicker-border-radius);border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-border-color);background-color:var(--_nys-datepicker-background-color);padding:var(--_nys-datepicker-space-md) var(--_nys-datepicker-space-md) var(--_nys-datepicker-space-md) var(--_nys-datepicker-space-lg);color:var(--_nys-datepicker-color)}.nys-datepicker--container .nys-datepicker--input-container .nys-datepicker--input:hover{outline-color:var(--_nys-datepicker-outline-color--hover);border-color:var(--_nys-datepicker-outline-color--hover)}.nys-datepicker--container .nys-datepicker--input-container .nys-datepicker--input:focus{outline-color:var(--_nys-datepicker-outline-color--focus);border-color:var(--_nys-datepicker-outline-color--focus)}.nys-datepicker--container .nys-datepicker--input-container .nys-datepicker--input:disabled{border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-color--navigation--disabled);cursor:not-allowed;color:var(--_nys-datepicker-color--disabled)}.nys-datepicker--container .nys-datepicker--input-container .nys-datepicker--input::-webkit-date-and-time-value{text-align:start}.nys-datepicker--container .nys-datepicker--input-container input[type=date]::-webkit-inner-spin-button,.nys-datepicker--container .nys-datepicker--input-container input[type=date]::-webkit-calendar-picker-indicator{display:none;appearance:none}.nys-datepicker--container .nys-datepicker--input-container #calendar-button{display:flex;align-items:center;justify-content:center;padding:var(--_nys-datepicker-space-sm);border-radius:var(--_nys-datepicker-border-radius);border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-background-color);outline:transparent solid 1px;background-color:var(--_nys-datepicker-background-color);position:absolute;top:50%;right:var(--_nys-datepicker-space-sm);transform:translateY(-50%);cursor:pointer}.nys-datepicker--container .nys-datepicker--input-container #calendar-button:hover{outline-color:var(--_nys-datepicker-background-color--date--hover);border-color:var(--_nys-datepicker-background-color--date--hover);background:var(--_nys-datepicker-background-color--date--hover)}.nys-datepicker--container .nys-datepicker--input-container #calendar-button:active{outline-color:var(--_nys-datepicker-background-color--button--active);border-color:var(--_nys-datepicker-background-color--button--active);background:var(--_nys-datepicker-background-color--button--active)}.nys-datepicker--container .nys-datepicker--input-container #calendar-button:focus:not(:active):not(:disabled){outline-color:var(--_nys-datepicker-outline-color--focus);border-color:var(--_nys-datepicker-outline-color--focus)}.nys-datepicker--container .wc-datepicker--container{display:flex;width:fit-content}.nys-datepicker--container .wc-datepicker--container *{flex:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}wc-datepicker{display:none;padding:var(--_nys-datepicker-padding--calendar);border-radius:var(--_nys-datepicker-border-radius);border:var(--_nys-datepicker-border-width) solid var(--nys-color-neutral-100, #d0d0ce);background-color:var(--_nys-datepicker-background-color);box-shadow:0 4px 6px -1px var(--nys-color-black-transparent-100, rgba(27, 27, 27, .1)),0 4px 6px -1px var(--nys-color-black-transparent-50, rgba(27, 27, 27, .01));color:var(--_nys-datepicker-text-color);margin-bottom:3px}wc-datepicker.active{display:flex;flex-direction:column-reverse;position:absolute;z-index:1}wc-datepicker *,wc-datepicker *:before,wc-datepicker *:after{margin:0;box-sizing:border-box}.wc-datepicker{display:block;width:min-content;font-family:var(--_nys-datepicker-font-family);font-size:var(--_nys-datepicker-font-size--date);font-weight:400;line-height:var(--_nys-datepicker-line-height);letter-spacing:var(--_nys-datepicker-letterspacing)}.wc-datepicker--disabled *:disabled{opacity:.5;cursor:not-allowed}.wc-datepicker--disabled .wc-datepicker__date{cursor:not-allowed;opacity:.5}.wc-datepicker--disabled .wc-datepicker__date:focus{outline:none;border-color:var(--_nys-datepicker-border-color--date--disabled);box-shadow:none}.wc-datepicker--disabled .wc-datepicker__date:hover:not(.wc-datepicker__date--selected){background-color:transparent}.wc-datepicker--disabled .wc-datepicker__date--selected:hover{color:var(--_nys-datepicker-background-color);background-color:var(--_nys-datepicker-background-color--date--selected)}.wc-datepicker--disabled #wc-month-dropdown-icon{color:var(--_nys-datepicker-color--date--disabled)}.wc-datepicker__header{display:flex;align-items:center;gap:var(--_nys-datepicker-space-sm)}.wc-datepicker__current-month{display:flex;flex-grow:1;gap:var(--_nys-datepicker-space-sm)}.wc-datepicker__month-select,.wc-datepicker__year-select{display:flex;align-items:center;font-size:var(--_nys-datepicker-font-size);font-family:var(--_nys-datepicker-font-family);padding:var(--_nys-datepicker-space-md) var(--_nys-datepicker-space-lg);border:solid var(--_nys-datepicker-border-width) var(--_nys-datepicker-border-color);border-radius:.25rem;color:var(--_nys-datepicker-color);background-color:var(--_nys-datepicker-background-color);line-height:var(--_nys-datepicker-line-height)}.wc-datepicker__month-select:hover:not(:disabled),.wc-datepicker__year-select:hover:not(:disabled){border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-color--navigation--hover);background-color:var(--_nys-datepicker-background-color--navigation--hover);box-shadow:var(--_nys-datepicker-box-shadow-border--navigation)}.wc-datepicker__month-select:active:not(:disabled),.wc-datepicker__month-select[aria-pressed=true],.wc-datepicker__year-select:active:not(:disabled),.wc-datepicker__year-select[aria-pressed=true]{border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-color--navigation--pressed);background-color:var(--_nys-datepicker-background-color--navigation--pressed);box-shadow:var(--_nys-datepicker-box-shadow-border--navigation)}.wc-datepicker__month-select:disabled,.wc-datepicker__month-select[aria-disabled=true],.wc-datepicker__year-select:disabled,.wc-datepicker__year-select[aria-disabled=true]{border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-color--navigation--disabled);background-color:var(--_nys-datepicker-background-color--navigation--disabled);color:var(--_nys-datepicker-color--disabled)}.wc-datepicker .month-wrapper{position:relative;width:135px;display:flex;align-items:center;align-self:stretch}.wc-datepicker .month-wrapper #wc-month-dropdown-icon{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none}.wc-datepicker__month-select{width:100%;max-width:100%;flex-grow:1;cursor:pointer;appearance:none;text-overflow:ellipsis;padding-right:var(--nys-space-400, 32px)}.wc-datepicker__month-select>*{width:91px;height:24px}.wc-datepicker__year-select{border:solid var(--_nys-datepicker-border-width) var(--_nys-datepicker-border-color);border-radius:.25rem;padding-right:var(--_nys-datepicker-space-sm);max-width:5rem}.wc-datepicker__previous-month-button,.wc-datepicker__next-month-button,.wc-datepicker__previous-year-button,.wc-datepicker__next-year-button{display:inline-flex;width:40px;max-width:40px;max-height:42px;padding:var(--_nys-datepicker-space-lg);justify-content:center;align-items:center;border:solid var(--_nys-datepicker-border-width) var(--_nys-datepicker-border-color);border-radius:.25rem;color:var(--_nys-datepicker-color--date);background-color:var(--_nys-datepicker-background-color);cursor:pointer}.wc-datepicker__previous-month-button:hover:not(:disabled),.wc-datepicker__next-month-button:hover:not(:disabled),.wc-datepicker__previous-year-button:hover:not(:disabled),.wc-datepicker__next-year-button:hover:not(:disabled){background-color:var(--_nys-datepicker-background-color--navigation--hover);box-shadow:var(--_nys-datepicker-box-shadow-border--navigation);border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-color--navigation--hover)}.wc-datepicker__previous-month-button:active:not(:disabled),.wc-datepicker__previous-month-button[aria-pressed=true],.wc-datepicker__next-month-button:active:not(:disabled),.wc-datepicker__next-month-button[aria-pressed=true],.wc-datepicker__previous-year-button:active:not(:disabled),.wc-datepicker__previous-year-button[aria-pressed=true],.wc-datepicker__next-year-button:active:not(:disabled),.wc-datepicker__next-year-button[aria-pressed=true]{background-color:var(--_nys-datepicker-background-color--navigation--pressed);box-shadow:var(--_nys-datepicker-box-shadow-border--navigation);border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-color--navigation--pressed)}.wc-datepicker__previous-month-button:disabled,.wc-datepicker__previous-month-button[aria-disabled=true],.wc-datepicker__next-month-button:disabled,.wc-datepicker__next-month-button[aria-disabled=true],.wc-datepicker__previous-year-button:disabled,.wc-datepicker__previous-year-button[aria-disabled=true],.wc-datepicker__next-year-button:disabled,.wc-datepicker__next-year-button[aria-disabled=true]{background-color:var(--_nys-datepicker-background-color--navigation--disabled);border:var(--_nys-datepicker-border-width) solid var(--_nys-datepicker-color--navigation--disabled);color:var(--_nys-datepicker-color--disabled)}.wc-datepicker__calendar{width:100%;table-layout:fixed;border-collapse:collapse}.wc-datepicker__weekday{padding:var(--_nys-datepicker-padding--calendar) 0 var(--_nys-datepicker-space-sm) 0;min-width:var(--nys-size-500, 40px);font-weight:600;aspect-ratio:1}.wc-datepicker__weekday>span{width:42.3px;height:24px;display:flex;justify-content:center;align-items:center}.wc-datepicker__weekday[aria-label=Saturday],.wc-datepicker__weekday[aria-label=Sunday]{color:var(--_nys-datepicker-color--calendar--weekends)}.wc-datepicker__date{padding:var(--_nys-datepicker-space-md);text-align:center;cursor:pointer;border-radius:var(--nys-radius-lg)}.wc-datepicker__date:focus,.wc-datepicker__date:focus-visible{outline:none}.wc-datepicker__date:focus{box-shadow:inset 0 0 0 2px var(--_nys-datepicker-focus-ring--date)}.wc-datepicker__date:hover:not(.wc-datepicker__date--selected):not(:active){color:var(--_nys-datepicker-color--date--hover);background-color:var(--_nys-datepicker-background-color--date--hover)}.wc-datepicker__date:active{color:var(--_nys-datepicker-color--date--hover);background-color:var(--_nys-datepicker-background-color--date--active)}.wc-datepicker__date>*{display:flex;justify-content:center;align-items:center;aspect-ratio:1;width:24.3px;height:24px}.wc-datepicker__date--today{font-weight:600;color:var(--_nys-datepicker-color--date--selected)}.wc-datepicker__date--today>*{font-style:normal;text-decoration-line:underline}.wc-datepicker__date--selected{text-decoration-line:none;background-color:var(--_nys-datepicker-background-color--date--selected);color:var(--_nys-datepicker-color--date--selected)}.wc-datepicker__date--selected>*{font-weight:600}.wc-datepicker__date--disabled{color:var(--_nys-datepicker-color--date--disabled);cursor:default}.wc-datepicker__date--disabled:not(.wc-datepicker__date--disabled--selected,.wc-datepicker__date--disabled--in-range):hover{background-color:transparent}.wc-datepicker__date.wc-datepicker__date--overflowing{color:var(--_nys-datepicker-text-disabled)}.wc-datepicker__date.wc-datepicker__date--overflowing:hover,.wc-datepicker__date.wc-datepicker__date--overflowing:active{color:var(--_nys-datepicker-color)}.wc-datepicker--button-container{display:flex;padding-top:var(--_nys-datepicker-space-lg);align-items:flex-end;gap:var(--_nys-datepicker-padding--calendar);align-self:stretch}.wc-datepicker tr.wc-datepicker__calendar-row.sc-wc-datepicker{display:flex;align-items:center;gap:var(--_nys-datepicker-gap--calendar-row);align-self:stretch}', Be = {
|
|
@@ -1975,9 +1977,9 @@ const Ls = ':host{--_nys-datepicker-width: fit-content;--_nys-datepicker-width--
|
|
|
1975
1977
|
transformTagName: !1,
|
|
1976
1978
|
attachStyles: !0
|
|
1977
1979
|
};
|
|
1978
|
-
let Ae, E1,
|
|
1980
|
+
let Ae, E1, $t, S1 = !1, pt = !1, Ot = !1, K = !1, c1 = null, zt = !1;
|
|
1979
1981
|
const Se = (r, e = "") => () => {
|
|
1980
|
-
},
|
|
1982
|
+
}, d1 = "http://www.w3.org/1999/xlink", h1 = {}, Es = "http://www.w3.org/2000/svg", Ss = "http://www.w3.org/1999/xhtml", Ds = (r) => r != null, Ht = (r) => (r = typeof r, r === "object" || r === "function");
|
|
1981
1983
|
function Ms(r) {
|
|
1982
1984
|
var e, t, s;
|
|
1983
1985
|
return (s = (t = (e = r.head) === null || e === void 0 ? void 0 : e.querySelector('meta[name="csp-nonce"]')) === null || t === void 0 ? void 0 : t.getAttribute("content")) !== null && s !== void 0 ? s : void 0;
|
|
@@ -1986,7 +1988,7 @@ const b = (r, e, ...t) => {
|
|
|
1986
1988
|
let s = null, o = null, n = null, i = !1, l = !1;
|
|
1987
1989
|
const c = [], h = (p) => {
|
|
1988
1990
|
for (let v = 0; v < p.length; v++)
|
|
1989
|
-
s = p[v], Array.isArray(s) ? h(s) : s != null && typeof s != "boolean" && ((i = typeof r != "function" && !
|
|
1991
|
+
s = p[v], Array.isArray(s) ? h(s) : s != null && typeof s != "boolean" && ((i = typeof r != "function" && !Ht(s)) && (s = String(s)), i && l ? c[c.length - 1].$text$ += s : c.push(i ? yt(null, s) : s), l = i);
|
|
1990
1992
|
};
|
|
1991
1993
|
if (h(t), e) {
|
|
1992
1994
|
e.key && (o = e.key), e.name && (n = e.name);
|
|
@@ -2009,9 +2011,9 @@ const b = (r, e, ...t) => {
|
|
|
2009
2011
|
};
|
|
2010
2012
|
return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
|
|
2011
2013
|
}, D1 = {}, zs = (r) => r && r.$tag$ === D1, Vs = {
|
|
2012
|
-
forEach: (r, e) => r.map(
|
|
2013
|
-
map: (r, e) => r.map(
|
|
2014
|
-
},
|
|
2014
|
+
forEach: (r, e) => r.map(u1).forEach(e),
|
|
2015
|
+
map: (r, e) => r.map(u1).map(e).map(Bs)
|
|
2016
|
+
}, u1 = (r) => ({
|
|
2015
2017
|
vattrs: r.$attrs$,
|
|
2016
2018
|
vchildren: r.$children$,
|
|
2017
2019
|
vkey: r.$key$,
|
|
@@ -2025,7 +2027,7 @@ const b = (r, e, ...t) => {
|
|
|
2025
2027
|
}
|
|
2026
2028
|
const e = yt(r.vtag, r.vtext);
|
|
2027
2029
|
return e.$attrs$ = r.vattrs, e.$children$ = r.vchildren, e.$key$ = r.vkey, e.$name$ = r.vname, e;
|
|
2028
|
-
}, As = (r) => lo.map((e) => e(r)).find((e) => !!e), Is = (r, e) => r != null && !
|
|
2030
|
+
}, As = (r) => lo.map((e) => e(r)).find((e) => !!e), Is = (r, e) => r != null && !Ht(r) ? e & 4 ? r === "false" ? !1 : r === "" || !!r : e & 2 ? parseFloat(r) : e & 1 ? String(r) : r : r, Os = (r) => r, p1 = (r, e, t) => {
|
|
2029
2031
|
const s = Os(r);
|
|
2030
2032
|
return {
|
|
2031
2033
|
emit: (o) => Hs(s, e, {
|
|
@@ -2036,23 +2038,23 @@ const b = (r, e, ...t) => {
|
|
|
2036
2038
|
})
|
|
2037
2039
|
};
|
|
2038
2040
|
}, Hs = (r, e, t) => {
|
|
2039
|
-
const s =
|
|
2041
|
+
const s = P.ce(e, t);
|
|
2040
2042
|
return r.dispatchEvent(s), s;
|
|
2041
|
-
},
|
|
2043
|
+
}, y1 = /* @__PURE__ */ new WeakMap(), qs = (r, e, t) => {
|
|
2042
2044
|
let s = vt.get(r);
|
|
2043
2045
|
po && t ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = e : s.replaceSync(e)) : s = e, vt.set(r, s);
|
|
2044
2046
|
}, Rs = (r, e, t, s) => {
|
|
2045
2047
|
var o;
|
|
2046
2048
|
let n = M1(e, t);
|
|
2047
2049
|
const i = vt.get(n);
|
|
2048
|
-
if (r = r.nodeType === 11 ? r :
|
|
2050
|
+
if (r = r.nodeType === 11 ? r : te, i)
|
|
2049
2051
|
if (typeof i == "string") {
|
|
2050
2052
|
r = r.head || r;
|
|
2051
|
-
let l =
|
|
2052
|
-
if (l ||
|
|
2053
|
+
let l = y1.get(r), c;
|
|
2054
|
+
if (l || y1.set(r, l = /* @__PURE__ */ new Set()), !l.has(n)) {
|
|
2053
2055
|
{
|
|
2054
|
-
c =
|
|
2055
|
-
const h = (o =
|
|
2056
|
+
c = te.createElement("style"), c.innerHTML = i;
|
|
2057
|
+
const h = (o = P.$nonce$) !== null && o !== void 0 ? o : Ms(te);
|
|
2056
2058
|
h != null && c.setAttribute("nonce", h), r.insertBefore(c, r.querySelector("link"));
|
|
2057
2059
|
}
|
|
2058
2060
|
l && l.add(n);
|
|
@@ -2062,11 +2064,11 @@ const b = (r, e, ...t) => {
|
|
|
2062
2064
|
}, Ps = (r) => {
|
|
2063
2065
|
const e = r.$cmpMeta$, t = r.$hostElement$, s = e.$flags$, o = Se("attachStyles", e.$tagName$), n = Rs(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, r.$modeName$);
|
|
2064
2066
|
s & 10 && (t["s-sc"] = n, t.classList.add(n + "-h"), s & 2 && t.classList.add(n + "-s")), o();
|
|
2065
|
-
}, M1 = (r, e) => "sc-" + (e && r.$flags$ & 32 ? r.$tagName$ + "-" + e : r.$tagName$),
|
|
2067
|
+
}, M1 = (r, e) => "sc-" + (e && r.$flags$ & 32 ? r.$tagName$ + "-" + e : r.$tagName$), f1 = (r, e, t, s, o, n) => {
|
|
2066
2068
|
if (t !== s) {
|
|
2067
|
-
let i =
|
|
2069
|
+
let i = _1(r, e), l = e.toLowerCase();
|
|
2068
2070
|
if (e === "class") {
|
|
2069
|
-
const c = r.classList, h =
|
|
2071
|
+
const c = r.classList, h = v1(t), u = v1(s);
|
|
2070
2072
|
c.remove(...h.filter((p) => p && !u.includes(p))), c.add(...u.filter((p) => p && !h.includes(p)));
|
|
2071
2073
|
} else if (e === "style") {
|
|
2072
2074
|
for (const c in t)
|
|
@@ -2077,9 +2079,9 @@ const b = (r, e, ...t) => {
|
|
|
2077
2079
|
if (e === "ref")
|
|
2078
2080
|
s && s(r);
|
|
2079
2081
|
else if (!r.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
|
|
2080
|
-
e[2] === "-" ? e = e.slice(3) :
|
|
2082
|
+
e[2] === "-" ? e = e.slice(3) : _1(Et, l) ? e = l.slice(2) : e = l[2] + e.slice(3), t && P.rel(r, e, t, !1), s && P.ael(r, e, s, !1);
|
|
2081
2083
|
else {
|
|
2082
|
-
const c =
|
|
2084
|
+
const c = Ht(s);
|
|
2083
2085
|
if ((i || c && s !== null) && !o)
|
|
2084
2086
|
try {
|
|
2085
2087
|
if (r.tagName.includes("-"))
|
|
@@ -2091,52 +2093,52 @@ const b = (r, e, ...t) => {
|
|
|
2091
2093
|
} catch {
|
|
2092
2094
|
}
|
|
2093
2095
|
let h = !1;
|
|
2094
|
-
l !== (l = l.replace(/^xlink\:?/, "")) && (e = l, h = !0), s == null || s === !1 ? (s !== !1 || r.getAttribute(e) === "") && (h ? r.removeAttributeNS(
|
|
2096
|
+
l !== (l = l.replace(/^xlink\:?/, "")) && (e = l, h = !0), s == null || s === !1 ? (s !== !1 || r.getAttribute(e) === "") && (h ? r.removeAttributeNS(d1, e) : r.removeAttribute(e)) : (!i || n & 4 || o) && !c && (s = s === !0 ? "" : s, h ? r.setAttributeNS(d1, e, s) : r.setAttribute(e, s));
|
|
2095
2097
|
}
|
|
2096
2098
|
}
|
|
2097
|
-
}, Ts = /\s/,
|
|
2098
|
-
const o = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, n = r && r.$attrs$ ||
|
|
2099
|
+
}, Ts = /\s/, v1 = (r) => r ? r.split(Ts) : [], z1 = (r, e, t, s) => {
|
|
2100
|
+
const o = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, n = r && r.$attrs$ || h1, i = e.$attrs$ || h1;
|
|
2099
2101
|
for (s in n)
|
|
2100
|
-
s in i ||
|
|
2102
|
+
s in i || f1(o, s, n[s], void 0, t, e.$flags$);
|
|
2101
2103
|
for (s in i)
|
|
2102
|
-
|
|
2104
|
+
f1(o, s, n[s], i[s], t, e.$flags$);
|
|
2103
2105
|
}, ft = (r, e, t, s) => {
|
|
2104
2106
|
const o = e.$children$[t];
|
|
2105
2107
|
let n = 0, i, l, c;
|
|
2106
|
-
if (S1 || (
|
|
2108
|
+
if (S1 || (Ot = !0, o.$tag$ === "slot" && (Ae && s.classList.add(Ae + "-s"), o.$flags$ |= o.$children$ ? (
|
|
2107
2109
|
// slot element has fallback content
|
|
2108
2110
|
2
|
|
2109
2111
|
) : (
|
|
2110
2112
|
// slot element does not have fallback content
|
|
2111
2113
|
1
|
|
2112
2114
|
))), o.$text$ !== null)
|
|
2113
|
-
i = o.$elm$ =
|
|
2115
|
+
i = o.$elm$ = te.createTextNode(o.$text$);
|
|
2114
2116
|
else if (o.$flags$ & 1)
|
|
2115
|
-
i = o.$elm$ =
|
|
2117
|
+
i = o.$elm$ = te.createTextNode("");
|
|
2116
2118
|
else {
|
|
2117
|
-
if (
|
|
2119
|
+
if (K || (K = o.$tag$ === "svg"), i = o.$elm$ = te.createElementNS(K ? Es : Ss, o.$flags$ & 2 ? "slot-fb" : o.$tag$), K && o.$tag$ === "foreignObject" && (K = !1), z1(null, o, K), Ds(Ae) && i["s-si"] !== Ae && i.classList.add(i["s-si"] = Ae), o.$children$)
|
|
2118
2120
|
for (n = 0; n < o.$children$.length; ++n)
|
|
2119
2121
|
l = ft(r, o, n, i), l && i.appendChild(l);
|
|
2120
|
-
o.$tag$ === "svg" ?
|
|
2122
|
+
o.$tag$ === "svg" ? K = !1 : i.tagName === "foreignObject" && (K = !0);
|
|
2121
2123
|
}
|
|
2122
|
-
return i["s-hn"] =
|
|
2123
|
-
},
|
|
2124
|
-
|
|
2124
|
+
return i["s-hn"] = $t, o.$flags$ & 3 && (i["s-sr"] = !0, i["s-cr"] = E1, i["s-sn"] = o.$name$ || "", c = r && r.$children$ && r.$children$[t], c && c.$tag$ === o.$tag$ && r.$elm$ && ot(r.$elm$, !1)), i;
|
|
2125
|
+
}, ot = (r, e) => {
|
|
2126
|
+
P.$flags$ |= 1;
|
|
2125
2127
|
const t = r.childNodes;
|
|
2126
2128
|
for (let s = t.length - 1; s >= 0; s--) {
|
|
2127
2129
|
const o = t[s];
|
|
2128
|
-
o["s-hn"] !==
|
|
2130
|
+
o["s-hn"] !== $t && o["s-ol"] && (A1(o).insertBefore(o, qt(o)), o["s-ol"].remove(), o["s-ol"] = void 0, Ot = !0), e && ot(o, e);
|
|
2129
2131
|
}
|
|
2130
|
-
|
|
2132
|
+
P.$flags$ &= -2;
|
|
2131
2133
|
}, V1 = (r, e, t, s, o, n) => {
|
|
2132
2134
|
let i = r["s-cr"] && r["s-cr"].parentNode || r, l;
|
|
2133
|
-
for (i.shadowRoot && i.tagName ===
|
|
2134
|
-
s[o] && (l = ft(null, t, o, r), l && (s[o].$elm$ = l, i.insertBefore(l,
|
|
2135
|
+
for (i.shadowRoot && i.tagName === $t && (i = i.shadowRoot); o <= n; ++o)
|
|
2136
|
+
s[o] && (l = ft(null, t, o, r), l && (s[o].$elm$ = l, i.insertBefore(l, qt(e))));
|
|
2135
2137
|
}, B1 = (r, e, t, s, o) => {
|
|
2136
2138
|
for (; e <= t; ++e)
|
|
2137
|
-
(s = r[e]) && (o = s.$elm$, H1(s), pt = !0, o["s-ol"] ? o["s-ol"].remove() :
|
|
2139
|
+
(s = r[e]) && (o = s.$elm$, H1(s), pt = !0, o["s-ol"] ? o["s-ol"].remove() : ot(o, !0), o.remove());
|
|
2138
2140
|
}, Us = (r, e, t, s) => {
|
|
2139
|
-
let o = 0, n = 0, i = 0, l = 0, c = e.length - 1, h = e[0], u = e[c], p = s.length - 1, v = s[0], I = s[p],
|
|
2141
|
+
let o = 0, n = 0, i = 0, l = 0, c = e.length - 1, h = e[0], u = e[c], p = s.length - 1, v = s[0], I = s[p], J, $e;
|
|
2140
2142
|
for (; o <= c && n <= p; )
|
|
2141
2143
|
if (h == null)
|
|
2142
2144
|
h = e[++o];
|
|
@@ -2146,27 +2148,27 @@ const b = (r, e, ...t) => {
|
|
|
2146
2148
|
v = s[++n];
|
|
2147
2149
|
else if (I == null)
|
|
2148
2150
|
I = s[--p];
|
|
2149
|
-
else if (
|
|
2151
|
+
else if (dt(h, v))
|
|
2150
2152
|
Ie(h, v), h = e[++o], v = s[++n];
|
|
2151
|
-
else if (
|
|
2153
|
+
else if (dt(u, I))
|
|
2152
2154
|
Ie(u, I), u = e[--c], I = s[--p];
|
|
2153
|
-
else if (
|
|
2154
|
-
(h.$tag$ === "slot" || I.$tag$ === "slot") &&
|
|
2155
|
-
else if (
|
|
2156
|
-
(h.$tag$ === "slot" || I.$tag$ === "slot") &&
|
|
2155
|
+
else if (dt(h, I))
|
|
2156
|
+
(h.$tag$ === "slot" || I.$tag$ === "slot") && ot(h.$elm$.parentNode, !1), Ie(h, I), r.insertBefore(h.$elm$, u.$elm$.nextSibling), h = e[++o], I = s[--p];
|
|
2157
|
+
else if (dt(u, v))
|
|
2158
|
+
(h.$tag$ === "slot" || I.$tag$ === "slot") && ot(u.$elm$.parentNode, !1), Ie(u, v), r.insertBefore(u.$elm$, h.$elm$), u = e[--c], v = s[++n];
|
|
2157
2159
|
else {
|
|
2158
2160
|
for (i = -1, l = o; l <= c; ++l)
|
|
2159
2161
|
if (e[l] && e[l].$key$ !== null && e[l].$key$ === v.$key$) {
|
|
2160
2162
|
i = l;
|
|
2161
2163
|
break;
|
|
2162
2164
|
}
|
|
2163
|
-
i >= 0 ? (
|
|
2165
|
+
i >= 0 ? ($e = e[i], $e.$tag$ !== v.$tag$ ? J = ft(e && e[n], t, i, r) : (Ie($e, v), e[i] = void 0, J = $e.$elm$), v = s[++n]) : (J = ft(e && e[n], t, n, r), v = s[++n]), J && A1(h.$elm$).insertBefore(J, qt(h.$elm$));
|
|
2164
2166
|
}
|
|
2165
2167
|
o > c ? V1(r, s[p + 1] == null ? null : s[p + 1].$elm$, t, s, n, p) : n > p && B1(e, o, c);
|
|
2166
|
-
},
|
|
2168
|
+
}, dt = (r, e) => r.$tag$ === e.$tag$ ? r.$tag$ === "slot" ? r.$name$ === e.$name$ : r.$key$ === e.$key$ : !1, qt = (r) => r && r["s-ol"] || r, A1 = (r) => (r["s-ol"] ? r["s-ol"] : r).parentNode, Ie = (r, e) => {
|
|
2167
2169
|
const t = e.$elm$ = r.$elm$, s = r.$children$, o = e.$children$, n = e.$tag$, i = e.$text$;
|
|
2168
2170
|
let l;
|
|
2169
|
-
i === null ? (
|
|
2171
|
+
i === null ? (K = n === "svg" ? !0 : n === "foreignObject" ? !1 : K, n === "slot" || z1(r, e, K), s !== null && o !== null ? Us(t, s, e, o) : o !== null ? (r.$text$ !== null && (t.textContent = ""), V1(t, null, e, o, 0, o.length - 1)) : s !== null && B1(s, 0, s.length - 1), K && n === "svg" && (K = !1)) : (l = t["s-cr"]) ? l.parentNode.textContent = i : r.$text$ !== i && (t.data = i);
|
|
2170
2172
|
}, I1 = (r) => {
|
|
2171
2173
|
const e = r.childNodes;
|
|
2172
2174
|
let t, s, o, n, i, l;
|
|
@@ -2186,35 +2188,35 @@ const b = (r, e, ...t) => {
|
|
|
2186
2188
|
}
|
|
2187
2189
|
I1(t);
|
|
2188
2190
|
}
|
|
2189
|
-
},
|
|
2191
|
+
}, ee = [], O1 = (r) => {
|
|
2190
2192
|
let e, t, s, o, n, i, l = 0;
|
|
2191
2193
|
const c = r.childNodes, h = c.length;
|
|
2192
2194
|
for (; l < h; l++) {
|
|
2193
2195
|
if (e = c[l], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
|
|
2194
2196
|
for (s = t.parentNode.childNodes, o = e["s-sn"], i = s.length - 1; i >= 0; i--)
|
|
2195
|
-
t = s[i], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (
|
|
2197
|
+
t = s[i], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (b1(t, o) ? (n = ee.find((u) => u.$nodeToRelocate$ === t), pt = !0, t["s-sn"] = t["s-sn"] || o, n ? n.$slotRefNode$ = e : ee.push({
|
|
2196
2198
|
$slotRefNode$: e,
|
|
2197
2199
|
$nodeToRelocate$: t
|
|
2198
|
-
}), t["s-sr"] &&
|
|
2199
|
-
|
|
2200
|
-
})) :
|
|
2200
|
+
}), t["s-sr"] && ee.map((u) => {
|
|
2201
|
+
b1(u.$nodeToRelocate$, t["s-sn"]) && (n = ee.find((p) => p.$nodeToRelocate$ === t), n && !u.$slotRefNode$ && (u.$slotRefNode$ = n.$slotRefNode$));
|
|
2202
|
+
})) : ee.some((u) => u.$nodeToRelocate$ === t) || ee.push({
|
|
2201
2203
|
$nodeToRelocate$: t
|
|
2202
2204
|
}));
|
|
2203
2205
|
e.nodeType === 1 && O1(e);
|
|
2204
2206
|
}
|
|
2205
|
-
},
|
|
2207
|
+
}, b1 = (r, e) => r.nodeType === 1 ? r.getAttribute("slot") === null && e === "" || r.getAttribute("slot") === e : r["s-sn"] === e ? !0 : e === "", H1 = (r) => {
|
|
2206
2208
|
r.$attrs$ && r.$attrs$.ref && r.$attrs$.ref(null), r.$children$ && r.$children$.map(H1);
|
|
2207
2209
|
}, Zs = (r, e) => {
|
|
2208
2210
|
const t = r.$hostElement$, s = r.$cmpMeta$, o = r.$vnode$ || yt(null, null), n = zs(e) ? e : b(null, null, e);
|
|
2209
|
-
|
|
2211
|
+
$t = t.tagName, s.$attrsToReflect$ && (n.$attrs$ = n.$attrs$ || {}, s.$attrsToReflect$.map(([i, l]) => n.$attrs$[l] = t[i])), n.$tag$ = null, n.$flags$ |= 4, r.$vnode$ = n, n.$elm$ = o.$elm$ = t.shadowRoot || t, Ae = t["s-sc"], E1 = t["s-cr"], S1 = (s.$flags$ & 1) !== 0, pt = !1, Ie(o, n);
|
|
2210
2212
|
{
|
|
2211
|
-
if (
|
|
2213
|
+
if (P.$flags$ |= 1, Ot) {
|
|
2212
2214
|
O1(n.$elm$);
|
|
2213
2215
|
let i, l, c, h, u, p, v = 0;
|
|
2214
|
-
for (; v <
|
|
2215
|
-
i =
|
|
2216
|
-
for (v = 0; v <
|
|
2217
|
-
if (i =
|
|
2216
|
+
for (; v < ee.length; v++)
|
|
2217
|
+
i = ee[v], l = i.$nodeToRelocate$, l["s-ol"] || (c = te.createTextNode(""), c["s-nr"] = l, l.parentNode.insertBefore(l["s-ol"] = c, l));
|
|
2218
|
+
for (v = 0; v < ee.length; v++)
|
|
2219
|
+
if (i = ee[v], l = i.$nodeToRelocate$, i.$slotRefNode$) {
|
|
2218
2220
|
for (h = i.$slotRefNode$.parentNode, u = i.$slotRefNode$.nextSibling, c = l["s-ol"]; c = c.previousSibling; )
|
|
2219
2221
|
if (p = c["s-nr"], p && p["s-sn"] === l["s-sn"] && h === p.parentNode && (p = p.nextSibling, !p || !p["s-nr"])) {
|
|
2220
2222
|
u = p;
|
|
@@ -2224,13 +2226,13 @@ const b = (r, e, ...t) => {
|
|
|
2224
2226
|
} else
|
|
2225
2227
|
l.nodeType === 1 && (l.hidden = !0);
|
|
2226
2228
|
}
|
|
2227
|
-
pt && I1(n.$elm$),
|
|
2229
|
+
pt && I1(n.$elm$), P.$flags$ &= -2, ee.length = 0;
|
|
2228
2230
|
}
|
|
2229
2231
|
}, Fs = (r, e) => {
|
|
2230
2232
|
}, q1 = (r, e) => (r.$flags$ |= 16, Fs(r, r.$ancestorComponent$), vo(() => Ns(r, e))), Ns = (r, e) => {
|
|
2231
2233
|
const t = r.$hostElement$, s = Se("scheduleUpdate", r.$cmpMeta$.$tagName$), o = t;
|
|
2232
2234
|
let n;
|
|
2233
|
-
return e ? n = Oe(o, "componentWillLoad") : n = Oe(o, "componentWillUpdate"), n =
|
|
2235
|
+
return e ? n = Oe(o, "componentWillLoad") : n = Oe(o, "componentWillUpdate"), n = g1(n, () => Oe(o, "componentWillRender")), s(), g1(n, () => js(r, o, e));
|
|
2234
2236
|
}, js = async (r, e, t) => {
|
|
2235
2237
|
const s = r.$hostElement$, o = Se("update", r.$cmpMeta$.$tagName$);
|
|
2236
2238
|
s["s-rc"], t && Ps(r);
|
|
@@ -2238,11 +2240,11 @@ const b = (r, e, ...t) => {
|
|
|
2238
2240
|
Ys(r, e, s), n(), o(), Ws(r);
|
|
2239
2241
|
}, Ys = (r, e, t) => {
|
|
2240
2242
|
try {
|
|
2241
|
-
|
|
2243
|
+
c1 = e, e = e.render && e.render(), r.$flags$ &= -17, r.$flags$ |= 2, (Be.hasRenderFn || Be.reflect) && (Be.vdomRender || Be.reflect) && (Be.hydrateServerSide || Zs(r, e));
|
|
2242
2244
|
} catch (l) {
|
|
2243
|
-
|
|
2245
|
+
it(l, r.$hostElement$);
|
|
2244
2246
|
}
|
|
2245
|
-
return
|
|
2247
|
+
return c1 = null, null;
|
|
2246
2248
|
}, Ws = (r) => {
|
|
2247
2249
|
const e = r.$cmpMeta$.$tagName$, t = r.$hostElement$, s = Se("postUpdate", e), o = t;
|
|
2248
2250
|
r.$ancestorComponent$, Oe(o, "componentDidRender"), r.$flags$ & 64 ? (Oe(o, "componentDidUpdate"), s()) : (r.$flags$ |= 64, Oe(o, "componentDidLoad"), s());
|
|
@@ -2251,10 +2253,10 @@ const b = (r, e, ...t) => {
|
|
|
2251
2253
|
try {
|
|
2252
2254
|
return r[e](t);
|
|
2253
2255
|
} catch (s) {
|
|
2254
|
-
|
|
2256
|
+
it(s);
|
|
2255
2257
|
}
|
|
2256
|
-
},
|
|
2257
|
-
const o =
|
|
2258
|
+
}, g1 = (r, e) => r && r.then ? r.then(e) : e(), Ks = (r, e) => Lt(r).$instanceValues$.get(e), Gs = (r, e, t, s) => {
|
|
2259
|
+
const o = Lt(r), n = r, i = o.$instanceValues$.get(e), l = o.$flags$, c = n;
|
|
2258
2260
|
t = Is(t, s.$members$[e][0]);
|
|
2259
2261
|
const h = Number.isNaN(i) && Number.isNaN(t);
|
|
2260
2262
|
if (t !== i && !h) {
|
|
@@ -2266,7 +2268,7 @@ const b = (r, e, ...t) => {
|
|
|
2266
2268
|
try {
|
|
2267
2269
|
c[v](t, i, e);
|
|
2268
2270
|
} catch (I) {
|
|
2269
|
-
|
|
2271
|
+
it(I, n);
|
|
2270
2272
|
}
|
|
2271
2273
|
});
|
|
2272
2274
|
}
|
|
@@ -2296,7 +2298,7 @@ const b = (r, e, ...t) => {
|
|
|
2296
2298
|
{
|
|
2297
2299
|
const n = /* @__PURE__ */ new Map();
|
|
2298
2300
|
o.attributeChangedCallback = function(i, l, c) {
|
|
2299
|
-
|
|
2301
|
+
P.jmp(() => {
|
|
2300
2302
|
const h = n.get(i);
|
|
2301
2303
|
if (this.hasOwnProperty(h))
|
|
2302
2304
|
c = this[h], delete this[h];
|
|
@@ -2327,8 +2329,8 @@ const b = (r, e, ...t) => {
|
|
|
2327
2329
|
e.$ancestorComponent$, q1(e, !0);
|
|
2328
2330
|
}, Js = (r) => {
|
|
2329
2331
|
}, eo = (r) => {
|
|
2330
|
-
if ((
|
|
2331
|
-
const e =
|
|
2332
|
+
if ((P.$flags$ & 1) === 0) {
|
|
2333
|
+
const e = Lt(r), t = e.$cmpMeta$, s = Se("connectedCallback", t.$tagName$);
|
|
2332
2334
|
e.$flags$ & 1 ? (R1(r, e, t.$listeners$), Js(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && to(r), t.$members$ && Object.entries(t.$members$).map(([o, [n]]) => {
|
|
2333
2335
|
if (n & 31 && r.hasOwnProperty(o)) {
|
|
2334
2336
|
const i = r[o];
|
|
@@ -2337,11 +2339,11 @@ const b = (r, e, ...t) => {
|
|
|
2337
2339
|
}), Xs(r, e, t)), s();
|
|
2338
2340
|
}
|
|
2339
2341
|
}, to = (r) => {
|
|
2340
|
-
const e = r["s-cr"] =
|
|
2342
|
+
const e = r["s-cr"] = te.createComment("");
|
|
2341
2343
|
e["s-cn"] = !0, r.insertBefore(e, r.firstChild);
|
|
2342
2344
|
}, so = (r) => {
|
|
2343
|
-
if ((
|
|
2344
|
-
const e =
|
|
2345
|
+
if ((P.$flags$ & 1) === 0) {
|
|
2346
|
+
const e = Lt(r);
|
|
2345
2347
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
|
2346
2348
|
}
|
|
2347
2349
|
}, oo = (r, e) => {
|
|
@@ -2371,18 +2373,18 @@ const b = (r, e, ...t) => {
|
|
|
2371
2373
|
}, R1 = (r, e, t, s) => {
|
|
2372
2374
|
t && t.map(([o, n, i]) => {
|
|
2373
2375
|
const l = no(r, o), c = ro(e, i), h = io(o);
|
|
2374
|
-
|
|
2376
|
+
P.ael(l, n, c, h), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => P.rel(l, n, c, h));
|
|
2375
2377
|
});
|
|
2376
2378
|
}, ro = (r, e) => (t) => {
|
|
2377
2379
|
try {
|
|
2378
2380
|
Be.lazyLoad || r.$hostElement$[e](t);
|
|
2379
2381
|
} catch (s) {
|
|
2380
|
-
|
|
2382
|
+
it(s);
|
|
2381
2383
|
}
|
|
2382
|
-
}, no = (r, e) => e & 4 ?
|
|
2384
|
+
}, no = (r, e) => e & 4 ? te : e & 8 ? Et : e & 16 ? te.body : r, io = (r) => ho ? {
|
|
2383
2385
|
passive: (r & 1) !== 0,
|
|
2384
2386
|
capture: (r & 2) !== 0
|
|
2385
|
-
} : (r & 2) !== 0, P1 = /* @__PURE__ */ new WeakMap(),
|
|
2387
|
+
} : (r & 2) !== 0, P1 = /* @__PURE__ */ new WeakMap(), Lt = (r) => P1.get(r), ao = (r, e) => {
|
|
2386
2388
|
const t = {
|
|
2387
2389
|
$flags$: 0,
|
|
2388
2390
|
$hostElement$: r,
|
|
@@ -2390,8 +2392,8 @@ const b = (r, e, ...t) => {
|
|
|
2390
2392
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
2391
2393
|
};
|
|
2392
2394
|
return R1(r, t, e.$listeners$), P1.set(r, t);
|
|
2393
|
-
},
|
|
2394
|
-
},
|
|
2395
|
+
}, _1 = (r, e) => e in r, it = (r, e) => (0, console.error)(r, e), vt = /* @__PURE__ */ new Map(), lo = [], Et = typeof window < "u" ? window : {}, te = Et.document || { head: {} }, co = Et.HTMLElement || class {
|
|
2396
|
+
}, P = {
|
|
2395
2397
|
$flags$: 0,
|
|
2396
2398
|
$resourcesUrl$: "",
|
|
2397
2399
|
jmp: (r) => r(),
|
|
@@ -2402,7 +2404,7 @@ const b = (r, e, ...t) => {
|
|
|
2402
2404
|
}, ho = /* @__PURE__ */ (() => {
|
|
2403
2405
|
let r = !1;
|
|
2404
2406
|
try {
|
|
2405
|
-
|
|
2407
|
+
te.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
2406
2408
|
get() {
|
|
2407
2409
|
r = !0;
|
|
2408
2410
|
}
|
|
@@ -2416,48 +2418,48 @@ const b = (r, e, ...t) => {
|
|
|
2416
2418
|
} catch {
|
|
2417
2419
|
}
|
|
2418
2420
|
return !1;
|
|
2419
|
-
})(),
|
|
2420
|
-
r.push(t),
|
|
2421
|
-
},
|
|
2421
|
+
})(), C1 = [], T1 = [], yo = (r, e) => (t) => {
|
|
2422
|
+
r.push(t), zt || (zt = !0, e && P.$flags$ & 4 ? fo(Vt) : P.raf(Vt));
|
|
2423
|
+
}, m1 = (r) => {
|
|
2422
2424
|
for (let e = 0; e < r.length; e++)
|
|
2423
2425
|
try {
|
|
2424
2426
|
r[e](performance.now());
|
|
2425
2427
|
} catch (t) {
|
|
2426
|
-
|
|
2428
|
+
it(t);
|
|
2427
2429
|
}
|
|
2428
2430
|
r.length = 0;
|
|
2429
|
-
},
|
|
2430
|
-
|
|
2431
|
+
}, Vt = () => {
|
|
2432
|
+
m1(C1), m1(T1), (zt = C1.length > 0) && P.raf(Vt);
|
|
2431
2433
|
}, fo = (r) => uo().then(r), vo = /* @__PURE__ */ yo(T1, !0);
|
|
2432
|
-
function
|
|
2434
|
+
function ht(r, e) {
|
|
2433
2435
|
const t = new Date(r);
|
|
2434
2436
|
return t.setDate(t.getDate() + e), t;
|
|
2435
2437
|
}
|
|
2436
2438
|
function bo(r, e, t) {
|
|
2437
|
-
const s = [], o =
|
|
2439
|
+
const s = [], o = bt(r), n = o.getDay() === 0 ? 7 : o.getDay(), i = je(r), l = i.getDay() === 0 ? 7 : i.getDay(), c = t === 1 ? 7 : t - 1, h = [], u = [];
|
|
2438
2440
|
{
|
|
2439
|
-
let I = (7 - t + n) % 7,
|
|
2441
|
+
let I = (7 - t + n) % 7, J = gt(o);
|
|
2440
2442
|
for (; I > 0; )
|
|
2441
|
-
h.push(
|
|
2443
|
+
h.push(J), J = gt(J), I -= 1;
|
|
2442
2444
|
h.reverse();
|
|
2443
|
-
let ze = (7 - l + c) % 7, Ve =
|
|
2445
|
+
let ze = (7 - l + c) % 7, Ve = Ye(i);
|
|
2444
2446
|
for (; ze > 0; )
|
|
2445
|
-
u.push(Ve), Ve =
|
|
2447
|
+
u.push(Ve), Ve = Ye(Ve), ze -= 1;
|
|
2446
2448
|
}
|
|
2447
2449
|
let p = o;
|
|
2448
2450
|
for (; p.getMonth() === r.getMonth(); )
|
|
2449
|
-
s.push(p), p =
|
|
2451
|
+
s.push(p), p = Ye(p);
|
|
2450
2452
|
return [...h, ...s, ...u];
|
|
2451
2453
|
}
|
|
2452
|
-
function
|
|
2453
|
-
return
|
|
2454
|
+
function bt(r) {
|
|
2455
|
+
return q(/* @__PURE__ */ new Date(`${String(Z1(r)).padStart(4, "0")}-${String(U1(r)).padStart(2, "0")}-01`));
|
|
2454
2456
|
}
|
|
2455
|
-
function
|
|
2457
|
+
function Le(r) {
|
|
2456
2458
|
if (r instanceof Date)
|
|
2457
2459
|
return `${r.getFullYear()}-${String(r.getMonth() + 1).padStart(2, "0")}-${String(r.getDate()).padStart(2, "0")}`;
|
|
2458
2460
|
}
|
|
2459
|
-
function
|
|
2460
|
-
const e =
|
|
2461
|
+
function je(r) {
|
|
2462
|
+
const e = bt(r);
|
|
2461
2463
|
return e.setMonth(e.getMonth() + 1), e.setDate(e.getDate() - 1), e;
|
|
2462
2464
|
}
|
|
2463
2465
|
function U1(r) {
|
|
@@ -2465,27 +2467,27 @@ function U1(r) {
|
|
|
2465
2467
|
}
|
|
2466
2468
|
function go(r) {
|
|
2467
2469
|
return new Array(12).fill(void 0).map((e, t) => {
|
|
2468
|
-
const s =
|
|
2470
|
+
const s = q(/* @__PURE__ */ new Date(`2006-${String(t + 1).padStart(2, "0")}-01`));
|
|
2469
2471
|
return Intl.DateTimeFormat(r, {
|
|
2470
2472
|
month: "long"
|
|
2471
2473
|
}).format(s);
|
|
2472
2474
|
});
|
|
2473
2475
|
}
|
|
2474
|
-
function
|
|
2475
|
-
return
|
|
2476
|
+
function Ye(r) {
|
|
2477
|
+
return ht(r, 1);
|
|
2476
2478
|
}
|
|
2477
|
-
function
|
|
2479
|
+
function Dt(r) {
|
|
2478
2480
|
const e = new Date(r);
|
|
2479
2481
|
return e.setDate(1), e.setMonth(e.getMonth() + 1), e;
|
|
2480
2482
|
}
|
|
2481
|
-
function
|
|
2483
|
+
function w1(r) {
|
|
2482
2484
|
const e = new Date(r);
|
|
2483
2485
|
return e.setFullYear(e.getFullYear() + 1), e;
|
|
2484
2486
|
}
|
|
2485
|
-
function
|
|
2487
|
+
function gt(r) {
|
|
2486
2488
|
return ut(r, 1);
|
|
2487
2489
|
}
|
|
2488
|
-
function
|
|
2490
|
+
function Mt(r) {
|
|
2489
2491
|
const e = new Date(r);
|
|
2490
2492
|
return e.setDate(1), e.setMonth(e.getMonth() - 1), e;
|
|
2491
2493
|
}
|
|
@@ -2495,7 +2497,7 @@ function x1(r) {
|
|
|
2495
2497
|
}
|
|
2496
2498
|
function _o(r, e) {
|
|
2497
2499
|
return new Array(7).fill(void 0).map((t, s) => (r + s) % 7 + 1).map((t) => {
|
|
2498
|
-
const s =
|
|
2500
|
+
const s = q(/* @__PURE__ */ new Date(`2006-01-0${t}`));
|
|
2499
2501
|
return [
|
|
2500
2502
|
Intl.DateTimeFormat(e, {
|
|
2501
2503
|
weekday: "short"
|
|
@@ -2515,10 +2517,10 @@ function k1(r, e) {
|
|
|
2515
2517
|
const t = e.from < e.to ? e.from : e.to, s = e.from < e.to ? e.to : e.from;
|
|
2516
2518
|
return r >= t && r <= s;
|
|
2517
2519
|
}
|
|
2518
|
-
function
|
|
2520
|
+
function ce(r, e) {
|
|
2519
2521
|
return !r || !e ? !1 : r.getFullYear() === e.getFullYear() && r.getMonth() === e.getMonth() && r.getDate() === e.getDate();
|
|
2520
2522
|
}
|
|
2521
|
-
function
|
|
2523
|
+
function q(r) {
|
|
2522
2524
|
const e = new Date(r);
|
|
2523
2525
|
return e.setMinutes(e.getMinutes() + e.getTimezoneOffset()), e;
|
|
2524
2526
|
}
|
|
@@ -2538,47 +2540,47 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2538
2540
|
yearSelect: "Select year"
|
|
2539
2541
|
}, wo = /* @__PURE__ */ oo(class extends co {
|
|
2540
2542
|
constructor() {
|
|
2541
|
-
super(), this.__registerHost(), this.selectDate =
|
|
2542
|
-
this.currentDate = this.startDate ?
|
|
2543
|
+
super(), this.__registerHost(), this.selectDate = p1(this, "selectDate"), this.changeMonth = p1(this, "changeMonth"), this.disabled = !1, this.disableDate = () => !1, this.elementClassName = "wc-datepicker", this.firstDayOfWeek = 0, this.goToRangeStartOnSelect = !0, this.labels = mo, this.locale = navigator?.language || "en-US", this.maxSearchDays = 365, this.showClearButton = !1, this.showMonthStepper = !0, this.showTodayButton = !1, this.showYearStepper = !1, this.startDate = Le(/* @__PURE__ */ new Date()), this.pendingClick = !1, this.init = () => {
|
|
2544
|
+
this.currentDate = this.startDate ? q(new Date(this.startDate)) : /* @__PURE__ */ new Date(), this.updateWeekdays(), this.handleMinDate(), this.handleMaxDate();
|
|
2543
2545
|
}, this.getAvailableDate = (r, e) => {
|
|
2544
2546
|
let t, s = !1;
|
|
2545
2547
|
switch (e) {
|
|
2546
2548
|
case "previousDay":
|
|
2547
|
-
t =
|
|
2549
|
+
t = gt(r);
|
|
2548
2550
|
break;
|
|
2549
2551
|
case "nextDay":
|
|
2550
|
-
t =
|
|
2552
|
+
t = Ye(r);
|
|
2551
2553
|
break;
|
|
2552
2554
|
case "previousSameWeekDay":
|
|
2553
2555
|
t = ut(r, 7);
|
|
2554
2556
|
break;
|
|
2555
2557
|
case "nextSameWeekDay":
|
|
2556
|
-
t =
|
|
2558
|
+
t = ht(r, 7);
|
|
2557
2559
|
break;
|
|
2558
2560
|
case "firstOfMonth":
|
|
2559
|
-
t =
|
|
2561
|
+
t = bt(r);
|
|
2560
2562
|
break;
|
|
2561
2563
|
case "lastOfMonth":
|
|
2562
|
-
t =
|
|
2564
|
+
t = je(r);
|
|
2563
2565
|
break;
|
|
2564
2566
|
case "previousMonth":
|
|
2565
|
-
t =
|
|
2567
|
+
t = Mt(r);
|
|
2566
2568
|
break;
|
|
2567
2569
|
case "nextMonth":
|
|
2568
|
-
t =
|
|
2570
|
+
t = Dt(r);
|
|
2569
2571
|
break;
|
|
2570
2572
|
case "previousYear":
|
|
2571
2573
|
t = x1(r);
|
|
2572
2574
|
break;
|
|
2573
2575
|
case "nextYear":
|
|
2574
|
-
t =
|
|
2576
|
+
t = w1(r);
|
|
2575
2577
|
break;
|
|
2576
2578
|
}
|
|
2577
2579
|
for (; this.disableDate(t) && !s; ) {
|
|
2578
2580
|
switch (e) {
|
|
2579
2581
|
case "previousDay":
|
|
2580
2582
|
case "lastOfMonth":
|
|
2581
|
-
t =
|
|
2583
|
+
t = gt(t);
|
|
2582
2584
|
break;
|
|
2583
2585
|
case "nextDay":
|
|
2584
2586
|
case "firstOfMonth":
|
|
@@ -2586,13 +2588,13 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2586
2588
|
case "nextMonth":
|
|
2587
2589
|
case "previousYear":
|
|
2588
2590
|
case "nextYear":
|
|
2589
|
-
t =
|
|
2591
|
+
t = Ye(t);
|
|
2590
2592
|
break;
|
|
2591
2593
|
case "previousSameWeekDay":
|
|
2592
2594
|
t = ut(t, 7);
|
|
2593
2595
|
break;
|
|
2594
2596
|
case "nextSameWeekDay":
|
|
2595
|
-
t =
|
|
2597
|
+
t = ht(t, 7);
|
|
2596
2598
|
break;
|
|
2597
2599
|
}
|
|
2598
2600
|
switch (e) {
|
|
@@ -2611,18 +2613,18 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2611
2613
|
default:
|
|
2612
2614
|
s = !k1(t, {
|
|
2613
2615
|
from: ut(r, this.maxSearchDays),
|
|
2614
|
-
to:
|
|
2616
|
+
to: ht(r, this.maxSearchDays)
|
|
2615
2617
|
});
|
|
2616
2618
|
break;
|
|
2617
2619
|
}
|
|
2618
2620
|
}
|
|
2619
2621
|
return s ? r : t;
|
|
2620
2622
|
}, this.nextMonth = () => {
|
|
2621
|
-
this.updateCurrentDate(
|
|
2623
|
+
this.updateCurrentDate(Dt(this.currentDate));
|
|
2622
2624
|
}, this.nextYear = () => {
|
|
2623
|
-
this.updateCurrentDate(m1(this.currentDate));
|
|
2624
|
-
}, this.previousMonth = () => {
|
|
2625
2625
|
this.updateCurrentDate(w1(this.currentDate));
|
|
2626
|
+
}, this.previousMonth = () => {
|
|
2627
|
+
this.updateCurrentDate(Mt(this.currentDate));
|
|
2626
2628
|
}, this.previousYear = () => {
|
|
2627
2629
|
this.updateCurrentDate(x1(this.currentDate));
|
|
2628
2630
|
}, this.showToday = () => {
|
|
@@ -2632,13 +2634,14 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2632
2634
|
}, this.onClick = (r) => {
|
|
2633
2635
|
if (this.disabled)
|
|
2634
2636
|
return;
|
|
2637
|
+
this.pendingClick = !1;
|
|
2635
2638
|
const e = r.target.closest("[data-date]");
|
|
2636
2639
|
if (!e)
|
|
2637
2640
|
return;
|
|
2638
|
-
const t =
|
|
2639
|
-
this.updateCurrentDate(t), this.onSelectDate(t);
|
|
2641
|
+
const t = q(new Date(e.dataset.date));
|
|
2642
|
+
this.isDateDisabled(t) || (this.updateCurrentDate(t), this.onSelectDate(t));
|
|
2640
2643
|
}, this.onMonthSelect = (r) => {
|
|
2641
|
-
const e = +r.target.value - 1, t = this.currentDate.getDate(), s = new Date(this.currentDate.getFullYear(), e, 1), o =
|
|
2644
|
+
const e = +r.target.value - 1, t = this.currentDate.getDate(), s = new Date(this.currentDate.getFullYear(), e, 1), o = je(s).getDate(), n = Math.min(t, o), i = new Date(this.currentDate.getFullYear(), e, n);
|
|
2642
2645
|
this.updateCurrentDate(i);
|
|
2643
2646
|
}, this.onYearSelect = (r) => {
|
|
2644
2647
|
let e = +r.target.value;
|
|
@@ -2646,20 +2649,24 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2646
2649
|
isNaN(e) ? (e = (/* @__PURE__ */ new Date()).getFullYear(), t.value = String(e)) : e < 0 ? (e = 0, t.value = String(e)) : e > 9999 && (e = 9999, t.value = String(e));
|
|
2647
2650
|
const s = this.currentDate.getDate(), o = this.currentDate.getMonth(), n = /* @__PURE__ */ new Date();
|
|
2648
2651
|
n.setFullYear(e, o, 1);
|
|
2649
|
-
const i =
|
|
2652
|
+
const i = je(n).getDate(), l = Math.min(s, i), c = /* @__PURE__ */ new Date();
|
|
2650
2653
|
c.setFullYear(e, o, l), this.updateCurrentDate(c);
|
|
2651
2654
|
}, this.onKeyDown = (r) => {
|
|
2652
|
-
this.disabled || (r.code === "ArrowLeft" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousDay"), !0)) : r.code === "ArrowRight" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextDay"), !0)) : r.code === "ArrowUp" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousSameWeekDay"), !0)) : r.code === "ArrowDown" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextSameWeekDay"), !0)) : r.code === "PageUp" ? (r.preventDefault(), r.shiftKey ? this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousYear"), !0) : this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousMonth"), !0)) : r.code === "PageDown" ? (r.preventDefault(), r.shiftKey ? this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextYear"), !0) : this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextMonth"), !0)) : r.code === "Home" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "firstOfMonth"), !0)) : r.code === "End" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "lastOfMonth"), !0)) : (r.code === "Space" || r.code === "Enter") && (r.preventDefault(), this.onSelectDate(this.currentDate)));
|
|
2655
|
+
this.disabled || (r.code === "ArrowLeft" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousDay"), !0)) : r.code === "ArrowRight" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextDay"), !0)) : r.code === "ArrowUp" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousSameWeekDay"), !0)) : r.code === "ArrowDown" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextSameWeekDay"), !0)) : r.code === "PageUp" ? (r.preventDefault(), r.shiftKey ? this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousYear"), !0) : this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousMonth"), !0)) : r.code === "PageDown" ? (r.preventDefault(), r.shiftKey ? this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextYear"), !0) : this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextMonth"), !0)) : r.code === "Home" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "firstOfMonth"), !0)) : r.code === "End" ? (r.preventDefault(), this.updateCurrentDate(this.getAvailableDate(this.currentDate, "lastOfMonth"), !0)) : (r.code === "Space" || r.code === "Enter") && (r.preventDefault(), this.isDateDisabled(this.currentDate) || this.onSelectDate(this.currentDate)));
|
|
2653
2656
|
}, this.onMouseEnter = (r) => {
|
|
2654
2657
|
if (this.disabled)
|
|
2655
2658
|
return;
|
|
2656
|
-
const e =
|
|
2659
|
+
const e = q(new Date(r.target.closest("td").dataset.date));
|
|
2657
2660
|
this.hoveredDate = e;
|
|
2658
2661
|
}, this.onMouseLeave = () => {
|
|
2659
2662
|
this.hoveredDate = void 0;
|
|
2663
|
+
}, this.onMouseDown = () => {
|
|
2664
|
+
this.pendingClick = !0;
|
|
2660
2665
|
}, this.onFocus = (r) => {
|
|
2661
|
-
|
|
2662
|
-
|
|
2666
|
+
if (this.pendingClick)
|
|
2667
|
+
return;
|
|
2668
|
+
const e = q(new Date(r.target.dataset.date));
|
|
2669
|
+
ce(e, this.currentDate) || this.updateCurrentDate(e);
|
|
2663
2670
|
};
|
|
2664
2671
|
}
|
|
2665
2672
|
componentWillLoad() {
|
|
@@ -2675,11 +2682,17 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2675
2682
|
this.value = void 0, this.selectDate.emit(void 0);
|
|
2676
2683
|
}
|
|
2677
2684
|
watchStartDate() {
|
|
2678
|
-
this.currentDate = this.startDate ?
|
|
2685
|
+
this.currentDate = this.startDate ? q(new Date(this.startDate)) : /* @__PURE__ */ new Date();
|
|
2679
2686
|
}
|
|
2680
2687
|
watchValue() {
|
|
2681
2688
|
this.value && (Array.isArray(this.value) ? this.currentDate = this.value.length > 1 && !this.goToRangeStartOnSelect ? this.value[1] : this.value[0] : this.value instanceof Date && (this.currentDate = this.value));
|
|
2682
2689
|
}
|
|
2690
|
+
handleMinDate() {
|
|
2691
|
+
this.minDate && this.currentDate < q(new Date(this.minDate)) && (this.currentDate = q(new Date(this.minDate)));
|
|
2692
|
+
}
|
|
2693
|
+
handleMaxDate() {
|
|
2694
|
+
this.maxDate && this.currentDate > q(new Date(this.maxDate)) && (this.currentDate = q(new Date(this.maxDate)));
|
|
2695
|
+
}
|
|
2683
2696
|
componentDidRender() {
|
|
2684
2697
|
this.moveFocusAfterMonthChanged && (this.focusDate(this.currentDate), this.moveFocusAfterMonthChanged = !1);
|
|
2685
2698
|
}
|
|
@@ -2719,7 +2732,7 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2719
2732
|
}
|
|
2720
2733
|
focusDate(r) {
|
|
2721
2734
|
var e;
|
|
2722
|
-
(e = this.el.querySelector(`[data-date="${
|
|
2735
|
+
(e = this.el.querySelector(`[data-date="${Le(r)}"]`)) === null || e === void 0 || e.focus();
|
|
2723
2736
|
}
|
|
2724
2737
|
updateCurrentDate(r, e) {
|
|
2725
2738
|
const t = r.getMonth(), s = r.getFullYear();
|
|
@@ -2733,38 +2746,62 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2733
2746
|
}
|
|
2734
2747
|
onSelectDate(r) {
|
|
2735
2748
|
var e, t;
|
|
2736
|
-
if (!this.
|
|
2749
|
+
if (!this.isDateDisabled(r))
|
|
2737
2750
|
if (this.isRangeValue(this.value)) {
|
|
2738
2751
|
const s = ((e = this.value) === null || e === void 0 ? void 0 : e[0]) === void 0 || this.value.length === 2 ? [r] : [this.value[0], r];
|
|
2739
2752
|
s.length === 2 && s[0] > s[1] && s.reverse();
|
|
2740
|
-
const o = s[1] === void 0 ? [
|
|
2753
|
+
const o = s[1] === void 0 ? [Le(s[0])] : [Le(s[0]), Le(s[1])];
|
|
2741
2754
|
this.value = s, this.selectDate.emit(o);
|
|
2742
2755
|
} else {
|
|
2743
2756
|
if (((t = this.value) === null || t === void 0 ? void 0 : t.getTime()) === r.getTime())
|
|
2744
2757
|
return;
|
|
2745
|
-
this.value = r, this.selectDate.emit(
|
|
2758
|
+
this.value = r, this.selectDate.emit(Le(r));
|
|
2746
2759
|
}
|
|
2747
2760
|
}
|
|
2748
2761
|
// @ts-ignore
|
|
2749
2762
|
isRangeValue(r) {
|
|
2750
2763
|
return this.range;
|
|
2751
2764
|
}
|
|
2765
|
+
get isPreviousMonthDisabled() {
|
|
2766
|
+
if (!this.minDate)
|
|
2767
|
+
return !1;
|
|
2768
|
+
const r = Mt(this.currentDate), e = q(new Date(this.minDate));
|
|
2769
|
+
return je(r) < e;
|
|
2770
|
+
}
|
|
2771
|
+
get isNextMonthDisabled() {
|
|
2772
|
+
if (!this.maxDate)
|
|
2773
|
+
return !1;
|
|
2774
|
+
const r = Dt(this.currentDate), e = q(new Date(this.maxDate));
|
|
2775
|
+
return bt(r) > e;
|
|
2776
|
+
}
|
|
2777
|
+
isDateDisabled(r) {
|
|
2778
|
+
if (this.disableDate(r))
|
|
2779
|
+
return !0;
|
|
2780
|
+
const e = this.minDate && r < q(new Date(this.minDate)), t = this.maxDate && r > q(new Date(this.maxDate));
|
|
2781
|
+
return !!(e || t);
|
|
2782
|
+
}
|
|
2752
2783
|
render() {
|
|
2753
2784
|
const r = this.showTodayButton || this.showClearButton;
|
|
2754
2785
|
return b(D1, null, b("div", { "aria-disabled": String(this.disabled), "aria-label": this.labels.picker, class: {
|
|
2755
2786
|
[this.getClassName()]: !0,
|
|
2756
2787
|
[`${this.getClassName()}--disabled`]: this.disabled
|
|
2757
|
-
}, role: "group" }, b("div", { class: this.getClassName("header") }, b("span", { "aria-atomic": "true", "aria-live": "polite", class: "visually-hidden" }, this.getTitle()), this.showYearStepper && b("button", { "aria-label": this.labels.previousYearButton, class: this.getClassName("previous-year-button"), disabled: this.disabled, innerHTML: this.previousYearButtonContent || void 0, onClick: this.previousYear, type: "button" }, b("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, b("polyline", { points: "11 17 6 12 11 7" }), b("polyline", { points: "18 17 13 12 18 7" }))), this.showMonthStepper && b("button", { "aria-label": this.labels.previousMonthButton, class:
|
|
2788
|
+
}, role: "group" }, b("div", { class: this.getClassName("header") }, b("span", { "aria-atomic": "true", "aria-live": "polite", class: "visually-hidden" }, this.getTitle()), this.showYearStepper && b("button", { "aria-label": this.labels.previousYearButton, class: this.getClassName("previous-year-button"), disabled: this.disabled, innerHTML: this.previousYearButtonContent || void 0, onClick: this.previousYear, type: "button" }, b("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, b("polyline", { points: "11 17 6 12 11 7" }), b("polyline", { points: "18 17 13 12 18 7" }))), this.showMonthStepper && b("button", { "aria-label": this.labels.previousMonthButton, class: {
|
|
2789
|
+
[this.getClassName("previous-month-button")]: !0,
|
|
2790
|
+
[this.getClassName("next-month-button--disabled")]: this.isPreviousMonthDisabled
|
|
2791
|
+
}, disabled: this.disabled || this.isPreviousMonthDisabled, innerHTML: this.previousMonthButtonContent || void 0, onClick: this.previousMonth, type: "button" }, b("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, b("polyline", { points: "15 18 9 12 15 6" }))), b("span", { class: this.getClassName("current-month") }, b("select", { title: this.labels.monthSelect, "aria-label": this.labels.monthSelect, class: this.getClassName("month-select"), disabled: this.disabled, onChange: this.onMonthSelect }, go(this.locale).map((e, t) => b("option", { key: e, selected: this.currentDate.getMonth() === t, value: t + 1 }, e))), b("input", { title: this.labels.yearSelect, "aria-label": this.labels.yearSelect, class: this.getClassName("year-select"), disabled: this.disabled, max: 9999, maxLength: 4, min: 1, onChange: this.onYearSelect, type: "number", value: this.currentDate.getFullYear() })), this.showMonthStepper && b("button", { "aria-label": this.labels.nextMonthButton, class: {
|
|
2792
|
+
[this.getClassName("next-month-button")]: !0,
|
|
2793
|
+
[this.getClassName("next-month-button--disabled")]: this.isNextMonthDisabled
|
|
2794
|
+
}, disabled: this.disabled || this.isNextMonthDisabled, innerHTML: this.nextMonthButtonContent || void 0, onClick: this.nextMonth, type: "button" }, b("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, b("polyline", { points: "9 18 15 12 9 6" }))), this.showYearStepper && b("button", { "aria-label": this.labels.nextYearButton, class: this.getClassName("next-year-button"), disabled: this.disabled, innerHTML: this.nextYearButtonContent || void 0, onClick: this.nextYear, type: "button" }, b("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, b("polyline", { points: "13 17 18 12 13 7" }), b("polyline", { points: "6 17 11 12 6 7" })))), b("div", { class: this.getClassName("body") }, b("table", { class: this.getClassName("calendar"), onKeyDown: this.onKeyDown, role: "grid" }, b("thead", { class: this.getClassName("calendar-header") }, b("tr", { class: this.getClassName("weekday-row") }, this.weekdays.map((e) => b("th", { "aria-label": e[1], abbr: e[1], class: this.getClassName("weekday"), key: e[0], scope: "col" }, b("span", null, e[0]))))), b("tbody", null, this.getCalendarRows().map((e) => {
|
|
2758
2795
|
const t = `row-${e[0].getMonth()}-${e[0].getDate()}`;
|
|
2759
2796
|
return b("tr", { class: this.getClassName("calendar-row"), key: t }, e.map((s) => {
|
|
2760
2797
|
var o, n, i, l, c;
|
|
2761
|
-
const h =
|
|
2798
|
+
const h = ce(s, this.currentDate), u = s.getMonth() !== this.currentDate.getMonth(), p = Array.isArray(this.value) ? ce(s, this.value[0]) || ce(s, this.value[1]) : ce(s, this.value), v = this.isRangeValue ? k1(s, {
|
|
2762
2799
|
from: (o = this.value) === null || o === void 0 ? void 0 : o[0],
|
|
2763
2800
|
to: ((n = this.value) === null || n === void 0 ? void 0 : n[1]) || this.hoveredDate || this.currentDate
|
|
2764
2801
|
}) : !1, I = !((i = this.value) === null || i === void 0) && i[0] ? [
|
|
2765
2802
|
(l = this.value) === null || l === void 0 ? void 0 : l[0],
|
|
2766
2803
|
((c = this.value) === null || c === void 0 ? void 0 : c[1]) || this.hoveredDate
|
|
2767
|
-
].sort((Q1, X1) => Q1 - X1) : [],
|
|
2804
|
+
].sort((Q1, X1) => Q1 - X1) : [], J = this.range && ce(I[0], s), $e = this.range && ce(I[1], s), ze = ce(s, /* @__PURE__ */ new Date()), Ve = this.isDateDisabled(s), W1 = `cell-${s.getMonth()}-${s.getDate()}`, K1 = {
|
|
2768
2805
|
[this.getClassName("date")]: !0,
|
|
2769
2806
|
[this.getClassName("date--current")]: h,
|
|
2770
2807
|
[this.getClassName("date--disabled")]: Ve,
|
|
@@ -2772,10 +2809,10 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2772
2809
|
[this.getClassName("date--today")]: ze,
|
|
2773
2810
|
[this.getClassName("date--selected")]: p,
|
|
2774
2811
|
[this.getClassName("date--in-range")]: v,
|
|
2775
|
-
[this.getClassName("date--start")]:
|
|
2776
|
-
[this.getClassName("date--end")]:
|
|
2812
|
+
[this.getClassName("date--start")]: J,
|
|
2813
|
+
[this.getClassName("date--end")]: $e
|
|
2777
2814
|
}, G1 = p ? "strong" : ze ? "em" : "span";
|
|
2778
|
-
return b("td", { "aria-disabled": String(Ve), "aria-selected": p ? "true" : void 0, "aria-current": ze ? "date" : p ? "true" : void 0, class: K1, "data-date":
|
|
2815
|
+
return b("td", { "aria-disabled": String(Ve), "aria-selected": p ? "true" : void 0, "aria-current": ze ? "date" : p ? "true" : void 0, class: K1, "data-date": Le(s), key: W1, onClick: this.onClick, onMouseDown: this.onMouseDown, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onFocus: this.onFocus, role: "gridcell", tabIndex: ce(s, this.currentDate) && !this.disabled ? 0 : -1 }, b(G1, { "aria-hidden": "true" }, s.getDate()), b("span", { class: "visually-hidden" }, Intl.DateTimeFormat(this.locale, {
|
|
2779
2816
|
day: "numeric",
|
|
2780
2817
|
month: "long",
|
|
2781
2818
|
year: "numeric"
|
|
@@ -2792,7 +2829,9 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2792
2829
|
locale: ["watchLocale"],
|
|
2793
2830
|
range: ["watchRange"],
|
|
2794
2831
|
startDate: ["watchStartDate"],
|
|
2795
|
-
value: ["watchValue"]
|
|
2832
|
+
value: ["watchValue"],
|
|
2833
|
+
minDate: ["handleMinDate"],
|
|
2834
|
+
maxDate: ["handleMaxDate"]
|
|
2796
2835
|
};
|
|
2797
2836
|
}
|
|
2798
2837
|
static get style() {
|
|
@@ -2804,9 +2843,13 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2804
2843
|
disableDate: [16],
|
|
2805
2844
|
elementClassName: [1, "element-class-name"],
|
|
2806
2845
|
firstDayOfWeek: [2, "first-day-of-week"],
|
|
2846
|
+
goToRangeStartOnSelect: [4, "go-to-range-start-on-select"],
|
|
2807
2847
|
range: [4],
|
|
2808
2848
|
labels: [16],
|
|
2809
2849
|
locale: [1],
|
|
2850
|
+
maxDate: [1, "max-date"],
|
|
2851
|
+
maxSearchDays: [2, "max-search-days"],
|
|
2852
|
+
minDate: [1, "min-date"],
|
|
2810
2853
|
nextMonthButtonContent: [1, "next-month-button-content"],
|
|
2811
2854
|
nextYearButtonContent: [1, "next-year-button-content"],
|
|
2812
2855
|
previousMonthButtonContent: [1, "previous-month-button-content"],
|
|
@@ -2818,24 +2861,22 @@ const Co = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;
|
|
|
2818
2861
|
startDate: [1, "start-date"],
|
|
2819
2862
|
todayButtonContent: [1, "today-button-content"],
|
|
2820
2863
|
value: [1040],
|
|
2821
|
-
maxSearchDays: [2, "max-search-days"],
|
|
2822
|
-
goToRangeStartOnSelect: [4, "go-to-range-start-on-select"],
|
|
2823
2864
|
currentDate: [32],
|
|
2824
2865
|
hoveredDate: [32],
|
|
2825
2866
|
weekdays: [32]
|
|
2826
2867
|
}]), xo = wo;
|
|
2827
|
-
var ko = Object.defineProperty,
|
|
2868
|
+
var ko = Object.defineProperty, M = (r, e, t, s) => {
|
|
2828
2869
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
2829
2870
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
2830
2871
|
return o && ko(e, t, o), o;
|
|
2831
2872
|
};
|
|
2832
2873
|
customElements.get("wc-datepicker") || customElements.define("wc-datepicker", xo);
|
|
2833
2874
|
let $o = 0;
|
|
2834
|
-
var
|
|
2835
|
-
const
|
|
2875
|
+
var ge;
|
|
2876
|
+
const $ = (ge = class extends f {
|
|
2836
2877
|
// allows use of elementInternals' API
|
|
2837
2878
|
constructor() {
|
|
2838
|
-
super(), this.id = "", this.name = "", this.width = "md", this.hideTodayButton = !1, this.hideClearButton = !1, this.disabled = !1, this.required = !1, this.optional = !1, this.showError = !1, this.errorMessage = "", this.form = null, this.tooltip = "", this.type = "date", this.label = "", this.description = "", this.startDate = "", this.inverted = !1, this.value = void 0, this.datepickerIsOpen = !1, this._hasUserInteracted = !1, this._onKeydownEsc = (e) => {
|
|
2879
|
+
super(), this.id = "", this.name = "", this.width = "md", this.hideTodayButton = !1, this.hideClearButton = !1, this.disabled = !1, this.required = !1, this.optional = !1, this.showError = !1, this.errorMessage = "", this.form = null, this.tooltip = "", this.type = "date", this.label = "", this.description = "", this.startDate = "", this.minDate = "", this.maxDate = "", this.inverted = !1, this.value = void 0, this.datepickerIsOpen = !1, this._hasUserInteracted = !1, this._onKeydownEsc = (e) => {
|
|
2839
2880
|
if (e.key !== "Escape" || e.code !== "Escape" || !this.datepickerIsOpen) return;
|
|
2840
2881
|
e.preventDefault(), e.stopPropagation(), this.shadowRoot?.querySelector("wc-datepicker")?.classList.remove("active"), this.datepickerIsOpen = !1, this.removeEventListener("keydown", this._handleFocusTrap), this.shadowRoot?.querySelector("input")?.focus();
|
|
2841
2882
|
}, this._internals = this.attachInternals();
|
|
@@ -2995,6 +3036,17 @@ const S = (be = class extends f {
|
|
|
2995
3036
|
);
|
|
2996
3037
|
n && (e || n.focus());
|
|
2997
3038
|
}
|
|
3039
|
+
_isOutOfRange(e) {
|
|
3040
|
+
if (this.minDate) {
|
|
3041
|
+
const t = this._parseLocalDate(this.minDate);
|
|
3042
|
+
if (e < t) return !0;
|
|
3043
|
+
}
|
|
3044
|
+
if (this.maxDate) {
|
|
3045
|
+
const t = this._parseLocalDate(this.maxDate);
|
|
3046
|
+
if (e > t) return !0;
|
|
3047
|
+
}
|
|
3048
|
+
return !1;
|
|
3049
|
+
}
|
|
2998
3050
|
_dispatchInputEvent() {
|
|
2999
3051
|
this.dispatchEvent(
|
|
3000
3052
|
new CustomEvent("nys-input", {
|
|
@@ -3052,6 +3104,10 @@ const S = (be = class extends f {
|
|
|
3052
3104
|
const e = this.shadowRoot?.querySelector("wc-datepicker");
|
|
3053
3105
|
e && e.addEventListener("selectDate", (t) => {
|
|
3054
3106
|
const s = t.detail, o = this._parseLocalDate(s);
|
|
3107
|
+
if (this._isOutOfRange(o)) {
|
|
3108
|
+
e.classList.add("active");
|
|
3109
|
+
return;
|
|
3110
|
+
}
|
|
3055
3111
|
this._setValue(o), this._validate(), this._dispatchInputEvent(), e.classList.remove("active"), this.datepickerIsOpen = !1, this.removeEventListener("keydown", this._handleFocusTrap);
|
|
3056
3112
|
});
|
|
3057
3113
|
}
|
|
@@ -3139,7 +3195,8 @@ const S = (be = class extends f {
|
|
|
3139
3195
|
id=${this.id}
|
|
3140
3196
|
class="nys-datepicker--input"
|
|
3141
3197
|
type="date"
|
|
3142
|
-
|
|
3198
|
+
min=${y(this.minDate || void 0)}
|
|
3199
|
+
max=${this.maxDate || "9999-12-31"}
|
|
3143
3200
|
?required=${this.required}
|
|
3144
3201
|
.value=${this.value instanceof Date ? this.value.toISOString().split("T")[0] : this.value || ""}
|
|
3145
3202
|
?disabled=${this.disabled}
|
|
@@ -3174,6 +3231,8 @@ const S = (be = class extends f {
|
|
|
3174
3231
|
.value=${this.value instanceof Date ? this.value : this.value ? this._parseLocalDate(this.value) : void 0}
|
|
3175
3232
|
?disabled=${this.disabled}
|
|
3176
3233
|
start-date=${y(this.startDate ? this.startDate : void 0)}
|
|
3234
|
+
min-date=${y(this.minDate || void 0)}
|
|
3235
|
+
max-date=${y(this.maxDate || void 0)}
|
|
3177
3236
|
role="dialog"
|
|
3178
3237
|
aria-modal=${this.datepickerIsOpen ? "true" : "false"}
|
|
3179
3238
|
>
|
|
@@ -3209,74 +3268,80 @@ const S = (be = class extends f {
|
|
|
3209
3268
|
errorMessage=${this._internals.validationMessage || this.errorMessage}
|
|
3210
3269
|
></nys-errormessage>`;
|
|
3211
3270
|
}
|
|
3212
|
-
},
|
|
3271
|
+
}, ge.styles = g(Ls), ge.shadowRootOptions = {
|
|
3213
3272
|
...f.shadowRootOptions,
|
|
3214
3273
|
delegatesFocus: !0
|
|
3215
|
-
},
|
|
3216
|
-
|
|
3274
|
+
}, ge.formAssociated = !0, ge);
|
|
3275
|
+
M([
|
|
3217
3276
|
a({ type: String, reflect: !0 })
|
|
3218
|
-
],
|
|
3219
|
-
|
|
3277
|
+
], $.prototype, "id");
|
|
3278
|
+
M([
|
|
3220
3279
|
a({ type: String, reflect: !0 })
|
|
3221
|
-
],
|
|
3222
|
-
|
|
3280
|
+
], $.prototype, "name");
|
|
3281
|
+
M([
|
|
3223
3282
|
a({ type: String, reflect: !0 })
|
|
3224
|
-
],
|
|
3225
|
-
|
|
3283
|
+
], $.prototype, "width");
|
|
3284
|
+
M([
|
|
3226
3285
|
a({ type: Boolean })
|
|
3227
|
-
],
|
|
3228
|
-
|
|
3286
|
+
], $.prototype, "hideTodayButton");
|
|
3287
|
+
M([
|
|
3229
3288
|
a({ type: Boolean })
|
|
3230
|
-
],
|
|
3231
|
-
|
|
3289
|
+
], $.prototype, "hideClearButton");
|
|
3290
|
+
M([
|
|
3232
3291
|
a({ type: Boolean, reflect: !0 })
|
|
3233
|
-
],
|
|
3234
|
-
|
|
3292
|
+
], $.prototype, "disabled");
|
|
3293
|
+
M([
|
|
3235
3294
|
a({ type: Boolean, reflect: !0 })
|
|
3236
|
-
],
|
|
3237
|
-
|
|
3295
|
+
], $.prototype, "required");
|
|
3296
|
+
M([
|
|
3238
3297
|
a({ type: Boolean, reflect: !0 })
|
|
3239
|
-
],
|
|
3240
|
-
|
|
3298
|
+
], $.prototype, "optional");
|
|
3299
|
+
M([
|
|
3241
3300
|
a({ type: Boolean, reflect: !0 })
|
|
3242
|
-
],
|
|
3243
|
-
|
|
3301
|
+
], $.prototype, "showError");
|
|
3302
|
+
M([
|
|
3244
3303
|
a({ type: String })
|
|
3245
|
-
],
|
|
3246
|
-
|
|
3304
|
+
], $.prototype, "errorMessage");
|
|
3305
|
+
M([
|
|
3247
3306
|
a({ type: String, reflect: !0 })
|
|
3248
|
-
],
|
|
3249
|
-
|
|
3307
|
+
], $.prototype, "form");
|
|
3308
|
+
M([
|
|
3250
3309
|
a({ type: String })
|
|
3251
|
-
],
|
|
3252
|
-
|
|
3310
|
+
], $.prototype, "tooltip");
|
|
3311
|
+
M([
|
|
3253
3312
|
a({ type: String })
|
|
3254
|
-
],
|
|
3255
|
-
|
|
3313
|
+
], $.prototype, "type");
|
|
3314
|
+
M([
|
|
3256
3315
|
a({ type: String })
|
|
3257
|
-
],
|
|
3258
|
-
|
|
3316
|
+
], $.prototype, "label");
|
|
3317
|
+
M([
|
|
3259
3318
|
a({ type: String })
|
|
3260
|
-
],
|
|
3261
|
-
|
|
3319
|
+
], $.prototype, "description");
|
|
3320
|
+
M([
|
|
3262
3321
|
a({ type: String })
|
|
3263
|
-
],
|
|
3264
|
-
|
|
3322
|
+
], $.prototype, "startDate");
|
|
3323
|
+
M([
|
|
3324
|
+
a({ type: String })
|
|
3325
|
+
], $.prototype, "minDate");
|
|
3326
|
+
M([
|
|
3327
|
+
a({ type: String })
|
|
3328
|
+
], $.prototype, "maxDate");
|
|
3329
|
+
M([
|
|
3265
3330
|
a({ type: Boolean, reflect: !0 })
|
|
3266
|
-
],
|
|
3267
|
-
|
|
3331
|
+
], $.prototype, "inverted");
|
|
3332
|
+
M([
|
|
3268
3333
|
a({
|
|
3269
3334
|
type: Object,
|
|
3270
3335
|
converter: {
|
|
3271
|
-
fromAttribute: (r) => r ?
|
|
3336
|
+
fromAttribute: (r) => r ? $.prototype._parseLocalDate(r) : void 0,
|
|
3272
3337
|
toAttribute: (r) => r ? typeof r == "string" ? r : r.toISOString().split("T")[0] : ""
|
|
3273
3338
|
}
|
|
3274
3339
|
})
|
|
3275
|
-
],
|
|
3276
|
-
|
|
3340
|
+
], $.prototype, "value");
|
|
3341
|
+
M([
|
|
3277
3342
|
_()
|
|
3278
|
-
],
|
|
3279
|
-
let Lo =
|
|
3343
|
+
], $.prototype, "datepickerIsOpen");
|
|
3344
|
+
let Lo = $;
|
|
3280
3345
|
customElements.get("nys-datepicker") || customElements.define("nys-datepicker", Lo);
|
|
3281
3346
|
const Eo = ":host{--_nys-divider-size: var(--nys-size-1px, 1px);--_nys-divider-color: var(--nys-color-neutral-500, #797c7f);--_nys-divider-width: 100%}:host([inverted]){--_nys-divider-color: var(--nys-color-ink-reverse, #ffffff)}.nys-divider{width:var(--_nys-divider-width);height:var(--_nys-divider-size);background-color:var(--_nys-divider-color);flex:1 0 0;margin:0;border:none}";
|
|
3282
3347
|
var So = Object.defineProperty, Do = (r, e, t, s) => {
|
|
@@ -3285,7 +3350,7 @@ var So = Object.defineProperty, Do = (r, e, t, s) => {
|
|
|
3285
3350
|
return o && So(e, t, o), o;
|
|
3286
3351
|
};
|
|
3287
3352
|
let Mo = 0;
|
|
3288
|
-
const
|
|
3353
|
+
const Yt = class Yt extends f {
|
|
3289
3354
|
constructor() {
|
|
3290
3355
|
super(), this.inverted = !1;
|
|
3291
3356
|
}
|
|
@@ -3303,12 +3368,12 @@ const Nt = class Nt extends f {
|
|
|
3303
3368
|
return d`<hr class="nys-divider" />`;
|
|
3304
3369
|
}
|
|
3305
3370
|
};
|
|
3306
|
-
|
|
3307
|
-
let
|
|
3371
|
+
Yt.styles = g(Eo);
|
|
3372
|
+
let _t = Yt;
|
|
3308
3373
|
Do([
|
|
3309
3374
|
a({ type: Boolean, reflect: !0 })
|
|
3310
|
-
],
|
|
3311
|
-
customElements.get("nys-divider") || customElements.define("nys-divider",
|
|
3375
|
+
], _t.prototype, "inverted");
|
|
3376
|
+
customElements.get("nys-divider") || customElements.define("nys-divider", _t);
|
|
3312
3377
|
const F1 = ':host{--_nys-dropdownmenu-width: 180px;--_nys-dropdownmenu-height: 100%;--_nys-dropdownmenu-radius: var(--nys-radius-md, 4px);--_nys-dropdownmenu-border-width: var(--nys-border-width-sm, 1px);--_nys-dropdownmenu-border-color: var(--nys-color-neutral-100, #d0d0ce);--_nys-dropdownmenu-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-dropdownmenu-boxshadow-color-100: var( --nys-color-black-transparent-100, rgba(27, 27, 27, .1) );--_nys-dropdownmenu-boxshadow-color-50: var( --nys-color-black-transparent-50, rgba(27, 27, 27, .01) );--_nys-dropdownmenu-gap: var(--nys-space-2px, 2px);--_nys-dropdownmenu-padding: var(--nys-space-100, 8px);--_nys-dropdownmenu-font-size: var(--nys-font-size-ui-md, 16px);--_nys-dropdownmenu-font-weight: var(font-weight: 400);--_nys-dropdownmenu-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-dropdownmenu-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-dropdownmenuitem-color: var(--nys-color-text, #1b1b1b);--_nys-dropdownmenuitem-gap: var(--nys-space-100, 8px);--_nys-dropdownmenuitem-padding: var(--nys-space-200, 16px) var(--nys-space-100, 8px);--_nys-dropdownmenuitem-border-radius: var(--nys-radius-md, 4px);--_nys-dropdownmenuitem-background-color: var(--nys-color-white, #ffffff);--_nys-dropdownmenuitem-background-color--hover: var( --nys-color-neutral-10, #f6f6f6 );--_nys-dropdownmenuitem-background-color--active: var( --nys-color-neutral-50, #ededed );--_nys-dropdownmenuitem-color--disabled: var( --nys-color-text-disabled, #bec0c1 );--_nys-dropdownmenuitem-outline-width: var(--nys-border-width-md, 2px);--_nys-dropdownmenuitem-outline-color: var(--nys-color-focus, #004dd1)}.nys-dropdownmenu{position:fixed;top:0;left:0;z-index:1776}.nys-dropdownmenu.active ul{display:flex}.nys-dropdownmenu ul{display:none;align-items:flex-start;flex-direction:column;gap:var(--_nys-dropdownmenu-gap);width:var(--_nys-dropdownmenu-width);height:var(--_nys-dropdownmenu-height);border-radius:var(--_nys-dropdownmenu-radius);border:var(--_nys-dropdownmenu-border-width) solid var(--_nys-dropdownmenu-border-color);background-color:var(--_nys-dropdownmenu-background-color);box-shadow:0 4px 6px -1px var(--_nys-dropdownmenu-boxshadow-color-100),0 4px 6px -1px var(--_nys-dropdownmenu-boxshadow-color-50);padding:var(--_nys-dropdownmenu-padding);font-family:var(--_nys-dropdownmenu-font-family);font-size:var(--_nys-dropdownmenu-font-size);font-weight:var(--_nys-dropdownmenu-font-weight);line-height:var(--_nys-dropdownmenu-line-height);overflow:hidden;margin:0}.nys-dropdownmenuitem{list-style:none;width:var(--_nys-dropdownmenu-width);padding:0;margin:0}.nys-dropdownmenuitem a,.nys-dropdownmenuitem button{display:flex;gap:var(--_nys-dropdownmenuitem-gap);padding:var(--_nys-dropdownmenuitem-padding);border-radius:var(--_nys-dropdownmenuitem-border-radius);background-color:var(--_nys-dropdownmenuitem-background-color);width:100%;box-sizing:border-box;text-decoration:none;text-wrap:wrap;color:var(--_nys-dropdownmenuitem-color);transition:.05s ease-in-out all;border:none;font-family:var(--_nys-dropdownmenu-font-family);font-size:var(--_nys-dropdownmenu-font-size);font-weight:var(--_nys-dropdownmenu-font-weight);line-height:var(--_nys-dropdownmenu-line-height);cursor:pointer}.nys-dropdownmenuitem a nys-icon,.nys-dropdownmenuitem button nys-icon{margin-top:2.5px}.nys-dropdownmenuitem a:hover:not(.disabled):not([aria-disabled=true]),.nys-dropdownmenuitem button:hover:not(.disabled):not([aria-disabled=true]){background-color:var(--_nys-dropdownmenuitem-background-color--hover)}.nys-dropdownmenuitem a:active:not(.disabled):not([aria-disabled=true]),.nys-dropdownmenuitem button:active:not(.disabled):not([aria-disabled=true]){background-color:var(--_nys-dropdownmenuitem-background-color--active)}.nys-dropdownmenuitem a:focus-visible:not(:focus):not(.disabled):not([aria-disabled=true]),.nys-dropdownmenuitem button:focus-visible:not(:focus):not(.disabled):not([aria-disabled=true]){outline:var(--_nys-dropdownmenuitem-outline-width) solid var(--_nys-dropdownmenuitem-outline-color)}.nys-dropdownmenuitem a.disabled,.nys-dropdownmenuitem a[aria-disabled=true],.nys-dropdownmenuitem button.disabled,.nys-dropdownmenuitem button[aria-disabled=true]{color:var(--_nys-dropdownmenuitem-color--disabled);pointer-events:none;cursor:default}';
|
|
3313
3378
|
var zo = Object.defineProperty, Te = (r, e, t, s) => {
|
|
3314
3379
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
@@ -3316,7 +3381,7 @@ var zo = Object.defineProperty, Te = (r, e, t, s) => {
|
|
|
3316
3381
|
return o && zo(e, t, o), o;
|
|
3317
3382
|
};
|
|
3318
3383
|
let Vo = 0;
|
|
3319
|
-
const
|
|
3384
|
+
const mt = class mt extends f {
|
|
3320
3385
|
constructor() {
|
|
3321
3386
|
super(...arguments), this.label = "", this.href = "", this.disabled = !1, this.target = "_self", this.prefixIcon = "", this.divider = "";
|
|
3322
3387
|
}
|
|
@@ -3374,37 +3439,37 @@ const Ct = class Ct extends f {
|
|
|
3374
3439
|
</li>`;
|
|
3375
3440
|
}
|
|
3376
3441
|
};
|
|
3377
|
-
|
|
3442
|
+
mt.styles = g(F1), mt.shadowRootOptions = {
|
|
3378
3443
|
...f.shadowRootOptions,
|
|
3379
3444
|
delegatesFocus: !0
|
|
3380
3445
|
};
|
|
3381
|
-
let
|
|
3446
|
+
let de = mt;
|
|
3382
3447
|
Te([
|
|
3383
3448
|
a({ type: String })
|
|
3384
|
-
],
|
|
3449
|
+
], de.prototype, "label");
|
|
3385
3450
|
Te([
|
|
3386
3451
|
a({ type: String })
|
|
3387
|
-
],
|
|
3452
|
+
], de.prototype, "href");
|
|
3388
3453
|
Te([
|
|
3389
3454
|
a({ type: Boolean, reflect: !0 })
|
|
3390
|
-
],
|
|
3455
|
+
], de.prototype, "disabled");
|
|
3391
3456
|
Te([
|
|
3392
3457
|
a({ type: String })
|
|
3393
|
-
],
|
|
3458
|
+
], de.prototype, "target");
|
|
3394
3459
|
Te([
|
|
3395
3460
|
a({ type: String })
|
|
3396
|
-
],
|
|
3461
|
+
], de.prototype, "prefixIcon");
|
|
3397
3462
|
Te([
|
|
3398
3463
|
a({ type: String })
|
|
3399
|
-
],
|
|
3400
|
-
customElements.get("nys-dropdownmenuitem") || customElements.define("nys-dropdownmenuitem",
|
|
3401
|
-
var Bo = Object.defineProperty,
|
|
3464
|
+
], de.prototype, "divider");
|
|
3465
|
+
customElements.get("nys-dropdownmenuitem") || customElements.define("nys-dropdownmenuitem", de);
|
|
3466
|
+
var Bo = Object.defineProperty, Rt = (r, e, t, s) => {
|
|
3402
3467
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
3403
3468
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
3404
3469
|
return o && Bo(e, t, o), o;
|
|
3405
3470
|
};
|
|
3406
3471
|
let Ao = 0;
|
|
3407
|
-
const
|
|
3472
|
+
const Wt = class Wt extends f {
|
|
3408
3473
|
/**
|
|
3409
3474
|
* Lifecycle Methods
|
|
3410
3475
|
* --------------------------------------------------------------------------
|
|
@@ -3616,25 +3681,25 @@ const jt = class jt extends f {
|
|
|
3616
3681
|
</div>`;
|
|
3617
3682
|
}
|
|
3618
3683
|
};
|
|
3619
|
-
|
|
3620
|
-
let qe =
|
|
3621
|
-
|
|
3684
|
+
Wt.styles = g(F1);
|
|
3685
|
+
let qe = Wt;
|
|
3686
|
+
Rt([
|
|
3622
3687
|
a({ type: String, reflect: !0 })
|
|
3623
3688
|
], qe.prototype, "for");
|
|
3624
|
-
|
|
3689
|
+
Rt([
|
|
3625
3690
|
a({ type: Boolean })
|
|
3626
3691
|
], qe.prototype, "showDropdown");
|
|
3627
|
-
|
|
3692
|
+
Rt([
|
|
3628
3693
|
a({ type: String, reflect: !0 })
|
|
3629
3694
|
], qe.prototype, "position");
|
|
3630
3695
|
customElements.get("nys-dropdownmenu") || customElements.define("nys-dropdownmenu", qe);
|
|
3631
3696
|
const Io = ':host{--_nys-errormessage-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-errormessage-font-weight: var(--nys-font-weight-regular, 400);--_nys-errormessage-font-size: var(--nys-font-size-ui-md, 16px);--_nys-errormessage-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-errormessage-letter-spacing: var( --nys-font-letterspacing-ui-md, .044px );--_nys-errormessage-color: var(--nys-color-danger, #b52c2c);--_nys-errormessage-gap: var(--nys-space-100, 8px);--_nys-errormessage-padding--divider: var(--nys-space-50, 4px);--_nys-errormessage-width--divider: var(--nys-border-width-sm, 1px);--_nys-errormessage-margin-top: 0}.nys-errormessage{display:flex;align-items:center;gap:var(--_nys-errormessage-gap);font-family:var(--_nys-errormessage-font-family);font-weight:var(--_nys-errormessage-font-weight);font-size:var(--_nys-errormessage-font-size);line-height:var(--_nys-errormessage-line-height);letter-spacing:var(--_nys-errormessage-letter-spacing);color:var(--_nys-errormessage-color);margin-top:var(--_nys-errormessage-margin-top)}.nys-errormessage[showDivider]{padding-top:var(--_nys-errormessage-padding--divider);margin-top:var(--_nys-errormessage-padding--divider);border-top:var(--_nys-errormessage-width--divider) solid var(--_nys-errormessage-color)}nys-icon{margin-top:-2px}';
|
|
3632
|
-
var Oo = Object.defineProperty,
|
|
3697
|
+
var Oo = Object.defineProperty, Pt = (r, e, t, s) => {
|
|
3633
3698
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
3634
3699
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
3635
3700
|
return o && Oo(e, t, o), o;
|
|
3636
3701
|
};
|
|
3637
|
-
const
|
|
3702
|
+
const wt = class wt extends f {
|
|
3638
3703
|
// allows use of elementInternals' API
|
|
3639
3704
|
constructor() {
|
|
3640
3705
|
super(), this.showError = !1, this.errorMessage = "", this.showDivider = !1, this._internals = this.attachInternals();
|
|
@@ -3650,15 +3715,15 @@ const mt = class mt extends f {
|
|
|
3650
3715
|
</div>` : ""}`;
|
|
3651
3716
|
}
|
|
3652
3717
|
};
|
|
3653
|
-
|
|
3654
|
-
let Re =
|
|
3655
|
-
|
|
3718
|
+
wt.styles = g(Io), wt.formAssociated = !0;
|
|
3719
|
+
let Re = wt;
|
|
3720
|
+
Pt([
|
|
3656
3721
|
a({ type: Boolean })
|
|
3657
3722
|
], Re.prototype, "showError");
|
|
3658
|
-
|
|
3723
|
+
Pt([
|
|
3659
3724
|
a({ type: String })
|
|
3660
3725
|
], Re.prototype, "errorMessage");
|
|
3661
|
-
|
|
3726
|
+
Pt([
|
|
3662
3727
|
a({ type: Boolean, reflect: !0 })
|
|
3663
3728
|
], Re.prototype, "showDivider");
|
|
3664
3729
|
customElements.get("nys-errormessage") || customElements.define("nys-errormessage", Re);
|
|
@@ -3671,12 +3736,12 @@ async function Ho(r, e) {
|
|
|
3671
3736
|
return !1;
|
|
3672
3737
|
}
|
|
3673
3738
|
const qo = ':host{--_nys-fileitem-border-radius: var(--nys-radius-md, 4px);--_nys-fileitem-padding: var(--nys-space-100, 8px) var(--nys-space-200, 16px);--_nys-fileitem-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-fileitem-border-color: var(--nys-color-neutral-100, #d0d0ce);--_nys-fileitem-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-fileitem-font-size: var(--nys-font-size-ui-md, 16px);--_nys-fileitem-font-weight: var(--nys-font-weight-regular, 400);--_nys-fileitem-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-fileitem-letter-spacing: var( --nys-font-letterspacing-ui-md, .044px );--_nys-fileitem-background-color--progress: var( --nys-color-neutral-50, #ededed );--_nys-fileitem-background-color--progress--fill: var( --nys-color-info, #004dd1 )}.file-item{position:relative;border-radius:var(--_nys-fileitem-border-radius);border-width:var(--nys-border-width-sm, 1px);border-style:solid;border-color:var(--_nys-fileitem-border-color);background-color:var(--_nys-fileitem-background-color)}.file-item.error{--_nys-fileitem-border-color: var(--nys-color-danger, #b52c2c)}.file-item__main{display:flex;place-items:center center;gap:var(--_nys-fileinput-gap);padding:var(--_nys-fileitem-padding);height:56px;box-sizing:border-box}.file-item__info{display:flex;flex-direction:column;flex:1;min-width:0;font-family:var(--_nys-fileitem-font-family);font-size:var(--_nys-fileitem-font-size);font-style:normal;font-weight:var(--_nys-fileitem-font-weight);line-height:var(--_nys-fileitem-line-height);letter-spacing:var(--_nys-fileitem-letter-spacing)}.file-item__info-name{display:flex;max-width:100%;overflow:hidden;white-space:nowrap;align-items:center}.file-item__info-name-start{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;min-width:0}.file-item p{margin:0}.file-item__error{color:var(--nys-color-danger, #b52c2c);text-overflow:ellipsis;font-weight:700}progress{position:absolute;bottom:0;display:flex;width:100%;height:6px;border-radius:var(--nys-radius-round, 1776px);background:var(--_nys-fileitem-background-color--progress--fill);overflow:hidden;appearance:none}progress::-moz-progress-bar{background-color:var(--_nys-fileitem-background-color--progress)}progress::-webkit-progress-value{background-color:var(--_nys-fileitem-background-color--progress--fill)}progress::-webkit-progress-bar{background-color:var(--_nys-fileitem-background-color--progress)}.file-icon[name=progress_activity]{animation:spin 1s linear infinite}.file-icon[name=error]{color:var(--nys-color-danger, #b52c2c)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}';
|
|
3674
|
-
var Ro = Object.defineProperty,
|
|
3739
|
+
var Ro = Object.defineProperty, St = (r, e, t, s) => {
|
|
3675
3740
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
3676
3741
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
3677
3742
|
return o && Ro(e, t, o), o;
|
|
3678
3743
|
};
|
|
3679
|
-
const
|
|
3744
|
+
const xt = class xt extends f {
|
|
3680
3745
|
constructor() {
|
|
3681
3746
|
super(...arguments), this.filename = "", this.status = "pending", this.progress = 0, this.errorMessage = "";
|
|
3682
3747
|
}
|
|
@@ -3749,32 +3814,32 @@ const wt = class wt extends f {
|
|
|
3749
3814
|
`;
|
|
3750
3815
|
}
|
|
3751
3816
|
};
|
|
3752
|
-
|
|
3817
|
+
xt.styles = g(qo), xt.shadowRootOptions = {
|
|
3753
3818
|
...f.shadowRootOptions,
|
|
3754
3819
|
delegatesFocus: !0
|
|
3755
3820
|
};
|
|
3756
|
-
let De =
|
|
3757
|
-
|
|
3821
|
+
let De = xt;
|
|
3822
|
+
St([
|
|
3758
3823
|
a({ type: String })
|
|
3759
3824
|
], De.prototype, "filename");
|
|
3760
|
-
|
|
3825
|
+
St([
|
|
3761
3826
|
a({ type: String })
|
|
3762
3827
|
], De.prototype, "status");
|
|
3763
|
-
|
|
3828
|
+
St([
|
|
3764
3829
|
a({ type: Number })
|
|
3765
3830
|
], De.prototype, "progress");
|
|
3766
|
-
|
|
3831
|
+
St([
|
|
3767
3832
|
a({ type: String })
|
|
3768
3833
|
], De.prototype, "errorMessage");
|
|
3769
3834
|
customElements.define("nys-fileitem", De);
|
|
3770
3835
|
const Po = ':host{--_nys-fileinput-gap: var(--nys-space-100, 8px);--_nys-fileinput-font-size: var(--nys-font-size-ui-md, 16px);--_nys-fileinput-font-weight: var(--nys-font-weight-semibold, 600);--_nys-fileinput-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-fileinput-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-fileinput-background-color--dropzone: var( --nys-color-ink-reverse, #ffffff );--_nys-fileinput-background-color--dropzone--disabled: var( --nys-color-neutral-10, #f6f6f6 );--_nys-fileinput-background-color--dropzone--active: var( --nys-color-theme-faint, #f7fafd );--_nys-fileinput-border-radius--dropzone: var( --nys-radius-lg, var(--nys-space-100, 8px) );--_nys-fileinput-border-style: dashed;--_nys-fileinput-border-color: var(--nys-color-neutral-200, #bec0c1);--_nys-fileinput-border-width: var(--nys-border-width-sm, 1px)}.nys-fileinput{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--_nys-fileinput-gap);font-family:var(--_nys-fileinput-font-family);font-size:var(--_nys-fileinput-font-size);font-weight:var(--_nys-fileinput-font-weight);line-height:var(--_nys-fileinput-line-height)}:host([width=lg]) .nys-fileinput{max-width:var(--nys-form-width-lg, 384px)}ul{list-style-type:none;padding:0;margin:0;width:100%;display:flex;flex-direction:column;gap:var(--_nys-fileinput-gap)}.nys-fileinput__dropzone{display:flex;padding:var(--nys-space-400, 32px) var(--nys-space-200, 16px);justify-content:center;align-items:center;gap:12px;align-self:stretch;border-radius:var(--_nys-fileinput-border-radius--dropzone);outline:var(--_nys-fileinput-border-width) var(--_nys-fileinput-border-style) var(--_nys-fileinput-border-color);background-color:var(--_nys-fileinput-background-color--dropzone);transition:all 60ms ease-in-out}.nys-fileinput__dropzone:hover{cursor:pointer;--_nys-fileinput-border-width: var(--nys-border-width-md, 2px);--_nys-fileinput-border-color: var(--nys-color-neutral-700, #4a4d4f)}.nys-fileinput__dropzone.drag-active{--_nys-fileinput-border-width: var(--nys-border-width-md, 2px);--_nys-fileinput-border-color: var(--nys-color-theme, #154973);--_nys-fileinput-border-style: solid}.nys-fileinput__dropzone.error{--_nys-fileinput-border-color: var(--nys-color-danger, #b52c2c)}.nys-fileinput__dropzone.error:hover{--_nys-fileinput-border-width: var(--nys-border-width-md, 2px);--_nys-fileinput-border-color: var(--nys-color-emergency, #721c1c)}.nys-fileinput__dropzone.disabled{cursor:not-allowed;--_nys-fileinput-border-color: var(--nys-color-neutral-300, #a7a9ab);--_nys-fileinput-border-width: var(--nys-border-width-sm, 1px);background-color:var(--_nys-fileinput-background-color--dropzone--disabled);color:var(--_nys-fileinput-color--dropzone--disabled)}progress{display:flex;width:100%;height:6px;border-radius:var(--nys-radius-round, 1776px);background-color:var(--_nys-fileinput-progress-background);overflow:hidden;appearance:none;border:none}progress::-moz-progress-bar{background-color:var(--_nys-fileinput-progress-background)}progress::-webkit-progress-value{background-color:var(--_nys-fileinput-progress-background)}progress::-webkit-progress-bar{background-color:var(--_nys-fileinput-progress-background)}';
|
|
3771
|
-
var To = Object.defineProperty,
|
|
3836
|
+
var To = Object.defineProperty, U = (r, e, t, s) => {
|
|
3772
3837
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
3773
3838
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
3774
3839
|
return o && To(e, t, o), o;
|
|
3775
3840
|
};
|
|
3776
3841
|
let Uo = 0;
|
|
3777
|
-
const
|
|
3842
|
+
const Qe = class Qe extends f {
|
|
3778
3843
|
// allows use of elementInternals' API
|
|
3779
3844
|
constructor() {
|
|
3780
3845
|
super(), this.id = "", this.name = "", this.label = "", this.description = "", this.multiple = !1, this.form = null, this.tooltip = "", this.accept = "", this.disabled = !1, this.required = !1, this.optional = !1, this.showError = !1, this.errorMessage = "", this.dropzone = !1, this.width = "full", this.inverted = !1, this._selectedFiles = [], this._dragActive = !1, this._internals = this.attachInternals();
|
|
@@ -4085,60 +4150,60 @@ const Ge = class Ge extends f {
|
|
|
4085
4150
|
</div>`;
|
|
4086
4151
|
}
|
|
4087
4152
|
};
|
|
4088
|
-
|
|
4153
|
+
Qe.styles = g(Po), Qe.shadowRootOptions = {
|
|
4089
4154
|
...f.shadowRootOptions,
|
|
4090
4155
|
delegatesFocus: !0
|
|
4091
|
-
},
|
|
4092
|
-
let
|
|
4093
|
-
|
|
4156
|
+
}, Qe.formAssociated = !0;
|
|
4157
|
+
let V = Qe;
|
|
4158
|
+
U([
|
|
4094
4159
|
a({ type: String, reflect: !0 })
|
|
4095
|
-
],
|
|
4096
|
-
|
|
4160
|
+
], V.prototype, "id");
|
|
4161
|
+
U([
|
|
4097
4162
|
a({ type: String, reflect: !0 })
|
|
4098
|
-
],
|
|
4099
|
-
|
|
4163
|
+
], V.prototype, "name");
|
|
4164
|
+
U([
|
|
4100
4165
|
a({ type: String })
|
|
4101
|
-
],
|
|
4102
|
-
|
|
4166
|
+
], V.prototype, "label");
|
|
4167
|
+
U([
|
|
4103
4168
|
a({ type: String })
|
|
4104
|
-
],
|
|
4105
|
-
|
|
4169
|
+
], V.prototype, "description");
|
|
4170
|
+
U([
|
|
4106
4171
|
a({ type: Boolean })
|
|
4107
|
-
],
|
|
4108
|
-
|
|
4172
|
+
], V.prototype, "multiple");
|
|
4173
|
+
U([
|
|
4109
4174
|
a({ type: String, reflect: !0 })
|
|
4110
|
-
],
|
|
4111
|
-
|
|
4175
|
+
], V.prototype, "form");
|
|
4176
|
+
U([
|
|
4112
4177
|
a({ type: String })
|
|
4113
|
-
],
|
|
4114
|
-
|
|
4178
|
+
], V.prototype, "tooltip");
|
|
4179
|
+
U([
|
|
4115
4180
|
a({ type: String })
|
|
4116
|
-
],
|
|
4117
|
-
|
|
4181
|
+
], V.prototype, "accept");
|
|
4182
|
+
U([
|
|
4118
4183
|
a({ type: Boolean, reflect: !0 })
|
|
4119
|
-
],
|
|
4120
|
-
|
|
4184
|
+
], V.prototype, "disabled");
|
|
4185
|
+
U([
|
|
4121
4186
|
a({ type: Boolean, reflect: !0 })
|
|
4122
|
-
],
|
|
4123
|
-
|
|
4187
|
+
], V.prototype, "required");
|
|
4188
|
+
U([
|
|
4124
4189
|
a({ type: Boolean, reflect: !0 })
|
|
4125
|
-
],
|
|
4126
|
-
|
|
4190
|
+
], V.prototype, "optional");
|
|
4191
|
+
U([
|
|
4127
4192
|
a({ type: Boolean, reflect: !0 })
|
|
4128
|
-
],
|
|
4129
|
-
|
|
4193
|
+
], V.prototype, "showError");
|
|
4194
|
+
U([
|
|
4130
4195
|
a({ type: String })
|
|
4131
|
-
],
|
|
4132
|
-
|
|
4196
|
+
], V.prototype, "errorMessage");
|
|
4197
|
+
U([
|
|
4133
4198
|
a({ type: Boolean })
|
|
4134
|
-
],
|
|
4135
|
-
|
|
4199
|
+
], V.prototype, "dropzone");
|
|
4200
|
+
U([
|
|
4136
4201
|
a({ type: String, reflect: !0 })
|
|
4137
|
-
],
|
|
4138
|
-
|
|
4202
|
+
], V.prototype, "width");
|
|
4203
|
+
U([
|
|
4139
4204
|
a({ type: Boolean, reflect: !0 })
|
|
4140
|
-
],
|
|
4141
|
-
customElements.get("nys-fileinput") || customElements.define("nys-fileinput",
|
|
4205
|
+
], V.prototype, "inverted");
|
|
4206
|
+
customElements.get("nys-fileinput") || customElements.define("nys-fileinput", V);
|
|
4142
4207
|
const Zo = {
|
|
4143
4208
|
// --------- UX Team Main Library (below) --------- //
|
|
4144
4209
|
// *** CORE *** //
|
|
@@ -4798,7 +4863,7 @@ var No = Object.defineProperty, Ue = (r, e, t, s) => {
|
|
|
4798
4863
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
4799
4864
|
return o && No(e, t, o), o;
|
|
4800
4865
|
};
|
|
4801
|
-
const
|
|
4866
|
+
const Kt = class Kt extends f {
|
|
4802
4867
|
constructor() {
|
|
4803
4868
|
super(...arguments), this.name = "", this.ariaLabel = "", this.rotate = "0", this.flip = "", this.color = "", this.size = "md";
|
|
4804
4869
|
}
|
|
@@ -4818,34 +4883,34 @@ const Yt = class Yt extends f {
|
|
|
4818
4883
|
return e ? d`${e}` : null;
|
|
4819
4884
|
}
|
|
4820
4885
|
};
|
|
4821
|
-
|
|
4822
|
-
let
|
|
4886
|
+
Kt.styles = g(Fo);
|
|
4887
|
+
let he = Kt;
|
|
4823
4888
|
Ue([
|
|
4824
4889
|
a({ type: String, reflect: !0 })
|
|
4825
|
-
],
|
|
4890
|
+
], he.prototype, "name");
|
|
4826
4891
|
Ue([
|
|
4827
4892
|
a({ type: String })
|
|
4828
|
-
],
|
|
4893
|
+
], he.prototype, "ariaLabel");
|
|
4829
4894
|
Ue([
|
|
4830
4895
|
a({ type: String })
|
|
4831
|
-
],
|
|
4896
|
+
], he.prototype, "rotate");
|
|
4832
4897
|
Ue([
|
|
4833
4898
|
a({ type: String })
|
|
4834
|
-
],
|
|
4899
|
+
], he.prototype, "flip");
|
|
4835
4900
|
Ue([
|
|
4836
4901
|
a({ type: String })
|
|
4837
|
-
],
|
|
4902
|
+
], he.prototype, "color");
|
|
4838
4903
|
Ue([
|
|
4839
4904
|
a({ type: String })
|
|
4840
|
-
],
|
|
4841
|
-
customElements.get("nys-icon") || customElements.define("nys-icon",
|
|
4905
|
+
], he.prototype, "size");
|
|
4906
|
+
customElements.get("nys-icon") || customElements.define("nys-icon", he);
|
|
4842
4907
|
const jo = ':host{--_nys-label-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-label-font-weight: var(--nys-font-weight-semibold, 600);--_nys-label-font-size: var(--nys-font-size-ui-md, 16px);--_nys-label-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-label-letter-spacing: var(--nys-font-letterspacing-ui-md, .044px);--_nys-label-color: var(--nys-color-text, #1b1b1b);--_nys-label-cursor: normal;--_nys-description-font-weight: var(--nys-font-weight-regular, 400);--_nys-description-font-style: normal;--_nys-description-font-color: var(--nys-color-text-weak, #4a4d4f);--_nys-required-font-color: var(--nys-color-danger, #b52c2c);--_nys-optional-font-weight: var(--nys-font-weight-regular, 400);--_nys-optional-font-color: var(--nys-color-text-weak, #4a4d4f);--_nys-label-gap: var(--nys-space-4px, 4px)}p{margin:0}.nys-label{display:flex;flex-direction:column;align-items:flex-start;font-family:var(--_nys-label-font-family);font-size:var(--_nys-label-font-size);line-height:var(--_nys-label-line-height);letter-spacing:var(--_nys-label-letter-spacing)}.nys-label *{cursor:var(--_nys-label-cursor)}.nys-label__label{display:flex;gap:var(--_nys-label-gap);text-align:left;font-weight:var(--_nys-label-font-weight);color:var(--_nys-label-color)}.nys-label__description{text-align:left;font-weight:var(--_nys-description-font-weight);font-style:var(--_nys-description-font-style);color:var(--_nys-description-font-color)}.nys-label__required{display:contents;font-weight:var(--_nys-label-font-weight);color:var(--_nys-required-font-color)}.nys-label__optional{display:contents;font-weight:var(--_nys-optional-font-weight);color:var(--_nys-optional-font-color)}.nys-label__tooltip-wrapper{display:flex;gap:2px;align-items:center}.nys-label.invert .nys-label__label,.nys-label.invert .nys-label__description,.nys-label.invert .nys-label__optional{color:var(--nys-color-text-reverse, #ffffff)}.nys-label.invert .nys-label__tooltip-icon{color:var(--nys-color-ink-reverse, #ffffff)}';
|
|
4843
4908
|
var Yo = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Ze = (r, e, t, s) => {
|
|
4844
4909
|
for (var o = s > 1 ? void 0 : s ? Wo(e, t) : e, n = r.length - 1, i; n >= 0; n--)
|
|
4845
4910
|
(i = r[n]) && (o = (s ? i(e, t, o) : i(o)) || o);
|
|
4846
4911
|
return s && o && Yo(e, t, o), o;
|
|
4847
4912
|
};
|
|
4848
|
-
const
|
|
4913
|
+
const Gt = class Gt extends f {
|
|
4849
4914
|
constructor() {
|
|
4850
4915
|
super(...arguments), this.for = "", this.label = "", this.description = "", this.flag = "", this.inverted = !1, this._tooltip = "";
|
|
4851
4916
|
}
|
|
@@ -4902,35 +4967,35 @@ const Wt = class Wt extends f {
|
|
|
4902
4967
|
`;
|
|
4903
4968
|
}
|
|
4904
4969
|
};
|
|
4905
|
-
|
|
4906
|
-
let
|
|
4970
|
+
Gt.styles = g(jo);
|
|
4971
|
+
let ue = Gt;
|
|
4907
4972
|
Ze([
|
|
4908
4973
|
a({ type: String })
|
|
4909
|
-
],
|
|
4974
|
+
], ue.prototype, "for", 2);
|
|
4910
4975
|
Ze([
|
|
4911
4976
|
a({ type: String })
|
|
4912
|
-
],
|
|
4977
|
+
], ue.prototype, "label", 2);
|
|
4913
4978
|
Ze([
|
|
4914
4979
|
a({ type: String })
|
|
4915
|
-
],
|
|
4980
|
+
], ue.prototype, "description", 2);
|
|
4916
4981
|
Ze([
|
|
4917
4982
|
a({ type: String })
|
|
4918
|
-
],
|
|
4983
|
+
], ue.prototype, "flag", 2);
|
|
4919
4984
|
Ze([
|
|
4920
4985
|
a({ type: Boolean, reflect: !0 })
|
|
4921
|
-
],
|
|
4986
|
+
], ue.prototype, "inverted", 2);
|
|
4922
4987
|
Ze([
|
|
4923
4988
|
a({ type: String })
|
|
4924
|
-
],
|
|
4925
|
-
customElements.get("nys-label") || customElements.define("nys-label",
|
|
4989
|
+
], ue.prototype, "tooltip", 1);
|
|
4990
|
+
customElements.get("nys-label") || customElements.define("nys-label", ue);
|
|
4926
4991
|
const Ko = ':host{--_nys-modal-width: 439px;--_nys-modal-min-width: 320px;--_nys-modal-border-radius: var(--nys-radius-lg, 8px);--_nys-modal-border-color: var(--nys-color-neutral-200, #bec0c1);--_nys-modal-border-width: 1px;--_nys-modal-background-color: var(--nys-color-surface, #ffffff);--_nys-modal-margin: var(--nys-space-250, 20px);--_nys-modal-padding: var(--nys-space-300, 24px);--_nys-modal-gap: var(--nys-space-200, 16px);--_nys-modal-background-color--overlay: var( --nys-color-black-transparent-700, rgba(27, 27, 27, .7) );--_nys-modal-gap--header: var(--nys-space-100, 8px);--_nys-modal-gap--footer: var(--nys-space-250, 20px);--_nys-modal-font-size: var( --nys-font-size-body-md, var(--nys-font-size-md, 16px) );--_nys-modal-font-size--subheader: var( --nys-font-size-body-lg, var(--nys-font-size-lg, 18px) );--_nys-modal-font-weight--header: var(--nys-font-weight-bold, 700);--_nys-modal-font-weight--subheader: var(--nys-font-weight-semibold, 600);--_nys-modal-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-modal-line-height--subheader: var(--nys-font-lineheight-body-lg, 28px);--_nys-modal-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) )}*{box-sizing:border-box}::slotted(p){margin:0!important}h2,p{flex:1;margin:0}.nys-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;z-index:1000;background:var(--_nys-modal-background-color--overlay)}.nys-modal{display:flex;flex-direction:column;margin:var(--_nys-modal-margin);padding:var(--_nys-modal-padding);gap:var(--_nys-modal-gap);width:var(--_nys-modal-width);border-radius:var(--_nys-modal-border-radius);border:var(--_nys-modal-border-width) solid var(--_nys-modal-border-color);font-family:var(--_nys-modal-font-family);font-size:var(--_nys-modal-font-size);line-height:var(--_nys-modal-line-height);background:var(--_nys-modal-background-color);position:relative;z-index:10000}.nys-modal_header{display:flex;flex-direction:column;align-items:flex-start;gap:var(--_nys-modal-gap--header)}.nys-modal_header p{font-size:var(--_nys-modal-font-size--subheader);font-weight:var(--_nys-modal-font-weight--subheader);line-height:var(--_nys-modal-line-height--subheader)}.nys-modal_header-inner{display:flex;align-items:center;width:100%;font-weight:var(--_nys-modal-font-weight--header)}.nys-modal_body{display:flex;flex-direction:column;align-items:flex-start}.nys-modal_body-inner{overflow:auto;width:100%;max-height:45vh}.nys-modal_body.hidden{display:none}.nys-modal_footer ::slotted(*){display:flex;flex-direction:column-reverse;justify-content:center;gap:var(--_nys-modal-gap--footer);align-self:stretch}.nys-modal_footer.hidden ::slotted(*){display:none}@media(min-width:480px){.nys-modal_body-inner{max-height:25vh}.nys-modal_footer ::slotted(*){flex-direction:row;justify-content:flex-end;align-items:center}.nys-modal{--_nys-modal-width: 439px}}@media(min-width:768px){.nys-modal{--_nys-modal-width: 600px}}@media(min-width:1024px){.nys-modal{--_nys-modal-width: 752px}}@media(min-width:1280px){.nys-modal{--_nys-modal-width: 840px}}';
|
|
4927
|
-
var Go = Object.defineProperty,
|
|
4992
|
+
var Go = Object.defineProperty, xe = (r, e, t, s) => {
|
|
4928
4993
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
4929
4994
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
4930
4995
|
return o && Go(e, t, o), o;
|
|
4931
4996
|
};
|
|
4932
4997
|
let Qo = 0;
|
|
4933
|
-
const
|
|
4998
|
+
const Qt = class Qt extends f {
|
|
4934
4999
|
/**
|
|
4935
5000
|
* Lifecycle Methods
|
|
4936
5001
|
* --------------------------------------------------------------------------
|
|
@@ -5106,41 +5171,41 @@ const Kt = class Kt extends f {
|
|
|
5106
5171
|
</div>` : "";
|
|
5107
5172
|
}
|
|
5108
5173
|
};
|
|
5109
|
-
|
|
5110
|
-
let
|
|
5111
|
-
|
|
5174
|
+
Qt.styles = g(Ko);
|
|
5175
|
+
let se = Qt;
|
|
5176
|
+
xe([
|
|
5112
5177
|
a({ type: String, reflect: !0 })
|
|
5113
|
-
],
|
|
5114
|
-
|
|
5178
|
+
], se.prototype, "id");
|
|
5179
|
+
xe([
|
|
5115
5180
|
a({ type: String })
|
|
5116
|
-
],
|
|
5117
|
-
|
|
5181
|
+
], se.prototype, "heading");
|
|
5182
|
+
xe([
|
|
5118
5183
|
a({ type: String })
|
|
5119
|
-
],
|
|
5120
|
-
|
|
5184
|
+
], se.prototype, "subheading");
|
|
5185
|
+
xe([
|
|
5121
5186
|
a({ type: Boolean, reflect: !0 })
|
|
5122
|
-
],
|
|
5123
|
-
|
|
5187
|
+
], se.prototype, "open");
|
|
5188
|
+
xe([
|
|
5124
5189
|
a({ type: Boolean, reflect: !0 })
|
|
5125
|
-
],
|
|
5126
|
-
|
|
5190
|
+
], se.prototype, "mandatory");
|
|
5191
|
+
xe([
|
|
5127
5192
|
a({ type: String, reflect: !0 })
|
|
5128
|
-
],
|
|
5129
|
-
|
|
5193
|
+
], se.prototype, "width");
|
|
5194
|
+
xe([
|
|
5130
5195
|
_()
|
|
5131
|
-
],
|
|
5132
|
-
|
|
5196
|
+
], se.prototype, "hasBodySlots");
|
|
5197
|
+
xe([
|
|
5133
5198
|
_()
|
|
5134
|
-
],
|
|
5135
|
-
customElements.get("nys-modal") || customElements.define("nys-modal",
|
|
5136
|
-
const Xo = ':host{--_nys-pagination-width: fit-content;--_nys-pagination-height: var(--nys-size-500, 40px);--_nys-pagination-radius: var(--nys-radius-xl, 12px);--_nys-pagination-gap: var(--nys-space-100, 8px);--_nys-pagination-font-size: var(--nys-font-size-ui-md, 16px);--_nys-pagination-font-weight: var(--nys-font-weight-semibold, 600);--_nys-pagination-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-pagination-font-family: var(
|
|
5137
|
-
var Jo = Object.defineProperty,
|
|
5199
|
+
], se.prototype, "hasActionSlots");
|
|
5200
|
+
customElements.get("nys-modal") || customElements.define("nys-modal", se);
|
|
5201
|
+
const Xo = ':host{--_nys-pagination-width: fit-content;--_nys-pagination-height: var(--nys-size-500, 40px);--_nys-pagination-radius: var(--nys-radius-xl, 12px);--_nys-pagination-gap: var(--nys-space-100, 8px);--_nys-pagination-font-size: var(--nys-font-size-ui-md, 16px);--_nys-pagination-font-weight: var(--nys-font-weight-semibold, 600);--_nys-pagination-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-pagination-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif))}.nys-pagination{width:var(--_nys-pagination-width);height:var(--_nys-pagination-height);border-radius:var(--_nys-pagination-radius);display:flex;align-items:center;justify-content:center;gap:var(--_nys-pagination-gap);font-family:var(--_nys-pagination-font-family);font-size:var(--_nys-pagination-font-size);font-weight:var(--_nys-pagination-font-weight);line-height:var(--_nys-pagination-line-height)}nys-button{--_nys-button-height: var(--_nys-pagination-height);--_nys-button-border-width: var(--nys-border-width-sm, 1px);--_nys-button-border-radius: var(--nys-radius-md, 4px);--_nys-button-padding--x: var(--nys-space-200, 16px)}nys-button[variant=outline]{--nys-button-background-color: var(--nys-color-ink-reverse, #ffffff);--nys-button-background-color--hover: var(--nys-color-neutral-10, #f6f6f6);--nys-button-background-color--active: var(--nys-color-neutral-50, #ededed);--nys-button-border-color: var(--nys-color-neutral-200, #bec0c1);--nys-button-border-color--hover: var(--nys-color-neutral-600, #62666a);--nys-button-border-color--active: var(--nys-color-neutral-900, #1b1b1b);--nys-button-color: var(--nys-color-link, #004dd1);--nys-button-color--hover: var(--nys-color-link-strong, #003ba1);--nys-button-color--active: var(--nys-color-link-strong, #003ba1)}nys-button[variant=filled]{--nys-button-background-color: var(--nys-color-link, #004dd1);--nys-button-background-color--hover: var(--nys-color-link-strong, #003ba1);--nys-button-background-color--active: var(--nys-color-link-strongest, #002971);--nys-button-border-color: var(--nys-color-link, #004dd1);--nys-button-border-color--hover: var(--nys-color-link-strong, #003ba1);--nys-button-border-color--active: var(--nys-color-link-strongest, #002971);--nys-button-color: var(--nys-color-ink-reverse, #ffffff);--nys-button-color--hover: var(--nys-color-ink-reverse, #ffffff);--nys-button-color--active: var(--nys-color-ink-reverse, #ffffff)}nys-button#previous,nys-button#next,nys-button#previous--mobile,nys-button#next--mobile{--nys-button-color: var(--nys-color-text, #1b1b1b);--nys-button-color--hover: var(--nys-color-text, #1b1b1b);--nys-button-color--active: var(--nys-color-text, #1b1b1b);--_nys-button-padding--x: var(--nys-space-150, 12px)}nys-button#previous--mobile,nys-button#next--mobile{display:none}nys-button.spacer{--nys-button-border-color: transparent;--nys-button-border-color--hover: transparent;--nys-button-border-color--active: transparent;--nys-button-background-color: transparent;--nys-button-background-color--hover: transparent;--nys-button-background-color--active: transparent;--nys-button-color: var(--nys-color-text, #1b1b1b);--nys-button-color--hover: var(--nys-color-text, #1b1b1b);--nys-button-color--active: var(--nys-color-text, #1b1b1b);--_nys-button-padding--x: var(--nys-space-1px, 1px);--_nys-button-cursor: default}:host([currentPage="3"]) nys-button#first-spacer,:host([_twoBeforeLast]) nys-button#last-spacer{display:none}@media(min-width:0)and (max-width:767px){nys-button#prev-page,nys-button#next-page{display:none}:host([currentPage="3"]) nys-button#first-spacer,:host([_twoBeforeLast]) nys-button#last-spacer{display:block}nys-button#previous--mobile,nys-button#next--mobile{display:block}nys-button#previous,nys-button#next{display:none}}';
|
|
5202
|
+
var Jo = Object.defineProperty, at = (r, e, t, s) => {
|
|
5138
5203
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
5139
5204
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
5140
5205
|
return o && Jo(e, t, o), o;
|
|
5141
5206
|
};
|
|
5142
5207
|
let er = 0;
|
|
5143
|
-
const
|
|
5208
|
+
const Xt = class Xt extends f {
|
|
5144
5209
|
/**
|
|
5145
5210
|
* Lifecycle Methods
|
|
5146
5211
|
* --------------------------------------------------------------------------
|
|
@@ -5248,32 +5313,32 @@ const Gt = class Gt extends f {
|
|
|
5248
5313
|
/****************** 🪡 in the Haystack Release ******/
|
|
5249
5314
|
/****************** designsystem@its.ny.gov ********/
|
|
5250
5315
|
};
|
|
5251
|
-
|
|
5252
|
-
let
|
|
5253
|
-
|
|
5316
|
+
Xt.styles = g(Xo);
|
|
5317
|
+
let Ce = Xt;
|
|
5318
|
+
at([
|
|
5254
5319
|
a({ type: String, reflect: !0 })
|
|
5255
|
-
],
|
|
5256
|
-
|
|
5320
|
+
], Ce.prototype, "id");
|
|
5321
|
+
at([
|
|
5257
5322
|
a({ type: String, reflect: !0 })
|
|
5258
|
-
],
|
|
5259
|
-
|
|
5323
|
+
], Ce.prototype, "name");
|
|
5324
|
+
at([
|
|
5260
5325
|
a({ type: Number, reflect: !0 })
|
|
5261
|
-
],
|
|
5262
|
-
|
|
5326
|
+
], Ce.prototype, "currentPage");
|
|
5327
|
+
at([
|
|
5263
5328
|
a({ type: Number, reflect: !0 })
|
|
5264
|
-
],
|
|
5265
|
-
|
|
5329
|
+
], Ce.prototype, "totalPages");
|
|
5330
|
+
at([
|
|
5266
5331
|
a({ type: Boolean, reflect: !0 })
|
|
5267
|
-
],
|
|
5268
|
-
customElements.get("nys-pagination") || customElements.define("nys-pagination",
|
|
5332
|
+
], Ce.prototype, "_twoBeforeLast");
|
|
5333
|
+
customElements.get("nys-pagination") || customElements.define("nys-pagination", Ce);
|
|
5269
5334
|
const N1 = `:host{--_nys-radiobutton-size: var(--nys-size-400, 32px);--_nys-radiobutton-border-radius: var(--nys-radius-md, 4px);--_nys-radiobutton-border-width: var(--nys-border-width-md, 2px);--_nys-radiobutton-outline-color: var(--nys-color-focus, #004dd1);--_nys-radiobutton-outline-width: var(--nys-border-width-md, 2px);--_nys-radiobutton-outline-offset: var(--nys-space-2px, 2px);--_nys-radiobutton-gap: var(--nys-space-150, 12px);--_nys-radiogroup-gap: var(--nys-space-200, 16px);--_nys-radiobutton-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-radiobutton-font-size: var(--nys-font-size-ui-md, 16px);--_nys-radiobutton-font-weight--label: var(--nys-font-weight-regular, 400);--_nys-radiobutton-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-radiobutton-color: var( --nys-color-text, var(--nys-color-neutral-900, #1b1b1b) );--_nys-radiobutton-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-radiobutton-border-color: var(--nys-color-neutral-600, #62666a);--_nys-radiobutton-background-color--hover: var( --nys-color-neutral-50, #ededed );--_nys-radiobutton-border-color--hover: var(--nys-color-ink, #1b1b1b);--_nys-radiobutton-background-color--active: var( --nys-color-neutral-100, #d0d0ce );--_nys-radiobutton-border-color--active: var(--nys-color-ink, #1b1b1b);--_nys-radiobutton-background-color--checked: var(--nys-color-theme, #154973);--_nys-radiobutton-background-color--disabled: var( --nys-color-ink-reverse, #f0f0f0 );--_nys-radiobutton-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-radiobutton-border-color--disabled: var( --nys-color-neutral-100, #d0d0ce );--_nys-radiobutton-background-color--checked--disabled: var( --nys-color-neutral-100, #d0d0ce );--_nys-radiobutton-border-color--checked--disabled: var( --nys-color-neutral-100, #d0d0ce )}:host([size=sm]){--_nys-radiobutton-size: var(--nys-size-300, 24px);--_nys-radiobutton-border-radius: var(--nys-radius-sm, 2px);--_nys-radiogroup-gap: var(--nys-space-100, 8px);--_nys-radiobutton-gap: var(--nys-space-100, 8px)}:host([size=md]){--_nys-radiobutton-size: var(--nys-size-400, 32px);--_nys-radiobutton-border-radius: var(--nys-radius-md, 4px);--_nys-radiogroup-gap: var(--nys-space-200, 16px);--_nys-radiobutton-gap: var(--nys-space-150, 12px)}:host([tile]){--_nys-radiobutton-font-weight--label: var(--nys-font-weight-semibold, 600);--_nys-radiobutton-border-width--tile: var(--nys-border-width-sm, 1px);--_nys-radiobutton-border-radius--tile: var(--nys-radius-md, 4px);--_nys-radiobutton-border-color--tile: var(--nys-color-neutral-100, #d0d0ce);--_nys-radiobutton-background-color--tile: var(--nys-color-ink-reverse, #ffffff);--_nys-radiobutton-padding--x--tile: var(--nys-space-250, 20px);--_nys-radiobutton-padding--y--tile: var(--nys-space-200, 16px);--_nys-radiobutton-border-color--tile--hover: var( --nys-color-neutral-700, #4a4d4f );--_nys-radiobutton-background-color--tile--hover: var( --nys-color-ink-reverse, #ffffff );--_nys-radiobutton-border-color--tile--active: var( --nys-color-neutral-900, #1b1b1b );--_nys-radiobutton-background-color--tile--active: var( --nys-color-ink-reverse, #ffffff );--_nys-radiobutton-border-color--tile--checked: var( --nys-color-theme-mid, #457aa5 );--_nys-radiobutton-background-color--tile--checked: var( --nys-color-theme-faint, #f7fafd );--_nys-radiobutton-border-color--tile--disabled: var( --nys-color-ink-reverse, #f0f0f0 );--_nys-radiobutton-background-color--tile--disabled: var( --nys-color-neutral-100, #d0d0ce )}:host([tile][size=sm]){--_nys-radiobutton-padding--x--tile: var(--nys-space-200, 16px);--_nys-radiobutton-padding--y--tile: var(--nys-space-150, 12px)}:host([tile][showError]){--_nys-radiobutton-border-color--tile: var(--nys-color-danger, #b52c2c);--_nys-radiobutton-border-color--tile--hover: var( --nys-color-danger, #b52c2c );--_nys-radiobutton-border-color--tile--active: var( --nys-color-danger, #b52c2c );--_nys-radiobutton-border-color--tile--checked: var( --nys-color-danger, #b52c2c )}:host([inverted]){--_nys-radiobutton-outline-color: var(--nys-color-focus-reverse, #7aa5e7)}.nys-radiogroup{display:flex;flex-direction:column;gap:var(--nys-space-200, 16px);font-family:var(--_nys-radiobutton-font-family);font-size:var(--_nys-radiobutton-font-size);line-height:var(--_nys-radiobutton-line-height)}.nys-radiogroup__content{gap:var(--_nys-radiogroup-gap);display:flex;flex-direction:column}.nys-radiobutton{display:flex;flex-direction:column;font-family:var(--_nys-radiobutton-font-family);font-size:var(--_nys-radiobutton-font-size);line-height:var(--_nys-radiobutton-line-height);border-radius:var(--_nys-radiobutton-border-radius--tile);border:var(--_nys-radiobutton-border-width--tile) solid var(--_nys-radiobutton-border-color--tile);background-color:var(--_nys-radiobutton-background-color--tile);padding:var(--_nys-radiobutton-padding--y--tile) var(--_nys-radiobutton-padding--x--tile)}.nys-radiobutton__radio{appearance:none;width:var(--_nys-radiobutton-size);height:var(--_nys-radiobutton-size);min-width:var(--_nys-radiobutton-size);min-height:var(--_nys-radiobutton-size);max-width:var(--_nys-radiobutton-size);max-height:var(--_nys-radiobutton-size);border:solid var(--_nys-radiobutton-border-width) var(--_nys-radiobutton-border-color);background-color:var(--_nys-radiobutton-background-color);border-radius:100%;background-repeat:no-repeat;background-position:center;background-size:contain;outline-offset:var(--_nys-radiobutton-outline-offset);outline:none;margin:0 0 auto;box-sizing:border-box}.nys-radiobutton:hover,.nys-radiobutton:hover *{cursor:pointer}input:not(:disabled):checked+.nys-radiobutton .nys-radiobutton__radio{background-image:url('data:image/svg+xml;utf8,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="11" cy="11" r="11" stroke="white" stroke-width="6"/></svg>');background-color:var(--_nys-radiobutton-background-color--checked)}:host([tile]) .nys-radiobutton:has(input:not(:disabled):checked)+.nys-radiobutton .nys-radiobutton__radio{border-color:var(--_nys-radiobutton-border-color--tile--checked);background-color:var(--_nys-radiobutton-background-color--tile--checked)}:host([tile]) .nys-radiobutton:has(input:not(:disabled):checked:hover)+.nys-radiobutton .nys-radiobutton__radio{cursor:default}input:disabled:checked+.nys-radiobutton .nys-radiobutton__radio{background-image:url('data:image/svg+xml;utf8,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="11" cy="11" r="11" stroke="white" stroke-width="6"/></svg>');border-color:var(--_nys-radiobutton-border-color--checked--disabled);background-color:var(--_nys-radiobutton-background-color--checked--disabled)}:host([tile]) .nys-radiobutton:has(input:disabled:checked)+.nys-radiobutton .nys-radiobutton__radio{border-color:var(--_nys-radiobutton-background-color--tile--disabled);background-color:var(--_nys-radiobutton-border-color--tile--disabled)}input:disabled+.nys-radiobutton,input:disabled+.nys-radiobutton *{cursor:not-allowed}input:disabled+.nys-radiobutton .nys-radiobutton__radio{background-color:var(--_nys-radiobutton-background-color--disabled);border-color:var(--_nys-radiobutton-border-color--disabled);cursor:not-allowed}:host([tile]) .nys-radiobutton:has(input:disabled)+.nys-radiobutton .nys-radiobutton__radio{background-color:var(--_nys-radiobutton-background-color--disabled);border-color:var(--_nys-radiobutton-border-color--disabled);cursor:not-allowed}input:hover:not(:disabled):not(:checked)+.nys-radiobutton .nys-radiobutton__radio,input:not(:disabled):not(:checked)+.nys-radiobutton:hover .nys-radiobutton__radio{border-color:var(--_nys-radiobutton-border-color--hover);background-color:var(--_nys-radiobutton-background-color--hover)}:host([tile]) input:not(:disabled):not(:checked)+.nys-radiobutton:hover{border-color:var(--_nys-radiobutton-border-color--tile--hover);background-color:var(--_nys-radiobutton-background-color--tile--hover);outline:solid var(--_nys-radiobutton-border-width--tile) var(--_nys-radiobutton-border-color--tile--hover)}input:active:not(:disabled):not(:checked)+.nys-radiobutton .nys-radiobutton__radio,input:not(:disabled):not(:checked)+.nys-radiobutton:active .nys-radiobutton__radio{border-color:var(--_nys-radiobutton-border-color--active);background-color:var(--_nys-radiobutton-background-color--active)}:host([tile]) input:not(:disabled):not(:checked)+.nys-radiobutton:active{border-color:var(--_nys-radiobutton-border-color--tile--active);background-color:var(--_nys-radiobutton-background-color--tile--active);outline:solid var(--_nys-radiobutton-border-width--tile) var(--_nys-radiobutton-border-color--tile--active)}:host(:focus-visible){outline:none}:host(:focus-visible) .nys-radiobutton__radio{outline:solid var(--_nys-radiobutton-outline-width) var(--_nys-radiobutton-outline-color)}input:focus-visible+.nys-radiobutton .nys-radiobutton__radio,.nys-radiobutton:has(:focus-visible) .nys-radiobutton__radio{outline:solid var(--_nys-radiobutton-outline-width) var(--_nys-radiobutton-outline-color);outline-offset:var(--_nys-radiobutton-outline-offset)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.nys-radiobutton__main-container{display:flex;align-items:center}.nys-radiobutton__other-container{display:flex;padding-inline-start:calc(var(--_nys-radiobutton-size) + var(--_nys-radiobutton-gap))}.nys-radiobutton__main-container>nys-label{--_nys-label-font-weight: var(--_nys-radiobutton-font-weight--label);display:flex;padding-inline-start:var(--_nys-radiobutton-gap)}:host([tile]) .nys-radiobutton__main-container>nys-label{--_nys-description-font-style: normal}input:disabled+.nys-radiobutton .nys-radiobutton__main-container>nys-label,input:disabled+.nys-radiobutton .nys-radiobutton__main-container>nys-label *{cursor:not-allowed;--_nys-label-cursor: not-allowed;--_nys-label-color: var(--_nys-radiobutton-color--disabled);--_nys-description-color: var(--_nys-radiobutton-color--disabled);color:var(--_nys-radiobutton-color--disabled)}fieldset{all:unset;display:contents}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}`;
|
|
5270
|
-
var tr = Object.defineProperty,
|
|
5335
|
+
var tr = Object.defineProperty, F = (r, e, t, s) => {
|
|
5271
5336
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
5272
5337
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
5273
5338
|
return o && tr(e, t, o), o;
|
|
5274
5339
|
};
|
|
5275
5340
|
let sr = 0;
|
|
5276
|
-
const
|
|
5341
|
+
const Xe = class Xe extends f {
|
|
5277
5342
|
// allows use of elementInternals' API
|
|
5278
5343
|
constructor() {
|
|
5279
5344
|
super(), this.id = "", this.name = "", this.required = !1, this.optional = !1, this.showError = !1, this.errorMessage = "", this.label = "", this.description = "", this.tile = !1, this.tooltip = "", this.inverted = !1, this.form = null, this.size = "md", this.selectedValue = null, this._slottedDescriptionText = "", this._internals = this.attachInternals();
|
|
@@ -5468,65 +5533,65 @@ const Qe = class Qe extends f {
|
|
|
5468
5533
|
</fieldset>`;
|
|
5469
5534
|
}
|
|
5470
5535
|
};
|
|
5471
|
-
|
|
5536
|
+
Xe.styles = g(N1), Xe.shadowRootOptions = {
|
|
5472
5537
|
...f.shadowRootOptions,
|
|
5473
5538
|
delegatesFocus: !0
|
|
5474
|
-
},
|
|
5475
|
-
let O =
|
|
5476
|
-
|
|
5539
|
+
}, Xe.formAssociated = !0;
|
|
5540
|
+
let O = Xe;
|
|
5541
|
+
F([
|
|
5477
5542
|
a({ type: String, reflect: !0 })
|
|
5478
5543
|
], O.prototype, "id");
|
|
5479
|
-
|
|
5544
|
+
F([
|
|
5480
5545
|
a({ type: String, reflect: !0 })
|
|
5481
5546
|
], O.prototype, "name");
|
|
5482
|
-
|
|
5547
|
+
F([
|
|
5483
5548
|
a({ type: Boolean, reflect: !0 })
|
|
5484
5549
|
], O.prototype, "required");
|
|
5485
|
-
|
|
5550
|
+
F([
|
|
5486
5551
|
a({ type: Boolean, reflect: !0 })
|
|
5487
5552
|
], O.prototype, "optional");
|
|
5488
|
-
|
|
5553
|
+
F([
|
|
5489
5554
|
a({ type: Boolean, reflect: !0 })
|
|
5490
5555
|
], O.prototype, "showError");
|
|
5491
|
-
|
|
5556
|
+
F([
|
|
5492
5557
|
a({ type: String })
|
|
5493
5558
|
], O.prototype, "errorMessage");
|
|
5494
|
-
|
|
5559
|
+
F([
|
|
5495
5560
|
a({ type: String })
|
|
5496
5561
|
], O.prototype, "label");
|
|
5497
|
-
|
|
5562
|
+
F([
|
|
5498
5563
|
a({ type: String })
|
|
5499
5564
|
], O.prototype, "description");
|
|
5500
|
-
|
|
5565
|
+
F([
|
|
5501
5566
|
a({ type: Boolean, reflect: !0 })
|
|
5502
5567
|
], O.prototype, "tile");
|
|
5503
|
-
|
|
5568
|
+
F([
|
|
5504
5569
|
a({ type: String })
|
|
5505
5570
|
], O.prototype, "tooltip");
|
|
5506
|
-
|
|
5571
|
+
F([
|
|
5507
5572
|
a({ type: Boolean, reflect: !0 })
|
|
5508
5573
|
], O.prototype, "inverted");
|
|
5509
|
-
|
|
5574
|
+
F([
|
|
5510
5575
|
a({ type: String, reflect: !0 })
|
|
5511
5576
|
], O.prototype, "form");
|
|
5512
|
-
|
|
5577
|
+
F([
|
|
5513
5578
|
a({ type: String, reflect: !0 })
|
|
5514
5579
|
], O.prototype, "size");
|
|
5515
|
-
|
|
5580
|
+
F([
|
|
5516
5581
|
_()
|
|
5517
5582
|
], O.prototype, "selectedValue");
|
|
5518
|
-
|
|
5583
|
+
F([
|
|
5519
5584
|
_()
|
|
5520
5585
|
], O.prototype, "_slottedDescriptionText");
|
|
5521
5586
|
customElements.get("nys-radiogroup") || customElements.define("nys-radiogroup", O);
|
|
5522
|
-
var or = Object.defineProperty,
|
|
5587
|
+
var or = Object.defineProperty, N = (r, e, t, s) => {
|
|
5523
5588
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
5524
5589
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
5525
5590
|
return o && or(e, t, o), o;
|
|
5526
5591
|
};
|
|
5527
5592
|
let rr = 0;
|
|
5528
5593
|
var k;
|
|
5529
|
-
const
|
|
5594
|
+
const Z = (k = class extends f {
|
|
5530
5595
|
constructor() {
|
|
5531
5596
|
super(...arguments), this.checked = !1, this.disabled = !1, this.required = !1, this.label = "", this.description = "", this.id = "", this.name = "", this.value = "", this.inverted = !1, this.form = null, this.size = "md", this.tile = !1, this.other = !1, this.showOtherError = !1, this.isMobile = window.innerWidth < 480, this._hasUserInteracted = !1, this._handleResize = () => {
|
|
5532
5597
|
this.isMobile = window.innerWidth < 480;
|
|
@@ -5713,59 +5778,59 @@ const U = (k = class extends f {
|
|
|
5713
5778
|
...f.shadowRootOptions,
|
|
5714
5779
|
delegatesFocus: !0
|
|
5715
5780
|
}, k.buttonGroup = {}, k);
|
|
5716
|
-
|
|
5781
|
+
N([
|
|
5717
5782
|
a({ type: Boolean, reflect: !0 })
|
|
5718
|
-
],
|
|
5719
|
-
|
|
5783
|
+
], Z.prototype, "checked");
|
|
5784
|
+
N([
|
|
5720
5785
|
a({ type: Boolean, reflect: !0 })
|
|
5721
|
-
],
|
|
5722
|
-
|
|
5786
|
+
], Z.prototype, "disabled");
|
|
5787
|
+
N([
|
|
5723
5788
|
a({ type: Boolean, reflect: !0 })
|
|
5724
|
-
],
|
|
5725
|
-
|
|
5789
|
+
], Z.prototype, "required");
|
|
5790
|
+
N([
|
|
5726
5791
|
a({ type: String })
|
|
5727
|
-
],
|
|
5728
|
-
|
|
5792
|
+
], Z.prototype, "label");
|
|
5793
|
+
N([
|
|
5729
5794
|
a({ type: String })
|
|
5730
|
-
],
|
|
5731
|
-
|
|
5795
|
+
], Z.prototype, "description");
|
|
5796
|
+
N([
|
|
5732
5797
|
a({ type: String, reflect: !0 })
|
|
5733
|
-
],
|
|
5734
|
-
|
|
5798
|
+
], Z.prototype, "id");
|
|
5799
|
+
N([
|
|
5735
5800
|
a({ type: String, reflect: !0 })
|
|
5736
|
-
],
|
|
5737
|
-
|
|
5801
|
+
], Z.prototype, "name");
|
|
5802
|
+
N([
|
|
5738
5803
|
a({ type: String })
|
|
5739
|
-
],
|
|
5740
|
-
|
|
5804
|
+
], Z.prototype, "value");
|
|
5805
|
+
N([
|
|
5741
5806
|
a({ type: Boolean, reflect: !0 })
|
|
5742
|
-
],
|
|
5743
|
-
|
|
5807
|
+
], Z.prototype, "inverted");
|
|
5808
|
+
N([
|
|
5744
5809
|
a({ type: String, reflect: !0 })
|
|
5745
|
-
],
|
|
5746
|
-
|
|
5810
|
+
], Z.prototype, "form");
|
|
5811
|
+
N([
|
|
5747
5812
|
a({ type: String, reflect: !0 })
|
|
5748
|
-
],
|
|
5749
|
-
|
|
5813
|
+
], Z.prototype, "size");
|
|
5814
|
+
N([
|
|
5750
5815
|
a({ type: Boolean, reflect: !0 })
|
|
5751
|
-
],
|
|
5752
|
-
|
|
5816
|
+
], Z.prototype, "tile");
|
|
5817
|
+
N([
|
|
5753
5818
|
a({ type: Boolean, reflect: !0 })
|
|
5754
|
-
],
|
|
5755
|
-
|
|
5819
|
+
], Z.prototype, "other");
|
|
5820
|
+
N([
|
|
5756
5821
|
a({ type: Boolean })
|
|
5757
|
-
],
|
|
5758
|
-
|
|
5822
|
+
], Z.prototype, "showOtherError");
|
|
5823
|
+
N([
|
|
5759
5824
|
_()
|
|
5760
|
-
],
|
|
5761
|
-
let nr =
|
|
5825
|
+
], Z.prototype, "isMobile");
|
|
5826
|
+
let nr = Z;
|
|
5762
5827
|
customElements.get("nys-radiobutton") || customElements.define("nys-radiobutton", nr);
|
|
5763
|
-
var ir = Object.defineProperty,
|
|
5828
|
+
var ir = Object.defineProperty, lt = (r, e, t, s) => {
|
|
5764
5829
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
5765
5830
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
5766
5831
|
return o && ir(e, t, o), o;
|
|
5767
5832
|
};
|
|
5768
|
-
class
|
|
5833
|
+
class me extends f {
|
|
5769
5834
|
constructor() {
|
|
5770
5835
|
super(...arguments), this.disabled = !1, this.selected = !1, this.value = "", this.label = "", this.hidden = !1;
|
|
5771
5836
|
}
|
|
@@ -5790,30 +5855,30 @@ class Ce extends f {
|
|
|
5790
5855
|
`;
|
|
5791
5856
|
}
|
|
5792
5857
|
}
|
|
5793
|
-
|
|
5858
|
+
lt([
|
|
5794
5859
|
a({ type: Boolean, reflect: !0 })
|
|
5795
|
-
],
|
|
5796
|
-
|
|
5860
|
+
], me.prototype, "disabled");
|
|
5861
|
+
lt([
|
|
5797
5862
|
a({ type: Boolean, reflect: !0 })
|
|
5798
|
-
],
|
|
5799
|
-
|
|
5863
|
+
], me.prototype, "selected");
|
|
5864
|
+
lt([
|
|
5800
5865
|
a({ type: String })
|
|
5801
|
-
],
|
|
5802
|
-
|
|
5866
|
+
], me.prototype, "value");
|
|
5867
|
+
lt([
|
|
5803
5868
|
a({ type: String })
|
|
5804
|
-
],
|
|
5805
|
-
|
|
5869
|
+
], me.prototype, "label");
|
|
5870
|
+
lt([
|
|
5806
5871
|
a({ type: Boolean, reflect: !0 })
|
|
5807
|
-
],
|
|
5808
|
-
customElements.define("nys-option",
|
|
5872
|
+
], me.prototype, "hidden");
|
|
5873
|
+
customElements.define("nys-option", me);
|
|
5809
5874
|
const ar = ':host{--_nys-select-width: 100%;--_nys-select-height: var(--nys-size-500, 40px);--_nys-select-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-select-font-size: var(--nys-font-size-ui-md, 16px);--_nys-select-font-weight: var(--nys-font-weight-regular, 400);--_nys-select-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-select-gap: var(--nys-space-50, 4px);--_nys-select-border-radius: var(--nys-radius-md, 4px);--_nys-select-padding: var(--nys-space-100, 8px) var(--nys-space-400, 32px) var(--nys-space-100, 8px) var(--nys-space-100, 8px);--_nys-select-color: var(--nys-color-text, #1b1b1b);--_nys-select-color--error: var( --nys-color-danger, var(--nys-color-red-600, #b52c2c) );--_nys-select-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-select-background-color--disabled: var( --nys-color-neutral-10, #f6f6f6 );--_nys-select-color--disabled: var(--nys-color-text-disabled, #bec0c1);--_nys-select-border-width: var(--nys-border-width-sm, 1px);--_nys-select-border-color: var(--nys-color-neutral-400, #909395);--_nys-select-border-color--hover: var(--nys-color-neutral-900, #1b1b1b);--_nys-select-border-color--focus: var(--nys-color-focus, #004dd1);--_nys-select-border-color--disabled: var(--nys-color-neutral-200, #bec0c1);--_nys-select-border-default: var(--nys-border-width-sm, 1px) solid var(--nys-color-neutral-400, #909395)}:host([inverted]){--_nys-select-border-color--focus: var(--nys-color-focus-reverse, #7aa5e7)}.nys-select{display:flex;flex-direction:column;gap:var(--_nys-select-gap);font-family:var(--_nys-select-font-family)}.nys-select__select{color:var(--_nys-select-color);font-weight:var(--_nys-select-font-weight);font-family:var(--_nys-select-font-family);border-radius:var(--_nys-select-border-radius);border:solid var(--_nys-select-border-width) var(--_nys-select-border-color);font-size:var(--_nys-select-font-size);padding:var(--_nys-select-padding);width:var(--_nys-select-width);height:var(--_nys-select-height);max-width:100%;text-indent:1px;background:var(--_nys-select-background-color);appearance:none;text-overflow:ellipsis}.nys-select__selectwrapper{position:relative;display:inline-block;width:var(--_nys-select-width);max-width:100%}.nys-select__icon{color:var(--_nys-select-color);position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none}:host([width=sm]){--_nys-select-width: var(--nys-select-form-width-sm, 88px)}:host([width=md]){--_nys-select-width: var(--nys-select-form-width-md, 200px)}:host([width=lg]){--_nys-select-width: var(--nys-select-form-width-lg, 384px)}:host([width=full]){--_nys-select-width: 100%;flex:1}.nys-select__select:hover:not(:disabled){cursor:pointer;border-color:var(--_nys-select-border-color--hover);outline:solid var(--_nys-select-border-width) var(--_nys-select-border-color--hover)}.nys-select__select:focus{border-color:var(--_nys-select-border-color--focus);outline:solid var(--_nys-select-border-width) var(--_nys-select-border-color--focus)}.nys-select__select:disabled{background-color:var(--_nys-select-background-color--disabled);border-color:var(--_nys-select-border-color--disabled);cursor:not-allowed;color:var(--_nys-select-color--disabled)}.nys-select__select:disabled~.nys-select__icon{color:var(--_nys-select-color--disabled)}:host([showError]){--_nys-select-border-default: var(--nys-border-width-sm, 1px) solid var(--_nys-select-color--error)}';
|
|
5810
|
-
var lr = Object.defineProperty,
|
|
5875
|
+
var lr = Object.defineProperty, W = (r, e, t, s) => {
|
|
5811
5876
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
5812
5877
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
5813
5878
|
return o && lr(e, t, o), o;
|
|
5814
5879
|
};
|
|
5815
5880
|
let cr = 0;
|
|
5816
|
-
const
|
|
5881
|
+
const Je = class Je extends f {
|
|
5817
5882
|
// allows use of elementInternals' API
|
|
5818
5883
|
constructor() {
|
|
5819
5884
|
super(), this.id = "", this.name = "", this.label = "", this.description = "", this.value = "", this.disabled = !1, this.required = !1, this.optional = !1, this.tooltip = "", this.form = null, this.inverted = !1, this.showError = !1, this.errorMessage = "", this.width = "full", this._originalErrorMessage = "", this._hasUserInteracted = !1, this._internals = this.attachInternals();
|
|
@@ -5838,7 +5903,7 @@ const Xe = class Xe extends f {
|
|
|
5838
5903
|
Array.from(t.children).forEach((n) => {
|
|
5839
5904
|
n.hasAttribute("data-native") || n.remove();
|
|
5840
5905
|
}), e.assignedElements({ flatten: !0 }).forEach((n) => {
|
|
5841
|
-
if (n instanceof
|
|
5906
|
+
if (n instanceof me) {
|
|
5842
5907
|
const i = document.createElement("option");
|
|
5843
5908
|
i.value = n.value, i.textContent = n.label || n.textContent?.trim() || "", i.disabled = n.disabled, i.selected = n.selected, t.appendChild(i);
|
|
5844
5909
|
return;
|
|
@@ -5851,7 +5916,7 @@ const Xe = class Xe extends f {
|
|
|
5851
5916
|
if (n.tagName === "OPTGROUP") {
|
|
5852
5917
|
const i = document.createElement("optgroup");
|
|
5853
5918
|
i.label = n.label, n.disabled && (i.disabled = !0), Array.from(n.children).forEach((l) => {
|
|
5854
|
-
if (l instanceof
|
|
5919
|
+
if (l instanceof me) {
|
|
5855
5920
|
const c = document.createElement("option");
|
|
5856
5921
|
c.value = l.value, c.textContent = l.label || l.textContent?.trim() || "", c.disabled = l.disabled, c.selected = l.selected, i.appendChild(c);
|
|
5857
5922
|
} else if (l.tagName === "OPTION") {
|
|
@@ -5995,51 +6060,51 @@ const Xe = class Xe extends f {
|
|
|
5995
6060
|
`;
|
|
5996
6061
|
}
|
|
5997
6062
|
};
|
|
5998
|
-
|
|
6063
|
+
Je.styles = g(ar), Je.shadowRootOptions = {
|
|
5999
6064
|
...f.shadowRootOptions,
|
|
6000
6065
|
delegatesFocus: !0
|
|
6001
|
-
},
|
|
6002
|
-
let H =
|
|
6003
|
-
|
|
6066
|
+
}, Je.formAssociated = !0;
|
|
6067
|
+
let H = Je;
|
|
6068
|
+
W([
|
|
6004
6069
|
a({ type: String, reflect: !0 })
|
|
6005
6070
|
], H.prototype, "id");
|
|
6006
|
-
|
|
6071
|
+
W([
|
|
6007
6072
|
a({ type: String, reflect: !0 })
|
|
6008
6073
|
], H.prototype, "name");
|
|
6009
|
-
|
|
6074
|
+
W([
|
|
6010
6075
|
a({ type: String })
|
|
6011
6076
|
], H.prototype, "label");
|
|
6012
|
-
|
|
6077
|
+
W([
|
|
6013
6078
|
a({ type: String })
|
|
6014
6079
|
], H.prototype, "description");
|
|
6015
|
-
|
|
6080
|
+
W([
|
|
6016
6081
|
a({ type: String })
|
|
6017
6082
|
], H.prototype, "value");
|
|
6018
|
-
|
|
6083
|
+
W([
|
|
6019
6084
|
a({ type: Boolean, reflect: !0 })
|
|
6020
6085
|
], H.prototype, "disabled");
|
|
6021
|
-
|
|
6086
|
+
W([
|
|
6022
6087
|
a({ type: Boolean, reflect: !0 })
|
|
6023
6088
|
], H.prototype, "required");
|
|
6024
|
-
|
|
6089
|
+
W([
|
|
6025
6090
|
a({ type: Boolean, reflect: !0 })
|
|
6026
6091
|
], H.prototype, "optional");
|
|
6027
|
-
|
|
6092
|
+
W([
|
|
6028
6093
|
a({ type: String })
|
|
6029
6094
|
], H.prototype, "tooltip");
|
|
6030
|
-
|
|
6095
|
+
W([
|
|
6031
6096
|
a({ type: String, reflect: !0 })
|
|
6032
6097
|
], H.prototype, "form");
|
|
6033
|
-
|
|
6098
|
+
W([
|
|
6034
6099
|
a({ type: Boolean, reflect: !0 })
|
|
6035
6100
|
], H.prototype, "inverted");
|
|
6036
|
-
|
|
6101
|
+
W([
|
|
6037
6102
|
a({ type: Boolean, reflect: !0 })
|
|
6038
6103
|
], H.prototype, "showError");
|
|
6039
|
-
|
|
6104
|
+
W([
|
|
6040
6105
|
a({ type: String })
|
|
6041
6106
|
], H.prototype, "errorMessage");
|
|
6042
|
-
|
|
6107
|
+
W([
|
|
6043
6108
|
a({ type: String, reflect: !0 })
|
|
6044
6109
|
], H.prototype, "width");
|
|
6045
6110
|
customElements.get("nys-select") || customElements.define("nys-select", H);
|
|
@@ -6049,7 +6114,7 @@ var hr = Object.defineProperty, j1 = (r, e, t, s) => {
|
|
|
6049
6114
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
6050
6115
|
return o && hr(e, t, o), o;
|
|
6051
6116
|
};
|
|
6052
|
-
const
|
|
6117
|
+
const Jt = class Jt extends f {
|
|
6053
6118
|
constructor() {
|
|
6054
6119
|
super(), this.id = "", this.href = "";
|
|
6055
6120
|
}
|
|
@@ -6088,22 +6153,22 @@ const Qt = class Qt extends f {
|
|
|
6088
6153
|
`;
|
|
6089
6154
|
}
|
|
6090
6155
|
};
|
|
6091
|
-
|
|
6092
|
-
let
|
|
6156
|
+
Jt.styles = g(dr);
|
|
6157
|
+
let rt = Jt;
|
|
6093
6158
|
j1([
|
|
6094
6159
|
a({ type: String, reflect: !0 })
|
|
6095
|
-
],
|
|
6160
|
+
], rt.prototype, "id");
|
|
6096
6161
|
j1([
|
|
6097
6162
|
a({ type: String })
|
|
6098
|
-
],
|
|
6099
|
-
customElements.get("nys-skipnav") || customElements.define("nys-skipnav",
|
|
6163
|
+
], rt.prototype, "href");
|
|
6164
|
+
customElements.get("nys-skipnav") || customElements.define("nys-skipnav", rt);
|
|
6100
6165
|
const Y1 = ':host{--_nys-stepper-font-size: var(--nys-font-size-ui-md, 16px);--_nys-stepper-font-weight: var(--nys-font-weight-semibold, 600);--_nys-stepper-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-stepper-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-step-color: var(--nys-color-text, #1b1b1b);--_nys-stepper-background-color: var(--nys-color-surface-raised, #f6f6f6)}.nys-stepper{font-family:var(--_nys-stepper-font-family);font-size:var(--_nys-stepper-font-size);font-weight:var(--_nys-stepper-font-weight);line-height:var(--_nys-stepper-line-height);display:flex;flex-direction:column;counter-reset:step;background-color:var(--_nys-stepper-background-color);max-width:100%;height:100%}.nys-stepper__header{display:flex;flex-direction:column;padding:var(--nys-space-400, 32px) var(--nys-space-400, 32px) var(--nys-space-150, 12px)}::slotted(div[slot=actions]){display:flex;flex-wrap:wrap;justify-content:flex-start;gap:var(--nys-space-100, 8px);margin-bottom:var(--nys-space-300, 24px)}.nys-stepper__counter{display:none;text-decoration:underline;text-decoration-style:solid;text-decoration-skip-ink:auto;text-decoration-thickness:7%;text-underline-offset:auto;text-underline-position:from-font;color:var(--nys-color-text, #1b1b1b);text-overflow:ellipsis;font-family:var(--nys-font-family-ui, "Proxima Nova");font-size:var(--nys-font-size-ui-md, 16px);font-style:normal;font-weight:400;line-height:var(--nys-font-size-ui-md, 16px);cursor:pointer;width:fit-content}.nys-stepper__steps{display:flex;flex-direction:column;padding:var(--nys-space-150, 12px) var(--nys-space-400, 32px) var(--nys-space-400, 32px);overflow-y:scroll;height:fit-content;height:-moz-available;scrollbar-width:none;background:linear-gradient(var(--nys-color-surface-raised, #f6f6f6) 30%,rgba(255,255,255,0)) center top,linear-gradient(rgba(255,255,255,0),var(--nys-color-surface-raised, #f6f6f6) 70%) center bottom,linear-gradient(to bottom,#63636333,#0000) top,linear-gradient(to top,#63636333,#0000) bottom;background-repeat:no-repeat;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll;background-color:var(--nys-color-surface-raised, #f6f6f6)}.nys-step{position:relative;counter-increment:step;display:flex;flex-direction:column}.nys-step__contentwrapper{display:flex;flex-direction:row;align-items:center;gap:var(--nys-space-150, 12px);cursor:default;width:fit-content}.nys-step__contentwrapper:focus-visible{outline:solid var(--nys-color-focus, #004dd1) var(--nys-border-width-md, 2px);outline-offset:var(--nys-space-2px, 2px);border-radius:var(--nys-radius-md, 4px)}.nys-step__linewrapper{width:24px;display:flex;justify-content:center}.nys-step__line{width:var(--nys-size-1px, 1px);height:var(--nys-size-300, 24px);border-radius:var(--nys-radius-round, 1776px);background:var(--nys-color-black-transparent-200, rgba(27, 27, 27, .2));margin:var(--nys-space-100, 8px) 0}.nys-step__number{border-radius:var(--nys-radius-round, 1776px);border:var(--nys-size-1px, 1px) solid var(--nys-color-neutral-400, #909395);background:var(--nys-color-white-transparent-900, rgba(255, 255, 255, .9));width:var(--nys-size-300, 24px);min-width:var(--nys-size-300, 24px);max-width:var(--nys-size-300, 24px);height:var(--nys-size-300, 24px);min-height:var(--nys-size-300, 24px);max-height:var(--nys-size-300, 24px);display:flex;align-items:center;justify-content:center;text-align:center;color:var(--nys-color-text, #1b1b1b)}:host([previous]) .nys-step__number,:host([previous]) .nys-step__line,:host([current]) .nys-step__number,:host([current]) .nys-step__line{background-color:var(--nys-color-theme-stronger, #081b2b);color:var(--nys-color-text-reverse, #ffffff);border-color:var(--nys-color-theme-stronger, #081b2b)}:host([selected]) .nys-step__number{background-color:var(--nys-color-theme, #154973);color:var(--nys-color-text-reverse, #ffffff);border-color:var(--nys-color-theme, #154973);outline:var(--nys-size-50, 4px) solid var(--nys-color-theme-weak, #cddde9)}:host([first]) .nys-step__linewrapper{display:none!important}.nys-step__content{display:flex;flex-direction:column;gap:var(--nys-space-100, 8px)}.nys-step__label{color:var(--_nys-step-color);font-family:var(--_nys-stepper-font-family);font-size:var(--_nys-stepper-font-size);font-weight:var(--_nys-stepper-font-weight);line-height:var(--_nys-stepper-line-height);line-height:var(--nys-font-size-ui-md, 16px);letter-spacing:var(--nys-font-letterspacing-ui-md, .044px);text-decoration-style:solid;text-decoration-skip-ink:auto;text-decoration-thickness:var(7%, 1.12px);text-underline-offset:auto}:host([current]) .nys-step__label,:host([previous]) .nys-step__label{text-decoration-line:underline}:host([current]) .nys-step__contentwrapper,:host([previous]) .nys-step__contentwrapper{cursor:pointer}:host([selected]) .nys-step__label{font-weight:700;text-decoration-line:none}:host([selected]) .nys-step__contentwrapper{cursor:default}:host([selected]) .nys-step__contentwrapper:focus-visible{outline-offset:6px}@media(max-width:1023px){.nys-stepper{max-width:1023px;width:100%}.nys-stepper__header{flex-direction:row-reverse;justify-content:space-between;padding:var(--nys-space-150, 12px);gap:var(--nys-space-200, 16px)}.nys-stepper__headertext{flex:1 1 0;min-width:0}::slotted(div[slot=actions]){margin-bottom:0;min-width:0;justify-content:end}.nys-stepper__counter{display:block}.nys-stepper__steps{flex-direction:row;gap:var(--nys-space-2px, 2px);padding:0}.nys-stepper__steps::slotted(*){flex:1}.nys-step__number{border-radius:0;border:none;background-color:var(--nys-color-neutral-200, #bec0c1);height:var(--nys-size-100, 8px);min-height:var(--nys-size-100, 8px);max-height:var(--nys-size-100, 8px);width:100%;min-width:100%;max-width:100%;color:transparent}:host([previous]) .nys-step__number,:host([current]) .nys-step__number{background-color:var(--nys-color-neutral-900, #1b1b1b);color:transparent}:host([selected]) .nys-step__number{background-color:var(--nys-color-theme-mid, #457aa5);outline:none}.nys-step__content,.nys-step__linewrapper{display:none}.nys-step__contentwrapper{cursor:default;pointer-events:none;width:auto}:host([isCompactExpanded]) .nys-step__content,:host([isCompactExpanded]) .nys-step__linewrapper{display:flex}:host([isCompactExpanded]) .nys-stepper__header{padding-bottom:var(--nys-space-250, 20px)}:host([isCompactExpanded]) .nys-stepper__steps{width:-webkit-fill-available;width:-moz-available;z-index:9999;overflow-y:auto;flex-direction:column;gap:0;padding:var(--nys-space-150, 12px) var(--nys-space-400, 32px) var(--nys-space-400, 32px)}:host([isCompactExpanded]) .nys-stepper__steps::slotted(*){flex:none}:host([isCompactExpanded]) .nys-step__number{border-radius:var(--nys-radius-round, 1776px);border:1px solid var(--nys-color-neutral-400, #909395);background:var(--nys-color-white-transparent-900, rgba(255, 255, 255, .9));width:var(--nys-space-300, 24px);min-width:var(--nys-space-300, 24px);max-width:var(--nys-space-300, 24px);height:var(--nys-space-300, 24px);min-height:var(--nys-space-300, 24px);max-height:var(--nys-space-300, 24px);color:var(--nys-color-text, #1b1b1b)}:host([isCompactExpanded][previous]) .nys-step__number,:host([isCompactExpanded][previous]) .nys-step__line,:host([isCompactExpanded][current]) .nys-step__number,:host([isCompactExpanded][current]) .nys-step__line{background:var(--nys-color-theme-stronger, #081b2b);color:var(--nys-color-text-reverse, #ffffff);border-color:var(--nys-color-theme-stronger, #081b2b)}:host([isCompactExpanded][selected]) .nys-step__number{background:var(--nys-color-theme, #154973);color:var(--nys-color-text-reverse, #ffffff);border-color:var(--nys-color-theme, #154973);outline:4px solid var(--nys-color-theme-weak, #cddde9)}:host([isCompactExpanded]) .nys-step__contentwrapper{pointer-events:all}}';
|
|
6101
6166
|
var ur = Object.defineProperty, Me = (r, e, t, s) => {
|
|
6102
6167
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
6103
6168
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
6104
6169
|
return o && ur(e, t, o), o;
|
|
6105
6170
|
};
|
|
6106
|
-
const
|
|
6171
|
+
const e1 = class e1 extends f {
|
|
6107
6172
|
constructor() {
|
|
6108
6173
|
super(...arguments), this.selected = !1, this.current = !1, this.label = "", this.href = "", this.isCompactExpanded = !1, this.stepNumber = 0;
|
|
6109
6174
|
}
|
|
@@ -6151,37 +6216,37 @@ const Xt = class Xt extends f {
|
|
|
6151
6216
|
`;
|
|
6152
6217
|
}
|
|
6153
6218
|
};
|
|
6154
|
-
|
|
6155
|
-
let
|
|
6219
|
+
e1.styles = g(Y1);
|
|
6220
|
+
let ie = e1;
|
|
6156
6221
|
Me([
|
|
6157
6222
|
a({ type: Boolean, reflect: !0 })
|
|
6158
|
-
],
|
|
6223
|
+
], ie.prototype, "selected");
|
|
6159
6224
|
Me([
|
|
6160
6225
|
a({ type: Boolean, reflect: !0 })
|
|
6161
|
-
],
|
|
6226
|
+
], ie.prototype, "current");
|
|
6162
6227
|
Me([
|
|
6163
6228
|
a({ type: String })
|
|
6164
|
-
],
|
|
6229
|
+
], ie.prototype, "label");
|
|
6165
6230
|
Me([
|
|
6166
6231
|
a({ type: String })
|
|
6167
|
-
],
|
|
6232
|
+
], ie.prototype, "href");
|
|
6168
6233
|
Me([
|
|
6169
6234
|
a({ type: Boolean })
|
|
6170
|
-
],
|
|
6235
|
+
], ie.prototype, "isCompactExpanded");
|
|
6171
6236
|
Me([
|
|
6172
6237
|
a({ attribute: !1 })
|
|
6173
|
-
],
|
|
6238
|
+
], ie.prototype, "onClick");
|
|
6174
6239
|
Me([
|
|
6175
6240
|
a({ type: Number })
|
|
6176
|
-
],
|
|
6177
|
-
customElements.get("nys-step") || customElements.define("nys-step",
|
|
6178
|
-
var pr = Object.defineProperty,
|
|
6241
|
+
], ie.prototype, "stepNumber");
|
|
6242
|
+
customElements.get("nys-step") || customElements.define("nys-step", ie);
|
|
6243
|
+
var pr = Object.defineProperty, ct = (r, e, t, s) => {
|
|
6179
6244
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
6180
6245
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
6181
6246
|
return o && pr(e, t, o), o;
|
|
6182
6247
|
};
|
|
6183
6248
|
let yr = 0;
|
|
6184
|
-
const
|
|
6249
|
+
const t1 = class t1 extends f {
|
|
6185
6250
|
constructor() {
|
|
6186
6251
|
super(), this.id = "", this.name = "", this.label = "", this.counterText = "initial", this.isCompactExpanded = !1, this._stepsNumbered = !1, this._onStepClick = async (e) => {
|
|
6187
6252
|
const t = e.composedPath().find(
|
|
@@ -6281,32 +6346,32 @@ const Jt = class Jt extends f {
|
|
|
6281
6346
|
`;
|
|
6282
6347
|
}
|
|
6283
6348
|
};
|
|
6284
|
-
|
|
6285
|
-
let
|
|
6286
|
-
|
|
6349
|
+
t1.styles = g(Y1);
|
|
6350
|
+
let we = t1;
|
|
6351
|
+
ct([
|
|
6287
6352
|
a({ type: String, reflect: !0 })
|
|
6288
|
-
],
|
|
6289
|
-
|
|
6353
|
+
], we.prototype, "id");
|
|
6354
|
+
ct([
|
|
6290
6355
|
a({ type: String, reflect: !0 })
|
|
6291
|
-
],
|
|
6292
|
-
|
|
6356
|
+
], we.prototype, "name");
|
|
6357
|
+
ct([
|
|
6293
6358
|
a({ type: String })
|
|
6294
|
-
],
|
|
6295
|
-
|
|
6359
|
+
], we.prototype, "label");
|
|
6360
|
+
ct([
|
|
6296
6361
|
a({ type: String })
|
|
6297
|
-
],
|
|
6298
|
-
|
|
6362
|
+
], we.prototype, "counterText");
|
|
6363
|
+
ct([
|
|
6299
6364
|
a({ type: Boolean, reflect: !0 })
|
|
6300
|
-
],
|
|
6301
|
-
customElements.get("nys-stepper") || customElements.define("nys-stepper",
|
|
6302
|
-
const fr = ':host{--_nys-table-width: 100%;--_nys-table-radius: var(--nys-radius-xl, 12px);--_nys-table-padding: var(--nys-space-100, 8px);--_nys-table-border-color: transparent;--_nys-table-border-width: 0;--_nys-table-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif));--_nys-table-font-size: var(--nys-font-size-ui-md, 16px);--_nys-table-font-weight: var(--nys-font-weight-regular, 400);--_nys-table-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-table-padding--caption: var(--nys-space-250, 20px) var(--nys-space-150, 12px);--_nys-table-font-size--caption: var(--nys-font-size-ui-lg, 18px);--_nys-table-font-weight--caption: var(--nys-font-weight-bold, 700);--_nys-table-padding--cell--x: var(--nys-space-150, 12px);--_nys-table-padding--cell--y: var(--nys-table-padding--cell--y, var(--nys-space-200, 16px));--_nys-table-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-table-background-color--striped: var(--nys-color-neutral-10, #f6f6f6);--_nys-table-color--code: var(--nys-color-red-600, #b52c2c);--_nys-table-background-color--code: var(--nys-color-neutral-10, #f6f6f6)}:host([bordered]){--_nys-table-border-color: var(--nys-color-neutral-100, #d0d0ce);--_nys-table-border-width: var(--nys-space-1px, 1px)}:host([download]){display:flex;flex-direction:column;gap:var(--nys-space-150, 12px)}.nys-table{width:var(--_nys-table-width);font:var(--_nys-table-font-weight) var(--_nys-table-font-size)/var(--_nys-table-line-height) var(--_nys-table-font-family)}.nys-table table{width:var(--_nys-table-width);border-collapse:collapse;background-color:var(--_nys-table-background-color)}.nys-table caption{padding:var(--_nys-table-padding--caption);font-size:var(--_nys-table-font-size--caption);font-weight:var(--_nys-table-font-weight--caption);text-align:start}.nys-table caption div{display:flex;justify-content:space-between;align-items:center}.nys-table td{padding:var(--_nys-table-padding--cell--y) var(--_nys-table-padding--cell--x);border:var(--_nys-table-border-width) solid var(--_nys-table-border-color)}.nys-table td code{color:var(--_nys-table-color--code);background-color:var(--_nys-table-background-color--code);padding:var(--nys-space-1px) var(--nys-space-2px);border-radius:var(--nys-radius-md)}.nys-table th{border:var(--_nys-table-border-width) solid var(--_nys-table-border-color);overflow:hidden;text-overflow:ellipsis;padding:var(--_nys-table-padding--cell--y) var(--_nys-table-padding--cell--x);text-align:left}.nys-table th:has(nys-button){padding:0}.nys-table th p{margin:0}.nys-table th nys-button{margin:0;width:-moz-available;width:-webkit-fill-available;width:fill-available;justify-content:space-between;--_nys-button-border-width: 0;--_nys-button-border-radius
|
|
6303
|
-
var vr = Object.defineProperty,
|
|
6365
|
+
], we.prototype, "isCompactExpanded");
|
|
6366
|
+
customElements.get("nys-stepper") || customElements.define("nys-stepper", we);
|
|
6367
|
+
const fr = ':host{--_nys-table-width: 100%;--_nys-table-radius: var(--nys-radius-xl, 12px);--_nys-table-padding: var(--nys-space-100, 8px);--_nys-table-border-color: transparent;--_nys-table-border-width: 0;--_nys-table-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif));--_nys-table-font-size: var(--nys-font-size-ui-md, 16px);--_nys-table-font-weight: var(--nys-font-weight-regular, 400);--_nys-table-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-table-padding--caption: var(--nys-space-250, 20px) var(--nys-space-150, 12px);--_nys-table-font-size--caption: var(--nys-font-size-ui-lg, 18px);--_nys-table-font-weight--caption: var(--nys-font-weight-bold, 700);--_nys-table-padding--cell--x: var(--nys-space-150, 12px);--_nys-table-padding--cell--y: var(--nys-table-padding--cell--y, var(--nys-space-200, 16px));--_nys-table-background-color: var(--nys-color-ink-reverse, #ffffff);--_nys-table-background-color--striped: var(--nys-color-neutral-10, #f6f6f6);--_nys-table-color--code: var(--nys-color-red-600, #b52c2c);--_nys-table-background-color--code: var(--nys-color-neutral-10, #f6f6f6)}:host([bordered]){--_nys-table-border-color: var(--nys-color-neutral-100, #d0d0ce);--_nys-table-border-width: var(--nys-space-1px, 1px)}:host([download]){display:flex;flex-direction:column;gap:var(--nys-space-150, 12px)}.nys-table{width:var(--_nys-table-width);font:var(--_nys-table-font-weight) var(--_nys-table-font-size)/var(--_nys-table-line-height) var(--_nys-table-font-family)}.nys-table table{width:var(--_nys-table-width);border-collapse:collapse;background-color:var(--_nys-table-background-color)}.nys-table caption{padding:var(--_nys-table-padding--caption);font-size:var(--_nys-table-font-size--caption);font-weight:var(--_nys-table-font-weight--caption);text-align:start}.nys-table caption div{display:flex;justify-content:space-between;align-items:center}.nys-table td{padding:var(--_nys-table-padding--cell--y) var(--_nys-table-padding--cell--x);border:var(--_nys-table-border-width) solid var(--_nys-table-border-color)}.nys-table td code{color:var(--_nys-table-color--code);background-color:var(--_nys-table-background-color--code);padding:var(--nys-space-1px) var(--nys-space-2px);border-radius:var(--nys-radius-md)}.nys-table th{border:var(--_nys-table-border-width) solid var(--_nys-table-border-color);overflow:hidden;text-overflow:ellipsis;padding:var(--_nys-table-padding--cell--y) var(--_nys-table-padding--cell--x);text-align:left}.nys-table th:has(nys-button){padding:0}.nys-table th p{margin:0}.nys-table th nys-button{margin:0;width:-moz-available;width:-webkit-fill-available;width:fill-available;justify-content:space-between;--_nys-button-border-width: 0;--_nys-button-border-radius: 0;--_nys-button-padding--x: var(--_nys-table-padding--cell--x);--_nys-button-justify-content: space-between;--_nys-button-outline-offset: -2px}.nys-table th.nys-table__sortedcolumn{background-color:var(--nys-color-theme-weak, #cddde9)}.nys-table td.nys-table__sortedcolumn{position:relative;z-index:0}.nys-table td.nys-table__sortedcolumn:after{content:"";position:absolute;inset:0;background-color:var(--nys-color-theme, #154973);opacity:.1;pointer-events:none;z-index:-1}:host([striped]) .nys-table tbody tr:nth-child(odd){background-color:var(--_nys-table-background-color--striped)}:host([sortable]) .nys-table th{cursor:pointer}.sr-only{border:0!important;clip-path:inset(50%)!important;height:1px!important;overflow:hidden!important;margin:-1px!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}';
|
|
6368
|
+
var vr = Object.defineProperty, ve = (r, e, t, s) => {
|
|
6304
6369
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
6305
6370
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
6306
6371
|
return o && vr(e, t, o), o;
|
|
6307
6372
|
};
|
|
6308
6373
|
let br = 0;
|
|
6309
|
-
const
|
|
6374
|
+
const s1 = class s1 extends f {
|
|
6310
6375
|
/**************** Lifecycle Methods ****************/
|
|
6311
6376
|
constructor() {
|
|
6312
6377
|
super(), this.id = "", this.name = "", this.striped = !1, this.sortable = !1, this.bordered = !1, this.download = "", this._sortColumn = null, this._sortDirection = "none", this._captionText = "";
|
|
@@ -6474,36 +6539,36 @@ const e1 = class e1 extends f {
|
|
|
6474
6539
|
`;
|
|
6475
6540
|
}
|
|
6476
6541
|
};
|
|
6477
|
-
|
|
6478
|
-
let
|
|
6479
|
-
|
|
6542
|
+
s1.styles = g(fr);
|
|
6543
|
+
let X = s1;
|
|
6544
|
+
ve([
|
|
6480
6545
|
a({ type: String, reflect: !0 })
|
|
6481
|
-
],
|
|
6482
|
-
|
|
6546
|
+
], X.prototype, "id");
|
|
6547
|
+
ve([
|
|
6483
6548
|
a({ type: String, reflect: !0 })
|
|
6484
|
-
],
|
|
6485
|
-
|
|
6549
|
+
], X.prototype, "name");
|
|
6550
|
+
ve([
|
|
6486
6551
|
a({ type: Boolean, reflect: !0 })
|
|
6487
|
-
],
|
|
6488
|
-
|
|
6552
|
+
], X.prototype, "striped");
|
|
6553
|
+
ve([
|
|
6489
6554
|
a({ type: Boolean, reflect: !0 })
|
|
6490
|
-
],
|
|
6491
|
-
|
|
6555
|
+
], X.prototype, "sortable");
|
|
6556
|
+
ve([
|
|
6492
6557
|
a({ type: Boolean, reflect: !0 })
|
|
6493
|
-
],
|
|
6494
|
-
|
|
6558
|
+
], X.prototype, "bordered");
|
|
6559
|
+
ve([
|
|
6495
6560
|
a({ type: String, reflect: !0 })
|
|
6496
|
-
],
|
|
6497
|
-
|
|
6561
|
+
], X.prototype, "download");
|
|
6562
|
+
ve([
|
|
6498
6563
|
_()
|
|
6499
|
-
],
|
|
6500
|
-
|
|
6564
|
+
], X.prototype, "_sortColumn");
|
|
6565
|
+
ve([
|
|
6501
6566
|
_()
|
|
6502
|
-
],
|
|
6503
|
-
|
|
6567
|
+
], X.prototype, "_sortDirection");
|
|
6568
|
+
ve([
|
|
6504
6569
|
_()
|
|
6505
|
-
],
|
|
6506
|
-
customElements.get("nys-table") || customElements.define("nys-table",
|
|
6570
|
+
], X.prototype, "_captionText");
|
|
6571
|
+
customElements.get("nys-table") || customElements.define("nys-table", X);
|
|
6507
6572
|
const gr = ':host{--_nys-textarea-width: 100%;--_nys-textarea-border-radius: var(--nys-radius-md, 4px);--_nys-textarea-border-width: var(--nys-border-width-sm, 1px);--_nys-textarea-border-color: var(--nys-color-neutral-400, #909395);--_nys-textarea-padding: var(--nys-space-200, 16px);--_nys-textarea-gap: var(--nys-space-50, 4px);--_nys-textarea-color: var(--nys-color-ink, #1b1b1b);--_nys-textarea-color--placeholder: var(--nys-color-text-weaker, var(--nys-color-neutral-500, #797c7f));--_nys-textarea-outline-color--hover: var(--nys-color-neutral-900, #1b1b1b);--_nys-textarea-outline-width: var(--nys-border-width-sm, 1px);--_nys-textarea-outline-color--focus: var(--nys-color-focus, #004dd1);--_nys-textarea-background-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-textarea-border-color--disabled: var(--nys-color-neutral-200, #bec0c1);--_nys-textarea-color--disabled: var(--nys-color-text-disabled, var(--nys-color-neutral-200, #bec0c1));--_nys-textarea-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif));--_nys-textarea-font-size: var(--nys-font-size-ui-md, 16px);--_nys-textarea-font-weight: var(--nys-font-weight-regular, 400);--_nys-textarea-line-height: var(--nys-font-lineheight-ui-md, 24px);--nys-textarea-letterspacing-ui: var(--nys-font-letterspacing-ui-md, var(--nys-font-letterspacing-400, .044px))}:host([width=sm]){--_nys-textarea-width: var(--nys-form-width-sm, 88px)}:host([width=md]){--_nys-textarea-width: var(--nys-form-width-md, 200px)}:host([width=lg]){--_nys-textarea-width: var(--nys-form-width-lg, 384px)}:host([width=full]){--_nys-textarea-width: 100%;flex:1}:host([showError]){--_nys-textarea-border-color: var(--nys-color-danger, #b52c2c)}:host([inverted]){--_nys-textarea-outline-color--focus: var(--nys-color-focus-reverse, #7aa5e7)}.nys-textarea{font-weight:var(--_nys-textarea-font-weight);font-family:var(--_nys-textarea-font-family);line-height:var(--_nys-textarea-line-height);letter-spacing:var(--nys-textarea-letterspacing-ui);color:var(--_nys-textarea-color);gap:var(--_nys-textarea-gap);display:flex;flex-direction:column}.nys-textarea__textarea{color:var(--_nys-textarea-color);font-size:var(--_nys-textarea-font-size);font-family:var(--_nys-textarea-font-family);border-radius:var(--_nys-textarea-border-radius);border:solid var(--_nys-textarea-border-color) var(--_nys-textarea-border-width);padding:var(--_nys-textarea-padding);width:var(--_nys-textarea-width);line-height:var(--_nys-textarea-line-height);max-width:var(--_nys-textarea-width);box-sizing:border-box}.nys-textarea__textarea::placeholder{color:var(--_nys-textarea-color--placeholder)}.nys-textarea__textarea.none{resize:none}.nys-textarea__textarea:hover:not(:disabled):not(:focus):not([readonly]){outline:solid var(--_nys-textarea-outline-width) var(--_nys-textarea-outline-color--hover);border-color:var(--_nys-textarea-outline-color--hover)}.nys-textarea__textarea:focus:not([readonly]){outline:solid var(--_nys-textarea-outline-width) var(--_nys-textarea-outline-color--focus);border-color:var(--_nys-textarea-outline-color--focus);caret-color:var(--_nys-textarea-outline-color--focus)}.nys-textarea__textarea:disabled,.nys-textarea__textarea:disabled::placeholder{background-color:var(--_nys-textarea-background-color--disabled);border-color:var(--_nys-textarea-border-color--disabled);color:var(--_nys-textarea-color--disabled);cursor:not-allowed}';
|
|
6508
6573
|
var _r = Object.defineProperty, A = (r, e, t, s) => {
|
|
6509
6574
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
@@ -6511,7 +6576,7 @@ var _r = Object.defineProperty, A = (r, e, t, s) => {
|
|
|
6511
6576
|
return o && _r(e, t, o), o;
|
|
6512
6577
|
};
|
|
6513
6578
|
let Cr = 0;
|
|
6514
|
-
const
|
|
6579
|
+
const et = class et extends f {
|
|
6515
6580
|
// allows use of elementInternals' API
|
|
6516
6581
|
constructor() {
|
|
6517
6582
|
super(), this.id = "", this.name = "", this.label = "", this.description = "", this.placeholder = "", this.value = "", this.disabled = !1, this.readonly = !1, this.required = !1, this.optional = !1, this.tooltip = "", this.inverted = !1, this.form = null, this.maxlength = null, this.width = "full", this.rows = 4, this.resize = "vertical", this.showError = !1, this.errorMessage = "", this._hasUserInteracted = !1, this._internals = this.attachInternals();
|
|
@@ -6676,77 +6741,77 @@ const Je = class Je extends f {
|
|
|
6676
6741
|
`;
|
|
6677
6742
|
}
|
|
6678
6743
|
};
|
|
6679
|
-
|
|
6744
|
+
et.styles = g(gr), et.shadowRootOptions = {
|
|
6680
6745
|
...f.shadowRootOptions,
|
|
6681
6746
|
delegatesFocus: !0
|
|
6682
|
-
},
|
|
6683
|
-
let
|
|
6747
|
+
}, et.formAssociated = !0;
|
|
6748
|
+
let S = et;
|
|
6684
6749
|
A([
|
|
6685
6750
|
a({ type: String, reflect: !0 })
|
|
6686
|
-
],
|
|
6751
|
+
], S.prototype, "id");
|
|
6687
6752
|
A([
|
|
6688
6753
|
a({ type: String, reflect: !0 })
|
|
6689
|
-
],
|
|
6754
|
+
], S.prototype, "name");
|
|
6690
6755
|
A([
|
|
6691
6756
|
a({ type: String })
|
|
6692
|
-
],
|
|
6757
|
+
], S.prototype, "label");
|
|
6693
6758
|
A([
|
|
6694
6759
|
a({ type: String })
|
|
6695
|
-
],
|
|
6760
|
+
], S.prototype, "description");
|
|
6696
6761
|
A([
|
|
6697
6762
|
a({ type: String })
|
|
6698
|
-
],
|
|
6763
|
+
], S.prototype, "placeholder");
|
|
6699
6764
|
A([
|
|
6700
6765
|
a({ type: String })
|
|
6701
|
-
],
|
|
6766
|
+
], S.prototype, "value");
|
|
6702
6767
|
A([
|
|
6703
6768
|
a({ type: Boolean, reflect: !0 })
|
|
6704
|
-
],
|
|
6769
|
+
], S.prototype, "disabled");
|
|
6705
6770
|
A([
|
|
6706
6771
|
a({ type: Boolean, reflect: !0 })
|
|
6707
|
-
],
|
|
6772
|
+
], S.prototype, "readonly");
|
|
6708
6773
|
A([
|
|
6709
6774
|
a({ type: Boolean, reflect: !0 })
|
|
6710
|
-
],
|
|
6775
|
+
], S.prototype, "required");
|
|
6711
6776
|
A([
|
|
6712
6777
|
a({ type: Boolean, reflect: !0 })
|
|
6713
|
-
],
|
|
6778
|
+
], S.prototype, "optional");
|
|
6714
6779
|
A([
|
|
6715
6780
|
a({ type: String })
|
|
6716
|
-
],
|
|
6781
|
+
], S.prototype, "tooltip");
|
|
6717
6782
|
A([
|
|
6718
6783
|
a({ type: Boolean, reflect: !0 })
|
|
6719
|
-
],
|
|
6784
|
+
], S.prototype, "inverted");
|
|
6720
6785
|
A([
|
|
6721
6786
|
a({ type: String, reflect: !0 })
|
|
6722
|
-
],
|
|
6787
|
+
], S.prototype, "form");
|
|
6723
6788
|
A([
|
|
6724
6789
|
a({ type: Number })
|
|
6725
|
-
],
|
|
6790
|
+
], S.prototype, "maxlength");
|
|
6726
6791
|
A([
|
|
6727
6792
|
a({ type: String, reflect: !0 })
|
|
6728
|
-
],
|
|
6793
|
+
], S.prototype, "width");
|
|
6729
6794
|
A([
|
|
6730
6795
|
a({ type: Number })
|
|
6731
|
-
],
|
|
6796
|
+
], S.prototype, "rows");
|
|
6732
6797
|
A([
|
|
6733
6798
|
a({ type: String, reflect: !0 })
|
|
6734
|
-
],
|
|
6799
|
+
], S.prototype, "resize");
|
|
6735
6800
|
A([
|
|
6736
6801
|
a({ type: Boolean, reflect: !0 })
|
|
6737
|
-
],
|
|
6802
|
+
], S.prototype, "showError");
|
|
6738
6803
|
A([
|
|
6739
6804
|
a({ type: String })
|
|
6740
|
-
],
|
|
6741
|
-
customElements.get("nys-textarea") || customElements.define("nys-textarea",
|
|
6742
|
-
const mr = ':host{--_nys-textinput-width: 100%;--_nys-textinput-height: var(--nys-size-500, 40px);--_nys-textinput-border-radius: var(--nys-radius-md, 4px);--_nys-textinput-border-width: var(--nys-border-width-sm, 1px);--_nys-textinput-border-color: var(--nys-color-neutral-400, #909395);--_nys-textinput-color: var(
|
|
6805
|
+
], S.prototype, "errorMessage");
|
|
6806
|
+
customElements.get("nys-textarea") || customElements.define("nys-textarea", S);
|
|
6807
|
+
const mr = ':host{--_nys-textinput-width: 100%;--_nys-textinput-height: var(--nys-size-500, 40px);--_nys-textinput-border-radius: var(--nys-radius-md, 4px);--_nys-textinput-border-width: var(--nys-border-width-sm, 1px);--_nys-textinput-border-color: var(--nys-color-neutral-400, #909395);--_nys-textinput-color: var(--nys-color-text, var(--nys-color-neutral-900, #1b1b1b));--_nys-textinput-color--placeholder: var(--nys-color-text-weaker, var(--nys-color-neutral-500, #797c7f));--_nys-textinput-padding: var(--nys-space-100, 8px);--_nys-textinput-gap: var(--nys-space-50, 4px);--_nys-textinput-background-color: var(--nys-color-ink-reverse, var(--nys-color-white, #ffffff));--_nys-textinput-outline-color--hover: var(--nys-color-neutral-900, #1b1b1b);--_nys-textinput-outline-width: var(--nys-border-width-sm, 1px);--_nys-textinput-outline-color--focus: var(--nys-color-focus, #004dd1);--_nys-textinput-background-color--disabled: var(--nys-color-neutral-10, #f6f6f6);--_nys-textinput-border-color--disabled: var(--nys-color-neutral-200, #bec0c1);--_nys-textinput-color--disabled: var(--nys-color-text-disabled, var(--nys-color-neutral-200, #bec0c1));--_nys-textinput-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif));--_nys-textinput-font-size: var(--nys-font-size-ui-md, 16px);--_nys-textinput-font-weight: var(--nys-font-weight-regular, 400);--_nys-textinput-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-textinput-letter-spacing: var(--nys-font-letterspacing-ui-md, var(--nys-font-letterspacing-400, .044px))}:host([width=sm]){--_nys-textinput-width: var(--nys-form-width-sm, 88px)}:host([width=md]){--_nys-textinput-width: var(--nys-form-width-md, 200px)}:host([width=lg]){--_nys-textinput-width: var(--nys-form-width-lg, 384px)}:host([width=full]){--_nys-textinput-width: 100%;flex:1}:host([showError]){--_nys-textinput-border-color: var(--nys-color-danger, #b52c2c)}:host([inverted]){--_nys-textinput-outline-color--focus: var(--nys-color-focus-reverse, #7aa5e7)}.nys-textinput{font-weight:var(--_nys-textinput-font-weight);font-family:var(--_nys-textinput-font-family);font-size:var(--_nys-textinput-font-size);line-height:var(--_nys-textinput-line-height);letter-spacing:var(--_nys-textinput-letter-spacing);color:var(--_nys-textinput-color);gap:var(--_nys-textinput-gap);display:flex;flex-direction:column}.nys-textinput__mask-overlay{position:absolute;margin:calc(var(--_nys-textinput-padding) + var(--_nys-textinput-border-width));color:var(--nys-color-text-weaker, #797c7f);display:inline;overflow:hidden;white-space:nowrap;font:inherit;letter-spacing:normal}.nys-textinput__input{color:var(--_nys-textinput-color);border-radius:var(--_nys-textinput-border-radius);border:solid var(--_nys-textinput-border-color) var(--_nys-textinput-border-width);outline:transparent solid var(--_nys-textinput-outline-width);padding:var(--_nys-textinput-padding);width:100%;height:var(--_nys-textinput-height);box-sizing:border-box;background-color:transparent;position:relative;font:inherit}.nys-textinput__input::placeholder{color:var(--_nys-textinput-color--placeholder)}.nys-textinput__buttoncontainer{width:var(--_nys-textinput-width);max-width:100%;display:flex}.nys-textinput__buttoncontainer.has-end-button .nys-textinput__input{border-start-end-radius:0;border-end-end-radius:0;border-inline-end:none}.nys-textinput__buttoncontainer.has-start-button .nys-textinput__input{border-start-start-radius:0;border-end-start-radius:0;border-inline-start:none}.nys-textinput__container{position:relative;display:flex;align-items:center;width:100%;background-color:var(--_nys-textinput-background-color);border-radius:var(--_nys-textinput-border-radius)}::slotted(nys-button){--_nys-button-height: var(--_nys-textinput-height);--_nys-button-border-radius: var(--_nys-textinput-border-radius);--_nys-button-background-color--disabled: var(--_nys-textinput-background-color--disabled);--_nys-button-border-color--disabled: var(--_nys-textinput-color--disabled);--_nys-button-color--disabled: var(--_nys-textinput-color--disabled);--_nys-button-border-width: var(--_nys-textinput-border-width);z-index:1}.nys-textinput__buttoncontainer.has-start-button ::slotted(nys-button){--_nys-button-border-radius: var(--_nys-textinput-border-radius) 0 0 var(--_nys-textinput-border-radius)}.nys-textinput__buttoncontainer.has-end-button ::slotted(nys-button){--_nys-button-border-radius: 0 var(--_nys-textinput-border-radius) var(--_nys-textinput-border-radius) 0}.eye-icon{position:absolute;right:var(--nys-space-50, 4px);top:50%;transform:translateY(-50%);cursor:pointer;color:var(--_nys-textinput-color--icon);--nys-button-background-color: var(--_nys-textinput-background-color);--nys-button-background-color--hover: var(--_nys-textinput-background-color);--nys-button-background-color--active: var(--_nys-textinput-background-color);--_nys-button-outline-focus: calc(var(--_nys-button-outline-width) * -1);--_nys-button-padding--y: var(--nys-space-50, 4px);--_nys-button-padding--x: var(--nys-space-50, 4px);--_nys-button-height: var(--nys-size-300, 32px);--_nys-button-width: var(--nys-size-400, 32px)}.nys-textinput__input:hover:not(:disabled):not(:focus):not([readonly]){outline-color:var(--_nys-textinput-outline-color--hover);border-color:var(--_nys-textinput-outline-color--hover)}.nys-textinput__input:focus:not([readonly]){outline-color:var(--_nys-textinput-outline-color--focus);border-color:var(--_nys-textinput-outline-color--focus);caret-color:var(--_nys-textinput-outline-color--focus)}.nys-textinput__input:disabled,.nys-textinput__input:disabled::placeholder,.nys-textinput__input:disabled+.eye-icon{background-color:var(--_nys-textinput-background-color--disabled);border-color:var(--_nys-textinput-border-color--disabled);color:var(--_nys-textinput-color--disabled);cursor:not-allowed}';
|
|
6743
6808
|
var wr = Object.defineProperty, x = (r, e, t, s) => {
|
|
6744
6809
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
6745
6810
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
6746
6811
|
return o && wr(e, t, o), o;
|
|
6747
6812
|
};
|
|
6748
6813
|
let xr = 0;
|
|
6749
|
-
const
|
|
6814
|
+
const tt = class tt extends f {
|
|
6750
6815
|
// allows use of elementInternals' API
|
|
6751
6816
|
constructor() {
|
|
6752
6817
|
super(), this.id = "", this.name = "", this.type = "text", this.label = "", this.description = "", this.placeholder = "", this.value = "", this.disabled = !1, this.readonly = !1, this.required = !1, this.optional = !1, this.tooltip = "", this.form = null, this.pattern = "", this.maxlength = null, this.ariaLabel = "", this.width = "full", this.step = null, this.min = null, this.max = null, this.inverted = !1, this.showError = !1, this.errorMessage = "", this.showPassword = !1, this._originalErrorMessage = "", this._hasUserInteracted = !1, this._maskPatterns = {
|
|
@@ -6983,11 +7048,11 @@ const et = class et extends f {
|
|
|
6983
7048
|
`;
|
|
6984
7049
|
}
|
|
6985
7050
|
};
|
|
6986
|
-
|
|
7051
|
+
tt.styles = g(mr), tt.shadowRootOptions = {
|
|
6987
7052
|
...f.shadowRootOptions,
|
|
6988
7053
|
delegatesFocus: !0
|
|
6989
|
-
},
|
|
6990
|
-
let C =
|
|
7054
|
+
}, tt.formAssociated = !0;
|
|
7055
|
+
let C = tt;
|
|
6991
7056
|
x([
|
|
6992
7057
|
a({ type: String, reflect: !0 })
|
|
6993
7058
|
], C.prototype, "id");
|
|
@@ -7062,13 +7127,13 @@ x([
|
|
|
7062
7127
|
], C.prototype, "showPassword");
|
|
7063
7128
|
customElements.get("nys-textinput") || customElements.define("nys-textinput", C);
|
|
7064
7129
|
const kr = ':host{--_nys-toggle-width: var(--nys-font-size-8xl, 44px);--_nys-toggle-height: var(--nys-size-300, 24px);--_nys-toggle-border-radius: var(--nys-radius-round, 1776px);--_nys-toggle-border-width: var(--nys-border-width-md, 2px);--_nys-toggle-size--knob: var(--nys-font-size-lg, 18px);--_nys-toggle-margin--knob: calc( (var(--_nys-toggle-height) - var(--_nys-toggle-size--knob)) / 2 );--_nys-toggle-transform--translateX: calc( var(--_nys-toggle-width) - var(--_nys-toggle-size--knob) - var( --_nys-toggle-margin--knob ) - 2px );--_nys-toggle-gap: var(--nys-space-150, 12px);--_nys-toggle-transition-duration: .3s;--_nys-toggle-outline-color: var(--nys-color-focus, #004dd1);--_nys-toggle-outline-width: var(--nys-border-width-md, 2px);--_nys-toggle-background-color: var(--nys-color-neutral-500, #797c7f);--_nys-toggle-background-color--disabled: var( --nys-color-neutral-100, #d0d0ce );--_nys-toggle-background-color--checked: var(--nys-color-theme, #154973);--_nys-toggle-background-color--hover: var(--nys-color-neutral-600, #62666a);--_nys-toggle-background-color--active: var(--nys-color-neutral-700, #4a4d4f);--_nys-toggle-background-color--checked--hover: var( --nys-color-theme-strong, #0e324f );--_nys-toggle-background-color--checked--active: var( --nys-color-theme-stronger, #081b2b );--_nys-toggle-color-ink-reverse: var(--nys-color-ink-reverse, #ffffff);--_nys-toggle-color--disabled: var(--nys-color-neutral-500, #797c7f)}:host([inverted]){--_nys-toggle-outline-color: var(--nys-color-focus-reverse, #7aa5e7)}.nys-toggle__content{display:flex;gap:var(--_nys-toggle-gap)}.nys-toggle__content nys-label{--_nys-label-font-weight: var(--nys-font-weight-regular, 400)}.nys-toggle__content:has(input:disabled) nys-label{--_nys-label-color: var(--_nys-toggle-color--disabled);cursor:not-allowed}.nys-toggle__toggle{position:relative;display:inline-block;width:var(--_nys-toggle-width);min-width:var(--_nys-toggle-width);max-width:var(--_nys-toggle-width);height:var(--_nys-toggle-height);min-height:var(--_nys-toggle-height);max-height:var(--_nys-toggle-height)}.nys-toggle__toggle input{opacity:0;width:0;height:0}.nys-toggle__toggle input:checked+.slider{background-color:var(--_nys-toggle-background-color--checked)}.nys-toggle__toggle input:checked+.slider:hover{background-color:var(--_nys-toggle-background-color--checked--hover)}.nys-toggle__toggle input:checked+.slider:hover .knob .toggle-icon{color:var(--_nys-toggle-background-color--checked--hover)}.nys-toggle__toggle input:checked+.slider .knob{transform:translate(var(--_nys-toggle-transform--translateX))}.nys-toggle__toggle input:checked+.slider .knob .toggle-icon{color:var(--_nys-toggle-background-color--checked)}.nys-toggle__toggle input:active:not(:disabled)+.slider{background-color:var(--_nys-toggle-background-color--active);outline:solid var(--_nys-toggle-outline-width) var(--_nys-toggle-outline-color)}.nys-toggle__toggle input:active:not(:disabled)+.slider .knob .toggle-icon{color:var(--_nys-toggle-background-color--active)}.nys-toggle__toggle input:active:not(:disabled)+.slider:checked{background-color:var(--_nys-toggle-background-color--checked--active)}.nys-toggle__toggle input:active:not(:disabled)+.slider:checked .knob .toggle-icon{color:var(--_nys-toggle-background-color--checked--active)}.nys-toggle__toggle input:focus+.slider{outline:solid var(--_nys-toggle-outline-width) var(--_nys-toggle-outline-color)}.nys-toggle__toggle input:disabled+.slider{background-color:var(--_nys-toggle-background-color--disabled);cursor:not-allowed}.nys-toggle__toggle input:disabled+.slider:hover{background-color:var(--_nys-toggle-background-color--disabled)}.nys-toggle__toggle input:disabled+.slider .knob .toggle-icon{color:var(--_nys-toggle-background-color--disabled)}.slider{position:absolute;cursor:pointer;border-radius:var(--_nys-toggle-border-radius);outline-offset:var(--_nys-toggle-border-width);width:var(--_nys-toggle-width);inset:0;background-color:var(--_nys-toggle-background-color);display:flex;align-items:center}.slider:hover{background-color:var(--_nys-toggle-background-color--hover)}.slider:hover .knob .toggle-icon{color:var(--_nys-toggle-background-color--hover)}.knob{content:"";height:var(--_nys-toggle-size--knob);width:var(--_nys-toggle-size--knob);margin:var(--_nys-toggle-margin--knob);border-radius:var(--nys-radius-round, 1776px);background-color:var(--_nys-toggle-color-ink-reverse);transition:all var(--_nys-toggle-transition-duration) cubic-bezier(.27,.2,.25,1.51);overflow:hidden;display:flex;align-items:center;justify-content:center}.toggle-icon{position:absolute;color:var(--_nys-toggle-background-color)}:host([size=sm]){--_nys-toggle-width: var(--nys-size-450, 36px);--_nys-toggle-height: var(--nys-size-250, 20px);--_nys-toggle-size--knob: var(--nys-size-200, 16px);--_nys-toggle-gap: var(--nys-space-100, 8px)}:host([size=sm]) .toggle-icon{font-size:var(--nys-font-size-body-xs, 12px)}@supports not (font-size: 1cap){:host([size=sm]) .toggle-icon{font-size:var(--nys-font-size-body-xs, 12px)}}:host([size=md]){--_nys-toggle-width: var(--nys-size-550, 44px);--_nys-toggle-height: var(--nys-size-300, 24px);--_nys-toggle-size--knob: var(--nys-size-250, 20px)}:host([size=md]) .toggle-icon{font-size:var(--nys-font-size-body-sm, 14px)}@supports not (font-size: 1cap){:host([size=md]) .toggle-icon{font-size:calc(var(--nys-font-size-body-sm, 14px) - 1px)}}@media(prefers-reduced-motion:reduce){:host{--toggle-transition-duration: 0s}}';
|
|
7065
|
-
var $r = Object.defineProperty,
|
|
7130
|
+
var $r = Object.defineProperty, re = (r, e, t, s) => {
|
|
7066
7131
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
7067
7132
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
7068
7133
|
return o && $r(e, t, o), o;
|
|
7069
7134
|
};
|
|
7070
7135
|
let Lr = 0;
|
|
7071
|
-
const
|
|
7136
|
+
const st = class st extends f {
|
|
7072
7137
|
// allows use of elementInternals' API
|
|
7073
7138
|
constructor() {
|
|
7074
7139
|
super(), this.id = "", this.name = "", this.value = "", this.label = "", this.description = "", this.form = null, this.checked = !1, this.disabled = !1, this.noIcon = !1, this.inverted = !1, this.size = "md", this._internals = this.attachInternals();
|
|
@@ -7169,45 +7234,45 @@ const tt = class tt extends f {
|
|
|
7169
7234
|
`;
|
|
7170
7235
|
}
|
|
7171
7236
|
};
|
|
7172
|
-
|
|
7237
|
+
st.styles = g(kr), st.shadowRootOptions = {
|
|
7173
7238
|
...f.shadowRootOptions,
|
|
7174
7239
|
delegatesFocus: !0
|
|
7175
|
-
},
|
|
7176
|
-
let
|
|
7177
|
-
|
|
7240
|
+
}, st.formAssociated = !0;
|
|
7241
|
+
let j = st;
|
|
7242
|
+
re([
|
|
7178
7243
|
a({ type: String, reflect: !0 })
|
|
7179
|
-
],
|
|
7180
|
-
|
|
7244
|
+
], j.prototype, "id");
|
|
7245
|
+
re([
|
|
7181
7246
|
a({ type: String, reflect: !0 })
|
|
7182
|
-
],
|
|
7183
|
-
|
|
7247
|
+
], j.prototype, "name");
|
|
7248
|
+
re([
|
|
7184
7249
|
a({ type: String })
|
|
7185
|
-
],
|
|
7186
|
-
|
|
7250
|
+
], j.prototype, "value");
|
|
7251
|
+
re([
|
|
7187
7252
|
a({ type: String })
|
|
7188
|
-
],
|
|
7189
|
-
|
|
7253
|
+
], j.prototype, "label");
|
|
7254
|
+
re([
|
|
7190
7255
|
a({ type: String })
|
|
7191
|
-
],
|
|
7192
|
-
|
|
7256
|
+
], j.prototype, "description");
|
|
7257
|
+
re([
|
|
7193
7258
|
a({ type: String, reflect: !0 })
|
|
7194
|
-
],
|
|
7195
|
-
|
|
7259
|
+
], j.prototype, "form");
|
|
7260
|
+
re([
|
|
7196
7261
|
a({ type: Boolean, reflect: !0 })
|
|
7197
|
-
],
|
|
7198
|
-
|
|
7262
|
+
], j.prototype, "checked");
|
|
7263
|
+
re([
|
|
7199
7264
|
a({ type: Boolean, reflect: !0 })
|
|
7200
|
-
],
|
|
7201
|
-
|
|
7265
|
+
], j.prototype, "disabled");
|
|
7266
|
+
re([
|
|
7202
7267
|
a({ type: Boolean })
|
|
7203
|
-
],
|
|
7204
|
-
|
|
7268
|
+
], j.prototype, "noIcon");
|
|
7269
|
+
re([
|
|
7205
7270
|
a({ type: Boolean, reflect: !0 })
|
|
7206
|
-
],
|
|
7207
|
-
|
|
7271
|
+
], j.prototype, "inverted");
|
|
7272
|
+
re([
|
|
7208
7273
|
a({ type: String, reflect: !0 })
|
|
7209
|
-
],
|
|
7210
|
-
customElements.get("nys-toggle") || customElements.define("nys-toggle",
|
|
7274
|
+
], j.prototype, "size");
|
|
7275
|
+
customElements.get("nys-toggle") || customElements.define("nys-toggle", j);
|
|
7211
7276
|
const Er = `:host{--_nys-tooltip-color: var(--nys-color-text-reverse, #ffffff);--_nys-tooltip-background-color: var(--nys-color-ink, #1b1b1b);--_nys-tooltip-border-radius: var(--nys-radius-md, 4px);--_nys-tooltip-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-tooltip-font-size: var(--nys-type-size-ui-sm, 14px);--_nys-tooltip-letter-spacing: var(--nys-font-letterspacing-ui-sm, .044px);--_nys-tooltip-line-height: var(--nys-font-lineheight-ui-sm, 24px)}.nys-tooltip__content{position:fixed;top:0;left:0;max-width:400px;width:max-content;max-height:120px;padding:var(--nys-space-50, 4px) var(--nys-space-100, 8px);background-color:var(--_nys-tooltip-background-color);border-radius:var(--_nys-tooltip-border-radius);cursor:auto;z-index:1}.nys-tooltip__inner{color:var(--_nys-tooltip-color);font-family:var(--_nys-tooltip-font-family);font-size:var(--_nys-tooltip-font-size);font-weight:400;line-height:var(--_nys-tooltip-line-height);letter-spacing:var(--_nys-tooltip-letter-spacing);white-space:normal;overflow-wrap:anywhere;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical}.nys-tooltip__arrow{position:absolute;width:14px;height:6px;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="6" viewBox="0 0 15 6" fill="none"><path d="M8.15079 5.44218C7.7763 5.76317 7.2237 5.76317 6.84921 5.44218L0.5 0H14.5L8.15079 5.44218Z" fill="%231B1B1B"/></svg>') no-repeat center}.nys-tooltip__content[active]{display:block}.fade-out{opacity:0;transition:opacity .2s ease-out}:host([position=top]) .nys-tooltip__arrow{top:100%;left:var(--arrow-offset-x, 50%);transform:translate(-50%)}:host([position=bottom]) .nys-tooltip__arrow{bottom:100%;left:var(--arrow-offset-x, 50%);transform:translate(-50%) rotate(180deg)}:host([position=left]) .nys-tooltip__arrow{left:100%;top:50%;transform:translateY(-50%) rotate(-90deg);margin-left:-4px}:host([position=right]) .nys-tooltip__arrow{right:100%;top:50%;transform:translateY(-50%) rotate(90deg);margin-right:-4px}:host([inverted]) .nys-tooltip__content{--_nys-tooltip-color: var(--nys-color-text, #1b1b1b);--_nys-tooltip-background-color: var(--nys-color-ink-reverse, #ffffff)}:host([inverted]) .nys-tooltip__arrow{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="6" viewBox="0 0 15 6" fill="none"><path d="M8.15079 5.44218C7.7763 5.76317 7.2237 5.76317 6.84921 5.44218L0.5 0H14.5L8.15079 5.44218Z" fill="white"/></svg>') no-repeat center}@media(max-width:400px){.nys-tooltip__content{max-width:calc(100vw - 2rem)}}`;
|
|
7212
7277
|
var Sr = Object.defineProperty, Dr = Object.getOwnPropertyDescriptor, Fe = (r, e, t, s) => {
|
|
7213
7278
|
for (var o = s > 1 ? void 0 : s ? Dr(e, t) : e, n = r.length - 1, i; n >= 0; n--)
|
|
@@ -7215,7 +7280,7 @@ var Sr = Object.defineProperty, Dr = Object.getOwnPropertyDescriptor, Fe = (r, e
|
|
|
7215
7280
|
return s && o && Sr(e, t, o), o;
|
|
7216
7281
|
};
|
|
7217
7282
|
let Mr = 0;
|
|
7218
|
-
const
|
|
7283
|
+
const o1 = class o1 extends f {
|
|
7219
7284
|
/**
|
|
7220
7285
|
* Lifecycle Methods
|
|
7221
7286
|
* --------------------------------------------------------------------------
|
|
@@ -7467,27 +7532,27 @@ const t1 = class t1 extends f {
|
|
|
7467
7532
|
`;
|
|
7468
7533
|
}
|
|
7469
7534
|
};
|
|
7470
|
-
|
|
7471
|
-
let
|
|
7535
|
+
o1.styles = g(Er);
|
|
7536
|
+
let pe = o1;
|
|
7472
7537
|
Fe([
|
|
7473
7538
|
a({ type: String, reflect: !0 })
|
|
7474
|
-
],
|
|
7539
|
+
], pe.prototype, "id", 2);
|
|
7475
7540
|
Fe([
|
|
7476
7541
|
a({ type: String })
|
|
7477
|
-
],
|
|
7542
|
+
], pe.prototype, "text", 2);
|
|
7478
7543
|
Fe([
|
|
7479
7544
|
a({ type: Boolean, reflect: !0 })
|
|
7480
|
-
],
|
|
7545
|
+
], pe.prototype, "inverted", 2);
|
|
7481
7546
|
Fe([
|
|
7482
7547
|
a({ type: String })
|
|
7483
|
-
],
|
|
7548
|
+
], pe.prototype, "for", 2);
|
|
7484
7549
|
Fe([
|
|
7485
7550
|
_()
|
|
7486
|
-
],
|
|
7551
|
+
], pe.prototype, "_active", 2);
|
|
7487
7552
|
Fe([
|
|
7488
7553
|
a({ type: String, reflect: !0 })
|
|
7489
|
-
],
|
|
7490
|
-
customElements.get("nys-tooltip") || customElements.define("nys-tooltip",
|
|
7554
|
+
], pe.prototype, "position", 1);
|
|
7555
|
+
customElements.get("nys-tooltip") || customElements.define("nys-tooltip", pe);
|
|
7491
7556
|
const zr = `<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewBox="0 0 91 55" fill="none">
|
|
7492
7557
|
<path d="M55.1158 7.50499L58.2905 12.6494V7.5189C58.2905 7.5189 58.6487 7.26356 59.5098 7.26356C60.3708 7.26356 60.7378 7.5189 60.7378 7.5189V16.4327C60.7378 16.4327 60.3942 16.689 59.5215 16.689C58.6487 16.689 58.3295 16.4605 58.3295 16.4605L55.1421 11.3171V16.4337C55.1421 16.4337 54.7848 16.69 53.9111 16.69C53.0374 16.69 52.7065 16.4337 52.7065 16.4337V7.51989C52.7065 7.51989 53.0384 7.26456 53.9248 7.26456C54.8112 7.26456 55.1148 7.50697 55.1148 7.50697L55.1158 7.50499Z" fill="#457AA5"/>
|
|
7493
7558
|
<path d="M67.2209 12.5948H64.9063V14.8709H68.2538C68.2538 14.8709 68.5047 15.1531 68.5047 15.772C68.5047 16.391 68.2538 16.688 68.2538 16.688H62.4589V7.26257H67.9892C67.9892 7.26257 68.2538 7.54572 68.2538 8.17859C68.2538 8.81146 67.9892 9.09362 67.9892 9.09362H64.9063V10.7637H67.2209C67.2209 10.7637 67.4728 11.0598 67.4728 11.6787C67.4728 12.2977 67.2209 12.5948 67.2209 12.5948Z" fill="#457AA5"/>
|
|
@@ -7504,13 +7569,13 @@ const zr = `<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewB
|
|
|
7504
7569
|
<path d="M51.7107 54.9999C51.577 54.9999 51.4335 54.974 51.2939 54.8965C51.085 54.7803 50.9395 54.5876 50.8858 54.3551C50.8233 54.0868 50.8936 53.7868 51.082 53.5116L51.1426 53.4202C51.2041 53.3268 51.2685 53.2354 51.3407 53.1519C51.4218 53.0595 51.5047 52.995 51.5741 52.9493C51.5243 52.6691 51.5418 52.4267 51.5682 52.2061C51.5877 52.0233 51.6346 51.8683 51.6726 51.7451C51.6892 51.6925 51.7058 51.6388 51.7185 51.5812C51.8201 51.145 51.8855 50.7397 51.9206 50.3453C51.9528 49.9916 51.947 49.9846 51.8864 49.9061C51.7 49.6707 51.3847 49.5018 51.0498 49.3229C50.8878 49.2365 50.7286 49.1491 50.5754 49.0557C49.607 48.4536 48.6376 47.8505 47.6701 47.2465L47.3294 47.0339C47.2513 46.9862 47.1147 46.9156 46.9516 46.8282C45.8817 46.2659 45.172 45.8526 45.0539 45.2595C45.0363 45.173 44.9465 44.9644 44.884 44.864C44.8411 44.8611 44.7307 44.8521 44.6546 44.8471C44.3032 44.8183 43.7711 44.7726 43.3484 44.3196C43.2635 44.2272 43.1786 44.1408 43.1005 44.0583C42.5098 43.4443 42.0003 42.9148 41.9329 41.5993C41.9241 41.4275 41.9251 41.2506 41.928 41.0728C41.9339 40.5283 41.927 40.1836 41.7103 39.962C41.6078 39.8567 41.435 39.7862 41.2349 39.7037C40.9889 39.6034 40.7097 39.4881 40.45 39.2686C40.37 39.2 40.2792 39.1007 40.1776 38.9854C40.0712 38.8602 39.9082 38.6724 39.7969 38.6337C38.974 38.3436 37.986 38.3178 36.96 38.3178L3.07245 38.2909C2.85964 38.2909 2.66927 38.3138 2.48477 38.3347C2.07378 38.3823 1.60812 38.437 1.2313 38.0962C0.866192 37.7664 0.815429 37.2607 0.814452 36.8076L0.8125 34.3993C0.8125 34.2722 0.847644 34.147 0.913051 34.0387C1.22544 33.529 1.83265 33.2558 2.3686 33.0144C2.56872 32.924 2.77666 32.8316 2.88795 32.7571C3.17593 32.5623 3.43561 32.302 3.7109 32.0248C3.91688 31.8182 4.13068 31.6046 4.36887 31.4059C4.69786 31.1317 5.07078 30.931 5.43296 30.7372C5.74535 30.5703 6.03821 30.4124 6.24127 30.2395C6.38575 30.1173 6.49216 29.9146 6.61906 29.6792C6.75476 29.4238 6.90998 29.1337 7.15208 28.8804C7.41273 28.6081 7.7427 28.4194 8.03263 28.2535C8.69744 27.871 8.68182 27.8322 8.57736 27.5769C8.52855 27.4577 8.48072 27.3553 8.43972 27.2639C8.24447 26.8357 8.07754 26.4681 8.19078 25.7051C8.2025 25.6306 8.21616 25.5521 8.22983 25.4706C8.25619 25.3325 8.30305 25.0772 8.27571 25.0037C8.27571 25.0037 8.26204 24.9927 8.23471 24.9778C8.21128 24.9659 8.12928 24.9669 8.06875 24.9679C7.87448 24.9659 7.51914 24.9768 7.2497 24.6689C6.98124 24.3629 6.99686 23.9555 7.03982 23.6356C7.08179 23.3127 7.06032 23.1051 7.03982 22.9223C6.95684 22.1453 7.21358 21.7817 8.10097 21.424C10.7524 20.351 12.901 19.9884 14.8613 20.2805C14.9775 20.2974 15.1356 20.2656 15.3182 20.2269C15.5944 20.1702 15.9351 20.1017 16.312 20.1752L18.3952 20.5766C19.2475 20.7415 19.6653 20.9054 20.3047 21.4995C20.6327 21.8046 20.7655 21.7718 21.3327 21.5661C21.6168 21.4638 21.9399 21.3485 22.3323 21.2949C22.9727 21.2084 23.5731 21.2661 24.153 21.3227C24.4136 21.3475 24.6762 21.3734 24.9408 21.3843C25.2356 21.3952 25.6085 21.2561 25.9717 21.121C26.1318 21.0614 26.2889 21.0028 26.4412 20.9541C26.78 20.8468 27.0973 20.7991 27.4038 20.7514C27.5551 20.7266 27.7064 20.7037 27.8607 20.6729C27.8714 20.6531 27.8821 20.6332 27.8939 20.6113C27.9417 20.5249 27.9944 20.4345 28.0598 20.3411C28.3419 19.9497 28.7471 19.7003 29.0722 19.4966L29.2078 19.4122C29.5564 19.1916 29.8629 18.9879 30.105 18.7386C30.5423 18.2796 31.1232 18.3114 31.5108 18.3312C31.6455 18.3392 31.8495 18.3481 31.91 18.3223C32.1678 18.207 31.9413 17.3993 31.8065 16.9165C31.7119 16.5777 31.6299 16.2846 31.6133 16.0183C31.5664 15.2642 31.9764 14.7317 32.3064 14.3045C32.5651 13.9687 32.7213 13.7481 32.7164 13.5355C32.7164 13.4948 32.7027 13.4382 32.6851 13.3845C32.4587 13.4948 32.0955 13.6369 31.6796 13.4421C31.0129 13.1302 30.6468 12.0264 30.8508 11.3985C31.0197 10.8779 31.54 10.5421 31.9198 10.2957L32.0565 10.2053C32.3806 9.98471 32.7242 9.79792 33.0542 9.6181C33.5159 9.36873 33.9513 9.13227 34.2949 8.82726C34.4404 8.69711 34.5761 8.56994 34.7089 8.44376C35.0076 8.1626 35.3161 7.8715 35.6792 7.61319C35.7056 7.5188 35.728 7.34096 35.7437 7.22571C35.7729 7.00714 35.8022 6.78062 35.8803 6.5849C36.2513 5.64304 37.1592 4.90884 37.9597 4.25908C38.2252 4.04448 38.4771 3.84081 38.6743 3.65602C38.7992 3.53878 38.9222 3.42055 39.0452 3.30332C39.6388 2.73701 40.2509 2.15084 40.9967 1.68289C41.601 1.30536 42.3898 0.833439 43.1249 0.552274C44.0972 0.1807 44.5579 0.208518 45.4766 0.262168L45.6474 0.27111C47.3607 0.371455 49.1384 0.32476 50.8575 0.281045C51.7205 0.258194 52.5796 0.235343 53.4347 0.230376C53.6651 0.230376 54.0156 0.185667 54.3836 0.138972C55.6078 -0.0140291 56.994 -0.188888 57.7818 0.503592C58.1118 0.792705 58.2924 1.19806 58.3031 1.67594C58.311 2.05248 58.1567 2.33464 58.0435 2.54129C58.0064 2.60686 57.9527 2.7082 57.9458 2.74297C57.9488 2.73205 57.9849 2.78768 58.0103 2.82742C58.1362 3.01718 58.3686 3.37088 58.2748 3.89843C58.2397 4.10111 58.1811 4.3167 58.1216 4.53528C58.0464 4.81147 57.9693 5.09761 57.9624 5.31419C57.9498 5.69073 57.6335 5.99376 57.2703 5.97289C56.9013 5.95998 56.6104 5.64603 56.6231 5.26849C56.6367 4.89195 56.7392 4.50944 56.831 4.17264C56.8788 3.9948 56.9276 3.82094 56.9569 3.65502C56.9481 3.65502 56.9218 3.62323 56.8993 3.58746C56.791 3.42254 56.6065 3.14535 56.6065 2.73701C56.6065 2.36345 56.7607 2.08328 56.873 1.87862C56.9072 1.81702 56.9589 1.72462 56.9657 1.69084C56.9608 1.58354 56.9267 1.55274 56.9072 1.53685C56.5694 1.23979 55.2544 1.40372 54.5496 1.49313C54.1386 1.5438 53.752 1.59348 53.4435 1.59547C52.5971 1.60043 51.7439 1.62229 50.8907 1.64315C49.1442 1.68886 47.3382 1.73654 45.5722 1.63421L45.3985 1.62328C44.5345 1.57162 44.3022 1.55871 43.5964 1.82894C42.9618 2.07235 42.2101 2.5244 41.7006 2.84431C41.0699 3.23973 40.533 3.75338 39.9648 4.29683C39.8379 4.41804 39.712 4.53925 39.5831 4.65947C39.3479 4.87804 39.0794 5.09661 38.7953 5.32611C38.1237 5.87056 37.3642 6.48555 37.1231 7.09457C37.1065 7.14425 37.085 7.30221 37.0713 7.40753C37.0147 7.84666 36.9424 8.3931 36.5041 8.69016C36.1927 8.90277 35.9145 9.16704 35.6187 9.44523C35.4771 9.57935 35.3317 9.71546 35.1774 9.85257C34.7186 10.2629 34.1924 10.548 33.6838 10.8222C33.3675 10.9931 33.0698 11.1541 32.8033 11.3369C32.7554 11.3707 32.6978 11.4064 32.6373 11.4462C32.5114 11.5276 32.2332 11.7065 32.1346 11.8217C32.1424 11.8992 32.1726 12.0115 32.2117 12.1009C32.3757 12.0214 32.6041 11.924 32.8804 11.9459C33.6633 12.0135 34.0401 12.8937 34.0558 13.4988C34.0743 14.2191 33.677 14.7337 33.3587 15.145C33.0971 15.4868 32.9351 15.7074 32.9487 15.9319C32.9565 16.0511 33.0288 16.3114 33.0932 16.5419C33.3314 17.3933 33.7746 18.978 32.4479 19.5701C32.0965 19.7281 31.7314 19.7082 31.4375 19.6933C31.3126 19.6864 31.1046 19.6764 31.047 19.7023C30.7171 20.051 30.3227 20.3113 29.9166 20.5706L29.7692 20.663C29.5212 20.816 29.2654 20.976 29.1405 21.1488C29.1083 21.1935 29.0819 21.2412 29.0585 21.2859C28.9345 21.5085 28.7256 21.884 28.174 21.9993C27.9827 22.04 27.7943 22.0708 27.6059 22.0996C27.3364 22.1414 27.0807 22.1811 26.8386 22.2566C26.7087 22.2993 26.5711 22.35 26.4334 22.4017C25.9697 22.5745 25.4435 22.7732 24.8871 22.7474C24.5981 22.7355 24.3131 22.7087 24.027 22.6808C23.4989 22.6282 22.9981 22.5805 22.511 22.6481C22.2572 22.6828 22.0258 22.7653 21.7817 22.8537C21.1716 23.0733 20.3369 23.3733 19.4046 22.508C18.9927 22.1265 18.8267 22.049 18.1473 21.9178L16.065 21.5164C15.942 21.4936 15.775 21.5264 15.5818 21.5651C15.3289 21.6168 15.0136 21.6784 14.6719 21.6297C12.9508 21.3724 11.0218 21.7112 8.59689 22.6928C8.49829 22.7325 8.42703 22.7643 8.37431 22.7891C8.39579 22.9779 8.42312 23.2491 8.39091 23.6217C8.53343 23.6416 8.69353 23.6843 8.86047 23.7737C9.81228 24.2834 9.63461 25.256 9.5487 25.724C9.53601 25.7876 9.52528 25.8511 9.51551 25.9127C9.4628 26.2694 9.49501 26.3429 9.65511 26.6917C9.70392 26.798 9.75664 26.9162 9.81326 27.0543C10.3941 28.4681 9.28415 29.1039 8.68865 29.4447C8.46705 29.5719 8.23764 29.701 8.11268 29.8331C7.99944 29.9524 7.89987 30.1372 7.79541 30.3329C7.62945 30.6448 7.44104 30.9975 7.10522 31.2847C6.79088 31.5529 6.41894 31.7536 6.05871 31.9454C5.74144 32.1153 5.44077 32.2762 5.21623 32.464C5.02782 32.6219 4.84527 32.8048 4.65295 32.9985C4.34252 33.3085 4.02524 33.6294 3.62499 33.8976C3.41901 34.0347 3.17203 34.147 2.9104 34.2652C2.69661 34.3606 2.33443 34.5225 2.14992 34.6626L2.15383 36.8096C2.15383 36.8881 2.15578 36.9527 2.15871 37.0023C2.21533 36.9974 2.27586 36.9904 2.32662 36.9835C2.5287 36.9606 2.77959 36.9308 3.06952 36.9308L36.9581 36.9566C38.0573 36.9566 39.2141 36.9884 40.2304 37.3471C40.6755 37.5021 40.9801 37.8538 41.1812 38.0853C41.2281 38.1399 41.2681 38.1896 41.3052 38.2234C41.4018 38.3048 41.5551 38.3674 41.7328 38.441C42.0129 38.5562 42.3615 38.7003 42.6572 39.0043C43.2811 39.6411 43.2713 40.4469 43.2645 41.0927C43.2606 41.2417 43.2606 41.3897 43.2664 41.5328C43.3084 42.3326 43.5261 42.5581 44.0532 43.1055C44.1372 43.1929 44.2251 43.2853 44.3188 43.3847C44.3842 43.4542 44.5287 43.4701 44.761 43.491C45.0412 43.5138 45.3897 43.5417 45.6953 43.7751C46.0291 44.0275 46.2546 44.5888 46.3376 44.8809C46.5455 45.0846 47.2777 45.4711 47.5647 45.6211C47.7639 45.7264 47.9298 45.8158 48.0265 45.8754L48.3672 46.088C49.3346 46.6891 50.3011 47.2922 51.2705 47.8943C51.3993 47.9727 51.533 48.0463 51.6707 48.1188C52.0924 48.3443 52.5698 48.6006 52.9291 49.0567C53.3215 49.5544 53.2942 50.0045 53.259 50.4029C53.3156 50.2936 53.3781 50.1893 53.4513 50.0879C53.5841 49.8982 53.7393 49.7541 53.877 49.626C54.0136 49.4998 54.1073 49.4104 54.1396 49.3388C54.1132 49.2772 54.0527 49.1739 54.0117 49.1034C53.8487 48.8232 53.6271 48.4387 53.7315 47.9857C53.7725 47.8108 53.8789 47.6588 54.0283 47.5634C54.0849 47.5276 54.205 47.4591 54.3631 47.3717C54.5818 47.2495 55.1373 46.9405 55.475 46.71C54.9723 45.5913 55.1392 44.2163 55.2886 42.9843C55.3345 42.6038 55.3784 42.2451 55.3989 41.9222C55.4204 41.5467 55.7337 41.2606 56.1076 41.2834C56.4776 41.3063 56.7588 41.6301 56.7353 42.0057C56.7148 42.3693 56.667 42.7498 56.6182 43.1522C56.4776 44.3166 56.3165 45.637 56.833 46.3911C56.954 46.5669 56.994 46.7895 56.9452 47.0021C56.8417 47.4502 56.3898 47.7879 55.1958 48.4606C55.352 48.7308 55.5395 49.0904 55.4731 49.5167C55.4623 49.5812 55.4487 49.6428 55.4321 49.7015C55.766 49.5793 56.1154 49.464 56.4845 49.3577C57.8775 48.9543 59.3409 48.7745 61.225 48.7745C62.0587 48.7745 62.8006 48.5053 63.5874 48.2211C64.2103 47.9946 64.8546 47.7621 65.576 47.6508C66.1852 47.5555 66.5005 47.7562 66.7728 47.9688C66.8636 48.0403 66.93 48.09 67.0442 48.1357C67.3625 48.2619 67.7325 48.2211 68.1601 48.1754C68.5925 48.1277 69.0836 48.0731 69.5844 48.2042C69.8821 48.2837 70.09 48.5579 70.0861 48.8709C70.0744 50.0571 68.5076 50.5459 67.7549 50.7814L67.0384 51.0099C66.4985 51.1848 65.9567 51.3586 65.41 51.5176C65.1631 51.5881 64.918 51.6587 64.672 51.7223C64.3889 51.7948 64.099 51.9597 63.7944 52.1316C63.481 52.3094 63.1579 52.4922 62.786 52.6174C62.1426 52.83 61.4837 52.9413 60.6471 52.9761C60.4069 52.987 60.1746 53.0943 59.9295 53.2056C59.5674 53.3735 59.1154 53.5801 58.6107 53.4132C58.3949 53.3864 57.5534 53.6775 57.1502 53.8196C56.832 53.9289 56.5577 54.0242 56.3419 54.0759C55.598 54.2528 54.8415 54.3918 54.1103 54.527L53.5968 54.6223C53.1516 54.7058 52.7035 54.7922 52.2613 54.8926L52.2076 54.9085C52.0797 54.9482 51.9021 55.0038 51.7078 55.0038L51.7107 54.9999ZM53.0735 51.6746C53.0569 51.7471 53.0403 51.8196 53.0237 51.8941C53.0032 51.9806 52.9788 52.064 52.9544 52.1455C52.9281 52.2359 52.9066 52.3055 52.8988 52.3651C52.8793 52.5379 52.8773 52.6313 52.8978 52.7247C52.9495 52.9791 52.9388 53.1907 52.8949 53.3645C53.0482 53.3347 53.2024 53.3049 53.3566 53.2751L53.875 53.1808C54.5896 53.0486 55.3296 52.9125 56.0412 52.7436C56.1906 52.7078 56.4483 52.6194 56.7217 52.525C57.7721 52.1604 58.4994 51.9359 59.0295 52.1127C59.0646 52.1058 59.2559 52.0173 59.3828 51.9597C59.7001 51.8137 60.0945 51.6328 60.5924 51.611C61.3021 51.5812 61.8498 51.4908 62.372 51.3169C62.622 51.2345 62.8748 51.0914 63.1442 50.9374C63.5123 50.7298 63.892 50.5142 64.3469 50.3969C64.5793 50.3373 64.8136 50.2707 65.0459 50.2042C65.5789 50.0482 66.11 49.8773 66.6362 49.7064L67.1253 49.5514C66.9388 49.5246 66.7504 49.4779 66.56 49.4014C66.2672 49.2862 66.0836 49.1411 65.9616 49.0457C65.9313 49.0229 65.906 48.999 65.8757 48.9812C65.8737 48.9851 65.8405 48.9851 65.7781 48.9941C65.1845 49.0855 64.6281 49.2862 64.0394 49.4998C63.1794 49.8107 62.293 50.1326 61.2279 50.1326C59.4717 50.1326 58.1235 50.2966 56.8535 50.6642C55.7142 50.992 54.7868 51.3984 54.0166 51.9031C53.7901 52.0521 53.5001 52.0481 53.2776 51.8951C53.1917 51.8365 53.1214 51.76 53.0735 51.6716V51.6746Z" fill="#154973"/>
|
|
7505
7570
|
<path d="M67.6348 51.8019C67.6348 51.8019 67.6173 51.782 67.6173 51.7303C67.6173 51.6787 67.6348 51.6588 67.6348 51.6588H68.5564C68.5564 51.6588 68.5749 51.6806 68.5749 51.7303C68.5749 51.78 68.5564 51.8019 68.5564 51.8019H68.1932V52.9205C68.1932 52.9205 68.1659 52.9404 68.0976 52.9404C68.0292 52.9404 67.998 52.9205 67.998 52.9205V51.8019H67.6348Z" fill="#154973"/>
|
|
7506
7571
|
<path d="M69.4282 52.8659C69.4135 52.8748 69.3891 52.8858 69.3471 52.8858C69.3178 52.8858 69.2837 52.8798 69.27 52.8659L68.9889 52.1476C68.9723 52.1088 68.9459 52.0323 68.944 52.0214C68.944 52.0264 68.9371 52.1277 68.9332 52.1565L68.8815 52.9205C68.8815 52.9205 68.8561 52.9404 68.7858 52.9404C68.7155 52.9404 68.6862 52.9205 68.6862 52.9205L68.7839 51.6787C68.7839 51.6787 68.8112 51.6588 68.8776 51.6588C68.9518 51.6588 68.9781 51.6787 68.9781 51.6787L69.3042 52.5162L69.3471 52.6533C69.3481 52.6473 69.3774 52.5559 69.392 52.5162L69.7181 51.6787C69.7181 51.6787 69.7464 51.6588 69.8206 51.6588C69.886 51.6588 69.9124 51.6787 69.9124 51.6787L70.01 52.9205C70.01 52.9205 69.9807 52.9404 69.9104 52.9404C69.8401 52.9404 69.8167 52.9205 69.8167 52.9205L69.763 52.1546L69.7523 52.0194C69.7523 52.0194 69.722 52.1148 69.7093 52.1456L69.4282 52.8659Z" fill="#154973"/>
|
|
7507
|
-
</svg>`, Vr = ':host{--_nys-unavheader-padding--gutter: var(--nys-gutter-xs, 20px);--_nys-unavheader-background-color: var(--nys-color-surface, var(--nys-color-white, #ffffff));--_nys-unavheader-color: var(--nys-color-text, var(--nys-color-neutral-900, #1b1b1b));--_nys-unavheader-background-color--section-raised: var(--nys-color-surface-raised, var(--nys-color-neutral-10, #f6f6f6));font-size:var(--nys-font-size-ui-md, 16px);font-weight:var(--nys-font-weight-semibold, 600);line-height:var(--nys-font-lineheight-ui-md, 24px);font-family:var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif))}.nys-unavheader{display:flex;flex-direction:column}.nys-unavheader>*{padding:0 var(--_nys-unavheader-padding--gutter)}.nys-unavheader__main.wrapper{background-color:var(--_nys-unavheader-background-color)}.nys-unavheader__main.content{display:flex;align-items:center;justify-content:space-between;gap:var(--nys-space-300, 24px);padding-top:var(--nys-space-100, 8px);padding-bottom:var(--nys-space-100, 8px)}.nys-unavheader__spacer{flex:1}.nys-unavheader__trustbar.wrapper{background-color:var(--nys-color-neutral-100, #d0d0ce);padding-top:var(--nys-space-100, 8px);padding-bottom:var(--nys-space-100, 8px)}.nys-unavheader__trustbar.wrapper>.content,.nys-unavheader__trustbar.wrapper>.content *{cursor:pointer}.nys-unavheader__trustbar.inline,.nys-unavheader__trustbar.inline #nys-unavheader__official{background-color:transparent;cursor:default}.nys-unavheader__trustbar>.content,.nys-unavheader__trustbar.inline{display:flex;align-items:center;gap:var(--nys-space-100, 8px);height:fit-content;font-size:var(--nys-font-size-ui-xs, 12px);font-weight:var(--nys-font-weight-regular, 400);line-height:var(--nys-font-lineheight-ui-xs, 20px);font-family:var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif))}a#nys-unavheader__logolink{outline-offset:var(--nys-space-2px, 2px)}.nys-unavheader__logo svg{vertical-align:top;height:var(--nys-size-500, 40px);width:auto}#nys-unavheader__know,#nys-unavheader__know--inline{width:max-content;display:flex;align-items:center;cursor:pointer;gap:var(--nys-space-50, 4px);--_nys-button-height: var(--nys-font-lineheight-ui-xs, 20px);--_nys-button-border-radius
|
|
7508
|
-
var Br = Object.defineProperty,
|
|
7572
|
+
</svg>`, Vr = ':host{--_nys-unavheader-padding--gutter: var(--nys-gutter-xs, 20px);--_nys-unavheader-background-color: var(--nys-color-surface, var(--nys-color-white, #ffffff));--_nys-unavheader-color: var(--nys-color-text, var(--nys-color-neutral-900, #1b1b1b));--_nys-unavheader-background-color--section-raised: var(--nys-color-surface-raised, var(--nys-color-neutral-10, #f6f6f6));font-size:var(--nys-font-size-ui-md, 16px);font-weight:var(--nys-font-weight-semibold, 600);line-height:var(--nys-font-lineheight-ui-md, 24px);font-family:var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif))}.nys-unavheader{display:flex;flex-direction:column}.nys-unavheader>*{padding:0 var(--_nys-unavheader-padding--gutter)}.nys-unavheader__main.wrapper{background-color:var(--_nys-unavheader-background-color)}.nys-unavheader__main.content{display:flex;align-items:center;justify-content:space-between;gap:var(--nys-space-300, 24px);padding-top:var(--nys-space-100, 8px);padding-bottom:var(--nys-space-100, 8px)}.nys-unavheader__spacer{flex:1}.nys-unavheader__trustbar.wrapper{background-color:var(--nys-color-neutral-100, #d0d0ce);padding-top:var(--nys-space-100, 8px);padding-bottom:var(--nys-space-100, 8px)}.nys-unavheader__trustbar.wrapper>.content,.nys-unavheader__trustbar.wrapper>.content *{cursor:pointer}.nys-unavheader__trustbar.inline,.nys-unavheader__trustbar.inline #nys-unavheader__official{background-color:transparent;cursor:default}.nys-unavheader__trustbar>.content,.nys-unavheader__trustbar.inline{display:flex;align-items:center;gap:var(--nys-space-100, 8px);height:fit-content;font-size:var(--nys-font-size-ui-xs, 12px);font-weight:var(--nys-font-weight-regular, 400);line-height:var(--nys-font-lineheight-ui-xs, 20px);font-family:var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif))}a#nys-unavheader__logolink{outline-offset:var(--nys-space-2px, 2px)}.nys-unavheader__logo svg{vertical-align:top;height:var(--nys-size-500, 40px);width:auto}#nys-unavheader__know,#nys-unavheader__know--inline{width:max-content;display:flex;align-items:center;cursor:pointer;gap:var(--nys-space-50, 4px);--_nys-button-height: var(--nys-font-lineheight-ui-xs, 20px);--_nys-button-border-radius: var(--nys-radius-md, 4px);--_nys-button-padding--y: var(--nys-space-2px, 2px);--_nys-button-padding--x: var(--nys-space-50, 4px);--_nys-button-border-width: 0px;--_nys-button-text-decoration: underline;--nys-button-color: var(--nys-color-link, #004dd1);--nys-button-color--hover: var(--nys-color-link-strong, #003ba1);--nys-button-color--active: var(--nys-color-link-strongest, #002971);--nys-button-background-color--hover: var(--nys-color-transparent, #ffffff00);--nys-button-background-color--active: var(--nys-color-transparent, #ffffff00);--_nys-button-font-size: var(--nys-font-size-ui-xs, 12px);--_nys-button-font-weight: var(--nys-font-weight-regular, 400);--_nys-button-line-height: var(--nys-font-lineheight-ui-xs, 20px);--_nys-button-font-family: var(--nys-font-family-ui, var(--nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif))}.hide{display:none}.nys-unavheader__trustpanel.wrapper.show{background-color:var(--_nys-unavheader-background-color--section-raised);display:flex;padding-top:var(--nys-space-400, 32px);padding-bottom:var(--nys-space-400, 32px)}.nys-unavheader__messagewrapper{display:flex;gap:var(--nys-space-400, 32px)}.nys-unavheader__trustpanel.content{display:flex;flex-direction:row-reverse}.nys-unavheader__trustcontentmessage{flex:1;display:flex;flex-direction:column;gap:var(--nys-space-100, 8px);font-family:var(--nys-type-family-ui, "Proxima Nova");font-size:var(--nys-type-size-ui-sm, 14px);font-style:normal;font-weight:400;line-height:var(--nys-typography-font-lineheight-ui-sm, 24px);letter-spacing:var(--nys-typography-font-letterspacing-ui-sm, .044px)}.nys-unavheader__searchdropdown.wrapper{background-color:var(--_nys-unavheader-background-color--section-raised);padding-top:var(--nys-space-250, 20px);padding-bottom:var(--nys-space-250, 20px)}.nys-unavheader__trustpanel.wrapper>.content,.nys-unavheader__main.wrapper>.content,.nys-unavheader__trustbar>.content,.nys-unavheader__searchdropdown.wrapper>.content{max-width:1280px;margin:0 auto}.nys-unavheader__search{max-width:var(--nys-form-width-md, 200px);transition:max-width .5s ease;--_nys-textinput-gap: 0px}.nys-unavheader__search:focus{width:var(--nys-form-width-lg, 384px);max-width:var(--nys-form-width-lg, 384px)}#nys-unavheader__translate--desktop,#nys-unavheader__translate--mobile,#nys-unavheader__searchbutton{--nys-button-color: var(--nys-color-state-blue-700, #154973);--nys-button-color--hover: var(--nys-color-state-blue-700, #154973);--nys-button-color--active: var(--nys-color-state-blue-700, #154973);--_nys-button-border-width: 0px}.nys-unavheader__iconbutton{--_nys-button-width: var(--nys-size-400, 32px);--_nys-button-height: var(--nys-size-400, 32px);--_nys-button-padding--y: 0;--_nys-button-padding--x: 0}.nys-unavheader__translatewrapper{position:relative}.nys-unavheader__languagelist.show{position:absolute;display:flex;flex-direction:column;min-width:fit-content;width:max-content;z-index:99999;background-color:var(--_nys-unavheader-background-color--section-raised);color:var(--nys-color-state-blue-700, #154973);margin-top:var(--nys-space-150, 12px);right:0}.nys-unavheader__languagelink{--_nys-button-padding: var(--nys-space-200, 16px) var(--nys-space-250, 20px);--nys-button-color: var(--nys-color-state-blue-700, #154973);--nys-button-color--hover: var(--nys-color-state-blue-700, #154973);--nys-button-color--active: var(--nys-color-state-blue-700, #154973);--_nys-button-border-radius: 0;--_nys-button-justify-content: start}@media(min-width:0)and (max-width:479px){:host{--_nys-unavheader-padding--gutter: var(--nys-gutter-xs, 20px)}#nys-unavheader__know{--_nys-button-padding--x: 0px;--_nys-button-padding--y: 0px;--_nys-button-height: var(--nys-space-200, 16px)}.nys-unavheader__trustbar>.content{flex-direction:column;align-items:flex-start;gap:0;line-height:16px}.nys-unavheader__trustbar.wrapper{padding-top:var(--nys-space-50, 4px);padding-bottom:var(--nys-space-50, 4px)}.nys-unavheader__trustbar.inline{display:none}.nys-unavheader__messagewrapper{flex-direction:column}#nys-unavheader__translate--desktop,#nys-unavheader__searchbar{display:none}}@media(min-width:480px)and (max-width:767px){:host{--_nys-unavheader-padding--gutter: var(--nys-gutter-sm, 20px)}.nys-unavheader__trustbar.inline{display:none}.nys-unavheader__messagewrapper{flex-direction:column}#nys-unavheader__translate--desktop,#nys-unavheader__searchbar{display:none}}@media(min-width:768px)and (max-width:1023px){:host{--_nys-unavheader-padding--gutter: var(--nys-gutter-md, 32px)}.nys-unavheader__trustbar.wrapper,#nys-unavheader__translate--desktop,#nys-unavheader__searchbar{display:none}.nys-unavheader__trustpanel.wrapper.show{order:2}}@media(min-width:1024px)and (max-width:1279px){:host{--_nys-unavheader-padding--gutter: var(--nys-gutter-lg, 32px)}.nys-unavheader__trustbar.wrapper,#nys-unavheader__translate--mobile,#nys-unavheader__searchbutton[circle],.nys-unavheader__searchdropdown.wrapper{display:none}.nys-unavheader__languagelist.show{margin-top:var(--nys-space-100, 8px)}.nys-unavheader__trustpanel.wrapper.show{order:2}}@media(min-width:1280px){:host{--_nys-unavheader-padding--gutter: var(--nys-gutter-xl, 64px)}.nys-unavheader__trustbar.wrapper,#nys-unavheader__translate--mobile,#nys-unavheader__searchbutton[circle],.nys-unavheader__searchdropdown.wrapper{display:none}.nys-unavheader__languagelist.show{margin-top:var(--nys-space-100, 8px)}.nys-unavheader__trustpanel.wrapper.show{order:2}}';
|
|
7573
|
+
var Br = Object.defineProperty, ke = (r, e, t, s) => {
|
|
7509
7574
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
7510
7575
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
7511
7576
|
return o && Br(e, t, o), o;
|
|
7512
7577
|
};
|
|
7513
|
-
const
|
|
7578
|
+
const r1 = class r1 extends f {
|
|
7514
7579
|
constructor() {
|
|
7515
7580
|
super(...arguments), this.trustbarVisible = !1, this.searchDropdownVisible = !1, this.languageVisible = !1, this.isSearchFocused = !1, this.hideTranslate = !1, this.hideSearch = !1, this.searchUrl = "", this.languages = [
|
|
7516
7581
|
{ code: "en", label: "English" },
|
|
@@ -7821,33 +7886,33 @@ const s1 = class s1 extends f {
|
|
|
7821
7886
|
`;
|
|
7822
7887
|
}
|
|
7823
7888
|
};
|
|
7824
|
-
|
|
7825
|
-
let
|
|
7826
|
-
|
|
7889
|
+
r1.styles = g(Vr);
|
|
7890
|
+
let oe = r1;
|
|
7891
|
+
ke([
|
|
7827
7892
|
a({ type: Boolean })
|
|
7828
|
-
],
|
|
7829
|
-
|
|
7893
|
+
], oe.prototype, "trustbarVisible");
|
|
7894
|
+
ke([
|
|
7830
7895
|
a({ type: Boolean })
|
|
7831
|
-
],
|
|
7832
|
-
|
|
7896
|
+
], oe.prototype, "searchDropdownVisible");
|
|
7897
|
+
ke([
|
|
7833
7898
|
a({ type: Boolean })
|
|
7834
|
-
],
|
|
7835
|
-
|
|
7899
|
+
], oe.prototype, "languageVisible");
|
|
7900
|
+
ke([
|
|
7836
7901
|
a({ type: Boolean })
|
|
7837
|
-
],
|
|
7838
|
-
|
|
7902
|
+
], oe.prototype, "isSearchFocused");
|
|
7903
|
+
ke([
|
|
7839
7904
|
a({ type: Boolean })
|
|
7840
|
-
],
|
|
7841
|
-
|
|
7905
|
+
], oe.prototype, "hideTranslate");
|
|
7906
|
+
ke([
|
|
7842
7907
|
a({ type: Boolean })
|
|
7843
|
-
],
|
|
7844
|
-
|
|
7908
|
+
], oe.prototype, "hideSearch");
|
|
7909
|
+
ke([
|
|
7845
7910
|
a({ type: String })
|
|
7846
|
-
],
|
|
7847
|
-
|
|
7911
|
+
], oe.prototype, "searchUrl");
|
|
7912
|
+
ke([
|
|
7848
7913
|
a({ type: Array })
|
|
7849
|
-
],
|
|
7850
|
-
customElements.get("nys-unavheader") || customElements.define("nys-unavheader",
|
|
7914
|
+
], oe.prototype, "languages");
|
|
7915
|
+
customElements.get("nys-unavheader") || customElements.define("nys-unavheader", oe);
|
|
7851
7916
|
const Ar = `<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewBox="0 0 91 55" fill="none">
|
|
7852
7917
|
<path d="M55.1158 7.50499L58.2905 12.6494V7.5189C58.2905 7.5189 58.6487 7.26356 59.5098 7.26356C60.3708 7.26356 60.7378 7.5189 60.7378 7.5189V16.4327C60.7378 16.4327 60.3942 16.689 59.5215 16.689C58.6487 16.689 58.3295 16.4605 58.3295 16.4605L55.1421 11.3171V16.4337C55.1421 16.4337 54.7848 16.69 53.9111 16.69C53.0374 16.69 52.7065 16.4337 52.7065 16.4337V7.51989C52.7065 7.51989 53.0384 7.26456 53.9248 7.26456C54.8112 7.26456 55.1148 7.50697 55.1148 7.50697L55.1158 7.50499Z" fill="white"/>
|
|
7853
7918
|
<path d="M67.2209 12.5948H64.9063V14.8709H68.2538C68.2538 14.8709 68.5047 15.1531 68.5047 15.772C68.5047 16.391 68.2538 16.688 68.2538 16.688H62.4589V7.26257H67.9892C67.9892 7.26257 68.2538 7.54572 68.2538 8.17859C68.2538 8.81146 67.9892 9.09362 67.9892 9.09362H64.9063V10.7637H67.2209C67.2209 10.7637 67.4728 11.0598 67.4728 11.6787C67.4728 12.2977 67.2209 12.5948 67.2209 12.5948Z" fill="white"/>
|
|
@@ -7870,7 +7935,7 @@ var Or = Object.defineProperty, Ne = (r, e, t, s) => {
|
|
|
7870
7935
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
7871
7936
|
return o && Or(e, t, o), o;
|
|
7872
7937
|
};
|
|
7873
|
-
const
|
|
7938
|
+
const n1 = class n1 extends f {
|
|
7874
7939
|
constructor() {
|
|
7875
7940
|
super(...arguments), this.appName = "", this.agencyName = "", this.homepageLink = "", this.nysLogo = !1, this._isMobileMenuOpen = !1, this._hasLinkContent = !1;
|
|
7876
7941
|
}
|
|
@@ -8015,34 +8080,34 @@ const o1 = class o1 extends f {
|
|
|
8015
8080
|
`;
|
|
8016
8081
|
}
|
|
8017
8082
|
};
|
|
8018
|
-
|
|
8019
|
-
let
|
|
8083
|
+
n1.styles = g(Ir);
|
|
8084
|
+
let ye = n1;
|
|
8020
8085
|
Ne([
|
|
8021
8086
|
a({ type: String })
|
|
8022
|
-
],
|
|
8087
|
+
], ye.prototype, "appName");
|
|
8023
8088
|
Ne([
|
|
8024
8089
|
a({ type: String })
|
|
8025
|
-
],
|
|
8090
|
+
], ye.prototype, "agencyName");
|
|
8026
8091
|
Ne([
|
|
8027
8092
|
a({ type: String })
|
|
8028
|
-
],
|
|
8093
|
+
], ye.prototype, "homepageLink");
|
|
8029
8094
|
Ne([
|
|
8030
8095
|
a({ type: Boolean })
|
|
8031
|
-
],
|
|
8096
|
+
], ye.prototype, "nysLogo");
|
|
8032
8097
|
Ne([
|
|
8033
8098
|
_()
|
|
8034
|
-
],
|
|
8099
|
+
], ye.prototype, "_isMobileMenuOpen");
|
|
8035
8100
|
Ne([
|
|
8036
8101
|
_()
|
|
8037
|
-
],
|
|
8038
|
-
customElements.get("nys-globalheader") || customElements.define("nys-globalheader",
|
|
8102
|
+
], ye.prototype, "_hasLinkContent");
|
|
8103
|
+
customElements.get("nys-globalheader") || customElements.define("nys-globalheader", ye);
|
|
8039
8104
|
const Hr = ':host{--_nys-globalfooter-color: var( --nys-color-text, var(--nys-color-neutral-900, #1b1b1b) );--_nys-globalfooter-background-color: var( --nys-color-theme-weaker, var(--nys-color-state-blue-50, #eff6fb) );--_nys-globalfooter-gap: var(--nys-space-300, 24px);--_nys-globalfooter-padding--y: var(--nys-space-400, 32px);--_nys-globalfooter-padding--gutter: var(--nys-gutter-sm, 20px);--_nys-globalfooter-font-size--agency: var( --nys-font-size-agency-xl, var(--nys-font-size-2xl, 22px) );--_nys-globalfooter-font-size--link: var( --nys-font-size-body-md, var(--nys-font-size-md, 16px) );--_nys-globalfooter-line-height--agency: normal;--_nys-globalfooter-font-weight--regular: var( --nys-font-weight-regular, 400 );--_nys-globalfooter-font-weight--semibold: var( --nys-font-weight-semibold, 600 );--_nys-globalfooter-max-width: var(--nys-max-content-width, 1280px);--_nys-globalfooter-font-family--agency: var( --nys-font-family-agency, "D Sari", Arial, sans-serif );--_nys-globalfooter-column-gap: var(--nys-space-400, 32px);--_nys-globalfooter-row-gap: var(--nys-space-400, 32px);--_nys-globalfooter-line-height--link: var( --nys-font-lineheight-ui-md, 24px );--_nys-globalfooter-letter-spacing: var( --nys-font-letterspacing-ui-md, var(--nys-font-letterspacing-400, .044px) );--_nys-globalfooter-font-family--link: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-globalfooter-text-decoration-thickness: var(--nys-size-2px, 2px);--_nys-globalfooter-background--divider: var(--nys-color-theme, #154973);--_nys-globalfooter-margin--divider: var(--nys-space-50, 4px)}.nys-globalfooter{display:flex;padding:var(--_nys-globalfooter-padding--y) var(--_nys-globalfooter-padding--gutter);justify-content:center;background-color:var(--_nys-globalfooter-background-color);color:var(--_nys-globalfooter-color);width:100%;box-sizing:border-box}.nys-globalfooter__main-container{display:flex;flex-direction:column;gap:var(--_nys-globalfooter-gap);width:100%;max-width:var(--_nys-globalfooter-max-width)}.nys-globalfooter__name{text-align:left;margin:0;color:var(--_nys-globalfooter-color);font-family:var(--_nys-globalfooter-font-family--agency);font-size:var(--_nys-globalfooter-font-size--agency);font-style:normal;font-weight:var(--_nys-globalfooter-font-weight--semibold);line-height:var(--_nys-globalfooter-line-height--agency);letter-spacing:normal}ul{list-style-type:none;padding:0;margin:0}li{margin:0;padding:0}a,span{color:var(--_nys-globalfooter-color);text-decoration:none;font-family:var(--_nys-globalfooter-font-family--link);font-size:var(--_nys-globalfooter-font-size--link);font-style:normal;font-weight:var(--_nys-globalfooter-font-weight--semibold);line-height:var(--_nys-globalfooter-line-height--link);letter-spacing:var(--_nys-globalfooter-letter-spacing)}ul li>span+ul li a{font-weight:var(--_nys-globalfooter-font-weight--regular)}a:hover{text-decoration:underline}a:active{text-decoration-thickness:var(--_nys-globalfooter-text-decoration-thickness)}.nys-globalfooter__content{width:100%}.nys-globalfooter__content ul{display:flex;flex-flow:column wrap;gap:var(--_nys-globalfooter-row-gap) var(--_nys-globalfooter-column-gap)}.nys-globalfooter__content ul li:has(span~ul){flex:1;display:flex;flex-direction:column}.nys-globalfooter__content ul:has(li>span~ul){--_nys-globalfooter-column-gap: var(--nys-space-500, 40px)}.nys-globalfooter__content ul li>span~ul{display:flex;flex-direction:column;gap:var(--nys-space-200, 16px)}.divider{margin-top:var(--_nys-globalfooter-margin--divider);margin-bottom:var(--nys-space-300, 24px)}@media(min-width:768px){.nys-globalfooter__content ul{flex-direction:row}.nys-globalfooter__content ul li:has(span~ul){flex:1 0 205px}:host{--_nys-globalfooter-padding--gutter: var(--nys-gutter-lg, 32px);--_nys-globalfooter-row-gap: var(--nys-space-600, 48px)}}@media(min-width:1280px){:host{--_nys-globalfooter-padding--gutter: var(--nys-gutter-xl, 64px)}}';
|
|
8040
|
-
var qr = Object.defineProperty,
|
|
8105
|
+
var qr = Object.defineProperty, Tt = (r, e, t, s) => {
|
|
8041
8106
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
8042
8107
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
8043
8108
|
return o && qr(e, t, o), o;
|
|
8044
8109
|
};
|
|
8045
|
-
const
|
|
8110
|
+
const i1 = class i1 extends f {
|
|
8046
8111
|
constructor() {
|
|
8047
8112
|
super(...arguments), this.agencyName = "", this.homepageLink = "", this.slotHasContent = !0;
|
|
8048
8113
|
}
|
|
@@ -8098,15 +8163,15 @@ const r1 = class r1 extends f {
|
|
|
8098
8163
|
`;
|
|
8099
8164
|
}
|
|
8100
8165
|
};
|
|
8101
|
-
|
|
8102
|
-
let Pe =
|
|
8103
|
-
|
|
8166
|
+
i1.styles = g(Hr);
|
|
8167
|
+
let Pe = i1;
|
|
8168
|
+
Tt([
|
|
8104
8169
|
a({ type: String })
|
|
8105
8170
|
], Pe.prototype, "agencyName");
|
|
8106
|
-
|
|
8171
|
+
Tt([
|
|
8107
8172
|
a({ type: String })
|
|
8108
8173
|
], Pe.prototype, "homepageLink");
|
|
8109
|
-
|
|
8174
|
+
Tt([
|
|
8110
8175
|
_()
|
|
8111
8176
|
], Pe.prototype, "slotHasContent");
|
|
8112
8177
|
customElements.get("nys-globalfooter") || customElements.define("nys-globalfooter", Pe);
|
|
@@ -8126,7 +8191,7 @@ const Rr = `<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewB
|
|
|
8126
8191
|
<path d="M51.7107 54.9999C51.577 54.9999 51.4335 54.974 51.2939 54.8965C51.085 54.7803 50.9395 54.5876 50.8858 54.3551C50.8233 54.0868 50.8936 53.7868 51.082 53.5116L51.1426 53.4202C51.2041 53.3268 51.2685 53.2354 51.3407 53.1519C51.4218 53.0595 51.5047 52.995 51.5741 52.9493C51.5243 52.6691 51.5418 52.4267 51.5682 52.2061C51.5877 52.0233 51.6346 51.8683 51.6726 51.7451C51.6892 51.6925 51.7058 51.6388 51.7185 51.5812C51.8201 51.145 51.8855 50.7397 51.9206 50.3453C51.9528 49.9916 51.947 49.9846 51.8864 49.9061C51.7 49.6707 51.3847 49.5018 51.0498 49.3229C50.8878 49.2365 50.7286 49.1491 50.5754 49.0557C49.607 48.4536 48.6376 47.8505 47.6701 47.2465L47.3294 47.0339C47.2513 46.9862 47.1147 46.9156 46.9516 46.8282C45.8817 46.2659 45.172 45.8526 45.0539 45.2595C45.0363 45.173 44.9465 44.9644 44.884 44.864C44.8411 44.8611 44.7307 44.8521 44.6546 44.8471C44.3032 44.8183 43.7711 44.7726 43.3484 44.3196C43.2635 44.2272 43.1786 44.1408 43.1005 44.0583C42.5098 43.4443 42.0003 42.9148 41.9329 41.5993C41.9241 41.4275 41.9251 41.2506 41.928 41.0728C41.9339 40.5283 41.927 40.1836 41.7103 39.962C41.6078 39.8567 41.435 39.7862 41.2349 39.7037C40.9889 39.6034 40.7097 39.4881 40.45 39.2686C40.37 39.2 40.2792 39.1007 40.1776 38.9854C40.0712 38.8602 39.9082 38.6724 39.7969 38.6337C38.974 38.3436 37.986 38.3178 36.96 38.3178L3.07245 38.2909C2.85964 38.2909 2.66927 38.3138 2.48477 38.3347C2.07378 38.3823 1.60812 38.437 1.2313 38.0962C0.866192 37.7664 0.815429 37.2607 0.814452 36.8076L0.8125 34.3993C0.8125 34.2722 0.847644 34.147 0.913051 34.0387C1.22544 33.529 1.83265 33.2558 2.3686 33.0144C2.56872 32.924 2.77666 32.8316 2.88795 32.7571C3.17593 32.5623 3.43561 32.302 3.7109 32.0248C3.91688 31.8182 4.13068 31.6046 4.36887 31.4059C4.69786 31.1317 5.07078 30.931 5.43296 30.7372C5.74535 30.5703 6.03821 30.4124 6.24127 30.2395C6.38575 30.1173 6.49216 29.9146 6.61906 29.6792C6.75476 29.4238 6.90998 29.1337 7.15208 28.8804C7.41273 28.6081 7.7427 28.4194 8.03263 28.2535C8.69744 27.871 8.68182 27.8322 8.57736 27.5769C8.52855 27.4577 8.48072 27.3553 8.43972 27.2639C8.24447 26.8357 8.07754 26.4681 8.19078 25.7051C8.2025 25.6306 8.21616 25.5521 8.22983 25.4706C8.25619 25.3325 8.30305 25.0772 8.27571 25.0037C8.27571 25.0037 8.26204 24.9927 8.23471 24.9778C8.21128 24.9659 8.12928 24.9669 8.06875 24.9679C7.87448 24.9659 7.51914 24.9768 7.2497 24.6689C6.98124 24.3629 6.99686 23.9555 7.03982 23.6356C7.08179 23.3127 7.06032 23.1051 7.03982 22.9223C6.95684 22.1453 7.21358 21.7817 8.10097 21.424C10.7524 20.351 12.901 19.9884 14.8613 20.2805C14.9775 20.2974 15.1356 20.2656 15.3182 20.2269C15.5944 20.1702 15.9351 20.1017 16.312 20.1752L18.3952 20.5766C19.2475 20.7415 19.6653 20.9054 20.3047 21.4995C20.6327 21.8046 20.7655 21.7718 21.3327 21.5661C21.6168 21.4638 21.9399 21.3485 22.3323 21.2949C22.9727 21.2084 23.5731 21.2661 24.153 21.3227C24.4136 21.3475 24.6762 21.3734 24.9408 21.3843C25.2356 21.3952 25.6085 21.2561 25.9717 21.121C26.1318 21.0614 26.2889 21.0028 26.4412 20.9541C26.78 20.8468 27.0973 20.7991 27.4038 20.7514C27.5551 20.7266 27.7064 20.7037 27.8607 20.6729C27.8714 20.6531 27.8821 20.6332 27.8939 20.6113C27.9417 20.5249 27.9944 20.4345 28.0598 20.3411C28.3419 19.9497 28.7471 19.7003 29.0722 19.4966L29.2078 19.4122C29.5564 19.1916 29.8629 18.9879 30.105 18.7386C30.5423 18.2796 31.1232 18.3114 31.5108 18.3312C31.6455 18.3392 31.8495 18.3481 31.91 18.3223C32.1678 18.207 31.9413 17.3993 31.8065 16.9165C31.7119 16.5777 31.6299 16.2846 31.6133 16.0183C31.5664 15.2642 31.9764 14.7317 32.3064 14.3045C32.5651 13.9687 32.7213 13.7481 32.7164 13.5355C32.7164 13.4948 32.7027 13.4382 32.6851 13.3845C32.4587 13.4948 32.0955 13.6369 31.6796 13.4421C31.0129 13.1302 30.6468 12.0264 30.8508 11.3985C31.0197 10.8779 31.54 10.5421 31.9198 10.2957L32.0565 10.2053C32.3806 9.98471 32.7242 9.79792 33.0542 9.6181C33.5159 9.36873 33.9513 9.13227 34.2949 8.82726C34.4404 8.69711 34.5761 8.56994 34.7089 8.44376C35.0076 8.1626 35.3161 7.8715 35.6792 7.61319C35.7056 7.5188 35.728 7.34096 35.7437 7.22571C35.7729 7.00714 35.8022 6.78062 35.8803 6.5849C36.2513 5.64304 37.1592 4.90884 37.9597 4.25908C38.2252 4.04448 38.4771 3.84081 38.6743 3.65602C38.7992 3.53878 38.9222 3.42055 39.0452 3.30332C39.6388 2.73701 40.2509 2.15084 40.9967 1.68289C41.601 1.30536 42.3898 0.833439 43.1249 0.552274C44.0972 0.1807 44.5579 0.208518 45.4766 0.262168L45.6474 0.27111C47.3607 0.371455 49.1384 0.32476 50.8575 0.281045C51.7205 0.258194 52.5796 0.235343 53.4347 0.230376C53.6651 0.230376 54.0156 0.185667 54.3836 0.138972C55.6078 -0.0140291 56.994 -0.188888 57.7818 0.503592C58.1118 0.792705 58.2924 1.19806 58.3031 1.67594C58.311 2.05248 58.1567 2.33464 58.0435 2.54129C58.0064 2.60686 57.9527 2.7082 57.9458 2.74297C57.9488 2.73205 57.9849 2.78768 58.0103 2.82742C58.1362 3.01718 58.3686 3.37088 58.2748 3.89843C58.2397 4.10111 58.1811 4.3167 58.1216 4.53528C58.0464 4.81147 57.9693 5.09761 57.9624 5.31419C57.9498 5.69073 57.6335 5.99376 57.2703 5.97289C56.9013 5.95998 56.6104 5.64603 56.6231 5.26849C56.6367 4.89195 56.7392 4.50944 56.831 4.17264C56.8788 3.9948 56.9276 3.82094 56.9569 3.65502C56.9481 3.65502 56.9218 3.62323 56.8993 3.58746C56.791 3.42254 56.6065 3.14535 56.6065 2.73701C56.6065 2.36345 56.7607 2.08328 56.873 1.87862C56.9072 1.81702 56.9589 1.72462 56.9657 1.69084C56.9608 1.58354 56.9267 1.55274 56.9072 1.53685C56.5694 1.23979 55.2544 1.40372 54.5496 1.49313C54.1386 1.5438 53.752 1.59348 53.4435 1.59547C52.5971 1.60043 51.7439 1.62229 50.8907 1.64315C49.1442 1.68886 47.3382 1.73654 45.5722 1.63421L45.3985 1.62328C44.5345 1.57162 44.3022 1.55871 43.5964 1.82894C42.9618 2.07235 42.2101 2.5244 41.7006 2.84431C41.0699 3.23973 40.533 3.75338 39.9648 4.29683C39.8379 4.41804 39.712 4.53925 39.5831 4.65947C39.3479 4.87804 39.0794 5.09661 38.7953 5.32611C38.1237 5.87056 37.3642 6.48555 37.1231 7.09457C37.1065 7.14425 37.085 7.30221 37.0713 7.40753C37.0147 7.84666 36.9424 8.3931 36.5041 8.69016C36.1927 8.90277 35.9145 9.16704 35.6187 9.44523C35.4771 9.57935 35.3317 9.71546 35.1774 9.85257C34.7186 10.2629 34.1924 10.548 33.6838 10.8222C33.3675 10.9931 33.0698 11.1541 32.8033 11.3369C32.7554 11.3707 32.6978 11.4064 32.6373 11.4462C32.5114 11.5276 32.2332 11.7065 32.1346 11.8217C32.1424 11.8992 32.1726 12.0115 32.2117 12.1009C32.3757 12.0214 32.6041 11.924 32.8804 11.9459C33.6633 12.0135 34.0401 12.8937 34.0558 13.4988C34.0743 14.2191 33.677 14.7337 33.3587 15.145C33.0971 15.4868 32.9351 15.7074 32.9487 15.9319C32.9565 16.0511 33.0288 16.3114 33.0932 16.5419C33.3314 17.3933 33.7746 18.978 32.4479 19.5701C32.0965 19.7281 31.7314 19.7082 31.4375 19.6933C31.3126 19.6864 31.1046 19.6764 31.047 19.7023C30.7171 20.051 30.3227 20.3113 29.9166 20.5706L29.7692 20.663C29.5212 20.816 29.2654 20.976 29.1405 21.1488C29.1083 21.1935 29.0819 21.2412 29.0585 21.2859C28.9345 21.5085 28.7256 21.884 28.174 21.9993C27.9827 22.04 27.7943 22.0708 27.6059 22.0996C27.3364 22.1414 27.0807 22.1811 26.8386 22.2566C26.7087 22.2993 26.5711 22.35 26.4334 22.4017C25.9697 22.5745 25.4435 22.7732 24.8871 22.7474C24.5981 22.7355 24.3131 22.7087 24.027 22.6808C23.4989 22.6282 22.9981 22.5805 22.511 22.6481C22.2572 22.6828 22.0258 22.7653 21.7817 22.8537C21.1716 23.0733 20.3369 23.3733 19.4046 22.508C18.9927 22.1265 18.8267 22.049 18.1473 21.9178L16.065 21.5164C15.942 21.4936 15.775 21.5264 15.5818 21.5651C15.3289 21.6168 15.0136 21.6784 14.6719 21.6297C12.9508 21.3724 11.0218 21.7112 8.59689 22.6928C8.49829 22.7325 8.42703 22.7643 8.37431 22.7891C8.39579 22.9779 8.42312 23.2491 8.39091 23.6217C8.53343 23.6416 8.69353 23.6843 8.86047 23.7737C9.81228 24.2834 9.63461 25.256 9.5487 25.724C9.53601 25.7876 9.52528 25.8511 9.51551 25.9127C9.4628 26.2694 9.49501 26.3429 9.65511 26.6917C9.70392 26.798 9.75664 26.9162 9.81326 27.0543C10.3941 28.4681 9.28415 29.1039 8.68865 29.4447C8.46705 29.5719 8.23764 29.701 8.11268 29.8331C7.99944 29.9524 7.89987 30.1372 7.79541 30.3329C7.62945 30.6448 7.44104 30.9975 7.10522 31.2847C6.79088 31.5529 6.41894 31.7536 6.05871 31.9454C5.74144 32.1153 5.44077 32.2762 5.21623 32.464C5.02782 32.6219 4.84527 32.8048 4.65295 32.9985C4.34252 33.3085 4.02524 33.6294 3.62499 33.8976C3.41901 34.0347 3.17203 34.147 2.9104 34.2652C2.69661 34.3606 2.33443 34.5225 2.14992 34.6626L2.15383 36.8096C2.15383 36.8881 2.15578 36.9527 2.15871 37.0023C2.21533 36.9974 2.27586 36.9904 2.32662 36.9835C2.5287 36.9606 2.77959 36.9308 3.06952 36.9308L36.9581 36.9566C38.0573 36.9566 39.2141 36.9884 40.2304 37.3471C40.6755 37.5021 40.9801 37.8538 41.1812 38.0853C41.2281 38.1399 41.2681 38.1896 41.3052 38.2234C41.4018 38.3048 41.5551 38.3674 41.7328 38.441C42.0129 38.5562 42.3615 38.7003 42.6572 39.0043C43.2811 39.6411 43.2713 40.4469 43.2645 41.0927C43.2606 41.2417 43.2606 41.3897 43.2664 41.5328C43.3084 42.3326 43.5261 42.5581 44.0532 43.1055C44.1372 43.1929 44.2251 43.2853 44.3188 43.3847C44.3842 43.4542 44.5287 43.4701 44.761 43.491C45.0412 43.5138 45.3897 43.5417 45.6953 43.7751C46.0291 44.0275 46.2546 44.5888 46.3376 44.8809C46.5455 45.0846 47.2777 45.4711 47.5647 45.6211C47.7639 45.7264 47.9298 45.8158 48.0265 45.8754L48.3672 46.088C49.3346 46.6891 50.3011 47.2922 51.2705 47.8943C51.3993 47.9727 51.533 48.0463 51.6707 48.1188C52.0924 48.3443 52.5698 48.6006 52.9291 49.0567C53.3215 49.5544 53.2942 50.0045 53.259 50.4029C53.3156 50.2936 53.3781 50.1893 53.4513 50.0879C53.5841 49.8982 53.7393 49.7541 53.877 49.626C54.0136 49.4998 54.1073 49.4104 54.1396 49.3388C54.1132 49.2772 54.0527 49.1739 54.0117 49.1034C53.8487 48.8232 53.6271 48.4387 53.7315 47.9857C53.7725 47.8108 53.8789 47.6588 54.0283 47.5634C54.0849 47.5276 54.205 47.4591 54.3631 47.3717C54.5818 47.2495 55.1373 46.9405 55.475 46.71C54.9723 45.5913 55.1392 44.2163 55.2886 42.9843C55.3345 42.6038 55.3784 42.2451 55.3989 41.9222C55.4204 41.5467 55.7337 41.2606 56.1076 41.2834C56.4776 41.3063 56.7588 41.6301 56.7353 42.0057C56.7148 42.3693 56.667 42.7498 56.6182 43.1522C56.4776 44.3166 56.3165 45.637 56.833 46.3911C56.954 46.5669 56.994 46.7895 56.9452 47.0021C56.8417 47.4502 56.3898 47.7879 55.1958 48.4606C55.352 48.7308 55.5395 49.0904 55.4731 49.5167C55.4623 49.5812 55.4487 49.6428 55.4321 49.7015C55.766 49.5793 56.1154 49.464 56.4845 49.3577C57.8775 48.9543 59.3409 48.7745 61.225 48.7745C62.0587 48.7745 62.8006 48.5053 63.5874 48.2211C64.2103 47.9946 64.8546 47.7621 65.576 47.6508C66.1852 47.5555 66.5005 47.7562 66.7728 47.9688C66.8636 48.0403 66.93 48.09 67.0442 48.1357C67.3625 48.2619 67.7325 48.2211 68.1601 48.1754C68.5925 48.1277 69.0836 48.0731 69.5844 48.2042C69.8821 48.2837 70.09 48.5579 70.0861 48.8709C70.0744 50.0571 68.5076 50.5459 67.7549 50.7814L67.0384 51.0099C66.4985 51.1848 65.9567 51.3586 65.41 51.5176C65.1631 51.5881 64.918 51.6587 64.672 51.7223C64.3889 51.7948 64.099 51.9597 63.7944 52.1316C63.481 52.3094 63.1579 52.4922 62.786 52.6174C62.1426 52.83 61.4837 52.9413 60.6471 52.9761C60.4069 52.987 60.1746 53.0943 59.9295 53.2056C59.5674 53.3735 59.1154 53.5801 58.6107 53.4132C58.3949 53.3864 57.5534 53.6775 57.1502 53.8196C56.832 53.9289 56.5577 54.0242 56.3419 54.0759C55.598 54.2528 54.8415 54.3918 54.1103 54.527L53.5968 54.6223C53.1516 54.7058 52.7035 54.7922 52.2613 54.8926L52.2076 54.9085C52.0797 54.9482 51.9021 55.0038 51.7078 55.0038L51.7107 54.9999ZM53.0735 51.6746C53.0569 51.7471 53.0403 51.8196 53.0237 51.8941C53.0032 51.9806 52.9788 52.064 52.9544 52.1455C52.9281 52.2359 52.9066 52.3055 52.8988 52.3651C52.8793 52.5379 52.8773 52.6313 52.8978 52.7247C52.9495 52.9791 52.9388 53.1907 52.8949 53.3645C53.0482 53.3347 53.2024 53.3049 53.3566 53.2751L53.875 53.1808C54.5896 53.0486 55.3296 52.9125 56.0412 52.7436C56.1906 52.7078 56.4483 52.6194 56.7217 52.525C57.7721 52.1604 58.4994 51.9359 59.0295 52.1127C59.0646 52.1058 59.2559 52.0173 59.3828 51.9597C59.7001 51.8137 60.0945 51.6328 60.5924 51.611C61.3021 51.5812 61.8498 51.4908 62.372 51.3169C62.622 51.2345 62.8748 51.0914 63.1442 50.9374C63.5123 50.7298 63.892 50.5142 64.3469 50.3969C64.5793 50.3373 64.8136 50.2707 65.0459 50.2042C65.5789 50.0482 66.11 49.8773 66.6362 49.7064L67.1253 49.5514C66.9388 49.5246 66.7504 49.4779 66.56 49.4014C66.2672 49.2862 66.0836 49.1411 65.9616 49.0457C65.9313 49.0229 65.906 48.999 65.8757 48.9812C65.8737 48.9851 65.8405 48.9851 65.7781 48.9941C65.1845 49.0855 64.6281 49.2862 64.0394 49.4998C63.1794 49.8107 62.293 50.1326 61.2279 50.1326C59.4717 50.1326 58.1235 50.2966 56.8535 50.6642C55.7142 50.992 54.7868 51.3984 54.0166 51.9031C53.7901 52.0521 53.5001 52.0481 53.2776 51.8951C53.1917 51.8365 53.1214 51.76 53.0735 51.6716V51.6746Z" fill="white"/>
|
|
8127
8192
|
<path d="M67.6348 51.8019C67.6348 51.8019 67.6173 51.782 67.6173 51.7303C67.6173 51.6787 67.6348 51.6588 67.6348 51.6588H68.5564C68.5564 51.6588 68.5749 51.6806 68.5749 51.7303C68.5749 51.78 68.5564 51.8019 68.5564 51.8019H68.1932V52.9205C68.1932 52.9205 68.1659 52.9404 68.0976 52.9404C68.0292 52.9404 67.998 52.9205 67.998 52.9205V51.8019H67.6348Z" fill="white"/>
|
|
8128
8193
|
<path d="M69.4282 52.8659C69.4135 52.8748 69.3891 52.8858 69.3471 52.8858C69.3178 52.8858 69.2837 52.8798 69.27 52.8659L68.9889 52.1476C68.9723 52.1088 68.9459 52.0323 68.944 52.0214C68.944 52.0264 68.9371 52.1277 68.9332 52.1565L68.8815 52.9205C68.8815 52.9205 68.8561 52.9404 68.7858 52.9404C68.7155 52.9404 68.6862 52.9205 68.6862 52.9205L68.7839 51.6787C68.7839 51.6787 68.8112 51.6588 68.8776 51.6588C68.9518 51.6588 68.9781 51.6787 68.9781 51.6787L69.3042 52.5162L69.3471 52.6533C69.3481 52.6473 69.3774 52.5559 69.392 52.5162L69.7181 51.6787C69.7181 51.6787 69.7464 51.6588 69.8206 51.6588C69.886 51.6588 69.9124 51.6787 69.9124 51.6787L70.01 52.9205C70.01 52.9205 69.9807 52.9404 69.9104 52.9404C69.8401 52.9404 69.8167 52.9205 69.8167 52.9205L69.763 52.1546L69.7523 52.0194C69.7523 52.0194 69.722 52.1148 69.7093 52.1456L69.4282 52.8659Z" fill="white"/>
|
|
8129
|
-
</svg>`, Pr = ':host{--_nys-unavfooter-color: var( --nys-color-link-reverse-neutral, var(--nys-color-white, #ffffff) );--_nys-unavfooter-background-color: var( --nys-color-surface-reverse, #1b1b1b );--_nys-unavfooter-gap: var(--nys-space-200, 16px);--_nys-unavfooter-padding: var(--nys-space-250, 20px);--_nys-unavfooter-padding--gutter: var(--nys-gutter-sm, 20px);--_nys-unavfooter-font-size: var( --nys-font-size-body-md, var(--nys-font-size-md, 16px) );--_nys-unavfooter-font-weight: var(--nys-font-weight-semibold, 600);--_nys-unavfooter-max-width: var(--nys-max-content-width, 1280px);--_nys-unavfooter-row-gap: var(--nys-space-250, 20px);--_nys-unavfooter-column-gap: var(--nys-space-600, 48px);--_nys-unavfooter-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-unavfooter-letter-spacing: var( --nys-font-letterspacing-ui-md, var(--nys-font-letterspacing-400, .044px) );--_nys-unavfooter-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-unavfooter-text-decoration-thickness: var(--nys-size-2px, 2px)}ul{list-style-type:none;padding:0;margin:0}li{margin:0;padding:0}a{color:var(--_nys-unavfooter-color);text-decoration:none;font-family:var(--_nys-unavfooter-font-family);font-size:var(--_nys-unavfooter-font-size);font-style:normal;font-weight:var(--_nys-unavfooter-font-weight);line-height:var(--_nys-unavfooter-line-height);letter-spacing:var(--_nys-unavfooter-letter-spacing);text-decoration-style:solid;text-decoration-skip-ink:auto;text-decoration-thickness:7%;text-underline-offset:auto;text-underline-position:from-font}a:hover{text-decoration-line:underline}a:active{text-decoration-thickness:var(--_nys-unavfooter-text-decoration-thickness)}.nys-unavfooter{display:flex;flex-direction:column;gap:var(--_nys-unavfooter-gap);align-items:flex-start;background-color:var(--_nys-unavfooter-background-color);width:100%;box-sizing:border-box}.nys-unavfooter__main-container{display:flex;justify-content:center;width:100%}.nys-unavfooter__container_menu{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:var(--_nys-unavfooter-max-width);padding:var(--_nys-unavfooter-padding) var(--_nys-unavfooter-padding--gutter);gap:var(--_nys-unavfooter-gap);box-sizing:border-box}.nys-unavfooter__logo a{display:flex;align-items:center;line-height:0}.nys-unavfooter__content{display:flex;align-items:center}.nys-unavfooter__content ul{display:flex;justify-content:center;gap:var(--_nys-unavfooter-row-gap) var(--_nys-unavfooter-column-gap);flex-wrap:wrap}@media(min-width:768px){.nys-unavfooter__container_menu{flex-direction:row}.nys-unavfooter__content ul{justify-content:flex-start}:host{--_nys-unavfooter-padding--gutter: var(--nys-gutter-lg, 32px);--_nys-unavfooter-column-gap: var(--nys-space-600, 48px);--_nys-unavfooter-gap-spacing: var(--nys-space-800, 64px)}}@media(min-width:1280px){:host{--_nys-unavfooter-padding--gutter: var(--nys-gutter-xl, 64px)}}',
|
|
8194
|
+
</svg>`, Pr = ':host{--_nys-unavfooter-color: var( --nys-color-link-reverse-neutral, var(--nys-color-white, #ffffff) );--_nys-unavfooter-background-color: var( --nys-color-surface-reverse, #1b1b1b );--_nys-unavfooter-gap: var(--nys-space-200, 16px);--_nys-unavfooter-padding: var(--nys-space-250, 20px);--_nys-unavfooter-padding--gutter: var(--nys-gutter-sm, 20px);--_nys-unavfooter-font-size: var( --nys-font-size-body-md, var(--nys-font-size-md, 16px) );--_nys-unavfooter-font-weight: var(--nys-font-weight-semibold, 600);--_nys-unavfooter-max-width: var(--nys-max-content-width, 1280px);--_nys-unavfooter-row-gap: var(--nys-space-250, 20px);--_nys-unavfooter-column-gap: var(--nys-space-600, 48px);--_nys-unavfooter-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-unavfooter-letter-spacing: var( --nys-font-letterspacing-ui-md, var(--nys-font-letterspacing-400, .044px) );--_nys-unavfooter-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-unavfooter-text-decoration-thickness: var(--nys-size-2px, 2px)}ul{list-style-type:none;padding:0;margin:0}li{margin:0;padding:0}a{color:var(--_nys-unavfooter-color);text-decoration:none;font-family:var(--_nys-unavfooter-font-family);font-size:var(--_nys-unavfooter-font-size);font-style:normal;font-weight:var(--_nys-unavfooter-font-weight);line-height:var(--_nys-unavfooter-line-height);letter-spacing:var(--_nys-unavfooter-letter-spacing);text-decoration-style:solid;text-decoration-skip-ink:auto;text-decoration-thickness:7%;text-underline-offset:auto;text-underline-position:from-font}a:hover{text-decoration-line:underline}a:active{text-decoration-thickness:var(--_nys-unavfooter-text-decoration-thickness)}.nys-unavfooter{display:flex;flex-direction:column;gap:var(--_nys-unavfooter-gap);align-items:flex-start;background-color:var(--_nys-unavfooter-background-color);width:100%;box-sizing:border-box}.nys-unavfooter__main-container{display:flex;justify-content:center;width:100%}.nys-unavfooter__container_menu{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:var(--_nys-unavfooter-max-width);padding:var(--_nys-unavfooter-padding) var(--_nys-unavfooter-padding--gutter);gap:var(--_nys-unavfooter-gap);box-sizing:border-box}.nys-unavfooter__logo a{display:flex;align-items:center;line-height:0}.nys-unavfooter__content{display:flex;align-items:center}.nys-unavfooter__content ul{display:flex;justify-content:center;gap:var(--_nys-unavfooter-row-gap) var(--_nys-unavfooter-column-gap);flex-wrap:wrap}@media(min-width:768px){.nys-unavfooter__container_menu{flex-direction:row}.nys-unavfooter__content ul{justify-content:flex-start}:host{--_nys-unavfooter-padding--gutter: var(--nys-gutter-lg, 32px);--_nys-unavfooter-column-gap: var(--nys-space-600, 48px);--_nys-unavfooter-gap-spacing: var(--nys-space-800, 64px)}}@media(min-width:1280px){:host{--_nys-unavfooter-padding--gutter: var(--nys-gutter-xl, 64px)}}', a1 = class a1 extends f {
|
|
8130
8195
|
/**
|
|
8131
8196
|
* Functions
|
|
8132
8197
|
* --------------------------------------------------------------------------
|
|
@@ -8166,17 +8231,17 @@ const Rr = `<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewB
|
|
|
8166
8231
|
`;
|
|
8167
8232
|
}
|
|
8168
8233
|
};
|
|
8169
|
-
|
|
8170
|
-
let
|
|
8171
|
-
customElements.get("nys-unavfooter") || customElements.define("nys-unavfooter",
|
|
8172
|
-
const Tr = '@charset "UTF-8";:host{--_nys-video-width: fit-content;--_nys-video-height: var(--nys-size-600, 48px);--_nys-video-radius: var(--nys-radius-lg, 8px);--_nys-video-padding: var(--nys-space-100, 8px);--_nys-video-gap: var(--nys-space-100, 8px);--_nys-video-font-size: var(--nys-font-size-ui-md, 16px);--_nys-video-font-weight: var(--nys-font-weight-semibold, 600);--_nys-video-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-video-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-video-background-color--play-button: var( --nys-color-black-transparent-600, rgba(27, 27, 27, .6) );--_nys-video-outline-color--play-button: var(--nys-color-focus, #004dd1);--_nys-video-svg-color--play-button: var( --nys-color-white-transparent-400, rgba(255, 255, 255, .4) );--_nys-video-color--title-text: var(--nys-color-text-reverse, #ffffff);--_nys-video-background-color--title-text: var( --nys-color-ink, var(--nys-color-neutral-900, #1b1b1b) );--_nys-video-padding--title-text: var(--nys-space-250, 20px)}.nys-video--full{width:100%}.nys-video--md{width:100%;max-width:675px
|
|
8173
|
-
var Ur = Object.defineProperty,
|
|
8234
|
+
a1.styles = g(Pr);
|
|
8235
|
+
let Bt = a1;
|
|
8236
|
+
customElements.get("nys-unavfooter") || customElements.define("nys-unavfooter", Bt);
|
|
8237
|
+
const Tr = '@charset "UTF-8";:host{--_nys-video-width: fit-content;--_nys-video-height: var(--nys-size-600, 48px);--_nys-video-radius: var(--nys-radius-lg, 8px);--_nys-video-padding: var(--nys-space-100, 8px);--_nys-video-gap: var(--nys-space-100, 8px);--_nys-video-font-size: var(--nys-font-size-ui-md, 16px);--_nys-video-font-weight: var(--nys-font-weight-semibold, 600);--_nys-video-line-height: var(--nys-font-lineheight-ui-md, 24px);--_nys-video-font-family: var( --nys-font-family-ui, var( --nys-font-family-sans, "Proxima Nova", "Helvetica Neue", "Helvetica", "Arial", sans-serif ) );--_nys-video-background-color--play-button: var( --nys-color-black-transparent-600, rgba(27, 27, 27, .6) );--_nys-video-outline-color--play-button: var(--nys-color-focus, #004dd1);--_nys-video-svg-color--play-button: var( --nys-color-white-transparent-400, rgba(255, 255, 255, .4) );--_nys-video-color--title-text: var(--nys-color-text-reverse, #ffffff);--_nys-video-background-color--title-text: var( --nys-color-ink, var(--nys-color-neutral-900, #1b1b1b) );--_nys-video-padding--title-text: var(--nys-space-250, 20px)}.nys-video--full{width:100%}.nys-video--md{width:100%;max-width:675px}.nys-video--sm{width:100%;min-width:320px;max-width:439px}:host([size=full]) .nys-video .nys-video__title-text{position:absolute;bottom:0;--_nys-video-background-color--title-text: var( --nys-color-black-transparent-900, rgba(27, 27, 27, .9) )}@media(min-width:480px){.nys-video:not(.nys-video--sm):not(.nys-video--md) .nys-video__title-text{position:absolute;bottom:0;--_nys-video-background-color--title-text: var( --nys-color-black-transparent-900, rgba(27, 27, 27, .9) )}}.nys-video{border-radius:var(--_nys-video-radius);display:flex;flex-direction:column;position:relative;overflow:hidden}.nys-video .nys-video__ratio-box{aspect-ratio:16/9;position:relative}.nys-video .nys-video__ratio-box iframe,.nys-video .nys-video__ratio-box .nys-video__thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;display:block;border:none}.nys-video .nys-video__ratio-box .nys-video__thumbnail{cursor:pointer;padding:0;background-color:transparent}.nys-video .nys-video__ratio-box .nys-video__thumbnail img{width:100%;height:100%;object-fit:cover}.nys-video .nys-video__ratio-box .nys-video__thumbnail .nys-video__play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:96px;height:96px;background-color:var(--_nys-video-background-color--play-button);border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;pointer-events:none}.nys-video .nys-video__ratio-box .nys-video__thumbnail .nys-video__play-icon svg{display:flex;margin-left:10px}.nys-video .nys-video__ratio-box .nys-video__thumbnail .nys-video__play-icon:focus-visible{outline:3.5px solid var(--_nys-video-outline-color--play-button);outline-offset:1px}.nys-video .nys-video__ratio-box .nys-video__thumbnail:hover .nys-video__play-icon{--_nys-video-background-color--play-button: var( --nys-color-black-transparent-700, rgba(27, 27, 27, .7) )}.nys-video .nys-video__ratio-box .nys-video__thumbnail:active .nys-video__play-icon{--_nys-video-background-color--play-button: var( --nys-color-black-transparent-800, rgba(27, 27, 27, .8) )}.nys-video--disabled .nys-video__ratio-box{cursor:not-allowed}.nys-video--disabled .nys-video__ratio-box .nys-video__thumbnail{pointer-events:none}.nys-video--disabled .nys-video__ratio-box .nys-video__thumbnail .nys-video__play-icon{--_nys-video-background-color--play-button: var( --nys-color-black-transparent-200, rgba(27, 27, 27, .2) )}.nys-video--disabled .nys-video__ratio-box .nys-video__thumbnail .nys-video__play-icon svg{fill:var(--_nys-video-svg-color--play-button)}.nys-video .nys-video__title-text{width:100%;padding:var(--_nys-video-padding--title-text);background-color:var(--_nys-video-background-color--title-text);box-sizing:border-box;color:var(--_nys-video-color--title-text);display:flex;justify-content:start;font-family:var(--_nys-video-font-family);font-size:var(--_nys-video-font-size);font-weight:var(--_nys-video-font-weight);line-height:var(--_nys-video-line-height)}.nys-video .nys-video__title-text p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}';
|
|
8238
|
+
var Ur = Object.defineProperty, ne = (r, e, t, s) => {
|
|
8174
8239
|
for (var o = void 0, n = r.length - 1, i; n >= 0; n--)
|
|
8175
8240
|
(i = r[n]) && (o = i(e, t, o) || o);
|
|
8176
8241
|
return o && Ur(e, t, o), o;
|
|
8177
8242
|
};
|
|
8178
8243
|
let Zr = 0;
|
|
8179
|
-
const
|
|
8244
|
+
const l1 = class l1 extends f {
|
|
8180
8245
|
// Lifecycle Methods
|
|
8181
8246
|
constructor() {
|
|
8182
8247
|
super(), this.id = "", this.titleText = "", this.videourl = "", this.size = "", this.loading = "lazy", this.starttime = 0, this.thumbnail = null, this.autoplay = !1, this.disabled = !1, this._playerActive = !1, this._announcement = "", this._adPlaying = !1;
|
|
@@ -8357,79 +8422,79 @@ const i1 = class i1 extends f {
|
|
|
8357
8422
|
</div>`;
|
|
8358
8423
|
}
|
|
8359
8424
|
};
|
|
8360
|
-
|
|
8361
|
-
let
|
|
8362
|
-
|
|
8425
|
+
l1.styles = g(Tr);
|
|
8426
|
+
let Y = l1;
|
|
8427
|
+
ne([
|
|
8363
8428
|
a({ type: String, reflect: !0 })
|
|
8364
|
-
],
|
|
8365
|
-
|
|
8429
|
+
], Y.prototype, "id");
|
|
8430
|
+
ne([
|
|
8366
8431
|
a({ type: String, reflect: !0 })
|
|
8367
|
-
],
|
|
8368
|
-
|
|
8432
|
+
], Y.prototype, "titleText");
|
|
8433
|
+
ne([
|
|
8369
8434
|
a({ type: String })
|
|
8370
|
-
],
|
|
8371
|
-
|
|
8435
|
+
], Y.prototype, "videourl");
|
|
8436
|
+
ne([
|
|
8372
8437
|
a({ type: String, reflect: !0 })
|
|
8373
|
-
],
|
|
8374
|
-
|
|
8438
|
+
], Y.prototype, "size");
|
|
8439
|
+
ne([
|
|
8375
8440
|
a({ type: String })
|
|
8376
|
-
],
|
|
8377
|
-
|
|
8441
|
+
], Y.prototype, "loading");
|
|
8442
|
+
ne([
|
|
8378
8443
|
a({ type: Number })
|
|
8379
|
-
],
|
|
8380
|
-
|
|
8444
|
+
], Y.prototype, "starttime");
|
|
8445
|
+
ne([
|
|
8381
8446
|
a({ type: String })
|
|
8382
|
-
],
|
|
8383
|
-
|
|
8447
|
+
], Y.prototype, "thumbnail");
|
|
8448
|
+
ne([
|
|
8384
8449
|
a({ type: Boolean })
|
|
8385
|
-
],
|
|
8386
|
-
|
|
8450
|
+
], Y.prototype, "autoplay");
|
|
8451
|
+
ne([
|
|
8387
8452
|
a({ type: Boolean, reflect: !0 })
|
|
8388
|
-
],
|
|
8389
|
-
|
|
8453
|
+
], Y.prototype, "disabled");
|
|
8454
|
+
ne([
|
|
8390
8455
|
_()
|
|
8391
|
-
],
|
|
8392
|
-
|
|
8456
|
+
], Y.prototype, "_playerActive");
|
|
8457
|
+
ne([
|
|
8393
8458
|
_()
|
|
8394
|
-
],
|
|
8395
|
-
customElements.get("nys-video") || customElements.define("nys-video",
|
|
8459
|
+
], Y.prototype, "_announcement");
|
|
8460
|
+
customElements.get("nys-video") || customElements.define("nys-video", Y);
|
|
8396
8461
|
export {
|
|
8397
8462
|
He as NysAccordion,
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8463
|
+
_e as NysAccordionItem,
|
|
8464
|
+
R as NysAlert,
|
|
8465
|
+
G as NysAvatar,
|
|
8401
8466
|
Ee as NysBacktotop,
|
|
8402
8467
|
gs as NysBadge,
|
|
8403
8468
|
w as NysButton,
|
|
8404
|
-
|
|
8405
|
-
|
|
8469
|
+
E as NysCheckbox,
|
|
8470
|
+
z as NysCheckboxgroup,
|
|
8406
8471
|
m as NysCombobox,
|
|
8407
8472
|
Lo as NysDatepicker,
|
|
8408
|
-
|
|
8473
|
+
_t as NysDivider,
|
|
8409
8474
|
qe as NysDropdownMenu,
|
|
8410
|
-
|
|
8475
|
+
de as NysDropdownMenuItem,
|
|
8411
8476
|
Re as NysErrorMessage,
|
|
8412
|
-
|
|
8477
|
+
V as NysFileinput,
|
|
8413
8478
|
Pe as NysGlobalFooter,
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8479
|
+
ye as NysGlobalHeader,
|
|
8480
|
+
he as NysIcon,
|
|
8481
|
+
ue as NysLabel,
|
|
8482
|
+
se as NysModal,
|
|
8483
|
+
me as NysOption,
|
|
8484
|
+
Ce as NysPagination,
|
|
8420
8485
|
nr as NysRadiobutton,
|
|
8421
8486
|
O as NysRadiogroup,
|
|
8422
8487
|
H as NysSelect,
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8488
|
+
rt as NysSkipnav,
|
|
8489
|
+
ie as NysStep,
|
|
8490
|
+
we as NysStepper,
|
|
8491
|
+
X as NysTable,
|
|
8492
|
+
S as NysTextarea,
|
|
8428
8493
|
C as NysTextinput,
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8494
|
+
j as NysToggle,
|
|
8495
|
+
pe as NysTooltip,
|
|
8496
|
+
Bt as NysUnavFooter,
|
|
8497
|
+
oe as NysUnavHeader,
|
|
8498
|
+
Y as NysVideo
|
|
8434
8499
|
};
|
|
8435
8500
|
//# sourceMappingURL=nysds.es.js.map
|