@everymatrix/general-input 1.24.7 → 1.26.0

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 (29) hide show
  1. package/dist/cjs/checkbox-group-input_10.cjs.entry.js +12153 -11623
  2. package/dist/cjs/general-input.cjs.entry.js +1 -1
  3. package/dist/cjs/{locale.utils-7665b010.js → locale.utils-c89b71df.js} +20 -1
  4. package/dist/cjs/toggle-checkbox-input.cjs.entry.js +1 -1
  5. package/dist/collection/utils/locale.utils.js +20 -1
  6. package/dist/components/active-mixin.js +6 -6
  7. package/dist/components/checkbox-group-input2.js +260 -307
  8. package/dist/components/date-input2.js +3461 -2218
  9. package/dist/components/field-mixin.js +2188 -2474
  10. package/dist/components/input-field-shared-styles.js +308 -211
  11. package/dist/components/password-input2.js +119 -72
  12. package/dist/components/tooltipIcon.js +20 -1
  13. package/dist/components/vaadin-button.js +102 -73
  14. package/dist/components/vaadin-combo-box.js +988 -805
  15. package/dist/components/virtual-keyboard-controller.js +1114 -1771
  16. package/dist/esm/checkbox-group-input_10.entry.js +12153 -11623
  17. package/dist/esm/general-input.entry.js +1 -1
  18. package/dist/esm/{locale.utils-95ea2605.js → locale.utils-add66cb9.js} +20 -1
  19. package/dist/esm/toggle-checkbox-input.entry.js +1 -1
  20. package/dist/general-input/general-input.esm.js +1 -1
  21. package/dist/general-input/{p-f6132f1d.js → p-62964bc6.js} +1 -1
  22. package/dist/general-input/{p-451a192f.entry.js → p-d601d76d.entry.js} +1 -1
  23. package/dist/general-input/{p-9dc0b14f.entry.js → p-df6a6dfc.entry.js} +1 -1
  24. package/dist/general-input/p-e322bf39.entry.js +3646 -0
  25. package/dist/types/utils/locale.utils.d.ts +1 -0
  26. package/package.json +1 -1
  27. package/dist/components/pattern-mixin.js +0 -85
  28. package/dist/general-input/p-a1b02a18.entry.js +0 -3581
  29. /package/dist/types/Users/{sebastian.strulea/Documents/work → adrian.pripon/Documents/Work}/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-132a0774.js');
6
- const locale_utils = require('./locale.utils-7665b010.js');
6
+ const locale_utils = require('./locale.utils-c89b71df.js');
7
7
 
8
8
  const generalInputCss = ":host{display:block;height:100%}";
9
9
 
@@ -38,7 +38,26 @@ const TRANSLATIONS = {
38
38
  "MustContainCapital": "nagybetűket kell tartalmaznia",
39
39
  "MustIncludePunctation": "írásjelet",
40
40
  "OnlyNumbers": "Csak számokat kell tartalmaznia."
41
- }
41
+ },
42
+ "hr": {
43
+ "dateError": 'Odabrani datum treba biti između {min} i {max}',
44
+ "dateError2": 'Odabrani datum nije unutar prihvaćenog raspona',
45
+ "numberLengthError": 'Broj bi trebao biti između {min} i {max}',
46
+ "lengthError": `Duljina bi trebala biti između {minLength} i {maxLength}`,
47
+ "requiredError": 'Ovaj unos je obavezan.',
48
+ "invalidOriginalPasswordError": "Polje početne lozinke ne potvrđuje sve kriterije",
49
+ "passwordStrength": "Jačina zaporke",
50
+ "passwordStrengthWeak": "nije adekvatno",
51
+ "passwordStrengthStrong": "je adekvatan",
52
+ "SpecialCharactersNotAllowed": 'Ne smije sadržavati posebne znakove',
53
+ "InvalidEmailFormat": "Nevažeći format e-maila",
54
+ "EmailNotMatching": "E-mailovi se ne podudaraju!",
55
+ "PasswordNotMatching": "Lozinke se ne podudaraju",
56
+ "MustIncludeNumber": "uključiti broj",
57
+ "MustContainCapital": "sadrže velika slova",
58
+ "MustIncludePunctation": "interpunkcija",
59
+ "OnlyNumbers": "Treba sadržavati samo brojeve."
60
+ },
42
61
  };
