inl-ui 0.1.49 → 0.1.50

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.
@@ -8381,6 +8381,11 @@ const DefaultLayout = vue.defineComponent({
8381
8381
  noCacheNames: {
8382
8382
  type: Array,
8383
8383
  default: () => []
8384
+ },
8385
+ // 打包成调试版本
8386
+ noProduction: {
8387
+ type: Boolean,
8388
+ default: false
8384
8389
  }
8385
8390
  },
8386
8391
  setup(props) {
@@ -8476,7 +8481,7 @@ const DefaultLayout = vue.defineComponent({
8476
8481
  }
8477
8482
  });
8478
8483
  }
8479
- if (isIndependent) {
8484
+ if (isIndependent && !props.noProduction) {
8480
8485
  return vue.createVNode("div", {
8481
8486
  "class": "independent-container"
8482
8487
  }, [vue.createVNode(vue.resolveComponent("router-view"), null, null)]);
@@ -209,6 +209,10 @@ declare const _default$f: vue.DefineComponent<{
209
209
  type: PropType<string[]>;
210
210
  default: () => never[];
211
211
  };
212
+ noProduction: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
212
216
  }, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
213
217
  withHeader: {
214
218
  type: BooleanConstructor;
@@ -218,9 +222,14 @@ declare const _default$f: vue.DefineComponent<{
218
222
  type: PropType<string[]>;
219
223
  default: () => never[];
220
224
  };
225
+ noProduction: {
226
+ type: BooleanConstructor;
227
+ default: boolean;
228
+ };
221
229
  }>>, {
222
230
  withHeader: boolean;
223
231
  noCacheNames: string[];
232
+ noProduction: boolean;
224
233
  }, {}>;
225
234
 
226
235
  /**
@@ -8370,6 +8370,11 @@ const DefaultLayout = defineComponent({
8370
8370
  noCacheNames: {
8371
8371
  type: Array,
8372
8372
  default: () => []
8373
+ },
8374
+ // 打包成调试版本
8375
+ noProduction: {
8376
+ type: Boolean,
8377
+ default: false
8373
8378
  }
8374
8379
  },
8375
8380
  setup(props) {
@@ -8465,7 +8470,7 @@ const DefaultLayout = defineComponent({
8465
8470
  }
8466
8471
  });
8467
8472
  }
8468
- if (isIndependent) {
8473
+ if (isIndependent && !props.noProduction) {
8469
8474
  return createVNode("div", {
8470
8475
  "class": "independent-container"
8471
8476
  }, [createVNode(resolveComponent("router-view"), null, null)]);
package/dist/index.cjs CHANGED
@@ -45,7 +45,7 @@ var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
45
45
  var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
46
46
  var EZUIKit__default = /*#__PURE__*/_interopDefaultLegacy(EZUIKit);
47
47
 
48
- var version = "0.1.47";
48
+ var version = "0.1.49";
49
49
 
50
50
  const setTheme = theme => {
51
51
  if (theme === "dark") {
@@ -9385,6 +9385,11 @@ const DefaultLayout = vue.defineComponent({
9385
9385
  noCacheNames: {
9386
9386
  type: Array,
9387
9387
  default: () => []
9388
+ },
9389
+ // 打包成调试版本
9390
+ noProduction: {
9391
+ type: Boolean,
9392
+ default: false
9388
9393
  }
9389
9394
  },
9390
9395
  setup(props) {
@@ -9480,7 +9485,7 @@ const DefaultLayout = vue.defineComponent({
9480
9485
  }
9481
9486
  });
9482
9487
  }
9483
- if (isIndependent) {
9488
+ if (isIndependent && !props.noProduction) {
9484
9489
  return vue.createVNode("div", {
9485
9490
  "class": "independent-container"
9486
9491
  }, [vue.createVNode(vue.resolveComponent("router-view"), null, null)]);
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
11
11
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
12
12
  import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
13
13
 
14
- var version = "0.1.47";
14
+ var version = "0.1.49";
15
15
 
16
16
  declare const _default$p: {
17
17
  set(theme: string): void;
@@ -977,6 +977,10 @@ declare const _default$g: vue.DefineComponent<{
977
977
  type: PropType<string[]>;
978
978
  default: () => never[];
979
979
  };
980
+ noProduction: {
981
+ type: BooleanConstructor;
982
+ default: boolean;
983
+ };
980
984
  }, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
981
985
  withHeader: {
982
986
  type: BooleanConstructor;
@@ -986,9 +990,14 @@ declare const _default$g: vue.DefineComponent<{
986
990
  type: PropType<string[]>;
987
991
  default: () => never[];
988
992
  };
993
+ noProduction: {
994
+ type: BooleanConstructor;
995
+ default: boolean;
996
+ };
989
997
  }>>, {
990
998
  withHeader: boolean;
991
999
  noCacheNames: string[];
1000
+ noProduction: boolean;
992
1001
  }, {}>;
993
1002
 
994
1003
  /**
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
14
14
  import { marked } from 'marked';
15
15
  import '@sszj-temp/mobile/style.css';
16
16
 
17
- var version = "0.1.47";
17
+ var version = "0.1.49";
18
18
 
19
19
  const setTheme = theme => {
20
20
  if (theme === "dark") {
@@ -9354,6 +9354,11 @@ const DefaultLayout = defineComponent({
9354
9354
  noCacheNames: {
9355
9355
  type: Array,
9356
9356
  default: () => []
9357
+ },
9358
+ // 打包成调试版本
9359
+ noProduction: {
9360
+ type: Boolean,
9361
+ default: false
9357
9362
  }
9358
9363
  },
9359
9364
  setup(props) {
@@ -9449,7 +9454,7 @@ const DefaultLayout = defineComponent({
9449
9454
  }
9450
9455
  });
9451
9456
  }
9452
- if (isIndependent) {
9457
+ if (isIndependent && !props.noProduction) {
9453
9458
  return createVNode("div", {
9454
9459
  "class": "independent-container"
9455
9460
  }, [createVNode(resolveComponent("router-view"), null, null)]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -83,4 +83,4 @@
83
83
  "vite-plugin-qiankun": "^1.0.15",
84
84
  "vue-router": "^4.1.6"
85
85
  }
86
- }
86
+ }