@gct-paas/core-web 0.1.6-dev.0 → 0.1.6-dev.2
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/JsBarcode-DlXSdlvD.js +1 -0
- package/dist/_plugin-vue_export-helper-59SbqtUR.js +1 -0
- package/dist/chunk-DPOkwzLC.js +1 -0
- package/dist/components-pQ55MIpq.js +1 -0
- package/dist/{cropper-DPh9NaIi.js → cropper-tw7tUDDe.js} +1 -1
- package/dist/{de_DE-BY1He8Sf.js → de_DE-BnwOalCV.js} +1 -1
- package/dist/defineProperty-Co6UJKQ3.js +1 -0
- package/dist/{en_US-CuX-vrWy.js → en_US-6Hw6WWah.js} +1 -1
- package/dist/{es_ES-BqHRjpc9.js → es_ES-tAqXFGrR.js} +1 -1
- package/dist/{fr_FR-C4TFcMTv.js → fr_FR-BkDgVS_P.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/{ja_JP-CgXnA74i.js → ja_JP-AsmV92nC.js} +1 -1
- package/dist/loader.esm.min.js +1 -1
- package/dist/monaco-editor-CgESUPw_.js +1 -0
- package/dist/{pt_PT-C0ALlHDr.js → pt_PT-CCVWOJzE.js} +1 -1
- package/dist/rich-editor-K2Pv0Uja.js +1 -0
- package/dist/{ru_RU-D39vUeFW.js → ru_RU-w4sUgbzL.js} +1 -1
- package/dist/template-6yiNrzBh.js +1 -0
- package/dist/{tr_TR-Cm3P61iH.js → tr_TR-CGZch3eB.js} +1 -1
- package/dist/useMonacoEditor-BO2ALW-7.js +1 -0
- package/dist/{vi_VN-BZ_iPKuE.js → vi_VN-DONxIDR7.js} +1 -1
- package/dist/{zh_CN-DY_wA21D.js → zh_CN-BxdD8hqG.js} +1 -1
- package/dist/{zh_TW-A1Y7MG2g.js → zh_TW-D5Y8j-oG.js} +1 -1
- package/es/components/TreeEx/tree-ex.mjs +3 -0
- package/es/components/copy-module-key/copy-module-key.vue_vue_type_script_setup_true_name_copy-module-key_lang.mjs +3 -0
- package/es/components/field-tree-select/field-sort-popover.vue_vue_type_script_setup_true_lang.mjs +2 -0
- package/es/components/field-tree-select/field-tree-select.vue_vue_type_script_setup_true_lang.mjs +3 -0
- package/es/components/index.mjs +1 -1
- package/es/components/label-design/components/rich-editor/index.d.ts +22 -1
- package/es/components/label-design/components/rich-editor/index.mjs +5 -1
- package/es/components/label-design/components/rich-editor/index.vue.d.ts +4 -4
- package/es/components/label-design/components/rich-editor/index.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/label-design/components/widgets/BarCode.vue.mjs +2 -2
- package/es/components/label-design/components/widgets/BarCode.vue_vue_type_script_setup_true_name_BAR_CODE_lang.mjs +28 -18
- package/es/components/label-design/components/widgets/{BarCode.vue_vue_type_style_index_0_scoped_492a6f00_lang.css → BarCode.vue_vue_type_style_index_0_scoped_abb7a450_lang.css} +3 -3
- package/es/components/label-design/index.mjs +1 -1
- package/es/components/label-design/modal/index.mjs +3 -3
- package/es/components/label-design/modal/rich-editor-modal.vue.d.ts +60 -0
- package/es/components/label-design/modal/rich-editor-modal.vue.mjs +2 -2
- package/es/components/label-design/modal/rich-editor-modal.vue_vue_type_script_setup_true_lang.mjs +5 -6
- package/es/components/label-design/modal/rich-editor-modal.vue_vue_type_style_index_0_scoped_8a4eda15_lang.css +3 -0
- package/es/components/label-design/panels/widget/components/label-params-select.vue_vue_type_script_setup_true_lang.mjs +7 -0
- package/es/components/label-design/panels/widget/controls/LabelParamsSelect.vue_vue_type_script_setup_true_name_label-params-select_lang.mjs +7 -0
- package/es/components/label-design/panels/widget/controls/VariableSelect.vue_vue_type_script_setup_true_name_variable-select_lang.mjs +1 -1
- package/es/components/label-design/stage/stage.vue.mjs +2 -2
- package/es/components/label-design/stage/stage.vue_vue_type_script_setup_true_lang.mjs +3 -3
- package/es/components/label-design/stage/{stage.vue_vue_type_style_index_0_scoped_142d3d35_lang.css → stage.vue_vue_type_style_index_0_scoped_53b1f897_lang.css} +8 -8
- package/es/components/overlay-scrollbars/gct-overlay-scrollbars.mjs +16 -0
- package/es/index.mjs +2 -1
- package/es/modules/gct-dnd/constants/index.mjs +12 -0
- 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/es/modules/global-modal/src/props.mjs +6 -0
- package/es/modules/picture-cropper/src/CopperFreeModal.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/CopperFreeModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs +1 -1
- package/es/modules/picture-cropper/src/{CopperFreeModal.vue_vue_type_style_index_0_scoped_9069f48a_lang.css → CopperFreeModal.vue_vue_type_style_index_0_scoped_da6428d3_lang.css} +10 -10
- package/es/modules/picture-cropper/src/CropperFree.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/CropperFree.vue_vue_type_script_setup_true_name_CropperPhoto_lang.mjs +1 -1
- package/es/modules/picture-cropper/src/{CropperFree.vue_vue_type_style_index_0_scoped_7a51c6b9_lang.css → CropperFree.vue_vue_type_style_index_0_scoped_c85d53db_lang.css} +16 -16
- package/es/styles/index.css +94 -0
- package/es/utils/recursive.mjs +5 -1
- package/package.json +11 -7
- package/dist/_plugin-vue_export-helper-DUzSxwNW.js +0 -1
- package/dist/chunk-lEgNpoW5.js +0 -1
- package/dist/monaco-editor-g5z1cRaz.js +0 -1
- package/es/components/label-design/modal/rich-editor-modal.vue_vue_type_style_index_0_scoped_8c23f0af_lang.css +0 -3
- /package/dist/{icon-next-picker-y8hJhkCi.js → icon-next-picker-CvCosnvS.js} +0 -0
- /package/dist/{objectSpread2-Cr8AaZiL.js → objectSpread2-DxfE1S3_.js} +0 -0
- /package/dist/{overlayscrollbars-vue-B2LfyB-V.js → overlayscrollbars-vue-DtKFrHnA.js} +0 -0
- /package/es/modules/gct-table/editor/{gct-table-date/gct-table-date.css → gct-table-text/gct-table-text.css} +0 -0
|
@@ -1,3 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
declare const RichEditor: import('vue').DefineComponent<{
|
|
2
|
+
content: string;
|
|
3
|
+
}, {
|
|
4
|
+
getText: () => any;
|
|
5
|
+
getContent: () => any;
|
|
6
|
+
setHtml: (node: string) => any;
|
|
7
|
+
dangerouslyInsertHtml: (node: string) => any;
|
|
8
|
+
restoreSelection: () => any;
|
|
9
|
+
isFocused: () => any;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
blur: (...args: any[]) => void;
|
|
12
|
+
change: (...args: any[]) => void;
|
|
13
|
+
created: (...args: any[]) => void;
|
|
14
|
+
focus: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
16
|
+
content: string;
|
|
17
|
+
}> & Readonly<{
|
|
18
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onCreated?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2
23
|
export { RichEditor };
|
|
3
24
|
export default RichEditor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
content: string;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
5
5
|
getText: () => any;
|
|
6
6
|
getContent: () => any;
|
|
7
7
|
setHtml: (node: string) => any;
|
|
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
13
13
|
change: (...args: any[]) => void;
|
|
14
14
|
created: (...args: any[]) => void;
|
|
15
15
|
focus: (...args: any[]) => void;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
17
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
onCreated?: ((...args: any[]) => any) | undefined;
|
|
@@ -151,13 +151,13 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
151
151
|
] }
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
|
-
const
|
|
154
|
+
const defProps = __props;
|
|
155
155
|
const emit = __emit;
|
|
156
156
|
const editorRef = shallowRef();
|
|
157
157
|
const valueHtml = ref("");
|
|
158
158
|
onMounted(() => {
|
|
159
159
|
setTimeout(() => {
|
|
160
|
-
valueHtml.value =
|
|
160
|
+
valueHtml.value = defProps.content;
|
|
161
161
|
}, 500);
|
|
162
162
|
});
|
|
163
163
|
onBeforeUnmount(() => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __exportAll } from "../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
2
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
3
|
import BarCode_vue_vue_type_script_setup_true_name_BAR_CODE_lang_default from "./BarCode.vue_vue_type_script_setup_true_name_BAR_CODE_lang.mjs";
|
|
4
|
-
import './BarCode.
|
|
4
|
+
import './BarCode.vue_vue_type_style_index_0_scoped_abb7a450_lang.css';/* empty css */
|
|
5
5
|
//#region src/components/label-design/components/widgets/BarCode.vue
|
|
6
6
|
var BarCode_exports = /* @__PURE__ */ __exportAll({ default: () => BarCode_default });
|
|
7
|
-
var BarCode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(BarCode_vue_vue_type_script_setup_true_name_BAR_CODE_lang_default, [["__scopeId", "data-v-
|
|
7
|
+
var BarCode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(BarCode_vue_vue_type_script_setup_true_name_BAR_CODE_lang_default, [["__scopeId", "data-v-abb7a450"]]);
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BarCode_exports };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { computed, createElementBlock, createElementVNode, defineComponent, nextTick, onMounted, openBlock, ref, vShow, watch, withDirectives } from "vue";
|
|
2
|
-
import jsbarcode from "jsbarcode";
|
|
3
|
-
import bwipjs from "bwip-js";
|
|
4
2
|
//#region src/components/label-design/components/widgets/BarCode.vue?vue&type=script&setup=true&name=BAR_CODE&lang.ts
|
|
5
3
|
var _hoisted_1 = ["id"];
|
|
6
4
|
var BarCode_vue_vue_type_script_setup_true_name_BAR_CODE_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -68,22 +66,34 @@ var BarCode_vue_vue_type_script_setup_true_name_BAR_CODE_lang_default = /* @__PU
|
|
|
68
66
|
async function createBarcode() {
|
|
69
67
|
await nextTick();
|
|
70
68
|
const content = props.content.value || " ";
|
|
71
|
-
if (props.type.value !== "GS1_128")
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
69
|
+
if (props.type.value !== "GS1_128") {
|
|
70
|
+
const barcodeID = `#barcode_${id.value}`;
|
|
71
|
+
const module = await import("jsbarcode");
|
|
72
|
+
if (!module) {
|
|
73
|
+
console.warn("Failed to load jsbarcode module");
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
(module.default || module)(barcodeID, content, {
|
|
77
|
+
format: codeTpeMap[props.type.value],
|
|
78
|
+
margin: 3,
|
|
79
|
+
width: props.dot.value,
|
|
80
|
+
height: props.height,
|
|
81
|
+
displayValue: props.showText.value === true,
|
|
82
|
+
textAlign: "center",
|
|
83
|
+
textMargin: 0,
|
|
84
|
+
background: "#FFFFFF",
|
|
85
|
+
font: "Arial",
|
|
86
|
+
fontOptions: "",
|
|
87
|
+
fontSize: 16,
|
|
88
|
+
lineColor: "#000000"
|
|
89
|
+
});
|
|
90
|
+
} else try {
|
|
91
|
+
const module = await import("bwip-js");
|
|
92
|
+
if (!module) {
|
|
93
|
+
console.warn("Failed to load bwip-js module");
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
(module.default || module).toCanvas(canvasRef.value, {
|
|
87
97
|
bcid: codeTpeMap[props.type.value],
|
|
88
98
|
text: content,
|
|
89
99
|
scale: props.dot.value,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
.p-barcode[data-v-
|
|
2
|
+
.p-barcode[data-v-abb7a450] {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
|
|
6
6
|
/* overflow: hidden; */
|
|
7
7
|
}
|
|
8
|
-
.p-barcode img[data-v-
|
|
8
|
+
.p-barcode img[data-v-abb7a450] {
|
|
9
9
|
/* height: auto; */
|
|
10
10
|
flex: 1;
|
|
11
11
|
width: 100%;
|
|
12
12
|
}
|
|
13
|
-
p[data-v-
|
|
13
|
+
p[data-v-abb7a450] {
|
|
14
14
|
margin: 0;
|
|
15
15
|
|
|
16
16
|
/* flex: 1; */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createVNode, render } from "vue";
|
|
1
|
+
import { createVNode, defineAsyncComponent, render } from "vue";
|
|
3
2
|
import { OverlayContainer } from "@gct-paas/core";
|
|
4
3
|
//#region src/components/label-design/modal/index.ts
|
|
4
|
+
var ModalTemplate = defineAsyncComponent(() => import("./template.vue.mjs"));
|
|
5
5
|
var instance = null;
|
|
6
6
|
function useModalPicker() {
|
|
7
7
|
const container = document.createElement("div");
|
|
8
8
|
async function readyModal() {
|
|
9
|
-
const vm = createVNode(
|
|
9
|
+
const vm = createVNode(ModalTemplate, { destroyVm: () => {
|
|
10
10
|
setTimeout(() => {
|
|
11
11
|
render(null, container);
|
|
12
12
|
instance = null;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
value: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:value": (value?: string | undefined) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
value: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
"onUpdate:value"?: ((value?: string | undefined) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
value: string;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
18
|
+
richEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
19
|
+
content: string;
|
|
20
|
+
}> & Readonly<{
|
|
21
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
onCreated?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
getText: () => any;
|
|
27
|
+
getContent: () => any;
|
|
28
|
+
setHtml: (node: string) => any;
|
|
29
|
+
dangerouslyInsertHtml: (node: string) => any;
|
|
30
|
+
restoreSelection: () => any;
|
|
31
|
+
isFocused: () => any;
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
blur: (...args: any[]) => void;
|
|
34
|
+
change: (...args: any[]) => void;
|
|
35
|
+
created: (...args: any[]) => void;
|
|
36
|
+
focus: (...args: any[]) => void;
|
|
37
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
38
|
+
P: {};
|
|
39
|
+
B: {};
|
|
40
|
+
D: {};
|
|
41
|
+
C: {};
|
|
42
|
+
M: {};
|
|
43
|
+
Defaults: {};
|
|
44
|
+
}, Readonly<{
|
|
45
|
+
content: string;
|
|
46
|
+
}> & Readonly<{
|
|
47
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onCreated?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
getText: () => any;
|
|
53
|
+
getContent: () => any;
|
|
54
|
+
setHtml: (node: string) => any;
|
|
55
|
+
dangerouslyInsertHtml: (node: string) => any;
|
|
56
|
+
restoreSelection: () => any;
|
|
57
|
+
isFocused: () => any;
|
|
58
|
+
}, {}, {}, {}, {}> | null;
|
|
59
|
+
}, HTMLDivElement>;
|
|
60
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import rich_editor_modal_vue_vue_type_script_setup_true_lang_default from "./rich-editor-modal.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import './rich-editor-modal.
|
|
3
|
+
import './rich-editor-modal.vue_vue_type_style_index_0_scoped_8a4eda15_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/label-design/modal/rich-editor-modal.vue
|
|
5
|
-
var rich_editor_modal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(rich_editor_modal_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var rich_editor_modal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(rich_editor_modal_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-8a4eda15"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { rich_editor_modal_default as default };
|
package/es/components/label-design/modal/rich-editor-modal.vue_vue_type_script_setup_true_lang.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../components/rich-editor/index.mjs";
|
|
1
|
+
import RichEditor from "../components/rich-editor/index.mjs";
|
|
3
2
|
import { createElementBlock, createVNode, defineComponent, onMounted, openBlock, ref, unref } from "vue";
|
|
4
3
|
//#region src/components/label-design/modal/rich-editor-modal.vue?vue&type=script&setup=true&lang.ts
|
|
5
4
|
var _hoisted_1 = { class: "rich-editor-modal" };
|
|
@@ -13,13 +12,13 @@ var rich_editor_modal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
13
12
|
setup(__props, { emit: __emit }) {
|
|
14
13
|
const richEditorRef = ref(null);
|
|
15
14
|
const contentVal = ref("");
|
|
16
|
-
const
|
|
15
|
+
const defProps = __props;
|
|
17
16
|
const emit = __emit;
|
|
18
17
|
onMounted(() => {
|
|
19
|
-
if (!contentVal.value) contentVal.value =
|
|
18
|
+
if (!contentVal.value) contentVal.value = defProps.value;
|
|
20
19
|
});
|
|
21
20
|
const editorCreated = () => {
|
|
22
|
-
const text = contentVal.value ||
|
|
21
|
+
const text = contentVal.value || defProps.value;
|
|
23
22
|
richEditorRef.value?.setHtml(text);
|
|
24
23
|
};
|
|
25
24
|
const handleEmailChange = (val) => {
|
|
@@ -27,7 +26,7 @@ var rich_editor_modal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
27
26
|
emit("update:value", val);
|
|
28
27
|
};
|
|
29
28
|
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(
|
|
29
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(RichEditor), {
|
|
31
30
|
ref_key: "richEditorRef",
|
|
32
31
|
ref: richEditorRef,
|
|
33
32
|
content: contentVal.value,
|
|
@@ -19,10 +19,17 @@ var label_params_select_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
19
19
|
emit("change", val, paramsData.value.find((item) => item.value === val));
|
|
20
20
|
}
|
|
21
21
|
__expose({
|
|
22
|
+
/**
|
|
23
|
+
* 获取选项数据(如果为空则重新加载)
|
|
24
|
+
*/
|
|
22
25
|
getOptions: async () => {
|
|
23
26
|
if (!paramsData.value.length) return await getParamsList();
|
|
24
27
|
return paramsData.value;
|
|
25
28
|
},
|
|
29
|
+
/**
|
|
30
|
+
* 直接获取 paramsData 的当前值
|
|
31
|
+
* @returns 标签参数模型的数据数组
|
|
32
|
+
*/
|
|
26
33
|
getParamsData: () => paramsData.value
|
|
27
34
|
});
|
|
28
35
|
return (_ctx, _cache) => {
|
|
@@ -27,10 +27,17 @@ var LabelParamsSelect_vue_vue_type_script_setup_true_name_label_params_select_la
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
__expose({
|
|
30
|
+
/**
|
|
31
|
+
* 获取选项数据(如果为空则重新加载)
|
|
32
|
+
*/
|
|
30
33
|
getOptions: async () => {
|
|
31
34
|
if (!paramsData.value.length) return await getParamsList();
|
|
32
35
|
return paramsData.value;
|
|
33
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* 直接获取 paramsData 的当前值
|
|
39
|
+
* @returns 标签参数模型的数据数组
|
|
40
|
+
*/
|
|
34
41
|
getParamsData: () => paramsData.value
|
|
35
42
|
});
|
|
36
43
|
return (_ctx, _cache) => {
|
|
@@ -4,8 +4,8 @@ import FieldCascader_default from "../../../../field-cascader/src/FieldCascader.
|
|
|
4
4
|
import { CONTENT_TYPE } from "../../../constants/CommonPrintElems.mjs";
|
|
5
5
|
import { usePage } from "../../../hooks/usePage.mjs";
|
|
6
6
|
import { identify } from "../../../identify-config.mjs";
|
|
7
|
-
import label_params_select_default from "../components/label-params-select.vue.mjs";
|
|
8
7
|
import "../../../../index.mjs";
|
|
8
|
+
import label_params_select_default from "../components/label-params-select.vue.mjs";
|
|
9
9
|
import { computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, nextTick, openBlock, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
|
|
10
10
|
import { ExpressionModeEnum, ExpressionTabEnum, FIELD_TYPE, t } from "@gct-paas/core";
|
|
11
11
|
//#region src/components/label-design/panels/widget/controls/VariableSelect.vue?vue&type=script&setup=true&name=variable-select&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import stage_vue_vue_type_script_setup_true_lang_default from "./stage.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import './stage.
|
|
3
|
+
import './stage.vue_vue_type_style_index_0_scoped_53b1f897_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/label-design/stage/stage.vue
|
|
5
|
-
var stage_default = /* @__PURE__ */ _plugin_vue_export_helper_default(stage_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var stage_default = /* @__PURE__ */ _plugin_vue_export_helper_default(stage_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-53b1f897"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { stage_default as default };
|
|
@@ -19,7 +19,7 @@ var stage_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
19
19
|
readonly: { type: Boolean }
|
|
20
20
|
},
|
|
21
21
|
setup(__props) {
|
|
22
|
-
const
|
|
22
|
+
const defProps = __props;
|
|
23
23
|
const sketchRuleRef = ref();
|
|
24
24
|
const count = ref(0);
|
|
25
25
|
const container = ref();
|
|
@@ -139,8 +139,8 @@ var stage_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
139
139
|
async function init(id) {
|
|
140
140
|
project.value = await loadLabelInfo(id);
|
|
141
141
|
}
|
|
142
|
-
if (!
|
|
143
|
-
watch(() =>
|
|
142
|
+
if (!defProps.readonly) init();
|
|
143
|
+
watch(() => defProps.id, (id) => {
|
|
144
144
|
init(id);
|
|
145
145
|
}, { immediate: true });
|
|
146
146
|
return (_ctx, _cache) => {
|
|
@@ -62,33 +62,33 @@
|
|
|
62
62
|
* }
|
|
63
63
|
*/
|
|
64
64
|
/* stylelint-disable scss/no-global-function-names */
|
|
65
|
-
.designer-stage[data-v-
|
|
65
|
+
.designer-stage[data-v-53b1f897] {
|
|
66
66
|
display: flex;
|
|
67
67
|
background-color: #fff;
|
|
68
68
|
}
|
|
69
|
-
.designer-state-canvas[data-v-
|
|
69
|
+
.designer-state-canvas[data-v-53b1f897] {
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
flex-grow: 1;
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
75
|
-
.designer-stage-header[data-v-
|
|
75
|
+
.designer-stage-header[data-v-53b1f897] {
|
|
76
76
|
flex-shrink: 0;
|
|
77
77
|
height: 42px;
|
|
78
78
|
}
|
|
79
|
-
.designer-canvas[data-v-
|
|
79
|
+
.designer-canvas[data-v-53b1f897] {
|
|
80
80
|
position: relative;
|
|
81
81
|
flex-grow: 1;
|
|
82
82
|
background-color: #f2f4f7;
|
|
83
83
|
}
|
|
84
|
-
.designer-canvas[data-v-
|
|
84
|
+
.designer-canvas[data-v-53b1f897] .sketch-ruler {
|
|
85
85
|
width: 100%;
|
|
86
86
|
}
|
|
87
|
-
.designer-canvas[data-v-
|
|
88
|
-
.designer-canvas[data-v-
|
|
87
|
+
.designer-canvas[data-v-53b1f897] .sketch-ruler > .defaultCursor,
|
|
88
|
+
.designer-canvas[data-v-53b1f897] .sketch-ruler > .grabCursor {
|
|
89
89
|
background-color: #f2f4f7 !important;
|
|
90
90
|
}
|
|
91
|
-
.designer-panel[data-v-
|
|
91
|
+
.designer-panel[data-v-53b1f897] {
|
|
92
92
|
flex-shrink: 0;
|
|
93
93
|
width: 248px;
|
|
94
94
|
border-left: 1px solid #eaeaea;
|
|
@@ -16,18 +16,32 @@ import { OverlayScrollbarsComponent } from "overlayscrollbars-vue";
|
|
|
16
16
|
/** OverlayScrollbars 组件 options prop 的类型(与组件 prop 兼容) */
|
|
17
17
|
/** 全局默认滚动条配置 */
|
|
18
18
|
var DEFAULT_OPTIONS = { scrollbars: {
|
|
19
|
+
/** 鼠标离开宿主元素时自动隐藏滚动条 */
|
|
19
20
|
autoHide: "leave",
|
|
21
|
+
/** 自动隐藏延迟时间 (ms) */
|
|
20
22
|
autoHideDelay: 100,
|
|
23
|
+
/** 默认深色主题 */
|
|
21
24
|
theme: "os-theme-dark"
|
|
22
25
|
} };
|
|
23
26
|
var GctOverlayScrollbars = /* @__PURE__ */ defineComponent({
|
|
27
|
+
/** 组件名称,与全局注册的 OverlayScrollbarsComponent 保持一致 */
|
|
24
28
|
name: "GctOverlayScrollbars",
|
|
25
29
|
inheritAttrs: false,
|
|
26
30
|
props: {
|
|
31
|
+
/**
|
|
32
|
+
* OverlayScrollbars 选项,与默认配置深合并,用户传入的 scrollbars 子项优先级更高
|
|
33
|
+
* 传入 false 时完全禁用默认配置
|
|
34
|
+
*/
|
|
27
35
|
options: {
|
|
28
36
|
type: [Object, Boolean],
|
|
29
37
|
default: null
|
|
30
38
|
},
|
|
39
|
+
/**
|
|
40
|
+
* 滚动条把手颜色,传入任意 CSS 颜色值后覆盖主题内置颜色
|
|
41
|
+
* hover 态自动加深 20%,active 态加深 40%
|
|
42
|
+
* 例如:'#1677ff'、'rgba(22,119,255,0.6)'
|
|
43
|
+
* 不传时使用主题默认颜色
|
|
44
|
+
*/
|
|
31
45
|
handleColor: {
|
|
32
46
|
type: String,
|
|
33
47
|
default: "rgba(144, 147, 153, 0.3)"
|
|
@@ -59,7 +73,9 @@ var GctOverlayScrollbars = /* @__PURE__ */ defineComponent({
|
|
|
59
73
|
* 使调用方可通过 ref 获取 OverlayScrollbars 实例或根元素
|
|
60
74
|
*/
|
|
61
75
|
expose({
|
|
76
|
+
/** 返回 OverlayScrollbars 实例,未初始化时返回 null */
|
|
62
77
|
osInstance: () => osRef.value?.osInstance() ?? null,
|
|
78
|
+
/** 返回根 DOM 元素,未挂载时返回 null */
|
|
63
79
|
getElement: () => osRef.value?.getElement() ?? null
|
|
64
80
|
});
|
|
65
81
|
/** 回调式 ref,将内部实例赋値给 osRef */
|
package/es/index.mjs
CHANGED
|
@@ -67,6 +67,7 @@ import { OverlayController, overlay } from "./utils/overlay-controller/overlay-c
|
|
|
67
67
|
import { withInstall } from "./utils/with-install.mjs";
|
|
68
68
|
import { filterTreeData, findRecursiveChild, recursiveIterate, recursiveTransfer } from "./utils/recursive.mjs";
|
|
69
69
|
import "./utils/index.mjs";
|
|
70
|
+
import './styles/index.css';/* empty css */
|
|
70
71
|
import { useEditorConsole, useEditorConsoleInner } from "./modules/code-editor/useEditorConsole.mjs";
|
|
71
72
|
import { Lang, Prop, Theme } from "./modules/code-editor/useMonacoEditor.mjs";
|
|
72
73
|
import { MonacoEditor } from "./modules/code-editor/index.mjs";
|
|
@@ -104,8 +105,8 @@ import { ViewContainer } from "./components/layout/view-container/view-container
|
|
|
104
105
|
import { Vue3GridDndItem } from "./components/vue3-grid-dnd-item/vue3-grid-dnd-item.mjs";
|
|
105
106
|
import FieldCascader_default from "./components/field-cascader/src/FieldCascader.vue.mjs";
|
|
106
107
|
import stage_view_default from "./components/label-design/stage/stage-view.vue.mjs";
|
|
107
|
-
import { setIdentify } from "./components/label-design/identify-config.mjs";
|
|
108
108
|
import { useModalPicker } from "./components/label-design/modal/index.mjs";
|
|
109
|
+
import { setIdentify } from "./components/label-design/identify-config.mjs";
|
|
109
110
|
import { PickType } from "./components/UserPick/src/constants/index.mjs";
|
|
110
111
|
import { useModalPicker as useModalPicker$1 } from "./components/UserPick/index.mjs";
|
|
111
112
|
import paas_bpmn_runtime_default from "./components/BpmnRuntime/paas/paas-bpmn-runtime.vue.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGctFormValue } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
|
|
2
2
|
import "../../../gct-form/index.mjs";
|
|
3
|
-
import '
|
|
3
|
+
import '../gct-table-text/gct-table-text.css';/* empty css */
|
|
4
4
|
import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
|
|
5
5
|
import { useNamespace } from "@gct-paas/core";
|
|
6
6
|
//#region src/modules/gct-table/editor/gct-table-date/gct-table-date.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGctFormValueByText } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
|
|
2
2
|
import "../../../gct-form/index.mjs";
|
|
3
|
-
import '
|
|
3
|
+
import './gct-table-text.css';/* empty css */
|
|
4
4
|
import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
|
|
5
5
|
import { useNamespace } from "@gct-paas/core";
|
|
6
6
|
//#region src/modules/gct-table/editor/gct-table-text/gct-table-text.tsx
|
|
@@ -38,10 +38,16 @@ var basicProps = Object.assign({}, {
|
|
|
38
38
|
},
|
|
39
39
|
loading: { type: Boolean },
|
|
40
40
|
loadingTip: { type: String },
|
|
41
|
+
/**
|
|
42
|
+
* @description: Show close button
|
|
43
|
+
*/
|
|
41
44
|
showCancelBtn: {
|
|
42
45
|
type: Boolean,
|
|
43
46
|
default: true
|
|
44
47
|
},
|
|
48
|
+
/**
|
|
49
|
+
* @description: Show confirmation button
|
|
50
|
+
*/
|
|
45
51
|
showOkBtn: {
|
|
46
52
|
type: Boolean,
|
|
47
53
|
default: true
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import CopperFreeModal_vue_vue_type_script_setup_true_name_CropperModal_lang_default from "./CopperFreeModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs";
|
|
3
|
-
import './CopperFreeModal.
|
|
3
|
+
import './CopperFreeModal.vue_vue_type_style_index_0_scoped_da6428d3_lang.css';/* empty css */
|
|
4
4
|
//#region src/modules/picture-cropper/src/CopperFreeModal.vue
|
|
5
|
-
var CopperFreeModal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(CopperFreeModal_vue_vue_type_script_setup_true_name_CropperModal_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var CopperFreeModal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(CopperFreeModal_vue_vue_type_script_setup_true_name_CropperModal_lang_default, [["__scopeId", "data-v-da6428d3"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { CopperFreeModal_default as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.gct-cropper-free[data-v-
|
|
1
|
+
.gct-cropper-free[data-v-da6428d3] {
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: 0 35px;
|
|
4
4
|
}
|
|
5
|
-
.gct-cropper-free-left[data-v-
|
|
6
|
-
.gct-cropper-free-right[data-v-
|
|
5
|
+
.gct-cropper-free-left[data-v-da6428d3],
|
|
6
|
+
.gct-cropper-free-right[data-v-da6428d3] {
|
|
7
7
|
height: 304px;
|
|
8
8
|
}
|
|
9
|
-
.gct-cropper-free-left[data-v-
|
|
9
|
+
.gct-cropper-free-left[data-v-da6428d3] {
|
|
10
10
|
width: 100%;
|
|
11
11
|
}
|
|
12
|
-
.gct-cropper-free-cropper[data-v-
|
|
12
|
+
.gct-cropper-free-cropper[data-v-da6428d3] {
|
|
13
13
|
position: relative;
|
|
14
14
|
width: 538px;
|
|
15
15
|
height: 304px;
|
|
@@ -19,30 +19,30 @@
|
|
|
19
19
|
12px 12px;
|
|
20
20
|
background-size: 24px 24px;
|
|
21
21
|
}
|
|
22
|
-
.gct-cropper-free-toolbar[data-v-
|
|
22
|
+
.gct-cropper-free-toolbar[data-v-da6428d3] {
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: center;
|
|
25
25
|
justify-content: space-between;
|
|
26
26
|
width: 538px;
|
|
27
27
|
margin-top: 10px;
|
|
28
28
|
}
|
|
29
|
-
.empty[data-v-
|
|
29
|
+
.empty[data-v-da6428d3] {
|
|
30
30
|
position: absolute;
|
|
31
31
|
top: 0;
|
|
32
32
|
left: 0;
|
|
33
33
|
width: 100%;
|
|
34
34
|
height: 100%;
|
|
35
35
|
}
|
|
36
|
-
.empty span[data-v-
|
|
36
|
+
.empty span[data-v-da6428d3] {
|
|
37
37
|
display: inline-block;
|
|
38
38
|
width: 100%;
|
|
39
39
|
height: 100%;
|
|
40
40
|
}
|
|
41
|
-
.empty span[data-v-
|
|
41
|
+
.empty span[data-v-da6428d3] .ant-upload-list {
|
|
42
42
|
width: 100%;
|
|
43
43
|
height: 100%;
|
|
44
44
|
}
|
|
45
|
-
.empty span[data-v-
|
|
45
|
+
.empty span[data-v-da6428d3] .ant-upload-list .ant-upload-select-picture-card {
|
|
46
46
|
width: 100%;
|
|
47
47
|
height: 100%;
|
|
48
48
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import CropperFree_vue_vue_type_script_setup_true_name_CropperPhoto_lang_default from "./CropperFree.vue_vue_type_script_setup_true_name_CropperPhoto_lang.mjs";
|
|
3
|
-
import './CropperFree.
|
|
3
|
+
import './CropperFree.vue_vue_type_style_index_0_scoped_c85d53db_lang.css';/* empty css */
|
|
4
4
|
//#region src/modules/picture-cropper/src/CropperFree.vue
|
|
5
|
-
var CropperFree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(CropperFree_vue_vue_type_script_setup_true_name_CropperPhoto_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var CropperFree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(CropperFree_vue_vue_type_script_setup_true_name_CropperPhoto_lang_default, [["__scopeId", "data-v-c85d53db"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { CropperFree_default as default };
|