@airpower/web 1.9.8 → 1.9.10

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 (2) hide show
  1. package/dist/main.js +11 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -13488,6 +13488,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13488
13488
  emits("focus");
13489
13489
  }
13490
13490
  function emitClear() {
13491
+ emitValue();
13491
13492
  emits("clear");
13492
13493
  }
13493
13494
  const isClearButtonShow = ref(props.showClear);
@@ -13593,7 +13594,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13593
13594
  }
13594
13595
  }
13595
13596
  emits("update:modelValue", value.value);
13596
- emitChange();
13597
13597
  }
13598
13598
  function onKeyDown(event) {
13599
13599
  switch (event.code) {
@@ -13611,6 +13611,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13611
13611
  }
13612
13612
  }
13613
13613
  function emitChange() {
13614
+ emitValue();
13614
13615
  emits("change", value.value);
13615
13616
  }
13616
13617
  watch(value, () => {
@@ -13667,6 +13668,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13667
13668
  type: formConfig.value.dateType,
13668
13669
  "value-format": formConfig.value.dateFormatter ? formConfig.value.dateFormatter.key : unref(DateTimeFormatter).TIMESTAMP.key,
13669
13670
  style: { "width": "100%" },
13671
+ onChange: emitChange,
13670
13672
  onClear: emitClear,
13671
13673
  onFocus: emitFocus,
13672
13674
  onKeydown: onKeyDown
@@ -13683,6 +13685,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13683
13685
  "suffix-icon": formConfig.value?.suffixIcon,
13684
13686
  "value-format": formConfig.value.dateFormatter ? formConfig.value.dateFormatter.key : unref(DateTimeFormatter).TIMESTAMP.key,
13685
13687
  style: { "width": "100%" },
13688
+ onChange: emitChange,
13686
13689
  onClear: emitClear,
13687
13690
  onFocus: emitFocus,
13688
13691
  onKeydown: onKeyDown
@@ -13698,12 +13701,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13698
13701
  style: normalizeStyle({
13699
13702
  "--el-switch-on-color": getSwitchColor(true),
13700
13703
  "--el-switch-off-color": getSwitchColor(false)
13701
- })
13704
+ }),
13705
+ onChange: emitChange
13702
13706
  }, null, 8, ["modelValue", "active-text", "inactive-text", "readonly", "style"])) : formConfig.value?.radioButton ? (openBlock(), createBlock(_component_el_radio_group, {
13703
13707
  key: 1,
13704
13708
  modelValue: value.value,
13705
13709
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => value.value = $event),
13706
- readonly: __props.readonly
13710
+ readonly: __props.readonly,
13711
+ onChange: emitChange
13707
13712
  }, {
13708
13713
  default: withCtx(() => [
13709
13714
  (openBlock(true), createElementBlock(Fragment, null, renderList(dictionary.value, (item) => {
@@ -13723,7 +13728,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13723
13728
  key: 2,
13724
13729
  modelValue: value.value,
13725
13730
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => value.value = $event),
13726
- readonly: __props.readonly
13731
+ readonly: __props.readonly,
13732
+ onChange: emitChange
13727
13733
  }, {
13728
13734
  default: withCtx(() => [
13729
13735
  (openBlock(true), createElementBlock(Fragment, null, renderList(dictionary.value, (item) => {
@@ -13806,6 +13812,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13806
13812
  class: "a-input-cascader",
13807
13813
  "collapse-tags-tooltip": "",
13808
13814
  "popper-class": "a-input-cascader-popper",
13815
+ onChange: emitChange,
13809
13816
  onClear: emitClear,
13810
13817
  onFocus: emitFocus,
13811
13818
  onKeydown: onKeyDown
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.9.8",
4
+ "version": "1.9.10",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",