f-low-code-renderer 1.0.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.md +242 -0
- package/dist/components/DynamicTable/components/EditableTable.vue.d.ts +12 -0
- package/dist/components/DynamicTable/components/EditableTable.vue.d.ts.map +1 -0
- package/dist/components/DynamicTable/components/SetColWidthModal.vue.d.ts +12 -0
- package/dist/components/DynamicTable/components/SetColWidthModal.vue.d.ts.map +1 -0
- package/dist/components/DynamicTable/components/TableDesignModal.vue.d.ts +14 -0
- package/dist/components/DynamicTable/components/TableDesignModal.vue.d.ts.map +1 -0
- package/dist/components/DynamicTable/icon/Close.vue.d.ts +24 -0
- package/dist/components/DynamicTable/icon/Close.vue.d.ts.map +1 -0
- package/dist/components/DynamicTable/index.vue.d.ts +17 -0
- package/dist/components/DynamicTable/index.vue.d.ts.map +1 -0
- package/dist/components/DynamicTable/types.d.ts +22 -0
- package/dist/components/DynamicTable/types.d.ts.map +1 -0
- package/dist/components/HsTab/HsTabPane.vue.d.ts +43 -0
- package/dist/components/HsTab/HsTabPane.vue.d.ts.map +1 -0
- package/dist/components/HsTab/index.d.ts +12 -0
- package/dist/components/HsTab/index.d.ts.map +1 -0
- package/dist/components/HsTab/index.vue.d.ts +35 -0
- package/dist/components/HsTab/index.vue.d.ts.map +1 -0
- package/dist/components/IconClose.vue.d.ts +24 -0
- package/dist/components/IconClose.vue.d.ts.map +1 -0
- package/dist/components/ImageDiffv2/index.vue.d.ts +43 -0
- package/dist/components/ImageDiffv2/index.vue.d.ts.map +1 -0
- package/dist/components/LazyImage/index.vue.d.ts +50 -0
- package/dist/components/LazyImage/index.vue.d.ts.map +1 -0
- package/dist/components/LazyVideo/index.vue.d.ts +86 -0
- package/dist/components/LazyVideo/index.vue.d.ts.map +1 -0
- package/dist/components/PreviewMedia/components/PreviewModal.vue.d.ts +28 -0
- package/dist/components/PreviewMedia/components/PreviewModal.vue.d.ts.map +1 -0
- package/dist/components/PreviewMedia/icon/Enlarge.vue.d.ts +24 -0
- package/dist/components/PreviewMedia/icon/Enlarge.vue.d.ts.map +1 -0
- package/dist/components/PreviewMedia/index.vue.d.ts +25 -0
- package/dist/components/PreviewMedia/index.vue.d.ts.map +1 -0
- package/dist/components/icons/Left.vue.d.ts +33 -0
- package/dist/components/icons/Left.vue.d.ts.map +1 -0
- package/dist/components/icons/Right.vue.d.ts +33 -0
- package/dist/components/icons/Right.vue.d.ts.map +1 -0
- package/dist/components/v2/FBanner.vue.d.ts +15 -0
- package/dist/components/v2/FBanner.vue.d.ts.map +1 -0
- package/dist/components/v2/FCarouselTextMedia.vue.d.ts +16 -0
- package/dist/components/v2/FCarouselTextMedia.vue.d.ts.map +1 -0
- package/dist/components/v2/FCaseShow.vue.d.ts +16 -0
- package/dist/components/v2/FCaseShow.vue.d.ts.map +1 -0
- package/dist/components/v2/FMedia.vue.d.ts +15 -0
- package/dist/components/v2/FMedia.vue.d.ts.map +1 -0
- package/dist/components/v2/FTabTextMedia.vue.d.ts +15 -0
- package/dist/components/v2/FTabTextMedia.vue.d.ts.map +1 -0
- package/dist/components/v2/FText.vue.d.ts +15 -0
- package/dist/components/v2/FText.vue.d.ts.map +1 -0
- package/dist/components/v2/FTitle.vue.d.ts +15 -0
- package/dist/components/v2/FTitle.vue.d.ts.map +1 -0
- package/dist/components/v2/animation.d.ts +20 -0
- package/dist/components/v2/animation.d.ts.map +1 -0
- package/dist/f-low-code-renderer.cjs +15 -0
- package/dist/f-low-code-renderer.css +1 -0
- package/dist/f-low-code-renderer.mjs +10279 -0
- package/dist/hooks/useCommonStyle.d.ts +5 -0
- package/dist/hooks/useCommonStyle.d.ts.map +1 -0
- package/dist/index.d.ts +419 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/types/enums.d.ts +34 -0
- package/dist/types/enums.d.ts.map +1 -0
- package/dist/types/index.d.ts +74 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/table.d.ts +22 -0
- package/dist/types/table.d.ts.map +1 -0
- package/dist/utils/media.d.ts +3 -0
- package/dist/utils/media.d.ts.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCommonStyle.d.ts","sourceRoot":"","sources":["../../src/hooks/useCommonStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAG/C,wBAAgB,cAAc,CAAC,MAAM,EAAE,eAAe;;EAsBrD"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import './styles/index.css';
|
|
3
|
+
export { ComponentType, TextAlignType, TitleType, TabContentType, CaseShowType, ThemeType } from './types';
|
|
4
|
+
export type { ComponentConfig } from './types';
|
|
5
|
+
export type { BannerComponentConfig_v2, TitleComponentConfig_v2, TextComponentConfig_v2, MediaComponentConfig_v2, TabTextMediaComponentConfig_v2, TabTextMediaContent, CarouselTextMediaComponentConfig_v2, CarouselTextMediaContent, CaseShowComponentConfig_v2, CaseShowContent, } from './types';
|
|
6
|
+
export type { TableData, Cell } from './types/table';
|
|
7
|
+
export declare const FBannerV2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
config: {
|
|
9
|
+
type: import("vue").PropType<import("./types").BannerComponentConfig_v2>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
config: {
|
|
14
|
+
type: import("vue").PropType<import("./types").BannerComponentConfig_v2>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export declare const FTitleV2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
19
|
+
config: {
|
|
20
|
+
type: import("vue").PropType<import("./types").TitleComponentConfig_v2>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
config: {
|
|
25
|
+
type: import("vue").PropType<import("./types").TitleComponentConfig_v2>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export declare const FTextV2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
30
|
+
config: {
|
|
31
|
+
type: import("vue").PropType<import("./types").TextComponentConfig_v2>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
config: {
|
|
36
|
+
type: import("vue").PropType<import("./types").TextComponentConfig_v2>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export declare const FMediaV2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
41
|
+
config: {
|
|
42
|
+
type: import("vue").PropType<import("./types").MediaComponentConfig_v2>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
config: {
|
|
47
|
+
type: import("vue").PropType<import("./types").MediaComponentConfig_v2>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
export declare const FTabTextMediaV2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
52
|
+
config: {
|
|
53
|
+
type: import("vue").PropType<import("./types").TabTextMediaComponentConfig_v2>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
config: {
|
|
58
|
+
type: import("vue").PropType<import("./types").TabTextMediaComponentConfig_v2>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
export declare const FCarouselTextMediaV2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
63
|
+
config: {
|
|
64
|
+
type: import("vue").PropType<import("./types").CarouselTextMediaComponentConfig_v2>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
config: {
|
|
69
|
+
type: import("vue").PropType<import("./types").CarouselTextMediaComponentConfig_v2>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
+
export declare const FCaseShowV2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
74
|
+
config: {
|
|
75
|
+
type: import("vue").PropType<import("./types").CaseShowComponentConfig_v2>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
config: {
|
|
80
|
+
type: import("vue").PropType<import("./types").CaseShowComponentConfig_v2>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
84
|
+
export declare const LazyImage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
85
|
+
src: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
alt: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
width: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
height: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: undefined;
|
|
100
|
+
};
|
|
101
|
+
bg: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
106
|
+
src: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
required: true;
|
|
109
|
+
};
|
|
110
|
+
alt: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
width: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
height: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: undefined;
|
|
121
|
+
};
|
|
122
|
+
bg: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
}>> & Readonly<{}>, {
|
|
127
|
+
height: string;
|
|
128
|
+
width: string;
|
|
129
|
+
alt: string;
|
|
130
|
+
bg: boolean;
|
|
131
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
132
|
+
export declare const LazyVideo: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
133
|
+
src: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
required: true;
|
|
136
|
+
};
|
|
137
|
+
width: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
height: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: undefined;
|
|
144
|
+
};
|
|
145
|
+
loop: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
autoplay: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
muted: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
controls: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
controlslist: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
bg: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
170
|
+
src: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
required: true;
|
|
173
|
+
};
|
|
174
|
+
width: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: undefined;
|
|
177
|
+
};
|
|
178
|
+
height: {
|
|
179
|
+
type: StringConstructor;
|
|
180
|
+
default: undefined;
|
|
181
|
+
};
|
|
182
|
+
loop: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
autoplay: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
muted: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
controls: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
controlslist: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
bg: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: boolean;
|
|
205
|
+
};
|
|
206
|
+
}>> & Readonly<{}>, {
|
|
207
|
+
height: string;
|
|
208
|
+
width: string;
|
|
209
|
+
autoplay: boolean;
|
|
210
|
+
controls: boolean;
|
|
211
|
+
controlslist: string;
|
|
212
|
+
loop: boolean;
|
|
213
|
+
muted: boolean;
|
|
214
|
+
bg: boolean;
|
|
215
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
216
|
+
export declare const HsTab: {
|
|
217
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
218
|
+
contentHeight: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: string;
|
|
221
|
+
};
|
|
222
|
+
modelValue: {
|
|
223
|
+
type: import("vue").PropType<string>;
|
|
224
|
+
};
|
|
225
|
+
}>> & Readonly<{
|
|
226
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
227
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
228
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
229
|
+
}, import("vue").PublicProps, {
|
|
230
|
+
contentHeight: string;
|
|
231
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
232
|
+
P: {};
|
|
233
|
+
B: {};
|
|
234
|
+
D: {};
|
|
235
|
+
C: {};
|
|
236
|
+
M: {};
|
|
237
|
+
Defaults: {};
|
|
238
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
239
|
+
contentHeight: {
|
|
240
|
+
type: StringConstructor;
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
modelValue: {
|
|
244
|
+
type: import("vue").PropType<string>;
|
|
245
|
+
};
|
|
246
|
+
}>> & Readonly<{
|
|
247
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
248
|
+
}>, {}, {}, {}, {}, {
|
|
249
|
+
contentHeight: string;
|
|
250
|
+
}>;
|
|
251
|
+
__isFragment?: never;
|
|
252
|
+
__isTeleport?: never;
|
|
253
|
+
__isSuspense?: never;
|
|
254
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
255
|
+
contentHeight: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
default: string;
|
|
258
|
+
};
|
|
259
|
+
modelValue: {
|
|
260
|
+
type: import("vue").PropType<string>;
|
|
261
|
+
};
|
|
262
|
+
}>> & Readonly<{
|
|
263
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
264
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
265
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
266
|
+
}, string, {
|
|
267
|
+
contentHeight: string;
|
|
268
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
269
|
+
$slots: {
|
|
270
|
+
default?: (props: {}) => any;
|
|
271
|
+
};
|
|
272
|
+
});
|
|
273
|
+
export declare const HsTabPane: {
|
|
274
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
275
|
+
name: {
|
|
276
|
+
type: StringConstructor;
|
|
277
|
+
required: true;
|
|
278
|
+
};
|
|
279
|
+
label: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
required: true;
|
|
282
|
+
};
|
|
283
|
+
forceRender: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
288
|
+
forceRender: boolean;
|
|
289
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
290
|
+
P: {};
|
|
291
|
+
B: {};
|
|
292
|
+
D: {};
|
|
293
|
+
C: {};
|
|
294
|
+
M: {};
|
|
295
|
+
Defaults: {};
|
|
296
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
297
|
+
name: {
|
|
298
|
+
type: StringConstructor;
|
|
299
|
+
required: true;
|
|
300
|
+
};
|
|
301
|
+
label: {
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
required: true;
|
|
304
|
+
};
|
|
305
|
+
forceRender: {
|
|
306
|
+
type: BooleanConstructor;
|
|
307
|
+
default: boolean;
|
|
308
|
+
};
|
|
309
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
310
|
+
forceRender: boolean;
|
|
311
|
+
}>;
|
|
312
|
+
__isFragment?: never;
|
|
313
|
+
__isTeleport?: never;
|
|
314
|
+
__isSuspense?: never;
|
|
315
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
316
|
+
name: {
|
|
317
|
+
type: StringConstructor;
|
|
318
|
+
required: true;
|
|
319
|
+
};
|
|
320
|
+
label: {
|
|
321
|
+
type: StringConstructor;
|
|
322
|
+
required: true;
|
|
323
|
+
};
|
|
324
|
+
forceRender: {
|
|
325
|
+
type: BooleanConstructor;
|
|
326
|
+
default: boolean;
|
|
327
|
+
};
|
|
328
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
329
|
+
forceRender: boolean;
|
|
330
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
331
|
+
$slots: {
|
|
332
|
+
default?: (props: {}) => any;
|
|
333
|
+
} & {
|
|
334
|
+
default?: (props: {}) => any;
|
|
335
|
+
};
|
|
336
|
+
});
|
|
337
|
+
export declare const PreviewMedia: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
338
|
+
src: {
|
|
339
|
+
type: StringConstructor;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
342
|
+
previewList: {
|
|
343
|
+
type: import("vue").PropType<string[]>;
|
|
344
|
+
default: () => never[];
|
|
345
|
+
};
|
|
346
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
347
|
+
src: {
|
|
348
|
+
type: StringConstructor;
|
|
349
|
+
default: string;
|
|
350
|
+
};
|
|
351
|
+
previewList: {
|
|
352
|
+
type: import("vue").PropType<string[]>;
|
|
353
|
+
default: () => never[];
|
|
354
|
+
};
|
|
355
|
+
}>> & Readonly<{}>, {
|
|
356
|
+
src: string;
|
|
357
|
+
previewList: string[];
|
|
358
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
359
|
+
export declare const ImageDiffv2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
360
|
+
medium: {
|
|
361
|
+
type: import("vue").PropType<string[]>;
|
|
362
|
+
default: () => string[];
|
|
363
|
+
};
|
|
364
|
+
diffText: {
|
|
365
|
+
type: import("vue").PropType<string[]>;
|
|
366
|
+
default: () => string[];
|
|
367
|
+
};
|
|
368
|
+
width: {
|
|
369
|
+
type: StringConstructor;
|
|
370
|
+
default: string;
|
|
371
|
+
};
|
|
372
|
+
height: {
|
|
373
|
+
type: StringConstructor;
|
|
374
|
+
default: string;
|
|
375
|
+
};
|
|
376
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
377
|
+
medium: {
|
|
378
|
+
type: import("vue").PropType<string[]>;
|
|
379
|
+
default: () => string[];
|
|
380
|
+
};
|
|
381
|
+
diffText: {
|
|
382
|
+
type: import("vue").PropType<string[]>;
|
|
383
|
+
default: () => string[];
|
|
384
|
+
};
|
|
385
|
+
width: {
|
|
386
|
+
type: StringConstructor;
|
|
387
|
+
default: string;
|
|
388
|
+
};
|
|
389
|
+
height: {
|
|
390
|
+
type: StringConstructor;
|
|
391
|
+
default: string;
|
|
392
|
+
};
|
|
393
|
+
}>> & Readonly<{}>, {
|
|
394
|
+
height: string;
|
|
395
|
+
width: string;
|
|
396
|
+
medium: string[];
|
|
397
|
+
diffText: string[];
|
|
398
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
399
|
+
export declare const DynamicTable: import("vue").DefineComponent<{
|
|
400
|
+
mode?: "edit" | "view";
|
|
401
|
+
} & {
|
|
402
|
+
modelValue?: import("./components/DynamicTable/types").TableData | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
edit: () => void;
|
|
405
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
406
|
+
"update:modelValue": (value: import("./components/DynamicTable/types").TableData | undefined) => any;
|
|
407
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
408
|
+
mode?: "edit" | "view";
|
|
409
|
+
} & {
|
|
410
|
+
modelValue?: import("./components/DynamicTable/types").TableData | undefined;
|
|
411
|
+
}> & Readonly<{
|
|
412
|
+
"onUpdate:modelValue"?: ((value: import("./components/DynamicTable/types").TableData | undefined) => any) | undefined;
|
|
413
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
414
|
+
export declare function install(app: App): void;
|
|
415
|
+
declare const _default: {
|
|
416
|
+
install: typeof install;
|
|
417
|
+
};
|
|
418
|
+
export default _default;
|
|
419
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,oBAAoB,CAAA;AAiB3B,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAC1G,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,YAAY,EACV,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,8BAA8B,EAC9B,mBAAmB,EACnB,mCAAmC,EACnC,wBAAwB,EACxB,0BAA0B,EAC1B,eAAe,GAChB,MAAM,SAAS,CAAA;AAChB,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEpD,eAAO,MAAM,SAAS;;;;;;;;;;iGAAW,CAAA;AACjC,eAAO,MAAM,QAAQ;;;;;;;;;;iGAAU,CAAA;AAC/B,eAAO,MAAM,OAAO;;;;;;;;;;iGAAS,CAAA;AAC7B,eAAO,MAAM,QAAQ;;;;;;;;;;iGAAU,CAAA;AAC/B,eAAO,MAAM,eAAe;;;;;;;;;;iGAAiB,CAAA;AAC7C,eAAO,MAAM,oBAAoB;;;;;;;;;;iGAAsB,CAAA;AACvD,eAAO,MAAM,WAAW;;;;;;;;;;iGAAa,CAAA;AACrC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAAa,CAAA;AACnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAAa,CAAA;AACnC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAS,CAAA;AAC3B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAa,CAAA;AACnC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;4EAAgB,CAAA;AACzC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAAe,CAAA;AACvC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;kFAAgB,CAAA;AAUzC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,QAO/B;;;;AAED,wBAA0B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare enum ComponentType {
|
|
2
|
+
BANNER_V2 = "banner_v2",
|
|
3
|
+
TITLE_V2 = "title_v2",
|
|
4
|
+
TEXT_V2 = "text_v2",
|
|
5
|
+
MEDIA_V2 = "media_v2",
|
|
6
|
+
TAB_TEXT_MEDIA_V2 = "tabTextMedia_v2",
|
|
7
|
+
CAROUSEL_TEXT_MEDIA_V2 = "carouselTextMedia_v2",
|
|
8
|
+
CASE_SHOW_V2 = "caseShow_v2"
|
|
9
|
+
}
|
|
10
|
+
export declare enum TextAlignType {
|
|
11
|
+
LEFT = "left",
|
|
12
|
+
RIGHT = "right",
|
|
13
|
+
CENTER = "center",
|
|
14
|
+
JUSTIFY = "justify"
|
|
15
|
+
}
|
|
16
|
+
export declare enum TitleType {
|
|
17
|
+
MODULE_TITLE = "moduleTitle",
|
|
18
|
+
SORT_TITLE = "sortTitles"
|
|
19
|
+
}
|
|
20
|
+
export declare enum TabContentType {
|
|
21
|
+
TEXT_MEDIA = "textMedia",
|
|
22
|
+
MEDIA = "media",
|
|
23
|
+
TABLE = "table"
|
|
24
|
+
}
|
|
25
|
+
export declare enum CaseShowType {
|
|
26
|
+
IMAGE = "image",
|
|
27
|
+
VIDEO = "video",
|
|
28
|
+
DIFF = "diff"
|
|
29
|
+
}
|
|
30
|
+
export declare enum ThemeType {
|
|
31
|
+
LIGHT = "light",
|
|
32
|
+
DARK = "dark"
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/types/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,iBAAiB,oBAAoB;IACrC,sBAAsB,yBAAyB;IAC/C,YAAY,gBAAgB;CAC7B;AAED,oBAAY,aAAa;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,SAAS;IACnB,YAAY,gBAAgB;IAC5B,UAAU,eAAe;CAC1B;AAED,oBAAY,cAAc;IACxB,UAAU,cAAc;IACxB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;CACd"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { TableData } from './table';
|
|
2
|
+
import { ComponentType, TextAlignType, TitleType, TabContentType, CaseShowType, ThemeType } from './enums';
|
|
3
|
+
export { ComponentType, TextAlignType, TitleType, TabContentType, CaseShowType, ThemeType };
|
|
4
|
+
export type { TableData } from './table';
|
|
5
|
+
export interface BaseComponentConfig {
|
|
6
|
+
nanoid: string;
|
|
7
|
+
type: ComponentType;
|
|
8
|
+
bg?: string;
|
|
9
|
+
paddingY?: [string, string];
|
|
10
|
+
id?: string;
|
|
11
|
+
pageInfoId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface BannerComponentConfig_v2 extends BaseComponentConfig {
|
|
14
|
+
type: ComponentType.BANNER_V2;
|
|
15
|
+
title: string;
|
|
16
|
+
text: string;
|
|
17
|
+
bgImage: string;
|
|
18
|
+
}
|
|
19
|
+
export interface TitleComponentConfig_v2 extends BaseComponentConfig {
|
|
20
|
+
type: ComponentType.TITLE_V2;
|
|
21
|
+
text: string;
|
|
22
|
+
orderNumber: number;
|
|
23
|
+
titleType: TitleType;
|
|
24
|
+
theme: ThemeType;
|
|
25
|
+
}
|
|
26
|
+
export interface TextComponentConfig_v2 extends BaseComponentConfig {
|
|
27
|
+
type: ComponentType.TEXT_V2;
|
|
28
|
+
text: string;
|
|
29
|
+
align: TextAlignType;
|
|
30
|
+
}
|
|
31
|
+
export interface MediaComponentConfig_v2 extends BaseComponentConfig {
|
|
32
|
+
type: ComponentType.MEDIA_V2;
|
|
33
|
+
src: string;
|
|
34
|
+
}
|
|
35
|
+
export interface TabTextMediaContent {
|
|
36
|
+
tabLabel: string;
|
|
37
|
+
contentType: TabContentType;
|
|
38
|
+
src?: string;
|
|
39
|
+
title?: string;
|
|
40
|
+
text?: string;
|
|
41
|
+
description?: string;
|
|
42
|
+
tableData?: TableData;
|
|
43
|
+
}
|
|
44
|
+
export interface TabTextMediaComponentConfig_v2 extends BaseComponentConfig {
|
|
45
|
+
type: ComponentType.TAB_TEXT_MEDIA_V2;
|
|
46
|
+
contentHeight?: string;
|
|
47
|
+
items: TabTextMediaContent[];
|
|
48
|
+
}
|
|
49
|
+
export interface CarouselTextMediaContent {
|
|
50
|
+
title?: string;
|
|
51
|
+
text?: string;
|
|
52
|
+
src?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface CarouselTextMediaComponentConfig_v2 extends BaseComponentConfig {
|
|
55
|
+
type: ComponentType.CAROUSEL_TEXT_MEDIA_V2;
|
|
56
|
+
contentHeight?: string;
|
|
57
|
+
items: CarouselTextMediaContent[];
|
|
58
|
+
}
|
|
59
|
+
export interface CaseShowContent {
|
|
60
|
+
type: CaseShowType;
|
|
61
|
+
text?: string;
|
|
62
|
+
src: string;
|
|
63
|
+
src2?: string;
|
|
64
|
+
diffText?: string[];
|
|
65
|
+
thumbnail?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface CaseShowComponentConfig_v2 extends BaseComponentConfig {
|
|
68
|
+
type: ComponentType.CASE_SHOW_V2;
|
|
69
|
+
contentHeight?: string;
|
|
70
|
+
delay?: number;
|
|
71
|
+
items: CaseShowContent[];
|
|
72
|
+
}
|
|
73
|
+
export type ComponentConfig = BannerComponentConfig_v2 | TitleComponentConfig_v2 | TextComponentConfig_v2 | MediaComponentConfig_v2 | TabTextMediaComponentConfig_v2 | CarouselTextMediaComponentConfig_v2 | CaseShowComponentConfig_v2;
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum TableMode {
|
|
2
|
+
EDIT = "edit",
|
|
3
|
+
VIEW = "view"
|
|
4
|
+
}
|
|
5
|
+
export interface Cell {
|
|
6
|
+
id: string;
|
|
7
|
+
content: string;
|
|
8
|
+
rowspan: number;
|
|
9
|
+
colspan: number;
|
|
10
|
+
hidden: boolean;
|
|
11
|
+
parentRow?: number;
|
|
12
|
+
parentCol?: number;
|
|
13
|
+
align: 'left' | 'center' | 'right';
|
|
14
|
+
vAlign: 'top' | 'middle' | 'bottom';
|
|
15
|
+
bgColor: string;
|
|
16
|
+
}
|
|
17
|
+
export interface TableData {
|
|
18
|
+
hasHeader: boolean;
|
|
19
|
+
colWidths: (number | null)[];
|
|
20
|
+
rows: Cell[][];
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/types/table.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;IAClC,MAAM,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACnC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAA;IAC5B,IAAI,EAAE,IAAI,EAAE,EAAE,CAAA;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/utils/media.ts"],"names":[],"mappings":"AAAA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,EAAE,CAkBpF;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAUtD"}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "f-low-code-renderer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "PC renderer v2 components for low-code page building",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/f-low-code-renderer.cjs",
|
|
7
|
+
"module": "./dist/f-low-code-renderer.mjs",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/f-low-code-renderer.mjs",
|
|
13
|
+
"require": "./dist/f-low-code-renderer.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./style.css": "./dist/f-low-code-renderer.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "vite build && npm run build:types",
|
|
23
|
+
"build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist --noEmit false",
|
|
24
|
+
"prepublishOnly": "npm run build"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"motion-v": "^0.6.0",
|
|
28
|
+
"swiper": "^11.0.0"
|
|
29
|
+
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"vue": "^3.4.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
35
|
+
"typescript": "~5.6.0",
|
|
36
|
+
"vite": "^6.0.0",
|
|
37
|
+
"sass": "^1.80.0",
|
|
38
|
+
"vue-tsc": "^2.0.0",
|
|
39
|
+
"vue": "^3.4.0"
|
|
40
|
+
},
|
|
41
|
+
"license": "UNLICENSED",
|
|
42
|
+
"author": "",
|
|
43
|
+
"sideEffects": [
|
|
44
|
+
"**/*.css"
|
|
45
|
+
]
|
|
46
|
+
}
|