@gct-paas/word 0.1.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/LICENSE +9 -0
- package/README.md +35 -0
- package/dist/base/utils/asset-helper-util.d.ts +19 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +55648 -0
- package/dist/runtime/designer/doc-design-layout.vue.d.ts +2 -0
- package/dist/runtime/designer/main/preview-container.vue.d.ts +2 -0
- package/dist/runtime/designer/main/view-layer/__common__/widget-component.vue.d.ts +2 -0
- package/dist/runtime/designer/main/view-layer/builtin/paper/paper-group.vue.d.ts +2 -0
- package/dist/runtime/designer/main/view-layer/builtin/paper/themes.d.ts +37 -0
- package/dist/runtime/designer/main/view-layer/render-entry.vue.d.ts +2 -0
- package/dist/runtime/designer/panel/panel.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/common/button-icon.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/components/bullet-point-select.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/components/insert-table-form-modal.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/components/marker-color-select.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/components/multistage-no-select.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/components/sub-table-form-modal.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/constant/color.d.ts +62 -0
- package/dist/runtime/designer/ribbon/constant/font.d.ts +31 -0
- package/dist/runtime/designer/ribbon/constant/word.d.ts +26 -0
- package/dist/runtime/designer/ribbon/ribbon.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/svg/bj-marker-svg.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/svg/color-wheel-svg.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/svg/font-color-svg.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/tabs/home-tab.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/tabs/insert-tab.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/tabs/layout-tab.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/tabs/structured-tab.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/tabs/table-tab.vue.d.ts +2 -0
- package/dist/runtime/designer/toolkit/renderer/toolkit-content-fields.vue.d.ts +2 -0
- package/dist/runtime/designer/toolkit/renderer/toolkit-content-widgets.vue.d.ts +2 -0
- package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +19 -0
- package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +2 -0
- package/dist/setup.d.ts +5 -0
- package/dist/word.css +8784 -0
- package/package.json +75 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** 纸张页面背景和边框主题 */
|
|
2
|
+
export interface IPaperTheme {
|
|
3
|
+
/** 背景色 */
|
|
4
|
+
background: string;
|
|
5
|
+
/** 边框 */
|
|
6
|
+
border: string;
|
|
7
|
+
/** 阴影 */
|
|
8
|
+
shadow: {
|
|
9
|
+
/** 阴影颜色 */
|
|
10
|
+
color: string;
|
|
11
|
+
/** 模糊半径 */
|
|
12
|
+
blur: number;
|
|
13
|
+
/** x偏移 */
|
|
14
|
+
offsetX: number;
|
|
15
|
+
/** y偏移 */
|
|
16
|
+
offsetY: number;
|
|
17
|
+
/** 颜色透明度 */
|
|
18
|
+
opacity: number;
|
|
19
|
+
};
|
|
20
|
+
/** 圆角 */
|
|
21
|
+
borderRadius?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare const PaperThemes: {
|
|
24
|
+
readonly default: {
|
|
25
|
+
readonly background: "rgb(255, 255, 255)";
|
|
26
|
+
readonly border: "rgba(13, 13, 13, 0.06)";
|
|
27
|
+
readonly shadow: {
|
|
28
|
+
readonly color: "rgb(13, 13, 13)";
|
|
29
|
+
readonly blur: 3;
|
|
30
|
+
readonly offsetX: 0;
|
|
31
|
+
readonly offsetY: 0;
|
|
32
|
+
readonly opacity: 0.06;
|
|
33
|
+
};
|
|
34
|
+
readonly borderRadius: 0;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type PaperThemeKey = keyof typeof PaperThemes;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const colorUtils: {
|
|
2
|
+
none: {
|
|
3
|
+
color: any;
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
auto: {
|
|
7
|
+
color: string;
|
|
8
|
+
title: string;
|
|
9
|
+
};
|
|
10
|
+
theme: {
|
|
11
|
+
bgPrimary: {
|
|
12
|
+
color: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}[];
|
|
15
|
+
textPrimary: {
|
|
16
|
+
color: string;
|
|
17
|
+
title: string;
|
|
18
|
+
}[];
|
|
19
|
+
bgSecondary: {
|
|
20
|
+
color: string;
|
|
21
|
+
title: string;
|
|
22
|
+
}[];
|
|
23
|
+
textAccent: {
|
|
24
|
+
color: string;
|
|
25
|
+
title: string;
|
|
26
|
+
}[];
|
|
27
|
+
/** 主题色 1–6 */
|
|
28
|
+
accent1: {
|
|
29
|
+
color: string;
|
|
30
|
+
title: string;
|
|
31
|
+
}[];
|
|
32
|
+
accent2: {
|
|
33
|
+
color: string;
|
|
34
|
+
title: string;
|
|
35
|
+
}[];
|
|
36
|
+
accent3: {
|
|
37
|
+
color: string;
|
|
38
|
+
title: string;
|
|
39
|
+
}[];
|
|
40
|
+
accent4: {
|
|
41
|
+
color: string;
|
|
42
|
+
title: string;
|
|
43
|
+
}[];
|
|
44
|
+
accent5: {
|
|
45
|
+
color: string;
|
|
46
|
+
title: string;
|
|
47
|
+
}[];
|
|
48
|
+
accent6: {
|
|
49
|
+
color: string;
|
|
50
|
+
title: string;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
standard: {
|
|
54
|
+
color: string;
|
|
55
|
+
title: string;
|
|
56
|
+
}[];
|
|
57
|
+
undertint: {
|
|
58
|
+
color: string;
|
|
59
|
+
title: string;
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
export declare const getThemeColor2d: () => any[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** 字重 */
|
|
2
|
+
export declare enum FontFamilyEnum {
|
|
3
|
+
Serif = "",
|
|
4
|
+
/** 宋体 */
|
|
5
|
+
SimSun = "\"SimSun\", \"\u5B8B\u4F53\", \"\u534E\u6587\u5B8B\u4F53\", STSong, STSongti-SC-Light, sans-serif",
|
|
6
|
+
/** 黑体 */
|
|
7
|
+
SimHei = "\"SimHei\", \"\u9ED1\u4F53\", \"\u534E\u6587\u9ED1\u4F53\", STHeiti, sans-serif",
|
|
8
|
+
/** 楷体 */
|
|
9
|
+
KaiTi = "\"Kai\", \"STKai\", \"\u6977\u4F53\", \"KaiTi\", \"\u534E\u6587\u6977\u4F53\", sans-serif"
|
|
10
|
+
}
|
|
11
|
+
export declare const FontFamilyOptions: {
|
|
12
|
+
label: string;
|
|
13
|
+
value: FontFamilyEnum;
|
|
14
|
+
}[];
|
|
15
|
+
export declare const FontSizeOptions: ({
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
} | {
|
|
19
|
+
label: string;
|
|
20
|
+
value: number;
|
|
21
|
+
})[];
|
|
22
|
+
export declare const ParagraphTitleOptions: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
class: string;
|
|
26
|
+
}[];
|
|
27
|
+
export declare const FontAttrsOptions: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
icon: string;
|
|
31
|
+
}[];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** 项目符号 */
|
|
2
|
+
export declare enum ListBulletsDisplayEnum {
|
|
3
|
+
BulletsNone = "BulletsNone",
|
|
4
|
+
BulletsOne = "BulletsOne",
|
|
5
|
+
BulletsTwo = "BulletsTwo",
|
|
6
|
+
BulletsThree = "BulletsThree",
|
|
7
|
+
BulletsFour = "BulletsFour",
|
|
8
|
+
BulletsFive = "BulletsFive",
|
|
9
|
+
BulletsSix = "BulletsSix",
|
|
10
|
+
BulletsSeven = "BulletsSeven"
|
|
11
|
+
}
|
|
12
|
+
/** 项目编号 */
|
|
13
|
+
export declare enum ListMultistageDisplayEnum {
|
|
14
|
+
MultistageNone = "MultistageNone",
|
|
15
|
+
MultistageOne = "MultistageOne",
|
|
16
|
+
MultistageTwo = "MultistageTwo",
|
|
17
|
+
MultistageThree = "MultistageThree",
|
|
18
|
+
MultistageFour = "MultistageFour",
|
|
19
|
+
MultistageFive = "MultistageFive",
|
|
20
|
+
MultistageSix = "MultistageSix",
|
|
21
|
+
MultistageSeven = "MultistageSeven",
|
|
22
|
+
MultistageEight = "MultistageEight",
|
|
23
|
+
MultistageNine = "MultistageNine",
|
|
24
|
+
MultistageTen = "MultistageTen"
|
|
25
|
+
}
|
|
26
|
+
export declare const getSvgComponents: (modules: any, prefix: string) => any[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
dropdownRef: any;
|
|
8
|
+
};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: any;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|