43
62
  const translate = (key, customLang, values) => {
44
63
  const lang = customLang;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-132a0774.js');
6
- const locale_utils = require('./locale.utils-7665b010.js');
6
+ const locale_utils = require('./locale.utils-c89b71df.js');
7
7
  const tooltipIcon = require('./tooltipIcon-092a795f.js');
8
8
 
9
9
  const toggleCheckboxInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:\"Roboto\";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}";
@@ -36,7 +36,26 @@ export const TRANSLATIONS = {
36
36
  "MustContainCapital": "nagybetűket kell tartalmaznia",
37
37
  "MustIncludePunctation": "írásjelet",
38
38
  "OnlyNumbers": "Csak számokat kell tartalmaznia."
39
- }
39
+ },
40
+ "hr": {
41
+ "dateError": 'Odabrani datum treba biti između {min} i {max}',
42
+ "dateError2": 'Odabrani datum nije unutar prihvaćenog raspona',
43
+ "numberLengthError": 'Broj bi trebao biti između {min} i {max}',
44
+ "lengthError": `Duljina bi trebala biti između {minLength} i {maxLength}`,
45
+ "requiredError": 'Ovaj unos je obavezan.',
46
+ "invalidOriginalPasswordError": "Polje početne lozinke ne potvrđuje sve kriterije",
47
+ "passwordStrength": "Jačina zaporke",
48
+ "passwordStrengthWeak": "nije adekvatno",
49
+ "passwordStrengthStrong": "je adekvatan",
50
+ "SpecialCharactersNotAllowed": 'Ne smije sadržavati posebne znakove',
51
+ "InvalidEmailFormat": "Nevažeći format e-maila",
52
+ "EmailNotMatching": "E-mailovi se ne podudaraju!",
53
+ "PasswordNotMatching": "Lozinke se ne podudaraju",
54
+ "MustIncludeNumber": "uključiti broj",
55
+ "MustContainCapital": "sadrže velika slova",
56
+ "MustIncludePunctation": "interpunkcija",
57
+ "OnlyNumbers": "Treba sadržavati samo brojeve."
58
+ },
40
59
  };
41
60
  export const translate = (key, customLang, values) => {
42
61
  const lang = customLang;
@@ -1,4 +1,4 @@
1
- import { n as microTask, a as DisabledMixin, K as KeyboardMixin } from './field-mixin.js';
1
+ import { m as microTask, a as DisabledMixin, K as KeyboardMixin } from './field-mixin.js';
2
2
 
3
3
  /**
4
4
  @license
@@ -77,7 +77,7 @@ function PASSIVE_TOUCH(eventName) {
77
77
  }
78
78
 
79
79
  // Check for touch-only devices
80
- const IS_TOUCH_ONLY = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);
80
+ const IS_TOUCH_ONLY = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u);
81
81
 
82
82
  // Defined at https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
83
83
  /** @type {!Object<boolean>} */
@@ -406,9 +406,9 @@ function _add(node, evType, handler) {
406
406
  */
407
407
  function register(recog) {
408
408
  recognizers.push(recog);
409
- for (let i = 0; i < recog.emits.length; i++) {
410
- gestures[recog.emits[i]] = recog;
411
- }
409
+ recog.emits.forEach((emit) => {
410
+ gestures[emit] = recog;
411
+ });
412
412
  }
413
413
 
414
414
  /**
@@ -870,7 +870,7 @@ function trackForward(info, e, preventer) {
870
870
 
871
871
  /**
872
872
  * @license
873
- * Copyright (c) 2021 - 2022 Vaadin Ltd.
873
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
874
874
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
875
875
  */
876
876