@nativewrappers/fivem 0.0.82 → 0.0.84
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/Events.js +1 -1
- package/index.d.ts +166 -0
- package/index.js +166 -166
- package/models/BaseEntity.d.ts +5 -5
- package/models/BaseEntity.js +3 -3
- package/models/Ped.d.ts +10 -10
- package/models/Ped.js +6 -6
- package/models/PedBone.d.ts +1 -1
- package/models/Player.d.ts +1 -1
- package/models/Player.js +2 -2
- package/models/Vehicle.d.ts +4 -4
- package/models/Vehicle.js +3 -3
- package/models/VehicleDoor.d.ts +1 -1
- package/models/VehicleDoorCollection.d.ts +1 -1
- package/models/VehicleDoorCollection.js +1 -1
- package/models/VehicleMod.d.ts +1 -1
- package/models/VehicleModCollection.d.ts +1 -1
- package/models/VehicleModCollection.js +1 -1
- package/models/VehicleToggleMod.d.ts +1 -1
- package/models/VehicleWheelCollection.d.ts +1 -1
- package/models/VehicleWheelCollection.js +1 -1
- package/models/VehicleWindow.d.ts +1 -1
- package/models/VehicleWindowCollection.d.ts +1 -1
- package/models/VehicleWindowCollection.js +1 -1
- package/package.json +2 -1
- package/ui/Container.d.ts +2 -2
- package/ui/Container.js +1 -1
- package/ui/Effects.d.ts +1 -1
- package/ui/Hud.d.ts +3 -3
- package/ui/Hud.js +1 -1
- package/ui/LoadingPrompt.d.ts +1 -1
- package/ui/LoadingPrompt.js +1 -1
- package/ui/Rectangle.d.ts +2 -2
- package/ui/Rectangle.js +2 -2
- package/ui/Screen.d.ts +3 -3
- package/ui/Screen.js +4 -4
- package/ui/Sprite.d.ts +2 -2
- package/ui/Sprite.js +2 -2
- package/ui/Text.d.ts +4 -4
- package/ui/Text.js +4 -4
- package/ui/Timerbar.js +3 -3
- package/ui/interfaces/IButton.d.ts +1 -1
- package/ui/interfaces/IDrawable.d.ts +2 -2
- package/ui/menu/Menu.d.ts +5 -5
- package/ui/menu/Menu.js +13 -13
- package/ui/menu/MenuSettings.d.ts +1 -1
- package/ui/menu/MenuSettings.js +2 -2
- package/ui/menu/items/UIMenuCheckboxItem.d.ts +2 -2
- package/ui/menu/items/UIMenuCheckboxItem.js +5 -5
- package/ui/menu/items/UIMenuItem.d.ts +7 -7
- package/ui/menu/items/UIMenuItem.js +11 -11
- package/ui/menu/items/UIMenuListItem.d.ts +1 -1
- package/ui/menu/items/UIMenuListItem.js +8 -8
- package/ui/menu/items/UIMenuSeparatorItem.js +1 -1
- package/ui/menu/items/UIMenuSliderItem.d.ts +2 -2
- package/ui/menu/items/UIMenuSliderItem.js +6 -6
- package/ui/menu/items/panels/AbstractUIMenuPanel.d.ts +2 -2
- package/ui/menu/items/panels/AbstractUIMenuPanel.js +2 -2
- package/ui/menu/items/panels/UIMenuColorPanel.d.ts +1 -1
- package/ui/menu/items/panels/UIMenuColorPanel.js +9 -9
- package/ui/menu/items/panels/UIMenuGridPanel.d.ts +2 -2
- package/ui/menu/items/panels/UIMenuGridPanel.js +6 -6
- package/ui/menu/items/panels/UIMenuPercentagePanel.d.ts +1 -1
- package/ui/menu/items/panels/UIMenuPercentagePanel.js +9 -9
- package/ui/menu/items/panels/UIMenuStatisticsPanel.d.ts +1 -1
- package/ui/menu/items/panels/UIMenuStatisticsPanel.js +3 -3
- package/ui/menu/items/panels/UIMenuStatisticsPanelItem.d.ts +2 -2
- package/ui/menu/items/panels/UIMenuStatisticsPanelItem.js +7 -7
- package/ui/menu/modules/ListItem.js +1 -1
- package/utils/String.d.ts +1 -1
- package/utils/String.js +3 -3
- package/weapon/DlcWeaponData.d.ts +1 -1
- package/weapon/Weapon.d.ts +5 -5
- package/weapon/Weapon.js +5 -5
- package/weapon/WeaponAsset.d.ts +1 -1
- package/weapon/WeaponAsset.js +1 -1
- package/weapon/WeaponCollection.d.ts +3 -3
- package/weapon/WeaponCollection.js +1 -1
- package/weapon/WeaponDisplayNameByHash.d.ts +1 -1
- package/weapon/WeaponDisplayNameByHash.js +1 -1
- package/weapon/WeaponHudStats.d.ts +1 -1
- package/weapon/WeaponHudStats.js +1 -1
- package/weaponComponent/InvalidWeaponComponent.d.ts +1 -1
- package/weaponComponent/WeaponComponent.d.ts +3 -3
- package/weaponComponent/WeaponComponentCollection.d.ts +2 -2
- package/weaponComponent/WeaponComponentHashesByWeaponHash.d.ts +1 -1
- package/weaponComponent/WeaponComponentHashesByWeaponHash.js +1 -1
package/models/Vehicle.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Vector3 } from "../common/utils/Vector";
|
|
2
|
-
import type { RadioStation } from "
|
|
3
|
-
import { type VehicleClass, type VehicleLandingGearState, VehicleRoofState, type VehicleLockStatus, VehicleSeat } from "
|
|
4
|
-
import type { Model } from "
|
|
5
|
-
import { ClassTypes } from "
|
|
2
|
+
import type { RadioStation } from "../enums/RadioStation";
|
|
3
|
+
import { type VehicleClass, type VehicleLandingGearState, VehicleRoofState, type VehicleLockStatus, VehicleSeat } from "../enums/Vehicle";
|
|
4
|
+
import type { Model } from "../Model";
|
|
5
|
+
import { ClassTypes } from "../common/utils/ClassTypes";
|
|
6
6
|
import { BaseEntity } from "./BaseEntity";
|
|
7
7
|
import { Ped } from "./Ped";
|
|
8
8
|
import { VehicleDoorCollection } from "./VehicleDoorCollection";
|
package/models/Vehicle.js
CHANGED
|
@@ -4,9 +4,9 @@ import { Vector3 } from "../common/utils/Vector";
|
|
|
4
4
|
import {
|
|
5
5
|
VehicleRoofState,
|
|
6
6
|
VehicleSeat
|
|
7
|
-
} from "
|
|
8
|
-
import { Game } from "
|
|
9
|
-
import { ClassTypes } from "
|
|
7
|
+
} from "../enums/Vehicle";
|
|
8
|
+
import { Game } from "../Game";
|
|
9
|
+
import { ClassTypes } from "../common/utils/ClassTypes";
|
|
10
10
|
import { BaseEntity } from "./BaseEntity";
|
|
11
11
|
import { Ped } from "./Ped";
|
|
12
12
|
import { VehicleDoorCollection } from "./VehicleDoorCollection";
|
package/models/VehicleDoor.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { VehicleDoorIndex } from "
|
|
3
|
+
import { VehicleDoorIndex } from "../enums/Vehicle";
|
|
4
4
|
import { VehicleDoor } from "./VehicleDoor";
|
|
5
5
|
class VehicleDoorCollection {
|
|
6
6
|
static {
|
package/models/VehicleMod.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Color } from "../common/utils/Color";
|
|
2
|
-
import { VehicleModType, type VehicleToggleModType, type VehicleWheelType, type VehicleWindowTint, type VehicleColor, type VehiclePaintType, VehicleNeonLight, type LicensePlateStyle, type LicensePlateType } from "
|
|
2
|
+
import { VehicleModType, type VehicleToggleModType, type VehicleWheelType, type VehicleWindowTint, type VehicleColor, type VehiclePaintType, VehicleNeonLight, type LicensePlateStyle, type LicensePlateType } from "../enums/Vehicle";
|
|
3
3
|
import type { Vehicle } from "./Vehicle";
|
|
4
4
|
import { VehicleMod } from "./VehicleMod";
|
|
5
5
|
import { VehicleToggleMod } from "./VehicleToggleMod";
|
|
@@ -4,7 +4,7 @@ import { Color } from "../common/utils/Color";
|
|
|
4
4
|
import {
|
|
5
5
|
VehicleModType,
|
|
6
6
|
VehicleNeonLight
|
|
7
|
-
} from "
|
|
7
|
+
} from "../enums/Vehicle";
|
|
8
8
|
import { VehicleMod } from "./VehicleMod";
|
|
9
9
|
import { VehicleToggleMod } from "./VehicleToggleMod";
|
|
10
10
|
class VehicleModCollection {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { VehicleWheelIndex } from "
|
|
3
|
+
import { VehicleWheelIndex } from "../enums/Vehicle";
|
|
4
4
|
import { VehicleWheel } from "./VehicleWheel";
|
|
5
5
|
class VehicleWheelCollection {
|
|
6
6
|
static {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { VehicleWindowIndex } from "
|
|
3
|
+
import { VehicleWindowIndex } from "../enums/Vehicle";
|
|
4
4
|
import { VehicleWindow } from "./VehicleWindow";
|
|
5
5
|
class VehicleWindowCollection {
|
|
6
6
|
static {
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
],
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "0.0.
|
|
11
|
+
"version": "0.0.84",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "https://github.com/nativewrappers/nativewrappers.git"
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"./**/*.d.ts"
|
|
30
30
|
],
|
|
31
31
|
"exports": {
|
|
32
|
+
".": "./index.js",
|
|
32
33
|
"./*": "./*"
|
|
33
34
|
}
|
|
34
35
|
}
|
package/ui/Container.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Color } from "../common/utils/Color";
|
|
2
|
-
import type { Point } from "
|
|
3
|
-
import { Size } from "
|
|
2
|
+
import type { Point } from "../utils/Point";
|
|
3
|
+
import { Size } from "../utils/Size";
|
|
4
4
|
import type { IDrawable } from "./interfaces/IDrawable";
|
|
5
5
|
export declare class Container implements IDrawable {
|
|
6
6
|
pos: Point;
|
package/ui/Container.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { Size } from "
|
|
3
|
+
import { Size } from "../utils/Size";
|
|
4
4
|
import { Screen } from "./Screen";
|
|
5
5
|
class Container {
|
|
6
6
|
static {
|
package/ui/Effects.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ScreenEffect } from "
|
|
1
|
+
import type { ScreenEffect } from "../enums/ScreenEffect";
|
|
2
2
|
export declare abstract class Effects {
|
|
3
3
|
static start(effectName: ScreenEffect, duration?: number, looped?: boolean): void;
|
|
4
4
|
static stop(screenEffect?: ScreenEffect): void;
|
package/ui/Hud.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CursorSprite } from "
|
|
2
|
-
import type { HudComponent } from "
|
|
3
|
-
import type { Point } from "
|
|
1
|
+
import { CursorSprite } from "../enums/CursorSprite";
|
|
2
|
+
import type { HudComponent } from "../enums/HudComponent";
|
|
3
|
+
import type { Point } from "../utils/Point";
|
|
4
4
|
export declare abstract class Hud {
|
|
5
5
|
static isComponentActive(component: HudComponent): boolean;
|
|
6
6
|
static showComponentThisFrame(component: HudComponent): void;
|
package/ui/Hud.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { CursorSprite } from "
|
|
3
|
+
import { CursorSprite } from "../enums/CursorSprite";
|
|
4
4
|
class Hud {
|
|
5
5
|
static {
|
|
6
6
|
__name(this, "Hud");
|
package/ui/LoadingPrompt.d.ts
CHANGED
package/ui/LoadingPrompt.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { LoadingSpinnerType } from "
|
|
3
|
+
import { LoadingSpinnerType } from "../enums/LoadingSpinnerType";
|
|
4
4
|
class LoadingPrompt {
|
|
5
5
|
static {
|
|
6
6
|
__name(this, "LoadingPrompt");
|
package/ui/Rectangle.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Color } from "../common/utils/Color";
|
|
2
|
-
import { Point } from "
|
|
3
|
-
import { Size } from "
|
|
2
|
+
import { Point } from "../utils/Point";
|
|
3
|
+
import { Size } from "../utils/Size";
|
|
4
4
|
import type { IDrawable } from "./interfaces/IDrawable";
|
|
5
5
|
export declare class Rectangle implements IDrawable {
|
|
6
6
|
pos: Point;
|
package/ui/Rectangle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { Point } from "
|
|
4
|
-
import { Size } from "
|
|
3
|
+
import { Point } from "../utils/Point";
|
|
4
|
+
import { Size } from "../utils/Size";
|
|
5
5
|
import { Screen } from "./Screen";
|
|
6
6
|
class Rectangle {
|
|
7
7
|
static {
|
package/ui/Screen.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Color } from "../common/utils/Color";
|
|
2
2
|
import type { Vector3 } from "../common/utils/Vector";
|
|
3
|
-
import { HudColor } from "
|
|
4
|
-
import { NotificationType } from "
|
|
5
|
-
import { Size } from "
|
|
3
|
+
import { HudColor } from "../enums/HudColor";
|
|
4
|
+
import { NotificationType } from "../enums/NotificationType";
|
|
5
|
+
import { Size } from "../utils/Size";
|
|
6
6
|
import { Notification } from "./Notification";
|
|
7
7
|
export declare abstract class Screen {
|
|
8
8
|
static get Resolution(): Size;
|
package/ui/Screen.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../common/utils/Color";
|
|
4
|
-
import { HudColor } from "
|
|
5
|
-
import { NotificationType } from "
|
|
6
|
-
import { Size } from "
|
|
7
|
-
import { _String } from "
|
|
4
|
+
import { HudColor } from "../enums/HudColor";
|
|
5
|
+
import { NotificationType } from "../enums/NotificationType";
|
|
6
|
+
import { Size } from "../utils/Size";
|
|
7
|
+
import { _String } from "../utils/String";
|
|
8
8
|
import { Audio } from "../Audio";
|
|
9
9
|
import { Notification } from "./Notification";
|
|
10
10
|
class Screen {
|
package/ui/Sprite.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Color } from "../common/utils/Color";
|
|
2
|
-
import { Point } from "
|
|
3
|
-
import { Size } from "
|
|
2
|
+
import { Point } from "../utils/Point";
|
|
3
|
+
import { Size } from "../utils/Size";
|
|
4
4
|
export declare class Sprite {
|
|
5
5
|
textureName: string;
|
|
6
6
|
pos: Point;
|
package/ui/Sprite.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../common/utils/Color";
|
|
4
|
-
import { Point } from "
|
|
5
|
-
import { Size } from "
|
|
4
|
+
import { Point } from "../utils/Point";
|
|
5
|
+
import { Size } from "../utils/Size";
|
|
6
6
|
import { Screen } from "./Screen";
|
|
7
7
|
class Sprite {
|
|
8
8
|
static {
|
package/ui/Text.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Color } from "../common/utils/Color";
|
|
2
|
-
import { Alignment } from "
|
|
3
|
-
import { Font } from "
|
|
4
|
-
import { Point } from "
|
|
5
|
-
import { Size } from "
|
|
2
|
+
import { Alignment } from "../enums/Alignment";
|
|
3
|
+
import { Font } from "../enums/Font";
|
|
4
|
+
import { Point } from "../utils/Point";
|
|
5
|
+
import { Size } from "../utils/Size";
|
|
6
6
|
import type { IDrawable } from "./interfaces/IDrawable";
|
|
7
7
|
export declare class Text implements IDrawable {
|
|
8
8
|
static draw(caption: string, pos: Point, scale?: number, color?: Color, font?: Font, alignment?: Alignment, dropShadow?: boolean, outline?: boolean, wordWrap?: Size, resolution?: Size): void;
|
package/ui/Text.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../common/utils/Color";
|
|
4
|
-
import { Alignment } from "
|
|
5
|
-
import { Font } from "
|
|
6
|
-
import { Point } from "
|
|
7
|
-
import { Size } from "
|
|
4
|
+
import { Alignment } from "../enums/Alignment";
|
|
5
|
+
import { Font } from "../enums/Font";
|
|
6
|
+
import { Point } from "../utils/Point";
|
|
7
|
+
import { Size } from "../utils/Size";
|
|
8
8
|
import { Screen } from "./Screen";
|
|
9
9
|
class Text {
|
|
10
10
|
static {
|
package/ui/Timerbar.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../common/utils/Color";
|
|
4
|
-
import { HudComponent } from "
|
|
5
|
-
import { Point } from "
|
|
6
|
-
import { Size } from "
|
|
4
|
+
import { HudComponent } from "../enums/HudComponent";
|
|
5
|
+
import { Point } from "../utils/Point";
|
|
6
|
+
import { Size } from "../utils/Size";
|
|
7
7
|
import { Hud } from "./Hud";
|
|
8
8
|
import { LoadingPrompt } from "./LoadingPrompt";
|
|
9
9
|
import { Screen } from "./Screen";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Color } from "../../common/utils/Color";
|
|
2
|
-
import type { Point } from "
|
|
3
|
-
import type { Size } from "
|
|
2
|
+
import type { Point } from "../../utils/Point";
|
|
3
|
+
import type { Size } from "../../utils/Size";
|
|
4
4
|
export interface IDrawable {
|
|
5
5
|
pos: Point;
|
|
6
6
|
size?: Size;
|
package/ui/menu/Menu.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Color } from "../../common/utils/Color";
|
|
2
|
-
import { Font } from "
|
|
3
|
-
import { MenuAlignment } from "
|
|
4
|
-
import { LiteEvent } from "
|
|
5
|
-
import { Point } from "
|
|
6
|
-
import { Size } from "
|
|
2
|
+
import { Font } from "../../enums/Font";
|
|
3
|
+
import { MenuAlignment } from "../../enums/MenuAlignment";
|
|
4
|
+
import { LiteEvent } from "../../utils/LiteEvent";
|
|
5
|
+
import { Point } from "../../utils/Point";
|
|
6
|
+
import { Size } from "../../utils/Size";
|
|
7
7
|
import { UIMenuItem } from "./items/UIMenuItem";
|
|
8
8
|
import { MenuControls } from "./MenuControls";
|
|
9
9
|
import { MenuSettings } from "./MenuSettings";
|
package/ui/menu/Menu.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../../common/utils/Color";
|
|
4
|
-
import { Audio } from "
|
|
5
|
-
import { Alignment } from "
|
|
6
|
-
import { Control } from "
|
|
7
|
-
import { CursorSprite } from "
|
|
8
|
-
import { Font } from "
|
|
9
|
-
import { InputMode } from "
|
|
10
|
-
import { MenuAlignment } from "
|
|
11
|
-
import { Game } from "
|
|
12
|
-
import { GameplayCamera } from "
|
|
13
|
-
import { Crypto } from "
|
|
14
|
-
import { LiteEvent } from "
|
|
15
|
-
import { Point } from "
|
|
16
|
-
import { Size } from "
|
|
4
|
+
import { Audio } from "../../Audio";
|
|
5
|
+
import { Alignment } from "../../enums/Alignment";
|
|
6
|
+
import { Control } from "../../enums/Control";
|
|
7
|
+
import { CursorSprite } from "../../enums/CursorSprite";
|
|
8
|
+
import { Font } from "../../enums/Font";
|
|
9
|
+
import { InputMode } from "../../enums/InputMode";
|
|
10
|
+
import { MenuAlignment } from "../../enums/MenuAlignment";
|
|
11
|
+
import { Game } from "../../Game";
|
|
12
|
+
import { GameplayCamera } from "../../GameplayCamera";
|
|
13
|
+
import { Crypto } from "../../utils/Crypto";
|
|
14
|
+
import { LiteEvent } from "../../utils/LiteEvent";
|
|
15
|
+
import { Point } from "../../utils/Point";
|
|
16
|
+
import { Size } from "../../utils/Size";
|
|
17
17
|
import { Container } from "../Container";
|
|
18
18
|
import { Hud } from "../Hud";
|
|
19
19
|
import { Rectangle } from "../Rectangle";
|
package/ui/menu/MenuSettings.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { Control } from "
|
|
4
|
-
import { InputMode } from "
|
|
3
|
+
import { Control } from "../../enums/Control";
|
|
4
|
+
import { InputMode } from "../../enums/InputMode";
|
|
5
5
|
class MenuSettings {
|
|
6
6
|
static {
|
|
7
7
|
__name(this, "MenuSettings");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CheckboxStyle } from "
|
|
2
|
-
import { LiteEvent } from "
|
|
1
|
+
import { CheckboxStyle } from "../../../enums/CheckboxStyle";
|
|
2
|
+
import { LiteEvent } from "../../../utils/LiteEvent";
|
|
3
3
|
import { UIMenuItem } from "./UIMenuItem";
|
|
4
4
|
export declare class UIMenuCheckboxItem extends UIMenuItem {
|
|
5
5
|
readonly checkboxChanged: LiteEvent;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../../../common/utils/Color";
|
|
4
|
-
import { CheckboxStyle } from "
|
|
5
|
-
import { Sprite } from "
|
|
6
|
-
import { LiteEvent } from "
|
|
7
|
-
import { Point } from "
|
|
8
|
-
import { Size } from "
|
|
4
|
+
import { CheckboxStyle } from "../../../enums/CheckboxStyle";
|
|
5
|
+
import { Sprite } from "../../../ui/Sprite";
|
|
6
|
+
import { LiteEvent } from "../../../utils/LiteEvent";
|
|
7
|
+
import { Point } from "../../../utils/Point";
|
|
8
|
+
import { Size } from "../../../utils/Size";
|
|
9
9
|
import { Menu } from "../Menu";
|
|
10
10
|
import { UIMenuItem } from "./UIMenuItem";
|
|
11
11
|
class UIMenuCheckboxItem extends UIMenuItem {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Color } from "../../../common/utils/Color";
|
|
2
|
-
import { BadgeStyle } from "
|
|
3
|
-
import { Rectangle } from "
|
|
4
|
-
import { Sprite } from "
|
|
5
|
-
import { Text } from "
|
|
6
|
-
import { LiteEvent } from "
|
|
7
|
-
import { Point } from "
|
|
8
|
-
import { Size } from "
|
|
2
|
+
import { BadgeStyle } from "../../../enums/BadgeStyle";
|
|
3
|
+
import { Rectangle } from "../../../ui/Rectangle";
|
|
4
|
+
import { Sprite } from "../../../ui/Sprite";
|
|
5
|
+
import { Text } from "../../../ui/Text";
|
|
6
|
+
import { LiteEvent } from "../../../utils/LiteEvent";
|
|
7
|
+
import { Point } from "../../../utils/Point";
|
|
8
|
+
import { Size } from "../../../utils/Size";
|
|
9
9
|
import { Menu } from "../Menu";
|
|
10
10
|
import type { AbstractUIMenuPanel } from "./panels/AbstractUIMenuPanel";
|
|
11
11
|
export declare class UIMenuItem {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../../../common/utils/Color";
|
|
4
|
-
import { Alignment } from "
|
|
5
|
-
import { BadgeStyle } from "
|
|
6
|
-
import { Font } from "
|
|
7
|
-
import { Rectangle } from "
|
|
8
|
-
import { Sprite } from "
|
|
9
|
-
import { Text } from "
|
|
10
|
-
import { Crypto } from "
|
|
11
|
-
import { LiteEvent } from "
|
|
12
|
-
import { Point } from "
|
|
13
|
-
import { Size } from "
|
|
14
|
-
import { _String } from "
|
|
4
|
+
import { Alignment } from "../../../enums/Alignment";
|
|
5
|
+
import { BadgeStyle } from "../../../enums/BadgeStyle";
|
|
6
|
+
import { Font } from "../../../enums/Font";
|
|
7
|
+
import { Rectangle } from "../../../ui/Rectangle";
|
|
8
|
+
import { Sprite } from "../../../ui/Sprite";
|
|
9
|
+
import { Text } from "../../../ui/Text";
|
|
10
|
+
import { Crypto } from "../../../utils/Crypto";
|
|
11
|
+
import { LiteEvent } from "../../../utils/LiteEvent";
|
|
12
|
+
import { Point } from "../../../utils/Point";
|
|
13
|
+
import { Size } from "../../../utils/Size";
|
|
14
|
+
import { _String } from "../../../utils/String";
|
|
15
15
|
import { Menu } from "../Menu";
|
|
16
16
|
class UIMenuItem {
|
|
17
17
|
static {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../../../common/utils/Color";
|
|
4
|
-
import { Alignment } from "
|
|
5
|
-
import { Font } from "
|
|
6
|
-
import { Sprite } from "
|
|
7
|
-
import { Text } from "
|
|
8
|
-
import { LiteEvent } from "
|
|
9
|
-
import { Point } from "
|
|
10
|
-
import { Size } from "
|
|
11
|
-
import { _String } from "
|
|
4
|
+
import { Alignment } from "../../../enums/Alignment";
|
|
5
|
+
import { Font } from "../../../enums/Font";
|
|
6
|
+
import { Sprite } from "../../../ui/Sprite";
|
|
7
|
+
import { Text } from "../../../ui/Text";
|
|
8
|
+
import { LiteEvent } from "../../../utils/LiteEvent";
|
|
9
|
+
import { Point } from "../../../utils/Point";
|
|
10
|
+
import { Size } from "../../../utils/Size";
|
|
11
|
+
import { _String } from "../../../utils/String";
|
|
12
12
|
import { Menu } from "../Menu";
|
|
13
13
|
import { UIMenuItem } from "./UIMenuItem";
|
|
14
14
|
class UIMenuListItem extends UIMenuItem {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { Alignment } from "
|
|
3
|
+
import { Alignment } from "../../../enums/Alignment";
|
|
4
4
|
import { Menu } from "../Menu";
|
|
5
5
|
import { UIMenuItem } from "./UIMenuItem";
|
|
6
6
|
class UIMenuSeparatorItem extends UIMenuItem {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Color } from "../../../common/utils/Color";
|
|
2
|
-
import { BadgeStyle } from "
|
|
3
|
-
import { LiteEvent } from "
|
|
2
|
+
import { BadgeStyle } from "../../../enums/BadgeStyle";
|
|
3
|
+
import { LiteEvent } from "../../../utils/LiteEvent";
|
|
4
4
|
import { UIMenuItem } from "./UIMenuItem";
|
|
5
5
|
export declare class UIMenuSliderItem extends UIMenuItem {
|
|
6
6
|
readonly sliderChanged: LiteEvent;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { Color } from "../../../common/utils/Color";
|
|
4
|
-
import { BadgeStyle } from "
|
|
5
|
-
import { Rectangle } from "
|
|
6
|
-
import { Sprite } from "
|
|
7
|
-
import { LiteEvent } from "
|
|
8
|
-
import { Point } from "
|
|
9
|
-
import { Size } from "
|
|
4
|
+
import { BadgeStyle } from "../../../enums/BadgeStyle";
|
|
5
|
+
import { Rectangle } from "../../../ui/Rectangle";
|
|
6
|
+
import { Sprite } from "../../../ui/Sprite";
|
|
7
|
+
import { LiteEvent } from "../../../utils/LiteEvent";
|
|
8
|
+
import { Point } from "../../../utils/Point";
|
|
9
|
+
import { Size } from "../../../utils/Size";
|
|
10
10
|
import { Menu } from "../Menu";
|
|
11
11
|
import { UIMenuItem } from "./UIMenuItem";
|
|
12
12
|
class UIMenuSliderItem extends UIMenuItem {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Rectangle } from "
|
|
2
|
-
import { Sprite } from "
|
|
1
|
+
import type { Rectangle } from "../../../../ui/Rectangle";
|
|
2
|
+
import { Sprite } from "../../../../ui/Sprite";
|
|
3
3
|
import { Menu } from "../../Menu";
|
|
4
4
|
import type { UIMenuItem } from "../UIMenuItem";
|
|
5
5
|
export declare abstract class AbstractUIMenuPanel {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { Sprite } from "
|
|
4
|
-
import { Crypto } from "
|
|
3
|
+
import { Sprite } from "../../../../ui/Sprite";
|
|
4
|
+
import { Crypto } from "../../../../utils/Crypto";
|
|
5
5
|
import { Menu } from "../../Menu";
|
|
6
6
|
class AbstractUIMenuPanel {
|
|
7
7
|
static {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Color } from "../../../../common/utils/Color";
|
|
2
|
-
import { Sprite } from "
|
|
2
|
+
import { Sprite } from "../../../../ui/Sprite";
|
|
3
3
|
import { AbstractUIMenuPanel } from "./AbstractUIMenuPanel";
|
|
4
4
|
export declare class UIMenuColorPanel extends AbstractUIMenuPanel {
|
|
5
5
|
protected readonly background: Sprite;
|