keli-ui 0.3.8 → 0.3.9
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/{ApprovalRecord-D0D_XZrT.js → ApprovalRecord-Dly1eZul.js} +2 -2
- package/dist/{ApprovalRecord-D0D_XZrT.js.map → ApprovalRecord-Dly1eZul.js.map} +1 -1
- package/dist/{api-DaVr-Kai.js → api-Nr4ycEeW.js} +35 -29
- package/dist/{api-DaVr-Kai.js.map → api-Nr4ycEeW.js.map} +1 -1
- package/dist/components/FormComponent/FormRender/FormRender.vue.d.ts +8 -8
- package/dist/config/index.d.ts +11 -0
- package/dist/hooks/index.d.ts +0 -1
- package/dist/keli-ui.js +1427 -57667
- package/dist/keli-ui.js.map +1 -1
- package/dist/keli-ui.umd.cjs +8 -2059
- package/dist/keli-ui.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/dist/hooks/useRemoteComponentManager.hook.d.ts +0 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, t } from "./api-
|
|
1
|
+
import { i as e, t } from "./api-Nr4ycEeW.js";
|
|
2
2
|
import { Fragment as n, createBlock as r, createElementBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, onMounted as c, openBlock as l, ref as u, renderList as d, resolveComponent as f, toDisplayString as p, watch as m, withCtx as h } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/AppComponent/components/ApprovalRecord.vue
|
|
@@ -109,4 +109,4 @@ var g = /* @__PURE__ */ s({
|
|
|
109
109
|
//#endregion
|
|
110
110
|
export { g as default };
|
|
111
111
|
|
|
112
|
-
//# sourceMappingURL=ApprovalRecord-
|
|
112
|
+
//# sourceMappingURL=ApprovalRecord-Dly1eZul.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApprovalRecord-
|
|
1
|
+
{"version":3,"file":"ApprovalRecord-Dly1eZul.js","names":[],"sources":["../src/components/AppComponent/components/ApprovalRecord.vue","../src/components/AppComponent/components/ApprovalRecord.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { onMounted, ref, watch } from 'vue';\n\nimport { HttpRCode } from '@/api';\nimport { getFlowRecordApi } from '@/api';\n\nconst props = defineProps({\n pageId: {\n type: Number,\n required: true,\n },\n dataId: {\n type: String,\n required: true,\n },\n});\n\ntype TimeLine = {\n datetime: string;\n nodeName: string;\n};\n\nconst tableData = ref([]);\n\nconst tableConfig = [\n {\n prop: 'nodeFrom',\n label: '起始环节',\n width: 130,\n },\n {\n prop: 'nodeTo',\n label: '流向环节',\n width: 130,\n },\n // {\n // prop: 'arriveDate',\n // label: '到达时间',\n // width: 150,\n // },\n {\n prop: 'endDate',\n label: '处理日期',\n width: 170,\n },\n {\n prop: 'reviewOption',\n label: '批阅类型',\n width: 100,\n },\n {\n prop: 'reviewHandler',\n label: '处理人',\n width: 100,\n },\n {\n prop: 'reviewSuggestion',\n label: '批阅建议',\n width: 130,\n },\n];\n\nconst timelines = ref<TimeLine[]>([]);\n\nconst getData = async () => {\n const result = await getFlowRecordApi(props.pageId, props.dataId);\n if (result.code === HttpRCode.SUCCESS) {\n tableData.value = result.data.flowRecordVOList;\n timelines.value = result.data.flowRecordTimeLineVOList;\n }\n};\n\nwatch(\n () => props.dataId,\n () => {\n getData();\n },\n);\n\nonMounted(() => {\n getData();\n});\n</script>\n\n<template>\n <el-splitter>\n <el-splitter-panel size=\"30%\" :min=\"100\" collapsible>\n <el-timeline class=\"ml-1\">\n <el-timeline-item\n v-for=\"(activity, index) in timelines\"\n :key=\"index\"\n :timestamp=\"activity.datetime\"\n color=\"#0bbd87\"\n >\n {{ activity.nodeName }}\n </el-timeline-item>\n </el-timeline>\n </el-splitter-panel>\n <el-splitter-panel :min=\"200\">\n <el-button @click=\"getData\" size=\"small\">刷新</el-button>\n <el-table :data=\"tableData\" stripe style=\"width: 100%\">\n <el-table-column\n v-for=\"item in tableConfig\"\n :key=\"item.prop\"\n :prop=\"item.prop\"\n :label=\"item.label\"\n :min-width=\"item.width\"\n show-overflow-tooltip\n />\n </el-table>\n </el-splitter-panel>\n </el-splitter>\n</template>\n\n<style scoped lang=\"scss\"></style>\n","<script setup lang=\"ts\">\nimport { onMounted, ref, watch } from 'vue';\n\nimport { HttpRCode } from '@/api';\nimport { getFlowRecordApi } from '@/api';\n\nconst props = defineProps({\n pageId: {\n type: Number,\n required: true,\n },\n dataId: {\n type: String,\n required: true,\n },\n});\n\ntype TimeLine = {\n datetime: string;\n nodeName: string;\n};\n\nconst tableData = ref([]);\n\nconst tableConfig = [\n {\n prop: 'nodeFrom',\n label: '起始环节',\n width: 130,\n },\n {\n prop: 'nodeTo',\n label: '流向环节',\n width: 130,\n },\n // {\n // prop: 'arriveDate',\n // label: '到达时间',\n // width: 150,\n // },\n {\n prop: 'endDate',\n label: '处理日期',\n width: 170,\n },\n {\n prop: 'reviewOption',\n label: '批阅类型',\n width: 100,\n },\n {\n prop: 'reviewHandler',\n label: '处理人',\n width: 100,\n },\n {\n prop: 'reviewSuggestion',\n label: '批阅建议',\n width: 130,\n },\n];\n\nconst timelines = ref<TimeLine[]>([]);\n\nconst getData = async () => {\n const result = await getFlowRecordApi(props.pageId, props.dataId);\n if (result.code === HttpRCode.SUCCESS) {\n tableData.value = result.data.flowRecordVOList;\n timelines.value = result.data.flowRecordTimeLineVOList;\n }\n};\n\nwatch(\n () => props.dataId,\n () => {\n getData();\n },\n);\n\nonMounted(() => {\n getData();\n});\n</script>\n\n<template>\n <el-splitter>\n <el-splitter-panel size=\"30%\" :min=\"100\" collapsible>\n <el-timeline class=\"ml-1\">\n <el-timeline-item\n v-for=\"(activity, index) in timelines\"\n :key=\"index\"\n :timestamp=\"activity.datetime\"\n color=\"#0bbd87\"\n >\n {{ activity.nodeName }}\n </el-timeline-item>\n </el-timeline>\n </el-splitter-panel>\n <el-splitter-panel :min=\"200\">\n <el-button @click=\"getData\" size=\"small\">刷新</el-button>\n <el-table :data=\"tableData\" stripe style=\"width: 100%\">\n <el-table-column\n v-for=\"item in tableConfig\"\n :key=\"item.prop\"\n :prop=\"item.prop\"\n :label=\"item.label\"\n :min-width=\"item.width\"\n show-overflow-tooltip\n />\n </el-table>\n </el-splitter-panel>\n </el-splitter>\n</template>\n\n<style scoped lang=\"scss\"></style>\n"],"mappings":";;;;;;;;;;;;;;;;;EAMA,IAAM,IAAQ,GAgBR,IAAY,EAAI,EAAE,CAAC,EAEnB,IAAc;GAClB;IACE,MAAM;IACN,OAAO;IACP,OAAO;IACR;GACD;IACE,MAAM;IACN,OAAO;IACP,OAAO;IACR;GAMD;IACE,MAAM;IACN,OAAO;IACP,OAAO;IACR;GACD;IACE,MAAM;IACN,OAAO;IACP,OAAO;IACR;GACD;IACE,MAAM;IACN,OAAO;IACP,OAAO;IACR;GACD;IACE,MAAM;IACN,OAAO;IACP,OAAO;IACR;GACF,EAEK,IAAY,EAAgB,EAAE,CAAC,EAE/B,IAAU,YAAY;GAC1B,IAAM,IAAS,MAAM,EAAiB,EAAM,QAAQ,EAAM,OAAO;GACjE,AAAI,EAAO,SAAS,EAAU,YAC5B,EAAU,QAAQ,EAAO,KAAK,kBAC9B,EAAU,QAAQ,EAAO,KAAK;;SAIlC,QACQ,EAAM,cACN;GACJ,GAAS;IAEZ,EAED,QAAgB;GACd,GAAS;IACT;;eAIA,EA0Bc,GAAA,MAAA;qBAdQ,CAXpB,EAWoB,GAAA;KAXD,MAAK;KAAO,KAAK;KAAK,aAAA;;sBAUzB,CATd,EASc,GAAA,EATD,OAAM,QAAM,EAAA;uBAEiB,EAAA,EAAA,GAAA,EADxC,EAOmB,GAAA,MAAA,EANW,EAAA,QAApB,GAAU,YADpB,EAOmB,GAAA;OALhB,KAAK;OACL,WAAW,EAAS;OACrB,OAAM;;wBAEiB,CAAA,EAAA,EAApB,EAAS,SAAQ,EAAA,EAAA,CAAA,CAAA;;;;;;QAI1B,EAYoB,GAAA,EAZA,KAAK,KAAG,EAAA;sBAC6B,CAAvD,EAAuD,GAAA;MAA3C,SAAO;MAAS,MAAK;;uBAAU,CAAA,GAAA,AAAA,EAAA,OAAA,CAAA,EAAF,MAAE,GAAA,CAAA,CAAA,CAAA;;SAC3C,EASW,GAAA;MATA,MAAM,EAAA;MAAW,QAAA;MAAO,OAAA,EAAA,OAAA,QAAmB;;uBAEvB,EAAA,GAAA,EAD7B,EAOE,GAAA,MAAA,EANe,IAAR,MADT,EAOE,GAAA;OALC,KAAK,EAAK;OACV,MAAM,EAAK;OACX,OAAO,EAAK;OACZ,aAAW,EAAK;OACjB,yBAAA"}
|
|
@@ -4371,104 +4371,110 @@ function ea() {
|
|
|
4371
4371
|
function ta() {
|
|
4372
4372
|
return globalThis.KELI_UI_FILE_URL || W?.fileUrl || "";
|
|
4373
4373
|
}
|
|
4374
|
+
function na() {
|
|
4375
|
+
return W?.app;
|
|
4376
|
+
}
|
|
4377
|
+
function ra() {
|
|
4378
|
+
return W?.registerComponent;
|
|
4379
|
+
}
|
|
4374
4380
|
//#endregion
|
|
4375
4381
|
//#region src/api/app/app.api.ts
|
|
4376
|
-
function
|
|
4382
|
+
function ia(e, t, n) {
|
|
4377
4383
|
return q().getFormRenderDataApi(e, t, n);
|
|
4378
4384
|
}
|
|
4379
|
-
function
|
|
4385
|
+
function aa(e, t, n) {
|
|
4380
4386
|
return q().saveFormDataApi(e, t, n);
|
|
4381
4387
|
}
|
|
4382
|
-
function
|
|
4388
|
+
function oa(e, t, n) {
|
|
4383
4389
|
return q().submitBeforeCheckApi(e, t, n);
|
|
4384
4390
|
}
|
|
4385
|
-
function
|
|
4391
|
+
function sa(e) {
|
|
4386
4392
|
return q().submitFlowApi(e);
|
|
4387
4393
|
}
|
|
4388
|
-
function
|
|
4394
|
+
function ca(e, t, n) {
|
|
4389
4395
|
return q().backBeforeCheckApi(e, t, n);
|
|
4390
4396
|
}
|
|
4391
|
-
function
|
|
4397
|
+
function la(e) {
|
|
4392
4398
|
return q().backFlowApi(e);
|
|
4393
4399
|
}
|
|
4394
|
-
function
|
|
4400
|
+
function ua(e, t) {
|
|
4395
4401
|
return q().getPageUploadFileApi(e, t);
|
|
4396
4402
|
}
|
|
4397
|
-
function
|
|
4403
|
+
function da(e, t, n) {
|
|
4398
4404
|
return q().executeButtonProgramApi(e, t, n);
|
|
4399
4405
|
}
|
|
4400
|
-
function
|
|
4406
|
+
function fa(e) {
|
|
4401
4407
|
return q().getAppChartListApi(e);
|
|
4402
4408
|
}
|
|
4403
|
-
function
|
|
4409
|
+
function pa(e) {
|
|
4404
4410
|
return q().getAppChartContentApi(e);
|
|
4405
4411
|
}
|
|
4406
4412
|
//#endregion
|
|
4407
4413
|
//#region src/api/appEmbedded/appEmbedded.api.ts
|
|
4408
|
-
function
|
|
4414
|
+
function ma(e, t) {
|
|
4409
4415
|
return Y().getEmbeddedTableRenderApi(e, t);
|
|
4410
4416
|
}
|
|
4411
|
-
function
|
|
4417
|
+
function ha(e) {
|
|
4412
4418
|
return Y().getEmbeddedTableDataApi(e);
|
|
4413
4419
|
}
|
|
4414
|
-
function
|
|
4420
|
+
function ga(e, t, n) {
|
|
4415
4421
|
return Y().getEmbeddedFormRenderDataApi(e, t, n);
|
|
4416
4422
|
}
|
|
4417
|
-
function
|
|
4423
|
+
function _a(e, t, n, r) {
|
|
4418
4424
|
return Y().saveEmbeddedTableFormDataApi(e, t, n, r);
|
|
4419
4425
|
}
|
|
4420
|
-
function
|
|
4426
|
+
function va(e) {
|
|
4421
4427
|
return Y().onValueChangeApi(e);
|
|
4422
4428
|
}
|
|
4423
4429
|
//#endregion
|
|
4424
4430
|
//#region src/api/appTable/appTable.api.ts
|
|
4425
|
-
function
|
|
4431
|
+
function ya(e) {
|
|
4426
4432
|
return J().getTableRenderApi(e);
|
|
4427
4433
|
}
|
|
4428
|
-
function
|
|
4434
|
+
function ba(e, t, n) {
|
|
4429
4435
|
return J().getTableDataApi(e, t, n);
|
|
4430
4436
|
}
|
|
4431
|
-
function
|
|
4437
|
+
function xa(e, t, n) {
|
|
4432
4438
|
return J().getTreeTableDataApi(e, t, n);
|
|
4433
4439
|
}
|
|
4434
|
-
function
|
|
4440
|
+
function Sa(e, t) {
|
|
4435
4441
|
return J().deleteTableDataApi(e, t);
|
|
4436
4442
|
}
|
|
4437
|
-
function
|
|
4443
|
+
function Ca(e) {
|
|
4438
4444
|
return J().getQueryTreeFilterDataApi(e);
|
|
4439
4445
|
}
|
|
4440
|
-
function
|
|
4446
|
+
function wa(e) {
|
|
4441
4447
|
return J().changTableSortApi(e);
|
|
4442
4448
|
}
|
|
4443
4449
|
//#endregion
|
|
4444
4450
|
//#region src/api/dataset/dataset.api.ts
|
|
4445
|
-
function
|
|
4451
|
+
function Ta(e, t = {}) {
|
|
4446
4452
|
return X().datasetApi(e, t);
|
|
4447
4453
|
}
|
|
4448
4454
|
//#endregion
|
|
4449
4455
|
//#region src/api/file/file.api.ts
|
|
4450
|
-
function
|
|
4456
|
+
function Ea(e) {
|
|
4451
4457
|
return Z().deletePageUploadFileApi(e);
|
|
4452
4458
|
}
|
|
4453
4459
|
//#endregion
|
|
4454
4460
|
//#region src/api/flowRecord/flowRecord.api.ts
|
|
4455
|
-
function
|
|
4461
|
+
function Da(e, t) {
|
|
4456
4462
|
return Q().getFlowRecordApi(e, t);
|
|
4457
4463
|
}
|
|
4458
4464
|
//#endregion
|
|
4459
4465
|
//#region src/api/iconify/iconify.api.ts
|
|
4460
|
-
function
|
|
4466
|
+
function Oa() {
|
|
4461
4467
|
return $().getCollectionsApi();
|
|
4462
4468
|
}
|
|
4463
|
-
function
|
|
4469
|
+
function ka(e) {
|
|
4464
4470
|
return $().searchPageApi(e);
|
|
4465
4471
|
}
|
|
4466
4472
|
//#endregion
|
|
4467
4473
|
//#region src/api/index.ts
|
|
4468
|
-
var
|
|
4474
|
+
var Aa = /* @__PURE__ */ function(e) {
|
|
4469
4475
|
return e[e.ERROR = -5] = "ERROR", e[e.NotAuthorized = 401] = "NotAuthorized", e[e.NotSafeAuth = -4] = "NotSafeAuth", e[e.SUCCESS = 0] = "SUCCESS", e[e.WARNING = -1] = "WARNING", e;
|
|
4470
4476
|
}({});
|
|
4471
4477
|
//#endregion
|
|
4472
|
-
export {
|
|
4478
|
+
export { I as $, H as A, G as B, ia as C, sa as D, oa as E, X as F, Qi as G, K as H, Z as I, s as J, B as K, ta as L, Y as M, na as N, V as O, J as P, P as Q, Q as R, fa as S, aa as T, ea as U, ra as V, $i as W, M as X, c as Y, N as Z, _a as _, Ea as a, da as b, Sa as c, ya as d, L as et, xa as f, va as g, ma as h, Da as i, q as j, U as k, Ca as l, ha as m, Oa as n, z as nt, Ta as o, ga as p, Zi as q, ka as r, ie as rt, wa as s, Aa as t, R as tt, ba as u, ca as v, ua as w, pa as x, la as y, $ as z };
|
|
4473
4479
|
|
|
4474
|
-
//# sourceMappingURL=api-
|
|
4480
|
+
//# sourceMappingURL=api-Nr4ycEeW.js.map
|