vueless 0.0.699 → 0.0.701

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.699",
3
+ "version": "0.0.701",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -266,11 +266,15 @@ const {
266
266
  } = useUI<Config>(defaultConfig, mutatedProps);
267
267
 
268
268
  /* Merging DatePicker's i18n translations into Calendar's i18n translations. */
269
+ /* TODO:
270
+ Find way to do it more explicity.
271
+ It is not really clear that i18n changes datepickerCalendarAttrs now.
272
+ */
269
273
  watchEffect(() => {
270
274
  const calendarConfig = datepickerCalendarAttrs.value.config as unknown as UCalendarConfig;
271
275
 
272
276
  if (!calendarConfig?.i18n || props.config?.i18n) {
273
- calendarConfig.i18n = merge({}, calendarConfig.i18n, config.value.i18n);
277
+ calendarConfig.i18n = merge({}, calendarConfig.i18n, props.config.i18n);
274
278
  }
275
279
  });
276
280
  </script>
@@ -570,11 +570,16 @@ const {
570
570
  } = useUI<Config>(defaultConfig, mutatedProps);
571
571
 
572
572
  /* Merging DatePickerRange's i18n translations into Calendar's i18n translations. */
573
+
574
+ /* TODO:
575
+ Find way to do it more explicity.
576
+ It is not really clear that i18n changes datepickerCalendarAttrs now.
577
+ */
573
578
  watchEffect(() => {
574
579
  const calendarConfig = datepickerCalendarAttrs.value.config as unknown as UCalendarConfig;
575
580
 
576
581
  if (!calendarConfig.i18n || props.config?.i18n) {
577
- calendarConfig.i18n = merge({}, calendarConfig.i18n, config.value.i18n);
582
+ calendarConfig.i18n = merge({}, calendarConfig.i18n, props.config.i18n);
578
583
  }
579
584
  });
580
585
  </script>
@@ -7,7 +7,7 @@ export const MATH_SIGN_TYPE = {
7
7
 
8
8
  export const MATH_SIGN = {
9
9
  PLUS: "+",
10
- MINUS: "-",
10
+ MINUS: "",
11
11
  };
12
12
 
13
13
  export const SINGLE_ZERO = "0";