@krumio/trailhand-ui 1.9.2 → 1.9.4
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/dist/components/icon/icon.d.ts +1 -0
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/icon/icon.js +2 -1
- package/dist/components/icon/icon.js.map +1 -1
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/index.js +2 -0
- package/dist/components/modal/index.js.map +1 -0
- package/dist/components/modal/modal.d.ts +25 -0
- package/dist/components/modal/modal.d.ts.map +1 -0
- package/dist/components/modal/modal.js +201 -0
- package/dist/components/modal/modal.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ declare const iconMap: {
|
|
|
25
25
|
cancel: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
26
26
|
loading: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
27
27
|
gear: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
28
|
+
x: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
28
29
|
};
|
|
29
30
|
export declare const availableIcons: (keyof typeof iconMap)[];
|
|
30
31
|
type AvailableIcons = keyof typeof iconMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAiC5C,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAiC5C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BZ,CAAC;AAEF,eAAO,MAAM,cAAc,EAA2B,CAAC,MAAM,OAAO,OAAO,CAAC,EAAE,CAAC;AAI/E,KAAK,cAAc,GAAG,MAAM,OAAO,OAAO,CAAC;AAE3C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,cAAc,CAAC;CACtB;AAED,qBAAa,IAAK,SAAQ,UAAU;IACN,IAAI,EAAE,cAAc,CAAU;IAE1D,MAAM,CAAC,MAAM,0BAUX;IAEF,MAAM;CAMP"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { LitElement, html, css } from 'lit';
|
|
8
8
|
import { property } from 'lit/decorators.js';
|
|
9
9
|
import { library, icon } from '@fortawesome/fontawesome-svg-core';
|
|
10
|
-
import { faGlobe, faHome, faUser, faBug, faCircleExclamation, faCirclePause, faCirclePlay, faCircleXmark, faTableCellsLarge, faRocket, faGauge, faTableList, faFolderPlus, faGears, faBagShopping, faCircleInfo, faChartLine, faSliders, faDatabase, faCircleCheck, faTriangleExclamation, faScrewdriverWrench, faBan, faSpinner, faGear, } from '@fortawesome/free-solid-svg-icons';
|
|
10
|
+
import { faGlobe, faHome, faUser, faBug, faCircleExclamation, faCirclePause, faCirclePlay, faCircleXmark, faTableCellsLarge, faRocket, faGauge, faTableList, faFolderPlus, faGears, faBagShopping, faCircleInfo, faChartLine, faSliders, faDatabase, faCircleCheck, faTriangleExclamation, faScrewdriverWrench, faBan, faSpinner, faGear, faXmark, } from '@fortawesome/free-solid-svg-icons';
|
|
11
11
|
const iconMap = {
|
|
12
12
|
bug: faBug,
|
|
13
13
|
error: faCircleExclamation,
|
|
@@ -34,6 +34,7 @@ const iconMap = {
|
|
|
34
34
|
cancel: faBan,
|
|
35
35
|
loading: faSpinner,
|
|
36
36
|
gear: faGear,
|
|
37
|
+
x: faXmark,
|
|
37
38
|
};
|
|
38
39
|
export const availableIcons = Object.keys(iconMap);
|
|
39
40
|
library.add(...Object.values(iconMap));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,mBAAmB,EACnB,aAAa,EACb,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,OAAO,EACP,WAAW,EACX,YAAY,EACZ,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,KAAK,EACL,SAAS,EACT,MAAM,
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,mBAAmB,EACnB,aAAa,EACb,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,OAAO,EACP,WAAW,EACX,YAAY,EACZ,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,KAAK,EACL,SAAS,EACT,MAAM,EACN,OAAO,GACR,MAAM,mCAAmC,CAAC;AAE3C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IACjD,CAAC;;AAjBM,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;GAUlB,AAVY,CAUX;AAZ0B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kCAA+B;AAsB5D,cAAc,CAAC,MAAM,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../icon/icon';
|
|
3
|
+
export interface ModalProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle: string;
|
|
7
|
+
dismissible: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class Modal extends LitElement {
|
|
10
|
+
open: boolean;
|
|
11
|
+
title: string;
|
|
12
|
+
subtitle: string;
|
|
13
|
+
dismissible: boolean;
|
|
14
|
+
inline: boolean;
|
|
15
|
+
private dialog;
|
|
16
|
+
private hasFooter;
|
|
17
|
+
static styles: import("lit").CSSResult;
|
|
18
|
+
private openerElement;
|
|
19
|
+
updated(changed: Map<string, unknown>): void;
|
|
20
|
+
private handleFooterSlotChange;
|
|
21
|
+
private handleClose;
|
|
22
|
+
private handleBackdropClick;
|
|
23
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,qBAAa,KAAM,SAAQ,UAAU;IAEnC,IAAI,UAAS;IAGb,KAAK,SAAM;IAGX,QAAQ,SAAM;IAGd,WAAW,UAAQ;IAGnB,MAAM,UAAS;IAEE,OAAO,CAAC,MAAM,CAAqB;IAE3C,OAAO,CAAC,SAAS,CAAS;IAEnC,MAAM,CAAC,MAAM,0BAqFX;IAEF,OAAO,CAAC,aAAa,CAA4B;IAEjD,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAkBrC,OAAO,CAAC,sBAAsB;IAK9B,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,mBAAmB;IAW3B,MAAM;CAuCP"}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, css } from 'lit';
|
|
8
|
+
import { property, query, state } from 'lit/decorators.js';
|
|
9
|
+
import '../icon/icon';
|
|
10
|
+
export class Modal extends LitElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.open = false;
|
|
14
|
+
this.title = '';
|
|
15
|
+
this.subtitle = '';
|
|
16
|
+
this.dismissible = true;
|
|
17
|
+
this.inline = false;
|
|
18
|
+
this.hasFooter = false;
|
|
19
|
+
this.openerElement = null;
|
|
20
|
+
}
|
|
21
|
+
updated(changed) {
|
|
22
|
+
if (changed.has('open')) {
|
|
23
|
+
if (this.open) {
|
|
24
|
+
this.openerElement = document.activeElement;
|
|
25
|
+
this.dialog.showModal();
|
|
26
|
+
this.dispatchEvent(new CustomEvent('modal-open', { bubbles: true, composed: true }));
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.dialog.close();
|
|
30
|
+
this.dispatchEvent(new CustomEvent('modal-close', { bubbles: true, composed: true }));
|
|
31
|
+
this.openerElement?.focus(); // restore focus to whatever opened it
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
handleFooterSlotChange(e) {
|
|
36
|
+
const slot = e.target;
|
|
37
|
+
this.hasFooter = slot.assignedNodes({ flatten: true }).length > 0;
|
|
38
|
+
}
|
|
39
|
+
handleClose() {
|
|
40
|
+
this.open = false;
|
|
41
|
+
}
|
|
42
|
+
handleBackdropClick(e) {
|
|
43
|
+
if (!this.dismissible)
|
|
44
|
+
return;
|
|
45
|
+
const rect = this.dialog.getBoundingClientRect();
|
|
46
|
+
const clickedOutside = e.clientX < rect.left ||
|
|
47
|
+
e.clientX > rect.right ||
|
|
48
|
+
e.clientY < rect.top ||
|
|
49
|
+
e.clientY > rect.bottom;
|
|
50
|
+
if (clickedOutside)
|
|
51
|
+
this.handleClose();
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
return html `
|
|
55
|
+
<dialog
|
|
56
|
+
@click=${this.handleBackdropClick}
|
|
57
|
+
@cancel=${this.handleClose}
|
|
58
|
+
aria-labelledby="modal-title"
|
|
59
|
+
aria-modal="true"
|
|
60
|
+
>
|
|
61
|
+
<div class="modal-header" part="header">
|
|
62
|
+
<slot name="heading">
|
|
63
|
+
<div class="heading-content">
|
|
64
|
+
<h2 class="modal-title" id="modal-title">${this.title}</h2>
|
|
65
|
+
${this.subtitle
|
|
66
|
+
? html `<p class="modal-subtitle">${this.subtitle}</p>`
|
|
67
|
+
: ''}
|
|
68
|
+
</div>
|
|
69
|
+
</slot>
|
|
70
|
+
${this.dismissible
|
|
71
|
+
? html `<button
|
|
72
|
+
class="close-button"
|
|
73
|
+
@click=${this.handleClose}
|
|
74
|
+
aria-label="Close"
|
|
75
|
+
>
|
|
76
|
+
<trailhand-icon name="x"></trailhand-icon>
|
|
77
|
+
</button>`
|
|
78
|
+
: ''}
|
|
79
|
+
</div>
|
|
80
|
+
<div class="modal-body" part="body">
|
|
81
|
+
<slot></slot>
|
|
82
|
+
</div>
|
|
83
|
+
<div
|
|
84
|
+
class="modal-footer ${this.hasFooter ? '' : 'modal-footer--empty'}"
|
|
85
|
+
part="footer"
|
|
86
|
+
>
|
|
87
|
+
<slot name="footer" @slotchange=${this.handleFooterSlotChange}></slot>
|
|
88
|
+
</div>
|
|
89
|
+
</dialog>
|
|
90
|
+
`;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
Modal.styles = css `
|
|
94
|
+
:host {
|
|
95
|
+
display: block;
|
|
96
|
+
width: 100%;
|
|
97
|
+
font-family: var(--font-family, 'Poppins', sans-serif);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
dialog {
|
|
101
|
+
border: none;
|
|
102
|
+
border-radius: 12px;
|
|
103
|
+
padding: 0;
|
|
104
|
+
max-width: 90vw;
|
|
105
|
+
max-height: 90vh;
|
|
106
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
107
|
+
background: var(--th-color-background, #ffffff);
|
|
108
|
+
min-width: 360px;
|
|
109
|
+
margin: auto;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
dialog::backdrop {
|
|
113
|
+
background: rgba(0, 0, 0, 0.5);
|
|
114
|
+
backdrop-filter: blur(2px);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.modal-header {
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: space-between;
|
|
120
|
+
align-items: center;
|
|
121
|
+
color: var(--th-color-text-primary, #000000);
|
|
122
|
+
padding: 24px 32px;
|
|
123
|
+
border-bottom: 1px solid var(--th-color-border, #d7d7d7);
|
|
124
|
+
gap: 16px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.heading-content {
|
|
128
|
+
display: flex;
|
|
129
|
+
gap: 12px;
|
|
130
|
+
align-items: baseline;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.modal-title {
|
|
134
|
+
font-size: 24px;
|
|
135
|
+
font-weight: 500;
|
|
136
|
+
color: var(--th-color-text-primary, #000000);
|
|
137
|
+
margin: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.modal-subtitle {
|
|
141
|
+
font-size: 14px;
|
|
142
|
+
font-weight: 500;
|
|
143
|
+
color: var(--th-color-primary, #666666);
|
|
144
|
+
margin: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.modal-body {
|
|
148
|
+
color: var(--th-color-text-secondary, #666666);
|
|
149
|
+
padding: 32px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.modal-footer {
|
|
153
|
+
padding: 24px 32px;
|
|
154
|
+
display: flex;
|
|
155
|
+
justify-content: flex-end;
|
|
156
|
+
color: var(--th-color-text-secondary, #666666);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.modal-footer--empty {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.close-button {
|
|
164
|
+
background: none;
|
|
165
|
+
border: none;
|
|
166
|
+
cursor: pointer;
|
|
167
|
+
font-size: 24px;
|
|
168
|
+
padding: 0;
|
|
169
|
+
color: var(--th-color-text-secondary, #666666);
|
|
170
|
+
height: 24px;
|
|
171
|
+
width: 24px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.close-button:focus-visible {
|
|
175
|
+
outline: 2px solid var(--th-color-primary, #666666);
|
|
176
|
+
border-radius: 4px;
|
|
177
|
+
}
|
|
178
|
+
`;
|
|
179
|
+
__decorate([
|
|
180
|
+
property({ type: Boolean, reflect: true })
|
|
181
|
+
], Modal.prototype, "open", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
property({ type: String })
|
|
184
|
+
], Modal.prototype, "title", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
property({ type: String })
|
|
187
|
+
], Modal.prototype, "subtitle", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
property({ type: Boolean })
|
|
190
|
+
], Modal.prototype, "dismissible", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
property({ type: Boolean })
|
|
193
|
+
], Modal.prototype, "inline", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
query('dialog')
|
|
196
|
+
], Modal.prototype, "dialog", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
state()
|
|
199
|
+
], Modal.prototype, "hasFooter", void 0);
|
|
200
|
+
customElements.define('trailhand-modal', Modal);
|
|
201
|
+
//# sourceMappingURL=modal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.js","sourceRoot":"","sources":["../../../src/components/modal/modal.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,cAAc,CAAC;AAStB,MAAM,OAAO,KAAM,SAAQ,UAAU;IAArC;;QAEE,SAAI,GAAG,KAAK,CAAC;QAGb,UAAK,GAAG,EAAE,CAAC;QAGX,aAAQ,GAAG,EAAE,CAAC;QAGd,gBAAW,GAAG,IAAI,CAAC;QAGnB,WAAM,GAAG,KAAK,CAAC;QAIE,cAAS,G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AAxB,KAAK,CAAC,QAAQ,CAAC;qCAAoC;AAEnC;IAAhB,KAAK,EAAE;wCAA2B;AA0KrC,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AAGnC,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export * from './components/icon';
|
|
|
7
7
|
export * from './components/th-tag';
|
|
8
8
|
export * from './components/th-card';
|
|
9
9
|
export * from './components/progress-bar';
|
|
10
|
+
export * from './components/modal';
|
|
10
11
|
// Export utilities
|
|
11
12
|
export * from './utils';
|
|
12
13
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AAEnC,mBAAmB;AACnB,cAAc,SAAS,CAAC"}
|