web-component-gallery 2.2.3 → 2.2.5
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/extensions/BuildTheme.js +7 -3
- package/lib/amap-comp/style/AmapSearch.less +0 -3
- package/lib/amap-draw/style/index.less +1 -3
- package/lib/date-time/style/index.less +1 -3
- package/lib/descriptions-list/style/index.less +1 -3
- package/lib/directory/style/index.less +1 -3
- package/lib/form-comp/style/ACascaderMultiple.less +1 -3
- package/lib/form-comp/style/ADayTimePicker.less +1 -2
- package/lib/form-comp/style/ARangePicker.less +1 -2
- package/lib/form-comp/style/ASelectCustom.less +1 -3
- package/lib/form-comp/style/ASliderVerify.less +1 -3
- package/lib/form-comp/style/ATagsInput.less +1 -3
- package/lib/modal/style/index.less +1 -3
- package/lib/no-data/style/index.less +1 -3
- package/lib/svg-icon/style/index.less +1 -3
- package/lib/table/style/index.less +1 -3
- package/lib/tree/style/index.less +1 -3
- package/lib/weather/style/index.less +1 -0
- package/package.json +1 -2
- package/font/DS-DIGI-1.ttf +0 -0
- package/font/DS-DIGIB-2.ttf +0 -0
- package/font/DS-DIGII-3.ttf +0 -0
- package/font/DS-DIGIT-4.ttf +0 -0
- package/font/Orbitron-Black.ttf +0 -0
- package/font/Orbitron-Bold.ttf +0 -0
- package/font/Orbitron-Medium.ttf +0 -0
- package/font/Orbitron-Regular.ttf +0 -0
- package/font/PANGMENZHENGDAOBIAOTITI-1.TTF +0 -0
- package/font/PingFang SC.ttf +0 -0
- package/font/YouSheBiaoTiHei.ttf +0 -0
- package/font/font.css +0 -48
- package/font//345/255/227/351/255/20235/345/217/267-/347/273/217/345/205/270/351/233/205/351/273/221.ttf +0 -0
package/extensions/BuildTheme.js
CHANGED
|
@@ -3,7 +3,6 @@ const fs = require("fs")
|
|
|
3
3
|
const path = require("path")
|
|
4
4
|
// 指向宿主项目路径 ../../为node_modules路径
|
|
5
5
|
const hostPath = path.join(__dirname, '../../')
|
|
6
|
-
const { generateTheme } = require('antd-theme-generator')
|
|
7
6
|
const { cssFileName, parseCSSVariables, parseLessVariables, parseExtendVariables, fetchAndParseLessFile } = require('./UpdateTheme')
|
|
8
7
|
|
|
9
8
|
// 提取颜色变量
|
|
@@ -211,12 +210,17 @@ function createGeneratorTheme(theme) {
|
|
|
211
210
|
}
|
|
212
211
|
|
|
213
212
|
// 生成传输信息文件
|
|
214
|
-
async function createTransferFile() {
|
|
213
|
+
async function createTransferFile(theme) {
|
|
214
|
+
// 初始化主题
|
|
215
|
+
const resetTheme = theme || 'dark'
|
|
216
|
+
// 输出自定义样式文件
|
|
217
|
+
processLessFiles(resetTheme)
|
|
215
218
|
// 默认请求源地址
|
|
216
219
|
const origin = process.env.VUE_APP_STATIC_URL || 'http://qxfnkj.com'
|
|
220
|
+
|
|
217
221
|
const fileName = 'transferData.js'
|
|
222
|
+
|
|
218
223
|
const response = await fetch(`${origin}/base-subject/iframe/${fileName}`)
|
|
219
|
-
|
|
220
224
|
if (!response.ok) throw new Error(`${fileName}文件请求失败!`)
|
|
221
225
|
|
|
222
226
|
const responseText = await response.text()
|
package/package.json
CHANGED
package/font/DS-DIGI-1.ttf
DELETED
|
Binary file
|
package/font/DS-DIGIB-2.ttf
DELETED
|
Binary file
|
package/font/DS-DIGII-3.ttf
DELETED
|
Binary file
|
package/font/DS-DIGIT-4.ttf
DELETED
|
Binary file
|
package/font/Orbitron-Black.ttf
DELETED
|
Binary file
|
package/font/Orbitron-Bold.ttf
DELETED
|
Binary file
|
package/font/Orbitron-Medium.ttf
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/font/PingFang SC.ttf
DELETED
|
Binary file
|
package/font/YouSheBiaoTiHei.ttf
DELETED
|
Binary file
|
package/font/font.css
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'PingFang SC';
|
|
3
|
-
src: url('PingFang SC.ttf');
|
|
4
|
-
}
|
|
5
|
-
@font-face {
|
|
6
|
-
font-family: 'YouSheBiaoTiHei';
|
|
7
|
-
src: url('YouSheBiaoTiHei.ttf');
|
|
8
|
-
}
|
|
9
|
-
@font-face {
|
|
10
|
-
font-family: 'Orbitron-Black';
|
|
11
|
-
src: url('Orbitron-Black.ttf');
|
|
12
|
-
}
|
|
13
|
-
@font-face {
|
|
14
|
-
font-family: 'Orbitron-Bold';
|
|
15
|
-
src: url('Orbitron-Bold.ttf');
|
|
16
|
-
}
|
|
17
|
-
@font-face {
|
|
18
|
-
font-family: 'Orbitron-Medium';
|
|
19
|
-
src: url('Orbitron-Medium.ttf');
|
|
20
|
-
}
|
|
21
|
-
@font-face {
|
|
22
|
-
font-family: 'Orbitron-Regular';
|
|
23
|
-
src: url('Orbitron-Regular.ttf');
|
|
24
|
-
}
|
|
25
|
-
@font-face {
|
|
26
|
-
font-family: 'PangMenZhengDao';
|
|
27
|
-
src: url('PANGMENZHENGDAOBIAOTITI-1.TTF');
|
|
28
|
-
}
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: '字魂35号-经典雅黑';
|
|
31
|
-
src: url('字魂35号-经典雅黑.ttf');
|
|
32
|
-
}
|
|
33
|
-
@font-face {
|
|
34
|
-
font-family: 'Digital Numbers';
|
|
35
|
-
src: url('DS-DIGI-1.ttf');
|
|
36
|
-
}
|
|
37
|
-
@font-face {
|
|
38
|
-
font-family: 'DS-DIGIB-2';
|
|
39
|
-
src: url('DS-DIGIB-2.ttf');
|
|
40
|
-
}
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: 'DS-DIGII-3';
|
|
43
|
-
src: url('DS-DIGII-3.ttf');
|
|
44
|
-
}
|
|
45
|
-
@font-face {
|
|
46
|
-
font-family: 'DS-DIGIT-4';
|
|
47
|
-
src: url('DS-DIGIT-4.ttf');
|
|
48
|
-
}
|