@quenty/inputkeymaputils 14.23.2 → 14.23.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [14.23.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputkeymaputils@14.23.2...@quenty/inputkeymaputils@14.23.3) (2025-04-10)
7
+
8
+ **Note:** Version bump only for package @quenty/inputkeymaputils
9
+
10
+
11
+
12
+
13
+
6
14
  ## [14.23.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputkeymaputils@14.23.0...@quenty/inputkeymaputils@14.23.2) (2025-04-07)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/inputkeymaputils",
3
- "version": "14.23.2",
3
+ "version": "14.23.3",
4
4
  "description": "System to define rebindable key bindings and inputs for Roblox.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,26 +26,26 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/baseobject": "^10.8.2",
30
- "@quenty/brio": "^14.17.2",
31
- "@quenty/clienttranslator": "^14.19.2",
32
- "@quenty/ducktype": "^5.8.3",
29
+ "@quenty/baseobject": "^10.8.3",
30
+ "@quenty/brio": "^14.17.3",
31
+ "@quenty/clienttranslator": "^14.19.3",
32
+ "@quenty/ducktype": "^5.8.4",
33
33
  "@quenty/enumutils": "^3.4.2",
34
- "@quenty/inputmode": "^13.18.2",
35
- "@quenty/loader": "^10.8.2",
36
- "@quenty/maid": "^3.4.2",
37
- "@quenty/observablecollection": "^12.20.2",
34
+ "@quenty/inputmode": "^13.18.3",
35
+ "@quenty/loader": "^10.8.3",
36
+ "@quenty/maid": "^3.4.3",
37
+ "@quenty/observablecollection": "^12.20.3",
38
38
  "@quenty/pseudolocalize": "^3.4.2",
39
- "@quenty/rx": "^13.17.2",
40
- "@quenty/servicebag": "^11.11.3",
41
- "@quenty/statestack": "^14.18.2",
39
+ "@quenty/rx": "^13.17.3",
40
+ "@quenty/servicebag": "^11.11.4",
41
+ "@quenty/statestack": "^14.18.3",
42
42
  "@quenty/string": "^3.3.3",
43
- "@quenty/table": "^3.7.3",
44
- "@quenty/valuebaseutils": "^13.17.2",
45
- "@quenty/valueobject": "^13.17.2"
43
+ "@quenty/table": "^3.7.4",
44
+ "@quenty/valuebaseutils": "^13.17.3",
45
+ "@quenty/valueobject": "^13.17.3"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "64def70499ec067077ee39f279936b620b217847"
50
+ "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
51
51
  }
@@ -28,8 +28,8 @@ export type InputKeyMap = typeof(setmetatable(
28
28
  _defaultInputTypes: { InputTypeUtils.InputType },
29
29
  _inputTypeList: ValueObject.ValueObject<{ InputTypeUtils.InputType }>,
30
30
  },
31
- { __index = InputKeyMap }
32
- ))
31
+ {} :: typeof({ __index = InputKeyMap })
32
+ )) & BaseObject.BaseObject
33
33
 
34
34
  --[=[
35
35
  Constructs a new InputKeyMap. Generally this would be sent immediately to an
@@ -67,7 +67,6 @@ InputKeyMapList.__index = InputKeyMapList
67
67
 
68
68
  export type InputKeyMapList = typeof(setmetatable(
69
69
  {} :: {
70
- _maid: Maid.Maid,
71
70
  _inputKeyMapListName: string,
72
71
  _inputModeTypeToInputKeyMap: any, -- ObservableMap.ObservableMap<InputModeType.InputModeType, InputKeyMap.InputKeyMap>,
73
72
  _inputTypesForBinding: any, -- ObservableCountingMap.ObservableCountingMap<InputTypeUtils.InputType>,
@@ -75,8 +74,8 @@ export type InputKeyMapList = typeof(setmetatable(
75
74
  _isRobloxTouchButton: StateStack.StateStack<boolean>,
76
75
  _options: InputKeyMapListOptions,
77
76
  },
78
- { __index = InputKeyMapList }
79
- ))
77
+ {} :: typeof({ __index = InputKeyMapList })
78
+ )) & BaseObject.BaseObject
80
79
 
81
80
  export type InputKeyMapListOptions = {
82
81
  bindingName: string,
@@ -190,7 +189,7 @@ end
190
189
  function InputKeyMapList.Add(self: InputKeyMapList, inputKeyMap: InputKeyMap.InputKeyMap): ()
191
190
  assert(inputKeyMap, "Bad inputKeyMap")
192
191
 
193
- self._maid[inputKeyMap:GetInputModeType() :: any] = inputKeyMap
192
+ self._maid[inputKeyMap:GetInputModeType()] = inputKeyMap
194
193
  self._inputModeTypeToInputKeyMap:Set(inputKeyMap:GetInputModeType(), inputKeyMap)
195
194
  end
196
195
 
@@ -212,7 +211,7 @@ function InputKeyMapList.SetInputTypesList(
212
211
 
213
212
  if inputTypes == nil then
214
213
  self._inputModeTypeToInputKeyMap:Remove(inputModeType)
215
- self._maid[inputModeType :: any] = nil
214
+ self._maid[inputModeType] = nil
216
215
  else
217
216
  local inputKeyMap = self._inputModeTypeToInputKeyMap:Get(inputModeType)
218
217
  if not inputKeyMap then
@@ -233,7 +232,7 @@ function InputKeyMapList.SetDefaultInputTypesList(
233
232
 
234
233
  if inputTypes == nil then
235
234
  self._inputModeTypeToInputKeyMap:Remove(inputModeType)
236
- self._maid[inputModeType :: any] = nil
235
+ self._maid[inputModeType] = nil
237
236
  else
238
237
  local inputKeyMap = self._inputModeTypeToInputKeyMap:Get(inputModeType)
239
238
  if not inputKeyMap then
@@ -66,7 +66,7 @@ export type InputKeyMapListProvider = typeof(setmetatable(
66
66
  _inputKeyMapLists: { [string]: _InputKeyMapList.InputKeyMapList },
67
67
  _inputMapLists: any, -- ObservableList.ObservableList<_InputKeyMapList.InputKeyMapList>,
68
68
  },
69
- { __index = InputKeyMapListProvider }
69
+ {} :: typeof({ __index = InputKeyMapListProvider })
70
70
  ))
71
71
 
72
72
  --[=[