@kengic/vue 0.26.7-beta.31 → 0.26.7-beta.33

Sign up to get free protection for your applications and to get access to all the features.
@@ -2695,10 +2695,10 @@ reactExports.forwardRef((e, r) => IconComponent({
2695
2695
  ...e,
2696
2696
  _ref: r
2697
2697
  }));
2698
- import("./close-outlined-DMcSQWxQ.12f6f0ec.mjs").then(({ default: e }) => addIcon$1("ant-design:close-outlined", e));
2699
- import("./fullscreen-exit-outlined-X1iYkFc4.aec596eb.mjs").then(({ default: e }) => addIcon$1("ant-design:fullscreen-exit-outlined", e));
2700
- import("./fullscreen-outlined-DDBrsRcy.7c55eb22.mjs").then(({ default: e }) => addIcon$1("ant-design:fullscreen-outlined", e));
2701
- import("./exclamation-circle-outlined-DZrXCnvM.beaf9792.mjs").then(({ default: e }) => addIcon$1("ant-design:exclamation-circle-outlined", e));
2698
+ import("./close-outlined-DMcSQWxQ.17894748.mjs").then(({ default: e }) => addIcon$1("ant-design:close-outlined", e));
2699
+ import("./fullscreen-exit-outlined-X1iYkFc4.d6ef141c.mjs").then(({ default: e }) => addIcon$1("ant-design:fullscreen-exit-outlined", e));
2700
+ import("./fullscreen-outlined-DDBrsRcy.5a23cea0.mjs").then(({ default: e }) => addIcon$1("ant-design:fullscreen-outlined", e));
2701
+ import("./exclamation-circle-outlined-DZrXCnvM.1cab2cb3.mjs").then(({ default: e }) => addIcon$1("ant-design:exclamation-circle-outlined", e));
2702
2702
  var jsxRuntime = { exports: {} }, reactJsxRuntime_production_min = {};
2703
2703
  /**
2704
2704
  * @license React
@@ -66362,6 +66362,7 @@ class KgUtil$1 {
66362
66362
  okText: r.intl.formatMessage({ id: "kg.confirm" }),
66363
66363
  onCancel() {
66364
66364
  },
66365
+ prefixCls: "kgcrant",
66365
66366
  title: r.intl.formatMessage({ id: "kg.confirm" }),
66366
66367
  transitionName: "",
66367
66368
  ...r
@@ -70007,7 +70008,7 @@ function fi(e) {
70007
70008
  })
70008
70009
  );
70009
70010
  }
70010
- const version = "0.26.7-beta.31", en$1 = {
70011
+ const version = "0.26.7-beta.33", en$1 = {
70011
70012
  kg: {
70012
70013
  KgAppSelect: {
70013
70014
  businessManager: "Business Manager",
@@ -75335,11 +75336,16 @@ Spin$1.setDefaultIndicator({
75335
75336
  indicator: h$2(LoadingOutlined$1, { spin: !0 })
75336
75337
  });
75337
75338
  async function setup(e) {
75338
- var n;
75339
+ var n, a;
75339
75340
  if (ai(`${version}`), !e.pFunction)
75340
75341
  throw Pe("setup() | \u7F3A\u5C11\u5FC5\u8981\u7684\u521D\u59CB\u5316\u53C2\u6570.", { options: e }), new Error("[@kengic/vue] \u521D\u59CB\u5316\u5931\u8D25, \u7F3A\u5C11\u5FC5\u8981\u7684\u53C2\u6570.");
75341
75342
  const r = useKg();
75342
- r.store.setI18N(e.I18N), r.store.setI18n(e.i18n), r.store.setOption((n = e.option) != null ? n : {}), r.store.setP(e.pFunction), r.store.setRouter(e.router), r.store.setUsePermissionStore(e.usePermissionStore), r.store.setUseUserStore(e.useUserStore), r.store.setT(e.i18n), initKgCoreReact({ ref: ref$1 });
75343
+ r.store.setI18N(e.I18N), r.store.setI18n(e.i18n), r.store.setOption((n = e.option) != null ? n : {}), r.store.setP(e.pFunction), r.store.setRouter(e.router), r.store.setUsePermissionStore(e.usePermissionStore), r.store.setUseUserStore(e.useUserStore), r.store.setT(e.i18n), initKgCoreReact({
75344
+ ref: ref$1,
75345
+ option: {
75346
+ KgWorkStation: (a = e.option) == null ? void 0 : a.KgStation
75347
+ }
75348
+ });
75343
75349
  }
75344
75350
  var dayjs_min = { exports: {} };
75345
75351
  (function(e, r) {
@@ -75939,24 +75945,24 @@ class _KgUtil {
75939
75945
  static confirm(e) {
75940
75946
  var a, o;
75941
75947
  const r = useKg(), n = Modal$2.confirm({
75942
- iconType: "warning",
75943
- title: r.t("kg.confirm"),
75944
- content: r.t("kg.confirmDelete"),
75945
- okText: r.t("kg.confirm"),
75946
- okButtonProps: {
75947
- danger: !0,
75948
- ...(a = e.okButtonProps) != null ? a : {}
75949
- },
75948
+ autoFocusButton: null,
75950
75949
  cancelButtonProps: {
75951
75950
  class: e.kgHideCancelButton === !0 ? "kg-invisible" : "",
75952
75951
  disabled: !1,
75953
- ...(o = e.cancelButtonProps) != null ? o : {}
75952
+ ...(a = e.cancelButtonProps) != null ? a : {}
75954
75953
  },
75955
75954
  cancelText: r.t("kg.cancel"),
75956
- closable: !1,
75957
75955
  centered: !0,
75958
- autoFocusButton: null,
75956
+ closable: !1,
75957
+ content: r.t("kg.confirmDelete"),
75958
+ iconType: "warning",
75959
75959
  keyboard: !1,
75960
+ okButtonProps: {
75961
+ danger: !0,
75962
+ ...(o = e.okButtonProps) != null ? o : {}
75963
+ },
75964
+ okText: r.t("kg.confirm"),
75965
+ title: r.t("kg.confirm"),
75960
75966
  ...e
75961
75967
  });
75962
75968
  return n.showLoading = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.7-beta.31",
3
+ "version": "0.26.7-beta.33",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
@@ -40,7 +40,7 @@
40
40
  "@iconify-icons/ph": "1.2.5",
41
41
  "@iconify/vue": "4.1.2",
42
42
  "@kengic/core.core": "0.0.1-beta.19",
43
- "@kengic/core.react": "0.0.1-beta.59",
43
+ "@kengic/core.react": "0.0.1-beta.60",
44
44
  "@kengic/pont": "1.2.17-beta.1",
45
45
  "@rys-fe/vite-plugin-theme": "0.8.6",
46
46
  "@thymine/xunee": "0.4.9-beta.8",