aibox-custom-component-packages 0.0.13 → 0.0.15

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.
Files changed (88) hide show
  1. package/es/SourcePublish.mjs +1 -1
  2. package/es/assets/SourcePublish.css +1 -1
  3. package/es/chunks/{SourcePublish.BhLjt18i.js → SourcePublish.Dk7O9GzI.js} +2 -6
  4. package/es/index.mjs +1 -1
  5. package/lib/SourcePublish.js +1 -1
  6. package/lib/assets/SourcePublish.css +1 -1
  7. package/lib/chunks/SourcePublish.OeB6i-Iu.js +1 -0
  8. package/lib/index.js +1 -1
  9. package/package.json +2 -2
  10. package/es/chunks/AddOrEditSupplierDialog.BKR0RsiJ.js +0 -721
  11. package/es/chunks/AddOrEditSupplierDialog.CjNRipPe.js +0 -721
  12. package/es/chunks/AddOrEditSupplierDialog.CnsquSx2.js +0 -721
  13. package/es/chunks/AiboxTable.CDqNvRfJ.js +0 -635
  14. package/es/chunks/AiboxTable.CrWMAX84.js +0 -635
  15. package/es/chunks/ApplicationTypeTag.Cbdi0D65.js +0 -47
  16. package/es/chunks/ApplicationTypeTag.Df4BZxds.js +0 -47
  17. package/es/chunks/AuthSection.DFfj5MtZ.js +0 -201
  18. package/es/chunks/AuthSection.DWD_FxtJ.js +0 -201
  19. package/es/chunks/AvailableRangePreview.Bz9QkkAM.js +0 -194
  20. package/es/chunks/AvailableRangePreview.WFzbRasx.js +0 -194
  21. package/es/chunks/AvailableRangeSetting.Bq_K1zar.js +0 -229
  22. package/es/chunks/AvailableRangeSetting.Cty5Cdmh.js +0 -229
  23. package/es/chunks/CodeView.CWuSIL_F.js +0 -148
  24. package/es/chunks/CodeView.Dhxe1PQP.js +0 -148
  25. package/es/chunks/CommonTagsList.DSPdgjc3.js +0 -156
  26. package/es/chunks/CommonTagsList.NbXVfvLW.js +0 -156
  27. package/es/chunks/CommonTagsList.qam_Fp76.js +0 -156
  28. package/es/chunks/CreateMcpForm.BBVVd2RN.js +0 -308
  29. package/es/chunks/CreateMcpForm.BWUyeP01.js +0 -308
  30. package/es/chunks/CreateMcpForm.C8YfDSEM.js +0 -308
  31. package/es/chunks/CreateMcpForm.DSE5jyiW.js +0 -308
  32. package/es/chunks/CustomSidebar.BSGAhmVY.js +0 -585
  33. package/es/chunks/DocSyncSelect.D-WIvZZN.js +0 -2290
  34. package/es/chunks/DocSyncSelect.Kk88o9gO.js +0 -2290
  35. package/es/chunks/FileDisplay.B5laA4uX.js +0 -1649
  36. package/es/chunks/FileDisplay.BCTNdpl9.js +0 -1649
  37. package/es/chunks/FileDisplay.CBNYrdsK.js +0 -1560
  38. package/es/chunks/FilePreview.B9u8ODHp.js +0 -123
  39. package/es/chunks/FileUploader.BaikPGWb.js +0 -216
  40. package/es/chunks/FileUploader.DD-lopf-.js +0 -216
  41. package/es/chunks/McpFormDialog.4HDExbTn.js +0 -297
  42. package/es/chunks/McpFormDialog.CgnC1I7i.js +0 -297
  43. package/es/chunks/McpFormDialog.D3txmoEF.js +0 -297
  44. package/es/chunks/McpFormDialog.DNzqqhaX.js +0 -297
  45. package/es/chunks/McpParamsSet.DlWx6E5S.js +0 -501
  46. package/es/chunks/McpParamsSet.Tlo_lPn-.js +0 -501
  47. package/es/chunks/MdEditor.B9-B9aiy.js +0 -163
  48. package/es/chunks/MdEditor.CeEo0P6j.js +0 -163
  49. package/es/chunks/MdEditor.DtL0Se7T.js +0 -163
  50. package/es/chunks/ParameterTable.BCdnj1gW.js +0 -2010
  51. package/es/chunks/ParameterTable.hUsxEU6F.js +0 -2010
  52. package/es/chunks/PublishRecord.9PLs9yUj.js +0 -133
  53. package/es/chunks/PublishRecord.C0841sJ-.js +0 -133
  54. package/es/chunks/PublishRecord.DEzC7hmP.js +0 -133
  55. package/es/chunks/SourcePublish.C97G36H2.js +0 -972
  56. package/es/chunks/SourcePublish.DkyY1KEk.js +0 -972
  57. package/es/chunks/SourcePublish.Dx-ltk9U.js +0 -956
  58. package/es/chunks/SourcePublish.FiswtYfr.js +0 -972
  59. package/es/chunks/SourcePublish.nfXmrVHm.js +0 -972
  60. package/es/chunks/config.BEZNFeRN.js +0 -35
  61. package/es/chunks/config.LzgBLhTz.js +0 -270
  62. package/es/chunks/config.MfNKPMiA.js +0 -35
  63. package/es/chunks/config.TaUlPTYL.js +0 -270
  64. package/es/chunks/config.l1J_qxeB.js +0 -270
  65. package/es/chunks/i18n.CIjLjyDK.js +0 -418
  66. package/es/chunks/i18n.CxsxtRq_.js +0 -418
  67. package/es/chunks/usePreview.agdxmOk8.js +0 -126
  68. package/lib/chunks/AddOrEditSupplierDialog.D0DSQZiS.js +0 -1
  69. package/lib/chunks/CommonTagsList.DbNcVId5.js +0 -1
  70. package/lib/chunks/CreateMcpForm.Cm9eHXWg.js +0 -1
  71. package/lib/chunks/CreateMcpForm.DNijYbgd.js +0 -1
  72. package/lib/chunks/CustomSidebar.Dojb1xoS.js +0 -1
  73. package/lib/chunks/FileDisplay.B4gn0Jhp.js +0 -59
  74. package/lib/chunks/FileDisplay.B7JWIcFg.js +0 -59
  75. package/lib/chunks/FileDisplay.DjtHza32.js +0 -59
  76. package/lib/chunks/FilePreview.b1Gine59.js +0 -1
  77. package/lib/chunks/McpFormDialog.BgNPOGB-.js +0 -6
  78. package/lib/chunks/McpFormDialog.CL2bInts.js +0 -6
  79. package/lib/chunks/McpFormDialog.DbhQIwYW.js +0 -6
  80. package/lib/chunks/MdEditor.rVQbuxCg.js +0 -1
  81. package/lib/chunks/PublishRecord.B7xYlRKJ.js +0 -5
  82. package/lib/chunks/SourcePublish.BBsNlnp4.js +0 -1
  83. package/lib/chunks/SourcePublish.C9JAqJcV.js +0 -1
  84. package/lib/chunks/SourcePublish.CpeV-UOG.js +0 -1
  85. package/lib/chunks/SourcePublish.K4tntn9l.js +0 -1
  86. package/lib/chunks/SourcePublish.tNsaCp3r.js +0 -1
  87. package/lib/chunks/config.CDNV0bUm.js +0 -1
  88. package/lib/chunks/usePreview.Dmhz8azZ.js +0 -1
