@formulaxjs/kity-runtime 0.1.0 → 0.3.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 +3 -4
- package/dist/{chunk-EKIJQ64F.js → chunk-AOMNUFFB.js} +73 -19
- package/dist/chunk-AOMNUFFB.js.map +1 -0
- package/dist/index.cjs +389 -131
- package/dist/index.cjs.map +1 -1
- package/dist/index.global.js +369 -160
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +186 -54
- package/dist/index.js.map +1 -1
- package/dist/{install-ARHGHFNJ.js → install-TIZBWEFU.js} +62 -45
- package/dist/install-TIZBWEFU.js.map +1 -0
- package/dist/{start-GQH6XUBI.js → start-LTYA5XON.js} +2 -2
- package/package.json +9 -5
- package/public/assets/images/scrollbar/custom/bar-bg.png +0 -0
- package/public/assets/images/scrollbar/custom/bar.png +0 -0
- package/public/assets/images/scrollbar/custom/bg.png +0 -0
- package/public/assets/images/scrollbar/custom/bottom.png +0 -0
- package/public/assets/images/scrollbar/custom/btn.png +0 -0
- package/public/assets/images/scrollbar/custom/down.png +0 -0
- package/public/assets/images/scrollbar/custom/top.png +0 -0
- package/public/assets/images/scrollbar/custom/up.png +0 -0
- package/public/assets/images/scrollbar/edit/bar-bg.png +0 -0
- package/public/assets/images/scrollbar/edit/bar-left.png +0 -0
- package/public/assets/images/scrollbar/edit/bar-right.png +0 -0
- package/public/assets/images/scrollbar/edit/thumb-bg.png +0 -0
- package/public/assets/images/scrollbar/edit/thumb-left.png +0 -0
- package/public/assets/images/scrollbar/edit/thumb-right.png +0 -0
- package/public/assets/images/toolbar/btn.png +0 -0
- package/public/assets/images/toolbar/other.png +0 -0
- package/public/assets/styles/base.css +47 -0
- package/public/assets/styles/editor.css +3 -0
- package/public/assets/styles/page.css +12 -0
- package/public/assets/styles/scrollbar.css +78 -0
- package/public/assets/styles/ui.css +593 -0
- package/public/assets/theme/default/fui.css +540 -0
- package/public/assets/theme/default/images/close.png +0 -0
- package/public/assets/theme/default/images/down.png +0 -0
- package/public/assets/theme/default/images/open.png +0 -0
- package/public/assets/theme/default/images/up.png +0 -0
- package/public/resource/KF_AMS_BB.woff +0 -0
- package/public/resource/KF_AMS_CAL.woff +0 -0
- package/public/resource/KF_AMS_FRAK.woff +0 -0
- package/public/resource/KF_AMS_MAIN.woff +0 -0
- package/public/resource/KF_AMS_ROMAN.woff +0 -0
- package/dist/chunk-EKIJQ64F.js.map +0 -1
- package/dist/install-ARHGHFNJ.js.map +0 -1
- /package/dist/{start-GQH6XUBI.js.map → start-LTYA5XON.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
legacySysconf,
|
|
13
13
|
legacyUiDef,
|
|
14
14
|
resolveToolbarAssetPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AOMNUFFB.js";
|
|
16
16
|
|
|
17
17
|
// src/vendor/runtime-interop.ts
|
|
18
18
|
function getLegacyRuntime() {
|
|
@@ -4856,4 +4856,4 @@ export {
|
|
|
4856
4856
|
start_default as default,
|
|
4857
4857
|
installKityEditorStart
|
|
4858
4858
|
};
|
|
4859
|
-
//# sourceMappingURL=start-
|
|
4859
|
+
//# sourceMappingURL=start-LTYA5XON.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formulaxjs/kity-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,17 +23,21 @@
|
|
|
23
23
|
"types": "./dist/index.d.ts",
|
|
24
24
|
"import": "./dist/index.js",
|
|
25
25
|
"require": "./dist/index.cjs"
|
|
26
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"./styles/*": "./public/assets/styles/*",
|
|
28
|
+
"./theme/*": "./public/assets/theme/*",
|
|
29
|
+
"./resource/*": "./public/resource/*",
|
|
30
|
+
"./images/*": "./public/assets/images/*"
|
|
27
31
|
},
|
|
28
32
|
"files": [
|
|
29
|
-
"dist"
|
|
33
|
+
"dist",
|
|
34
|
+
"public"
|
|
30
35
|
],
|
|
31
36
|
"publishConfig": {
|
|
32
37
|
"access": "public"
|
|
33
38
|
},
|
|
34
39
|
"dependencies": {
|
|
35
|
-
"lodash-es": "^4.18.1"
|
|
36
|
-
"@formulaxjs/kity-assets": "0.1.0"
|
|
40
|
+
"lodash-es": "^4.18.1"
|
|
37
41
|
},
|
|
38
42
|
"devDependencies": {
|
|
39
43
|
"@types/lodash-es": "^4.17.12"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
|
|
2
|
+
.kf-editor {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
border: 1px solid #e0e0e0;
|
|
8
|
+
position: relative;
|
|
9
|
+
top: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
|
|
12
|
+
overflow: visible;
|
|
13
|
+
z-index: 2;
|
|
14
|
+
background-color: #f6f5ee;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.kf-editor-edit-area {
|
|
18
|
+
width: 100%;
|
|
19
|
+
position: relative;
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
|
|
23
|
+
display: block;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
min-height: 100px;
|
|
27
|
+
height: 100px;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
background-color: white;
|
|
30
|
+
/*background-color: white;*/
|
|
31
|
+
/*background-size: 21px 21px;*/
|
|
32
|
+
/*background-position: 0 0,10px 10px;*/
|
|
33
|
+
/*background-image: -webkit-linear-gradient(45deg,#efefef 25%,transparent 25%,transparent 75%,#efefef 75%,#efefef),-webkit-linear-gradient(45deg,#efefef 25%,transparent 25%,transparent 75%,#efefef 75%,#efefef);*/
|
|
34
|
+
/*background-image: linear-gradient(45deg,#efefef 25%,transparent 25%,transparent 75%,#efefef 75%,#efefef),linear-gradient(45deg,#efefef 25%,transparent 25%,transparent 75%,#efefef 75%,#efefef);*/
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.kf-editor-canvas-container {
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.kf-editor-input-box {
|
|
43
|
+
position: fixed;
|
|
44
|
+
top: 0;
|
|
45
|
+
left: -99999999px;
|
|
46
|
+
z-index: 999999;
|
|
47
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Scrollbar
|
|
3
|
+
**/
|
|
4
|
+
|
|
5
|
+
.kf-editor-edit-scrollbar {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 16px;
|
|
8
|
+
position: absolute;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
z-index: 994;
|
|
12
|
+
border-top: 1px solid #ddd;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.kf-editor-ui-left-button {
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
width: 5px;
|
|
20
|
+
height: 100%;
|
|
21
|
+
background: white;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.kf-editor-ui-right-button {
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
width: 5px;
|
|
29
|
+
height: 100%;
|
|
30
|
+
background: white;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.kf-editor-ui-track {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 0;
|
|
36
|
+
left: 5px;
|
|
37
|
+
width: 0;
|
|
38
|
+
height: 100%;
|
|
39
|
+
background-image: url(../images/scrollbar/edit/bar-left.png), url(../images/scrollbar/edit/bar-right.png), url(../images/scrollbar/edit/bar-bg.png);
|
|
40
|
+
background-repeat: no-repeat, no-repeat, repeat-x;
|
|
41
|
+
background-position: 0 0, right 0, 0 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.kf-editor-ui-thumb {
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
width: 0;
|
|
49
|
+
height: 100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.kf-editor-ui-thumb-left {
|
|
53
|
+
width: 5px;
|
|
54
|
+
height: 100%;
|
|
55
|
+
position: absolute;
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 0;
|
|
58
|
+
background: url(../images/scrollbar/edit/thumb-left.png) no-repeat 0 0;
|
|
59
|
+
z-index: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.kf-editor-ui-thumb-right {
|
|
63
|
+
width: 5px;
|
|
64
|
+
height: 100%;
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
right: 0;
|
|
68
|
+
background: url(../images/scrollbar/edit/thumb-right.png) no-repeat 0 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.kf-editor-ui-thumb-body {
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 0;
|
|
74
|
+
left: 5px;
|
|
75
|
+
width: 0;
|
|
76
|
+
height: 100%;
|
|
77
|
+
background: url(../images/scrollbar/edit/thumb-bg.png) repeat-x 0 0;
|
|
78
|
+
}
|