@everymatrix/general-input 0.0.1 → 1.0.69
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/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/checkbox-group-input_10.cjs.entry.js +20007 -16663
- package/dist/cjs/general-input.cjs.entry.js +67 -40
- package/dist/cjs/general-input.cjs.js +17 -11
- package/dist/cjs/index-8cb018cb.js +1316 -0
- package/dist/cjs/index.cjs.js +16 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/cjs/locale.utils-7a3dfe2f.js +128 -0
- package/dist/cjs/toggle-checkbox-input.cjs.entry.js +91 -0
- package/dist/cjs/tooltipIcon-7e9ee226.js +5 -0
- package/dist/collection/collection-manifest.json +14 -13
- package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +26 -6
- package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +372 -335
- package/dist/collection/components/checkbox-input/checkbox-input.css +16 -10
- package/dist/collection/components/checkbox-input/checkbox-input.js +325 -310
- package/dist/collection/components/date-input/date-input.css +35 -19
- package/dist/collection/components/date-input/date-input.js +401 -328
- package/dist/collection/components/email-input/email-input.css +30 -18
- package/dist/collection/components/email-input/email-input.js +405 -365
- package/dist/collection/components/general-input/general-input.css +1 -0
- package/dist/collection/components/general-input/general-input.js +374 -291
- package/dist/collection/components/general-input/index.js +1 -0
- package/dist/collection/components/number-input/number-input.css +28 -16
- package/dist/collection/components/number-input/number-input.js +371 -334
- package/dist/collection/components/password-input/password-input.css +105 -11
- package/dist/collection/components/password-input/password-input.js +518 -378
- package/dist/collection/components/radio-input/radio-input.css +4 -4
- package/dist/collection/components/radio-input/radio-input.js +301 -287
- package/dist/collection/components/select-input/select-input.css +47 -19
- package/dist/collection/components/select-input/select-input.js +428 -398
- package/dist/collection/components/tel-input/tel-input.css +52 -23
- package/dist/collection/components/tel-input/tel-input.js +441 -404
- package/dist/collection/components/text-input/text-input.css +33 -18
- package/dist/collection/components/text-input/text-input.js +446 -389
- package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.css +82 -0
- package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.js +336 -0
- package/dist/collection/index.js +16 -0
- package/dist/collection/utils/locale.utils.js +118 -21
- package/dist/collection/utils/tooltipIcon.svg +4 -4
- package/dist/collection/utils/utils.js +3 -3
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/checkbox-group-input_10.entry.js +20007 -16663
- package/dist/esm/general-input.entry.js +67 -40
- package/dist/esm/general-input.js +14 -11
- package/dist/esm/index-514fda47.js +1287 -0
- package/dist/esm/index.js +16 -1
- package/dist/esm/loader.js +7 -13
- package/dist/esm/locale.utils-21605050.js +125 -0
- package/dist/esm/toggle-checkbox-input.entry.js +87 -0
- package/dist/esm/tooltipIcon-0a5a06a2.js +3 -0
- package/dist/general-input/general-input.esm.js +1 -1
- package/dist/general-input/index.esm.js +1 -0
- package/dist/general-input/p-03e81c11.js +2 -0
- package/dist/general-input/p-2dccd0bf.js +1 -0
- package/dist/general-input/p-34939f14.entry.js +1 -0
- package/dist/general-input/p-b32f19c2.entry.js +5430 -0
- package/dist/general-input/p-c43bb82e.entry.js +1 -0
- package/dist/general-input/p-cfe9eb31.js +1 -0
- package/dist/general-input/p-e1255160.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -19
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/checkbox-group-input/checkbox-group-input.d.ts +69 -67
- package/dist/types/components/checkbox-input/checkbox-input.d.ts +61 -60
- package/dist/types/components/date-input/date-input.d.ts +79 -65
- package/dist/types/components/email-input/email-input.d.ts +76 -73
- package/dist/types/components/general-input/general-input.d.ts +72 -57
- package/dist/types/components/general-input/index.d.ts +1 -0
- package/dist/types/components/number-input/number-input.d.ts +70 -66
- package/dist/types/components/password-input/password-input.d.ts +87 -75
- package/dist/types/components/radio-input/radio-input.d.ts +55 -55
- package/dist/types/components/select-input/select-input.d.ts +78 -77
- package/dist/types/components/tel-input/tel-input.d.ts +84 -80
- package/dist/types/components/text-input/text-input.d.ts +81 -78
- package/dist/types/components/toggle-checkbox-input/toggle-checkbox-input.d.ts +67 -0
- package/dist/types/components.d.ts +331 -25
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/locale.utils.d.ts +13 -1
- package/dist/types/utils/types.d.ts +58 -47
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +9 -9
- package/dist/cjs/index-1768513d.js +0 -1286
- package/dist/components/active-mixin.js +0 -975
- package/dist/components/checkbox-group-input.d.ts +0 -11
- package/dist/components/checkbox-group-input.js +0 -6
- package/dist/components/checkbox-group-input2.js +0 -5793
- package/dist/components/checkbox-input.d.ts +0 -11
- package/dist/components/checkbox-input.js +0 -6
- package/dist/components/checkbox-input2.js +0 -127
- package/dist/components/date-input.d.ts +0 -11
- package/dist/components/date-input.js +0 -6
- package/dist/components/date-input2.js +0 -5182
- package/dist/components/email-input.d.ts +0 -11
- package/dist/components/email-input.js +0 -6
- package/dist/components/email-input2.js +0 -150
- package/dist/components/field-mixin.js +0 -12712
- package/dist/components/general-input.d.ts +0 -11
- package/dist/components/general-input.js +0 -140
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/components/input-field-shared-styles.js +0 -1067
- package/dist/components/number-input.d.ts +0 -11
- package/dist/components/number-input.js +0 -6
- package/dist/components/number-input2.js +0 -139
- package/dist/components/password-input.d.ts +0 -11
- package/dist/components/password-input.js +0 -6
- package/dist/components/password-input2.js +0 -879
- package/dist/components/pattern-mixin.js +0 -85
- package/dist/components/radio-input.d.ts +0 -11
- package/dist/components/radio-input.js +0 -6
- package/dist/components/radio-input2.js +0 -115
- package/dist/components/select-input.d.ts +0 -11
- package/dist/components/select-input.js +0 -6
- package/dist/components/select-input2.js +0 -166
- package/dist/components/tel-input.d.ts +0 -11
- package/dist/components/tel-input.js +0 -6
- package/dist/components/tel-input2.js +0 -178
- package/dist/components/text-input.d.ts +0 -11
- package/dist/components/text-input.js +0 -6
- package/dist/components/text-input2.js +0 -157
- package/dist/components/tooltipIcon.js +0 -30
- package/dist/components/vaadin-button.js +0 -461
- package/dist/components/vaadin-combo-box.js +0 -4329
- package/dist/components/virtual-keyboard-controller.js +0 -2693
- package/dist/esm/index-7e24a6f1.js +0 -1259
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/general-input/p-61d76ec3.entry.js +0 -1
- package/dist/general-input/p-a79eb0a3.entry.js +0 -4413
- package/dist/general-input/p-fb647820.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/stencil/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +0 -2
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { InputStateEvent, InputValueEvent, Option, ValidationSchema } from "./utils/types";
|
|
8
|
+
import { InputStateEvent, InputValueEvent, Option, RegCfgContentField, ValidationSchema } from "./utils/types";
|
|
9
|
+
export { InputStateEvent, InputValueEvent, Option, RegCfgContentField, ValidationSchema } from "./utils/types";
|
|
9
10
|
export namespace Components {
|
|
10
11
|
interface CheckboxGroupInput {
|
|
11
12
|
/**
|
|
@@ -39,7 +40,7 @@ export namespace Components {
|
|
|
39
40
|
/**
|
|
40
41
|
* Options of the input.
|
|
41
42
|
*/
|
|
42
|
-
"options":
|
|
43
|
+
"options": RegCfgContentField[];
|
|
43
44
|
/**
|
|
44
45
|
* Tooltip text.
|
|
45
46
|
*/
|
|
@@ -96,6 +97,10 @@ export namespace Components {
|
|
|
96
97
|
* Client custom styling via inline style
|
|
97
98
|
*/
|
|
98
99
|
"clientStyling": string;
|
|
100
|
+
/**
|
|
101
|
+
* Date format for date picker.
|
|
102
|
+
*/
|
|
103
|
+
"dateFormat": string;
|
|
99
104
|
/**
|
|
100
105
|
* Default value for the input.
|
|
101
106
|
*/
|
|
@@ -188,6 +193,10 @@ export namespace Components {
|
|
|
188
193
|
* Client custom styling via inline style
|
|
189
194
|
*/
|
|
190
195
|
"clientStyling": any;
|
|
196
|
+
/**
|
|
197
|
+
* Date format for date picker.
|
|
198
|
+
*/
|
|
199
|
+
"dateFormat": string;
|
|
191
200
|
/**
|
|
192
201
|
* Default value for the input.
|
|
193
202
|
*/
|
|
@@ -196,6 +205,10 @@ export namespace Components {
|
|
|
196
205
|
* Name of input to be shown to the user.
|
|
197
206
|
*/
|
|
198
207
|
"displayName": string;
|
|
208
|
+
/**
|
|
209
|
+
* Emit event on click
|
|
210
|
+
*/
|
|
211
|
+
"emitOnClick": boolean;
|
|
199
212
|
/**
|
|
200
213
|
* State passed down from the parent element. Will trigger the child specialised input to send it's value through an event.
|
|
201
214
|
*/
|
|
@@ -224,6 +237,10 @@ export namespace Components {
|
|
|
224
237
|
* Tooltip text.
|
|
225
238
|
*/
|
|
226
239
|
"tooltip": string;
|
|
240
|
+
/**
|
|
241
|
+
* Translations via URL
|
|
242
|
+
*/
|
|
243
|
+
"translationUrl": string;
|
|
227
244
|
/**
|
|
228
245
|
* Type the general-input should take. Can take the default HTML input values.
|
|
229
246
|
*/
|
|
@@ -421,7 +438,7 @@ export namespace Components {
|
|
|
421
438
|
/**
|
|
422
439
|
* Default value for the input.
|
|
423
440
|
*/
|
|
424
|
-
"defaultValue": string;
|
|
441
|
+
"defaultValue": string | any;
|
|
425
442
|
/**
|
|
426
443
|
* Name of input to be shown to the user.
|
|
427
444
|
*/
|
|
@@ -505,27 +522,161 @@ export namespace Components {
|
|
|
505
522
|
*/
|
|
506
523
|
"validation": ValidationSchema;
|
|
507
524
|
}
|
|
525
|
+
interface ToggleCheckboxInput {
|
|
526
|
+
/**
|
|
527
|
+
* Boolean. Determines if input should be readonly.
|
|
528
|
+
*/
|
|
529
|
+
"autofilled": boolean;
|
|
530
|
+
/**
|
|
531
|
+
* Client custom styling via inline style
|
|
532
|
+
*/
|
|
533
|
+
"clientStyling": string;
|
|
534
|
+
/**
|
|
535
|
+
* Default value for the input.
|
|
536
|
+
*/
|
|
537
|
+
"defaultValue": string;
|
|
538
|
+
/**
|
|
539
|
+
* Name of input to be shown to the user.
|
|
540
|
+
*/
|
|
541
|
+
"displayName": string;
|
|
542
|
+
/**
|
|
543
|
+
* State passed down from the parent element. Will trigger the input to send it's value through an event.
|
|
544
|
+
*/
|
|
545
|
+
"emitValue": boolean;
|
|
546
|
+
/**
|
|
547
|
+
* Currently selected language.
|
|
548
|
+
*/
|
|
549
|
+
"language": string;
|
|
550
|
+
/**
|
|
551
|
+
* Name of the input.
|
|
552
|
+
*/
|
|
553
|
+
"name": string;
|
|
554
|
+
/**
|
|
555
|
+
* Options of the input.
|
|
556
|
+
*/
|
|
557
|
+
"options": RegCfgContentField[];
|
|
558
|
+
/**
|
|
559
|
+
* Tooltip text.
|
|
560
|
+
*/
|
|
561
|
+
"tooltip": string;
|
|
562
|
+
/**
|
|
563
|
+
* Object of validation rules for the input.
|
|
564
|
+
*/
|
|
565
|
+
"validation": ValidationSchema;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
export interface CheckboxGroupInputCustomEvent<T> extends CustomEvent<T> {
|
|
569
|
+
detail: T;
|
|
570
|
+
target: HTMLCheckboxGroupInputElement;
|
|
571
|
+
}
|
|
572
|
+
export interface CheckboxInputCustomEvent<T> extends CustomEvent<T> {
|
|
573
|
+
detail: T;
|
|
574
|
+
target: HTMLCheckboxInputElement;
|
|
575
|
+
}
|
|
576
|
+
export interface DateInputCustomEvent<T> extends CustomEvent<T> {
|
|
577
|
+
detail: T;
|
|
578
|
+
target: HTMLDateInputElement;
|
|
579
|
+
}
|
|
580
|
+
export interface EmailInputCustomEvent<T> extends CustomEvent<T> {
|
|
581
|
+
detail: T;
|
|
582
|
+
target: HTMLEmailInputElement;
|
|
583
|
+
}
|
|
584
|
+
export interface NumberInputCustomEvent<T> extends CustomEvent<T> {
|
|
585
|
+
detail: T;
|
|
586
|
+
target: HTMLNumberInputElement;
|
|
587
|
+
}
|
|
588
|
+
export interface PasswordInputCustomEvent<T> extends CustomEvent<T> {
|
|
589
|
+
detail: T;
|
|
590
|
+
target: HTMLPasswordInputElement;
|
|
591
|
+
}
|
|
592
|
+
export interface RadioInputCustomEvent<T> extends CustomEvent<T> {
|
|
593
|
+
detail: T;
|
|
594
|
+
target: HTMLRadioInputElement;
|
|
595
|
+
}
|
|
596
|
+
export interface SelectInputCustomEvent<T> extends CustomEvent<T> {
|
|
597
|
+
detail: T;
|
|
598
|
+
target: HTMLSelectInputElement;
|
|
599
|
+
}
|
|
600
|
+
export interface TelInputCustomEvent<T> extends CustomEvent<T> {
|
|
601
|
+
detail: T;
|
|
602
|
+
target: HTMLTelInputElement;
|
|
603
|
+
}
|
|
604
|
+
export interface TextInputCustomEvent<T> extends CustomEvent<T> {
|
|
605
|
+
detail: T;
|
|
606
|
+
target: HTMLTextInputElement;
|
|
607
|
+
}
|
|
608
|
+
export interface ToggleCheckboxInputCustomEvent<T> extends CustomEvent<T> {
|
|
609
|
+
detail: T;
|
|
610
|
+
target: HTMLToggleCheckboxInputElement;
|
|
508
611
|
}
|
|
509
612
|
declare global {
|
|
613
|
+
interface HTMLCheckboxGroupInputElementEventMap {
|
|
614
|
+
"sendValidityState": InputStateEvent;
|
|
615
|
+
"sendInputValue": InputValueEvent;
|
|
616
|
+
}
|
|
510
617
|
interface HTMLCheckboxGroupInputElement extends Components.CheckboxGroupInput, HTMLStencilElement {
|
|
618
|
+
addEventListener<K extends keyof HTMLCheckboxGroupInputElementEventMap>(type: K, listener: (this: HTMLCheckboxGroupInputElement, ev: CheckboxGroupInputCustomEvent<HTMLCheckboxGroupInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
619
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
620
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
621
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
622
|
+
removeEventListener<K extends keyof HTMLCheckboxGroupInputElementEventMap>(type: K, listener: (this: HTMLCheckboxGroupInputElement, ev: CheckboxGroupInputCustomEvent<HTMLCheckboxGroupInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
623
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
624
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
625
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
511
626
|
}
|
|
512
627
|
var HTMLCheckboxGroupInputElement: {
|
|
513
628
|
prototype: HTMLCheckboxGroupInputElement;
|
|
514
629
|
new (): HTMLCheckboxGroupInputElement;
|
|
515
630
|
};
|
|
631
|
+
interface HTMLCheckboxInputElementEventMap {
|
|
632
|
+
"sendValidityState": InputStateEvent;
|
|
633
|
+
"sendInputValue": InputValueEvent;
|
|
634
|
+
}
|
|
516
635
|
interface HTMLCheckboxInputElement extends Components.CheckboxInput, HTMLStencilElement {
|
|
636
|
+
addEventListener<K extends keyof HTMLCheckboxInputElementEventMap>(type: K, listener: (this: HTMLCheckboxInputElement, ev: CheckboxInputCustomEvent<HTMLCheckboxInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
637
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
638
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
639
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
640
|
+
removeEventListener<K extends keyof HTMLCheckboxInputElementEventMap>(type: K, listener: (this: HTMLCheckboxInputElement, ev: CheckboxInputCustomEvent<HTMLCheckboxInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
641
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
642
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
643
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
517
644
|
}
|
|
518
645
|
var HTMLCheckboxInputElement: {
|
|
519
646
|
prototype: HTMLCheckboxInputElement;
|
|
520
647
|
new (): HTMLCheckboxInputElement;
|
|
521
648
|
};
|
|
649
|
+
interface HTMLDateInputElementEventMap {
|
|
650
|
+
"sendValidityState": InputStateEvent;
|
|
651
|
+
"sendInputValue": InputValueEvent;
|
|
652
|
+
}
|
|
522
653
|
interface HTMLDateInputElement extends Components.DateInput, HTMLStencilElement {
|
|
654
|
+
addEventListener<K extends keyof HTMLDateInputElementEventMap>(type: K, listener: (this: HTMLDateInputElement, ev: DateInputCustomEvent<HTMLDateInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
655
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
656
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
657
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
658
|
+
removeEventListener<K extends keyof HTMLDateInputElementEventMap>(type: K, listener: (this: HTMLDateInputElement, ev: DateInputCustomEvent<HTMLDateInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
659
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
660
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
661
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
523
662
|
}
|
|
524
663
|
var HTMLDateInputElement: {
|
|
525
664
|
prototype: HTMLDateInputElement;
|
|
526
665
|
new (): HTMLDateInputElement;
|
|
527
666
|
};
|
|
667
|
+
interface HTMLEmailInputElementEventMap {
|
|
668
|
+
"sendValidityState": InputStateEvent;
|
|
669
|
+
"sendInputValue": InputValueEvent;
|
|
670
|
+
}
|
|
528
671
|
interface HTMLEmailInputElement extends Components.EmailInput, HTMLStencilElement {
|
|
672
|
+
addEventListener<K extends keyof HTMLEmailInputElementEventMap>(type: K, listener: (this: HTMLEmailInputElement, ev: EmailInputCustomEvent<HTMLEmailInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
673
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
674
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
675
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
676
|
+
removeEventListener<K extends keyof HTMLEmailInputElementEventMap>(type: K, listener: (this: HTMLEmailInputElement, ev: EmailInputCustomEvent<HTMLEmailInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
677
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
678
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
679
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
529
680
|
}
|
|
530
681
|
var HTMLEmailInputElement: {
|
|
531
682
|
prototype: HTMLEmailInputElement;
|
|
@@ -537,42 +688,133 @@ declare global {
|
|
|
537
688
|
prototype: HTMLGeneralInputElement;
|
|
538
689
|
new (): HTMLGeneralInputElement;
|
|
539
690
|
};
|
|
691
|
+
interface HTMLNumberInputElementEventMap {
|
|
692
|
+
"sendValidityState": InputStateEvent;
|
|
693
|
+
"sendInputValue": InputValueEvent;
|
|
694
|
+
}
|
|
540
695
|
interface HTMLNumberInputElement extends Components.NumberInput, HTMLStencilElement {
|
|
696
|
+
addEventListener<K extends keyof HTMLNumberInputElementEventMap>(type: K, listener: (this: HTMLNumberInputElement, ev: NumberInputCustomEvent<HTMLNumberInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
697
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
698
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
699
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
700
|
+
removeEventListener<K extends keyof HTMLNumberInputElementEventMap>(type: K, listener: (this: HTMLNumberInputElement, ev: NumberInputCustomEvent<HTMLNumberInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
701
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
702
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
703
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
541
704
|
}
|
|
542
705
|
var HTMLNumberInputElement: {
|
|
543
706
|
prototype: HTMLNumberInputElement;
|
|
544
707
|
new (): HTMLNumberInputElement;
|
|
545
708
|
};
|
|
709
|
+
interface HTMLPasswordInputElementEventMap {
|
|
710
|
+
"sendOriginalValidityState": InputStateEvent;
|
|
711
|
+
"sendValidityState": InputStateEvent;
|
|
712
|
+
"sendInputValue": InputValueEvent;
|
|
713
|
+
}
|
|
546
714
|
interface HTMLPasswordInputElement extends Components.PasswordInput, HTMLStencilElement {
|
|
715
|
+
addEventListener<K extends keyof HTMLPasswordInputElementEventMap>(type: K, listener: (this: HTMLPasswordInputElement, ev: PasswordInputCustomEvent<HTMLPasswordInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
716
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
717
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
718
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
719
|
+
removeEventListener<K extends keyof HTMLPasswordInputElementEventMap>(type: K, listener: (this: HTMLPasswordInputElement, ev: PasswordInputCustomEvent<HTMLPasswordInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
720
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
721
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
722
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
547
723
|
}
|
|
548
724
|
var HTMLPasswordInputElement: {
|
|
549
725
|
prototype: HTMLPasswordInputElement;
|
|
550
726
|
new (): HTMLPasswordInputElement;
|
|
551
727
|
};
|
|
728
|
+
interface HTMLRadioInputElementEventMap {
|
|
729
|
+
"sendInputValue": InputValueEvent;
|
|
730
|
+
"sendValidityState": InputStateEvent;
|
|
731
|
+
}
|
|
552
732
|
interface HTMLRadioInputElement extends Components.RadioInput, HTMLStencilElement {
|
|
733
|
+
addEventListener<K extends keyof HTMLRadioInputElementEventMap>(type: K, listener: (this: HTMLRadioInputElement, ev: RadioInputCustomEvent<HTMLRadioInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
734
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
735
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
736
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
737
|
+
removeEventListener<K extends keyof HTMLRadioInputElementEventMap>(type: K, listener: (this: HTMLRadioInputElement, ev: RadioInputCustomEvent<HTMLRadioInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
738
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
739
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
740
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
553
741
|
}
|
|
554
742
|
var HTMLRadioInputElement: {
|
|
555
743
|
prototype: HTMLRadioInputElement;
|
|
556
744
|
new (): HTMLRadioInputElement;
|
|
557
745
|
};
|
|
746
|
+
interface HTMLSelectInputElementEventMap {
|
|
747
|
+
"sendValidityState": InputStateEvent;
|
|
748
|
+
"sendInputValue": InputValueEvent;
|
|
749
|
+
}
|
|
558
750
|
interface HTMLSelectInputElement extends Components.SelectInput, HTMLStencilElement {
|
|
751
|
+
addEventListener<K extends keyof HTMLSelectInputElementEventMap>(type: K, listener: (this: HTMLSelectInputElement, ev: SelectInputCustomEvent<HTMLSelectInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
752
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
753
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
754
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
755
|
+
removeEventListener<K extends keyof HTMLSelectInputElementEventMap>(type: K, listener: (this: HTMLSelectInputElement, ev: SelectInputCustomEvent<HTMLSelectInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
756
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
757
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
758
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
559
759
|
}
|
|
560
760
|
var HTMLSelectInputElement: {
|
|
561
761
|
prototype: HTMLSelectInputElement;
|
|
562
762
|
new (): HTMLSelectInputElement;
|
|
563
763
|
};
|
|
764
|
+
interface HTMLTelInputElementEventMap {
|
|
765
|
+
"sendValidityState": InputStateEvent;
|
|
766
|
+
"sendInputValue": InputValueEvent;
|
|
767
|
+
}
|
|
564
768
|
interface HTMLTelInputElement extends Components.TelInput, HTMLStencilElement {
|
|
769
|
+
addEventListener<K extends keyof HTMLTelInputElementEventMap>(type: K, listener: (this: HTMLTelInputElement, ev: TelInputCustomEvent<HTMLTelInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
770
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
771
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
772
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
773
|
+
removeEventListener<K extends keyof HTMLTelInputElementEventMap>(type: K, listener: (this: HTMLTelInputElement, ev: TelInputCustomEvent<HTMLTelInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
774
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
775
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
776
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
565
777
|
}
|
|
566
778
|
var HTMLTelInputElement: {
|
|
567
779
|
prototype: HTMLTelInputElement;
|
|
568
780
|
new (): HTMLTelInputElement;
|
|
569
781
|
};
|
|
782
|
+
interface HTMLTextInputElementEventMap {
|
|
783
|
+
"sendValidityState": InputStateEvent;
|
|
784
|
+
"sendInputValue": InputValueEvent;
|
|
785
|
+
}
|
|
570
786
|
interface HTMLTextInputElement extends Components.TextInput, HTMLStencilElement {
|
|
787
|
+
addEventListener<K extends keyof HTMLTextInputElementEventMap>(type: K, listener: (this: HTMLTextInputElement, ev: TextInputCustomEvent<HTMLTextInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
788
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
789
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
790
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
791
|
+
removeEventListener<K extends keyof HTMLTextInputElementEventMap>(type: K, listener: (this: HTMLTextInputElement, ev: TextInputCustomEvent<HTMLTextInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
792
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
793
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
794
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
571
795
|
}
|
|
572
796
|
var HTMLTextInputElement: {
|
|
573
797
|
prototype: HTMLTextInputElement;
|
|
574
798
|
new (): HTMLTextInputElement;
|
|
575
799
|
};
|
|
800
|
+
interface HTMLToggleCheckboxInputElementEventMap {
|
|
801
|
+
"sendValidityState": InputStateEvent;
|
|
802
|
+
"sendInputValue": InputValueEvent;
|
|
803
|
+
}
|
|
804
|
+
interface HTMLToggleCheckboxInputElement extends Components.ToggleCheckboxInput, HTMLStencilElement {
|
|
805
|
+
addEventListener<K extends keyof HTMLToggleCheckboxInputElementEventMap>(type: K, listener: (this: HTMLToggleCheckboxInputElement, ev: ToggleCheckboxInputCustomEvent<HTMLToggleCheckboxInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
806
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
807
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
808
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
809
|
+
removeEventListener<K extends keyof HTMLToggleCheckboxInputElementEventMap>(type: K, listener: (this: HTMLToggleCheckboxInputElement, ev: ToggleCheckboxInputCustomEvent<HTMLToggleCheckboxInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
810
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
811
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
812
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
813
|
+
}
|
|
814
|
+
var HTMLToggleCheckboxInputElement: {
|
|
815
|
+
prototype: HTMLToggleCheckboxInputElement;
|
|
816
|
+
new (): HTMLToggleCheckboxInputElement;
|
|
817
|
+
};
|
|
576
818
|
interface HTMLElementTagNameMap {
|
|
577
819
|
"checkbox-group-input": HTMLCheckboxGroupInputElement;
|
|
578
820
|
"checkbox-input": HTMLCheckboxInputElement;
|
|
@@ -585,6 +827,7 @@ declare global {
|
|
|
585
827
|
"select-input": HTMLSelectInputElement;
|
|
586
828
|
"tel-input": HTMLTelInputElement;
|
|
587
829
|
"text-input": HTMLTextInputElement;
|
|
830
|
+
"toggle-checkbox-input": HTMLToggleCheckboxInputElement;
|
|
588
831
|
}
|
|
589
832
|
}
|
|
590
833
|
declare namespace LocalJSX {
|
|
@@ -617,12 +860,12 @@ declare namespace LocalJSX {
|
|
|
617
860
|
* Name of the input.
|
|
618
861
|
*/
|
|
619
862
|
"name"?: string;
|
|
620
|
-
"onSendInputValue"?: (event:
|
|
621
|
-
"onSendValidityState"?: (event:
|
|
863
|
+
"onSendInputValue"?: (event: CheckboxGroupInputCustomEvent<InputValueEvent>) => void;
|
|
864
|
+
"onSendValidityState"?: (event: CheckboxGroupInputCustomEvent<InputStateEvent>) => void;
|
|
622
865
|
/**
|
|
623
866
|
* Options of the input.
|
|
624
867
|
*/
|
|
625
|
-
"options"?:
|
|
868
|
+
"options"?: RegCfgContentField[];
|
|
626
869
|
/**
|
|
627
870
|
* Tooltip text.
|
|
628
871
|
*/
|
|
@@ -661,8 +904,8 @@ declare namespace LocalJSX {
|
|
|
661
904
|
* Name of the input.
|
|
662
905
|
*/
|
|
663
906
|
"name"?: string;
|
|
664
|
-
"onSendInputValue"?: (event:
|
|
665
|
-
"onSendValidityState"?: (event:
|
|
907
|
+
"onSendInputValue"?: (event: CheckboxInputCustomEvent<InputValueEvent>) => void;
|
|
908
|
+
"onSendValidityState"?: (event: CheckboxInputCustomEvent<InputStateEvent>) => void;
|
|
666
909
|
/**
|
|
667
910
|
* Tooltip text.
|
|
668
911
|
*/
|
|
@@ -681,6 +924,10 @@ declare namespace LocalJSX {
|
|
|
681
924
|
* Client custom styling via inline style
|
|
682
925
|
*/
|
|
683
926
|
"clientStyling"?: string;
|
|
927
|
+
/**
|
|
928
|
+
* Date format for date picker.
|
|
929
|
+
*/
|
|
930
|
+
"dateFormat"?: string;
|
|
684
931
|
/**
|
|
685
932
|
* Default value for the input.
|
|
686
933
|
*/
|
|
@@ -701,8 +948,8 @@ declare namespace LocalJSX {
|
|
|
701
948
|
* Name of the input.
|
|
702
949
|
*/
|
|
703
950
|
"name"?: string;
|
|
704
|
-
"onSendInputValue"?: (event:
|
|
705
|
-
"onSendValidityState"?: (event:
|
|
951
|
+
"onSendInputValue"?: (event: DateInputCustomEvent<InputValueEvent>) => void;
|
|
952
|
+
"onSendValidityState"?: (event: DateInputCustomEvent<InputStateEvent>) => void;
|
|
706
953
|
/**
|
|
707
954
|
* Placeholder text to be shown.
|
|
708
955
|
*/
|
|
@@ -749,8 +996,8 @@ declare namespace LocalJSX {
|
|
|
749
996
|
* Name of the input.
|
|
750
997
|
*/
|
|
751
998
|
"name"?: string;
|
|
752
|
-
"onSendInputValue"?: (event:
|
|
753
|
-
"onSendValidityState"?: (event:
|
|
999
|
+
"onSendInputValue"?: (event: EmailInputCustomEvent<InputValueEvent>) => void;
|
|
1000
|
+
"onSendValidityState"?: (event: EmailInputCustomEvent<InputStateEvent>) => void;
|
|
754
1001
|
/**
|
|
755
1002
|
* Placeholder text to be shown.
|
|
756
1003
|
*/
|
|
@@ -777,6 +1024,10 @@ declare namespace LocalJSX {
|
|
|
777
1024
|
* Client custom styling via inline style
|
|
778
1025
|
*/
|
|
779
1026
|
"clientStyling"?: any;
|
|
1027
|
+
/**
|
|
1028
|
+
* Date format for date picker.
|
|
1029
|
+
*/
|
|
1030
|
+
"dateFormat"?: string;
|
|
780
1031
|
/**
|
|
781
1032
|
* Default value for the input.
|
|
782
1033
|
*/
|
|
@@ -785,6 +1036,10 @@ declare namespace LocalJSX {
|
|
|
785
1036
|
* Name of input to be shown to the user.
|
|
786
1037
|
*/
|
|
787
1038
|
"displayName"?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* Emit event on click
|
|
1041
|
+
*/
|
|
1042
|
+
"emitOnClick"?: boolean;
|
|
788
1043
|
/**
|
|
789
1044
|
* State passed down from the parent element. Will trigger the child specialised input to send it's value through an event.
|
|
790
1045
|
*/
|
|
@@ -813,6 +1068,10 @@ declare namespace LocalJSX {
|
|
|
813
1068
|
* Tooltip text.
|
|
814
1069
|
*/
|
|
815
1070
|
"tooltip"?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* Translations via URL
|
|
1073
|
+
*/
|
|
1074
|
+
"translationUrl"?: string;
|
|
816
1075
|
/**
|
|
817
1076
|
* Type the general-input should take. Can take the default HTML input values.
|
|
818
1077
|
*/
|
|
@@ -851,8 +1110,8 @@ declare namespace LocalJSX {
|
|
|
851
1110
|
* Name of the input.
|
|
852
1111
|
*/
|
|
853
1112
|
"name"?: string;
|
|
854
|
-
"onSendInputValue"?: (event:
|
|
855
|
-
"onSendValidityState"?: (event:
|
|
1113
|
+
"onSendInputValue"?: (event: NumberInputCustomEvent<InputValueEvent>) => void;
|
|
1114
|
+
"onSendValidityState"?: (event: NumberInputCustomEvent<InputStateEvent>) => void;
|
|
856
1115
|
/**
|
|
857
1116
|
* Placeholder text to be shown.
|
|
858
1117
|
*/
|
|
@@ -899,8 +1158,9 @@ declare namespace LocalJSX {
|
|
|
899
1158
|
* Name of the input.
|
|
900
1159
|
*/
|
|
901
1160
|
"name"?: string;
|
|
902
|
-
"onSendInputValue"?: (event:
|
|
903
|
-
"
|
|
1161
|
+
"onSendInputValue"?: (event: PasswordInputCustomEvent<InputValueEvent>) => void;
|
|
1162
|
+
"onSendOriginalValidityState"?: (event: PasswordInputCustomEvent<InputStateEvent>) => void;
|
|
1163
|
+
"onSendValidityState"?: (event: PasswordInputCustomEvent<InputStateEvent>) => void;
|
|
904
1164
|
/**
|
|
905
1165
|
* Placeholder text to be shown.
|
|
906
1166
|
*/
|
|
@@ -935,8 +1195,8 @@ declare namespace LocalJSX {
|
|
|
935
1195
|
* Name of the input.
|
|
936
1196
|
*/
|
|
937
1197
|
"name"?: string;
|
|
938
|
-
"onSendInputValue"?: (event:
|
|
939
|
-
"onSendValidityState"?: (event:
|
|
1198
|
+
"onSendInputValue"?: (event: RadioInputCustomEvent<InputValueEvent>) => void;
|
|
1199
|
+
"onSendValidityState"?: (event: RadioInputCustomEvent<InputStateEvent>) => void;
|
|
940
1200
|
/**
|
|
941
1201
|
* Options of the input.
|
|
942
1202
|
*/
|
|
@@ -983,8 +1243,8 @@ declare namespace LocalJSX {
|
|
|
983
1243
|
* Name of the input.
|
|
984
1244
|
*/
|
|
985
1245
|
"name"?: string;
|
|
986
|
-
"onSendInputValue"?: (event:
|
|
987
|
-
"onSendValidityState"?: (event:
|
|
1246
|
+
"onSendInputValue"?: (event: SelectInputCustomEvent<InputValueEvent>) => void;
|
|
1247
|
+
"onSendValidityState"?: (event: SelectInputCustomEvent<InputStateEvent>) => void;
|
|
988
1248
|
/**
|
|
989
1249
|
* Options of the input.
|
|
990
1250
|
*/
|
|
@@ -1018,7 +1278,7 @@ declare namespace LocalJSX {
|
|
|
1018
1278
|
/**
|
|
1019
1279
|
* Default value for the input.
|
|
1020
1280
|
*/
|
|
1021
|
-
"defaultValue"?: string;
|
|
1281
|
+
"defaultValue"?: string | any;
|
|
1022
1282
|
/**
|
|
1023
1283
|
* Name of input to be shown to the user.
|
|
1024
1284
|
*/
|
|
@@ -1035,8 +1295,8 @@ declare namespace LocalJSX {
|
|
|
1035
1295
|
* Name of the input.
|
|
1036
1296
|
*/
|
|
1037
1297
|
"name"?: string;
|
|
1038
|
-
"onSendInputValue"?: (event:
|
|
1039
|
-
"onSendValidityState"?: (event:
|
|
1298
|
+
"onSendInputValue"?: (event: TelInputCustomEvent<InputValueEvent>) => void;
|
|
1299
|
+
"onSendValidityState"?: (event: TelInputCustomEvent<InputStateEvent>) => void;
|
|
1040
1300
|
/**
|
|
1041
1301
|
* Placeholder text to be shown.
|
|
1042
1302
|
*/
|
|
@@ -1091,8 +1351,8 @@ declare namespace LocalJSX {
|
|
|
1091
1351
|
* Name of the input.
|
|
1092
1352
|
*/
|
|
1093
1353
|
"name"?: string;
|
|
1094
|
-
"onSendInputValue"?: (event:
|
|
1095
|
-
"onSendValidityState"?: (event:
|
|
1354
|
+
"onSendInputValue"?: (event: TextInputCustomEvent<InputValueEvent>) => void;
|
|
1355
|
+
"onSendValidityState"?: (event: TextInputCustomEvent<InputStateEvent>) => void;
|
|
1096
1356
|
/**
|
|
1097
1357
|
* Placeholder text to be shown.
|
|
1098
1358
|
*/
|
|
@@ -1106,6 +1366,50 @@ declare namespace LocalJSX {
|
|
|
1106
1366
|
*/
|
|
1107
1367
|
"validation"?: ValidationSchema;
|
|
1108
1368
|
}
|
|
1369
|
+
interface ToggleCheckboxInput {
|
|
1370
|
+
/**
|
|
1371
|
+
* Boolean. Determines if input should be readonly.
|
|
1372
|
+
*/
|
|
1373
|
+
"autofilled"?: boolean;
|
|
1374
|
+
/**
|
|
1375
|
+
* Client custom styling via inline style
|
|
1376
|
+
*/
|
|
1377
|
+
"clientStyling"?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Default value for the input.
|
|
1380
|
+
*/
|
|
1381
|
+
"defaultValue"?: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* Name of input to be shown to the user.
|
|
1384
|
+
*/
|
|
1385
|
+
"displayName"?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* State passed down from the parent element. Will trigger the input to send it's value through an event.
|
|
1388
|
+
*/
|
|
1389
|
+
"emitValue"?: boolean;
|
|
1390
|
+
/**
|
|
1391
|
+
* Currently selected language.
|
|
1392
|
+
*/
|
|
1393
|
+
"language"?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* Name of the input.
|
|
1396
|
+
*/
|
|
1397
|
+
"name"?: string;
|
|
1398
|
+
"onSendInputValue"?: (event: ToggleCheckboxInputCustomEvent<InputValueEvent>) => void;
|
|
1399
|
+
"onSendValidityState"?: (event: ToggleCheckboxInputCustomEvent<InputStateEvent>) => void;
|
|
1400
|
+
/**
|
|
1401
|
+
* Options of the input.
|
|
1402
|
+
*/
|
|
1403
|
+
"options"?: RegCfgContentField[];
|
|
1404
|
+
/**
|
|
1405
|
+
* Tooltip text.
|
|
1406
|
+
*/
|
|
1407
|
+
"tooltip"?: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* Object of validation rules for the input.
|
|
1410
|
+
*/
|
|
1411
|
+
"validation"?: ValidationSchema;
|
|
1412
|
+
}
|
|
1109
1413
|
interface IntrinsicElements {
|
|
1110
1414
|
"checkbox-group-input": CheckboxGroupInput;
|
|
1111
1415
|
"checkbox-input": CheckboxInput;
|
|
@@ -1118,6 +1422,7 @@ declare namespace LocalJSX {
|
|
|
1118
1422
|
"select-input": SelectInput;
|
|
1119
1423
|
"tel-input": TelInput;
|
|
1120
1424
|
"text-input": TextInput;
|
|
1425
|
+
"toggle-checkbox-input": ToggleCheckboxInput;
|
|
1121
1426
|
}
|
|
1122
1427
|
}
|
|
1123
1428
|
export { LocalJSX as JSX };
|
|
@@ -1135,6 +1440,7 @@ declare module "@stencil/core" {
|
|
|
1135
1440
|
"select-input": LocalJSX.SelectInput & JSXBase.HTMLAttributes<HTMLSelectInputElement>;
|
|
1136
1441
|
"tel-input": LocalJSX.TelInput & JSXBase.HTMLAttributes<HTMLTelInputElement>;
|
|
1137
1442
|
"text-input": LocalJSX.TextInput & JSXBase.HTMLAttributes<HTMLTextInputElement>;
|
|
1443
|
+
"toggle-checkbox-input": LocalJSX.ToggleCheckboxInput & JSXBase.HTMLAttributes<HTMLToggleCheckboxInputElement>;
|
|
1138
1444
|
}
|
|
1139
1445
|
}
|
|
1140
1446
|
}
|