@gct-paas/core-web 0.1.4-dev.12 → 0.1.4-dev.13
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/de_DE-Dlmr1Wso.js +152 -0
- package/dist/en_US-B9GNh9s3.js +173 -0
- package/dist/es_ES-CdOh6_BZ.js +159 -0
- package/dist/fr_FR-DA5AJaJ_.js +168 -0
- package/dist/index.min.css +1 -1
- package/dist/ja_JP-DE6fp7p7.js +140 -0
- package/dist/loader.esm.min.js +9583 -0
- package/dist/{monaco-editor-BHuf3IVH.js → monaco-editor-Di2Ob0f2.js} +37 -38
- package/dist/objectSpread2-fLnUNEWu.js +62 -0
- package/dist/pt_PT-DqWIQ8Sv.js +134 -0
- package/dist/ru_RU-B7eejpuq.js +165 -0
- package/dist/tr_TR-Cp-TWGG5.js +167 -0
- package/dist/{useMonacoEditor-CfhCBaPa.js → useMonacoEditor-B4gp3RiK.js} +753 -817
- package/dist/vi_VN-BWekEft9.js +85 -0
- package/dist/zh_CN-CaadhslE.js +174 -0
- package/dist/zh_TW-DHMPuQGm.js +169 -0
- package/es/components/field-upload/index.d.ts +2 -0
- package/es/components/field-upload/index.mjs +7 -0
- package/es/components/field-upload/src/FieldUpload.vue.d.ts +37 -0
- package/es/components/field-upload/src/FieldUpload.vue.mjs +5 -0
- package/es/components/field-upload/src/FieldUpload.vue_vue_type_script_setup_true_name_FieldUpload_lang.mjs +111 -0
- package/es/components/field-upload/src/components/base-upload.vue.d.ts +21 -0
- package/es/components/field-upload/src/components/base-upload.vue.mjs +7 -0
- package/es/components/field-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +227 -0
- package/es/components/field-upload/src/components/base-upload.vue_vue_type_style_index_0_scoped_f53b6ac6_lang.css +76 -0
- package/es/components/field-upload/src/components/file-list.vue.d.ts +17 -0
- package/es/components/field-upload/src/components/file-list.vue.mjs +7 -0
- package/es/components/field-upload/src/components/file-list.vue_vue_type_script_setup_true_name_fileList_lang.mjs +129 -0
- package/es/components/field-upload/src/components/file-list.vue_vue_type_style_index_0_scoped_3918aad0_lang.css +129 -0
- package/es/components/field-upload/src/components/upload-design.vue.d.ts +5 -0
- package/es/components/field-upload/src/components/upload-design.vue.mjs +7 -0
- package/es/components/field-upload/src/components/upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs +43 -0
- package/es/components/field-upload/src/components/upload-design.vue_vue_type_style_index_0_scoped_1e5189c1_lang.css +43 -0
- package/es/components/field-upload/src/hooks/hooks.d.ts +4 -0
- package/es/components/field-upload/src/hooks/hooks.mjs +47 -0
- package/es/components/field-upload/src/types/index.d.ts +42 -0
- package/es/components/field-upload/src/types/index.mjs +24 -0
- package/es/components/image-upload/index.d.ts +2 -0
- package/es/components/image-upload/index.mjs +7 -0
- package/es/components/image-upload/src/ImageUpload.vue.d.ts +32 -0
- package/es/components/image-upload/src/ImageUpload.vue.mjs +5 -0
- package/es/components/image-upload/src/ImageUpload.vue_vue_type_script_setup_true_name_ImageUpload_lang.mjs +74 -0
- package/es/components/image-upload/src/components/base-upload.vue.d.ts +24 -0
- package/es/components/image-upload/src/components/base-upload.vue.mjs +8 -0
- package/es/components/image-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +209 -0
- package/es/components/image-upload/src/components/base-upload.vue_vue_type_style_index_0_scoped_3248e630_lang.css +73 -0
- package/es/components/image-upload/src/components/base-upload.vue_vue_type_style_index_1_lang.css +3 -0
- package/es/components/image-upload/src/components/upload-design.vue.d.ts +6 -0
- package/es/components/image-upload/src/components/upload-design.vue.mjs +7 -0
- package/es/components/image-upload/src/components/upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs +33 -0
- package/es/components/image-upload/src/components/upload-design.vue_vue_type_style_index_0_scoped_575d3a1a_lang.css +33 -0
- package/es/components/image-upload/src/hooks/hooks.d.ts +2 -0
- package/es/components/image-upload/src/types/index.d.ts +34 -0
- package/es/components/image-upload/src/types/index.mjs +8 -0
- package/es/components/index.d.ts +3 -1
- package/es/components/index.mjs +2 -0
- package/es/hooks/useLocale.d.ts +365 -1
- package/es/hooks/useLocale.mjs +20 -24
- package/es/index.d.ts +1 -0
- package/es/index.mjs +10 -6
- package/es/loader.d.ts +1 -0
- package/es/modules/Cropper/hooks/useFile.mjs +21 -0
- package/es/modules/Cropper/index.d.ts +1 -0
- package/es/modules/Cropper/index.mjs +12 -0
- package/es/modules/Cropper/src/CopperFreeModal.vue.mjs +7 -0
- package/es/modules/Cropper/src/CopperFreeModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs +299 -0
- package/es/modules/Cropper/src/CopperFreeModal.vue_vue_type_style_index_0_scoped_28afc2ab_lang.css +48 -0
- package/es/modules/Cropper/src/CopperModal.vue.mjs +7 -0
- package/es/modules/Cropper/src/CopperModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs +283 -0
- package/es/modules/Cropper/src/CopperModal.vue_vue_type_style_index_0_scoped_f42f8311_lang.css +71 -0
- package/es/modules/Cropper/src/Cropper.vue.d.ts +1 -1
- package/es/modules/Cropper/src/Cropper.vue.mjs +25 -0
- package/es/modules/Cropper/src/Cropper.vue_vue_type_script_lang.mjs +173 -0
- package/es/modules/Cropper/src/Cropper.vue_vue_type_style_index_0_lang.css +4 -0
- package/es/modules/Cropper/src/CropperAvatar.vue.mjs +7 -0
- package/es/modules/Cropper/src/CropperAvatar.vue_vue_type_script_setup_true_name_CropperAvatar_lang.mjs +116 -0
- package/es/modules/Cropper/src/CropperAvatar.vue_vue_type_style_index_0_scoped_b5d65cd4_lang.css +39 -0
- package/es/modules/Cropper/src/CropperFree.vue.mjs +7 -0
- package/es/modules/Cropper/src/CropperFree.vue_vue_type_script_setup_true_name_CropperPhoto_lang.mjs +165 -0
- package/es/modules/Cropper/src/CropperFree.vue_vue_type_style_index_0_scoped_3cc5e19b_lang.css +83 -0
- package/es/modules/code-editor/index.d.ts +3 -3
- package/es/modules/code-editor/monaco-editor.vue.d.ts +1 -1
- package/es/modules/code-editor/monaco-editor.vue.mjs +2 -2
- package/es/modules/code-editor/monaco-editor.vue_vue_type_script_setup_true_name_code-editor_lang.mjs +4 -3
- package/es/modules/code-editor/{monaco-editor.vue_vue_type_style_index_0_scoped_254c9227_lang.css → monaco-editor.vue_vue_type_style_index_0_scoped_ccf22884_lang.css} +9 -9
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +1 -1
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +1 -1
- package/package.json +7 -7
- package/dist/index.esm.min.js +0 -9864
- /package/es/modules/gct-table/editor/{gct-table-text/gct-table-text.css → gct-table-date/gct-table-date.css} +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as
|
|
3
|
-
import { ClearOutlined as x, CloudDownloadOutlined as S, DownCircleOutlined as
|
|
4
|
-
import { format as ae } from "sql-formatter";
|
|
1
|
+
import { f as e, l as t, r as n } from "./useMonacoEditor-B4gp3RiK.js";
|
|
2
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, onMounted as ee, onUnmounted as p, openBlock as m, ref as h, renderSlot as g, resolveComponent as _, toDisplayString as v, unref as y, watch as te, withCtx as b } from "vue";
|
|
3
|
+
import { ClearOutlined as x, CloudDownloadOutlined as S, DownCircleOutlined as ne, FormatPainterOutlined as re, RobotOutlined as ie, SearchOutlined as C, UpCircleOutlined as w } from "@ant-design/icons-vue";
|
|
5
4
|
//#region src/modules/code-editor/monaco-editor.vue?vue&type=script&setup=true&name=code-editor&lang.ts
|
|
6
5
|
var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = { class: "m-e-main" }, D = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
7
6
|
__name: "monaco-editor",
|
|
@@ -9,7 +8,7 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
9
8
|
value: { default: "" },
|
|
10
9
|
title: { default: "" },
|
|
11
10
|
language: { default: "typescript" },
|
|
12
|
-
theme: { default:
|
|
11
|
+
theme: { default: n.DARK },
|
|
13
12
|
readonly: {
|
|
14
13
|
type: Boolean,
|
|
15
14
|
default: !1
|
|
@@ -34,7 +33,7 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
34
33
|
color: I.value ? "#000" : "#fff",
|
|
35
34
|
marginRight: O.gapVal + "px"
|
|
36
35
|
}));
|
|
37
|
-
O.theme ===
|
|
36
|
+
O.theme === n.VS && (I.value = !0);
|
|
38
37
|
let B = {
|
|
39
38
|
value: O.value ?? "",
|
|
40
39
|
language: O.language,
|
|
@@ -62,7 +61,7 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
62
61
|
}
|
|
63
62
|
};
|
|
64
63
|
async function V() {
|
|
65
|
-
A = await
|
|
64
|
+
A = await t.loadMonaco(), $(), U(), O.value && Z();
|
|
66
65
|
}
|
|
67
66
|
async function H() {
|
|
68
67
|
await _api.apaas.basicConfig.getAiRagEnabled() == 1 ? R.value = !0 : R.value = !1;
|
|
@@ -108,33 +107,33 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
108
107
|
function Y() {
|
|
109
108
|
N.revealLine(N.getModel().getLineCount());
|
|
110
109
|
}
|
|
111
|
-
function
|
|
110
|
+
function ae() {
|
|
112
111
|
P.value = !P.value, P.value ? N.updateOptions({ wordWrap: "on" }) : N.updateOptions({ wordWrap: "off" });
|
|
113
112
|
}
|
|
114
|
-
function
|
|
113
|
+
function oe() {
|
|
115
114
|
I.value = !I.value, I.value ? N.updateOptions({ theme: "vs" }) : N.updateOptions({ theme: "vs-dark" });
|
|
116
115
|
}
|
|
117
|
-
function
|
|
116
|
+
function se() {
|
|
118
117
|
M.value.fullscreenElement ? (M.value.exitFullscreen(), F.value = !1) : (M.value.requestFullscreen(), F.value = !0);
|
|
119
118
|
}
|
|
120
119
|
function X() {
|
|
121
|
-
|
|
120
|
+
ce(O.title, N.getValue());
|
|
122
121
|
}
|
|
123
|
-
function
|
|
122
|
+
function ce(e, t) {
|
|
124
123
|
let n = window.URL || window.webkitURL || window, r = new Blob([t]), i = document.createEvent("MouseEvents");
|
|
125
124
|
i.initMouseEvent("click", !0, !1, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null);
|
|
126
125
|
let a = document.createElementNS("http://www.w3.org/1999/xhtml", "a");
|
|
127
126
|
a.href = n.createObjectURL(r), a.download = e, a.dispatchEvent(i);
|
|
128
127
|
}
|
|
129
|
-
function Z() {
|
|
128
|
+
async function Z() {
|
|
130
129
|
if (O.language == "sql") {
|
|
131
|
-
let e =
|
|
132
|
-
N.setValue(
|
|
130
|
+
let e = G(), { format: t } = await import("sql-formatter"), n = t(e);
|
|
131
|
+
N.setValue(n);
|
|
133
132
|
} else N.getAction("editor.action.formatDocument").run();
|
|
134
133
|
let e = G();
|
|
135
134
|
j("change", e), j("update:value", e);
|
|
136
135
|
}
|
|
137
|
-
function
|
|
136
|
+
function le() {
|
|
138
137
|
W("");
|
|
139
138
|
}
|
|
140
139
|
function Q() {
|
|
@@ -143,15 +142,15 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
143
142
|
function $() {
|
|
144
143
|
N && N.dispose();
|
|
145
144
|
}
|
|
146
|
-
function
|
|
145
|
+
function ue() {
|
|
147
146
|
return N;
|
|
148
147
|
}
|
|
149
|
-
|
|
148
|
+
ee(() => {
|
|
150
149
|
V();
|
|
151
150
|
}), p(() => {
|
|
152
151
|
$();
|
|
153
152
|
});
|
|
154
|
-
function
|
|
153
|
+
function de(e) {
|
|
155
154
|
let t = N.getModel();
|
|
156
155
|
if (!t) return;
|
|
157
156
|
let n = t.getFullModelRange();
|
|
@@ -161,10 +160,10 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
161
160
|
forceMoveMarkers: !1
|
|
162
161
|
}]), j("change", G()), j("update:value", G());
|
|
163
162
|
}
|
|
164
|
-
function
|
|
163
|
+
function fe() {
|
|
165
164
|
return N.getValue();
|
|
166
165
|
}
|
|
167
|
-
function
|
|
166
|
+
function pe() {
|
|
168
167
|
let e = N.getSelection();
|
|
169
168
|
if (e) {
|
|
170
169
|
let t = N.getModel()?.getValueInRange(e), n = e.startLineNumber, r = e.startColumn, i = e.endLineNumber, a = e.endColumn, o = {
|
|
@@ -195,20 +194,20 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
195
194
|
}
|
|
196
195
|
N.setValue(e || "");
|
|
197
196
|
},
|
|
198
|
-
getMonacoEditor:
|
|
197
|
+
getMonacoEditor: ue,
|
|
199
198
|
setEditorContent: W,
|
|
200
199
|
getEditorContent: G,
|
|
201
200
|
scrollToTop: J,
|
|
202
201
|
scrollToBottom: Y,
|
|
203
|
-
setEditorWordWrap:
|
|
204
|
-
setEditorTheme:
|
|
205
|
-
handleFullScreenClick:
|
|
202
|
+
setEditorWordWrap: ae,
|
|
203
|
+
setEditorTheme: oe,
|
|
204
|
+
handleFullScreenClick: se,
|
|
206
205
|
handleDownloadLogClick: X,
|
|
207
206
|
getEditorMarkers: K,
|
|
208
207
|
handleFormatCodeClick: Z,
|
|
209
|
-
getValue:
|
|
210
|
-
setValue:
|
|
211
|
-
getSelectCode:
|
|
208
|
+
getValue: fe,
|
|
209
|
+
setValue: de,
|
|
210
|
+
getSelectCode: pe,
|
|
212
211
|
isChatBotActive: L,
|
|
213
212
|
handleChatBotClick: Q
|
|
214
213
|
}), (t, n) => {
|
|
@@ -219,20 +218,20 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
219
218
|
class: "m-e-main_toolbar w-full flex",
|
|
220
219
|
type: "flex",
|
|
221
220
|
justify: "space-between",
|
|
222
|
-
style:
|
|
221
|
+
style: f(I.value ? "background-color: #fff; box-shadow: 0px 2px 5px #ddd;" : "background-color: #1e1e1e; box-shadow: 0px 2px 5px #111;")
|
|
223
222
|
}, {
|
|
224
223
|
default: b(() => [l(r, {
|
|
225
224
|
class: "m-e-main_toolbar_left flex-1",
|
|
226
|
-
style:
|
|
225
|
+
style: f(I.value ? "color: #000" : "color: #fff")
|
|
227
226
|
}, {
|
|
228
227
|
default: b(() => [s("span", null, [g(t.$slots, "title", {}, () => [c(v(e.title), 1)], !0)])]),
|
|
229
228
|
_: 3
|
|
230
229
|
}, 8, ["style"]), l(r, {
|
|
231
230
|
class: "m-e-main_toolbar_right",
|
|
232
|
-
style:
|
|
231
|
+
style: f(z.value)
|
|
233
232
|
}, {
|
|
234
233
|
default: b(() => [
|
|
235
|
-
l(y(
|
|
234
|
+
l(y(C), {
|
|
236
235
|
class: "icon",
|
|
237
236
|
onClick: q
|
|
238
237
|
}),
|
|
@@ -240,11 +239,11 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
240
239
|
class: "icon",
|
|
241
240
|
onClick: J
|
|
242
241
|
}),
|
|
243
|
-
l(y(
|
|
242
|
+
l(y(ne), {
|
|
244
243
|
class: "icon",
|
|
245
244
|
onClick: Y
|
|
246
245
|
}),
|
|
247
|
-
l(y(
|
|
246
|
+
l(y(re), {
|
|
248
247
|
class: "icon",
|
|
249
248
|
onClick: Z
|
|
250
249
|
}),
|
|
@@ -254,12 +253,12 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
254
253
|
}),
|
|
255
254
|
l(y(x), {
|
|
256
255
|
class: "icon",
|
|
257
|
-
onClick:
|
|
256
|
+
onClick: le
|
|
258
257
|
}),
|
|
259
|
-
R.value ? (m(), i(y(
|
|
258
|
+
R.value ? (m(), i(y(ie), {
|
|
260
259
|
key: 0,
|
|
261
260
|
title: "聊天机器人",
|
|
262
|
-
class:
|
|
261
|
+
class: d(["icon", { "icon-active": L.value }]),
|
|
263
262
|
onClick: Q
|
|
264
263
|
}, null, 8, ["class"])) : a("", !0)
|
|
265
264
|
]),
|
|
@@ -275,6 +274,6 @@ var T = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, E = {
|
|
|
275
274
|
]);
|
|
276
275
|
};
|
|
277
276
|
}
|
|
278
|
-
}), [["__scopeId", "data-v-
|
|
277
|
+
}), [["__scopeId", "data-v-ccf22884"]]);
|
|
279
278
|
//#endregion
|
|
280
279
|
export { D as default };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
2
|
+
function e(t) {
|
|
3
|
+
"@babel/helpers - typeof";
|
|
4
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
5
|
+
return typeof e;
|
|
6
|
+
} : function(e) {
|
|
7
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
8
|
+
}, e(t);
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
12
|
+
function t(t, n) {
|
|
13
|
+
if (e(t) != "object" || !t) return t;
|
|
14
|
+
var r = t[Symbol.toPrimitive];
|
|
15
|
+
if (r !== void 0) {
|
|
16
|
+
var i = r.call(t, n || "default");
|
|
17
|
+
if (e(i) != "object") return i;
|
|
18
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
19
|
+
}
|
|
20
|
+
return (n === "string" ? String : Number)(t);
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
24
|
+
function n(n) {
|
|
25
|
+
var r = t(n, "string");
|
|
26
|
+
return e(r) == "symbol" ? r : r + "";
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
30
|
+
function r(e, t, r) {
|
|
31
|
+
return (t = n(t)) in e ? Object.defineProperty(e, t, {
|
|
32
|
+
value: r,
|
|
33
|
+
enumerable: !0,
|
|
34
|
+
configurable: !0,
|
|
35
|
+
writable: !0
|
|
36
|
+
}) : e[t] = r, e;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
40
|
+
function i(e, t) {
|
|
41
|
+
var n = Object.keys(e);
|
|
42
|
+
if (Object.getOwnPropertySymbols) {
|
|
43
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
44
|
+
t && (r = r.filter(function(t) {
|
|
45
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
46
|
+
})), n.push.apply(n, r);
|
|
47
|
+
}
|
|
48
|
+
return n;
|
|
49
|
+
}
|
|
50
|
+
function a(e) {
|
|
51
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
52
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
53
|
+
t % 2 ? i(Object(n), !0).forEach(function(t) {
|
|
54
|
+
r(e, t, n[t]);
|
|
55
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i(Object(n)).forEach(function(t) {
|
|
56
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return e;
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
export { a as t };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { t as e } from "./objectSpread2-fLnUNEWu.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/ant-design-vue@3.2.20_vue@3.5.30_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-pagination/locale/pt_PT.js
|
|
3
|
+
var t = {
|
|
4
|
+
items_per_page: "/ página",
|
|
5
|
+
jump_to: "Saltar",
|
|
6
|
+
jump_to_confirm: "confirmar",
|
|
7
|
+
page: "",
|
|
8
|
+
prev_page: "Página Anterior",
|
|
9
|
+
next_page: "Página Seguinte",
|
|
10
|
+
prev_5: "Recuar 5 Páginas",
|
|
11
|
+
next_5: "Avançar 5 Páginas",
|
|
12
|
+
prev_3: "Recuar 3 Páginas",
|
|
13
|
+
next_3: "Avançar 3 Páginas"
|
|
14
|
+
}, n = {
|
|
15
|
+
locale: "pt_PT",
|
|
16
|
+
today: "Hoje",
|
|
17
|
+
now: "Agora",
|
|
18
|
+
backToToday: "Hoje",
|
|
19
|
+
ok: "Ok",
|
|
20
|
+
clear: "Limpar",
|
|
21
|
+
month: "Mês",
|
|
22
|
+
year: "Ano",
|
|
23
|
+
timeSelect: "Selecionar hora",
|
|
24
|
+
dateSelect: "Selecionar data",
|
|
25
|
+
monthSelect: "Selecionar mês",
|
|
26
|
+
yearSelect: "Selecionar ano",
|
|
27
|
+
decadeSelect: "Selecionar década",
|
|
28
|
+
yearFormat: "YYYY",
|
|
29
|
+
dateFormat: "D/M/YYYY",
|
|
30
|
+
dayFormat: "D",
|
|
31
|
+
dateTimeFormat: "D/M/YYYY HH:mm:ss",
|
|
32
|
+
monthBeforeYear: !0,
|
|
33
|
+
previousMonth: "Mês anterior (PageUp)",
|
|
34
|
+
nextMonth: "Mês seguinte (PageDown)",
|
|
35
|
+
previousYear: "Ano anterior (Control + left)",
|
|
36
|
+
nextYear: "Ano seguinte (Control + right)",
|
|
37
|
+
previousDecade: "Década anterior",
|
|
38
|
+
nextDecade: "Década seguinte",
|
|
39
|
+
previousCentury: "Século anterior",
|
|
40
|
+
nextCentury: "Século seguinte",
|
|
41
|
+
shortWeekDays: [
|
|
42
|
+
"Dom",
|
|
43
|
+
"Seg",
|
|
44
|
+
"Ter",
|
|
45
|
+
"Qua",
|
|
46
|
+
"Qui",
|
|
47
|
+
"Sex",
|
|
48
|
+
"Sáb"
|
|
49
|
+
],
|
|
50
|
+
shortMonths: [
|
|
51
|
+
"Jan",
|
|
52
|
+
"Fev",
|
|
53
|
+
"Mar",
|
|
54
|
+
"Abr",
|
|
55
|
+
"Mai",
|
|
56
|
+
"Jun",
|
|
57
|
+
"Jul",
|
|
58
|
+
"Ago",
|
|
59
|
+
"Set",
|
|
60
|
+
"Out",
|
|
61
|
+
"Nov",
|
|
62
|
+
"Dez"
|
|
63
|
+
]
|
|
64
|
+
}, r = { placeholder: "Hora" }, i = {
|
|
65
|
+
lang: e(e({}, n), {}, {
|
|
66
|
+
placeholder: "Data",
|
|
67
|
+
rangePlaceholder: ["Data inicial", "Data final"],
|
|
68
|
+
today: "Hoje",
|
|
69
|
+
now: "Agora",
|
|
70
|
+
backToToday: "Hoje",
|
|
71
|
+
ok: "OK",
|
|
72
|
+
clear: "Limpar",
|
|
73
|
+
month: "Mês",
|
|
74
|
+
year: "Ano",
|
|
75
|
+
timeSelect: "Hora",
|
|
76
|
+
dateSelect: "Selecionar data",
|
|
77
|
+
monthSelect: "Selecionar mês",
|
|
78
|
+
yearSelect: "Selecionar ano",
|
|
79
|
+
decadeSelect: "Selecionar década",
|
|
80
|
+
yearFormat: "YYYY",
|
|
81
|
+
dateFormat: "D/M/YYYY",
|
|
82
|
+
dayFormat: "D",
|
|
83
|
+
dateTimeFormat: "D/M/YYYY HH:mm:ss",
|
|
84
|
+
monthFormat: "MMMM",
|
|
85
|
+
monthBeforeYear: !1,
|
|
86
|
+
previousMonth: "Mês anterior (PageUp)",
|
|
87
|
+
nextMonth: "Mês seguinte (PageDown)",
|
|
88
|
+
previousYear: "Ano anterior (Control + left)",
|
|
89
|
+
nextYear: "Ano seguinte (Control + right)",
|
|
90
|
+
previousDecade: "Última década",
|
|
91
|
+
nextDecade: "Próxima década",
|
|
92
|
+
previousCentury: "Último século",
|
|
93
|
+
nextCentury: "Próximo século"
|
|
94
|
+
}),
|
|
95
|
+
timePickerLocale: e(e({}, r), {}, { placeholder: "Hora" })
|
|
96
|
+
}, a = {
|
|
97
|
+
locale: "pt",
|
|
98
|
+
Pagination: t,
|
|
99
|
+
DatePicker: i,
|
|
100
|
+
TimePicker: r,
|
|
101
|
+
Calendar: i,
|
|
102
|
+
Table: {
|
|
103
|
+
filterTitle: "Filtro",
|
|
104
|
+
filterConfirm: "Aplicar",
|
|
105
|
+
filterReset: "Reiniciar",
|
|
106
|
+
selectAll: "Selecionar página atual",
|
|
107
|
+
selectInvert: "Inverter seleção",
|
|
108
|
+
sortTitle: "Ordenação"
|
|
109
|
+
},
|
|
110
|
+
Modal: {
|
|
111
|
+
okText: "OK",
|
|
112
|
+
cancelText: "Cancelar",
|
|
113
|
+
justOkText: "OK"
|
|
114
|
+
},
|
|
115
|
+
Popconfirm: {
|
|
116
|
+
okText: "OK",
|
|
117
|
+
cancelText: "Cancelar"
|
|
118
|
+
},
|
|
119
|
+
Transfer: {
|
|
120
|
+
searchPlaceholder: "Procurar...",
|
|
121
|
+
itemUnit: "item",
|
|
122
|
+
itemsUnit: "itens"
|
|
123
|
+
},
|
|
124
|
+
Upload: {
|
|
125
|
+
uploading: "A carregar...",
|
|
126
|
+
removeFile: "Remover",
|
|
127
|
+
uploadError: "Erro ao carregar",
|
|
128
|
+
previewFile: "Pré-visualizar",
|
|
129
|
+
downloadFile: "Baixar"
|
|
130
|
+
},
|
|
131
|
+
Empty: { description: "Sem resultados" }
|
|
132
|
+
};
|
|
133
|
+
//#endregion
|
|
134
|
+
export { a as default };
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { t as e } from "./objectSpread2-fLnUNEWu.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/ant-design-vue@3.2.20_vue@3.5.30_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-pagination/locale/ru_RU.js
|
|
3
|
+
var t = {
|
|
4
|
+
items_per_page: "/ стр.",
|
|
5
|
+
jump_to: "Перейти",
|
|
6
|
+
jump_to_confirm: "подтвердить",
|
|
7
|
+
page: "",
|
|
8
|
+
prev_page: "Назад",
|
|
9
|
+
next_page: "Вперед",
|
|
10
|
+
prev_5: "Предыдущие 5",
|
|
11
|
+
next_5: "Следующие 5",
|
|
12
|
+
prev_3: "Предыдущие 3",
|
|
13
|
+
next_3: "Следующие 3"
|
|
14
|
+
}, n = {
|
|
15
|
+
locale: "ru_RU",
|
|
16
|
+
today: "Сегодня",
|
|
17
|
+
now: "Сейчас",
|
|
18
|
+
backToToday: "Текущая дата",
|
|
19
|
+
ok: "ОК",
|
|
20
|
+
clear: "Очистить",
|
|
21
|
+
month: "Месяц",
|
|
22
|
+
year: "Год",
|
|
23
|
+
timeSelect: "Выбрать время",
|
|
24
|
+
dateSelect: "Выбрать дату",
|
|
25
|
+
monthSelect: "Выбрать месяц",
|
|
26
|
+
yearSelect: "Выбрать год",
|
|
27
|
+
decadeSelect: "Выбрать десятилетие",
|
|
28
|
+
yearFormat: "YYYY",
|
|
29
|
+
dateFormat: "D-M-YYYY",
|
|
30
|
+
dayFormat: "D",
|
|
31
|
+
dateTimeFormat: "D-M-YYYY HH:mm:ss",
|
|
32
|
+
monthBeforeYear: !0,
|
|
33
|
+
previousMonth: "Предыдущий месяц (PageUp)",
|
|
34
|
+
nextMonth: "Следующий месяц (PageDown)",
|
|
35
|
+
previousYear: "Предыдущий год (Control + left)",
|
|
36
|
+
nextYear: "Следующий год (Control + right)",
|
|
37
|
+
previousDecade: "Предыдущее десятилетие",
|
|
38
|
+
nextDecade: "Следущее десятилетие",
|
|
39
|
+
previousCentury: "Предыдущий век",
|
|
40
|
+
nextCentury: "Следующий век"
|
|
41
|
+
}, r = {
|
|
42
|
+
placeholder: "Выберите время",
|
|
43
|
+
rangePlaceholder: ["Время начала", "Время окончания"]
|
|
44
|
+
}, i = {
|
|
45
|
+
lang: e({
|
|
46
|
+
placeholder: "Выберите дату",
|
|
47
|
+
yearPlaceholder: "Выберите год",
|
|
48
|
+
quarterPlaceholder: "Выберите квартал",
|
|
49
|
+
monthPlaceholder: "Выберите месяц",
|
|
50
|
+
weekPlaceholder: "Выберите неделю",
|
|
51
|
+
rangePlaceholder: ["Начальная дата", "Конечная дата"],
|
|
52
|
+
rangeYearPlaceholder: ["Начальный год", "Год окончания"],
|
|
53
|
+
rangeMonthPlaceholder: ["Начальный месяц", "Конечный месяц"],
|
|
54
|
+
rangeWeekPlaceholder: ["Начальная неделя", "Конечная неделя"]
|
|
55
|
+
}, n),
|
|
56
|
+
timePickerLocale: e({}, r)
|
|
57
|
+
}, a = i, o = "${label} не является типом ${type}", s = {
|
|
58
|
+
locale: "ru",
|
|
59
|
+
Pagination: t,
|
|
60
|
+
DatePicker: i,
|
|
61
|
+
TimePicker: r,
|
|
62
|
+
Calendar: a,
|
|
63
|
+
global: { placeholder: "Пожалуйста выберите" },
|
|
64
|
+
Table: {
|
|
65
|
+
filterTitle: "Фильтр",
|
|
66
|
+
filterConfirm: "OK",
|
|
67
|
+
filterReset: "Сбросить",
|
|
68
|
+
filterEmptyText: "Без фильтров",
|
|
69
|
+
emptyText: "Нет данных",
|
|
70
|
+
selectAll: "Выбрать всё",
|
|
71
|
+
selectInvert: "Инвертировать выбор",
|
|
72
|
+
selectNone: "Очистить все данные",
|
|
73
|
+
selectionAll: "Выбрать все данные",
|
|
74
|
+
sortTitle: "Сортировка",
|
|
75
|
+
expand: "Развернуть строку",
|
|
76
|
+
collapse: "Свернуть строку",
|
|
77
|
+
triggerDesc: "Нажмите для сортировки по убыванию",
|
|
78
|
+
triggerAsc: "Нажмите для сортировки по возрастанию",
|
|
79
|
+
cancelSort: "Нажмите, чтобы отменить сортировку"
|
|
80
|
+
},
|
|
81
|
+
Modal: {
|
|
82
|
+
okText: "OK",
|
|
83
|
+
cancelText: "Отмена",
|
|
84
|
+
justOkText: "OK"
|
|
85
|
+
},
|
|
86
|
+
Popconfirm: {
|
|
87
|
+
okText: "OK",
|
|
88
|
+
cancelText: "Отмена"
|
|
89
|
+
},
|
|
90
|
+
Transfer: {
|
|
91
|
+
titles: ["", ""],
|
|
92
|
+
searchPlaceholder: "Поиск",
|
|
93
|
+
itemUnit: "элем.",
|
|
94
|
+
itemsUnit: "элем.",
|
|
95
|
+
remove: "Удалить",
|
|
96
|
+
selectAll: "Выбрать все данные",
|
|
97
|
+
selectCurrent: "Выбрать текущую страницу",
|
|
98
|
+
selectInvert: "Показать в обратном порядке",
|
|
99
|
+
removeAll: "Удалить все данные",
|
|
100
|
+
removeCurrent: "Удалить текущую страницу"
|
|
101
|
+
},
|
|
102
|
+
Upload: {
|
|
103
|
+
uploading: "Загрузка...",
|
|
104
|
+
removeFile: "Удалить файл",
|
|
105
|
+
uploadError: "При загрузке произошла ошибка",
|
|
106
|
+
previewFile: "Предпросмотр файла",
|
|
107
|
+
downloadFile: "Загрузить файл"
|
|
108
|
+
},
|
|
109
|
+
Empty: { description: "Нет данных" },
|
|
110
|
+
Icon: { icon: "иконка" },
|
|
111
|
+
Text: {
|
|
112
|
+
edit: "Редактировать",
|
|
113
|
+
copy: "Копировать",
|
|
114
|
+
copied: "Скопировано",
|
|
115
|
+
expand: "Раскрыть"
|
|
116
|
+
},
|
|
117
|
+
PageHeader: { back: "Назад" },
|
|
118
|
+
Form: { defaultValidateMessages: {
|
|
119
|
+
default: "Ошибка проверки поля ${label}",
|
|
120
|
+
required: "Пожалуйста, введите ${label}",
|
|
121
|
+
enum: "${label} должен быть одним из [${enum}]",
|
|
122
|
+
whitespace: "${label} не может быть пустым",
|
|
123
|
+
date: {
|
|
124
|
+
format: "${label} не правильный формат даты",
|
|
125
|
+
parse: "${label} не может быть преобразовано в дату",
|
|
126
|
+
invalid: "${label} не является корректной датой"
|
|
127
|
+
},
|
|
128
|
+
types: {
|
|
129
|
+
string: o,
|
|
130
|
+
method: o,
|
|
131
|
+
array: o,
|
|
132
|
+
object: o,
|
|
133
|
+
number: o,
|
|
134
|
+
date: o,
|
|
135
|
+
boolean: o,
|
|
136
|
+
integer: o,
|
|
137
|
+
float: o,
|
|
138
|
+
regexp: o,
|
|
139
|
+
email: o,
|
|
140
|
+
url: o,
|
|
141
|
+
hex: o
|
|
142
|
+
},
|
|
143
|
+
string: {
|
|
144
|
+
len: "${label} должна быть ${len} символов",
|
|
145
|
+
min: "${label} должна быть больше или равна ${min} символов",
|
|
146
|
+
max: "${label} должна быть меньше или равна ${max} символов",
|
|
147
|
+
range: "Длина ${label} должна быть между ${min}-${max} символами"
|
|
148
|
+
},
|
|
149
|
+
number: {
|
|
150
|
+
len: "${label} должна быть равна ${len}",
|
|
151
|
+
min: "${label} должна быть больше или равна ${min}",
|
|
152
|
+
max: "${label} должна быть меньше или равна ${max}"
|
|
153
|
+
},
|
|
154
|
+
array: {
|
|
155
|
+
len: "Количество элементов ${label} должно быть равно ${len}",
|
|
156
|
+
min: "Количество элементов ${label} должно быть больше или равно ${min}",
|
|
157
|
+
max: "Количество элементов ${label} должно быть меньше или равно ${max}",
|
|
158
|
+
range: "Количество элементов ${label} должно быть между ${min} и ${max}"
|
|
159
|
+
},
|
|
160
|
+
pattern: { mismatch: "${label} не соответствует шаблону ${pattern}" }
|
|
161
|
+
} },
|
|
162
|
+
Image: { preview: "Предпросмотр" }
|
|
163
|
+
};
|
|
164
|
+
//#endregion
|
|
165
|
+
export { s as default };
|