@kengic/vue 0.21.0 → 0.21.1-beta.1

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.1";
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,11 @@ 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",
20296
+ required: !0,
20299
20297
  validator: (d, b) => new Promise(async (C, g) => {
20298
+ if (!b)
20299
+ return g(r.t("kg.required"));
20300
20300
  try {
20301
20301
  a.setIsLoading(!0), await ValidateFrmId({
20302
20302
  data: {
@@ -20317,11 +20317,11 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
20317
20317
  message: r.t("kg.required")
20318
20318
  }],
20319
20319
  sql: [{
20320
- required: !0,
20321
- message: r.t("kg.required")
20322
- }, {
20323
20320
  trigger: "blur",
20321
+ required: !0,
20324
20322
  validator: (d, b) => new Promise(async (C, g) => {
20323
+ if (!b)
20324
+ return g(r.t("kg.required"));
20325
20325
  try {
20326
20326
  a.setIsLoading(!0), await ValidateSearchSql({
20327
20327
  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.1",
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",