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