comand-component-library 4.2.91 → 4.2.92

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.
@@ -3124,11 +3124,9 @@ const Kt = {
3124
3124
  onBlur(e) {
3125
3125
  this.validateInput(e), this.closeTooltipOnBlur(), this.$emit("blur", e);
3126
3126
  },
3127
- /*
3128
- onInput(event) {
3129
- this.validateInput(event)
3130
- this.$emit('update:modelValue', event.target.value)
3131
- },*/
3127
+ onInput(e) {
3128
+ this.validateInput(e), this.$emit("update:modelValue", e.target.value);
3129
+ },
3132
3130
  onChange(e) {
3133
3131
  if (this.validateInput(e), typeof this.modelValue == "boolean")
3134
3132
  this.$emit("update:modelValue", e.target.checked);
@@ -3248,7 +3246,7 @@ function ks(e, t, n, s, i, l) {
3248
3246
  class: n.inputClass,
3249
3247
  onFocus: t[1] || (t[1] = (u) => e.tooltip = !0),
3250
3248
  onBlur: t[2] || (t[2] = (...u) => l.onBlur && l.onBlur(...u)),
3251
- onInput: t[3] || (t[3] = (...u) => e.onInput && e.onInput(...u)),
3249
+ onInput: t[3] || (t[3] = (...u) => l.onInput && l.onInput(...u)),
3252
3250
  onMouseover: t[4] || (t[4] = (...u) => l.datalistFocus && l.datalistFocus(...u)),
3253
3251
  onKeyup: t[5] || (t[5] = (...u) => e.checkForCapsLock && e.checkForCapsLock(...u)),
3254
3252
  onChange: t[6] || (t[6] = (u) => e.$emit("change", u)),
@@ -3300,8 +3298,8 @@ function ks(e, t, n, s, i, l) {
3300
3298
  n.onLabel && n.offLabel ? n.onLabel && n.offLabel ? (a(), r(w, { key: 1 }, [
3301
3299
  o("span", ls, [
3302
3300
  o("input", T(l.elementAttributes, {
3303
- onChange: t[15] || (t[15] = (...u) => l.onChange && l.onChange(...u)),
3304
- onBlur: t[16] || (t[16] = (...u) => l.onBlur && l.onBlur(...u)),
3301
+ onChange: t[14] || (t[14] = (...u) => l.onChange && l.onChange(...u)),
3302
+ onBlur: t[15] || (t[15] = (...u) => l.onBlur && l.onBlur(...u)),
3305
3303
  checked: l.isChecked,
3306
3304
  value: n.inputValue,
3307
3305
  class: [n.inputClass, e.validationStatus],
@@ -3323,7 +3321,6 @@ function ks(e, t, n, s, i, l) {
3323
3321
  o("input", T(l.elementAttributes, {
3324
3322
  onChange: t[12] || (t[12] = (...u) => l.onChange && l.onChange(...u)),
3325
3323
  onBlur: t[13] || (t[13] = (...u) => l.onBlur && l.onBlur(...u)),
3326
- onInput: t[14] || (t[14] = (...u) => e.onInput && e.onInput(...u)),
3327
3324
  checked: l.isChecked,
3328
3325
  value: n.inputValue,
3329
3326
  class: [n.inputClass, e.validationStatus, l.toggleSwitchIconClass, { "replace-input-type": n.replaceInputType }],
@@ -3348,8 +3345,8 @@ function ks(e, t, n, s, i, l) {
3348
3345
  ], 64)) : m("", !0),
3349
3346
  n.element === "select" ? (a(), r("select", T({ key: 2 }, l.elementAttributes, {
3350
3347
  id: e.htmlId,
3351
- onBlur: t[17] || (t[17] = (...u) => l.onBlur && l.onBlur(...u)),
3352
- onChange: t[18] || (t[18] = (...u) => l.onChange && l.onChange(...u))
3348
+ onBlur: t[16] || (t[16] = (...u) => l.onBlur && l.onBlur(...u)),
3349
+ onChange: t[17] || (t[17] = (...u) => l.onChange && l.onChange(...u))
3353
3350
  }), [
3354
3351
  n.groupSelectOptionsByInitialLetters ? (a(!0), r(w, { key: 1 }, P(l.initialLetters, (u, h) => (a(), r("optgroup", {
3355
3352
  label: h,
@@ -3370,9 +3367,9 @@ function ks(e, t, n, s, i, l) {
3370
3367
  id: e.htmlId,
3371
3368
  value: n.modelValue,
3372
3369
  maxlength: l.getMaxLength(),
3373
- onInput: t[19] || (t[19] = (...u) => e.onInput && e.onInput(...u)),
3374
- onFocus: t[20] || (t[20] = (u) => e.tooltip = !0),
3375
- onBlur: t[21] || (t[21] = (...u) => l.onBlur && l.onBlur(...u))
3370
+ onInput: t[18] || (t[18] = (...u) => l.onInput && l.onInput(...u)),
3371
+ onFocus: t[19] || (t[19] = (u) => e.tooltip = !0),
3372
+ onBlur: t[20] || (t[20] = (...u) => l.onBlur && l.onBlur(...u))
3376
3373
  }), null, 16, fs)) : m("", !0),
3377
3374
  n.element === "textarea" && n.showCharactersTextarea ? (a(), r("span", hs, [
3378
3375
  n.textCharactersLeft ? (a(), r("span", gs, g(n.textCharactersLeft), 1)) : m("", !0),
@@ -3387,7 +3384,7 @@ function ks(e, t, n, s, i, l) {
3387
3384
  }, null, 8, ["iconClass"])) : m("", !0),
3388
3385
  o("input", T(l.elementAttributes, {
3389
3386
  id: e.htmlId,
3390
- onInput: t[22] || (t[22] = (...u) => e.onInput && e.onInput(...u)),
3387
+ onInput: t[21] || (t[21] = (...u) => l.onInput && l.onInput(...u)),
3391
3388
  maxlength: l.getMaxLength(),
3392
3389
  value: n.modelValue
3393
3390
  }), null, 16, bs),
@@ -3396,7 +3393,7 @@ function ks(e, t, n, s, i, l) {
3396
3393
  href: "#",
3397
3394
  class: x(["button flex-none", { disabled: e.$attrs.disabled }]),
3398
3395
  title: n.iconSearch.tooltip,
3399
- onClick: t[23] || (t[23] = k((...u) => l.executeSearch && l.executeSearch(...u), ["prevent"]))
3396
+ onClick: t[22] || (t[22] = k((...u) => l.executeSearch && l.executeSearch(...u), ["prevent"]))
3400
3397
  }, [
3401
3398
  f(d, {
3402
3399
  iconClass: n.iconSearch.iconClass
@@ -3406,7 +3403,7 @@ function ks(e, t, n, s, i, l) {
3406
3403
  key: 2,
3407
3404
  class: "deleteicon",
3408
3405
  href: "#",
3409
- onClick: t[24] || (t[24] = k((...u) => l.deleteInput && l.deleteInput(...u), ["prevent"])),
3406
+ onClick: t[23] || (t[23] = k((...u) => l.deleteInput && l.deleteInput(...u), ["prevent"])),
3410
3407
  title: n.iconDelete?.tooltip
3411
3408
  }, [
3412
3409
  f(d, {
@@ -3419,7 +3416,7 @@ function ks(e, t, n, s, i, l) {
3419
3416
  key: 1,
3420
3417
  class: "button"
3421
3418
  }, l.buttonAttrs, {
3422
- onClick: t[25] || (t[25] = (...u) => l.submit && l.submit(...u))
3419
+ onClick: t[24] || (t[24] = (...u) => l.submit && l.submit(...u))
3423
3420
  }), [
3424
3421
  n.nativeButton?.icon?.show && (n.nativeButton?.icon?.position === "before" || !n.nativeButton?.icon?.position) ? (a(), C(d, {
3425
3422
  key: 0,
@@ -20895,7 +20892,7 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
20895
20892
  text: "Zimbabwe",
20896
20893
  value: "zw"
20897
20894
  }
20898
- ], QC = "comand-component-library", XC = "4.2.91", $C = "GPL-3.0-only", e1 = "CoManD-UI", t1 = "module", n1 = { prepublishOnly: "npm run build-lib", dev: "vite", build: "vite build", "build-lib": "vite build && gulp", preview: "vite preview" }, i1 = ["dist", "src"], l1 = { ".": "./dist/comand-component-library.js", "./css.js": "./src/css.js", "./comand-component-library.css": "./dist/comand-component-library.css", "./variables.scss": "./src/assets/styles/variables.scss", "./export-example-data.js": "./src/assets/data/export-example-data.js", "./countries.json": "./src/assets/lists-of-data/countries.json", "./currencies.json": "./src/assets/lists-of-data/currencies.json", "./dial-codes.json": "./src/assets/lists-of-data/dial-codes.json", "./us-cities.json": "./src/assets/lists-of-data/us-cities.json" }, o1 = { "clickout-event": "^1.1.2", "comand-frontend-framework": "^4.3.25", "comand-ui-iconfonts": "^1.0.19", "core-js": "^3.20.1", prismjs: "^1.27.0", vue: "^3.5.25", "vue-router": "^4.0.12", vuex: "^4.0.2" }, a1 = { "@iconify/vue": "^4.0.0", "@vitejs/plugin-vue": "^6.0.2", "@vue/test-utils": "^2.0.0-0", axios: "^1.7.2", gulp: "^4.0.2", sass: "^1.54.9", "unplugin-vue-components": "^0.24.0", vite: "^7.2.4", "vue-jest": "^5.0.0-0" }, s1 = {
20895
+ ], QC = "comand-component-library", XC = "4.2.92", $C = "GPL-3.0-only", e1 = "CoManD-UI", t1 = "module", n1 = { prepublishOnly: "npm run build-lib", dev: "vite", build: "vite build", "build-lib": "vite build && gulp", preview: "vite preview" }, i1 = ["dist", "src"], l1 = { ".": "./dist/comand-component-library.js", "./css.js": "./src/css.js", "./comand-component-library.css": "./dist/comand-component-library.css", "./variables.scss": "./src/assets/styles/variables.scss", "./export-example-data.js": "./src/assets/data/export-example-data.js", "./countries.json": "./src/assets/lists-of-data/countries.json", "./currencies.json": "./src/assets/lists-of-data/currencies.json", "./dial-codes.json": "./src/assets/lists-of-data/dial-codes.json", "./us-cities.json": "./src/assets/lists-of-data/us-cities.json" }, o1 = { "clickout-event": "^1.1.2", "comand-frontend-framework": "^4.3.25", "comand-ui-iconfonts": "^1.0.19", "core-js": "^3.20.1", prismjs: "^1.27.0", vue: "^3.5.25", "vue-router": "^4.0.12", vuex: "^4.0.2" }, a1 = { "@iconify/vue": "^4.0.0", "@vitejs/plugin-vue": "^6.0.2", "@vue/test-utils": "^2.0.0-0", axios: "^1.7.2", gulp: "^4.0.2", sass: "^1.54.9", "unplugin-vue-components": "^0.24.0", vite: "^7.2.4", "vue-jest": "^5.0.0-0" }, s1 = {
20899
20896
  name: QC,
20900
20897
  version: XC,
20901
20898
  license: $C,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.2.91",
3
+ "version": "4.2.92",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "CoManD-UI",
6
6
  "private": false,
@@ -132,7 +132,6 @@
132
132
  v-bind="elementAttributes"
133
133
  @change="onChange"
134
134
  @blur="onBlur"
135
- @input="onInput"
136
135
  :checked="isChecked"
137
136
  :value="inputValue"
138
137
  :class="[inputClass, validationStatus, toggleSwitchIconClass, { 'replace-input-type': replaceInputType}]"
@@ -880,12 +879,11 @@ export default {
880
879
  this.validateInput(event)
881
880
  this.closeTooltipOnBlur()
882
881
  this.$emit('blur', event)
883
- },
884
- /*
882
+ },
885
883
  onInput(event) {
886
884
  this.validateInput(event)
887
885
  this.$emit('update:modelValue', event.target.value)
888
- },*/
886
+ },
889
887
  onChange(event) {
890
888
  this.validateInput(event)
891
889