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.
- package/dist/all.esm.js +5 -5
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +3 -3
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/color-picker/src/color-picker.js +2 -3
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +4 -5
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +3 -3
- /package/es/icon/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
- /package/es/icon/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
- /package/es/icon/{iconfont.1787226519427.woff2 → iconfont.1787282076804.woff2} +0 -0
- /package/es/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
- /package/es/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
- /package/es/{iconfont.1787226519427.woff2 → iconfont.1787282076804.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
- /package/lib/icon/style/{iconfont.1787226519427.woff2 → iconfont.1787282076804.woff2} +0 -0
- /package/lib/{iconfont.1787226519427.ttf → iconfont.1787282076804.ttf} +0 -0
- /package/lib/{iconfont.1787226519427.woff → iconfont.1787282076804.woff} +0 -0
- /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.
|
|
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.
|
|
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 {
|
|
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(
|
|
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) => {
|