3h1-ui 3.0.0-next.57 → 3.0.0-next.59

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.
package/es/index.js CHANGED
@@ -10037,9 +10037,9 @@ const _sfc_main$1n = defineComponent({
10037
10037
  const minRealHeightRef = ref(0);
10038
10038
  let maxHeightEnum;
10039
10039
  ((maxHeightEnum2) => {
10040
- maxHeightEnum2[maxHeightEnum2["small"] = 500] = "small";
10041
- maxHeightEnum2[maxHeightEnum2["default"] = 600] = "default";
10042
- maxHeightEnum2[maxHeightEnum2["large"] = 700] = "large";
10040
+ maxHeightEnum2[maxHeightEnum2["small"] = 600] = "small";
10041
+ maxHeightEnum2[maxHeightEnum2["default"] = 700] = "default";
10042
+ maxHeightEnum2[maxHeightEnum2["large"] = 800] = "large";
10043
10043
  })(maxHeightEnum || (maxHeightEnum = {}));
10044
10044
  let realHeight = 0;
10045
10045
  useWindowSizeFn(setModalHeight.bind(null, false));
@@ -10405,7 +10405,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
10405
10405
  renderSlot(_ctx.$slots, "insertFooter"),
10406
10406
  _ctx.showCancelBtn ? (openBlock(), createBlock(_component_BasicButton, mergeProps({
10407
10407
  key: 0,
10408
- type: "danger"
10408
+ type: "default"
10409
10409
  }, _ctx.cancelButtonProps, { onClick: _ctx.handleCancel }), {
10410
10410
  default: withCtx(() => [
10411
10411
  createTextVNode(toDisplayString(_ctx.cancelText), 1)
@@ -39475,7 +39475,7 @@ const ShyContainer = /* @__PURE__ */ defineComponent({
39475
39475
  };
39476
39476
  const optionBtnKeys = ["cancel", "save", "submit"];
39477
39477
  let BtnTypeEnum = /* @__PURE__ */ function(BtnTypeEnum2) {
39478
- BtnTypeEnum2["cancel"] = "danger";
39478
+ BtnTypeEnum2["cancel"] = "default";
39479
39479
  BtnTypeEnum2["save"] = "primary";
39480
39480
  BtnTypeEnum2["submit"] = "primary";
39481
39481
  return BtnTypeEnum2;
package/lib/index.js CHANGED
@@ -10061,9 +10061,9 @@ const _sfc_main$1n = vue.defineComponent({
10061
10061
  const minRealHeightRef = vue.ref(0);
10062
10062
  let maxHeightEnum;
10063
10063
  ((maxHeightEnum2) => {
10064
- maxHeightEnum2[maxHeightEnum2["small"] = 500] = "small";
10065
- maxHeightEnum2[maxHeightEnum2["default"] = 600] = "default";
10066
- maxHeightEnum2[maxHeightEnum2["large"] = 700] = "large";
10064
+ maxHeightEnum2[maxHeightEnum2["small"] = 600] = "small";
10065
+ maxHeightEnum2[maxHeightEnum2["default"] = 700] = "default";
10066
+ maxHeightEnum2[maxHeightEnum2["large"] = 800] = "large";
10067
10067
  })(maxHeightEnum || (maxHeightEnum = {}));
10068
10068
  let realHeight = 0;
10069
10069
  useWindowSizeFn(setModalHeight.bind(null, false));
@@ -10429,7 +10429,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
10429
10429
  vue.renderSlot(_ctx.$slots, "insertFooter"),
10430
10430
  _ctx.showCancelBtn ? (vue.openBlock(), vue.createBlock(_component_BasicButton, vue.mergeProps({
10431
10431
  key: 0,
10432
- type: "danger"
10432
+ type: "default"
10433
10433
  }, _ctx.cancelButtonProps, { onClick: _ctx.handleCancel }), {
10434
10434
  default: vue.withCtx(() => [
10435
10435
  vue.createTextVNode(vue.toDisplayString(_ctx.cancelText), 1)
@@ -39499,7 +39499,7 @@ const ShyContainer = /* @__PURE__ */ vue.defineComponent({
39499
39499
  };
39500
39500
  const optionBtnKeys = ["cancel", "save", "submit"];
39501
39501
  let BtnTypeEnum = /* @__PURE__ */ function(BtnTypeEnum2) {
39502
- BtnTypeEnum2["cancel"] = "danger";
39502
+ BtnTypeEnum2["cancel"] = "default";
39503
39503
  BtnTypeEnum2["save"] = "primary";
39504
39504
  BtnTypeEnum2["submit"] = "primary";
39505
39505
  return BtnTypeEnum2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.57",
3
+ "version": "3.0.0-next.59",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -30,8 +30,8 @@
30
30
  "vxe-table": "^4.3.6",
31
31
  "xe-utils": "^3.5.7",
32
32
  "@shy-plugins/tinymce": "^1.0.6",
33
- "@shy-plugins/utils": "1.0.0-next.1",
34
- "@shy-plugins/use": "1.0.0-next.1"
33
+ "@shy-plugins/use": "1.0.0-next.1",
34
+ "@shy-plugins/utils": "1.0.0-next.1"
35
35
  },
36
36
  "types": "es/ui/index.d.ts",
37
37
  "devDependencies": {