@kengic/vue 0.25.2-beta.1 → 0.25.2-beta.2

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 (2) hide show
  1. package/dist/kengic-vue.js +11 -12
  2. package/package.json +1 -1
@@ -2437,7 +2437,7 @@ const emptyIcon = {
2437
2437
  ...t.data
2438
2438
  }, a);
2439
2439
  }
2440
- }), version = "0.25.2-beta.1";
2440
+ }), version = "0.25.2-beta.2";
2441
2441
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2442
2442
  const freeGlobal$1 = freeGlobal;
2443
2443
  var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
@@ -12150,26 +12150,25 @@ function transformVarGridConfig(e) {
12150
12150
  if (!e)
12151
12151
  return null;
12152
12152
  const t = KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK.A, a = KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK.B, r = KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK.C;
12153
- isNil(e.available_flg) && (e.available_flg = 1), isNil(e.aut_load_flg) && (e.aut_load_flg = 0), isNil(e.mult_flg) && (e.mult_flg = 0), isNil(e.show_check_column_flg) && (e.show_check_column_flg = 0), isNil(e.check_first_row_after_retrieve) && (e.check_first_row_after_retrieve = 0), isNil(e.show_bottom_border_flg) && (e.show_bottom_border_flg = 0), isNil(e.show_bottom_left_flg) && (e.show_bottom_left_flg = 1), isNil(e.show_bottom_right_flg) && (e.show_bottom_right_flg = 1), isNil(e.operation_on_row_click) && (e.operation_on_row_click = t), isNil(e.convert_sort_field_to_under_score_flg) && (e.convert_sort_field_to_under_score_flg = 0), isNil(e.id_clm) && (e.id_clm = "id"), isNil(e.pg_size_opts) && (e.pg_size_opts = DEFAULT_PAGE_SIZES), isNil(e.pg_size_opt) && (e.pg_size_opt = 10), isNil(e.expand_accordion_flg) && (e.expand_accordion_flg = 1);
12154
- let n = Number(e.operation_on_row_click);
12155
- [t, a, r].includes(n) || (____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.min_width \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${1}. \u5408\u6CD5\u7684\u503C\u4E3A ${t}, ${a}, ${r}.`, {
12156
- VarGridConfig: e
12157
- }), e.operation_on_row_click = t);
12153
+ isNil(e.available_flg) && (e.available_flg = 1), isNil(e.aut_load_flg) && (e.aut_load_flg = 0), isNil(e.mult_flg) && (e.mult_flg = 0), isNil(e.show_check_column_flg) && (e.show_check_column_flg = 0), isNil(e.check_first_row_after_retrieve) && (e.check_first_row_after_retrieve = 0), isNil(e.show_bottom_border_flg) && (e.show_bottom_border_flg = 0), isNil(e.show_bottom_left_flg) && (e.show_bottom_left_flg = 1), isNil(e.show_bottom_right_flg) && (e.show_bottom_right_flg = 1), isNil(e.operation_on_row_click) && (e.operation_on_row_click = a), isNil(e.convert_sort_field_to_under_score_flg) && (e.convert_sort_field_to_under_score_flg = 0), isNil(e.id_clm) && (e.id_clm = "id"), isNil(e.pg_size_opts) && (e.pg_size_opts = DEFAULT_PAGE_SIZES), isNil(e.pg_size_opt) && (e.pg_size_opt = 10), isNil(e.expand_accordion_flg) && (e.expand_accordion_flg = 1), [t, a, r].includes(Number(e.operation_on_row_click)) || (____ERROR____(
12154
+ `| \u6570\u636E\u6709\u8BEF | var_grid_config.operation_on_row_click \u4E3A\u975E\u6CD5\u503C\u300C${e.operation_on_row_click}\u300D, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${1}. \u5408\u6CD5\u7684\u503C\u4E3A ${t}, ${a}, ${r}.`,
12155
+ { VarGridConfig: e }
12156
+ ), e.operation_on_row_click = a);
12158
12157
  try {
12159
- let i = JSON.parse(e.pg_size_opts);
12158
+ let n = JSON.parse(e.pg_size_opts);
12160
12159
  switch (!0) {
12161
- case !isArray$1(i):
12162
- case i.length < 1:
12163
- case i.some((s) => Number.isNaN(Number(s)) || Math.floor(Number(s)) <= 0): {
12160
+ case !isArray$1(n):
12161
+ case n.length < 1:
12162
+ case n.some((i) => Number.isNaN(Number(i)) || Math.floor(Number(i)) <= 0): {
12164
12163
  ____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.pg_size_opts \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${DEFAULT_PAGE_SIZES}.`, {
12165
12164
  VarGridConfig: e
12166
12165
  }), e.pg_size_opts = DEFAULT_PAGE_SIZES;
12167
12166
  break;
12168
12167
  }
12169
12168
  default:
12170
- switch (i = sortBy$1(uniq(i.map((s) => Math.floor(s)))), e.pg_size_opts = JSON.stringify(i), e.pg_size_opt || (e.pg_size_opt = i[0]), e.pg_size_opt = Number(e.pg_size_opt), !0) {
12169
+ switch (n = sortBy$1(uniq(n.map((i) => Math.floor(i)))), e.pg_size_opts = JSON.stringify(n), e.pg_size_opt || (e.pg_size_opt = n[0]), e.pg_size_opt = Number(e.pg_size_opt), !0) {
12171
12170
  case Number.isNaN(e.pg_size_opt):
12172
- case !i.includes(e.pg_size_opt): {
12171
+ case !n.includes(e.pg_size_opt): {
12173
12172
  ____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.pg_size_opt \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${DEFAULT_PAGE_SIZE}.`, { VarGridConfig: e }), e.pg_size_opt = DEFAULT_PAGE_SIZE;
12174
12173
  break;
12175
12174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.25.2-beta.1",
3
+ "version": "0.25.2-beta.2",
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",