act-plus 1.1.14 → 1.1.16

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.
@@ -1,5 +1,6 @@
1
1
  import { inject as M, reactive as de, ref as L, watch as se, resolveComponent as y, openBlock as r, createBlock as u, withCtx as _, createElementVNode as B, createVNode as T, unref as l, createTextVNode as P, toDisplayString as w, createElementBlock as V, Fragment as D, renderList as R, createCommentVNode as re, resolveDynamicComponent as ne, isRef as ie } from "vue";
2
- import { a as ce, e as ue, r as fe, b as pe, E as W, _ as me, u as ye, T as z, P as be } from "./index-5c409834.js";
2
+ import { a as ce, e as ue, r as fe, b as pe, _ as me, u as ye, T as W, P as be } from "./index-a1b4f8cb.js";
3
+ import { ElMessage as z, ElNotification as _e } from "element-plus";
3
4
  import "vue-router";
4
5
  const $ = ce.create({
5
6
  baseURL: "",
@@ -19,16 +20,16 @@ $.interceptors.response.use(
19
20
  if (b.code == 200)
20
21
  return b;
21
22
  if (b.code == 401)
22
- sessionStorage.clear(), fe.replace("/"), pe(), W.error({ title: "错误", message: "登陆超时,请重新登录" });
23
+ sessionStorage.clear(), fe.replace("/"), pe(), z.error({ title: "错误", message: "登陆超时,请重新登录" });
23
24
  else
24
- return W.error({ title: "错误", message: b.msg }), Promise.reject(b.msg);
25
+ return z.error({ title: "错误", message: b.msg }), Promise.reject(b.msg);
25
26
  },
26
27
  (s) => {
27
28
  if (s.response.status != -1)
28
29
  return Promise.reject(s);
29
30
  }
30
31
  );
31
- const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
32
+ const he = { class: "no-config-field" }, ge = { class: "dialog-footer" }, Ce = {
32
33
  __name: "index",
33
34
  props: {
34
35
  visible: { type: Boolean, default: !1 },
@@ -94,7 +95,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
94
95
  }) : Array.isArray(p[d]) && (p[d] = Z(p[d].submitFieldType));
95
96
  }), ee(p).then((d) => {
96
97
  try {
97
- ElNotification({ title: i("act.tip"), message: i("act.saveSuccessfully"), type: "success", duration: 2500 }), k(), A("refresh");
98
+ _e({ title: i("act.tip"), message: i("act.saveSuccessfully"), type: "success", duration: 2500 }), k(), A("refresh");
98
99
  } catch (m) {
99
100
  console.error(m);
100
101
  }
@@ -119,7 +120,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
119
120
  "before-close": le
120
121
  }, {
121
122
  footer: _(() => [
122
- B("span", he, [
123
+ B("span", ge, [
123
124
  T(E, {
124
125
  loading: l(F).btnLoading,
125
126
  onClick: k
@@ -171,7 +172,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
171
172
  class: "no-config",
172
173
  key: q
173
174
  }, [
174
- B("span", _e, "【" + w(e.fieldName) + "】", 1),
175
+ B("span", he, "【" + w(e.fieldName) + "】", 1),
175
176
  P(w(l(i)("act.fieldCustom")), 1)
176
177
  ]))
177
178
  ], 64)) : (r(), u(m, {
@@ -238,7 +239,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
238
239
  "onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
239
240
  type: e.fieldUiType,
240
241
  placeholder: `${l(i)("act.selectPlaceholder")}${l(i)("act.time")}`,
241
- "value-format": l(z)[e.fieldUiType],
242
+ "value-format": l(W)[e.fieldUiType],
242
243
  disabled: e.isFormDisabled
243
244
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format", "disabled"])) : e.fieldType === "dateRange" ? (r(), u(C, {
244
245
  key: 5,
@@ -247,7 +248,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
247
248
  type: e.fieldUiType,
248
249
  "start-placeholder": l(i)("act.startTime"),
249
250
  "end-placeholder": l(i)("act.endTime"),
250
- "value-format": l(z)[e.fieldUiType],
251
+ "value-format": l(W)[e.fieldUiType],
251
252
  disabled: e.isFormDisabled
252
253
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format", "disabled"])) : e.fieldType === "provinceCascade" ? (r(), u(p, {
253
254
  key: 6,
@@ -284,7 +285,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
284
285
  }, 8, ["model-value", "title", "width"]);
285
286
  };
286
287
  }
287
- }, we = /* @__PURE__ */ me(ge, [["__scopeId", "data-v-87936a1d"]]);
288
+ }, ve = /* @__PURE__ */ me(Ce, [["__scopeId", "data-v-713d8e92"]]);
288
289
  export {
289
- we as default
290
+ ve as default
290
291
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "act-plus",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "private": false,
5
5
  "description": "act config",
6
6
  "main": "act-plus.js",
package/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.page-container{padding:12px}.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%}.el-date-editor{--el-date-editor-width: 100%}[data-v-d6afac32] .el-empty__image{width:100%}.page-container[data-v-182c790b]{position:relative}.page-container .header-operate[data-v-182c790b]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-182c790b]{display:flex;align-items:center;justify-content:flex-end}.page-container .submit-box-l[data-v-182c790b]{width:360px;margin-right:24px}.act-table .table-pagination[data-v-3c7bb62d]{padding:12px 4px;justify-content:flex-end}.search-module-container[data-v-810f647f] .el-form-item--default{margin-bottom:12px}.search-module-container .form-content[data-v-810f647f]{display:grid;grid-template-columns:repeat(var(--table-query-row-width),1fr);gap:12px 24px;padding:12px 12px 0}.search-module-container .form-content .search-form-btn[data-v-810f647f]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row-width);grid-column-end:var(--table-query-row-width)}.header-operate-container[data-v-67a827c3]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-67a827c3]{margin:6px}.card-header[data-v-87936a1d]{display:flex;align-items:center}.card-header-operate[data-v-87936a1d]{margin-left:auto}.no-config[data-v-87936a1d]{line-height:32px;font-weight:700}.no-config-field[data-v-87936a1d]{margin-left:60px;color:red}.add-icon-btn[data-v-e5474dc6]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-e5474dc6]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-e5474dc6]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-e5474dc6]{cursor:pointer;width:12px;height:12px}.card-header[data-v-7aea1297]{display:flex;align-items:center}.card-header-operate[data-v-7aea1297]{margin-left:auto}.form-list[data-v-7aea1297]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-7aea1297]:last-child{border:none}.config-list-operate[data-v-7aea1297]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-d50513ad]{display:flex;align-items:center}.card-header-operate[data-v-d50513ad]{margin-left:auto}.form-list[data-v-d50513ad]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-d50513ad]:last-child{border:none}.config-list-operate[data-v-d50513ad]{display:flex;align-items:center;justify-content:flex-end}.add-icon-btn[data-v-599e2ff7]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-599e2ff7]{display:flex;justify-content:center}.condition-box[data-v-599e2ff7] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-599e2ff7]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-599e2ff7]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-4134748b]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-4134748b]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-4134748b]{cursor:pointer;width:20px;height:20px}.select-icon-popover .icon-list{display:grid;grid-template-columns:repeat(8,1fr)}.select-icon-popover .icon-list .icon-item{display:flex;align-items:center;justify-content:center;margin:4px 0;border:1px solid transparent}.select-icon-popover .icon-list .icon-item .icon-svg{cursor:pointer}.select-icon-popover .icon-list .icon-item-checked{border:1px solid #000}.select-icon-container .icon-value[data-v-eac43c79]{display:flex;align-items:center}.select-icon-container .icon-value .icon-btn[data-v-eac43c79]{margin-left:12px}
1
+ @charset "UTF-8";.page-container{padding:12px}.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%}.el-date-editor{--el-date-editor-width: 100%}[data-v-a40007cc] .el-empty__image{width:100%}.page-container[data-v-130b19d7]{position:relative}.page-container .header-operate[data-v-130b19d7]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-130b19d7]{display:flex;align-items:center;justify-content:flex-end}.page-container .submit-box-l[data-v-130b19d7]{width:360px;margin-right:24px}.act-table .table-pagination[data-v-3c7bb62d]{padding:12px 4px;justify-content:flex-end}.search-module-container[data-v-810f647f] .el-form-item--default{margin-bottom:12px}.search-module-container .form-content[data-v-810f647f]{display:grid;grid-template-columns:repeat(var(--table-query-row-width),1fr);gap:12px 24px;padding:12px 12px 0}.search-module-container .form-content .search-form-btn[data-v-810f647f]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row-width);grid-column-end:var(--table-query-row-width)}.header-operate-container[data-v-67a827c3]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-67a827c3]{margin:6px}.card-header[data-v-713d8e92]{display:flex;align-items:center}.card-header-operate[data-v-713d8e92]{margin-left:auto}.no-config[data-v-713d8e92]{line-height:32px;font-weight:700}.no-config-field[data-v-713d8e92]{margin-left:60px;color:red}.add-icon-btn[data-v-e5474dc6]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-e5474dc6]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-e5474dc6]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-e5474dc6]{cursor:pointer;width:12px;height:12px}.card-header[data-v-7aea1297]{display:flex;align-items:center}.card-header-operate[data-v-7aea1297]{margin-left:auto}.form-list[data-v-7aea1297]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-7aea1297]:last-child{border:none}.config-list-operate[data-v-7aea1297]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-d50513ad]{display:flex;align-items:center}.card-header-operate[data-v-d50513ad]{margin-left:auto}.form-list[data-v-d50513ad]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-d50513ad]:last-child{border:none}.config-list-operate[data-v-d50513ad]{display:flex;align-items:center;justify-content:flex-end}.add-icon-btn[data-v-599e2ff7]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-599e2ff7]{display:flex;justify-content:center}.condition-box[data-v-599e2ff7] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-599e2ff7]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-599e2ff7]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-4134748b]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-4134748b]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-4134748b]{cursor:pointer;width:20px;height:20px}.select-icon-popover .icon-list{display:grid;grid-template-columns:repeat(8,1fr)}.select-icon-popover .icon-list .icon-item{display:flex;align-items:center;justify-content:center;margin:4px 0;border:1px solid transparent}.select-icon-popover .icon-list .icon-item .icon-svg{cursor:pointer}.select-icon-popover .icon-list .icon-item-checked{border:1px solid #000}.select-icon-container .icon-value[data-v-eac43c79]{display:flex;align-items:center}.select-icon-container .icon-value .icon-btn[data-v-eac43c79]{margin-left:12px}