liyu-pc-base 1.0.457 → 1.0.460

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.
@@ -5,7 +5,7 @@ import { t as l } from "../_plugin-vue_export-helper-D3hKq4w_.js";
5
5
  import { t as u } from "../lodash-T_IuH2iQ.js";
6
6
  import { getApiData as d } from "../api/api-model.js";
7
7
  import { D as f, N as p, r as m } from "../function-CCxDERgN.js";
8
- import { n as h } from "../remotePages-BTRkqR-c.js";
8
+ import { r as h } from "../remotePages-BGCsHRif.js";
9
9
  import { t as g } from "../RemoteModal-jn_BF1Qc.js";
10
10
  import { t as _ } from "../RemoteSelectPro-CC2UDjEo.js";
11
11
  import { t as v } from "../JsonObj-Bq62nHPb.js";
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../../remotePages-BTRkqR-c.js";
2
- export { n as getDefaultAndServerConfig, e as getPageConfig, t as getViewSettingsAndPageConfig };
1
+ import { a as e, i as t, n, r, t as i } from "../../remotePages-BGCsHRif.js";
2
+ export { i as getConditionsHistory, n as getDefaultAndServerConfig, r as getPageConfig, t as getViewSettingsAndPageConfig, e as setConditionsHistory };
@@ -1,19 +1,14 @@
1
- import { notification as e } from "ant-design-vue";
2
1
  //#region src/components/remotePages/utils.ts
3
- var t = (t, n) => {
4
- let r = t.split("-");
5
- if (r.length >= 2) return "/" + r[0] + "/" + n[0] + r[1] + n[1];
6
- e.info({
7
- message: "温馨提示",
8
- description: "modalType结构错误"
9
- });
10
- }, n = (t, n) => {
11
- let r = t.split("-");
12
- if (r.length >= 2) return r[0] + "/" + n + r[1];
13
- e.info({
14
- message: "温馨提示",
15
- description: "modalType结构错误"
16
- });
2
+ var e = (e, t) => {
3
+ let n = e.split("-");
4
+ if (n.length >= 2) return "/" + n[0] + "/" + t[0] + n[1] + t[1];
5
+ console.error(`modalType:${e}结构错误`);
6
+ }, t = (e, t) => {
7
+ let n = e.split("-");
8
+ if (n.length >= 2) {
9
+ let r = e.replace(/^[^-]*-/, "");
10
+ return n[0] + "/" + t + r;
11
+ } else console.error(`modalType:${e}结构错误`);
17
12
  };
18
13
  //#endregion
19
- export { n as getApiPermission, t as getUrl };
14
+ export { t as getApiPermission, e as getUrl };
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","names":[],"sources":["../../../src/components/remotePages/utils.ts"],"sourcesContent":["import { notification } from 'ant-design-vue';\n\nexport const getUrl = (modalType: string, type: any) => {\n const list = modalType.split('-');\n if (list.length >= 2) {\n return '/' + list[0] + '/' + type[0] + list[1] + type[1];\n } else {\n notification.info({\n message: '温馨提示',\n description: 'modalType结构错误',\n });\n }\n};\nexport const getApiPermission = (modalType: string, type: any) => {\n const list = modalType.split('-');\n if (list.length >= 2) {\n return list[0] + '/' + type + list[1];\n } else {\n notification.info({\n message: '温馨提示',\n description: 'modalType结构错误',\n });\n }\n};\n"],"mappings":";;AAEA,IAAa,KAAU,GAAmB,MAAc;CACtD,IAAM,IAAO,EAAU,MAAM,IAAI;AACjC,KAAI,EAAK,UAAU,EACjB,QAAO,MAAM,EAAK,KAAK,MAAM,EAAK,KAAK,EAAK,KAAK,EAAK;AAEtD,GAAa,KAAK;EAChB,SAAS;EACT,aAAa;EACd,CAAC;GAGO,KAAoB,GAAmB,MAAc;CAChE,IAAM,IAAO,EAAU,MAAM,IAAI;AACjC,KAAI,EAAK,UAAU,EACjB,QAAO,EAAK,KAAK,MAAM,IAAO,EAAK;AAEnC,GAAa,KAAK;EAChB,SAAS;EACT,aAAa;EACd,CAAC"}
1
+ {"version":3,"file":"utils.js","names":[],"sources":["../../../src/components/remotePages/utils.ts"],"sourcesContent":["export const getUrl = (modalType: string, type: any) => {\n const list = modalType.split('-');\n if (list.length >= 2) {\n return '/' + list[0] + '/' + type[0] + list[1] + type[1];\n } else {\n console.error(`modalType:${modalType}结构错误`);\n }\n};\nexport const getApiPermission = (modalType: string, type: any) => {\n const list = modalType.split('-');\n if (list.length >= 2) {\n const model_and_suffix = modalType.replace(/^[^-]*-/, '');\n return list[0] + '/' + type + model_and_suffix;\n } else {\n console.error(`modalType:${modalType}结构错误`);\n }\n};\n"],"mappings":";AAAA,IAAa,KAAU,GAAmB,MAAc;CACtD,IAAM,IAAO,EAAU,MAAM,IAAI;AACjC,KAAI,EAAK,UAAU,EACjB,QAAO,MAAM,EAAK,KAAK,MAAM,EAAK,KAAK,EAAK,KAAK,EAAK;AAEtD,SAAQ,MAAM,aAAa,EAAU,MAAM;GAGlC,KAAoB,GAAmB,MAAc;CAChE,IAAM,IAAO,EAAU,MAAM,IAAI;AACjC,KAAI,EAAK,UAAU,GAAG;EACpB,IAAM,IAAmB,EAAU,QAAQ,WAAW,GAAG;AACzD,SAAO,EAAK,KAAK,MAAM,IAAO;OAE9B,SAAQ,MAAM,aAAa,EAAU,MAAM"}