lyb-pixi-js 1.1.4 → 1.1.6
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/dist/Components/Base/{LibPixiContainer/index.js → LibPixiContainer.js} +1 -1
- package/dist/Components/Base/{LibPixiParticleMove/index.js → LibPixiParticleMove.js} +1 -1
- package/dist/Components/Custom/{LibPixiButtonHover/index.js → LibPixiButtonHover.js} +1 -1
- package/dist/Components/Custom/{LibPixiCloseBtn/index.d.ts → LibPixiCloseBtn.d.ts} +1 -1
- package/dist/Components/Custom/{LibPixiCloseBtn/index.js → LibPixiCloseBtn.js} +2 -2
- package/dist/Components/Custom/{LibPixiDrawer/index.js → LibPixiDrawer.js} +1 -1
- package/dist/Components/Custom/{LibPixiPerforMon/index.js → LibPixiPerforMon.js} +1 -1
- package/dist/Components/Custom/{LibPixiScrollContainer/index.d.ts → LibPixiScrollContainer.d.ts} +1 -1
- package/dist/Components/Custom/{LibPixiScrollContainer/index.js → LibPixiScrollContainer.js} +1 -1
- package/dist/Components/Custom/{LibPixiScrollNum/index.d.ts → LibPixiScrollNum.d.ts} +1 -1
- package/dist/Components/Custom/{LibPixiScrollNum/index.js → LibPixiScrollNum.js} +1 -1
- package/dist/Components/Custom/{LibPixiSlider/index.d.ts → LibPixiSlider.d.ts} +1 -1
- package/dist/Components/Custom/{LibPixiSlider/index.js → LibPixiSlider.js} +2 -2
- package/dist/Components/Custom/{LibPixiSubAddMinMax/index.js → LibPixiSubAddMinMax.js} +1 -1
- package/dist/Components/Custom/{LibPixiTable/index.js → LibPixiTable.js} +1 -1
- package/dist/libPixiJs.d.ts +2 -2
- package/dist/libPixiJs.js +2 -2
- package/package.json +8 -2
- /package/dist/Components/Base/{LibPixiBitText/index.d.ts → LibPixiBitText.d.ts} +0 -0
- /package/dist/Components/Base/{LibPixiBitText/index.js → LibPixiBitText.js} +0 -0
- /package/dist/Components/Base/{LibPixiContainer/index.d.ts → LibPixiContainer.d.ts} +0 -0
- /package/dist/Components/Base/{LibPixiParticleMove/index.d.ts → LibPixiParticleMove.d.ts} +0 -0
- /package/dist/Components/Base/{LibPixiRectBgColor/index.d.ts → LibPixiRectBgColor.d.ts} +0 -0
- /package/dist/Components/Base/{LibPixiRectBgColor/index.js → LibPixiRectBgColor.js} +0 -0
- /package/dist/Components/Base/{LibPixiSpine/index.d.ts → LibPixiSpine.d.ts} +0 -0
- /package/dist/Components/Base/{LibPixiSpine/index.js → LibPixiSpine.js} +0 -0
- /package/dist/Components/Base/{LibPixiText/index.d.ts → LibPixiText.d.ts} +0 -0
- /package/dist/Components/Base/{LibPixiText/index.js → LibPixiText.js} +0 -0
- /package/dist/Components/Custom/{LibPixiButtonHover/index.d.ts → LibPixiButtonHover.d.ts} +0 -0
- /package/dist/Components/Custom/{LibPixiDrawer/index.d.ts → LibPixiDrawer.d.ts} +0 -0
- /package/dist/Components/Custom/{LibPixiPerforMon/index.d.ts → LibPixiPerforMon.d.ts} +0 -0
- /package/dist/Components/Custom/{LibPixiProgress/index.d.ts → LibPixiProgress.d.ts} +0 -0
- /package/dist/Components/Custom/{LibPixiProgress/index.js → LibPixiProgress.js} +0 -0
- /package/dist/Components/Custom/{LibPixiSubAddMinMax/index.d.ts → LibPixiSubAddMinMax.d.ts} +0 -0
- /package/dist/Components/Custom/{LibPixiTable/index.d.ts → LibPixiTable.d.ts} +0 -0
- /package/dist/Utils/{LibPixiAudio/index.d.ts → LibPixiAudio.d.ts} +0 -0
- /package/dist/Utils/{LibPixiAudio/index.js → LibPixiAudio.js} +0 -0
- /package/dist/Utils/{LibPixiCreateNineGrid/index.d.ts → LibPixiCreateNineGrid.d.ts} +0 -0
- /package/dist/Utils/{LibPixiCreateNineGrid/index.js → LibPixiCreateNineGrid.js} +0 -0
- /package/dist/Utils/{LibPixiEvent/index.d.ts → LibPixiEvent.d.ts} +0 -0
- /package/dist/Utils/{LibPixiEvent/index.js → LibPixiEvent.js} +0 -0
- /package/dist/Utils/{LibPixiEventControlled/index.d.ts → LibPixiEventControlled.d.ts} +0 -0
- /package/dist/Utils/{LibPixiEventControlled/index.js → LibPixiEventControlled.js} +0 -0
- /package/dist/Utils/{LibPixiFilter/index.d.ts → LibPixiFilter.d.ts} +0 -0
- /package/dist/Utils/{LibPixiFilter/index.js → LibPixiFilter.js} +0 -0
- /package/dist/Utils/{LibPixiIntervalTrigger/index.d.ts → LibPixiIntervalTrigger.d.ts} +0 -0
- /package/dist/Utils/{LibPixiIntervalTrigger/index.js → LibPixiIntervalTrigger.js} +0 -0
- /package/dist/Utils/{LibPixiOutsideClick/index.d.ts → LibPixiOutsideClick.d.ts} +0 -0
- /package/dist/Utils/{LibPixiOutsideClick/index.js → LibPixiOutsideClick.js} +0 -0
- /package/dist/Utils/{LibPixiOverflowHidden/index.d.ts → LibPixiOverflowHidden.d.ts} +0 -0
- /package/dist/Utils/{LibPixiOverflowHidden/index.js → LibPixiOverflowHidden.js} +0 -0
- /package/dist/Utils/{LibPixiPromiseTickerTimeout/index.d.ts → LibPixiPromiseTickerTimeout.d.ts} +0 -0
- /package/dist/Utils/{LibPixiPromiseTickerTimeout/index.js → LibPixiPromiseTickerTimeout.js} +0 -0
- /package/dist/Utils/{LibPixiScaleContainer/index.d.ts → LibPixiScaleContainer.d.ts} +0 -0
- /package/dist/Utils/{LibPixiScaleContainer/index.js → LibPixiScaleContainer.js} +0 -0
- /package/dist/Utils/{LibPixiShadow/index.d.ts → LibPixiShadow.d.ts} +0 -0
- /package/dist/Utils/{LibPixiShadow/index.js → LibPixiShadow.js} +0 -0
- /package/dist/Utils/{LibPixiTickerTimeout/index.d.ts → LibPixiTickerTimeout.d.ts} +0 -0
- /package/dist/Utils/{LibPixiTickerTimeout/index.js → LibPixiTickerTimeout.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container, Graphics, Sprite } from "pixi.js";
|
|
2
|
-
import { LibPixiRectBgColor } from
|
|
2
|
+
import { LibPixiRectBgColor } from './LibPixiRectBgColor';
|
|
3
3
|
/** @description 自定义容器大小及背景色
|
|
4
4
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiContainer-容器
|
|
5
5
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Container, ParticleContainer, Ticker } from "pixi.js";
|
|
2
2
|
import { Emitter } from "@pixi/particle-emitter";
|
|
3
3
|
import gsap from "gsap";
|
|
4
|
-
import { LibPixiText } from
|
|
4
|
+
import { LibPixiText } from './LibPixiText';
|
|
5
5
|
/** @description 利用贝塞尔曲线实现粒子移动
|
|
6
6
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiParticleMove-粒子容器
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container, Sprite } from "pixi.js";
|
|
2
|
-
import { libPixiEvent } from "
|
|
2
|
+
import { libPixiEvent } from "../../Utils/LibPixiEvent";
|
|
3
3
|
/** @description 悬浮切换材质
|
|
4
4
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiButtonHover-按钮悬浮
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import gsap from "gsap";
|
|
2
|
-
import { LibPixiContainer } from "
|
|
3
|
-
import { libPixiEvent } from "
|
|
2
|
+
import { LibPixiContainer } from "../Base/LibPixiContainer";
|
|
3
|
+
import { libPixiEvent } from "../../Utils/LibPixiEvent";
|
|
4
4
|
/** @description 右上角关闭按钮,支持悬浮旋转动画
|
|
5
5
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiCloseBtn-关闭按钮
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { Container } from "pixi.js";
|
|
11
11
|
import gsap from "gsap";
|
|
12
|
-
import { LibPixiRectBgColor } from
|
|
12
|
+
import { LibPixiRectBgColor } from '../Base/LibPixiRectBgColor';
|
|
13
13
|
/** @description 底部弹出抽屉
|
|
14
14
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiDrawer-抽屉
|
|
15
15
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container, UPDATE_PRIORITY, Ticker, } from "pixi.js";
|
|
2
|
-
import { LibPixiText } from
|
|
2
|
+
import { LibPixiText } from '../Base/LibPixiText';
|
|
3
3
|
/** @description 监视帧率、Draw Call、Max Draw Call
|
|
4
4
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiPerforMon-性能监视器
|
|
5
5
|
*/
|
package/dist/Components/Custom/{LibPixiScrollContainer/index.js → LibPixiScrollContainer.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Container, Graphics, Sprite, } from "pixi.js";
|
|
2
2
|
import { gsap } from "gsap";
|
|
3
|
-
import { LibPixiContainer } from "
|
|
3
|
+
import { LibPixiContainer } from "../Base/LibPixiContainer";
|
|
4
4
|
/** @description 支持鼠标滚轮滚动、鼠标拖动、手指滑动,支持惯性滚动及回弹
|
|
5
5
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiScrollContainer-滚动容器
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Graphics } from "pixi.js";
|
|
2
2
|
import gsap from "gsap";
|
|
3
|
-
import { LibPixiContainer } from
|
|
3
|
+
import { LibPixiContainer } from '../Base/LibPixiContainer';
|
|
4
4
|
/** @description 通过鼠标或手指拖动数字列选择数字
|
|
5
5
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiScrollNum-数字滑动
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container } from "pixi.js";
|
|
2
|
-
import { LibPixiContainer } from
|
|
2
|
+
import { LibPixiContainer } from '../Base/LibPixiContainer';
|
|
3
3
|
/** @description 类似轮播图,但是不会自动轮播
|
|
4
4
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiSlider-横向滑动图
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import gsap from "gsap";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { libPixiOverflowHidden } from "../../Utils/LibPixiOverflowHidden";
|
|
3
|
+
import { LibPixiContainer } from '../Base/LibPixiContainer';
|
|
4
4
|
/** @description 类似轮播图,但是不会自动轮播
|
|
5
5
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiSlider-横向滑动图
|
|
6
6
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { libPixiFilter } from "
|
|
1
|
+
import { libPixiFilter } from "../../Utils/LibPixiFilter";
|
|
2
2
|
import { LibJsNumberStepper } from "lyb-js/dist/Misc/LibJsNumberStepper";
|
|
3
3
|
/** @description 最小、最大按钮和增减按钮功能及置灰逻辑
|
|
4
4
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiSubAddMinMax-数字控制器
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @description 表格绘制并填入数字 */
|
|
2
2
|
import { Text, Container, Graphics } from "pixi.js";
|
|
3
|
-
import { libPixiScaleContainer } from "
|
|
3
|
+
import { libPixiScaleContainer } from "../../Utils/LibPixiScaleContainer";
|
|
4
4
|
/** @description 绘制表格并填充数字
|
|
5
5
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiTable-数字表格
|
|
6
6
|
*/
|
package/dist/libPixiJs.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { LibPixiSlider } from "./Components/Custom/LibPixiSlider";
|
|
|
15
15
|
import { LibPixiSubAddMinMax } from "./Components/Custom/LibPixiSubAddMinMax";
|
|
16
16
|
import { LibPixiTable } from "./Components/Custom/LibPixiTable";
|
|
17
17
|
import { LibPixiAudio } from "./Utils/LibPixiAudio";
|
|
18
|
-
/** @description
|
|
18
|
+
/** @description 组件 */
|
|
19
19
|
export declare const Components: {
|
|
20
20
|
Base: {
|
|
21
21
|
/** @description 自定义位图文本
|
|
@@ -86,7 +86,7 @@ export declare const Components: {
|
|
|
86
86
|
LibPixiTable: typeof LibPixiTable;
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
/** @description
|
|
89
|
+
/** @description 方法 */
|
|
90
90
|
export declare const Utils: {
|
|
91
91
|
/** @description 音频播放器
|
|
92
92
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiAudio-音频播放器
|
package/dist/libPixiJs.js
CHANGED
|
@@ -26,7 +26,7 @@ import { libPixiScaleContainer } from "./Utils/LibPixiScaleContainer";
|
|
|
26
26
|
import { libPixiFilter } from "./Utils/LibPixiFilter";
|
|
27
27
|
import { libPixiShadow } from "./Utils/LibPixiShadow";
|
|
28
28
|
import { libPixiTickerTimeout } from "./Utils/LibPixiTickerTimeout";
|
|
29
|
-
/** @description
|
|
29
|
+
/** @description 组件 */
|
|
30
30
|
export const Components = {
|
|
31
31
|
Base: {
|
|
32
32
|
/** @description 自定义位图文本
|
|
@@ -97,7 +97,7 @@ export const Components = {
|
|
|
97
97
|
LibPixiTable,
|
|
98
98
|
},
|
|
99
99
|
};
|
|
100
|
-
/** @description
|
|
100
|
+
/** @description 方法 */
|
|
101
101
|
export const Utils = {
|
|
102
102
|
/** @description 音频播放器
|
|
103
103
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiAudio-音频播放器
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lyb-pixi-js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "自用Pixi.JS方法库",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "vite build & tsc"
|
|
11
11
|
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./dist/index.js",
|
|
14
|
+
"./Components/Base/*": "./dist/Components/Base/*",
|
|
15
|
+
"./Components/Custom/*": "./dist/Components/Custom/*",
|
|
16
|
+
"./Utils/*": "./dist/Utils/*"
|
|
17
|
+
},
|
|
12
18
|
"files": [
|
|
13
19
|
"dist",
|
|
14
20
|
"README.md",
|
|
@@ -40,7 +46,7 @@
|
|
|
40
46
|
"dayjs": "^1.11.13",
|
|
41
47
|
"decimal.js": "^10.4.3",
|
|
42
48
|
"gsap": "^3.12.5",
|
|
43
|
-
"lyb-js": "^1.2.
|
|
49
|
+
"lyb-js": "^1.2.7",
|
|
44
50
|
"pixi.js": "^7.4.2",
|
|
45
51
|
"vite": "^4.5.5"
|
|
46
52
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/Utils/{LibPixiPromiseTickerTimeout/index.d.ts → LibPixiPromiseTickerTimeout.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|