@haiilo/catalyst 8.0.2 → 8.1.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/dist/catalyst/catalyst.css +3 -4
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/p-1bd44896.js +3 -0
- package/dist/catalyst/p-1bd44896.js.map +1 -0
- package/dist/catalyst/p-dc953306.entry.js +10 -0
- package/dist/catalyst/p-dc953306.entry.js.map +1 -0
- package/dist/catalyst/scss/core/_form.scss +2 -1
- package/dist/catalyst/scss/core/_notification.scss +1 -2
- package/dist/catalyst/scss/core/_typography.scss +0 -1
- package/dist/cjs/cat-alert_26.cjs.entry.js +10 -10
- package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
- package/dist/cjs/catalyst.cjs.js +2 -2
- package/dist/cjs/catalyst.cjs.js.map +1 -1
- package/dist/cjs/{index-329a3380.js → index-1e7eef7e.js} +16 -6
- package/dist/cjs/index-1e7eef7e.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.js +2 -2
- package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js +2 -2
- package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.js +4 -3
- package/dist/collection/components/cat-input/cat-input.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.spec.js +3 -3
- package/dist/collection/components/cat-input/cat-input.spec.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.js +2 -1
- package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.spec.js +1 -1
- package/dist/collection/components/cat-radio/cat-radio.spec.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.js +8 -7
- package/dist/collection/components/cat-select/cat-select.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.spec.js +3 -3
- package/dist/collection/components/cat-select/cat-select.spec.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.js +4 -3
- package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.spec.js +3 -3
- package/dist/collection/components/cat-textarea/cat-textarea.spec.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.js +2 -2
- package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.spec.js +2 -2
- package/dist/collection/components/cat-toggle/cat-toggle.spec.js.map +1 -1
- package/dist/collection/scss/core/_form.scss +2 -1
- package/dist/collection/scss/core/_notification.scss +1 -2
- package/dist/collection/scss/core/_typography.scss +0 -1
- package/dist/components/cat-checkbox2.js +1 -1
- package/dist/components/cat-checkbox2.js.map +1 -1
- package/dist/components/cat-input2.js +2 -2
- package/dist/components/cat-input2.js.map +1 -1
- package/dist/components/cat-radio.js +1 -1
- package/dist/components/cat-radio.js.map +1 -1
- package/dist/components/cat-select2.js +2 -2
- package/dist/components/cat-select2.js.map +1 -1
- package/dist/components/cat-textarea.js +2 -2
- package/dist/components/cat-textarea.js.map +1 -1
- package/dist/components/cat-toggle.js +1 -1
- package/dist/components/cat-toggle.js.map +1 -1
- package/dist/esm/cat-alert_26.entry.js +10 -10
- package/dist/esm/cat-alert_26.entry.js.map +1 -1
- package/dist/esm/catalyst.js +3 -3
- package/dist/esm/catalyst.js.map +1 -1
- package/dist/esm/{index-6af09649.js → index-30a221a3.js} +16 -6
- package/dist/esm/index-30a221a3.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/types/@types/Intl.d.ts +3 -0
- package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +1 -1
- package/dist/types/components/cat-input/cat-input.d.ts +2 -1
- package/dist/types/components/cat-radio/cat-radio.d.ts +1 -0
- package/dist/types/components/cat-select/autosize.d.ts +1 -0
- package/dist/types/components/cat-select/cat-select.d.ts +2 -1
- package/dist/types/components/cat-textarea/cat-textarea.d.ts +2 -1
- package/dist/types/components/cat-toggle/cat-toggle.d.ts +1 -1
- package/dist/types/components.d.ts +188 -0
- package/dist/types/stencil-public-runtime.d.ts +21 -0
- package/package.json +12 -12
- package/dist/catalyst/p-376b504c.js +0 -3
- package/dist/catalyst/p-376b504c.js.map +0 -1
- package/dist/catalyst/p-402a81e9.entry.js +0 -10
- package/dist/catalyst/p-402a81e9.entry.js.map +0 -1
- package/dist/cjs/index-329a3380.js.map +0 -1
- package/dist/esm/index-6af09649.js.map +0 -1
|
@@ -8,7 +8,8 @@ import { InputType } from './input-type';
|
|
|
8
8
|
*
|
|
9
9
|
* @slot hint - Optional hint element to be displayed with the input.
|
|
10
10
|
* @slot label - The slotted label. If both the label property and the label slot are present, only the label slot will be displayed.
|
|
11
|
-
* @part label - The label
|
|
11
|
+
* @part label - The native label element.
|
|
12
|
+
* @part input - The native input element.
|
|
12
13
|
* @part prefix - The text prefix.
|
|
13
14
|
* @part suffix - The text suffix.
|
|
14
15
|
*/
|
|
@@ -6,6 +6,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
6
6
|
* @slot hint - Optional hint element to be displayed with the radio.
|
|
7
7
|
* @slot label - The slotted label. If both the label property and the label slot are present, only the label slot will be displayed.
|
|
8
8
|
* @part label - The label content.
|
|
9
|
+
* @part input - The native input element.
|
|
9
10
|
*/
|
|
10
11
|
export declare class CatRadio {
|
|
11
12
|
private readonly _id;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'autosize-input';
|
|
@@ -68,7 +68,8 @@ export interface CatSelectTaggingValue {
|
|
|
68
68
|
*
|
|
69
69
|
* @slot hint - Optional hint element to be displayed with the select.
|
|
70
70
|
* @slot label - The slotted label. If both the label property and the label slot are present, only the label slot will be displayed.
|
|
71
|
-
* @part label - The label
|
|
71
|
+
* @part label - The native label element.
|
|
72
|
+
* @part input - The native input element.
|
|
72
73
|
*/
|
|
73
74
|
export declare class CatSelect {
|
|
74
75
|
private static readonly SKELETON_COUNT;
|
|
@@ -7,7 +7,8 @@ import { ErrorMap } from '../cat-form-hint/cat-form-hint';
|
|
|
7
7
|
*
|
|
8
8
|
* @slot hint - Optional hint element to be displayed with the textarea.
|
|
9
9
|
* @slot label - The slotted label. If both the label property and the label slot are present, only the label slot will be displayed.
|
|
10
|
-
* @part label - The label
|
|
10
|
+
* @part label - The native label element.
|
|
11
|
+
* @part textarea - The native textarea element.
|
|
11
12
|
*/
|
|
12
13
|
export declare class CatTextarea {
|
|
13
14
|
private readonly _id;
|
|
@@ -5,8 +5,8 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
5
5
|
*
|
|
6
6
|
* @slot hint - Optional hint element to be displayed with the toggle.
|
|
7
7
|
* @slot label - The slotted label. If both the label property and the label slot are present, only the label slot will be displayed.
|
|
8
|
-
* @part toggle - The toggle element.
|
|
9
8
|
* @part label - The label content.
|
|
9
|
+
* @part input - The native input element.
|
|
10
10
|
*/
|
|
11
11
|
export declare class CatToggle {
|
|
12
12
|
private readonly _id;
|
|
@@ -1269,11 +1269,24 @@ declare global {
|
|
|
1269
1269
|
prototype: HTMLCatBadgeElement;
|
|
1270
1270
|
new (): HTMLCatBadgeElement;
|
|
1271
1271
|
};
|
|
1272
|
+
interface HTMLCatButtonElementEventMap {
|
|
1273
|
+
"catClick": MouseEvent;
|
|
1274
|
+
"catFocus": FocusEvent;
|
|
1275
|
+
"catBlur": FocusEvent;
|
|
1276
|
+
}
|
|
1272
1277
|
/**
|
|
1273
1278
|
* Buttons are used for interface actions. Primary style should be used only
|
|
1274
1279
|
* once per view for main call-to-action.
|
|
1275
1280
|
*/
|
|
1276
1281
|
interface HTMLCatButtonElement extends Components.CatButton, HTMLStencilElement {
|
|
1282
|
+
addEventListener<K extends keyof HTMLCatButtonElementEventMap>(type: K, listener: (this: HTMLCatButtonElement, ev: CatButtonCustomEvent<HTMLCatButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1283
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1284
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1285
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1286
|
+
removeEventListener<K extends keyof HTMLCatButtonElementEventMap>(type: K, listener: (this: HTMLCatButtonElement, ev: CatButtonCustomEvent<HTMLCatButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1287
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1288
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1289
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1277
1290
|
}
|
|
1278
1291
|
var HTMLCatButtonElement: {
|
|
1279
1292
|
prototype: HTMLCatButtonElement;
|
|
@@ -1299,29 +1312,78 @@ declare global {
|
|
|
1299
1312
|
prototype: HTMLCatCardElement;
|
|
1300
1313
|
new (): HTMLCatCardElement;
|
|
1301
1314
|
};
|
|
1315
|
+
interface HTMLCatCheckboxElementEventMap {
|
|
1316
|
+
"catChange": any;
|
|
1317
|
+
"catFocus": FocusEvent;
|
|
1318
|
+
"catBlur": FocusEvent;
|
|
1319
|
+
}
|
|
1302
1320
|
/**
|
|
1303
1321
|
* Checkboxes are used to let a user choose one or more options from a limited
|
|
1304
1322
|
* number of options.
|
|
1305
1323
|
*/
|
|
1306
1324
|
interface HTMLCatCheckboxElement extends Components.CatCheckbox, HTMLStencilElement {
|
|
1325
|
+
addEventListener<K extends keyof HTMLCatCheckboxElementEventMap>(type: K, listener: (this: HTMLCatCheckboxElement, ev: CatCheckboxCustomEvent<HTMLCatCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1326
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1327
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1328
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1329
|
+
removeEventListener<K extends keyof HTMLCatCheckboxElementEventMap>(type: K, listener: (this: HTMLCatCheckboxElement, ev: CatCheckboxCustomEvent<HTMLCatCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1330
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1331
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1332
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1307
1333
|
}
|
|
1308
1334
|
var HTMLCatCheckboxElement: {
|
|
1309
1335
|
prototype: HTMLCatCheckboxElement;
|
|
1310
1336
|
new (): HTMLCatCheckboxElement;
|
|
1311
1337
|
};
|
|
1338
|
+
interface HTMLCatDatepickerElementEventMap {
|
|
1339
|
+
"catChange": string;
|
|
1340
|
+
"catFocus": FocusEvent;
|
|
1341
|
+
"catBlur": FocusEvent;
|
|
1342
|
+
}
|
|
1312
1343
|
interface HTMLCatDatepickerElement extends Components.CatDatepicker, HTMLStencilElement {
|
|
1344
|
+
addEventListener<K extends keyof HTMLCatDatepickerElementEventMap>(type: K, listener: (this: HTMLCatDatepickerElement, ev: CatDatepickerCustomEvent<HTMLCatDatepickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1345
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1346
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1347
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1348
|
+
removeEventListener<K extends keyof HTMLCatDatepickerElementEventMap>(type: K, listener: (this: HTMLCatDatepickerElement, ev: CatDatepickerCustomEvent<HTMLCatDatepickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1349
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1350
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1351
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1313
1352
|
}
|
|
1314
1353
|
var HTMLCatDatepickerElement: {
|
|
1315
1354
|
prototype: HTMLCatDatepickerElement;
|
|
1316
1355
|
new (): HTMLCatDatepickerElement;
|
|
1317
1356
|
};
|
|
1357
|
+
interface HTMLCatDatepickerInlineElementEventMap {
|
|
1358
|
+
"catChange": string;
|
|
1359
|
+
}
|
|
1318
1360
|
interface HTMLCatDatepickerInlineElement extends Components.CatDatepickerInline, HTMLStencilElement {
|
|
1361
|
+
addEventListener<K extends keyof HTMLCatDatepickerInlineElementEventMap>(type: K, listener: (this: HTMLCatDatepickerInlineElement, ev: CatDatepickerInlineCustomEvent<HTMLCatDatepickerInlineElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1362
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1363
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1364
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1365
|
+
removeEventListener<K extends keyof HTMLCatDatepickerInlineElementEventMap>(type: K, listener: (this: HTMLCatDatepickerInlineElement, ev: CatDatepickerInlineCustomEvent<HTMLCatDatepickerInlineElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1366
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1367
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1368
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1319
1369
|
}
|
|
1320
1370
|
var HTMLCatDatepickerInlineElement: {
|
|
1321
1371
|
prototype: HTMLCatDatepickerInlineElement;
|
|
1322
1372
|
new (): HTMLCatDatepickerInlineElement;
|
|
1323
1373
|
};
|
|
1374
|
+
interface HTMLCatDropdownElementEventMap {
|
|
1375
|
+
"catOpen": FocusEvent;
|
|
1376
|
+
"catClose": FocusEvent;
|
|
1377
|
+
}
|
|
1324
1378
|
interface HTMLCatDropdownElement extends Components.CatDropdown, HTMLStencilElement {
|
|
1379
|
+
addEventListener<K extends keyof HTMLCatDropdownElementEventMap>(type: K, listener: (this: HTMLCatDropdownElement, ev: CatDropdownCustomEvent<HTMLCatDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1380
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1381
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1382
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1383
|
+
removeEventListener<K extends keyof HTMLCatDropdownElementEventMap>(type: K, listener: (this: HTMLCatDropdownElement, ev: CatDropdownCustomEvent<HTMLCatDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1384
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1385
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1386
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1325
1387
|
}
|
|
1326
1388
|
var HTMLCatDropdownElement: {
|
|
1327
1389
|
prototype: HTMLCatDropdownElement;
|
|
@@ -1343,17 +1405,33 @@ declare global {
|
|
|
1343
1405
|
prototype: HTMLCatIconElement;
|
|
1344
1406
|
new (): HTMLCatIconElement;
|
|
1345
1407
|
};
|
|
1408
|
+
interface HTMLCatInputElementEventMap {
|
|
1409
|
+
"catChange": string;
|
|
1410
|
+
"catFocus": FocusEvent;
|
|
1411
|
+
"catBlur": FocusEvent;
|
|
1412
|
+
}
|
|
1346
1413
|
/**
|
|
1347
1414
|
* Inputs are used to allow users to provide text input when the expected input
|
|
1348
1415
|
* is short. As well as plain text, Input supports various types of text,
|
|
1349
1416
|
* including passwords and numbers.
|
|
1350
1417
|
*/
|
|
1351
1418
|
interface HTMLCatInputElement extends Components.CatInput, HTMLStencilElement {
|
|
1419
|
+
addEventListener<K extends keyof HTMLCatInputElementEventMap>(type: K, listener: (this: HTMLCatInputElement, ev: CatInputCustomEvent<HTMLCatInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1420
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1421
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1422
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1423
|
+
removeEventListener<K extends keyof HTMLCatInputElementEventMap>(type: K, listener: (this: HTMLCatInputElement, ev: CatInputCustomEvent<HTMLCatInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1424
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1425
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1426
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1352
1427
|
}
|
|
1353
1428
|
var HTMLCatInputElement: {
|
|
1354
1429
|
prototype: HTMLCatInputElement;
|
|
1355
1430
|
new (): HTMLCatInputElement;
|
|
1356
1431
|
};
|
|
1432
|
+
interface HTMLCatPaginationElementEventMap {
|
|
1433
|
+
"catChange": number;
|
|
1434
|
+
}
|
|
1357
1435
|
/**
|
|
1358
1436
|
* A navigation component to switch between different pages of paged chunks of
|
|
1359
1437
|
* data such as a table. Pagination is built with list HTML elements and a
|
|
@@ -1362,45 +1440,107 @@ declare global {
|
|
|
1362
1440
|
* correctly highlighted using `aria-current`.
|
|
1363
1441
|
*/
|
|
1364
1442
|
interface HTMLCatPaginationElement extends Components.CatPagination, HTMLStencilElement {
|
|
1443
|
+
addEventListener<K extends keyof HTMLCatPaginationElementEventMap>(type: K, listener: (this: HTMLCatPaginationElement, ev: CatPaginationCustomEvent<HTMLCatPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1444
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1445
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1446
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1447
|
+
removeEventListener<K extends keyof HTMLCatPaginationElementEventMap>(type: K, listener: (this: HTMLCatPaginationElement, ev: CatPaginationCustomEvent<HTMLCatPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1448
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1449
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1450
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1365
1451
|
}
|
|
1366
1452
|
var HTMLCatPaginationElement: {
|
|
1367
1453
|
prototype: HTMLCatPaginationElement;
|
|
1368
1454
|
new (): HTMLCatPaginationElement;
|
|
1369
1455
|
};
|
|
1456
|
+
interface HTMLCatRadioElementEventMap {
|
|
1457
|
+
"catChange": boolean | string;
|
|
1458
|
+
"catFocus": FocusEvent;
|
|
1459
|
+
"catBlur": FocusEvent;
|
|
1460
|
+
}
|
|
1370
1461
|
/**
|
|
1371
1462
|
* Radio Buttons are graphical interface elements that allow user to choose
|
|
1372
1463
|
* only one of a predefined set of mutually exclusive options.
|
|
1373
1464
|
*/
|
|
1374
1465
|
interface HTMLCatRadioElement extends Components.CatRadio, HTMLStencilElement {
|
|
1466
|
+
addEventListener<K extends keyof HTMLCatRadioElementEventMap>(type: K, listener: (this: HTMLCatRadioElement, ev: CatRadioCustomEvent<HTMLCatRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1467
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1468
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1469
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1470
|
+
removeEventListener<K extends keyof HTMLCatRadioElementEventMap>(type: K, listener: (this: HTMLCatRadioElement, ev: CatRadioCustomEvent<HTMLCatRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1471
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1472
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1473
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1375
1474
|
}
|
|
1376
1475
|
var HTMLCatRadioElement: {
|
|
1377
1476
|
prototype: HTMLCatRadioElement;
|
|
1378
1477
|
new (): HTMLCatRadioElement;
|
|
1379
1478
|
};
|
|
1479
|
+
interface HTMLCatRadioGroupElementEventMap {
|
|
1480
|
+
"catChange": boolean | string;
|
|
1481
|
+
"catFocus": FocusEvent;
|
|
1482
|
+
"catBlur": FocusEvent;
|
|
1483
|
+
}
|
|
1380
1484
|
/**
|
|
1381
1485
|
* A group of radio buttons.
|
|
1382
1486
|
*/
|
|
1383
1487
|
interface HTMLCatRadioGroupElement extends Components.CatRadioGroup, HTMLStencilElement {
|
|
1488
|
+
addEventListener<K extends keyof HTMLCatRadioGroupElementEventMap>(type: K, listener: (this: HTMLCatRadioGroupElement, ev: CatRadioGroupCustomEvent<HTMLCatRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1489
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1490
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1491
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1492
|
+
removeEventListener<K extends keyof HTMLCatRadioGroupElementEventMap>(type: K, listener: (this: HTMLCatRadioGroupElement, ev: CatRadioGroupCustomEvent<HTMLCatRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1493
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1494
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1495
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1384
1496
|
}
|
|
1385
1497
|
var HTMLCatRadioGroupElement: {
|
|
1386
1498
|
prototype: HTMLCatRadioGroupElement;
|
|
1387
1499
|
new (): HTMLCatRadioGroupElement;
|
|
1388
1500
|
};
|
|
1501
|
+
interface HTMLCatScrollableElementEventMap {
|
|
1502
|
+
"scrolledTop": void;
|
|
1503
|
+
"scrolledLeft": void;
|
|
1504
|
+
"scrolledRight": void;
|
|
1505
|
+
"scrolledBottom": void;
|
|
1506
|
+
}
|
|
1389
1507
|
/**
|
|
1390
1508
|
* An element to display scrollable content.
|
|
1391
1509
|
*/
|
|
1392
1510
|
interface HTMLCatScrollableElement extends Components.CatScrollable, HTMLStencilElement {
|
|
1511
|
+
addEventListener<K extends keyof HTMLCatScrollableElementEventMap>(type: K, listener: (this: HTMLCatScrollableElement, ev: CatScrollableCustomEvent<HTMLCatScrollableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1512
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1513
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1514
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1515
|
+
removeEventListener<K extends keyof HTMLCatScrollableElementEventMap>(type: K, listener: (this: HTMLCatScrollableElement, ev: CatScrollableCustomEvent<HTMLCatScrollableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1516
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1517
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1518
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1393
1519
|
}
|
|
1394
1520
|
var HTMLCatScrollableElement: {
|
|
1395
1521
|
prototype: HTMLCatScrollableElement;
|
|
1396
1522
|
new (): HTMLCatScrollableElement;
|
|
1397
1523
|
};
|
|
1524
|
+
interface HTMLCatSelectElementEventMap {
|
|
1525
|
+
"catOpen": FocusEvent;
|
|
1526
|
+
"catClose": FocusEvent;
|
|
1527
|
+
"catChange": InputEvent;
|
|
1528
|
+
"catBlur": FocusEvent;
|
|
1529
|
+
}
|
|
1398
1530
|
/**
|
|
1399
1531
|
* Select lets user choose one option from an options' menu. Consider using
|
|
1400
1532
|
* select when you have 6 or more options. Select component supports any content
|
|
1401
1533
|
* type.
|
|
1402
1534
|
*/
|
|
1403
1535
|
interface HTMLCatSelectElement extends Components.CatSelect, HTMLStencilElement {
|
|
1536
|
+
addEventListener<K extends keyof HTMLCatSelectElementEventMap>(type: K, listener: (this: HTMLCatSelectElement, ev: CatSelectCustomEvent<HTMLCatSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1537
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1538
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1539
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1540
|
+
removeEventListener<K extends keyof HTMLCatSelectElementEventMap>(type: K, listener: (this: HTMLCatSelectElement, ev: CatSelectCustomEvent<HTMLCatSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1541
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1542
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1543
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1404
1544
|
}
|
|
1405
1545
|
var HTMLCatSelectElement: {
|
|
1406
1546
|
prototype: HTMLCatSelectElement;
|
|
@@ -1430,41 +1570,89 @@ declare global {
|
|
|
1430
1570
|
prototype: HTMLCatSpinnerElement;
|
|
1431
1571
|
new (): HTMLCatSpinnerElement;
|
|
1432
1572
|
};
|
|
1573
|
+
interface HTMLCatTabElementEventMap {
|
|
1574
|
+
"tabClick": MouseEvent;
|
|
1575
|
+
}
|
|
1433
1576
|
/**
|
|
1434
1577
|
* A single tab inside a tabs component.
|
|
1435
1578
|
*/
|
|
1436
1579
|
interface HTMLCatTabElement extends Components.CatTab, HTMLStencilElement {
|
|
1580
|
+
addEventListener<K extends keyof HTMLCatTabElementEventMap>(type: K, listener: (this: HTMLCatTabElement, ev: CatTabCustomEvent<HTMLCatTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1581
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1582
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1583
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1584
|
+
removeEventListener<K extends keyof HTMLCatTabElementEventMap>(type: K, listener: (this: HTMLCatTabElement, ev: CatTabCustomEvent<HTMLCatTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1585
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1586
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1587
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1437
1588
|
}
|
|
1438
1589
|
var HTMLCatTabElement: {
|
|
1439
1590
|
prototype: HTMLCatTabElement;
|
|
1440
1591
|
new (): HTMLCatTabElement;
|
|
1441
1592
|
};
|
|
1593
|
+
interface HTMLCatTabsElementEventMap {
|
|
1594
|
+
"catChange": { id: string; index: number };
|
|
1595
|
+
}
|
|
1442
1596
|
/**
|
|
1443
1597
|
* Tabs are used to display multiple panels to be contained within a single
|
|
1444
1598
|
* window, using tabs as a navigational element.
|
|
1445
1599
|
*/
|
|
1446
1600
|
interface HTMLCatTabsElement extends Components.CatTabs, HTMLStencilElement {
|
|
1601
|
+
addEventListener<K extends keyof HTMLCatTabsElementEventMap>(type: K, listener: (this: HTMLCatTabsElement, ev: CatTabsCustomEvent<HTMLCatTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1602
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1603
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1604
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1605
|
+
removeEventListener<K extends keyof HTMLCatTabsElementEventMap>(type: K, listener: (this: HTMLCatTabsElement, ev: CatTabsCustomEvent<HTMLCatTabsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1606
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1607
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1608
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1447
1609
|
}
|
|
1448
1610
|
var HTMLCatTabsElement: {
|
|
1449
1611
|
prototype: HTMLCatTabsElement;
|
|
1450
1612
|
new (): HTMLCatTabsElement;
|
|
1451
1613
|
};
|
|
1614
|
+
interface HTMLCatTextareaElementEventMap {
|
|
1615
|
+
"catChange": string;
|
|
1616
|
+
"catFocus": FocusEvent;
|
|
1617
|
+
"catBlur": FocusEvent;
|
|
1618
|
+
}
|
|
1452
1619
|
/**
|
|
1453
1620
|
* Textarea specifies a control that allows user to write text over multiple
|
|
1454
1621
|
* rows. Used when the expected user input is long. For shorter input, use the
|
|
1455
1622
|
* input component.
|
|
1456
1623
|
*/
|
|
1457
1624
|
interface HTMLCatTextareaElement extends Components.CatTextarea, HTMLStencilElement {
|
|
1625
|
+
addEventListener<K extends keyof HTMLCatTextareaElementEventMap>(type: K, listener: (this: HTMLCatTextareaElement, ev: CatTextareaCustomEvent<HTMLCatTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1626
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1627
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1628
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1629
|
+
removeEventListener<K extends keyof HTMLCatTextareaElementEventMap>(type: K, listener: (this: HTMLCatTextareaElement, ev: CatTextareaCustomEvent<HTMLCatTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1630
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1631
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1632
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1458
1633
|
}
|
|
1459
1634
|
var HTMLCatTextareaElement: {
|
|
1460
1635
|
prototype: HTMLCatTextareaElement;
|
|
1461
1636
|
new (): HTMLCatTextareaElement;
|
|
1462
1637
|
};
|
|
1638
|
+
interface HTMLCatToggleElementEventMap {
|
|
1639
|
+
"catChange": any;
|
|
1640
|
+
"catFocus": FocusEvent;
|
|
1641
|
+
"catBlur": FocusEvent;
|
|
1642
|
+
}
|
|
1463
1643
|
/**
|
|
1464
1644
|
* Toggles are graphical interface switches that give user control over a
|
|
1465
1645
|
* feature or option that can be turned on or off.
|
|
1466
1646
|
*/
|
|
1467
1647
|
interface HTMLCatToggleElement extends Components.CatToggle, HTMLStencilElement {
|
|
1648
|
+
addEventListener<K extends keyof HTMLCatToggleElementEventMap>(type: K, listener: (this: HTMLCatToggleElement, ev: CatToggleCustomEvent<HTMLCatToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1649
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1650
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1651
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1652
|
+
removeEventListener<K extends keyof HTMLCatToggleElementEventMap>(type: K, listener: (this: HTMLCatToggleElement, ev: CatToggleCustomEvent<HTMLCatToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1653
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1654
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1655
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1468
1656
|
}
|
|
1469
1657
|
var HTMLCatToggleElement: {
|
|
1470
1658
|
prototype: HTMLCatToggleElement;
|
|
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
|
|
|
3
3
|
(opts?: ComponentOptions): ClassDecorator;
|
|
4
4
|
}
|
|
5
5
|
export interface ComponentOptions {
|
|
6
|
+
/**
|
|
7
|
+
* When set to `true` this component will be form-associated. See
|
|
8
|
+
* https://stenciljs.com/docs/next/form-associated documentation on how to
|
|
9
|
+
* build form-associated Stencil components that integrate into forms like
|
|
10
|
+
* native browser elements such as `<input>` and `<textarea>`.
|
|
11
|
+
*
|
|
12
|
+
* The {@link AttachInternals} decorator allows for access to the
|
|
13
|
+
* `ElementInternals` object to modify the associated form.
|
|
14
|
+
*/
|
|
15
|
+
formAssociated?: boolean;
|
|
6
16
|
/**
|
|
7
17
|
* Tag name of the web component. Ideally, the tag name must be globally unique,
|
|
8
18
|
* so it's recommended to choose an unique prefix for all your components within the same collection.
|
|
@@ -107,6 +117,9 @@ export interface EventOptions {
|
|
|
107
117
|
*/
|
|
108
118
|
composed?: boolean;
|
|
109
119
|
}
|
|
120
|
+
export interface AttachInternalsDecorator {
|
|
121
|
+
(): PropertyDecorator;
|
|
122
|
+
}
|
|
110
123
|
export interface ListenDecorator {
|
|
111
124
|
(eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
|
|
112
125
|
}
|
|
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
|
|
|
175
188
|
* https://stenciljs.com/docs/events
|
|
176
189
|
*/
|
|
177
190
|
export declare const Event: EventDecorator;
|
|
191
|
+
/**
|
|
192
|
+
* If the `formAssociated` option is set in options passed to the
|
|
193
|
+
* `@Component()` decorator then this decorator may be used to get access to the
|
|
194
|
+
* `ElementInternals` instance associated with the component.
|
|
195
|
+
*/
|
|
196
|
+
export declare const AttachInternals: AttachInternalsDecorator;
|
|
178
197
|
/**
|
|
179
198
|
* The `Listen()` decorator is for listening DOM events, including the ones
|
|
180
199
|
* dispatched from `@Events()`.
|
|
@@ -1115,11 +1134,13 @@ export declare namespace JSXBase {
|
|
|
1115
1134
|
autocomplete?: string;
|
|
1116
1135
|
}
|
|
1117
1136
|
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1137
|
+
height?: number;
|
|
1118
1138
|
media?: string;
|
|
1119
1139
|
sizes?: string;
|
|
1120
1140
|
src?: string;
|
|
1121
1141
|
srcSet?: string;
|
|
1122
1142
|
type?: string;
|
|
1143
|
+
width?: number;
|
|
1123
1144
|
}
|
|
1124
1145
|
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1125
1146
|
media?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haiilo/catalyst",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.1",
|
|
4
4
|
"description": "Catalyst Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@floating-ui/dom": "1.5.3",
|
|
32
|
-
"@stencil/core": "4.
|
|
32
|
+
"@stencil/core": "4.7.1",
|
|
33
33
|
"autosize": "6.0.1",
|
|
34
34
|
"autosize-input": "1.0.2",
|
|
35
35
|
"flatpickr": "4.6.13",
|
|
@@ -38,23 +38,23 @@
|
|
|
38
38
|
"sanitize.css": "13.0.0",
|
|
39
39
|
"tabbable": "6.2.0",
|
|
40
40
|
"toastify-js": "1.12.0",
|
|
41
|
-
"@haiilo/catalyst-tokens": "8.
|
|
41
|
+
"@haiilo/catalyst-tokens": "8.1.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@babel/core": "^7.19.6",
|
|
45
45
|
"@haiilo/catalyst-icons": "^1.0.7",
|
|
46
|
-
"@stencil/angular-output-target": "^0.8.
|
|
46
|
+
"@stencil/angular-output-target": "^0.8.3",
|
|
47
47
|
"@stencil/react-output-target": "^0.5.3",
|
|
48
|
-
"@stencil/sass": "^3.0.
|
|
49
|
-
"@stencil/vue-output-target": "^0.8.
|
|
48
|
+
"@stencil/sass": "^3.0.7",
|
|
49
|
+
"@stencil/vue-output-target": "^0.8.7",
|
|
50
50
|
"@types/autosize": "^4.0.1",
|
|
51
|
-
"@types/jest": "^27.
|
|
51
|
+
"@types/jest": "^27.4.1",
|
|
52
52
|
"@types/node": "^18.18.5",
|
|
53
53
|
"@types/toastify-js": "^1.12.1",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
55
|
-
"@typescript-eslint/parser": "^6.
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
55
|
+
"@typescript-eslint/parser": "^6.10.0",
|
|
56
56
|
"babel-loader": "^9.1.3",
|
|
57
|
-
"eslint": "^8.
|
|
57
|
+
"eslint": "^8.53.0",
|
|
58
58
|
"eslint-config-prettier": "^9.0.0",
|
|
59
59
|
"jest": "^27.5.1",
|
|
60
60
|
"jest-cli": "^27.5.1",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"replace-in-file": "^7.0.1",
|
|
64
64
|
"rxjs": "^7.5.5",
|
|
65
65
|
"stencil-inline-svg": "^1.1.0",
|
|
66
|
-
"stylelint": "^15.
|
|
66
|
+
"stylelint": "^15.11.0",
|
|
67
67
|
"stylelint-config-prettier-scss": "^1.0.0",
|
|
68
|
-
"stylelint-config-standard-scss": "^11.
|
|
68
|
+
"stylelint-config-standard-scss": "^11.1.0",
|
|
69
69
|
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const t="catalyst";let e;let n;let s=false;let o=false;const l=(t,e="")=>{{return()=>{}}};const c=(t,e)=>{{return()=>{}}};const i="{visibility:hidden}.hydrated{visibility:inherit}";const f="http://www.w3.org/1999/xlink";const r={};const u="http://www.w3.org/2000/svg";const a="http://www.w3.org/1999/xhtml";const d=t=>t!=null;const h=t=>{t=typeof t;return t==="object"||t==="function"};function p(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const y=(t,e,...n)=>{let s=null;let o=null;let l=false;let c=false;const i=[];const f=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(l=typeof t!=="function"&&!h(s)){s=String(s)}if(l&&c){i[i.length-1].t+=s}else{i.push(l?v(null,s):s)}c=l}}};f(n);if(e){if(e.key){o=e.key}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,i,w)}const r=v(t,null);r.o=e;if(i.length>0){r.l=i}{r.i=o}return r};const v=(t,e)=>{const n={u:0,h:t,t:e,p:null,l:null};{n.o=null}{n.i=null}return n};const m={};const b=t=>t&&t.h===m;const w={forEach:(t,e)=>t.map($).forEach(e),map:(t,e)=>t.map($).map(e).map(g)};const $=t=>({vattrs:t.o,vchildren:t.l,vkey:t.i,vname:t.v,vtag:t.h,vtext:t.t});const g=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return y(t.vtag,e,...t.vchildren||[])}const e=v(t.vtag,t.vtext);e.o=t.vattrs;e.l=t.vchildren;e.i=t.vkey;e.v=t.vname;return e};const S=(t,e)=>{if(t!=null&&!h(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const j=t=>pt(t).m;const k=(t,e,n)=>{const s=j(t);return{emit:t=>O(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const O=(t,e,n)=>{const s=kt.ce(e,n);t.dispatchEvent(s);return s};const C=new WeakMap;const M=(t,e,n)=>{let s=gt.get(t);if(Ct&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}gt.set(t,s)};const x=(t,e,n)=>{var s;const o=E(e);const l=gt.get(o);t=t.nodeType===11?t:jt;if(l){if(typeof l==="string"){t=t.head||t;let e=C.get(t);let n;if(!e){C.set(t,e=new Set)}if(!e.has(o)){{n=jt.createElement("style");n.innerHTML=l;const e=(s=kt.$)!==null&&s!==void 0?s:p(jt);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(o)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return o};const P=t=>{const e=t.S;const n=t.m;const s=e.u;const o=l("attachStyles",e.j);const c=x(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=c;n.classList.add(c+"-h")}o()};const E=(t,e)=>"sc-"+t.j;const L=(t,e,n,s,o,l)=>{if(n!==s){let c=mt(t,e);let i=e.toLowerCase();if(e==="class"){const e=t.classList;const o=U(n);const l=U(s);e.remove(...o.filter((t=>t&&!l.includes(t))));e.add(...l.filter((t=>t&&!o.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!c&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(mt(St,i)){e=i.slice(2)}else{e=i[2]+e.slice(3)}if(n){kt.rel(t,e,n,false)}if(s){kt.ael(t,e,s,false)}}else{const r=h(s);if((c||r&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(e==="list"){c=false}else if(n==null||t[e]!=o){t[e]=o}}else{t[e]=s}}catch(t){}}let u=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){e=i;u=true}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){if(u){t.removeAttributeNS(f,e)}else{t.removeAttribute(e)}}}else if((!c||l&4||o)&&!r){s=s===true?"":s;if(u){t.setAttributeNS(f,e,s)}else{t.setAttribute(e,s)}}}}};const R=/\s/;const U=t=>!t?[]:t.split(R);const W=(t,e,n,s)=>{const o=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const l=t&&t.o||r;const c=e.o||r;{for(s in l){if(!(s in c)){L(o,s,l[s],undefined,n,e.u)}}}for(s in c){L(o,s,l[s],c[s],n,e.u)}};const A=(t,n,o,l)=>{const c=n.l[o];let i=0;let f;let r;if(c.t!==null){f=c.p=jt.createTextNode(c.t)}else{if(!s){s=c.h==="svg"}f=c.p=jt.createElementNS(s?u:a,c.h);if(s&&c.h==="foreignObject"){s=false}{W(null,c,s)}if(d(e)&&f["s-si"]!==e){f.classList.add(f["s-si"]=e)}if(c.l){for(i=0;i<c.l.length;++i){r=A(t,c,i);if(r){f.appendChild(r)}}}{if(c.h==="svg"){s=false}else if(f.tagName==="foreignObject"){s=true}}}return f};const N=(t,e,s,o,l,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===n){i=i.shadowRoot}for(;l<=c;++l){if(o[l]){f=A(null,s,l);if(f){o[l].p=f;i.insertBefore(f,e)}}}};const T=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;q(e);if(t){t.remove()}}}};const D=(t,e,n,s)=>{let o=0;let l=0;let c=0;let i=0;let f=e.length-1;let r=e[0];let u=e[f];let a=s.length-1;let d=s[0];let h=s[a];let p;let y;while(o<=f&&l<=a){if(r==null){r=e[++o]}else if(u==null){u=e[--f]}else if(d==null){d=s[++l]}else if(h==null){h=s[--a]}else if(F(r,d)){H(r,d);r=e[++o];d=s[++l]}else if(F(u,h)){H(u,h);u=e[--f];h=s[--a]}else if(F(r,h)){H(r,h);t.insertBefore(r.p,u.p.nextSibling);r=e[++o];h=s[--a]}else if(F(u,d)){H(u,d);t.insertBefore(u.p,r.p);u=e[--f];d=s[++l]}else{c=-1;{for(i=o;i<=f;++i){if(e[i]&&e[i].i!==null&&e[i].i===d.i){c=i;break}}}if(c>=0){y=e[c];if(y.h!==d.h){p=A(e&&e[l],n,c)}else{H(y,d);e[c]=undefined;p=y.p}d=s[++l]}else{p=A(e&&e[l],n,l);d=s[++l]}if(p){{r.p.parentNode.insertBefore(p,r.p)}}}}if(o>f){N(t,s[a+1]==null?null:s[a+1].p,n,s,l,a)}else if(l>a){T(e,o,f)}};const F=(t,e)=>{if(t.h===e.h){{return t.i===e.i}}return false};const H=(t,e)=>{const n=e.p=t.p;const o=t.l;const l=e.l;const c=e.h;const i=e.t;if(i===null){{s=c==="svg"?true:c==="foreignObject"?false:s}{if(c==="slot");else{W(t,e,s)}}if(o!==null&&l!==null){D(n,o,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}N(n,null,e,l,0,l.length-1)}else if(o!==null){T(o,0,o.length-1)}if(s&&c==="svg"){s=false}}else if(t.t!==i){n.data=i}};const q=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.l&&t.l.map(q)}};const I=(t,s,o=false)=>{const l=t.m;const c=t.S;const i=t.k||v(null,null);const f=b(s)?s:y(null,null,s);n=l.tagName;if(c.O){f.o=f.o||{};c.O.map((([t,e])=>f.o[e]=l[t]))}if(o&&f.o){for(const t of Object.keys(f.o)){if(l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){f.o[t]=l[t]}}}f.h=null;f.u|=4;t.k=f;f.p=i.p=l.shadowRoot||l;{e=l["s-sc"]}H(i,f)};const V=(t,e)=>{if(e&&!t.C&&e["s-p"]){e["s-p"].push(new Promise((e=>t.C=e)))}};const _=(t,e)=>{{t.u|=16}if(t.u&4){t.u|=512;return}V(t,t.M);const n=()=>z(t,e);return Ut(n)};const z=(t,e)=>{const n=l("scheduleUpdate",t.S.j);const s=t.P;let o;if(e){{t.u|=256;if(t.L){t.L.map((([t,e])=>Y(s,t,e)));t.L=undefined}}{o=Y(s,"componentWillLoad")}}{o=B(o,(()=>Y(s,"componentWillRender")))}n();return B(o,(()=>J(t,s,e)))};const B=(t,e)=>G(t)?t.then(e):e();const G=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const J=async(t,e,n)=>{var s;const o=t.m;const c=l("update",t.S.j);const i=o["s-rc"];if(n){P(t)}const f=l("render",t.S.j);{K(t,e,o,n)}if(i){i.map((t=>t()));o["s-rc"]=undefined}f();c();{const e=(s=o["s-p"])!==null&&s!==void 0?s:[];const n=()=>Q(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.u|=4;e.length=0}}};const K=(t,e,n,s)=>{try{e=e.render();{t.u&=~16}{t.u|=2}{{{I(t,e,s)}}}}catch(e){bt(e,t.m)}return null};const Q=t=>{const e=t.S.j;const n=t.m;const s=l("postUpdate",e);const o=t.P;const c=t.M;{Y(o,"componentDidRender")}if(!(t.u&64)){t.u|=64;{Z(n)}{Y(o,"componentDidLoad")}s();{t.R(n);if(!c){X()}}}else{s()}{t.U(n)}{if(t.C){t.C();t.C=undefined}if(t.u&512){Rt((()=>_(t,false)))}t.u&=~(4|512)}};const X=e=>{{Z(jt.documentElement)}Rt((()=>O(St,"appload",{detail:{namespace:t}})))};const Y=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){bt(t)}}return undefined};const Z=t=>t.classList.add("hydrated");const tt=(t,e)=>pt(t).W.get(e);const et=(t,e,n,s)=>{const o=pt(t);const l=o.m;const c=o.W.get(e);const i=o.u;const f=o.P;n=S(n,s.A[e][0]);const r=Number.isNaN(c)&&Number.isNaN(n);const u=n!==c&&!r;if((!(i&8)||c===undefined)&&u){o.W.set(e,n);if(f){if(s.N&&i&128){const t=s.N[e];if(t){t.map((t=>{try{f[t](n,c,e)}catch(t){bt(t,l)}}))}}if((i&(2|16))===2){_(o,false)}}}};const nt=(t,e,n)=>{var s;if(e.A){if(t.watchers){e.N=t.watchers}const o=Object.entries(e.A);const l=t.prototype;o.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return tt(this,t)},set(n){et(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,t,{value(...e){const n=pt(this);return n.T.then((()=>n.P[t](...e)))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,s,o){kt.jmp((()=>{const c=n.get(t);if(this.hasOwnProperty(c)){o=this[c];delete this[c]}else if(l.hasOwnProperty(c)&&typeof this[c]==="number"&&this[c]==o){return}else if(c==null){const n=pt(this);const l=n===null||n===void 0?void 0:n.u;if(!(l&8)&&l&128&&o!==s){const l=n.P;const c=e.N[t];c===null||c===void 0?void 0:c.forEach((e=>{if(l[e]!=null){l[e].call(l,o,s,t)}}))}return}this[c]=o===null&&typeof this[c]==="boolean"?false:o}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.N)!==null&&s!==void 0?s:{}),...o.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const o=s[1]||t;n.set(o,t);if(s[0]&512){e.O.push([t,o])}return o}))]))}}return t};const st=async(t,e,n,s)=>{let o;if((e.u&32)===0){e.u|=32;{o=$t(n);if(o.then){const t=c();o=await o;t()}if(!o.isProxied){{n.N=o.watchers}nt(o,n,2);o.isProxied=true}const t=l("createInstance",n.j);{e.u|=8}try{new o(e)}catch(t){bt(t)}{e.u&=~8}{e.u|=128}t();ot(e.P)}if(o.style){let t=o.style;const e=E(n);if(!gt.has(e)){const s=l("registerStyles",n.j);M(e,t,!!(n.u&1));s()}}}const i=e.M;const f=()=>_(e,true);if(i&&i["s-rc"]){i["s-rc"].push(f)}else{f()}};const ot=t=>{{Y(t,"connectedCallback")}};const lt=t=>{if((kt.u&1)===0){const e=pt(t);const n=e.S;const s=l("connectedCallback",n.j);if(!(e.u&1)){e.u|=1;{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){V(e,e.M=n);break}}}if(n.A){Object.entries(n.A).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{st(t,e,n)}}else{rt(t,e,n.D);if(e===null||e===void 0?void 0:e.P){ot(e.P)}else if(e===null||e===void 0?void 0:e.F){e.F.then((()=>ot(e.P)))}}s()}};const ct=t=>{{Y(t,"disconnectedCallback")}};const it=async t=>{if((kt.u&1)===0){const e=pt(t);{if(e.H){e.H.map((t=>t()));e.H=undefined}}if(e===null||e===void 0?void 0:e.P){ct(e.P)}else if(e===null||e===void 0?void 0:e.F){e.F.then((()=>ct(e.P)))}}};const ft=(t,e={})=>{var n;const s=l();const o=[];const c=e.exclude||[];const f=St.customElements;const r=jt.head;const u=r.querySelector("meta[charset]");const a=jt.createElement("style");const d=[];let h;let y=true;Object.assign(kt,e);kt.q=new URL(e.resourcesUrl||"./",jt.baseURI).href;t.map((t=>{t[1].map((e=>{var n;const s={u:e[0],j:e[1],A:e[2],D:e[3]};{s.A=e[2]}{s.D=e[3]}{s.O=[]}{s.N=(n=e[4])!==null&&n!==void 0?n:{}}const l=s.j;const i=class extends HTMLElement{constructor(t){super(t);t=this;vt(t,s);if(s.u&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(h){clearTimeout(h);h=null}if(y){d.push(this)}else{kt.jmp((()=>lt(this)))}}disconnectedCallback(){kt.jmp((()=>it(this)))}componentOnReady(){return pt(this).F}};s.I=t[0];if(!c.includes(l)&&!f.get(l)){o.push(l);f.define(l,nt(i,s,1))}}))}));{a.innerHTML=o+i;a.setAttribute("data-styles","");const t=(n=kt.$)!==null&&n!==void 0?n:p(jt);if(t!=null){a.setAttribute("nonce",t)}r.insertBefore(a,u?u.nextSibling:r.firstChild)}y=false;if(d.length){d.map((t=>t.connectedCallback()))}else{{kt.jmp((()=>h=setTimeout(X,30)))}}s()};const rt=(t,e,n,s)=>{if(n){n.map((([n,s,o])=>{const l=t;const c=ut(e,o);const i=at(n);kt.ael(l,s,c,i);(e.H=e.H||[]).push((()=>kt.rel(l,s,c,i)))}))}};const ut=(t,e)=>n=>{try{{if(t.u&256){t.P[e](n)}else{(t.L=t.L||[]).push([e,n])}}}catch(t){bt(t)}};const at=t=>(t&2)!==0;const dt=t=>kt.$=t;const ht=new WeakMap;const pt=t=>ht.get(t);const yt=(t,e)=>ht.set(e.P=t,e);const vt=(t,e)=>{const n={u:0,m:t,S:e,W:new Map};{n.T=new Promise((t=>n.U=t))}{n.F=new Promise((t=>n.R=t));t["s-p"]=[];t["s-rc"]=[]}rt(t,n,e.D);return ht.set(t,n)};const mt=(t,e)=>e in t;const bt=(t,e)=>(0,console.error)(t,e);const wt=new Map;const $t=(t,e,n)=>{const s=t.j.replace(/-/g,"_");const o=t.I;const l=wt.get(o);if(l){return l[s]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{wt.set(o,t)}return t[s]}),bt)};const gt=new Map;const St=typeof window!=="undefined"?window:{};const jt=St.document||{head:{}};const kt={u:0,q:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Ot=t=>Promise.resolve(t);const Ct=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Mt=[];const xt=[];const Pt=(t,e)=>n=>{t.push(n);if(!o){o=true;if(e&&kt.u&4){Rt(Lt)}else{kt.raf(Lt)}}};const Et=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){bt(t)}}t.length=0};const Lt=()=>{Et(Mt);{Et(xt);if(o=Mt.length>0){kt.raf(Lt)}}};const Rt=t=>Ot().then(t);const Ut=Pt(xt,true);export{m as H,ft as b,k as c,j as g,y as h,Ot as p,yt as r,dt as s};
|
|
3
|
-
//# sourceMappingURL=p-376b504c.js.map
|