@intechstudio/grid-protocol 1.20250519.1115 → 1.20250623.1326
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/index.js +126 -90
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -276,6 +276,14 @@ var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_short = "gpcs";
|
|
|
276
276
|
var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human = "potmeter_calibration_set";
|
|
277
277
|
var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_fnptr = "l_grid_potmeter_calibration_set";
|
|
278
278
|
var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage = "potmeter_calibration_set({ int c1, ... }) Sets potentiometer calibration centers from an array of integers.";
|
|
279
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short = "gbcg";
|
|
280
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human = "button_calibration_get";
|
|
281
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr = "l_grid_button_calibration_get";
|
|
282
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_usage = "button_calibration_get() Returns raw minimum and maximum values for buttons as an array of integer arrays.";
|
|
283
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_short = "gbcs";
|
|
284
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_human = "button_calibration_set";
|
|
285
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_fnptr = "l_grid_button_calibration_set";
|
|
286
|
+
var GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_usage = "button_calibration_set({ { int min1, int max1 }, ... }) Sets minimum and maximum button values from an array of integer arrays.";
|
|
279
287
|
var GRID_LUA_FNC_G_GUI_DRAW_SWAP_short = "ggdsw";
|
|
280
288
|
var GRID_LUA_FNC_G_GUI_DRAW_SWAP_human = "gui_draw_swap";
|
|
281
289
|
var GRID_LUA_FNC_G_GUI_DRAW_SWAP_fnptr = "l_grid_gui_draw_swap";
|
|
@@ -331,9 +339,9 @@ var GRID_LUA_FNC_G_GUI_DRAW_DEMO_usage = "gui_draw_demo(screen_index, n) Draws t
|
|
|
331
339
|
var GRID_LUA_FNC_B_ELEMENT_INDEX_index = "0";
|
|
332
340
|
var GRID_LUA_FNC_B_ELEMENT_INDEX_short = "ind";
|
|
333
341
|
var GRID_LUA_FNC_B_ELEMENT_INDEX_human = "element_index";
|
|
334
|
-
var
|
|
335
|
-
var
|
|
336
|
-
var
|
|
342
|
+
var GRID_LUA_FNC_B_LED_INDEX_index = "1";
|
|
343
|
+
var GRID_LUA_FNC_B_LED_INDEX_short = "lix";
|
|
344
|
+
var GRID_LUA_FNC_B_LED_INDEX_human = "led_index";
|
|
337
345
|
var GRID_LUA_FNC_B_BUTTON_VALUE_index = "2";
|
|
338
346
|
var GRID_LUA_FNC_B_BUTTON_VALUE_short = "bva";
|
|
339
347
|
var GRID_LUA_FNC_B_BUTTON_VALUE_human = "button_value";
|
|
@@ -358,9 +366,9 @@ var GRID_LUA_FNC_B_LIST_length = "8";
|
|
|
358
366
|
var GRID_LUA_FNC_E_ELEMENT_INDEX_index = "0";
|
|
359
367
|
var GRID_LUA_FNC_E_ELEMENT_INDEX_short = "ind";
|
|
360
368
|
var GRID_LUA_FNC_E_ELEMENT_INDEX_human = "element_index";
|
|
361
|
-
var
|
|
362
|
-
var
|
|
363
|
-
var
|
|
369
|
+
var GRID_LUA_FNC_E_LED_INDEX_index = "1";
|
|
370
|
+
var GRID_LUA_FNC_E_LED_INDEX_short = "lix";
|
|
371
|
+
var GRID_LUA_FNC_E_LED_INDEX_human = "led_index";
|
|
364
372
|
var GRID_LUA_FNC_E_BUTTON_VALUE_index = "2";
|
|
365
373
|
var GRID_LUA_FNC_E_BUTTON_VALUE_short = "bva";
|
|
366
374
|
var GRID_LUA_FNC_E_BUTTON_VALUE_human = "button_value";
|
|
@@ -414,9 +422,9 @@ var GRID_LUA_FNC_E_LIST_length = "17";
|
|
|
414
422
|
var GRID_LUA_FNC_EP_ELEMENT_INDEX_index = "0";
|
|
415
423
|
var GRID_LUA_FNC_EP_ELEMENT_INDEX_short = "ind";
|
|
416
424
|
var GRID_LUA_FNC_EP_ELEMENT_INDEX_human = "element_index";
|
|
417
|
-
var
|
|
418
|
-
var
|
|
419
|
-
var
|
|
425
|
+
var GRID_LUA_FNC_EP_LED_INDEX_index = "1";
|
|
426
|
+
var GRID_LUA_FNC_EP_LED_INDEX_short = "lix";
|
|
427
|
+
var GRID_LUA_FNC_EP_LED_INDEX_human = "led_index";
|
|
420
428
|
var GRID_LUA_FNC_EP_BUTTON_VALUE_index = "2";
|
|
421
429
|
var GRID_LUA_FNC_EP_BUTTON_VALUE_short = "bva";
|
|
422
430
|
var GRID_LUA_FNC_EP_BUTTON_VALUE_human = "button_value";
|
|
@@ -435,9 +443,9 @@ var GRID_LUA_FNC_EP_BUTTON_ELAPSED_human = "button_elapsed_time";
|
|
|
435
443
|
var GRID_LUA_FNC_EP_BUTTON_STATE_index = "7";
|
|
436
444
|
var GRID_LUA_FNC_EP_BUTTON_STATE_short = "bst";
|
|
437
445
|
var GRID_LUA_FNC_EP_BUTTON_STATE_human = "button_state";
|
|
438
|
-
var
|
|
439
|
-
var
|
|
440
|
-
var
|
|
446
|
+
var GRID_LUA_FNC_EP_LED_OFFSET_index = "8";
|
|
447
|
+
var GRID_LUA_FNC_EP_LED_OFFSET_short = "lof";
|
|
448
|
+
var GRID_LUA_FNC_EP_LED_OFFSET_human = "led_offset";
|
|
441
449
|
var GRID_LUA_FNC_EP_ENDLESS_VALUE_index = "9";
|
|
442
450
|
var GRID_LUA_FNC_EP_ENDLESS_VALUE_short = "epva";
|
|
443
451
|
var GRID_LUA_FNC_EP_ENDLESS_VALUE_human = "endless_value";
|
|
@@ -485,9 +493,9 @@ var GRID_LUA_FNC_L_LIST_length = "4";
|
|
|
485
493
|
var GRID_LUA_FNC_P_ELEMENT_INDEX_index = "0";
|
|
486
494
|
var GRID_LUA_FNC_P_ELEMENT_INDEX_short = "ind";
|
|
487
495
|
var GRID_LUA_FNC_P_ELEMENT_INDEX_human = "element_index";
|
|
488
|
-
var
|
|
489
|
-
var
|
|
490
|
-
var
|
|
496
|
+
var GRID_LUA_FNC_P_LED_INDEX_index = "1";
|
|
497
|
+
var GRID_LUA_FNC_P_LED_INDEX_short = "lix";
|
|
498
|
+
var GRID_LUA_FNC_P_LED_INDEX_human = "led_index";
|
|
491
499
|
var GRID_LUA_FNC_P_POTMETER_VALUE_index = "2";
|
|
492
500
|
var GRID_LUA_FNC_P_POTMETER_VALUE_short = "pva";
|
|
493
501
|
var GRID_LUA_FNC_P_POTMETER_VALUE_human = "potmeter_value";
|
|
@@ -769,23 +777,24 @@ var GRID_LUA_FNC_G_SEGCALC_source = "grid_lua_src_segmentcalc_lua";
|
|
|
769
777
|
var GRID_LUA_FNC_G_SEGCALC_short = "gsc";
|
|
770
778
|
var GRID_LUA_FNC_G_SEGCALC_human = "segment_calculate";
|
|
771
779
|
var GRID_LUA_FNC_G_TOML_source = "grid_lua_src_toml_lua";
|
|
772
|
-
var
|
|
780
|
+
var GRID_LUA_FNC_G_SIMPLECOLOR_source = "grid_lua_src_simplecolor_lua";
|
|
781
|
+
var GRID_LUA_SYS_META_init = "system_meta = { __index = {type = 'system', \" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_S_ELEMENT_INDEX_short, GRID_LUA_FNC_S_ELEMENT_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_INIT_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_TIMER_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_MAPMODE_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_MIDIRX_short) \",post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"gtt\", GRID_LUA_FNC_G_TIMER_START_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR0(\"gtp\", GRID_LUA_FNC_G_TIMER_STOP_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"get\", GRID_LUA_FNC_G_EVENT_TRIGGER_short) \",}}";
|
|
773
782
|
var GRID_ACTIONSTRING_SYSTEM_INIT = "<?lua --[[@cb]] --[[page init]] ?>";
|
|
774
783
|
var GRID_ACTIONSTRING_SYSTEM_MAPMODE = "<?lua --[[@cb]] gpl(gpn()) ?>";
|
|
775
784
|
var GRID_ACTIONSTRING_SYSTEM_MIDIRX = "<?lua --[[@l]] local ch,cmd,param1,param2=midi.ch,midi.cmd,midi.p1,midi.p2 ?>";
|
|
776
785
|
var GRID_ACTIONSTRING_SYSTEM_TIMER = "<?lua --[[@cb]] print('tick') ?>";
|
|
777
|
-
var GRID_LUA_B_META_init = "button_meta = { __index = {\"
|
|
786
|
+
var GRID_LUA_B_META_init = "button_meta = { __index = {type = 'button', \" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_ELEMENT_INDEX_short, GRID_LUA_FNC_B_ELEMENT_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_LED_INDEX_short, GRID_LUA_FNC_B_LED_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_BUTTON_VALUE_short, GRID_LUA_FNC_B_BUTTON_VALUE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_BUTTON_MIN_short, GRID_LUA_FNC_B_BUTTON_MIN_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_BUTTON_MAX_short, GRID_LUA_FNC_B_BUTTON_MAX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_BUTTON_MODE_short, GRID_LUA_FNC_B_BUTTON_MODE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_BUTTON_ELAPSED_short, GRID_LUA_FNC_B_BUTTON_ELAPSED_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_B_BUTTON_STATE_short, GRID_LUA_FNC_B_BUTTON_STATE_index) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_INIT_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_BUTTON_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_TIMER_short) \",post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_BUTTON_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"gtt\", GRID_LUA_FNC_G_TIMER_START_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR0(\"gtp\", GRID_LUA_FNC_G_TIMER_STOP_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"get\", GRID_LUA_FNC_G_EVENT_TRIGGER_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",\" GRID_LUA_FNC_B_BUTTON_STEP_short \" =function (self) local steps, min, max, value = self:\" GRID_LUA_FNC_B_BUTTON_MODE_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MIN_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MAX_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_VALUE_short \"() if steps == 0 then return false end return value // ((max - min) // steps) end,}}";
|
|
778
787
|
var GRID_ACTIONSTRING_BUTTON_INIT = "<?lua --[[@l]] local num,val,red,gre,blu=self:ind(),self:bva(),glr(),glg(),glb()--[[@glc]] glc(num,1,red,gre,blu)--[[@glp]] glp(num,1,val) ?>";
|
|
779
788
|
var GRID_ACTIONSTRING_BUTTON_BUTTON = "<?lua --[[@l]] local num,val,ch,note=self:ind(),self:bva(),(gmy()*4+gpc())%16,(32+gmx()*16+self:ind())%128--[[@gms]] gms(ch,144,note,val)--[[@glp]] glp(num,1,val) ?>";
|
|
780
789
|
var GRID_UI_ENCODER_INIT_SAMPLES = "2";
|
|
781
|
-
var GRID_LUA_E_META_init = "encoder_meta = { __index = {\"
|
|
790
|
+
var GRID_LUA_E_META_init = "encoder_meta = { __index = {type = 'encoder', \" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ELEMENT_INDEX_short, GRID_LUA_FNC_E_ELEMENT_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_LED_INDEX_short, GRID_LUA_FNC_E_LED_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_BUTTON_VALUE_short, GRID_LUA_FNC_E_BUTTON_VALUE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_BUTTON_MIN_short, GRID_LUA_FNC_E_BUTTON_MIN_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_BUTTON_MAX_short, GRID_LUA_FNC_E_BUTTON_MAX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_BUTTON_MODE_short, GRID_LUA_FNC_E_BUTTON_MODE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_BUTTON_ELAPSED_short, GRID_LUA_FNC_E_BUTTON_ELAPSED_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_BUTTON_STATE_short, GRID_LUA_FNC_E_BUTTON_STATE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_NUMBER_short, GRID_LUA_FNC_E_ENCODER_NUMBER_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_VALUE_short, GRID_LUA_FNC_E_ENCODER_VALUE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_MIN_short, GRID_LUA_FNC_E_ENCODER_MIN_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_MAX_short, GRID_LUA_FNC_E_ENCODER_MAX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_MODE_short, GRID_LUA_FNC_E_ENCODER_MODE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_ELAPSED_short, GRID_LUA_FNC_E_ENCODER_ELAPSED_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_STATE_short, GRID_LUA_FNC_E_ENCODER_STATE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_VELOCITY_short, GRID_LUA_FNC_E_ENCODER_VELOCITY_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_E_ENCODER_SENSITIVITY_short, GRID_LUA_FNC_E_ENCODER_SENSITIVITY_index) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_INIT_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_BUTTON_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_TIMER_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_ENCODER_short) \",post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_BUTTON_short\"() self:\"GRID_LUA_FNC_A_ENCODER_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"gtt\", GRID_LUA_FNC_G_TIMER_START_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR0(\"gtp\", GRID_LUA_FNC_G_TIMER_STOP_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"get\", GRID_LUA_FNC_G_EVENT_TRIGGER_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",\" GRID_LUA_FNC_E_BUTTON_STEP_short \" =function (self) local steps, min, max, value = self:\" GRID_LUA_FNC_B_BUTTON_MODE_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MIN_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MAX_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_VALUE_short \"() if steps == 0 then return false end return value // ((max - min) // steps) end,\" GRID_LUA_FNC_E_LED_COLOR_short \" =function (self, ...) \" GRID_LUA_FNC_G_LED_COLOR_short \"(self:\" GRID_LUA_FNC_E_ELEMENT_INDEX_short \"(), ...) end,}}";
|
|
782
791
|
var GRID_ACTIONSTRING_ENCODER_INIT = "<?lua --[[@l]] local num,bval,eval,red,gre,blu=self:ind(),self:bva(),self:eva(),glr(),glg(),glb()--[[@glc]] glc(num,1,red,gre,blu)--[[@glc]] glc(num,2,red,gre,blu)--[[@glp]] glp(num,1,bval)--[[@glp]] glp(num,2,eval) ?>";
|
|
783
792
|
var GRID_ACTIONSTRING_ENCODER_ENCODER = "<?lua --[[@l]] local num,val,ch,cc=self:ind(),self:eva(),(gmy()*4+gpc())%16,(32+gmx()*16+self:ind())%128--[[@gms]] gms(ch,176,cc,val)--[[@glp]] glp(num,2,val) ?>";
|
|
784
|
-
var GRID_LUA_EP_META_init = "endless_meta = { __index = {\"
|
|
793
|
+
var GRID_LUA_EP_META_init = "endless_meta = { __index = {type = 'endless', \" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ELEMENT_INDEX_short, GRID_LUA_FNC_EP_ELEMENT_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_LED_INDEX_short, GRID_LUA_FNC_EP_LED_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_BUTTON_VALUE_short, GRID_LUA_FNC_EP_BUTTON_VALUE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_BUTTON_MIN_short, GRID_LUA_FNC_EP_BUTTON_MIN_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_BUTTON_MAX_short, GRID_LUA_FNC_EP_BUTTON_MAX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_BUTTON_MODE_short, GRID_LUA_FNC_EP_BUTTON_MODE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_BUTTON_ELAPSED_short, GRID_LUA_FNC_EP_BUTTON_ELAPSED_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_BUTTON_STATE_short, GRID_LUA_FNC_EP_BUTTON_STATE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_LED_OFFSET_short, GRID_LUA_FNC_EP_LED_OFFSET_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_VALUE_short, GRID_LUA_FNC_EP_ENDLESS_VALUE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_MIN_short, GRID_LUA_FNC_EP_ENDLESS_MIN_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_MAX_short, GRID_LUA_FNC_EP_ENDLESS_MAX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_MODE_short, GRID_LUA_FNC_EP_ENDLESS_MODE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_ELAPSED_short, GRID_LUA_FNC_EP_ENDLESS_ELAPSED_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_STATE_short, GRID_LUA_FNC_EP_ENDLESS_STATE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_VELOCITY_short, GRID_LUA_FNC_EP_ENDLESS_VELOCITY_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_DIRECTION_short, GRID_LUA_FNC_EP_ENDLESS_DIRECTION_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_short, GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_index) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_INIT_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_BUTTON_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_TIMER_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_ENDLESS_short) \",post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_BUTTON_short\"() self:\"GRID_LUA_FNC_A_ENDLESS_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"gtt\", GRID_LUA_FNC_G_TIMER_START_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR0(\"gtp\", GRID_LUA_FNC_G_TIMER_STOP_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"get\", GRID_LUA_FNC_G_EVENT_TRIGGER_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",}}";
|
|
785
794
|
var GRID_ACTIONSTRING_ENDLESS_INIT = "<?lua --[[@l]] local num,val,min,max,red,gre,blu=self:ind(),self:epva(),self:epmi(),self:epma(),glr(),glg(),glb()--[[@for]] for i=1,5,1 do--[[@l]] local intensity,lednum=gsc(i-1,val,min,max),num+i*2-2--[[@glc]] glc(lednum,1,red,gre,blu,0)--[[@glc]] glc(lednum,2,red,gre,blu,1)--[[@glp]] glp(lednum,1,0)--[[@glp]] glp(lednum,2,intensity)--[[@enl]] end ?>";
|
|
786
795
|
var GRID_ACTIONSTRING_ENDLESS_ENDLESS = "<?lua --[[@l]] local num,val,min,max,ch,cc=self:ind(),self:epva(),self:epmi(),self:epma(),(gmy()*4+gpc())%16,(32+gmx()*16+self:ind())%128--[[@gmsh]] gms(ch,176,cc,val//128) gms(ch,176,cc+32,val%128)--[[@for]] for i=1,5,1 do--[[@l]] local intensity,lednum=gsc(i-1,val,min,max),num+i*2-2--[[@glp]] glp(lednum,2,intensity)--[[@enl]] end ?>";
|
|
787
796
|
var GRID_ACTIONSTRING_ENDLESS_BUTTON = "<?lua --[[@l]] local num,val,ch,note=self:ind(),self:bva(),(gmy()*4+gpc())%16,(32+gmx()*16+self:ind())%128--[[@gms]] gms(ch,144,note,val)--[[@for]] for i=1,5,1 do--[[@l]] local lednum=num+i*2-2--[[@glp]] glp(lednum,1,val)--[[@enl]] end ?>";
|
|
788
|
-
var GRID_LUA_P_META_init = "potmeter_meta = { __index = {\"
|
|
797
|
+
var GRID_LUA_P_META_init = "potmeter_meta = { __index = {type = 'potmeter', \" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_ELEMENT_INDEX_short, GRID_LUA_FNC_P_ELEMENT_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_LED_INDEX_short, GRID_LUA_FNC_P_LED_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_POTMETER_VALUE_short, GRID_LUA_FNC_P_POTMETER_VALUE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_POTMETER_MIN_short, GRID_LUA_FNC_P_POTMETER_MIN_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_POTMETER_MAX_short, GRID_LUA_FNC_P_POTMETER_MAX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_POTMETER_MODE_short, GRID_LUA_FNC_P_POTMETER_MODE_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_POTMETER_ELAPSED_short, GRID_LUA_FNC_P_POTMETER_ELAPSED_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_P_POTMETER_STATE_short, GRID_LUA_FNC_P_POTMETER_STATE_index) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_INIT_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_TIMER_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_POTMETER_short) \",post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_POTMETER_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"gtt\", GRID_LUA_FNC_G_TIMER_START_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR0(\"gtp\", GRID_LUA_FNC_G_TIMER_STOP_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"get\", GRID_LUA_FNC_G_EVENT_TRIGGER_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",}}";
|
|
789
798
|
var GRID_ACTIONSTRING_POTMETER_INIT = "<?lua --[[@l]] local num,val,red,gre,blu=self:ind(),self:pva(),glr(),glg(),glb()--[[@glc]] glc(num,1,red,gre,blu)--[[@glp]] glp(num,1,val) ?>";
|
|
790
799
|
var GRID_ACTIONSTRING_POTMETER_POTMETER = "<?lua --[[@l]] local num,val,ch,cc=self:ind(),self:pva(),(gmy()*4+gpc())%16,(32+gmx()*16+self:ind())%128--[[@gms]] gms(ch,176,cc,val)--[[@glp]] glp(num,1,val) ?>";
|
|
791
800
|
var GRID_LUA_FNC_L_DRAW_SWAP_short = "ldsw";
|
|
@@ -827,7 +836,7 @@ var GRID_LUA_FNC_L_DRAW_AREA_FILLED_usage = "lcd:draw_area_filled(x1, y1, x2, y2
|
|
|
827
836
|
var GRID_LUA_FNC_L_DRAW_DEMO_short = "ldd";
|
|
828
837
|
var GRID_LUA_FNC_L_DRAW_DEMO_human = "draw_demo";
|
|
829
838
|
var GRID_LUA_FNC_L_DRAW_DEMO_usage = "lcd:draw_demo(n) Draws the n-th iteration of the demo.";
|
|
830
|
-
var GRID_LUA_L_META_init = "lcd_meta = { __index = {\"
|
|
839
|
+
var GRID_LUA_L_META_init = "lcd_meta = { __index = {type = 'lcd', \" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_L_ELEMENT_INDEX_short, GRID_LUA_FNC_L_ELEMENT_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_L_SCREEN_INDEX_short, GRID_LUA_FNC_L_SCREEN_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_L_SCREEN_WIDTH_short, GRID_LUA_FNC_L_SCREEN_WIDTH_index) \",\" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_L_SCREEN_HEIGHT_short, GRID_LUA_FNC_L_SCREEN_HEIGHT_index) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_INIT_short) \",post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"gtt\", GRID_LUA_FNC_G_TIMER_START_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR0(\"gtp\", GRID_LUA_FNC_G_TIMER_STOP_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"get\", GRID_LUA_FNC_G_EVENT_TRIGGER_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_SWAP_short, GRID_LUA_FNC_G_GUI_DRAW_SWAP_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_PIXEL_short, GRID_LUA_FNC_G_GUI_DRAW_PIXEL_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_LINE_short, GRID_LUA_FNC_G_GUI_DRAW_LINE_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_ROUNDED_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_ROUNDED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_ROUNDED_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_ROUNDED_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_POLYGON_short, GRID_LUA_FNC_G_GUI_DRAW_POLYGON_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_POLYGON_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_POLYGON_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_TEXT_short, GRID_LUA_FNC_G_GUI_DRAW_TEXT_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_FASTTEXT_short, GRID_LUA_FNC_G_GUI_DRAW_FASTTEXT_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_AREA_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_AREA_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_DEMO_short, GRID_LUA_FNC_G_GUI_DRAW_DEMO_short) \",}}";
|
|
831
840
|
var GRID_ACTIONSTRING_LCD_INIT = "<?lua --[[@cb]] local x={0,0,38,64,64,65,104,130,130,131,170,183,183,145,119,119,118,79,53,53,52,13}local y={42,38,0,0,39,39,0,0,39,39,0,0,4,42,42,3,3,42,42,3,3,42}self:ldrf(0,0,320,240,{0,0,0})self:ldpof(x,y,{200,200,200})self:ldt('Intech Studio',2,55,34,{160,160,160})self:ldsw() ?>";
|
|
832
841
|
var grid_protocol_bot = {
|
|
833
842
|
GRID_PROTOCOL_VERSION_MAJOR: GRID_PROTOCOL_VERSION_MAJOR,
|
|
@@ -1106,6 +1115,14 @@ var grid_protocol_bot = {
|
|
|
1106
1115
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human,
|
|
1107
1116
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_fnptr: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_fnptr,
|
|
1108
1117
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage,
|
|
1118
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short,
|
|
1119
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human,
|
|
1120
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr,
|
|
1121
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_usage: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_usage,
|
|
1122
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_short: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_short,
|
|
1123
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_human: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_human,
|
|
1124
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_fnptr: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_fnptr,
|
|
1125
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_usage: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_usage,
|
|
1109
1126
|
GRID_LUA_FNC_G_GUI_DRAW_SWAP_short: GRID_LUA_FNC_G_GUI_DRAW_SWAP_short,
|
|
1110
1127
|
GRID_LUA_FNC_G_GUI_DRAW_SWAP_human: GRID_LUA_FNC_G_GUI_DRAW_SWAP_human,
|
|
1111
1128
|
GRID_LUA_FNC_G_GUI_DRAW_SWAP_fnptr: GRID_LUA_FNC_G_GUI_DRAW_SWAP_fnptr,
|
|
@@ -1161,9 +1178,9 @@ var grid_protocol_bot = {
|
|
|
1161
1178
|
GRID_LUA_FNC_B_ELEMENT_INDEX_index: GRID_LUA_FNC_B_ELEMENT_INDEX_index,
|
|
1162
1179
|
GRID_LUA_FNC_B_ELEMENT_INDEX_short: GRID_LUA_FNC_B_ELEMENT_INDEX_short,
|
|
1163
1180
|
GRID_LUA_FNC_B_ELEMENT_INDEX_human: GRID_LUA_FNC_B_ELEMENT_INDEX_human,
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1181
|
+
GRID_LUA_FNC_B_LED_INDEX_index: GRID_LUA_FNC_B_LED_INDEX_index,
|
|
1182
|
+
GRID_LUA_FNC_B_LED_INDEX_short: GRID_LUA_FNC_B_LED_INDEX_short,
|
|
1183
|
+
GRID_LUA_FNC_B_LED_INDEX_human: GRID_LUA_FNC_B_LED_INDEX_human,
|
|
1167
1184
|
GRID_LUA_FNC_B_BUTTON_VALUE_index: GRID_LUA_FNC_B_BUTTON_VALUE_index,
|
|
1168
1185
|
GRID_LUA_FNC_B_BUTTON_VALUE_short: GRID_LUA_FNC_B_BUTTON_VALUE_short,
|
|
1169
1186
|
GRID_LUA_FNC_B_BUTTON_VALUE_human: GRID_LUA_FNC_B_BUTTON_VALUE_human,
|
|
@@ -1188,9 +1205,9 @@ var grid_protocol_bot = {
|
|
|
1188
1205
|
GRID_LUA_FNC_E_ELEMENT_INDEX_index: GRID_LUA_FNC_E_ELEMENT_INDEX_index,
|
|
1189
1206
|
GRID_LUA_FNC_E_ELEMENT_INDEX_short: GRID_LUA_FNC_E_ELEMENT_INDEX_short,
|
|
1190
1207
|
GRID_LUA_FNC_E_ELEMENT_INDEX_human: GRID_LUA_FNC_E_ELEMENT_INDEX_human,
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1208
|
+
GRID_LUA_FNC_E_LED_INDEX_index: GRID_LUA_FNC_E_LED_INDEX_index,
|
|
1209
|
+
GRID_LUA_FNC_E_LED_INDEX_short: GRID_LUA_FNC_E_LED_INDEX_short,
|
|
1210
|
+
GRID_LUA_FNC_E_LED_INDEX_human: GRID_LUA_FNC_E_LED_INDEX_human,
|
|
1194
1211
|
GRID_LUA_FNC_E_BUTTON_VALUE_index: GRID_LUA_FNC_E_BUTTON_VALUE_index,
|
|
1195
1212
|
GRID_LUA_FNC_E_BUTTON_VALUE_short: GRID_LUA_FNC_E_BUTTON_VALUE_short,
|
|
1196
1213
|
GRID_LUA_FNC_E_BUTTON_VALUE_human: GRID_LUA_FNC_E_BUTTON_VALUE_human,
|
|
@@ -1244,9 +1261,9 @@ var grid_protocol_bot = {
|
|
|
1244
1261
|
GRID_LUA_FNC_EP_ELEMENT_INDEX_index: GRID_LUA_FNC_EP_ELEMENT_INDEX_index,
|
|
1245
1262
|
GRID_LUA_FNC_EP_ELEMENT_INDEX_short: GRID_LUA_FNC_EP_ELEMENT_INDEX_short,
|
|
1246
1263
|
GRID_LUA_FNC_EP_ELEMENT_INDEX_human: GRID_LUA_FNC_EP_ELEMENT_INDEX_human,
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1264
|
+
GRID_LUA_FNC_EP_LED_INDEX_index: GRID_LUA_FNC_EP_LED_INDEX_index,
|
|
1265
|
+
GRID_LUA_FNC_EP_LED_INDEX_short: GRID_LUA_FNC_EP_LED_INDEX_short,
|
|
1266
|
+
GRID_LUA_FNC_EP_LED_INDEX_human: GRID_LUA_FNC_EP_LED_INDEX_human,
|
|
1250
1267
|
GRID_LUA_FNC_EP_BUTTON_VALUE_index: GRID_LUA_FNC_EP_BUTTON_VALUE_index,
|
|
1251
1268
|
GRID_LUA_FNC_EP_BUTTON_VALUE_short: GRID_LUA_FNC_EP_BUTTON_VALUE_short,
|
|
1252
1269
|
GRID_LUA_FNC_EP_BUTTON_VALUE_human: GRID_LUA_FNC_EP_BUTTON_VALUE_human,
|
|
@@ -1265,9 +1282,9 @@ var grid_protocol_bot = {
|
|
|
1265
1282
|
GRID_LUA_FNC_EP_BUTTON_STATE_index: GRID_LUA_FNC_EP_BUTTON_STATE_index,
|
|
1266
1283
|
GRID_LUA_FNC_EP_BUTTON_STATE_short: GRID_LUA_FNC_EP_BUTTON_STATE_short,
|
|
1267
1284
|
GRID_LUA_FNC_EP_BUTTON_STATE_human: GRID_LUA_FNC_EP_BUTTON_STATE_human,
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1285
|
+
GRID_LUA_FNC_EP_LED_OFFSET_index: GRID_LUA_FNC_EP_LED_OFFSET_index,
|
|
1286
|
+
GRID_LUA_FNC_EP_LED_OFFSET_short: GRID_LUA_FNC_EP_LED_OFFSET_short,
|
|
1287
|
+
GRID_LUA_FNC_EP_LED_OFFSET_human: GRID_LUA_FNC_EP_LED_OFFSET_human,
|
|
1271
1288
|
GRID_LUA_FNC_EP_ENDLESS_VALUE_index: GRID_LUA_FNC_EP_ENDLESS_VALUE_index,
|
|
1272
1289
|
GRID_LUA_FNC_EP_ENDLESS_VALUE_short: GRID_LUA_FNC_EP_ENDLESS_VALUE_short,
|
|
1273
1290
|
GRID_LUA_FNC_EP_ENDLESS_VALUE_human: GRID_LUA_FNC_EP_ENDLESS_VALUE_human,
|
|
@@ -1315,9 +1332,9 @@ var grid_protocol_bot = {
|
|
|
1315
1332
|
GRID_LUA_FNC_P_ELEMENT_INDEX_index: GRID_LUA_FNC_P_ELEMENT_INDEX_index,
|
|
1316
1333
|
GRID_LUA_FNC_P_ELEMENT_INDEX_short: GRID_LUA_FNC_P_ELEMENT_INDEX_short,
|
|
1317
1334
|
GRID_LUA_FNC_P_ELEMENT_INDEX_human: GRID_LUA_FNC_P_ELEMENT_INDEX_human,
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1335
|
+
GRID_LUA_FNC_P_LED_INDEX_index: GRID_LUA_FNC_P_LED_INDEX_index,
|
|
1336
|
+
GRID_LUA_FNC_P_LED_INDEX_short: GRID_LUA_FNC_P_LED_INDEX_short,
|
|
1337
|
+
GRID_LUA_FNC_P_LED_INDEX_human: GRID_LUA_FNC_P_LED_INDEX_human,
|
|
1321
1338
|
GRID_LUA_FNC_P_POTMETER_VALUE_index: GRID_LUA_FNC_P_POTMETER_VALUE_index,
|
|
1322
1339
|
GRID_LUA_FNC_P_POTMETER_VALUE_short: GRID_LUA_FNC_P_POTMETER_VALUE_short,
|
|
1323
1340
|
GRID_LUA_FNC_P_POTMETER_VALUE_human: GRID_LUA_FNC_P_POTMETER_VALUE_human,
|
|
@@ -1599,6 +1616,7 @@ var grid_protocol_bot = {
|
|
|
1599
1616
|
GRID_LUA_FNC_G_SEGCALC_short: GRID_LUA_FNC_G_SEGCALC_short,
|
|
1600
1617
|
GRID_LUA_FNC_G_SEGCALC_human: GRID_LUA_FNC_G_SEGCALC_human,
|
|
1601
1618
|
GRID_LUA_FNC_G_TOML_source: GRID_LUA_FNC_G_TOML_source,
|
|
1619
|
+
GRID_LUA_FNC_G_SIMPLECOLOR_source: GRID_LUA_FNC_G_SIMPLECOLOR_source,
|
|
1602
1620
|
GRID_LUA_SYS_META_init: GRID_LUA_SYS_META_init,
|
|
1603
1621
|
GRID_ACTIONSTRING_SYSTEM_INIT: GRID_ACTIONSTRING_SYSTEM_INIT,
|
|
1604
1622
|
GRID_ACTIONSTRING_SYSTEM_MAPMODE: GRID_ACTIONSTRING_SYSTEM_MAPMODE,
|
|
@@ -1976,9 +1994,6 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
1976
1994
|
GRID_LUA_FNC_B_BUTTON_MODE_human: GRID_LUA_FNC_B_BUTTON_MODE_human,
|
|
1977
1995
|
GRID_LUA_FNC_B_BUTTON_MODE_index: GRID_LUA_FNC_B_BUTTON_MODE_index,
|
|
1978
1996
|
GRID_LUA_FNC_B_BUTTON_MODE_short: GRID_LUA_FNC_B_BUTTON_MODE_short,
|
|
1979
|
-
GRID_LUA_FNC_B_BUTTON_NUMBER_human: GRID_LUA_FNC_B_BUTTON_NUMBER_human,
|
|
1980
|
-
GRID_LUA_FNC_B_BUTTON_NUMBER_index: GRID_LUA_FNC_B_BUTTON_NUMBER_index,
|
|
1981
|
-
GRID_LUA_FNC_B_BUTTON_NUMBER_short: GRID_LUA_FNC_B_BUTTON_NUMBER_short,
|
|
1982
1997
|
GRID_LUA_FNC_B_BUTTON_STATE_human: GRID_LUA_FNC_B_BUTTON_STATE_human,
|
|
1983
1998
|
GRID_LUA_FNC_B_BUTTON_STATE_index: GRID_LUA_FNC_B_BUTTON_STATE_index,
|
|
1984
1999
|
GRID_LUA_FNC_B_BUTTON_STATE_short: GRID_LUA_FNC_B_BUTTON_STATE_short,
|
|
@@ -1990,6 +2005,9 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
1990
2005
|
GRID_LUA_FNC_B_ELEMENT_INDEX_human: GRID_LUA_FNC_B_ELEMENT_INDEX_human,
|
|
1991
2006
|
GRID_LUA_FNC_B_ELEMENT_INDEX_index: GRID_LUA_FNC_B_ELEMENT_INDEX_index,
|
|
1992
2007
|
GRID_LUA_FNC_B_ELEMENT_INDEX_short: GRID_LUA_FNC_B_ELEMENT_INDEX_short,
|
|
2008
|
+
GRID_LUA_FNC_B_LED_INDEX_human: GRID_LUA_FNC_B_LED_INDEX_human,
|
|
2009
|
+
GRID_LUA_FNC_B_LED_INDEX_index: GRID_LUA_FNC_B_LED_INDEX_index,
|
|
2010
|
+
GRID_LUA_FNC_B_LED_INDEX_short: GRID_LUA_FNC_B_LED_INDEX_short,
|
|
1993
2011
|
GRID_LUA_FNC_B_LIST_length: GRID_LUA_FNC_B_LIST_length,
|
|
1994
2012
|
GRID_LUA_FNC_EP_BUTTON_ELAPSED_human: GRID_LUA_FNC_EP_BUTTON_ELAPSED_human,
|
|
1995
2013
|
GRID_LUA_FNC_EP_BUTTON_ELAPSED_index: GRID_LUA_FNC_EP_BUTTON_ELAPSED_index,
|
|
@@ -2003,9 +2021,6 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2003
2021
|
GRID_LUA_FNC_EP_BUTTON_MODE_human: GRID_LUA_FNC_EP_BUTTON_MODE_human,
|
|
2004
2022
|
GRID_LUA_FNC_EP_BUTTON_MODE_index: GRID_LUA_FNC_EP_BUTTON_MODE_index,
|
|
2005
2023
|
GRID_LUA_FNC_EP_BUTTON_MODE_short: GRID_LUA_FNC_EP_BUTTON_MODE_short,
|
|
2006
|
-
GRID_LUA_FNC_EP_BUTTON_NUMBER_human: GRID_LUA_FNC_EP_BUTTON_NUMBER_human,
|
|
2007
|
-
GRID_LUA_FNC_EP_BUTTON_NUMBER_index: GRID_LUA_FNC_EP_BUTTON_NUMBER_index,
|
|
2008
|
-
GRID_LUA_FNC_EP_BUTTON_NUMBER_short: GRID_LUA_FNC_EP_BUTTON_NUMBER_short,
|
|
2009
2024
|
GRID_LUA_FNC_EP_BUTTON_STATE_human: GRID_LUA_FNC_EP_BUTTON_STATE_human,
|
|
2010
2025
|
GRID_LUA_FNC_EP_BUTTON_STATE_index: GRID_LUA_FNC_EP_BUTTON_STATE_index,
|
|
2011
2026
|
GRID_LUA_FNC_EP_BUTTON_STATE_short: GRID_LUA_FNC_EP_BUTTON_STATE_short,
|
|
@@ -2030,9 +2045,6 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2030
2045
|
GRID_LUA_FNC_EP_ENDLESS_MODE_human: GRID_LUA_FNC_EP_ENDLESS_MODE_human,
|
|
2031
2046
|
GRID_LUA_FNC_EP_ENDLESS_MODE_index: GRID_LUA_FNC_EP_ENDLESS_MODE_index,
|
|
2032
2047
|
GRID_LUA_FNC_EP_ENDLESS_MODE_short: GRID_LUA_FNC_EP_ENDLESS_MODE_short,
|
|
2033
|
-
GRID_LUA_FNC_EP_ENDLESS_NUMBER_human: GRID_LUA_FNC_EP_ENDLESS_NUMBER_human,
|
|
2034
|
-
GRID_LUA_FNC_EP_ENDLESS_NUMBER_index: GRID_LUA_FNC_EP_ENDLESS_NUMBER_index,
|
|
2035
|
-
GRID_LUA_FNC_EP_ENDLESS_NUMBER_short: GRID_LUA_FNC_EP_ENDLESS_NUMBER_short,
|
|
2036
2048
|
GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_human: GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_human,
|
|
2037
2049
|
GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_index: GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_index,
|
|
2038
2050
|
GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_short: GRID_LUA_FNC_EP_ENDLESS_SENSITIVITY_short,
|
|
@@ -2045,6 +2057,12 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2045
2057
|
GRID_LUA_FNC_EP_ENDLESS_VELOCITY_human: GRID_LUA_FNC_EP_ENDLESS_VELOCITY_human,
|
|
2046
2058
|
GRID_LUA_FNC_EP_ENDLESS_VELOCITY_index: GRID_LUA_FNC_EP_ENDLESS_VELOCITY_index,
|
|
2047
2059
|
GRID_LUA_FNC_EP_ENDLESS_VELOCITY_short: GRID_LUA_FNC_EP_ENDLESS_VELOCITY_short,
|
|
2060
|
+
GRID_LUA_FNC_EP_LED_INDEX_human: GRID_LUA_FNC_EP_LED_INDEX_human,
|
|
2061
|
+
GRID_LUA_FNC_EP_LED_INDEX_index: GRID_LUA_FNC_EP_LED_INDEX_index,
|
|
2062
|
+
GRID_LUA_FNC_EP_LED_INDEX_short: GRID_LUA_FNC_EP_LED_INDEX_short,
|
|
2063
|
+
GRID_LUA_FNC_EP_LED_OFFSET_human: GRID_LUA_FNC_EP_LED_OFFSET_human,
|
|
2064
|
+
GRID_LUA_FNC_EP_LED_OFFSET_index: GRID_LUA_FNC_EP_LED_OFFSET_index,
|
|
2065
|
+
GRID_LUA_FNC_EP_LED_OFFSET_short: GRID_LUA_FNC_EP_LED_OFFSET_short,
|
|
2048
2066
|
GRID_LUA_FNC_EP_LIST_length: GRID_LUA_FNC_EP_LIST_length,
|
|
2049
2067
|
GRID_LUA_FNC_E_BUTTON_ELAPSED_human: GRID_LUA_FNC_E_BUTTON_ELAPSED_human,
|
|
2050
2068
|
GRID_LUA_FNC_E_BUTTON_ELAPSED_index: GRID_LUA_FNC_E_BUTTON_ELAPSED_index,
|
|
@@ -2058,9 +2076,6 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2058
2076
|
GRID_LUA_FNC_E_BUTTON_MODE_human: GRID_LUA_FNC_E_BUTTON_MODE_human,
|
|
2059
2077
|
GRID_LUA_FNC_E_BUTTON_MODE_index: GRID_LUA_FNC_E_BUTTON_MODE_index,
|
|
2060
2078
|
GRID_LUA_FNC_E_BUTTON_MODE_short: GRID_LUA_FNC_E_BUTTON_MODE_short,
|
|
2061
|
-
GRID_LUA_FNC_E_BUTTON_NUMBER_human: GRID_LUA_FNC_E_BUTTON_NUMBER_human,
|
|
2062
|
-
GRID_LUA_FNC_E_BUTTON_NUMBER_index: GRID_LUA_FNC_E_BUTTON_NUMBER_index,
|
|
2063
|
-
GRID_LUA_FNC_E_BUTTON_NUMBER_short: GRID_LUA_FNC_E_BUTTON_NUMBER_short,
|
|
2064
2079
|
GRID_LUA_FNC_E_BUTTON_STATE_human: GRID_LUA_FNC_E_BUTTON_STATE_human,
|
|
2065
2080
|
GRID_LUA_FNC_E_BUTTON_STATE_index: GRID_LUA_FNC_E_BUTTON_STATE_index,
|
|
2066
2081
|
GRID_LUA_FNC_E_BUTTON_STATE_short: GRID_LUA_FNC_E_BUTTON_STATE_short,
|
|
@@ -2101,7 +2116,18 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2101
2116
|
GRID_LUA_FNC_E_ENCODER_VELOCITY_short: GRID_LUA_FNC_E_ENCODER_VELOCITY_short,
|
|
2102
2117
|
GRID_LUA_FNC_E_LED_COLOR_human: GRID_LUA_FNC_E_LED_COLOR_human,
|
|
2103
2118
|
GRID_LUA_FNC_E_LED_COLOR_short: GRID_LUA_FNC_E_LED_COLOR_short,
|
|
2119
|
+
GRID_LUA_FNC_E_LED_INDEX_human: GRID_LUA_FNC_E_LED_INDEX_human,
|
|
2120
|
+
GRID_LUA_FNC_E_LED_INDEX_index: GRID_LUA_FNC_E_LED_INDEX_index,
|
|
2121
|
+
GRID_LUA_FNC_E_LED_INDEX_short: GRID_LUA_FNC_E_LED_INDEX_short,
|
|
2104
2122
|
GRID_LUA_FNC_E_LIST_length: GRID_LUA_FNC_E_LIST_length,
|
|
2123
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr,
|
|
2124
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human,
|
|
2125
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short,
|
|
2126
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_usage: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_usage,
|
|
2127
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_fnptr: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_fnptr,
|
|
2128
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_human: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_human,
|
|
2129
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_short: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_short,
|
|
2130
|
+
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_usage: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_usage,
|
|
2105
2131
|
GRID_LUA_FNC_G_ELEMENTNAME_SEND_fnptr: GRID_LUA_FNC_G_ELEMENTNAME_SEND_fnptr,
|
|
2106
2132
|
GRID_LUA_FNC_G_ELEMENTNAME_SEND_human: GRID_LUA_FNC_G_ELEMENTNAME_SEND_human,
|
|
2107
2133
|
GRID_LUA_FNC_G_ELEMENTNAME_SEND_short: GRID_LUA_FNC_G_ELEMENTNAME_SEND_short,
|
|
@@ -2294,6 +2320,7 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2294
2320
|
GRID_LUA_FNC_G_SIGN_human: GRID_LUA_FNC_G_SIGN_human,
|
|
2295
2321
|
GRID_LUA_FNC_G_SIGN_short: GRID_LUA_FNC_G_SIGN_short,
|
|
2296
2322
|
GRID_LUA_FNC_G_SIGN_source: GRID_LUA_FNC_G_SIGN_source,
|
|
2323
|
+
GRID_LUA_FNC_G_SIMPLECOLOR_source: GRID_LUA_FNC_G_SIMPLECOLOR_source,
|
|
2297
2324
|
GRID_LUA_FNC_G_STRING_GET_fnptr: GRID_LUA_FNC_G_STRING_GET_fnptr,
|
|
2298
2325
|
GRID_LUA_FNC_G_STRING_GET_human: GRID_LUA_FNC_G_STRING_GET_human,
|
|
2299
2326
|
GRID_LUA_FNC_G_STRING_GET_short: GRID_LUA_FNC_G_STRING_GET_short,
|
|
@@ -2377,6 +2404,9 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2377
2404
|
GRID_LUA_FNC_P_ELEMENT_INDEX_human: GRID_LUA_FNC_P_ELEMENT_INDEX_human,
|
|
2378
2405
|
GRID_LUA_FNC_P_ELEMENT_INDEX_index: GRID_LUA_FNC_P_ELEMENT_INDEX_index,
|
|
2379
2406
|
GRID_LUA_FNC_P_ELEMENT_INDEX_short: GRID_LUA_FNC_P_ELEMENT_INDEX_short,
|
|
2407
|
+
GRID_LUA_FNC_P_LED_INDEX_human: GRID_LUA_FNC_P_LED_INDEX_human,
|
|
2408
|
+
GRID_LUA_FNC_P_LED_INDEX_index: GRID_LUA_FNC_P_LED_INDEX_index,
|
|
2409
|
+
GRID_LUA_FNC_P_LED_INDEX_short: GRID_LUA_FNC_P_LED_INDEX_short,
|
|
2380
2410
|
GRID_LUA_FNC_P_LIST_length: GRID_LUA_FNC_P_LIST_length,
|
|
2381
2411
|
GRID_LUA_FNC_P_POTMETER_ELAPSED_human: GRID_LUA_FNC_P_POTMETER_ELAPSED_human,
|
|
2382
2412
|
GRID_LUA_FNC_P_POTMETER_ELAPSED_index: GRID_LUA_FNC_P_POTMETER_ELAPSED_index,
|
|
@@ -2390,9 +2420,6 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2390
2420
|
GRID_LUA_FNC_P_POTMETER_MODE_human: GRID_LUA_FNC_P_POTMETER_MODE_human,
|
|
2391
2421
|
GRID_LUA_FNC_P_POTMETER_MODE_index: GRID_LUA_FNC_P_POTMETER_MODE_index,
|
|
2392
2422
|
GRID_LUA_FNC_P_POTMETER_MODE_short: GRID_LUA_FNC_P_POTMETER_MODE_short,
|
|
2393
|
-
GRID_LUA_FNC_P_POTMETER_NUMBER_human: GRID_LUA_FNC_P_POTMETER_NUMBER_human,
|
|
2394
|
-
GRID_LUA_FNC_P_POTMETER_NUMBER_index: GRID_LUA_FNC_P_POTMETER_NUMBER_index,
|
|
2395
|
-
GRID_LUA_FNC_P_POTMETER_NUMBER_short: GRID_LUA_FNC_P_POTMETER_NUMBER_short,
|
|
2396
2423
|
GRID_LUA_FNC_P_POTMETER_STATE_human: GRID_LUA_FNC_P_POTMETER_STATE_human,
|
|
2397
2424
|
GRID_LUA_FNC_P_POTMETER_STATE_index: GRID_LUA_FNC_P_POTMETER_STATE_index,
|
|
2398
2425
|
GRID_LUA_FNC_P_POTMETER_STATE_short: GRID_LUA_FNC_P_POTMETER_STATE_short,
|
|
@@ -6804,7 +6831,7 @@ lodash$1.exports;
|
|
|
6804
6831
|
return symbolToString ? symbolToString.call(value) : '';
|
|
6805
6832
|
}
|
|
6806
6833
|
var result = (value + '');
|
|
6807
|
-
return (result == '0' && (1 / value) == -
|
|
6834
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
6808
6835
|
}
|
|
6809
6836
|
|
|
6810
6837
|
/**
|
|
@@ -9327,7 +9354,7 @@ lodash$1.exports;
|
|
|
9327
9354
|
return value;
|
|
9328
9355
|
}
|
|
9329
9356
|
var result = (value + '');
|
|
9330
|
-
return (result == '0' && (1 / value) == -
|
|
9357
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
9331
9358
|
}
|
|
9332
9359
|
|
|
9333
9360
|
/**
|
|
@@ -14669,7 +14696,7 @@ lodash$1.exports;
|
|
|
14669
14696
|
* // => false
|
|
14670
14697
|
*/
|
|
14671
14698
|
function isSafeInteger(value) {
|
|
14672
|
-
return isInteger(value) && value >= -
|
|
14699
|
+
return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
|
|
14673
14700
|
}
|
|
14674
14701
|
|
|
14675
14702
|
/**
|
|
@@ -14936,7 +14963,7 @@ lodash$1.exports;
|
|
|
14936
14963
|
return value === 0 ? value : 0;
|
|
14937
14964
|
}
|
|
14938
14965
|
value = toNumber(value);
|
|
14939
|
-
if (value === INFINITY || value === -
|
|
14966
|
+
if (value === INFINITY || value === -INFINITY) {
|
|
14940
14967
|
var sign = (value < 0 ? -1 : 1);
|
|
14941
14968
|
return sign * MAX_INTEGER;
|
|
14942
14969
|
}
|
|
@@ -15105,7 +15132,7 @@ lodash$1.exports;
|
|
|
15105
15132
|
*/
|
|
15106
15133
|
function toSafeInteger(value) {
|
|
15107
15134
|
return value
|
|
15108
|
-
? baseClamp(toInteger(value), -
|
|
15135
|
+
? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)
|
|
15109
15136
|
: (value === 0 ? value : 0);
|
|
15110
15137
|
}
|
|
15111
15138
|
|
|
@@ -28194,46 +28221,55 @@ var cmp_1 = cmp;
|
|
|
28194
28221
|
|
|
28195
28222
|
const { safeRe: re, t } = reExports;
|
|
28196
28223
|
|
|
28197
|
-
|
|
28198
|
-
|
|
28199
|
-
this.max = 1000;
|
|
28200
|
-
this.map = new Map();
|
|
28201
|
-
}
|
|
28224
|
+
var lrucache;
|
|
28225
|
+
var hasRequiredLrucache;
|
|
28202
28226
|
|
|
28203
|
-
|
|
28204
|
-
|
|
28205
|
-
|
|
28206
|
-
return undefined
|
|
28207
|
-
} else {
|
|
28208
|
-
// Remove the key from the map and add it to the end
|
|
28209
|
-
this.map.delete(key);
|
|
28210
|
-
this.map.set(key, value);
|
|
28211
|
-
return value
|
|
28212
|
-
}
|
|
28213
|
-
}
|
|
28227
|
+
function requireLrucache () {
|
|
28228
|
+
if (hasRequiredLrucache) return lrucache;
|
|
28229
|
+
hasRequiredLrucache = 1;
|
|
28214
28230
|
|
|
28215
|
-
|
|
28216
|
-
|
|
28217
|
-
|
|
28231
|
+
class LRUCache {
|
|
28232
|
+
constructor () {
|
|
28233
|
+
this.max = 1000;
|
|
28234
|
+
this.map = new Map();
|
|
28235
|
+
}
|
|
28218
28236
|
|
|
28219
|
-
|
|
28220
|
-
|
|
28237
|
+
get (key) {
|
|
28238
|
+
const value = this.map.get(key);
|
|
28239
|
+
if (value === undefined) {
|
|
28240
|
+
return undefined
|
|
28241
|
+
} else {
|
|
28242
|
+
// Remove the key from the map and add it to the end
|
|
28243
|
+
this.map.delete(key);
|
|
28244
|
+
this.map.set(key, value);
|
|
28245
|
+
return value
|
|
28246
|
+
}
|
|
28247
|
+
}
|
|
28221
28248
|
|
|
28222
|
-
|
|
28223
|
-
|
|
28224
|
-
|
|
28225
|
-
const firstKey = this.map.keys().next().value;
|
|
28226
|
-
this.delete(firstKey);
|
|
28227
|
-
}
|
|
28249
|
+
delete (key) {
|
|
28250
|
+
return this.map.delete(key)
|
|
28251
|
+
}
|
|
28228
28252
|
|
|
28229
|
-
|
|
28230
|
-
|
|
28253
|
+
set (key, value) {
|
|
28254
|
+
const deleted = this.delete(key);
|
|
28231
28255
|
|
|
28232
|
-
|
|
28233
|
-
|
|
28234
|
-
|
|
28256
|
+
if (!deleted && value !== undefined) {
|
|
28257
|
+
// If cache is full, delete the least recently used item
|
|
28258
|
+
if (this.map.size >= this.max) {
|
|
28259
|
+
const firstKey = this.map.keys().next().value;
|
|
28260
|
+
this.delete(firstKey);
|
|
28261
|
+
}
|
|
28235
28262
|
|
|
28236
|
-
|
|
28263
|
+
this.map.set(key, value);
|
|
28264
|
+
}
|
|
28265
|
+
|
|
28266
|
+
return this
|
|
28267
|
+
}
|
|
28268
|
+
}
|
|
28269
|
+
|
|
28270
|
+
lrucache = LRUCache;
|
|
28271
|
+
return lrucache;
|
|
28272
|
+
}
|
|
28237
28273
|
|
|
28238
28274
|
var range;
|
|
28239
28275
|
var hasRequiredRange;
|
|
@@ -28456,7 +28492,7 @@ function requireRange () {
|
|
|
28456
28492
|
|
|
28457
28493
|
range = Range;
|
|
28458
28494
|
|
|
28459
|
-
const LRU =
|
|
28495
|
+
const LRU = requireLrucache();
|
|
28460
28496
|
const cache = new LRU();
|
|
28461
28497
|
|
|
28462
28498
|
const parseOptions = parseOptions_1;
|