@bluechaine/print-designer 0.1.0
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/README.en.md +154 -0
- package/README.md +151 -0
- package/README.zh-CN.md +5 -0
- package/dist/plugins/api-image.cjs +2 -0
- package/dist/plugins/api-image.cjs.map +1 -0
- package/dist/plugins/api-image.mjs +28 -0
- package/dist/plugins/api-image.mjs.map +1 -0
- package/dist/plugins/api-pdf.cjs +2 -0
- package/dist/plugins/api-pdf.cjs.map +1 -0
- package/dist/plugins/api-pdf.mjs +35 -0
- package/dist/plugins/api-pdf.mjs.map +1 -0
- package/dist/plugins/view-code-edit.cjs +11 -0
- package/dist/plugins/view-code-edit.cjs.map +1 -0
- package/dist/plugins/view-code-edit.mjs +55 -0
- package/dist/plugins/view-code-edit.mjs.map +1 -0
- package/dist/types/plugins/plugin-api-image/src/index.d.ts +11 -0
- package/dist/types/plugins/plugin-api-pdf/src/index.d.ts +15 -0
- package/dist/types/plugins/plugin-view-code-edit/src/index.d.ts +15 -0
- package/dist/types/src/components/Designer.vue.d.ts +2016 -0
- package/dist/types/src/components/DragBox.vue.d.ts +223 -0
- package/dist/types/src/components/Header.vue.d.ts +96 -0
- package/dist/types/src/components/JsonEditorModal.vue.d.ts +25 -0
- package/dist/types/src/components/Preview.vue.d.ts +27 -0
- package/dist/types/src/components/PrintDataEditorModal.vue.d.ts +86 -0
- package/dist/types/src/components/Ruler.vue.d.ts +16 -0
- package/dist/types/src/components/SvpIcon.vue.d.ts +31 -0
- package/dist/types/src/components/Toolbar.vue.d.ts +116 -0
- package/dist/types/src/components/panels/DraggableElsPanel.vue.d.ts +322 -0
- package/dist/types/src/components/panels/LocationExchangePanel.vue.d.ts +226 -0
- package/dist/types/src/components/panels/MiniMapPanel.vue.d.ts +278 -0
- package/dist/types/src/components/panels/PageHistoryPanel.vue.d.ts +345 -0
- package/dist/types/src/components/panels/PageStructurePanel.vue.d.ts +262 -0
- package/dist/types/src/components/panels/PageTabsPanel.vue.d.ts +267 -0
- package/dist/types/src/components/panels/PaperProperties.vue.d.ts +52 -0
- package/dist/types/src/components/panels/PropertiesPanel.vue.d.ts +225 -0
- package/dist/types/src/composables/useDesigner.d.ts +9 -0
- package/dist/types/src/composables/useDesignerUi.d.ts +2 -0
- package/dist/types/src/composables/useDragBox.d.ts +41 -0
- package/dist/types/src/composables/useRuler.d.ts +10 -0
- package/dist/types/src/constants/default-table-element.d.ts +151 -0
- package/dist/types/src/constants/header-elements.d.ts +3 -0
- package/dist/types/src/constants/icons.d.ts +61 -0
- package/dist/types/src/constants/panel-layout.d.ts +74 -0
- package/dist/types/src/constants.d.ts +37 -0
- package/dist/types/src/core/designer-options.d.ts +34 -0
- package/dist/types/src/core/designer-utils.d.ts +209 -0
- package/dist/types/src/core/hiprint-bridge.d.ts +24 -0
- package/dist/types/src/core/hiprint-paper-list.d.ts +20 -0
- package/dist/types/src/core/history-labels.d.ts +8 -0
- package/dist/types/src/core/history.d.ts +24 -0
- package/dist/types/src/core/json-editor-modal.d.ts +15 -0
- package/dist/types/src/core/plugins.d.ts +17 -0
- package/dist/types/src/core/preview-html.d.ts +2 -0
- package/dist/types/src/core/print-data-editor-modal.d.ts +19 -0
- package/dist/types/src/core/providers.d.ts +5 -0
- package/dist/types/src/core/register-icons.d.ts +1 -0
- package/dist/types/src/core/shortcuts.d.ts +20 -0
- package/dist/types/src/core/storage.d.ts +3 -0
- package/dist/types/src/core/stores.d.ts +77 -0
- package/dist/types/src/core/svp-element-provider.d.ts +8 -0
- package/dist/types/src/core/template-fields.d.ts +28 -0
- package/dist/types/src/core/theme.d.ts +1 -0
- package/dist/types/src/i18n/en-US.d.ts +104 -0
- package/dist/types/src/i18n/index.d.ts +12 -0
- package/dist/types/src/i18n/zh-CN.d.ts +104 -0
- package/dist/types/src/index.d.ts +52 -0
- package/dist/types/src/types.d.ts +229 -0
- package/dist/vue2/index.cjs +10329 -0
- package/dist/vue2/index.cjs.map +1 -0
- package/dist/vue2/index.mjs +10324 -0
- package/dist/vue2/index.mjs.map +1 -0
- package/dist/vue2/index.umd.cjs +10330 -0
- package/dist/vue2/index.umd.cjs.map +1 -0
- package/dist/vue2/style.css +2657 -0
- package/dist/vue3/index.cjs +10062 -0
- package/dist/vue3/index.cjs.map +1 -0
- package/dist/vue3/index.mjs +10057 -0
- package/dist/vue3/index.mjs.map +1 -0
- package/dist/vue3/index.umd.cjs +10063 -0
- package/dist/vue3/index.umd.cjs.map +1 -0
- package/dist/vue3/style.css +2657 -0
- package/package.json +129 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
t: (key: string, fallback?: string) => string;
|
|
3
|
+
items: import("vue").ComputedRef<any[]>;
|
|
4
|
+
selectedIds: import("vue").ComputedRef<string[]>;
|
|
5
|
+
ICON_DELETE: string;
|
|
6
|
+
labelFor: (item: any) => any;
|
|
7
|
+
iconFor: (item: any) => string;
|
|
8
|
+
isItemSelected: (item: any) => boolean;
|
|
9
|
+
onSelect: (item: any) => void;
|
|
10
|
+
onDelete: (item: any) => void;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
12
|
+
DragBox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
title: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
storageKey: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
layoutKey: {
|
|
22
|
+
type: import("vue").PropType<import("../../constants/panel-layout.js").SvpPanelLayoutKey>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
styleOptionKey: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
panelKey: {
|
|
30
|
+
type: import("vue").PropType<keyof import("../../core/stores").PanelVisibility>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
defaultX: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
defaultY: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
width: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
height: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
visible: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
folded: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
foldable: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
closable: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
bodyPadding: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
boundsSelector: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
bodyStyleExtra: {
|
|
74
|
+
type: import("vue").PropType<Record<string, string>>;
|
|
75
|
+
default: () => {};
|
|
76
|
+
};
|
|
77
|
+
}>, {
|
|
78
|
+
boxRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
79
|
+
state: {
|
|
80
|
+
x: number;
|
|
81
|
+
y: number;
|
|
82
|
+
width: number;
|
|
83
|
+
height: number;
|
|
84
|
+
folded: boolean;
|
|
85
|
+
visible: boolean;
|
|
86
|
+
};
|
|
87
|
+
show: import("vue").ComputedRef<boolean>;
|
|
88
|
+
showFold: import("vue").ComputedRef<boolean>;
|
|
89
|
+
showClose: import("vue").ComputedRef<boolean>;
|
|
90
|
+
toggleFolded: () => void;
|
|
91
|
+
boxStyle: import("vue").ComputedRef<{
|
|
92
|
+
left: string;
|
|
93
|
+
top: string;
|
|
94
|
+
width: string;
|
|
95
|
+
height: string;
|
|
96
|
+
}>;
|
|
97
|
+
bodyStyle: import("vue").ComputedRef<{
|
|
98
|
+
padding: string | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
onClose: () => void;
|
|
101
|
+
resolvedTitle: import("vue").ComputedRef<string>;
|
|
102
|
+
draggable: import("vue").ComputedRef<boolean>;
|
|
103
|
+
t: (key: string, fallback?: string) => string;
|
|
104
|
+
UI_ICONS: {
|
|
105
|
+
readonly save: "lucide:save";
|
|
106
|
+
readonly preview: "lucide:eye";
|
|
107
|
+
readonly editTemplate: "lucide:file-json-2";
|
|
108
|
+
readonly editPrintData: "lucide:database";
|
|
109
|
+
readonly exportFile: "lucide:download";
|
|
110
|
+
readonly importFile: "lucide:upload";
|
|
111
|
+
readonly chevronDown: "lucide:chevron-down";
|
|
112
|
+
readonly close: "lucide:x";
|
|
113
|
+
};
|
|
114
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible")[], "close" | "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
|
+
title: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
storageKey: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
layoutKey: {
|
|
124
|
+
type: import("vue").PropType<import("../../constants/panel-layout.js").SvpPanelLayoutKey>;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
styleOptionKey: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
panelKey: {
|
|
132
|
+
type: import("vue").PropType<keyof import("../../core/stores").PanelVisibility>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
defaultX: {
|
|
136
|
+
type: NumberConstructor;
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
|
+
defaultY: {
|
|
140
|
+
type: NumberConstructor;
|
|
141
|
+
default: number;
|
|
142
|
+
};
|
|
143
|
+
width: {
|
|
144
|
+
type: NumberConstructor;
|
|
145
|
+
default: number;
|
|
146
|
+
};
|
|
147
|
+
height: {
|
|
148
|
+
type: NumberConstructor;
|
|
149
|
+
default: number;
|
|
150
|
+
};
|
|
151
|
+
visible: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
folded: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
foldable: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
closable: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: undefined;
|
|
166
|
+
};
|
|
167
|
+
bodyPadding: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
boundsSelector: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
bodyStyleExtra: {
|
|
176
|
+
type: import("vue").PropType<Record<string, string>>;
|
|
177
|
+
default: () => {};
|
|
178
|
+
};
|
|
179
|
+
}>> & Readonly<{
|
|
180
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
181
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
}>, {
|
|
183
|
+
title: string;
|
|
184
|
+
width: number;
|
|
185
|
+
height: number;
|
|
186
|
+
panelKey: keyof import("../../core/stores").PanelVisibility;
|
|
187
|
+
visible: boolean;
|
|
188
|
+
folded: boolean;
|
|
189
|
+
storageKey: string;
|
|
190
|
+
layoutKey: "draggableEls" | "miniMap" | "pageStructure" | "pageHistory" | "properties";
|
|
191
|
+
styleOptionKey: string;
|
|
192
|
+
defaultX: number;
|
|
193
|
+
defaultY: number;
|
|
194
|
+
foldable: boolean;
|
|
195
|
+
closable: boolean;
|
|
196
|
+
bodyPadding: string;
|
|
197
|
+
boundsSelector: string;
|
|
198
|
+
bodyStyleExtra: Record<string, string>;
|
|
199
|
+
}, {}, {
|
|
200
|
+
SvpIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
201
|
+
icon: {
|
|
202
|
+
type: StringConstructor;
|
|
203
|
+
required: true;
|
|
204
|
+
};
|
|
205
|
+
size: {
|
|
206
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
207
|
+
default: number;
|
|
208
|
+
};
|
|
209
|
+
}>, {
|
|
210
|
+
isSvg: import("vue").ComputedRef<boolean>;
|
|
211
|
+
sizePx: import("vue").ComputedRef<number>;
|
|
212
|
+
wrapStyle: import("vue").ComputedRef<{
|
|
213
|
+
width: string;
|
|
214
|
+
height: string;
|
|
215
|
+
}>;
|
|
216
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
217
|
+
icon: {
|
|
218
|
+
type: StringConstructor;
|
|
219
|
+
required: true;
|
|
220
|
+
};
|
|
221
|
+
size: {
|
|
222
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
223
|
+
default: number;
|
|
224
|
+
};
|
|
225
|
+
}>> & Readonly<{}>, {
|
|
226
|
+
size: string | number;
|
|
227
|
+
}, {}, {
|
|
228
|
+
Icon: import("vue").DefineSetupFnComponent<import("@iconify/vue").IconProps, {}, {}, import("@iconify/vue").IconProps, import("vue").PublicProps>;
|
|
229
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
230
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
231
|
+
SvpIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
232
|
+
icon: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
required: true;
|
|
235
|
+
};
|
|
236
|
+
size: {
|
|
237
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
238
|
+
default: number;
|
|
239
|
+
};
|
|
240
|
+
}>, {
|
|
241
|
+
isSvg: import("vue").ComputedRef<boolean>;
|
|
242
|
+
sizePx: import("vue").ComputedRef<number>;
|
|
243
|
+
wrapStyle: import("vue").ComputedRef<{
|
|
244
|
+
width: string;
|
|
245
|
+
height: string;
|
|
246
|
+
}>;
|
|
247
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
248
|
+
icon: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
required: true;
|
|
251
|
+
};
|
|
252
|
+
size: {
|
|
253
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
254
|
+
default: number;
|
|
255
|
+
};
|
|
256
|
+
}>> & Readonly<{}>, {
|
|
257
|
+
size: string | number;
|
|
258
|
+
}, {}, {
|
|
259
|
+
Icon: import("vue").DefineSetupFnComponent<import("@iconify/vue").IconProps, {}, {}, import("@iconify/vue").IconProps, import("vue").PublicProps>;
|
|
260
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
261
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
262
|
+
export default _default;
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
t: (key: string, fallback?: string) => string;
|
|
3
|
+
state: {
|
|
4
|
+
theme: string;
|
|
5
|
+
themeList: (string | {
|
|
6
|
+
theme?: string | undefined;
|
|
7
|
+
primaryColor: string;
|
|
8
|
+
primaryContent?: string | undefined;
|
|
9
|
+
secondaryColor?: string | undefined;
|
|
10
|
+
secondaryContent?: string | undefined;
|
|
11
|
+
accentColor?: string | undefined;
|
|
12
|
+
accentContent?: string | undefined;
|
|
13
|
+
neutralColor?: string | undefined;
|
|
14
|
+
neutralContent?: string | undefined;
|
|
15
|
+
base100?: string | undefined;
|
|
16
|
+
base200?: string | undefined;
|
|
17
|
+
base300?: string | undefined;
|
|
18
|
+
baseContent?: string | undefined;
|
|
19
|
+
info?: string | undefined;
|
|
20
|
+
infoContent?: string | undefined;
|
|
21
|
+
success?: string | undefined;
|
|
22
|
+
successContent?: string | undefined;
|
|
23
|
+
warning?: string | undefined;
|
|
24
|
+
warningContent?: string | undefined;
|
|
25
|
+
error?: string | undefined;
|
|
26
|
+
errorContent?: string | undefined;
|
|
27
|
+
})[];
|
|
28
|
+
lang: string;
|
|
29
|
+
zoom: number;
|
|
30
|
+
panels: {
|
|
31
|
+
draggableEls: boolean;
|
|
32
|
+
miniMap: boolean;
|
|
33
|
+
pageTabs: boolean;
|
|
34
|
+
pageStructure: boolean;
|
|
35
|
+
pageHistory: boolean;
|
|
36
|
+
properties: boolean;
|
|
37
|
+
};
|
|
38
|
+
selection: {
|
|
39
|
+
count: number;
|
|
40
|
+
ids: string[];
|
|
41
|
+
elements: unknown[];
|
|
42
|
+
};
|
|
43
|
+
history: {
|
|
44
|
+
index: number;
|
|
45
|
+
total: number;
|
|
46
|
+
capacity: number;
|
|
47
|
+
canUndo: boolean;
|
|
48
|
+
canRedo: boolean;
|
|
49
|
+
};
|
|
50
|
+
isMobile: boolean;
|
|
51
|
+
uiPulse: number;
|
|
52
|
+
};
|
|
53
|
+
panels: import("vue").ComputedRef<any>;
|
|
54
|
+
activeIndex: import("vue").ComputedRef<number>;
|
|
55
|
+
onSelect: (idx: number) => void;
|
|
56
|
+
onAdd: () => void;
|
|
57
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
58
|
+
DragBox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
59
|
+
title: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
storageKey: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
layoutKey: {
|
|
68
|
+
type: import("vue").PropType<import("../../constants/panel-layout.js").SvpPanelLayoutKey>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
panelKey: {
|
|
72
|
+
type: import("vue").PropType<keyof import("../../core/stores").PanelVisibility>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
defaultX: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
defaultY: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
width: {
|
|
84
|
+
type: NumberConstructor;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
height: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
visible: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
folded: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
foldable: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
closable: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
bodyPadding: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
boundsSelector: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
bodyStyleExtra: {
|
|
116
|
+
type: import("vue").PropType<Record<string, string>>;
|
|
117
|
+
default: () => {};
|
|
118
|
+
};
|
|
119
|
+
}>, {
|
|
120
|
+
boxRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
121
|
+
state: {
|
|
122
|
+
x: number;
|
|
123
|
+
y: number;
|
|
124
|
+
width: number;
|
|
125
|
+
height: number;
|
|
126
|
+
folded: boolean;
|
|
127
|
+
visible: boolean;
|
|
128
|
+
};
|
|
129
|
+
show: import("vue").ComputedRef<boolean>;
|
|
130
|
+
showFold: import("vue").ComputedRef<boolean>;
|
|
131
|
+
showClose: import("vue").ComputedRef<boolean>;
|
|
132
|
+
toggleFolded: () => void;
|
|
133
|
+
boxStyle: import("vue").ComputedRef<{
|
|
134
|
+
left: string;
|
|
135
|
+
top: string;
|
|
136
|
+
width: string;
|
|
137
|
+
height: string;
|
|
138
|
+
}>;
|
|
139
|
+
bodyStyle: import("vue").ComputedRef<{
|
|
140
|
+
padding: string | undefined;
|
|
141
|
+
}>;
|
|
142
|
+
onClose: () => void;
|
|
143
|
+
t: (key: string, fallback?: string) => string;
|
|
144
|
+
UI_ICONS: {
|
|
145
|
+
readonly save: "lucide:save";
|
|
146
|
+
readonly preview: "lucide:eye";
|
|
147
|
+
readonly editTemplate: "lucide:file-json-2";
|
|
148
|
+
readonly editPrintData: "lucide:database";
|
|
149
|
+
readonly exportFile: "lucide:download";
|
|
150
|
+
readonly importFile: "lucide:upload";
|
|
151
|
+
readonly chevronDown: "lucide:chevron-down";
|
|
152
|
+
readonly close: "lucide:x";
|
|
153
|
+
};
|
|
154
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible")[], "close" | "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
155
|
+
title: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
storageKey: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
layoutKey: {
|
|
164
|
+
type: import("vue").PropType<import("../../constants/panel-layout.js").SvpPanelLayoutKey>;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
panelKey: {
|
|
168
|
+
type: import("vue").PropType<keyof import("../../core/stores").PanelVisibility>;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
defaultX: {
|
|
172
|
+
type: NumberConstructor;
|
|
173
|
+
default: number;
|
|
174
|
+
};
|
|
175
|
+
defaultY: {
|
|
176
|
+
type: NumberConstructor;
|
|
177
|
+
default: number;
|
|
178
|
+
};
|
|
179
|
+
width: {
|
|
180
|
+
type: NumberConstructor;
|
|
181
|
+
default: number;
|
|
182
|
+
};
|
|
183
|
+
height: {
|
|
184
|
+
type: NumberConstructor;
|
|
185
|
+
default: number;
|
|
186
|
+
};
|
|
187
|
+
visible: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
folded: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: boolean;
|
|
194
|
+
};
|
|
195
|
+
foldable: {
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
closable: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: undefined;
|
|
202
|
+
};
|
|
203
|
+
bodyPadding: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
default: string;
|
|
206
|
+
};
|
|
207
|
+
boundsSelector: {
|
|
208
|
+
type: StringConstructor;
|
|
209
|
+
default: string;
|
|
210
|
+
};
|
|
211
|
+
bodyStyleExtra: {
|
|
212
|
+
type: import("vue").PropType<Record<string, string>>;
|
|
213
|
+
default: () => {};
|
|
214
|
+
};
|
|
215
|
+
}>> & Readonly<{
|
|
216
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
218
|
+
}>, {
|
|
219
|
+
title: string;
|
|
220
|
+
width: number;
|
|
221
|
+
height: number;
|
|
222
|
+
visible: boolean;
|
|
223
|
+
folded: boolean;
|
|
224
|
+
storageKey: string;
|
|
225
|
+
layoutKey: "draggableEls" | "miniMap" | "pageStructure" | "pageHistory" | "properties";
|
|
226
|
+
panelKey: keyof import("../../core/stores").PanelVisibility;
|
|
227
|
+
defaultX: number;
|
|
228
|
+
defaultY: number;
|
|
229
|
+
foldable: boolean;
|
|
230
|
+
closable: boolean;
|
|
231
|
+
bodyPadding: string;
|
|
232
|
+
boundsSelector: string;
|
|
233
|
+
bodyStyleExtra: Record<string, string>;
|
|
234
|
+
}, {}, {
|
|
235
|
+
SvpIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
236
|
+
icon: {
|
|
237
|
+
type: StringConstructor;
|
|
238
|
+
required: true;
|
|
239
|
+
};
|
|
240
|
+
size: {
|
|
241
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
242
|
+
default: number;
|
|
243
|
+
};
|
|
244
|
+
}>, {
|
|
245
|
+
isSvg: import("vue").ComputedRef<boolean>;
|
|
246
|
+
sizePx: import("vue").ComputedRef<number>;
|
|
247
|
+
wrapStyle: import("vue").ComputedRef<{
|
|
248
|
+
width: string;
|
|
249
|
+
height: string;
|
|
250
|
+
}>;
|
|
251
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
252
|
+
icon: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
required: true;
|
|
255
|
+
};
|
|
256
|
+
size: {
|
|
257
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
258
|
+
default: number;
|
|
259
|
+
};
|
|
260
|
+
}>> & Readonly<{}>, {
|
|
261
|
+
size: string | number;
|
|
262
|
+
}, {}, {
|
|
263
|
+
Icon: import("vue").DefineSetupFnComponent<import("@iconify/vue").IconProps, {}, {}, import("@iconify/vue").IconProps, import("vue").PublicProps>;
|
|
264
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
265
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
266
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
267
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
form: {
|
|
3
|
+
printRule: string;
|
|
4
|
+
pageRule: string;
|
|
5
|
+
paperHeader: number;
|
|
6
|
+
paperFooter: number;
|
|
7
|
+
firstPaperFooter: string;
|
|
8
|
+
evenPaperFooter: string;
|
|
9
|
+
oddPaperFooter: string;
|
|
10
|
+
tailPaperFooter: string;
|
|
11
|
+
printableLeftOffset: number | "";
|
|
12
|
+
printableTopOffset: number | "";
|
|
13
|
+
fieldName: string;
|
|
14
|
+
fontFamily: string;
|
|
15
|
+
orientation: string;
|
|
16
|
+
showPaperNumber: string;
|
|
17
|
+
paperNumberContinue: string;
|
|
18
|
+
paperNumberFormat: string;
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
extendStyle: string;
|
|
21
|
+
rotate: number;
|
|
22
|
+
bgImage: string;
|
|
23
|
+
bgOpacity: number;
|
|
24
|
+
bgMode: string;
|
|
25
|
+
watermark: {
|
|
26
|
+
text: string;
|
|
27
|
+
color: string;
|
|
28
|
+
fontSize: number;
|
|
29
|
+
rotate: number;
|
|
30
|
+
gapX: number;
|
|
31
|
+
gapY: number;
|
|
32
|
+
showTime: boolean;
|
|
33
|
+
timeFormat: string;
|
|
34
|
+
};
|
|
35
|
+
arrange: {
|
|
36
|
+
direction: string;
|
|
37
|
+
gapV: number | "";
|
|
38
|
+
gapH: number | "";
|
|
39
|
+
width: number | "";
|
|
40
|
+
height: number | "";
|
|
41
|
+
style: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
fontList: {
|
|
45
|
+
title: string;
|
|
46
|
+
value: string;
|
|
47
|
+
}[];
|
|
48
|
+
rotations: number[];
|
|
49
|
+
apply: () => void;
|
|
50
|
+
onPickImage: () => void;
|
|
51
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
export default _default;
|