@kengic/vue 0.23.3-beta.0 → 0.23.3-beta.1

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.
@@ -2462,7 +2462,7 @@ const emptyIcon = {
2462
2462
  ...t.data
2463
2463
  }, r);
2464
2464
  }
2465
- }), version = "0.23.3-beta.0";
2465
+ }), version = "0.23.3-beta.1";
2466
2466
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2467
2467
  const freeGlobal$1 = freeGlobal;
2468
2468
  var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
@@ -13749,7 +13749,7 @@ const getProps$r = () => ({
13749
13749
  const c = displayTypeProperties.value;
13750
13750
  if (c.isTag) {
13751
13751
  const d = (a = c.tagColors) == null ? void 0 : a.find((m) => m.value === props.kgValue);
13752
- return getText.value.trim() ? createVNode(Tag, {
13752
+ return isNil(getText.value) || Number.isNaN(getText.value) || !String(getText.value).trim() ? createVNode(Tag, {
13753
13753
  color: (n = d == null ? void 0 : d.color) != null ? n : "default"
13754
13754
  }, {
13755
13755
  default: () => [getText.value]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.23.3-beta.0",
3
+ "version": "0.23.3-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",
@@ -11,11 +11,6 @@
11
11
  "publish:all:beta": "npm run bump-version:beta && npm run publish:all",
12
12
  "----- --------------------------------------------": "",
13
13
  "gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
14
- "--- ----------------------------------------------": "",
15
- "bump-to:luotao.wms-vue3--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.ts",
16
- "copy-to:luotao.wms-vue3--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.ts",
17
- "bump-to:luotao.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.focus.ts",
18
- "copy-to:luotao.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.focus.ts",
19
14
  "- ------------------------------------------------": "",
20
15
  "cnpm:sync": "npm run switch-node-version && npx cnpm --yes sync @kengic/vue",
21
16
  "switch-node-version": "nvm use 18.16.0 && corepack enable && corepack prepare pnpm@7.30.5 --activate",
@@ -26,7 +21,14 @@
26
21
  "bump-version:patch": "npm run switch-node-version && tsx scripts/bump.ts patch",
27
22
  "---- ---------------------------------------------": "",
28
23
  "publish:all": "npm run switch-node-version && tsx scripts/publish.ts",
29
- "publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
24
+ "publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
25
+ "------- ------------------------------------------": "",
26
+ "copy-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
27
+ "copy-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts",
28
+ "copy-to:luotao:smartfactory.tyre.haohua.gantry.was-java--main": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts",
29
+ "--- ----------------------------------------------": "",
30
+ "bump-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
31
+ "bump-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts"
30
32
  },
31
33
  "peerDependencies": {
32
34
  "vue": "3.2.43"