vxe-pc-ui 4.18.13 → 4.18.15

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 (45) hide show
  1. package/dist/all.esm.js +9 -9
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/date-picker/src/date-picker.js +5 -5
  5. package/es/form/src/form.js +1 -1
  6. package/es/icon/style.css +1 -1
  7. package/es/splitter/src/splitter.js +1 -1
  8. package/es/style.css +1 -1
  9. package/es/style.min.css +1 -1
  10. package/es/ui/index.js +1 -1
  11. package/es/ui/src/log.js +1 -1
  12. package/lib/date-picker/src/date-picker.js +5 -5
  13. package/lib/date-picker/src/date-picker.min.js +1 -1
  14. package/lib/form/src/form.js +1 -1
  15. package/lib/form/src/form.min.js +1 -1
  16. package/lib/icon/style/style.css +1 -1
  17. package/lib/icon/style/style.min.css +1 -1
  18. package/lib/index.umd.js +14 -12
  19. package/lib/index.umd.min.js +1 -1
  20. package/lib/splitter/src/splitter.js +1 -1
  21. package/lib/splitter/src/splitter.min.js +1 -1
  22. package/lib/style.css +1 -1
  23. package/lib/style.min.css +1 -1
  24. package/lib/ui/index.js +1 -1
  25. package/lib/ui/index.min.js +1 -1
  26. package/lib/ui/src/log.js +1 -1
  27. package/lib/ui/src/log.min.js +1 -1
  28. package/package.json +2 -2
  29. package/packages/date-picker/src/date-picker.ts +6 -6
  30. package/packages/form/src/form.ts +1 -1
  31. package/packages/splitter/src/splitter.ts +1 -1
  32. package/types/components/date-picker.d.ts +3 -3
  33. package/types/components/gantt.d.ts +49 -0
  34. /package/es/icon/{iconfont.1789552820055.ttf → iconfont.1789904512488.ttf} +0 -0
  35. /package/es/icon/{iconfont.1789552820055.woff → iconfont.1789904512488.woff} +0 -0
  36. /package/es/icon/{iconfont.1789552820055.woff2 → iconfont.1789904512488.woff2} +0 -0
  37. /package/es/{iconfont.1789552820055.ttf → iconfont.1789904512488.ttf} +0 -0
  38. /package/es/{iconfont.1789552820055.woff → iconfont.1789904512488.woff} +0 -0
  39. /package/es/{iconfont.1789552820055.woff2 → iconfont.1789904512488.woff2} +0 -0
  40. /package/lib/icon/style/{iconfont.1789552820055.ttf → iconfont.1789904512488.ttf} +0 -0
  41. /package/lib/icon/style/{iconfont.1789552820055.woff → iconfont.1789904512488.woff} +0 -0
  42. /package/lib/icon/style/{iconfont.1789552820055.woff2 → iconfont.1789904512488.woff2} +0 -0
  43. /package/lib/{iconfont.1789552820055.ttf → iconfont.1789904512488.ttf} +0 -0
  44. /package/lib/{iconfont.1789552820055.woff → iconfont.1789904512488.woff} +0 -0
  45. /package/lib/{iconfont.1789552820055.woff2 → iconfont.1789904512488.woff2} +0 -0
package/dist/all.esm.js CHANGED
@@ -101,7 +101,7 @@ function checkDynamic() {
101
101
  }
102
102
 
103
103
  const { log } = VxeUI;
104
- const uiVersion = `ui v${"4.18.13"}`;
104
+ const uiVersion = `ui v${"4.18.15"}`;
105
105
  function createComponentLog(name) {
106
106
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
107
107
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -115,7 +115,7 @@ function createComponentLog(name) {
115
115
  const warnLog$i = log.create('warn', uiVersion);
116
116
  log.create('error', uiVersion);
117
117
 
118
- const version = "4.18.13";
118
+ const version = "4.18.15";
119
119
  VxeUI.uiVersion = version;
120
120
  VxeUI.dynamicApp = dynamicApp;
121
121
  function config(options) {
@@ -20572,9 +20572,9 @@ var VxeDatePickerComponent = defineVxeComponent({
20572
20572
  labelFormat: String,
20573
20573
  valueFormat: String,
20574
20574
  timeFormat: String,
20575
- parseMethod: {
20575
+ parseInputMethod: {
20576
20576
  type: Function,
20577
- default: () => getConfig$3().datePicker.parseMethod
20577
+ default: () => getConfig$3().datePicker.parseInputMethod
20578
20578
  },
20579
20579
  editable: {
20580
20580
  type: Boolean,
@@ -21014,7 +21014,7 @@ var VxeDatePickerComponent = defineVxeComponent({
21014
21014
  handleInputLabel(panelLabel, true);
21015
21015
  };
21016
21016
  const afterCheckValue = (inpVal) => {
21017
- const { type, editable, multiple, maskedConfig, parseMethod } = props;
21017
+ const { type, editable, multiple, maskedConfig, parseInputMethod } = props;
21018
21018
  const { inputLabel } = internalData;
21019
21019
  const dateLabelFormat = computeDateLabelFormat.value;
21020
21020
  const maskedOpts = computeMaskedOpts.value;
@@ -21046,8 +21046,8 @@ var VxeDatePickerComponent = defineVxeComponent({
21046
21046
  }
21047
21047
  }
21048
21048
  let inpDateVal;
21049
- if (parseMethod) {
21050
- inpDateVal = parseMethod({
21049
+ if (parseInputMethod) {
21050
+ inpDateVal = parseInputMethod({
21051
21051
  $datePicker: $xeDatePicker,
21052
21052
  type,
21053
21053
  inputValue: inpVal,
@@ -26168,7 +26168,7 @@ var VxeFormComponent = defineVxeComponent({
26168
26168
  list.forEach((item) => {
26169
26169
  if (item.slots) {
26170
26170
  XEUtils.each(item.slots, (func) => {
26171
- if (!XEUtils.isFunction(func)) {
26171
+ if (func && !XEUtils.isFunction(func)) {
26172
26172
  if (!slots[func]) {
26173
26173
  errLog$b('vxe.error.notSlot', [func]);
26174
26174
  }
@@ -37360,7 +37360,7 @@ var VxeSplitComponent = defineVxeComponent({
37360
37360
  }
37361
37361
  if (item.slots) {
37362
37362
  XEUtils.each(item.slots, (func) => {
37363
- if (!XEUtils.isFunction(func)) {
37363
+ if (func && !XEUtils.isFunction(func)) {
37364
37364
  if (!slots[func]) {
37365
37365
  errLog$5('vxe.error.notSlot', [func]);
37366
37366
  }