raise-common-lib-new 0.0.49 → 0.0.51
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/esm2022/lib/form/richtexteditor/data-config.mjs +202 -1
- package/esm2022/lib/form/richtexteditor/index.component.mjs +46 -21
- package/fesm2022/raise-common-lib-new.mjs +246 -21
- package/fesm2022/raise-common-lib-new.mjs.map +1 -1
- package/lib/float-box/index.component.d.ts +1 -1
- package/lib/form/richtexteditor/index.component.d.ts +5 -1
- package/package.json +1 -1
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProBlack.otf +0 -0
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProBlackOblique.otf +0 -0
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProHeavy.otf +0 -0
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProHeavyOblique.otf +0 -0
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProLight.otf +0 -0
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProLightOblique.otf +0 -0
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProMedium.otf +0 -0
- package/src/assets/font-family/avenir_lt_pro/AvenirLTProMediumOblique.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-Bold.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-Demi.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-DemiIt.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-Heavy.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-HeavyIt.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-It.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-Light.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-MediumIt.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-Regular.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-UltLt.otf +0 -0
- package/src/assets/font-family/avenir_next_lt_pro/AvenirNextLTPro-UltLtIt.otf +0 -0
- package/src/assets/font-family/font-family.scss +154 -0
- package/src/assets/font-family/pingfangsc/pingfangsc-light.otf +0 -0
- package/src/assets/font-family/pingfangsc/pingfangsc-medium.otf +0 -0
- package/src/assets/font-family/pingfangsc/pingfangsc-regular.otf +0 -0
- package/src/assets/font-family/pingfangsc/pingfangsc-semibold.otf +0 -0
- package/src/assets/font-family/sourcehansanscn/sourcehansanscn-bold.otf +0 -0
- package/src/assets/font-family/sourcehansanscn/sourcehansanscn-extralight.otf +0 -0
- package/src/assets/font-family/sourcehansanscn/sourcehansanscn-medium.otf +0 -0
- package/src/assets/font-family/sourcehansanscn/sourcehansanscn-regular.otf +0 -0
- package/src/assets/font-family/tiemposheadline-semibold.otf +0 -0
- package/src/assets/style/reset/button.scss +8 -5
- package/src/assets/style/style.scss +4 -4
|
@@ -8,7 +8,7 @@ export declare class FloatBoxComponent implements AfterViewInit, OnDestroy {
|
|
|
8
8
|
_animation: "yes" | "no";
|
|
9
9
|
_fixed: "yes" | "no";
|
|
10
10
|
get placement(): "top" | "bottom" | "right" | "left";
|
|
11
|
-
get position(): "
|
|
11
|
+
get position(): "start" | "center" | "end";
|
|
12
12
|
get trigger(): "click" | "hover";
|
|
13
13
|
get animation(): "yes" | "no";
|
|
14
14
|
get fixed(): "yes" | "no";
|
|
@@ -41,6 +41,7 @@ export declare class RichtexteditorComponent implements OnInit {
|
|
|
41
41
|
focus: EventEmitter<any>;
|
|
42
42
|
blur: EventEmitter<any>;
|
|
43
43
|
actionComplete: EventEmitter<any>;
|
|
44
|
+
afterPasteCleanup: EventEmitter<any>;
|
|
44
45
|
family: Object;
|
|
45
46
|
fontSize: {
|
|
46
47
|
default: string;
|
|
@@ -78,6 +79,7 @@ export declare class RichtexteditorComponent implements OnInit {
|
|
|
78
79
|
apiResultData: any;
|
|
79
80
|
AIResult: string;
|
|
80
81
|
tools: ToolbarSettingsModel;
|
|
82
|
+
isDialogVisible: boolean;
|
|
81
83
|
bulletFormatList: {
|
|
82
84
|
types: {
|
|
83
85
|
text: string;
|
|
@@ -114,8 +116,10 @@ export declare class RichtexteditorComponent implements OnInit {
|
|
|
114
116
|
_focus(args: any): void;
|
|
115
117
|
_blur(args: any): void;
|
|
116
118
|
_dialogOpen(args: any): void;
|
|
119
|
+
_afterPasteCleanup(args: any): void;
|
|
120
|
+
unescapeHtml(escapedHtml: string): string;
|
|
117
121
|
hideToast(): void;
|
|
118
122
|
onZoom(): void;
|
|
119
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<RichtexteditorComponent, never>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichtexteditorComponent, "rs-richtext-editor", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "editorId": { "alias": "editorId"; "required": false; }; "saveInterval": { "alias": "saveInterval"; "required": false; }; "height": { "alias": "height"; "required": false; }; "autoSaveOnIdle": { "alias": "autoSaveOnIdle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "target": { "alias": "target"; "required": false; }; "insertImageSettings": { "alias": "insertImageSettings"; "required": false; }; "showTicketAttachment": { "alias": "showTicketAttachment"; "required": false; }; }, { "toolbarClick": "toolbarClick"; "change": "change"; "created": "created"; "actionBegin": "actionBegin"; "input": "input"; "focus": "focus"; "blur": "blur"; "actionComplete": "actionComplete"; }, never, never, false, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RichtexteditorComponent, "rs-richtext-editor", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "editorId": { "alias": "editorId"; "required": false; }; "saveInterval": { "alias": "saveInterval"; "required": false; }; "height": { "alias": "height"; "required": false; }; "autoSaveOnIdle": { "alias": "autoSaveOnIdle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "target": { "alias": "target"; "required": false; }; "insertImageSettings": { "alias": "insertImageSettings"; "required": false; }; "showTicketAttachment": { "alias": "showTicketAttachment"; "required": false; }; }, { "toolbarClick": "toolbarClick"; "change": "change"; "created": "created"; "actionBegin": "actionBegin"; "input": "input"; "focus": "focus"; "blur": "blur"; "actionComplete": "actionComplete"; "afterPasteCleanup": "afterPasteCleanup"; }, never, never, false, never>;
|
|
121
125
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Tiempos Headline-Semibold";
|
|
3
|
+
src: url("./tiemposheadline-semibold.otf");
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Avenir LT Pro
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: "Avenir LT Pro-Black";
|
|
12
|
+
src: url("./avenir_lt_pro/AvenirLTProBlack.otf");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: "Avenir LT Pro-Black Oblique";
|
|
17
|
+
src: url("./avenir_lt_pro/AvenirLTProBlackOblique.otf");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: "Avenir LT Pro-Heavy";
|
|
22
|
+
src: url("./avenir_lt_pro/AvenirLTProHeavy.otf");
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@font-face {
|
|
26
|
+
font-family: "Avenir LT Pro-Heavy Oblique";
|
|
27
|
+
src: url("./avenir_lt_pro/AvenirLTProHeavyOblique.otf");
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: "Avenir LT Pro-Light";
|
|
32
|
+
src: url("./avenir_lt_pro/AvenirLTProLight.otf");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: "Avenir LT Pro-Light Oblique";
|
|
37
|
+
src: url("./avenir_lt_pro/AvenirLTProLightOblique.otf");
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: "Avenir LT Pro-Medium";
|
|
42
|
+
src: url("./avenir_lt_pro/AvenirLTProMedium.otf");
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: "Avenir LT Pro-Medium Oblique";
|
|
47
|
+
src: url("./avenir_lt_pro/AvenirLTProMediumOblique.otf");
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Avenir LT Pro END
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Avenir Next LT Pro
|
|
56
|
+
*/
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: "Avenir Next LT Pro-Bold";
|
|
59
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-Bold.otf");
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: "Avenir Next LT Pro-Demi";
|
|
64
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-Demi.otf");
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: "Avenir Next LT Pro-Demilt";
|
|
69
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-DemiIt.otf");
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@font-face {
|
|
73
|
+
font-family: "Avenir Next LT Pro-Heavy";
|
|
74
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-Heavy.otf");
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: "Avenir Next LT Pro-Heavylt";
|
|
79
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-UltLtIt.otf");
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: "Avenir Next LT Pro-It";
|
|
84
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-It.otf");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@font-face {
|
|
88
|
+
font-family: "Avenir Next LT Pro-Light";
|
|
89
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-Light.otf");
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: "Avenir Next LT Pro-Mediumlt";
|
|
94
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-MediumIt.otf");
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@font-face {
|
|
98
|
+
font-family: "Avenir Next LT Pro-Regular";
|
|
99
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-Regular.otf");
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@font-face {
|
|
103
|
+
font-family: "Avenir Next LT Pro-UltLt";
|
|
104
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-UltLt.otf");
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@font-face {
|
|
108
|
+
font-family: "Avenir Next LT Pro-UltLtlt";
|
|
109
|
+
src: url("./avenir_next_lt_pro/AvenirNextLTPro-UltLtIt.otf");
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Avenir Next LT Pro END
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
@font-face {
|
|
117
|
+
font-family: "Source Han Sans CN-ExtraLight";
|
|
118
|
+
src: url("./sourcehansanscn/sourcehansanscn-extralight.otf");
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@font-face {
|
|
122
|
+
font-family: "Source Han Sans CN-Regular";
|
|
123
|
+
src: url("./sourcehansanscn/sourcehansanscn-regular.otf");
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@font-face {
|
|
127
|
+
font-family: "Source Han Sans CN-Medium";
|
|
128
|
+
src: url("./sourcehansanscn/sourcehansanscn-medium.otf");
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@font-face {
|
|
132
|
+
font-family: "Source Han Sans CN-Bold";
|
|
133
|
+
src: url("./sourcehansanscn/sourcehansanscn-bold.otf");
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@font-face {
|
|
137
|
+
font-family: "Ping Fang SC-Light";
|
|
138
|
+
src: url("./pingfangsc/pingfangsc-light.otf");
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@font-face {
|
|
142
|
+
font-family: "Ping Fang SC-Medium";
|
|
143
|
+
src: url("./pingfangsc/pingfangsc-medium.otf");
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@font-face {
|
|
147
|
+
font-family: "Ping Fang SC-Regular";
|
|
148
|
+
src: url("./pingfangsc/pingfangsc-regular.otf");
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@font-face {
|
|
152
|
+
font-family: "Ping Fang SC-Semibold";
|
|
153
|
+
src: url("./pingfangsc/pingfangsc-semibold.otf");
|
|
154
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.e-btn{
|
|
2
|
-
|
|
1
|
+
.e-btn {
|
|
2
|
+
box-shadow: none !important;
|
|
3
3
|
}
|
|
4
4
|
.e-btn:not(.e-lib):not(.e-icon-btn) {
|
|
5
5
|
font-family: var(--rs-font-family);
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
border-radius: 4px;
|
|
94
94
|
box-shadow: none !important;
|
|
95
95
|
line-height: normal;
|
|
96
|
-
&.e-active
|
|
96
|
+
&.e-active,
|
|
97
|
+
&:hover {
|
|
97
98
|
border-color: transparent !important;
|
|
98
99
|
background: rgba(31, 123, 255, 0.04) !important;
|
|
99
100
|
color: #1364b3 !important;
|
|
@@ -117,6 +118,8 @@
|
|
|
117
118
|
background: #fff;
|
|
118
119
|
padding: 8px;
|
|
119
120
|
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
|
|
121
|
+
max-height: 300px;
|
|
122
|
+
overflow-y: scroll;
|
|
120
123
|
ul {
|
|
121
124
|
border: 0;
|
|
122
125
|
padding: 0;
|
|
@@ -139,10 +142,10 @@
|
|
|
139
142
|
}
|
|
140
143
|
|
|
141
144
|
ejs-splitbutton.e-split-btn-wrapper {
|
|
142
|
-
&.e-splitbtn-disabled{
|
|
145
|
+
&.e-splitbtn-disabled {
|
|
143
146
|
opacity: 0.4;
|
|
144
147
|
color: var(--rs-cancel-btn-color) !important;
|
|
145
|
-
border:0 !important;
|
|
148
|
+
border: 0 !important;
|
|
146
149
|
background-color: #fff !important;
|
|
147
150
|
}
|
|
148
151
|
.e-btn {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
@import "./reset/switch.scss";
|
|
9
9
|
@import "./reset/radio.scss";
|
|
10
10
|
@import "./reset/checkbox.scss";
|
|
11
|
+
@import "../font-family/font-family.scss";
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
html{
|
|
13
|
+
html {
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
overflow-x: auto;
|
|
16
16
|
}
|
|
17
|
-
body{
|
|
17
|
+
body {
|
|
18
18
|
margin: 0;
|
|
19
19
|
padding: 0;
|
|
20
20
|
}
|
|
@@ -57,6 +57,6 @@ input {
|
|
|
57
57
|
}
|
|
58
58
|
::-webkit-scrollbar-thumb {
|
|
59
59
|
// 滚动条滑块颜色
|
|
60
|
-
background: rgba(108, 124, 144, 0.
|
|
60
|
+
background: rgba(108, 124, 144, 0.3);
|
|
61
61
|
border-radius: 3px;
|
|
62
62
|
}
|