@kengic/vue 0.21.0 → 0.21.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2931,7 +2931,7 @@ const emptyIcon = {
2931
2931
  ...t.data
2932
2932
  }, r);
2933
2933
  }
2934
- }), version = "0.21.0";
2934
+ }), version = "0.21.1-beta.0";
2935
2935
  var isVue2 = !1;
2936
2936
  function set(e, t, r) {
2937
2937
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), r) : (e[t] = r, r);
@@ -20292,11 +20292,10 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
20292
20292
  sql: ""
20293
20293
  }), o = computed(() => ({
20294
20294
  frmId: [{
20295
- required: !0,
20296
- message: r.t("kg.required")
20297
- }, {
20298
20295
  trigger: "blur",
20299
20296
  validator: (d, b) => new Promise(async (C, g) => {
20297
+ if (!b)
20298
+ return g(r.t("kg.required"));
20300
20299
  try {
20301
20300
  a.setIsLoading(!0), await ValidateFrmId({
20302
20301
  data: {
@@ -20317,11 +20316,10 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
20317
20316
  message: r.t("kg.required")
20318
20317
  }],
20319
20318
  sql: [{
20320
- required: !0,
20321
- message: r.t("kg.required")
20322
- }, {
20323
20319
  trigger: "blur",
20324
20320
  validator: (d, b) => new Promise(async (C, g) => {
20321
+ if (!b)
20322
+ return g(r.t("kg.required"));
20325
20323
  try {
20326
20324
  a.setIsLoading(!0), await ValidateSearchSql({
20327
20325
  data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.21.0",
3
+ "version": "0.21.1-beta.0",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",