@everymatrix/general-input 1.86.5 → 1.86.7

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.
@@ -201,6 +201,10 @@ export namespace Components {
201
201
  * Client custom styling via inline style
202
202
  */
203
203
  "clientStyling": any;
204
+ /**
205
+ * Client custom styling via url
206
+ */
207
+ "clientStylingUrl": string;
204
208
  /**
205
209
  * Date format for date picker.
206
210
  */
@@ -241,6 +245,10 @@ export namespace Components {
241
245
  * Currently selected language.
242
246
  */
243
247
  "language": string;
248
+ /**
249
+ * Client custom styling via message bus
250
+ */
251
+ "mbSource": string;
244
252
  /**
245
253
  * Name of the input.
246
254
  */
@@ -671,6 +679,10 @@ export namespace Components {
671
679
  * Client custom styling via inline style
672
680
  */
673
681
  "clientStyling": string;
682
+ /**
683
+ * Client custom styling via url
684
+ */
685
+ "clientStylingUrl": string;
674
686
  /**
675
687
  * destination where the code is sent, only for display purposes here
676
688
  */
@@ -687,6 +699,10 @@ export namespace Components {
687
699
  * Currently selected language.
688
700
  */
689
701
  "language": string;
702
+ /**
703
+ * Client custom styling via message bus
704
+ */
705
+ "mbSource": string;
690
706
  /**
691
707
  * Name of the input.
692
708
  */
@@ -725,6 +741,10 @@ export interface EmailInputCustomEvent<T> extends CustomEvent<T> {
725
741
  detail: T;
726
742
  target: HTMLEmailInputElement;
727
743
  }
744
+ export interface GeneralInputCustomEvent<T> extends CustomEvent<T> {
745
+ detail: T;
746
+ target: HTMLGeneralInputElement;
747
+ }
728
748
  export interface NumberInputCustomEvent<T> extends CustomEvent<T> {
729
749
  detail: T;
730
750
  target: HTMLNumberInputElement;
@@ -834,7 +854,18 @@ declare global {
834
854
  prototype: HTMLEmailInputElement;
835
855
  new (): HTMLEmailInputElement;
836
856
  };
857
+ interface HTMLGeneralInputElementEventMap {
858
+ "registrationWidgetLoaded": any;
859
+ }
837
860
  interface HTMLGeneralInputElement extends Components.GeneralInput, HTMLStencilElement {
861
+ addEventListener<K extends keyof HTMLGeneralInputElementEventMap>(type: K, listener: (this: HTMLGeneralInputElement, ev: GeneralInputCustomEvent<HTMLGeneralInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
862
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
863
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
864
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
865
+ removeEventListener<K extends keyof HTMLGeneralInputElementEventMap>(type: K, listener: (this: HTMLGeneralInputElement, ev: GeneralInputCustomEvent<HTMLGeneralInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
866
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
867
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
868
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
838
869
  }
839
870
  var HTMLGeneralInputElement: {
840
871
  prototype: HTMLGeneralInputElement;
@@ -987,6 +1018,7 @@ declare global {
987
1018
  new (): HTMLToggleCheckboxInputElement;
988
1019
  };
989
1020
  interface HTMLTwofaInputElementEventMap {
1021
+ "registrationWidgetLoaded": any;
990
1022
  "sendValidityState": InputStateEvent;
991
1023
  "sendInputValue": InputValueEvent;
992
1024
  "resendCode": void;
@@ -1224,6 +1256,10 @@ declare namespace LocalJSX {
1224
1256
  * Client custom styling via inline style
1225
1257
  */
1226
1258
  "clientStyling"?: any;
1259
+ /**
1260
+ * Client custom styling via url
1261
+ */
1262
+ "clientStylingUrl"?: string;
1227
1263
  /**
1228
1264
  * Date format for date picker.
1229
1265
  */
@@ -1264,6 +1300,10 @@ declare namespace LocalJSX {
1264
1300
  * Currently selected language.
1265
1301
  */
1266
1302
  "language"?: string;
1303
+ /**
1304
+ * Client custom styling via message bus
1305
+ */
1306
+ "mbSource"?: string;
1267
1307
  /**
1268
1308
  * Name of the input.
1269
1309
  */
@@ -1272,6 +1312,7 @@ declare namespace LocalJSX {
1272
1312
  * Bypass all validation
1273
1313
  */
1274
1314
  "noValidation"?: boolean;
1315
+ "onRegistrationWidgetLoaded"?: (event: GeneralInputCustomEvent<any>) => void;
1275
1316
  /**
1276
1317
  * For input elements that have multiple options or choises.
1277
1318
  */
@@ -1712,6 +1753,10 @@ declare namespace LocalJSX {
1712
1753
  * Client custom styling via inline style
1713
1754
  */
1714
1755
  "clientStyling"?: string;
1756
+ /**
1757
+ * Client custom styling via url
1758
+ */
1759
+ "clientStylingUrl"?: string;
1715
1760
  /**
1716
1761
  * destination where the code is sent, only for display purposes here
1717
1762
  */
@@ -1728,10 +1773,15 @@ declare namespace LocalJSX {
1728
1773
  * Currently selected language.
1729
1774
  */
1730
1775
  "language"?: string;
1776
+ /**
1777
+ * Client custom styling via message bus
1778
+ */
1779
+ "mbSource"?: string;
1731
1780
  /**
1732
1781
  * Name of the input.
1733
1782
  */
1734
1783
  "name"?: string;
1784
+ "onRegistrationWidgetLoaded"?: (event: TwofaInputCustomEvent<any>) => void;
1735
1785
  "onResendCode"?: (event: TwofaInputCustomEvent<void>) => void;
1736
1786
  "onSendInputValue"?: (event: TwofaInputCustomEvent<InputValueEvent>) => void;
1737
1787
  "onSendValidityState"?: (event: TwofaInputCustomEvent<InputStateEvent>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-input",
3
- "version": "1.86.5",
3
+ "version": "1.86.7",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",