@@ -1,163 +0,0 @@
1
- import { t as e } from "./chunk.EU29TkMc.js";
2
- import { t } from "./withinstall.dLh4K-0g.js";
3
- import { c as n, p as r } from "./i18n.CIjLjyDK.js";
4
- import { t as i } from "./_plugin-vue_export-helper.Ct3qlEzt.js";
5
- import { t as a } from "./files.DvOT1nf3.js";
6
- import { computed as o, createElementBlock as s, createVNode as c, normalizeStyle as l, openBlock as u, ref as d, unref as f, watch as p } from "vue";
7
- import { ElMessage as m } from "element-plus";
8
- import { emitsMap as h } from "color-star-custom-methods";
9
- import { MdEditor as g } from "md-editor-v3";
10
- (/* @__PURE__ */ e(((e, t) => {
11
- t.exports = {};
12
- })))();
13
- import '../assets/MdEditor.css';//#endregion
14
- //#region components/MdEditor/index.vue
15
- var _ = { class: "md-editor-container" }, v = t(/* @__PURE__ */ i({
16
- __name: "index",
17
- props: {
18
- modelValue: {
19
- type: String,
20
- default: ""
21
- },
22
- height: {
23
- type: String,
24
- default: "500px"
25
- },
26
- theme: {
27
- type: String,
28
- default: "light"
29
- },
30
- previewTheme: {
31
- type: String,
32
- default: "default"
33
- },
34
- codeTheme: {
35
- type: String,
36
- default: "atom-one-dark"
37
- },
38
- language: {
39
- type: String,
40
- default: "zh-CN"
41
- },
42
- showToolbars: {
43
- type: Boolean,
44
- default: !0
45
- },
46
- businessType: {
47
- type: String,
48
- default: "common"
49
- },
50
- toolbars: {
51
- type: Array,
52
- default: () => []
53
- },
54
- disabled: {
55
- type: Boolean,
56
- default: !1
57
- },
58
- placeholder: {
59
- type: String,
60
- default: () => r("COMMON_DATA.PLACEHOLDER_CONTENT")
61
- },
62
- highlightTheme: {
63
- type: String,
64
- default: "atom-one-dark"
65
- },
66
- autoFocus: {
67
- type: Boolean,
68
- default: !1
69
- },
70
- previewOnly: {
71
- type: Boolean,
72
- default: !0
73
- },
74
- preview: {
75
- type: Boolean,
76
- default: !0
77
- },
78
- footers: {
79
- type: Array,
80
- default: () => ["markdownTotal", "htmlTotal"]
81
- }
82
- },
83
- emits: [
84
- h.updateModelValue,
85
- h.change,
86
- h.save,
87
- h.blur,
88
- h.focus
89
- ],
90
- setup(e, { emit: t }) {
91
- let { commonUpload: i } = a(), v = n(), y = e, b = d(y.modelValue);
92
- p(() => y.modelValue, (e) => {
93
- e !== b.value && (b.value = e);
94
- });
95
- let x = t, S = o(() => y.showToolbars ? y.toolbars.length ? y.toolbars : /* @__PURE__ */ "bold.underline.italic.strikeThrough.-.title.sub.sup.quote.unorderedList.orderedList.task.-.codeRow.code.link.image.table.mermaid.katex.-.revoke.next.save.-.pageFullscreen.fullscreen.preview.htmlPreview.catalog".split(".") : []), C = (e) => {
96
- b.value = e, x(h.updateModelValue, e), x(h.change, e);
97
- }, w = (e) => {
98
- x(h.save, e);
99
- }, T = (e) => {
100
- x(h.blur, e);
101
- }, E = (e) => {
102
- x(h.focus, e);
103
- }, D = async (e, t) => {
104
- try {
105
- let n = e.map(async (e) => {
106
- let t = new FormData();
107
- t.append("file", e);
108
- let { code: n, data: a } = await i(t, y.businessType);
109
- if (n === 0) return {
110
- url: `${a.url}?id="${a.bnid}"`,
111
- desc: e.name
112
- };
113
- throw Error(r("MESSAGE_REMIND.FILE_UPLOAD_FAIL") || "上传失败");
114
- });
115
- t(await Promise.all(n));
116
- } catch {
117
- m.error(r("MESSAGE_REMIND.FILE_UPLOAD_FAIL_TIP") || "上传图片失败"), t([]);
118
- }
119
- };
120
- return (t, n) => (u(), s("div", _, [c(f(g), {
121
- modelValue: b.value,
122
- "onUpdate:modelValue": n[0] ||= (e) => b.value = e,
123
- theme: e.theme,
124
- toolbars: S.value,
125
- "preview-theme": e.previewTheme,
126
- "code-theme": e.codeTheme,
127
- preview: e.preview,
128
- "preview-only": e.previewOnly,
129
- style: l({ height: e.height }),
130
- disabled: e.disabled,
131
- placeholder: e.placeholder,
132
- "highlight-theme": e.highlightTheme,
133
- "show-code-row-number": !0,
134
- "auto-focus": e.autoFocus,
135
- "tab-width": 2,
136
- footers: e.footers,
137
- language: f(v),
138
- onOnChange: C,
139
- onOnSave: w,
140
- onOnUploadImg: D,
141
- onOnBlur: T,
142
- onOnFocus: E,
143
- class: "custom-md-editor"
144
- }, null, 8, [
145
- "modelValue",
146
- "theme",
147
- "toolbars",
148
- "preview-theme",
149
- "code-theme",
150
- "preview",
151
- "preview-only",
152
- "style",
153
- "disabled",
154
- "placeholder",
155
- "highlight-theme",
156
- "auto-focus",
157
- "footers",
158
- "language"
159
- ])]));
160
- }
161
- }, [["__scopeId", "data-v-e78b00e9"]]));
162
- //#endregion
163
- export { v as t };
@@ -1,163 +0,0 @@
1
- import { t as e } from "./chunk.EU29TkMc.js";
2
- import { t } from "./withinstall.dLh4K-0g.js";
3
- import { c as n, p as r } from "./i18n.CxsxtRq_.js";
4
- import { t as i } from "./_plugin-vue_export-helper.Ct3qlEzt.js";
5
- import { t as a } from "./files.DvOT1nf3.js";
6
- import { computed as o, createElementBlock as s, createVNode as c, normalizeStyle as l, openBlock as u, ref as d, unref as f, watch as p } from "vue";
7
- import { ElMessage as m } from "element-plus";
8
- import { emitsMap as h } from "color-star-custom-methods";
9
- import { MdEditor as g } from "md-editor-v3";
10
- (/* @__PURE__ */ e(((e, t) => {
11
- t.exports = {};
12
- })))();
13
- import '../assets/MdEditor.css';//#endregion
14
- //#region components/MdEditor/index.vue
15
- var _ = { class: "md-editor-container" }, v = t(/* @__PURE__ */ i({
16
- __name: "index",
17
- props: {
18
- modelValue: {
19
- type: String,
20
- default: ""
21
- },
22
- height: {
23
- type: String,
24
- default: "500px"
25
- },
26
- theme: {
27
- type: String,
28
- default: "light"
29
- },
30
- previewTheme: {
31
- type: String,
32
- default: "default"
33
- },
34
- codeTheme: {
35
- type: String,
36
- default: "atom-one-dark"
37
- },
38
- language: {
39
- type: String,
40
- default: "zh-CN"
41
- },
42
- showToolbars: {
43
- type: Boolean,
44
- default: !0
45
- },
46
- businessType: {
47
- type: String,
48
- default: "common"
49
- },
50
- toolbars: {
51
- type: Array,
52
- default: () => []
53
- },
54
- disabled: {
55
- type: Boolean,
56
- default: !1
57
- },
58
- placeholder: {
59
- type: String,
60
- default: () => r("COMMON_DATA.PLACEHOLDER_CONTENT")
61
- },
62
- highlightTheme: {
63
- type: String,
64
- default: "atom-one-dark"
65
- },
66
- autoFocus: {
67
- type: Boolean,
68
- default: !1
69
- },
70
- previewOnly: {
71
- type: Boolean,
72
- default: !0
73
- },
74
- preview: {
75
- type: Boolean,
76
- default: !0
77
- },
78
- footers: {
79
- type: Array,
80
- default: () => ["markdownTotal", "htmlTotal"]
81
- }
82
- },
83
- emits: [
84
- h.updateModelValue,
85
- h.change,
86
- h.save,
87
- h.blur,
88
- h.focus
89
- ],
90
- setup(e, { emit: t }) {
91
- let { commonUpload: i } = a(), v = n(), y = e, b = d(y.modelValue);
92
- p(() => y.modelValue, (e) => {
93
- e !== b.value && (b.value = e);
94
- });
95
- let x = t, S = o(() => y.showToolbars ? y.toolbars.length ? y.toolbars : /* @__PURE__ */ "bold.underline.italic.strikeThrough.-.title.sub.sup.quote.unorderedList.orderedList.task.-.codeRow.code.link.image.table.mermaid.katex.-.revoke.next.save.-.pageFullscreen.fullscreen.preview.htmlPreview.catalog".split(".") : []), C = (e) => {
96
- b.value = e, x(h.updateModelValue, e), x(h.change, e);
97
- }, w = (e) => {
98
- x(h.save, e);
99
- }, T = (e) => {
100
- x(h.blur, e);
101
- }, E = (e) => {
102
- x(h.focus, e);
103
- }, D = async (e, t) => {
104
- try {
105
- let n = e.map(async (e) => {
106
- let t = new FormData();
107
- t.append("file", e);
108
- let { code: n, data: a } = await i(t, y.businessType);
109
- if (n === 0) return {
110
- url: `${a.url}?id="${a.bnid}"`,
111
- desc: e.name
112
- };
113
- throw Error(r("MESSAGE_REMIND.FILE_UPLOAD_FAIL") || "上传失败");
114
- });
115
- t(await Promise.all(n));
116
- } catch {
117
- m.error(r("MESSAGE_REMIND.FILE_UPLOAD_FAIL_TIP") || "上传图片失败"), t([]);
118
- }
119
- };
120
- return (t, n) => (u(), s("div", _, [c(f(g), {
121
- modelValue: b.value,
122
- "onUpdate:modelValue": n[0] ||= (e) => b.value = e,
123
- theme: e.theme,
124
- toolbars: S.value,
125
- "preview-theme": e.previewTheme,
126
- "code-theme": e.codeTheme,
127
- preview: e.preview,
128
- "preview-only": e.previewOnly,
129
- style: l({ height: e.height }),
130
- disabled: e.disabled,
131
- placeholder: e.placeholder,
132
- "highlight-theme": e.highlightTheme,
133
- "show-code-row-number": !0,
134
- "auto-focus": e.autoFocus,
135
- "tab-width": 2,
136
- footers: e.footers,
137
- language: f(v),
138
- onOnChange: C,
139
- onOnSave: w,
140
- onOnUploadImg: D,
141
- onOnBlur: T,
142
- onOnFocus: E,
143
- class: "custom-md-editor"
144
- }, null, 8, [
145
- "modelValue",
146
- "theme",
147
- "toolbars",
148
- "preview-theme",
149
- "code-theme",
150
- "preview",
151
- "preview-only",
152
- "style",
153
- "disabled",
154
- "placeholder",
155
- "highlight-theme",
156
- "auto-focus",
157
- "footers",
158
- "language"
159
- ])]));
160
- }
161
- }, [["__scopeId", "data-v-e78b00e9"]]));
162
- //#endregion
163
- export { v as t };