vxe-pc-ui 4.17.11 → 4.17.12

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 (35) hide show
  1. package/dist/all.esm.js +5 -5
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/color-picker/src/color-picker.js +3 -3
  5. package/es/icon/style.css +1 -1
  6. package/es/style.css +1 -1
  7. package/es/style.min.css +1 -1
  8. package/es/ui/index.js +1 -1
  9. package/es/ui/src/log.js +1 -1
  10. package/lib/color-picker/src/color-picker.js +2 -3
  11. package/lib/color-picker/src/color-picker.min.js +1 -1
  12. package/lib/icon/style/style.css +1 -1
  13. package/lib/icon/style/style.min.css +1 -1
  14. package/lib/index.umd.js +4 -5
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/style.css +1 -1
  17. package/lib/style.min.css +1 -1
  18. package/lib/ui/index.js +1 -1
  19. package/lib/ui/index.min.js +1 -1
  20. package/lib/ui/src/log.js +1 -1
  21. package/lib/ui/src/log.min.js +1 -1
  22. package/package.json +1 -1
  23. package/packages/color-picker/src/color-picker.ts +3 -3
  24. /package/es/icon/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
  25. /package/es/icon/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
  26. /package/es/icon/{iconfont.1787226519427.woff2 → iconfont.1787282076804.woff2} +0 -0
  27. /package/es/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
  28. /package/es/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
  29. /package/es/{iconfont.1787226519427.woff2 → iconfont.1787282076804.woff2} +0 -0
  30. /package/lib/icon/style/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
  31. /package/lib/icon/style/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
  32. /package/lib/icon/style/{iconfont.1787226519427.woff2 → iconfont.1787282076804.woff2} +0 -0
  33. /package/lib/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
  34. /package/lib/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
  35. /package/lib/{iconfont.1787226519427.woff2 → iconfont.1787282076804.woff2} +0 -0
package/dist/all.esm.js CHANGED
@@ -81,7 +81,7 @@ function checkDynamic() {
81
81
  }
82
82
 
83
83
  const { log } = VxeUI;
84
- const uiVersion = `ui v${"4.17.11"}`;
84
+ const uiVersion = `ui v${"4.17.12"}`;
85
85
  function createComponentLog(name) {
86
86
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
87
87
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -95,7 +95,7 @@ function createComponentLog(name) {
95
95
  const warnLog$i = log.create('warn', uiVersion);
96
96
  log.create('error', uiVersion);
97
97
 
98
- const version = "4.17.11";
98
+ const version = "4.17.12";
99
99
  VxeUI.uiVersion = version;
100
100
  VxeUI.dynamicApp = dynamicApp;
101
101
  function config(options) {
@@ -16405,12 +16405,12 @@ var VxeColorPickerComponent = defineVxeComponent({
16405
16405
  updateMode();
16406
16406
  };
16407
16407
  const updateModelColor = () => {
16408
- const { modelValue, defaultColor } = props;
16408
+ const { defaultColor } = props;
16409
16409
  const { selectColor, isAniVisible } = reactData;
16410
16410
  const isRgb = computeIsRgb.value;
16411
16411
  const hueSliderEl = refHueSliderElem.value;
16412
16412
  const alphaSliderEl = refAlphaSliderElem.value;
16413
- const colorRest = parseValColor(modelValue ? selectColor : defaultColor);
16413
+ const colorRest = parseValColor(selectColor || defaultColor);
16414
16414
  reactData.hexValue = '';
16415
16415
  reactData.rValue = 0;
16416
16416
  reactData.gValue = 0;
@@ -16664,7 +16664,7 @@ var VxeColorPickerComponent = defineVxeComponent({
16664
16664
  const alpha = XEUtils.ceil(100 / barWidth * offsetLeft / 100, 2);
16665
16665
  reactData.aValue = alpha;
16666
16666
  alphaSliderBtnEl.style.left = toCssUnit(offsetLeft);
16667
- reactData.selectColor = updateColorAlpha(selectColor, alpha);
16667
+ reactData.selectColor = selectColor ? updateColorAlpha(selectColor, alpha) : '';
16668
16668
  }
16669
16669
  };
16670
16670
  const handleAlphaBarEvent = (evnt) => {