@mingto/mt-ui 1.1.39 → 1.1.41

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/dist/index.es.js CHANGED
@@ -7120,22 +7120,19 @@ var MtImage = withInstall$1(/* @__PURE__ */ defineComponent({
7120
7120
  class: normalizeClass(unref(ns).e("img")),
7121
7121
  style: normalizeStyle({
7122
7122
  objectFit: props.fit,
7123
- objectPosition: props.position || void 0
7123
+ objectPosition: props.position
7124
7124
  }),
7125
7125
  draggable: props.draggable,
7126
7126
  onLoad: handleLoad,
7127
7127
  onError: handleError
7128
7128
  }, null, 46, _hoisted_1$19)) : createCommentVNode("", true),
7129
- renderSlot(_ctx.$slots, "error", {}, () => [hasLoadError.value ? (openBlock(), createElementBlock("div", {
7130
- key: 0,
7131
- class: normalizeClass(unref(ns).e("error"))
7132
- }, [createVNode(unref(MtIcon), {
7129
+ hasLoadError.value ? renderSlot(_ctx.$slots, "error", { key: 1 }, () => [createElementVNode("div", { class: normalizeClass(unref(ns).e("error")) }, [createVNode(unref(MtIcon), {
7133
7130
  name: "icon-a-weitupian1",
7134
7131
  size: "40",
7135
7132
  color: "#86909c"
7136
- })], 2)) : createCommentVNode("", true)]),
7133
+ })], 2)]) : createCommentVNode("", true),
7137
7134
  isLoading.value ? (openBlock(), createElementBlock("div", {
7138
- key: 1,
7135
+ key: 2,
7139
7136
  class: normalizeClass(unref(ns).e("loading"))
7140
7137
  }, [createVNode(unref(MtLoading))], 2)) : createCommentVNode("", true)
7141
7138
  ], 6);
@@ -21424,7 +21421,7 @@ var upload_image_only_trigger_default = /* @__PURE__ */ defineComponent({
21424
21421
  }
21425
21422
  });
21426
21423
  //#endregion
21427
- //#region ../../node_modules/.pnpm/@mingto+obs-server@1.0.39/node_modules/@mingto/obs-server/dist/index.js
21424
+ //#region ../../node_modules/.pnpm/@mingto+obs-server@1.0.40/node_modules/@mingto/obs-server/dist/index.js
21428
21425
  var __defProp = Object.defineProperty;
21429
21426
  var __exportAll = (all, no_symbols) => {
21430
21427
  let target = {};
@@ -53145,7 +53142,6 @@ var OneUploadFile$1 = /* @__PURE__ */ function(_UploadFile) {
53145
53142
  formData.append("policy", this.signatureData.policy);
53146
53143
  formData.append("AccessKeyId", this.signatureData.accessId);
53147
53144
  formData.append("signature", this.signatureData.signature);
53148
- formData.append("sceneId", this.uploadOptions.sceneId);
53149
53145
  formData.append("file", this.uploadOptions.sourceFile);
53150
53146
  _context2.n = 1;
53151
53147
  return axios({
package/dist/index.umd.js CHANGED
@@ -7151,22 +7151,19 @@
7151
7151
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("img")),
7152
7152
  style: (0, vue.normalizeStyle)({
7153
7153
  objectFit: props.fit,
7154
- objectPosition: props.position || void 0
7154
+ objectPosition: props.position
7155
7155
  }),
7156
7156
  draggable: props.draggable,
7157
7157
  onLoad: handleLoad,
7158
7158
  onError: handleError
7159
7159
  }, null, 46, _hoisted_1$19)) : (0, vue.createCommentVNode)("", true),
7160
- (0, vue.renderSlot)(_ctx.$slots, "error", {}, () => [hasLoadError.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
7161
- key: 0,
7162
- class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("error"))
7163
- }, [(0, vue.createVNode)((0, vue.unref)(MtIcon), {
7160
+ hasLoadError.value ? (0, vue.renderSlot)(_ctx.$slots, "error", { key: 1 }, () => [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("error")) }, [(0, vue.createVNode)((0, vue.unref)(MtIcon), {
7164
7161
  name: "icon-a-weitupian1",
7165
7162
  size: "40",
7166
7163
  color: "#86909c"
7167
- })], 2)) : (0, vue.createCommentVNode)("", true)]),
7164
+ })], 2)]) : (0, vue.createCommentVNode)("", true),
7168
7165
  isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
7169
- key: 1,
7166
+ key: 2,
7170
7167
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("loading"))
7171
7168
  }, [(0, vue.createVNode)((0, vue.unref)(MtLoading))], 2)) : (0, vue.createCommentVNode)("", true)
7172
7169
  ], 6);
@@ -21502,7 +21499,7 @@ triggerRef });
21502
21499
  }
21503
21500
  });
21504
21501
  //#endregion
21505
- //#region ../../node_modules/.pnpm/@mingto+obs-server@1.0.39/node_modules/@mingto/obs-server/dist/index.js
21502
+ //#region ../../node_modules/.pnpm/@mingto+obs-server@1.0.40/node_modules/@mingto/obs-server/dist/index.js
21506
21503
  var __defProp = Object.defineProperty;
21507
21504
  var __exportAll = (all, no_symbols) => {
21508
21505
  let target = {};
@@ -53223,7 +53220,6 @@ triggerRef });
53223
53220
  formData.append("policy", this.signatureData.policy);
53224
53221
  formData.append("AccessKeyId", this.signatureData.accessId);
53225
53222
  formData.append("signature", this.signatureData.signature);
53226
- formData.append("sceneId", this.uploadOptions.sceneId);
53227
53223
  formData.append("file", this.uploadOptions.sourceFile);
53228
53224
  _context2.n = 1;
53229
53225
  return axios({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mingto/mt-ui",
3
3
  "type": "module",
4
- "version": "1.1.39",
4
+ "version": "1.1.41",
5
5
  "description": "UI组件库",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -26,7 +26,7 @@
26
26
  "vue": "^3.5.13"
27
27
  },
28
28
  "dependencies": {
29
- "@mingto/obs-server": "^1.0.39",
29
+ "@mingto/obs-server": "^1.0.40",
30
30
  "@mingto/tools": "^1.0.685",
31
31
  "@popperjs/core": "^2.11.8",
32
32
  "@types/qrcode": "^1.5.6",