overview-components 1.0.96 → 1.0.98
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/_virtual/_commonjsHelpers.js +4 -24
- package/dist/assets/icons/iconGlyphs.js +680 -0
- package/dist/assets/illustration/not-found.js +109 -0
- package/dist/components/components-settings/data-grid-settings.js +288 -0
- package/dist/components/lit-attachments-tab.js +1 -1
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +76 -38
- package/dist/node_modules/lit-html/directives/class-map.js +34 -0
- package/dist/shared/filter-inputs.js +326 -0
- package/dist/shared/lit-checkbox.js +155 -0
- package/dist/shared/lit-data-grid-action-buttons-popover.js +258 -0
- package/dist/shared/lit-data-grid-density-popover.js +79 -0
- package/dist/shared/lit-data-grid-export-popover.js +66 -0
- package/dist/shared/lit-data-grid-row-actions.js +73 -0
- package/dist/shared/lit-icon-button.d.ts +1 -1
- package/dist/shared/lit-icon-button.d.ts.map +1 -1
- package/dist/shared/lit-icon-button.js +91 -0
- package/dist/shared/lit-icon.js +282 -0
- package/dist/shared/lit-loading-bar.d.ts +3 -3
- package/dist/shared/lit-loading-bar.d.ts.map +1 -1
- package/dist/shared/lit-loading-bar.js +94 -0
- package/dist/shared/lit-overflow-tooltip.js +85 -0
- package/dist/shared/lit-responsive-button.js +84 -0
- package/dist/shared/simple-tooltip.js +1 -1
- package/dist/style.css +1 -0
- package/dist/styles.js +174 -0
- package/dist/utils/utils.js +11 -0
- package/package.json +1 -1
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/_commonjs-dynamic-modules.js +0 -6
- package/dist/_virtual/pdf.js +0 -4
- package/dist/node_modules/pdfjs-dist/build/pdf.js +0 -10310
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
+
import { html as c } from "../node_modules/lit-html/lit-html.js";
|
|
3
|
+
import { LitElement as p } from "../node_modules/lit-element/lit-element.js";
|
|
4
|
+
import { customElement as m } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
+
import { property as d } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
6
|
+
import h from "../styles.js";
|
|
7
|
+
import u from "../assets/icons/iconGlyphs.js";
|
|
8
|
+
import { css as v } from "../node_modules/@lit/reactive-element/css-tag.js";
|
|
9
|
+
var g = Object.defineProperty, F = Object.getOwnPropertyDescriptor, o = (l, t, s, r) => {
|
|
10
|
+
for (var e = r > 1 ? void 0 : r ? F(t, s) : t, a = l.length - 1, n; a >= 0; a--)
|
|
11
|
+
(n = l[a]) && (e = (r ? n(t, s, e) : n(e)) || e);
|
|
12
|
+
return r && e && g(t, s, e), e;
|
|
13
|
+
};
|
|
14
|
+
const _ = [
|
|
15
|
+
"archive",
|
|
16
|
+
"requiredFilled",
|
|
17
|
+
"account",
|
|
18
|
+
"add",
|
|
19
|
+
"administration",
|
|
20
|
+
"arrowLeft",
|
|
21
|
+
"arrowRight",
|
|
22
|
+
"bell",
|
|
23
|
+
"bellNotify",
|
|
24
|
+
"cases",
|
|
25
|
+
"darkMode",
|
|
26
|
+
"documents",
|
|
27
|
+
"events",
|
|
28
|
+
"favorite",
|
|
29
|
+
"help",
|
|
30
|
+
"home",
|
|
31
|
+
"leave",
|
|
32
|
+
"lightMode",
|
|
33
|
+
"manuals",
|
|
34
|
+
"overviews",
|
|
35
|
+
"planning",
|
|
36
|
+
"reports",
|
|
37
|
+
"roles",
|
|
38
|
+
"search",
|
|
39
|
+
"settings",
|
|
40
|
+
"structure",
|
|
41
|
+
"tasks",
|
|
42
|
+
"templates",
|
|
43
|
+
"users",
|
|
44
|
+
"close",
|
|
45
|
+
"curveArrow",
|
|
46
|
+
"administrator",
|
|
47
|
+
"delegate",
|
|
48
|
+
"download",
|
|
49
|
+
"assume",
|
|
50
|
+
"calculator",
|
|
51
|
+
"check",
|
|
52
|
+
"chevronDown",
|
|
53
|
+
"handover",
|
|
54
|
+
"flag",
|
|
55
|
+
"filter",
|
|
56
|
+
"favoriteAdd",
|
|
57
|
+
"note",
|
|
58
|
+
"more",
|
|
59
|
+
"minus",
|
|
60
|
+
"success",
|
|
61
|
+
"time",
|
|
62
|
+
"trash",
|
|
63
|
+
"pen",
|
|
64
|
+
"unlike",
|
|
65
|
+
"user",
|
|
66
|
+
"puzzle",
|
|
67
|
+
"informative",
|
|
68
|
+
"save",
|
|
69
|
+
"warning",
|
|
70
|
+
"help2",
|
|
71
|
+
"accomplish",
|
|
72
|
+
"addDocument",
|
|
73
|
+
"addNote",
|
|
74
|
+
"checkboxEmpty",
|
|
75
|
+
"expand",
|
|
76
|
+
"duplicate",
|
|
77
|
+
"history",
|
|
78
|
+
"instruction",
|
|
79
|
+
"radioEmpty",
|
|
80
|
+
"print",
|
|
81
|
+
"zoomIn",
|
|
82
|
+
"view",
|
|
83
|
+
"reading",
|
|
84
|
+
"reload",
|
|
85
|
+
"logs",
|
|
86
|
+
"flow",
|
|
87
|
+
"csv",
|
|
88
|
+
"contact",
|
|
89
|
+
"columns",
|
|
90
|
+
"hamburger",
|
|
91
|
+
"beginning",
|
|
92
|
+
"signal",
|
|
93
|
+
"variable",
|
|
94
|
+
"up",
|
|
95
|
+
"upload",
|
|
96
|
+
"revision",
|
|
97
|
+
"typing",
|
|
98
|
+
"tasksFilled",
|
|
99
|
+
"overviewsFilled",
|
|
100
|
+
"homeFilled",
|
|
101
|
+
"favoriteFilled",
|
|
102
|
+
"flagFilled",
|
|
103
|
+
"darkModeFilled",
|
|
104
|
+
"bellFilled",
|
|
105
|
+
"administrationFilled",
|
|
106
|
+
"administratorFilled",
|
|
107
|
+
"casesFilled",
|
|
108
|
+
"manualsFilled",
|
|
109
|
+
"reportsFilled",
|
|
110
|
+
"structureFilled",
|
|
111
|
+
"usersFilled",
|
|
112
|
+
"userFilled",
|
|
113
|
+
"settingsFilled",
|
|
114
|
+
"lightModeFilled",
|
|
115
|
+
"leaveFilled",
|
|
116
|
+
"searchFilled",
|
|
117
|
+
"checkboxFilled",
|
|
118
|
+
"checkFilled",
|
|
119
|
+
"chevronDownFilled",
|
|
120
|
+
"chevronUpFilled",
|
|
121
|
+
"chevronRightFilled",
|
|
122
|
+
"chevronLeftFilled",
|
|
123
|
+
"logsFilled",
|
|
124
|
+
"radioFilled",
|
|
125
|
+
"historyFilled",
|
|
126
|
+
"sortFilled",
|
|
127
|
+
"variableFilled",
|
|
128
|
+
"dangerFilled",
|
|
129
|
+
"eventsFilled",
|
|
130
|
+
"helpFilled",
|
|
131
|
+
"rolesFilled",
|
|
132
|
+
"clean",
|
|
133
|
+
"dms",
|
|
134
|
+
"cog",
|
|
135
|
+
"email",
|
|
136
|
+
"files",
|
|
137
|
+
"chevron",
|
|
138
|
+
"hand",
|
|
139
|
+
"hide",
|
|
140
|
+
"hierarchy",
|
|
141
|
+
"import",
|
|
142
|
+
"index",
|
|
143
|
+
"infinity",
|
|
144
|
+
"infinity2",
|
|
145
|
+
"reset",
|
|
146
|
+
"rest",
|
|
147
|
+
"sleep",
|
|
148
|
+
"sorting",
|
|
149
|
+
"totake",
|
|
150
|
+
"totakedelegate",
|
|
151
|
+
"shredding",
|
|
152
|
+
"show",
|
|
153
|
+
"share",
|
|
154
|
+
"table",
|
|
155
|
+
"url",
|
|
156
|
+
"schema",
|
|
157
|
+
"stats",
|
|
158
|
+
"zoomout",
|
|
159
|
+
"book",
|
|
160
|
+
"authentication",
|
|
161
|
+
"apphealth",
|
|
162
|
+
"certificate",
|
|
163
|
+
"console",
|
|
164
|
+
"folder",
|
|
165
|
+
"hragenda",
|
|
166
|
+
"script",
|
|
167
|
+
"sequence",
|
|
168
|
+
"serviceoperation",
|
|
169
|
+
"archiveFilled",
|
|
170
|
+
"planningFilled",
|
|
171
|
+
"approval",
|
|
172
|
+
"certificate2",
|
|
173
|
+
"change",
|
|
174
|
+
"chevrondown",
|
|
175
|
+
"cursor",
|
|
176
|
+
"copylink",
|
|
177
|
+
"column",
|
|
178
|
+
"documentsFilled",
|
|
179
|
+
"filterFilled",
|
|
180
|
+
"filteroff",
|
|
181
|
+
"hr",
|
|
182
|
+
"image",
|
|
183
|
+
"outoftime",
|
|
184
|
+
"news",
|
|
185
|
+
"newsFilled",
|
|
186
|
+
"morevertical",
|
|
187
|
+
"spinner",
|
|
188
|
+
"userFilled2",
|
|
189
|
+
"tasksii",
|
|
190
|
+
"rowlarge",
|
|
191
|
+
"rowmedium",
|
|
192
|
+
"rowmall",
|
|
193
|
+
"touchid",
|
|
194
|
+
"acces",
|
|
195
|
+
"agenda",
|
|
196
|
+
"annoncement",
|
|
197
|
+
"email2",
|
|
198
|
+
"export",
|
|
199
|
+
"faceid",
|
|
200
|
+
"deviceregister",
|
|
201
|
+
"lock",
|
|
202
|
+
"outoftime2",
|
|
203
|
+
"qr",
|
|
204
|
+
"unlock",
|
|
205
|
+
"zastupovany",
|
|
206
|
+
"csvFilled",
|
|
207
|
+
"qrFilled",
|
|
208
|
+
"knowledgeFilled",
|
|
209
|
+
"hragendaFilled",
|
|
210
|
+
"deviceregisterFilled",
|
|
211
|
+
"agregation",
|
|
212
|
+
"code",
|
|
213
|
+
"flowii",
|
|
214
|
+
"cursor2",
|
|
215
|
+
"drag",
|
|
216
|
+
"link",
|
|
217
|
+
"lang",
|
|
218
|
+
"pinFilled",
|
|
219
|
+
"pin",
|
|
220
|
+
"play",
|
|
221
|
+
"return",
|
|
222
|
+
"sorting2",
|
|
223
|
+
"switch",
|
|
224
|
+
"test",
|
|
225
|
+
"stop",
|
|
226
|
+
"zoom",
|
|
227
|
+
"wrapitup",
|
|
228
|
+
"web"
|
|
229
|
+
];
|
|
230
|
+
let i = class extends p {
|
|
231
|
+
constructor() {
|
|
232
|
+
super(...arguments), this.icon = "add", this.size = "1.375rem", this.isActive = !1, this.notRotateIcon = ["arrowLeft", "arrowRight"];
|
|
233
|
+
}
|
|
234
|
+
render() {
|
|
235
|
+
const l = this.icon ? u[this.icon] : void 0;
|
|
236
|
+
return l ? c`
|
|
237
|
+
<svg
|
|
238
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
239
|
+
viewBox="0 0 512 512"
|
|
240
|
+
style="width: ${this.size || " 1.5rem"} ; height: ${this.size || " 1.5rem"};"
|
|
241
|
+
class="rotated"
|
|
242
|
+
fill="${this.isActive ? "var(--color-primary-main, #76b703)" : "currentColor"}"
|
|
243
|
+
>
|
|
244
|
+
<g transform="translate(0,20)">
|
|
245
|
+
<path d="${l.d}" />
|
|
246
|
+
</g>
|
|
247
|
+
</svg>
|
|
248
|
+
` : c`<span>Icon not found</span>`;
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
i.styles = [
|
|
252
|
+
h,
|
|
253
|
+
v`
|
|
254
|
+
:host {
|
|
255
|
+
position: relative;
|
|
256
|
+
display: inline-block;
|
|
257
|
+
}
|
|
258
|
+
svg {
|
|
259
|
+
position: relative;
|
|
260
|
+
top: 0.0625rem;
|
|
261
|
+
}
|
|
262
|
+
svg.rotated {
|
|
263
|
+
transform: scaleY(-1);
|
|
264
|
+
}
|
|
265
|
+
`
|
|
266
|
+
];
|
|
267
|
+
o([
|
|
268
|
+
d({ type: String })
|
|
269
|
+
], i.prototype, "icon", 2);
|
|
270
|
+
o([
|
|
271
|
+
d({ type: String })
|
|
272
|
+
], i.prototype, "size", 2);
|
|
273
|
+
o([
|
|
274
|
+
d({ type: Boolean, reflect: !0 })
|
|
275
|
+
], i.prototype, "isActive", 2);
|
|
276
|
+
i = o([
|
|
277
|
+
m("lit-icon")
|
|
278
|
+
], i);
|
|
279
|
+
export {
|
|
280
|
+
_ as IconArray,
|
|
281
|
+
i as LitIcon
|
|
282
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import type { IconArray } from './lit-icon.js';
|
|
3
3
|
import './lit-icon.js';
|
|
4
|
-
export type
|
|
4
|
+
export type LitLoadingBarTypes = {
|
|
5
5
|
icon: typeof IconArray;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
isActive?: boolean;
|
|
8
8
|
click: () => void;
|
|
9
9
|
};
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class LitLoadingBar extends LitElement {
|
|
11
11
|
static styles: import("lit").CSSResult;
|
|
12
12
|
isLoading?: string;
|
|
13
13
|
render(): import("lit-html").TemplateResult<1>;
|
|
14
14
|
}
|
|
15
15
|
declare global {
|
|
16
16
|
interface HTMLElementTagNameMap {
|
|
17
|
-
'lit-loading-bar':
|
|
17
|
+
'lit-loading-bar': LitLoadingBarTypes;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=lit-loading-bar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lit-loading-bar.d.ts","sourceRoot":"","sources":["../../src/shared/lit-loading-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAI5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"lit-loading-bar.d.ts","sourceRoot":"","sources":["../../src/shared/lit-loading-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAI5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,qBACa,aAAc,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BA+DX;IAE0B,SAAS,CAAC,EAAE,MAAM,CAAC;IAE/C,MAAM;CAQT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,iBAAiB,EAAE,kBAAkB,CAAC;KACzC;CACJ"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
+
import { html as m } from "../node_modules/lit-html/lit-html.js";
|
|
3
|
+
import { LitElement as d } from "../node_modules/lit-element/lit-element.js";
|
|
4
|
+
import { customElement as b } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
+
import { property as f } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
6
|
+
import { css as p } from "../node_modules/@lit/reactive-element/css-tag.js";
|
|
7
|
+
var c = Object.defineProperty, g = Object.getOwnPropertyDescriptor, l = (s, i, o, e) => {
|
|
8
|
+
for (var r = e > 1 ? void 0 : e ? g(i, o) : i, a = s.length - 1, n; a >= 0; a--)
|
|
9
|
+
(n = s[a]) && (r = (e ? n(i, o, r) : n(r)) || r);
|
|
10
|
+
return e && r && c(i, o, r), r;
|
|
11
|
+
};
|
|
12
|
+
let t = class extends d {
|
|
13
|
+
render() {
|
|
14
|
+
return m`
|
|
15
|
+
<div class="progress-root">
|
|
16
|
+
<div class="bar bar1Indeterminate"></div>
|
|
17
|
+
<div class="bar bar2Indeterminate"></div>
|
|
18
|
+
</div>
|
|
19
|
+
`;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
t.styles = p`
|
|
23
|
+
.progress-root {
|
|
24
|
+
position: relative;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
display: block;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 0.125rem;
|
|
31
|
+
background-color: var(--color-primary-light, #f0fadf);
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
}
|
|
34
|
+
/* Prvá animovaná "vlna" */
|
|
35
|
+
|
|
36
|
+
.bar1Indeterminate {
|
|
37
|
+
animation: mui-indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Druhá animovaná "vlna" (oneskorená) */
|
|
41
|
+
|
|
42
|
+
.bar2Indeterminate {
|
|
43
|
+
animation: mui-indeterminate2 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
44
|
+
animation-delay: 1.05s;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes mui-indeterminate1 {
|
|
48
|
+
0% {
|
|
49
|
+
left: -35%;
|
|
50
|
+
right: 100%;
|
|
51
|
+
}
|
|
52
|
+
60% {
|
|
53
|
+
left: 100%;
|
|
54
|
+
right: -90%;
|
|
55
|
+
}
|
|
56
|
+
100% {
|
|
57
|
+
left: 100%;
|
|
58
|
+
right: -90%;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@keyframes mui-indeterminate2 {
|
|
63
|
+
0% {
|
|
64
|
+
left: -200%;
|
|
65
|
+
right: 100%;
|
|
66
|
+
}
|
|
67
|
+
60% {
|
|
68
|
+
left: 107%;
|
|
69
|
+
right: -8%;
|
|
70
|
+
}
|
|
71
|
+
100% {
|
|
72
|
+
left: 107%;
|
|
73
|
+
right: -8%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.bar {
|
|
77
|
+
position: absolute;
|
|
78
|
+
height: 100%;
|
|
79
|
+
display: block;
|
|
80
|
+
background-color: var(--color-primary-main, #76b703);
|
|
81
|
+
width: auto;
|
|
82
|
+
will-change: left, right;
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
}
|
|
85
|
+
`;
|
|
86
|
+
l([
|
|
87
|
+
f({ type: String })
|
|
88
|
+
], t.prototype, "isLoading", 2);
|
|
89
|
+
t = l([
|
|
90
|
+
b("lit-loading-bar")
|
|
91
|
+
], t);
|
|
92
|
+
export {
|
|
93
|
+
t as LitLoadingBar
|
|
94
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
+
import { nothing as p, html as h } from "../node_modules/lit-html/lit-html.js";
|
|
3
|
+
import { LitElement as a } from "../node_modules/lit-element/lit-element.js";
|
|
4
|
+
import { customElement as f } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
+
import { property as v } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
6
|
+
import { state as O } from "../node_modules/@lit/reactive-element/decorators/state.js";
|
|
7
|
+
import { query as d } from "../node_modules/@lit/reactive-element/decorators/query.js";
|
|
8
|
+
import { tooltip as b } from "./simple-tooltip.js";
|
|
9
|
+
import { css as m } from "../node_modules/@lit/reactive-element/css-tag.js";
|
|
10
|
+
var w = Object.defineProperty, x = Object.getOwnPropertyDescriptor, i = (e, t, l, o) => {
|
|
11
|
+
for (var s = o > 1 ? void 0 : o ? x(t, l) : t, n = e.length - 1, c; n >= 0; n--)
|
|
12
|
+
(c = e[n]) && (s = (o ? c(t, l, s) : c(s)) || s);
|
|
13
|
+
return o && s && w(t, l, s), s;
|
|
14
|
+
};
|
|
15
|
+
let r = class extends a {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments), this.label = "", this.placement = "top", this.isOverflowing = !1, this.checkOverflow = () => {
|
|
18
|
+
const e = this.textElement;
|
|
19
|
+
if (!e) {
|
|
20
|
+
this.isOverflowing = !1;
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
this.isOverflowing = e.scrollWidth > e.clientWidth;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
connectedCallback() {
|
|
27
|
+
super.connectedCallback();
|
|
28
|
+
}
|
|
29
|
+
disconnectedCallback() {
|
|
30
|
+
this.disconnectObservers(), super.disconnectedCallback();
|
|
31
|
+
}
|
|
32
|
+
firstUpdated() {
|
|
33
|
+
var e, t;
|
|
34
|
+
this.setupObservers(), (t = (e = this.shadowRoot) == null ? void 0 : e.querySelector("slot")) == null || t.addEventListener("slotchange", this.checkOverflow), this.checkOverflow();
|
|
35
|
+
}
|
|
36
|
+
updated(e) {
|
|
37
|
+
e.has("label") && this.checkOverflow();
|
|
38
|
+
}
|
|
39
|
+
setupObservers() {
|
|
40
|
+
this.disconnectObservers(), this.checkOverflow = this.checkOverflow.bind(this), this.textElement && (this.textObserver = new ResizeObserver(this.checkOverflow), this.textObserver.observe(this.textElement)), this.hostObserver = new ResizeObserver(this.checkOverflow), this.hostObserver.observe(this);
|
|
41
|
+
}
|
|
42
|
+
disconnectObservers() {
|
|
43
|
+
var e, t;
|
|
44
|
+
(e = this.textObserver) == null || e.disconnect(), this.textObserver = void 0, (t = this.hostObserver) == null || t.disconnect(), this.hostObserver = void 0;
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
return this.isOverflowing ? h`
|
|
48
|
+
<div
|
|
49
|
+
class="text-content"
|
|
50
|
+
${this.isOverflowing ? b(this.label, this.placement) : p}
|
|
51
|
+
>
|
|
52
|
+
<slot></slot>
|
|
53
|
+
</div>
|
|
54
|
+
` : h` <div class="text-content"><slot></slot></div> `;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
r.styles = m`
|
|
58
|
+
:host {
|
|
59
|
+
display: inline-block;
|
|
60
|
+
width: 100%;
|
|
61
|
+
}
|
|
62
|
+
.text-content {
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
text-overflow: ellipsis;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
}
|
|
67
|
+
`;
|
|
68
|
+
i([
|
|
69
|
+
v({ type: String })
|
|
70
|
+
], r.prototype, "label", 2);
|
|
71
|
+
i([
|
|
72
|
+
v({ type: String })
|
|
73
|
+
], r.prototype, "placement", 2);
|
|
74
|
+
i([
|
|
75
|
+
O()
|
|
76
|
+
], r.prototype, "isOverflowing", 2);
|
|
77
|
+
i([
|
|
78
|
+
d(".text-content")
|
|
79
|
+
], r.prototype, "textElement", 2);
|
|
80
|
+
r = i([
|
|
81
|
+
f("lit-overflow-tooltip")
|
|
82
|
+
], r);
|
|
83
|
+
export {
|
|
84
|
+
r as LitOverflowTooltip
|
|
85
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { customElement as d } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
2
|
+
import { property as i } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
3
|
+
import { state as h } from "../node_modules/@lit/reactive-element/decorators/state.js";
|
|
4
|
+
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
5
|
+
import { html as c } from "../node_modules/lit-html/lit-html.js";
|
|
6
|
+
import { LitElement as u } from "../node_modules/lit-element/lit-element.js";
|
|
7
|
+
var m = Object.defineProperty, b = Object.getOwnPropertyDescriptor, e = (p, o, r, n) => {
|
|
8
|
+
for (var s = n > 1 ? void 0 : n ? b(o, r) : o, a = p.length - 1, l; a >= 0; a--)
|
|
9
|
+
(l = p[a]) && (s = (n ? l(o, r, s) : l(s)) || s);
|
|
10
|
+
return n && s && m(o, r, s), s;
|
|
11
|
+
};
|
|
12
|
+
let t = class extends u {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments), this.variant = "contained", this.size = "medium", this.label = "Button", this.fullWidth = !1, this.disabled = !1, this.count = void 0, this.active = !1, this.isSmallScreen = !1;
|
|
15
|
+
}
|
|
16
|
+
// Stav pre breakpoint
|
|
17
|
+
connectedCallback() {
|
|
18
|
+
super.connectedCallback(), this.updateScreenSize(), window.addEventListener("resize", this.updateScreenSize.bind(this));
|
|
19
|
+
}
|
|
20
|
+
disconnectedCallback() {
|
|
21
|
+
window.removeEventListener("resize", this.updateScreenSize.bind(this)), super.disconnectedCallback();
|
|
22
|
+
}
|
|
23
|
+
updateScreenSize() {
|
|
24
|
+
this.isSmallScreen = window.matchMedia("(max-width: 600px)").matches;
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return this.isSmallScreen ? c`
|
|
28
|
+
<lit-icon-button
|
|
29
|
+
.icon="${this.icon}"
|
|
30
|
+
.variant="${this.variant}"
|
|
31
|
+
.size="${this.size}"
|
|
32
|
+
.disabled="${this.disabled}"
|
|
33
|
+
.active="${this.active}"
|
|
34
|
+
></lit-icon-button>
|
|
35
|
+
` : c`
|
|
36
|
+
<lit-button
|
|
37
|
+
.icon="${this.icon}"
|
|
38
|
+
.variant="${this.variant}"
|
|
39
|
+
.count="${this.count}"
|
|
40
|
+
.size="${this.size}"
|
|
41
|
+
.label="${this.label}"
|
|
42
|
+
.fullWidth="${this.fullWidth}"
|
|
43
|
+
.disabled="${this.disabled}"
|
|
44
|
+
.active="${this.active}"
|
|
45
|
+
></lit-button>
|
|
46
|
+
`;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
e([
|
|
50
|
+
i({ type: String })
|
|
51
|
+
], t.prototype, "variant", 2);
|
|
52
|
+
e([
|
|
53
|
+
i({ type: String })
|
|
54
|
+
], t.prototype, "size", 2);
|
|
55
|
+
e([
|
|
56
|
+
i({ type: String })
|
|
57
|
+
], t.prototype, "label", 2);
|
|
58
|
+
e([
|
|
59
|
+
i({ type: String })
|
|
60
|
+
], t.prototype, "icon", 2);
|
|
61
|
+
e([
|
|
62
|
+
i({ type: Boolean })
|
|
63
|
+
], t.prototype, "fullWidth", 2);
|
|
64
|
+
e([
|
|
65
|
+
i({ type: Boolean })
|
|
66
|
+
], t.prototype, "disabled", 2);
|
|
67
|
+
e([
|
|
68
|
+
i({ type: Number })
|
|
69
|
+
], t.prototype, "count", 2);
|
|
70
|
+
e([
|
|
71
|
+
i({ type: Function })
|
|
72
|
+
], t.prototype, "onClick", 2);
|
|
73
|
+
e([
|
|
74
|
+
i({ type: Boolean })
|
|
75
|
+
], t.prototype, "active", 2);
|
|
76
|
+
e([
|
|
77
|
+
h()
|
|
78
|
+
], t.prototype, "isSmallScreen", 2);
|
|
79
|
+
t = e([
|
|
80
|
+
d("lit-responsive-button")
|
|
81
|
+
], t);
|
|
82
|
+
export {
|
|
83
|
+
t as LitResponsiveButton
|
|
84
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
-
import {
|
|
2
|
+
import { html as d, render as p } from "../node_modules/lit-html/lit-html.js";
|
|
3
3
|
import { LitElement as f } from "../node_modules/lit-element/lit-element.js";
|
|
4
4
|
import { customElement as u } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
5
|
import { property as h } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.air-datepicker-cell.-year-.-other-decade-,.air-datepicker-cell.-day-.-other-month-{color:var(--adp-color-other-month)}.air-datepicker-cell.-year-.-other-decade-:hover,.air-datepicker-cell.-day-.-other-month-:hover{color:var(--adp-color-other-month-hover)}.-disabled-.-focus-.air-datepicker-cell.-year-.-other-decade-,.-disabled-.-focus-.air-datepicker-cell.-day-.-other-month-{color:var(--adp-color-other-month)}.-selected-.air-datepicker-cell.-year-.-other-decade-,.-selected-.air-datepicker-cell.-day-.-other-month-{color:#fff;background:var(--adp-background-color-selected-other-month)}.-selected-.-focus-.air-datepicker-cell.-year-.-other-decade-,.-selected-.-focus-.air-datepicker-cell.-day-.-other-month-{background:var(--adp-background-color-selected-other-month-focused)}.-in-range-.air-datepicker-cell.-year-.-other-decade-,.-in-range-.air-datepicker-cell.-day-.-other-month-{background-color:var(--adp-background-color-in-range);color:var(--adp-color)}.-in-range-.-focus-.air-datepicker-cell.-year-.-other-decade-,.-in-range-.-focus-.air-datepicker-cell.-day-.-other-month-{background-color:var(--adp-background-color-in-range-focused)}.air-datepicker-cell.-year-.-other-decade-:empty,.air-datepicker-cell.-day-.-other-month-:empty{background:none;border:none}.air-datepicker-cell{border-radius:var(--adp-cell-border-radius);box-sizing:border-box;cursor:pointer;display:flex;position:relative;align-items:center;justify-content:center;z-index:1}.air-datepicker-cell.-focus-{background:var(--adp-cell-background-color-hover)}.air-datepicker-cell.-current-{color:var(--adp-color-current-date)}.air-datepicker-cell.-current-.-focus-{color:var(--adp-color)}.air-datepicker-cell.-current-.-in-range-{color:var(--adp-color-current-date)}.air-datepicker-cell.-disabled-{cursor:default;color:var(--adp-color-disabled)}.air-datepicker-cell.-disabled-.-focus-{color:var(--adp-color-disabled)}.air-datepicker-cell.-disabled-.-in-range-{color:var(--adp-color-disabled-in-range)}.air-datepicker-cell.-disabled-.-current-.-focus-{color:var(--adp-color-disabled)}.air-datepicker-cell.-in-range-{background:var(--adp-cell-background-color-in-range);border-radius:0}.air-datepicker-cell.-in-range-:hover,.air-datepicker-cell.-in-range-.-focus-{background:var(--adp-cell-background-color-in-range-hover)}.air-datepicker-cell.-range-from-{border:1px solid var(--adp-cell-border-color-in-range);background-color:var(--adp-cell-background-color-in-range);border-radius:var(--adp-cell-border-radius) 0 0 var(--adp-cell-border-radius)}.air-datepicker-cell.-range-to-{border:1px solid var(--adp-cell-border-color-in-range);background-color:var(--adp-cell-background-color-in-range);border-radius:0 var(--adp-cell-border-radius) var(--adp-cell-border-radius) 0}.air-datepicker-cell.-range-to-.-range-from-{border-radius:var(--adp-cell-border-radius)}.air-datepicker-cell.-selected-{color:#fff;border:none;background:var(--adp-cell-background-color-selected)}.air-datepicker-cell.-selected-.-current-{color:#fff;background:var(--adp-cell-background-color-selected)}.air-datepicker-cell.-selected-.-focus-{background:var(--adp-cell-background-color-selected-hover)}.air-datepicker-body{transition:all var(--adp-transition-duration) var(--adp-transition-ease)}.air-datepicker-body.-hidden-{display:none}.air-datepicker-body--day-names{display:grid;grid-template-columns:repeat(7,var(--adp-day-cell-width));margin:8px 0 3px}.air-datepicker-body--day-name{color:var(--adp-day-name-color);display:flex;align-items:center;justify-content:center;flex:1;text-align:center;text-transform:uppercase;font-size:.8em}.air-datepicker-body--day-name.-clickable-{cursor:pointer}.air-datepicker-body--day-name.-clickable-:hover{color:var(--adp-day-name-color-hover)}.air-datepicker-body--cells{display:grid}.air-datepicker-body--cells.-days-{grid-template-columns:repeat(7,var(--adp-day-cell-width));grid-auto-rows:var(--adp-day-cell-height)}.air-datepicker-body--cells.-months-{grid-template-columns:repeat(3,1fr);grid-auto-rows:var(--adp-month-cell-height)}.air-datepicker-body--cells.-years-{grid-template-columns:repeat(4,1fr);grid-auto-rows:var(--adp-year-cell-height)}.air-datepicker-nav{display:flex;justify-content:space-between;border-bottom:1px solid var(--adp-border-color-inner);min-height:var(--adp-nav-height);padding:var(--adp-padding);box-sizing:content-box}.-only-timepicker- .air-datepicker-nav{display:none}.air-datepicker-nav--title,.air-datepicker-nav--action{display:flex;cursor:pointer;align-items:center;justify-content:center}.air-datepicker-nav--action{width:var(--adp-nav-action-size);border-radius:var(--adp-border-radius);-webkit-user-select:none;-moz-user-select:none;user-select:none}.air-datepicker-nav--action:hover{background:var(--adp-background-color-hover)}.air-datepicker-nav--action:active{background:var(--adp-background-color-active)}.air-datepicker-nav--action.-disabled-{visibility:hidden}.air-datepicker-nav--action svg{width:32px;height:32px}.air-datepicker-nav--action path{fill:none;stroke:var(--adp-nav-arrow-color);stroke-width:2px}.air-datepicker-nav--title{border-radius:var(--adp-border-radius);padding:0 8px}.air-datepicker-nav--title i{font-style:normal;color:var(--adp-nav-color-secondary);margin-left:.3em}.air-datepicker-nav--title:hover{background:var(--adp-background-color-hover)}.air-datepicker-nav--title:active{background:var(--adp-background-color-active)}.air-datepicker-nav--title.-disabled-{cursor:default;background:none}.air-datepicker-buttons{display:grid;grid-auto-columns:1fr;grid-auto-flow:column}.air-datepicker-button{display:inline-flex;color:var(--adp-btn-color);border-radius:var(--adp-btn-border-radius);cursor:pointer;height:var(--adp-btn-height);border:none;background:#fff0}.air-datepicker-button:hover{color:var(--adp-btn-color-hover);background:var(--adp-btn-background-color-hover)}.air-datepicker-button:focus{color:var(--adp-btn-color-hover);background:var(--adp-btn-background-color-hover);outline:none}.air-datepicker-button:active{background:var(--adp-btn-background-color-active)}.air-datepicker-button span{outline:none;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.air-datepicker-time{display:grid;grid-template-columns:max-content 1fr;grid-column-gap:12px;align-items:center;position:relative;padding:0 var(--adp-time-padding-inner)}.-only-timepicker- .air-datepicker-time{border-top:none}.air-datepicker-time--current{display:flex;align-items:center;flex:1;font-size:14px;text-align:center}.air-datepicker-time--current-colon{margin:0 2px 3px;line-height:1}.air-datepicker-time--current-hours,.air-datepicker-time--current-minutes{line-height:1;font-size:19px;font-family:Century Gothic,CenturyGothic,AppleGothic,sans-serif;position:relative;z-index:1}.air-datepicker-time--current-hours:after,.air-datepicker-time--current-minutes:after{content:"";background:var(--adp-background-color-hover);border-radius:var(--adp-border-radius);position:absolute;left:-2px;top:-3px;right:-2px;bottom:-2px;z-index:-1;opacity:0}.air-datepicker-time--current-hours.-focus-:after,.air-datepicker-time--current-minutes.-focus-:after{opacity:1}.air-datepicker-time--current-ampm{text-transform:uppercase;align-self:flex-end;color:var(--adp-time-day-period-color);margin-left:6px;font-size:11px;margin-bottom:1px}.air-datepicker-time--row{display:flex;align-items:center;font-size:11px;height:17px;background:linear-gradient(to right,var(--adp-time-track-color),var(--adp-time-track-color)) left 50%/100% var(--adp-time-track-height) no-repeat}.air-datepicker-time--row:first-child{margin-bottom:4px}.air-datepicker-time--row input[type=range]{background:none;cursor:pointer;flex:1;height:100%;width:100%;padding:0;margin:0;-webkit-appearance:none}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}.air-datepicker-time--row input[type=range]::-ms-tooltip{display:none}.air-datepicker-time--row input[type=range]:hover::-webkit-slider-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:hover::-moz-range-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:hover::-ms-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:focus{outline:none}.air-datepicker-time--row input[type=range]:focus::-webkit-slider-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]:focus::-moz-range-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]:focus::-ms-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid var(--adp-time-track-color);background:#fff;cursor:pointer;-webkit-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration)}.air-datepicker-time--row input[type=range]::-moz-range-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid var(--adp-time-track-color);background:#fff;cursor:pointer;-moz-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration)}.air-datepicker-time--row input[type=range]::-ms-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid var(--adp-time-track-color);background:#fff;cursor:pointer;-ms-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration)}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{margin-top:calc(var(--adp-time-thumb-size)/2*-1)}.air-datepicker-time--row input[type=range]::-webkit-slider-runnable-track{border:none;height:var(--adp-time-track-height);cursor:pointer;color:#0000;background:#0000}.air-datepicker-time--row input[type=range]::-moz-range-track{border:none;height:var(--adp-time-track-height);cursor:pointer;color:#0000;background:#0000}.air-datepicker-time--row input[type=range]::-ms-track{border:none;height:var(--adp-time-track-height);cursor:pointer;color:#0000;background:#0000}.air-datepicker-time--row input[type=range]::-ms-fill-lower{background:#0000}.air-datepicker-time--row input[type=range]::-ms-fill-upper{background:#0000}.air-datepicker{--adp-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--adp-font-size: 14px;--adp-width: 246px;--adp-z-index: 100;--adp-padding: 4px;--adp-grid-areas: "nav" "body" "timepicker" "buttons";--adp-transition-duration: .3s;--adp-transition-ease: ease-out;--adp-transition-offset: 8px;--adp-background-color: #fff;--adp-background-color-hover: #f0f0f0;--adp-background-color-active: #eaeaea;--adp-background-color-in-range: rgba(92, 196, 239, .1);--adp-background-color-in-range-focused: rgba(92, 196, 239, .2);--adp-background-color-selected-other-month-focused: #8ad5f4;--adp-background-color-selected-other-month: #a2ddf6;--adp-color: #4a4a4a;--adp-color-secondary: #9c9c9c;--adp-accent-color: #4eb5e6;--adp-color-current-date: var(--adp-accent-color);--adp-color-other-month: #dedede;--adp-color-disabled: #aeaeae;--adp-color-disabled-in-range: #939393;--adp-color-other-month-hover: #c5c5c5;--adp-border-color: #dbdbdb;--adp-border-color-inner: #efefef;--adp-border-radius: 4px;--adp-border-color-inline: #d7d7d7;--adp-nav-height: 32px;--adp-nav-arrow-color: var(--adp-color-secondary);--adp-nav-action-size: 32px;--adp-nav-color-secondary: var(--adp-color-secondary);--adp-day-name-color: #ff9a19;--adp-day-name-color-hover: #8ad5f4;--adp-day-cell-width: 1fr;--adp-day-cell-height: 32px;--adp-month-cell-height: 42px;--adp-year-cell-height: 56px;--adp-pointer-size: 10px;--adp-poiner-border-radius: 2px;--adp-pointer-offset: 14px;--adp-cell-border-radius: 4px;--adp-cell-background-color-hover: var(--adp-background-color-hover);--adp-cell-background-color-selected: #5cc4ef;--adp-cell-background-color-selected-hover: #45bced;--adp-cell-background-color-in-range: rgba(92, 196, 239, .1);--adp-cell-background-color-in-range-hover: rgba(92, 196, 239, .2);--adp-cell-border-color-in-range: var(--adp-cell-background-color-selected);--adp-btn-height: 32px;--adp-btn-color: var(--adp-accent-color);--adp-btn-color-hover: var(--adp-color);--adp-btn-border-radius: var(--adp-border-radius);--adp-btn-background-color-hover: var(--adp-background-color-hover);--adp-btn-background-color-active: var(--adp-background-color-active);--adp-time-track-height: 1px;--adp-time-track-color: #dedede;--adp-time-track-color-hover: #b1b1b1;--adp-time-thumb-size: 12px;--adp-time-padding-inner: 10px;--adp-time-day-period-color: var(--adp-color-secondary);--adp-mobile-font-size: 16px;--adp-mobile-nav-height: 40px;--adp-mobile-width: 320px;--adp-mobile-day-cell-height: 38px;--adp-mobile-month-cell-height: 48px;--adp-mobile-year-cell-height: 64px}.air-datepicker-overlay{--adp-overlay-background-color: rgba(0, 0, 0, .3);--adp-overlay-transition-duration: .3s;--adp-overlay-transition-ease: ease-out;--adp-overlay-z-index: 99}.air-datepicker{background:var(--adp-background-color);border:1px solid var(--adp-border-color);box-shadow:0 4px 12px #00000026;border-radius:var(--adp-border-radius);box-sizing:content-box;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(4,max-content);grid-template-areas:var(--adp-grid-areas);font-family:var(--adp-font-family),sans-serif;font-size:var(--adp-font-size);color:var(--adp-color);width:var(--adp-width);position:absolute;transition:opacity var(--adp-transition-duration) var(--adp-transition-ease),transform var(--adp-transition-duration) var(--adp-transition-ease);z-index:var(--adp-z-index)}.air-datepicker:not(.-custom-position-){opacity:0}.air-datepicker.-from-top-{transform:translateY(calc(var(--adp-transition-offset) * -1))}.air-datepicker.-from-right-{transform:translate(var(--adp-transition-offset))}.air-datepicker.-from-bottom-{transform:translateY(var(--adp-transition-offset))}.air-datepicker.-from-left-{transform:translate(calc(var(--adp-transition-offset) * -1))}.air-datepicker.-active-:not(.-custom-position-){transform:translate(0);opacity:1}.air-datepicker.-active-.-custom-position-{transition:none}.air-datepicker.-inline-{border-color:var(--adp-border-color-inline);box-shadow:none;position:static;left:auto;right:auto;opacity:1;transform:none}.air-datepicker.-inline- .air-datepicker--pointer{display:none}.air-datepicker.-is-mobile-{--adp-font-size: var(--adp-mobile-font-size);--adp-day-cell-height: var(--adp-mobile-day-cell-height);--adp-month-cell-height: var(--adp-mobile-month-cell-height);--adp-year-cell-height: var(--adp-mobile-year-cell-height);--adp-nav-height: var(--adp-mobile-nav-height);--adp-nav-action-size: var(--adp-mobile-nav-height);position:fixed;width:var(--adp-mobile-width);border:none}.air-datepicker.-is-mobile- *{-webkit-tap-highlight-color:rgba(0,0,0,0)}.air-datepicker.-is-mobile- .air-datepicker--pointer{display:none}.air-datepicker.-is-mobile-:not(.-custom-position-){transform:translate(-50%,calc(-50% + var(--adp-transition-offset)))}.air-datepicker.-is-mobile-.-active-:not(.-custom-position-){transform:translate(-50%,-50%)}.air-datepicker.-custom-position-{transition:none}.air-datepicker-global-container{position:absolute;left:0;top:0}.air-datepicker--pointer{--pointer-half-size: calc(var(--adp-pointer-size) / 2);position:absolute;width:var(--adp-pointer-size);height:var(--adp-pointer-size);z-index:-1}.air-datepicker--pointer:after{content:"";position:absolute;background:#fff;border-top:1px solid var(--adp-border-color-inline);border-right:1px solid var(--adp-border-color-inline);border-top-right-radius:var(--adp-poiner-border-radius);width:var(--adp-pointer-size);height:var(--adp-pointer-size);box-sizing:border-box}.-top-left- .air-datepicker--pointer,.-top-center- .air-datepicker--pointer,.-top-right- .air-datepicker--pointer,[data-popper-placement^=top] .air-datepicker--pointer{top:calc(100% - var(--pointer-half-size) + 1px)}.-top-left- .air-datepicker--pointer:after,.-top-center- .air-datepicker--pointer:after,.-top-right- .air-datepicker--pointer:after,[data-popper-placement^=top] .air-datepicker--pointer:after{transform:rotate(135deg)}.-right-top- .air-datepicker--pointer,.-right-center- .air-datepicker--pointer,.-right-bottom- .air-datepicker--pointer,[data-popper-placement^=right] .air-datepicker--pointer{right:calc(100% - var(--pointer-half-size) + 1px)}.-right-top- .air-datepicker--pointer:after,.-right-center- .air-datepicker--pointer:after,.-right-bottom- .air-datepicker--pointer:after,[data-popper-placement^=right] .air-datepicker--pointer:after{transform:rotate(225deg)}.-bottom-left- .air-datepicker--pointer,.-bottom-center- .air-datepicker--pointer,.-bottom-right- .air-datepicker--pointer,[data-popper-placement^=bottom] .air-datepicker--pointer{bottom:calc(100% - var(--pointer-half-size) + 1px)}.-bottom-left- .air-datepicker--pointer:after,.-bottom-center- .air-datepicker--pointer:after,.-bottom-right- .air-datepicker--pointer:after,[data-popper-placement^=bottom] .air-datepicker--pointer:after{transform:rotate(315deg)}.-left-top- .air-datepicker--pointer,.-left-center- .air-datepicker--pointer,.-left-bottom- .air-datepicker--pointer,[data-popper-placement^=left] .air-datepicker--pointer{left:calc(100% - var(--pointer-half-size) + 1px)}.-left-top- .air-datepicker--pointer:after,.-left-center- .air-datepicker--pointer:after,.-left-bottom- .air-datepicker--pointer:after,[data-popper-placement^=left] .air-datepicker--pointer:after{transform:rotate(45deg)}.-top-left- .air-datepicker--pointer,.-bottom-left- .air-datepicker--pointer{left:var(--adp-pointer-offset)}.-top-right- .air-datepicker--pointer,.-bottom-right- .air-datepicker--pointer{right:var(--adp-pointer-offset)}.-top-center- .air-datepicker--pointer,.-bottom-center- .air-datepicker--pointer{left:calc(50% - var(--adp-pointer-size)/2)}.-left-top- .air-datepicker--pointer,.-right-top- .air-datepicker--pointer{top:var(--adp-pointer-offset)}.-left-bottom- .air-datepicker--pointer,.-right-bottom- .air-datepicker--pointer{bottom:var(--adp-pointer-offset)}.-left-center- .air-datepicker--pointer,.-right-center- .air-datepicker--pointer{top:calc(50% - var(--adp-pointer-size)/2)}.air-datepicker--navigation{grid-area:nav}.air-datepicker--content{box-sizing:content-box;padding:var(--adp-padding);grid-area:body}.-only-timepicker- .air-datepicker--content{display:none}.air-datepicker--time{grid-area:timepicker}.air-datepicker--buttons{grid-area:buttons}.air-datepicker--buttons,.air-datepicker--time{padding:var(--adp-padding);border-top:1px solid var(--adp-border-color-inner)}.air-datepicker-overlay{position:fixed;background:var(--adp-overlay-background-color);left:0;top:0;width:0;height:0;opacity:0;transition:opacity var(--adp-overlay-transition-duration) var(--adp-overlay-transition-ease),left 0s,height 0s,width 0s;transition-delay:0s,var(--adp-overlay-transition-duration),var(--adp-overlay-transition-duration),var(--adp-overlay-transition-duration);z-index:var(--adp-overlay-z-index)}.air-datepicker-overlay.-active-{opacity:1;width:100%;height:100%;transition:opacity var(--adp-overlay-transition-duration) var(--adp-overlay-transition-ease),height 0s,width 0s}
|