@kengic/vue 0.13.9 → 0.13.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -4872,7 +4872,7 @@ const emptyIcon = {
4872
4872
  ...t.data
4873
4873
  }, r);
4874
4874
  }
4875
- }), name = "@kengic/vue", version = "0.13.9", data$1 = {
4875
+ }), name = "@kengic/vue", version = "0.13.10", data$1 = {
4876
4876
  width: 24,
4877
4877
  height: 24,
4878
4878
  body: '<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h11.175q.4 0 .763.15t.637.425l2.85 2.85q.275.275.425.638t.15.762V12.3q-.475-.2-.988-.263T19 12.05V7.825L16.175 5H5v14h6v2H5ZM5 5v14V5Zm8 17v-1.65q0-.2.075-.388t.225-.337l5.225-5.2q.225-.225.5-.325t.55-.1q.3 0 .575.113t.5.337l.925.925q.2.225.313.5t.112.55q0 .275-.1.563t-.325.512l-5.2 5.2q-.15.15-.338.225T15.65 23H14q-.425 0-.712-.287T13 22Zm7.5-5.575l-.925-.925l.925.925Zm-6 5.075h.95l3.025-3.05l-.45-.475l-.475-.45l-3.05 3.025v.95Zm3.525-3.525l-.475-.45l.925.925l-.45-.475ZM7 10h7q.425 0 .713-.288T15 9V7q0-.425-.288-.713T14 6H7q-.425 0-.713.288T6 7v2q0 .425.288.713T7 10Zm5 8h.1l2.9-2.875V15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Z"/>'
@@ -5969,7 +5969,7 @@ class KgVarUtil {
5969
5969
  case KG_FORM_ITEM_TYPE.DATE_TIME: {
5970
5970
  if (isNil(i) || i.trim() === "")
5971
5971
  return;
5972
- const p = a(`1970-01-01 ${i}`);
5972
+ const p = a(`1900-01-01 ${i}`);
5973
5973
  if (p != null && p.isValid())
5974
5974
  return p;
5975
5975
  KgLogger.error(`| \u63A7\u4EF6\u7684\u503C\u975E\u6CD5 | ${d} \u63A7\u4EF6\u7684\u503C\u5FC5\u987B\u4E3A\u65F6\u95F4\u7C7B\u578B.`, {
@@ -17198,7 +17198,7 @@ class KgUtil {
17198
17198
  break;
17199
17199
  }
17200
17200
  case /\d\d:\d\d:\d\d/.test(M): {
17201
- M = A.format("1970-01-01 HH:mm:ss"), K = A.add(1, "second").format("1970-01-01 HH:mm:ss");
17201
+ M = A.format("1900-01-01 HH:mm:ss"), K = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17202
17202
  break;
17203
17203
  }
17204
17204
  default:
@@ -17217,7 +17217,7 @@ class KgUtil {
17217
17217
  break;
17218
17218
  }
17219
17219
  case /\d\d:\d\d:\d\d/.test(M): {
17220
- M = `1970-01-01 ${M}`;
17220
+ M = `1900-01-01 ${M}`;
17221
17221
  break;
17222
17222
  }
17223
17223
  default:
@@ -17238,7 +17238,7 @@ class KgUtil {
17238
17238
  break;
17239
17239
  }
17240
17240
  case /\d\d:\d\d:\d\d/.test(M): {
17241
- K = A.add(1, "second").format("1970-01-01 HH:mm:ss");
17241
+ K = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17242
17242
  break;
17243
17243
  }
17244
17244
  default:
@@ -17259,7 +17259,7 @@ class KgUtil {
17259
17259
  break;
17260
17260
  }
17261
17261
  case /\d\d:\d\d:\d\d/.test(M): {
17262
- K = A.add(1, "second").format("1970-01-01 HH:mm:ss");
17262
+ K = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17263
17263
  break;
17264
17264
  }
17265
17265
  default:
@@ -17278,7 +17278,7 @@ class KgUtil {
17278
17278
  break;
17279
17279
  }
17280
17280
  case /\d\d:\d\d:\d\d/.test(M): {
17281
- M = `1970-01-01 ${M}`;
17281
+ M = `1900-01-01 ${M}`;
17282
17282
  break;
17283
17283
  }
17284
17284
  default:
@@ -17300,7 +17300,7 @@ class KgUtil {
17300
17300
  break;
17301
17301
  }
17302
17302
  case /\d\d:\d\d:\d\d/.test(M): {
17303
- M = `1970-01-01 ${M}`, K = A.add(1, "second").format("1970-01-01 HH:mm:ss");
17303
+ M = `1900-01-01 ${M}`, K = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17304
17304
  break;
17305
17305
  }
17306
17306
  default:
@@ -17326,7 +17326,7 @@ class KgUtil {
17326
17326
  break;
17327
17327
  }
17328
17328
  case /\d\d:\d\d:\d\d/.test(M): {
17329
- M = `1970-01-01 ${M}`, K = D.add(1, "second").format("1970-01-01 HH:mm:ss");
17329
+ M = `1900-01-01 ${M}`, K = D.add(1, "second").format("1900-01-01 HH:mm:ss");
17330
17330
  break;
17331
17331
  }
17332
17332
  }
@@ -17498,7 +17498,7 @@ class KgUtil {
17498
17498
  return n ? r.format("YYYY-MM-DD 00:00:00") : r.format("YYYY-MM-DD");
17499
17499
  case KG_FORM_ITEM_TYPE.DATE_TIME:
17500
17500
  case KG_FORM_ITEM_TYPE.DATE_TIME_RANGE:
17501
- return n ? r.format("1970-01-01 HH:mm:ss") : r.format("HH:mm:ss");
17501
+ return n ? r.format("1900-01-01 HH:mm:ss") : r.format("HH:mm:ss");
17502
17502
  case KG_FORM_ITEM_TYPE.DATE_DATETIME:
17503
17503
  case KG_FORM_ITEM_TYPE.DATE_DATETIME_RANGE:
17504
17504
  return r.format("YYYY-MM-DD HH:mm:ss");
@@ -75,7 +75,7 @@ export declare class KgUtil {
75
75
  * @param key 属性名.
76
76
  * @param value 参数的原始值.
77
77
  * @param formID 界面标识.
78
- * @param isPad 是否补齐日期格式. 即将 `YYYY-MM-DD` 补齐为 `YYYY-MM-DD 00:00:00`, 将 `HH:mm:ss` 补齐为 `1970-01-01 HH:mm:ss`.
78
+ * @param isPad 是否补齐日期格式. 即将 `YYYY-MM-DD` 补齐为 `YYYY-MM-DD 00:00:00`, 将 `HH:mm:ss` 补齐为 `1900-01-01 HH:mm:ss`.
79
79
  */
80
80
  private static parseParamFromDayJS;
81
81
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.13.9",
3
+ "version": "0.13.10",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",