@everymatrix/general-registration 1.10.5 → 1.10.11

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.
Files changed (34) hide show
  1. package/dist/cjs/checkbox-input_11.cjs.entry.js +1126 -526
  2. package/dist/cjs/general-registration.cjs.js +2 -2
  3. package/dist/cjs/{index-ad0df8ea.js → index-68f93e1e.js} +9 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/collection/components/general-registration/general-registration.css +40 -14
  6. package/dist/collection/components/general-registration/general-registration.js +144 -275
  7. package/dist/components/checkbox-input2.js +2 -2
  8. package/dist/components/date-input2.js +15 -1441
  9. package/dist/components/email-input2.js +18 -6
  10. package/dist/components/general-input2.js +6 -6
  11. package/dist/components/general-registration.js +102 -248
  12. package/dist/components/input-field-shared-styles.js +13776 -0
  13. package/dist/components/number-input2.js +1 -1
  14. package/dist/components/password-input2.js +738 -6
  15. package/dist/components/pattern-mixin.js +84 -0
  16. package/dist/components/radio-input2.js +1 -1
  17. package/dist/components/select-input2.js +4 -4
  18. package/dist/components/tel-input2.js +12 -8
  19. package/dist/components/text-input2.js +17 -13
  20. package/dist/components/vaadin-button.js +1432 -0
  21. package/dist/components/vaadin-combo-box.js +3 -82
  22. package/dist/components/virtual-keyboard-controller.js +2136 -15909
  23. package/dist/esm/checkbox-input_11.entry.js +1126 -526
  24. package/dist/esm/general-registration.js +2 -2
  25. package/dist/esm/{index-bb9c8eb3.js → index-16916adb.js} +9 -1
  26. package/dist/esm/loader.js +2 -2
  27. package/dist/general-registration/general-registration.esm.js +1 -1
  28. package/dist/general-registration/p-8f644809.js +1 -0
  29. package/dist/general-registration/{p-8a77bab6.entry.js → p-b5f7ebdd.entry.js} +210 -100
  30. package/dist/types/Users/adrian.pripon/Documents/Work/stencil/widgets-stencil/packages/general-registration/.stencil/packages/general-input/src/utils/types.d.ts +4 -2
  31. package/dist/types/components/general-registration/general-registration.d.ts +20 -284
  32. package/dist/types/components.d.ts +11 -17
  33. package/package.json +3 -2
  34. package/dist/general-registration/p-4800d8b4.js +0 -1
@@ -1,4 +1,6 @@
1
- import { i, r as registerStyles, N as overlay, Q as menuOverlayCore, d as inputFieldShared, b as ThemableMixin, A as DirMixin, P as PolymerElement, h as html, g as PositionMixin, O as Overlay, a as microTask, R as idlePeriod, S as animationFrame, U as flush, x as Debouncer, W as enqueueDebouncer, y as timeOut, X as isSafari, Y as generateUniqueId, I as InputConstraintsMixin, C as ControllerMixin, K as KeyboardMixin, Z as InputMixin, D as DisabledMixin, V as VirtualKeyboardController, _ as isElementFocused, $ as isTouch, H as InputControlMixin, J as InputController, L as LabelledInputController, c as TooltipController, M as inputFieldShared$1, E as ElementMixin } from './virtual-keyboard-controller.js';
1
+ import { i, r as registerStyles, a as inputFieldShared, T as ThemableMixin, f as DirMixin, P as PolymerElement, h as html, G as microTask, M as idlePeriod, N as animationFrame, O as flush, D as Debouncer, Q as enqueueDebouncer, e as timeOut, R as generateUniqueId, C as ControllerMixin, K as KeyboardMixin, U as InputMixin, H as DisabledMixin, z as isElementFocused, j as InputControlMixin, k as InputController, L as LabelledInputController, n as TooltipController, o as inputFieldShared$1, p as ElementMixin } from './input-field-shared-styles.js';
2
+ import { o as overlay, e as menuOverlayCore, P as PositionMixin, O as Overlay, f as isSafari, V as VirtualKeyboardController, g as isTouch } from './virtual-keyboard-controller.js';
3
+ import { P as PatternMixin } from './pattern-mixin.js';
2
4
 
3
5
  /**
4
6
  * @license
@@ -2356,87 +2358,6 @@ class ComboBoxScroller extends PolymerElement {
2356
2358
 
2357
2359
  customElements.define(ComboBoxScroller.is, ComboBoxScroller);
2358
2360
 
2359
- /**
2360
- * @license
2361
- * Copyright (c) 2021 - 2022 Vaadin Ltd.
2362
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2363
- */
2364
-
2365
- /**
2366
- * A mixin to provide `pattern` and `preventInvalidInput` properties.
2367
- *
2368
- * @polymerMixin
2369
- * @mixes InputConstraintsMixin
2370
- */
2371
- const PatternMixin = (superclass) =>
2372
- class PatternMixinClass extends InputConstraintsMixin(superclass) {
2373
- static get properties() {
2374
- return {
2375
- /**
2376
- * A regular expression that the value is checked against.
2377
- * The pattern must match the entire value, not just some subset.
2378
- */
2379
- pattern: {
2380
- type: String,
2381
- },
2382
-
2383
- /**
2384
- * When set to true, user is prevented from typing a value that
2385
- * conflicts with the given `pattern`.
2386
- * @attr {boolean} prevent-invalid-input
2387
- * @deprecated Please use `allowedCharPattern` instead.
2388
- */
2389
- preventInvalidInput: {
2390
- type: Boolean,
2391
- observer: '_preventInvalidInputChanged',
2392
- },
2393
- };
2394
- }
2395
-
2396
- static get delegateAttrs() {
2397
- return [...super.delegateAttrs, 'pattern'];
2398
- }
2399
-
2400
- static get constraints() {
2401
- return [...super.constraints, 'pattern'];
2402
- }
2403
-
2404
- /** @private */
2405
- _checkInputValue() {
2406
- if (this.preventInvalidInput) {
2407
- const input = this.inputElement;
2408
- if (input && input.value.length > 0 && !this.checkValidity()) {
2409
- input.value = this.value || '';
2410
- // Add input-prevented attribute for 200ms
2411
- this.setAttribute('input-prevented', '');
2412
- this._inputDebouncer = Debouncer.debounce(this._inputDebouncer, timeOut.after(200), () => {
2413
- this.removeAttribute('input-prevented');
2414
- });
2415
- }
2416
- }
2417
- }
2418
-
2419
- /**
2420
- * @param {Event} event
2421
- * @protected
2422
- * @override
2423
- */
2424
- _onInput(event) {
2425
- this._checkInputValue();
2426
-
2427
- super._onInput(event);
2428
- }
2429
-
2430
- /** @private */
2431
- _preventInvalidInputChanged(preventInvalidInput) {
2432
- if (preventInvalidInput) {
2433
- console.warn(
2434
- `WARNING: Since Vaadin 23.2, "preventInvalidInput" is deprecated. Please use "allowedCharPattern" instead.`,
2435
- );
2436
- }
2437
- }
2438
- };
2439
-
2440
2361
  /**
2441
2362
  * @license
2442
2363
  * Copyright (c) 2015 - 2022 Vaadin Ltd.