dirk-cfx-react 1.1.93 → 1.1.95

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.
Files changed (63) hide show
  1. package/dist/chunk-3T2CCW5E.cjs +150 -0
  2. package/dist/chunk-3T2CCW5E.cjs.map +1 -0
  3. package/dist/chunk-4DE2IREA.cjs +9 -0
  4. package/dist/chunk-4DE2IREA.cjs.map +1 -0
  5. package/dist/chunk-E2SFEBBB.cjs +449 -0
  6. package/dist/chunk-E2SFEBBB.cjs.map +1 -0
  7. package/dist/chunk-GKSP5RIA.js +3 -0
  8. package/dist/chunk-GKSP5RIA.js.map +1 -0
  9. package/dist/chunk-HAB6H274.js +6646 -0
  10. package/dist/chunk-HAB6H274.js.map +1 -0
  11. package/dist/chunk-K3GDU6EY.cjs +6717 -0
  12. package/dist/chunk-K3GDU6EY.cjs.map +1 -0
  13. package/dist/chunk-KGLO3ZAS.js +431 -0
  14. package/dist/chunk-KGLO3ZAS.js.map +1 -0
  15. package/dist/chunk-LRGCBNZ7.cjs +4 -0
  16. package/dist/chunk-LRGCBNZ7.cjs.map +1 -0
  17. package/dist/chunk-MYNNCLMA.js +1375 -0
  18. package/dist/chunk-MYNNCLMA.js.map +1 -0
  19. package/dist/chunk-NVMOGS7Y.js +437 -0
  20. package/dist/chunk-NVMOGS7Y.js.map +1 -0
  21. package/dist/chunk-QOQQ3ERZ.cjs +445 -0
  22. package/dist/chunk-QOQQ3ERZ.cjs.map +1 -0
  23. package/dist/chunk-V6TY7KAL.js +7 -0
  24. package/dist/chunk-V6TY7KAL.js.map +1 -0
  25. package/dist/chunk-VKYONY7E.cjs +112 -0
  26. package/dist/chunk-VKYONY7E.cjs.map +1 -0
  27. package/dist/chunk-YA2PXBP6.cjs +1430 -0
  28. package/dist/chunk-YA2PXBP6.cjs.map +1 -0
  29. package/dist/chunk-Z7N5AQJW.js +146 -0
  30. package/dist/chunk-Z7N5AQJW.js.map +1 -0
  31. package/dist/chunk-ZPFW7C2A.js +108 -0
  32. package/dist/chunk-ZPFW7C2A.js.map +1 -0
  33. package/dist/components/index.cjs +282 -7760
  34. package/dist/components/index.cjs.map +1 -1
  35. package/dist/components/index.d.cts +39 -1
  36. package/dist/components/index.d.ts +39 -1
  37. package/dist/components/index.js +6 -7699
  38. package/dist/components/index.js.map +1 -1
  39. package/dist/hooks/index.cjs +75 -749
  40. package/dist/hooks/index.cjs.map +1 -1
  41. package/dist/hooks/index.js +5 -732
  42. package/dist/hooks/index.js.map +1 -1
  43. package/dist/index.cjs +572 -9091
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.cts +2 -2
  46. package/dist/index.d.ts +2 -2
  47. package/dist/index.js +9 -8953
  48. package/dist/index.js.map +1 -1
  49. package/dist/modelNames-QIAIYORH.cjs +53910 -0
  50. package/dist/modelNames-QIAIYORH.cjs.map +1 -0
  51. package/dist/modelNames-WAUYJLL3.js +53908 -0
  52. package/dist/modelNames-WAUYJLL3.js.map +1 -0
  53. package/dist/providers/index.cjs +11 -590
  54. package/dist/providers/index.cjs.map +1 -1
  55. package/dist/providers/index.js +5 -590
  56. package/dist/providers/index.js.map +1 -1
  57. package/dist/utils/index.cjs +186 -1361
  58. package/dist/utils/index.cjs.map +1 -1
  59. package/dist/utils/index.d.cts +41 -1
  60. package/dist/utils/index.d.ts +41 -1
  61. package/dist/utils/index.js +2 -1324
  62. package/dist/utils/index.js.map +1 -1
  63. package/package.json +1 -1
@@ -850,6 +850,13 @@ type SelectItemProps = {
850
850
  onChange: (value: string) => void;
851
851
  style?: React.CSSProperties;
852
852
  excludeItemNames?: string[];
853
+ /**
854
+ * Allow committing a typed value that isn't a registered item — for naming a
855
+ * brand-new/uninstalled item (e.g. seeding a new fish/equipment). The typed
856
+ * value is offered as a "Use …" option and, once selected, shows in the usual
857
+ * amber "not in inventory" state.
858
+ */
859
+ allowCustom?: boolean;
853
860
  };
854
861
  declare function SelectItem(props: SelectItemProps): react_jsx_runtime.JSX.Element;
855
862
 
@@ -1308,6 +1315,37 @@ type BlipMarkerProps = {
1308
1315
  };
1309
1316
  declare function BlipMarker({ position, sprite, color, scale, onClick, selected, disabled, fallbackSprite, fallbackColor, }: BlipMarkerProps): react_jsx_runtime.JSX.Element;
1310
1317
 
1318
+ type ModelSelectProps = {
1319
+ value?: string;
1320
+ onChange: (model: string) => void;
1321
+ label?: React__default.ReactNode;
1322
+ placeholder?: string;
1323
+ size?: string;
1324
+ disabled?: boolean;
1325
+ style?: React__default.CSSProperties;
1326
+ /** Max suggestions rendered in the dropdown at once (default 100). */
1327
+ limit?: number;
1328
+ };
1329
+ declare function ModelSelect({ value, onChange, label, placeholder, size, disabled, style, limit, }: ModelSelectProps): react_jsx_runtime.JSX.Element;
1330
+
1331
+ declare function VehicleSelect({ value, onChange, label, size, disabled, style, limit, }: {
1332
+ value?: string;
1333
+ onChange: (model: string) => void;
1334
+ label?: React__default.ReactNode;
1335
+ size?: string;
1336
+ disabled?: boolean;
1337
+ style?: React__default.CSSProperties;
1338
+ limit?: number;
1339
+ }): react_jsx_runtime.JSX.Element;
1340
+ declare function CategorySelect({ value, onChange, label, size, disabled, style, }: {
1341
+ value: string[];
1342
+ onChange: (categories: string[]) => void;
1343
+ label?: React__default.ReactNode;
1344
+ size?: string;
1345
+ disabled?: boolean;
1346
+ style?: React__default.CSSProperties;
1347
+ }): react_jsx_runtime.JSX.Element;
1348
+
1311
1349
  type ActiveTool<Result = unknown> = {
1312
1350
  /** Tool id matching the SendNUIMessage event names from Lua. */
1313
1351
  id: string;
@@ -1338,4 +1376,4 @@ type AdminToolStore = {
1338
1376
  };
1339
1377
  declare const useAdminToolStore: zustand.UseBoundStore<zustand.StoreApi<AdminToolStore>>;
1340
1378
 
1341
- export { AccessOverrideSection, type AccessOverrideSectionProps, type AccessOverrideValue, AccountSelect, type AccountSelectProps, type ActiveTool, AdminPageTitle, type AdminPageTitleProps, AnimPostFxSelect, type AnimPostFxSelectProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BlipMarker, type BlipMarkerProps, BorderedIcon, type BorderedIconProps, type ButtonProps, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type DiscordRole, DiscordRoleSelect, type DiscordRoleSelectProps, DoorPickerButton, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, type FrameworkAccount, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, type InstructionKey, InstructionPanel, type InstructionPanelProps, LevelBanner, LevelPanel, Map, MapLayer, type MapProps, type MapStyle, MissingItemsBanner, Modal, ModalContext, type ModalProps, ModalProvider, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, type PickedDoor, type PickedDoorGroup, PlayerSelect, type PlayerSelectProps, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, ScenarioSelect, type ScenarioSelectProps, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, SwitchPanel, type SwitchPanelProps, TestBed, type TestBedItem, type TestBedPlacement, type TestBedProps, ThemeOverrideSection, type ThemeOverrideSectionProps, Title, type TitleProps, type TitleSize, Vector4DeleteButton, Vector4Display, type Vector4Value, WorldPositionGotoButton, WorldPositionPicker, type WorldPositionPickerSlot, WorldPositionSetButton, ZoomControls, blipUrl, blipUrlForSprite, getBlipColor, getBlipEntry, useAdminToolStore, useMissingItemsAudit, useModal, useModalActions, useNavigation, useNavigationStore, usePickDoor };
1379
+ export { AccessOverrideSection, type AccessOverrideSectionProps, type AccessOverrideValue, AccountSelect, type AccountSelectProps, type ActiveTool, AdminPageTitle, type AdminPageTitleProps, AnimPostFxSelect, type AnimPostFxSelectProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BlipMarker, type BlipMarkerProps, BorderedIcon, type BorderedIconProps, type ButtonProps, CategorySelect, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type DiscordRole, DiscordRoleSelect, type DiscordRoleSelectProps, DoorPickerButton, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, type FrameworkAccount, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, type InstructionKey, InstructionPanel, type InstructionPanelProps, LevelBanner, LevelPanel, Map, MapLayer, type MapProps, type MapStyle, MissingItemsBanner, Modal, ModalContext, type ModalProps, ModalProvider, ModelSelect, type ModelSelectProps, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, type PickedDoor, type PickedDoorGroup, PlayerSelect, type PlayerSelectProps, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, ScenarioSelect, type ScenarioSelectProps, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, SwitchPanel, type SwitchPanelProps, TestBed, type TestBedItem, type TestBedPlacement, type TestBedProps, ThemeOverrideSection, type ThemeOverrideSectionProps, Title, type TitleProps, type TitleSize, Vector4DeleteButton, Vector4Display, type Vector4Value, VehicleSelect, WorldPositionGotoButton, WorldPositionPicker, type WorldPositionPickerSlot, WorldPositionSetButton, ZoomControls, blipUrl, blipUrlForSprite, getBlipColor, getBlipEntry, useAdminToolStore, useMissingItemsAudit, useModal, useModalActions, useNavigation, useNavigationStore, usePickDoor };
@@ -850,6 +850,13 @@ type SelectItemProps = {
850
850
  onChange: (value: string) => void;
851
851
  style?: React.CSSProperties;
852
852
  excludeItemNames?: string[];
853
+ /**
854
+ * Allow committing a typed value that isn't a registered item — for naming a
855
+ * brand-new/uninstalled item (e.g. seeding a new fish/equipment). The typed
856
+ * value is offered as a "Use …" option and, once selected, shows in the usual
857
+ * amber "not in inventory" state.
858
+ */
859
+ allowCustom?: boolean;
853
860
  };
854
861
  declare function SelectItem(props: SelectItemProps): react_jsx_runtime.JSX.Element;
855
862
 
@@ -1308,6 +1315,37 @@ type BlipMarkerProps = {
1308
1315
  };
1309
1316
  declare function BlipMarker({ position, sprite, color, scale, onClick, selected, disabled, fallbackSprite, fallbackColor, }: BlipMarkerProps): react_jsx_runtime.JSX.Element;
1310
1317
 
1318
+ type ModelSelectProps = {
1319
+ value?: string;
1320
+ onChange: (model: string) => void;
1321
+ label?: React__default.ReactNode;
1322
+ placeholder?: string;
1323
+ size?: string;
1324
+ disabled?: boolean;
1325
+ style?: React__default.CSSProperties;
1326
+ /** Max suggestions rendered in the dropdown at once (default 100). */
1327
+ limit?: number;
1328
+ };
1329
+ declare function ModelSelect({ value, onChange, label, placeholder, size, disabled, style, limit, }: ModelSelectProps): react_jsx_runtime.JSX.Element;
1330
+
1331
+ declare function VehicleSelect({ value, onChange, label, size, disabled, style, limit, }: {
1332
+ value?: string;
1333
+ onChange: (model: string) => void;
1334
+ label?: React__default.ReactNode;
1335
+ size?: string;
1336
+ disabled?: boolean;
1337
+ style?: React__default.CSSProperties;
1338
+ limit?: number;
1339
+ }): react_jsx_runtime.JSX.Element;
1340
+ declare function CategorySelect({ value, onChange, label, size, disabled, style, }: {
1341
+ value: string[];
1342
+ onChange: (categories: string[]) => void;
1343
+ label?: React__default.ReactNode;
1344
+ size?: string;
1345
+ disabled?: boolean;
1346
+ style?: React__default.CSSProperties;
1347
+ }): react_jsx_runtime.JSX.Element;
1348
+
1311
1349
  type ActiveTool<Result = unknown> = {
1312
1350
  /** Tool id matching the SendNUIMessage event names from Lua. */
1313
1351
  id: string;
@@ -1338,4 +1376,4 @@ type AdminToolStore = {
1338
1376
  };
1339
1377
  declare const useAdminToolStore: zustand.UseBoundStore<zustand.StoreApi<AdminToolStore>>;
1340
1378
 
1341
- export { AccessOverrideSection, type AccessOverrideSectionProps, type AccessOverrideValue, AccountSelect, type AccountSelectProps, type ActiveTool, AdminPageTitle, type AdminPageTitleProps, AnimPostFxSelect, type AnimPostFxSelectProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BlipMarker, type BlipMarkerProps, BorderedIcon, type BorderedIconProps, type ButtonProps, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type DiscordRole, DiscordRoleSelect, type DiscordRoleSelectProps, DoorPickerButton, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, type FrameworkAccount, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, type InstructionKey, InstructionPanel, type InstructionPanelProps, LevelBanner, LevelPanel, Map, MapLayer, type MapProps, type MapStyle, MissingItemsBanner, Modal, ModalContext, type ModalProps, ModalProvider, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, type PickedDoor, type PickedDoorGroup, PlayerSelect, type PlayerSelectProps, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, ScenarioSelect, type ScenarioSelectProps, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, SwitchPanel, type SwitchPanelProps, TestBed, type TestBedItem, type TestBedPlacement, type TestBedProps, ThemeOverrideSection, type ThemeOverrideSectionProps, Title, type TitleProps, type TitleSize, Vector4DeleteButton, Vector4Display, type Vector4Value, WorldPositionGotoButton, WorldPositionPicker, type WorldPositionPickerSlot, WorldPositionSetButton, ZoomControls, blipUrl, blipUrlForSprite, getBlipColor, getBlipEntry, useAdminToolStore, useMissingItemsAudit, useModal, useModalActions, useNavigation, useNavigationStore, usePickDoor };
1379
+ export { AccessOverrideSection, type AccessOverrideSectionProps, type AccessOverrideValue, AccountSelect, type AccountSelectProps, type ActiveTool, AdminPageTitle, type AdminPageTitleProps, AnimPostFxSelect, type AnimPostFxSelectProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BlipMarker, type BlipMarkerProps, BorderedIcon, type BorderedIconProps, type ButtonProps, CategorySelect, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type DiscordRole, DiscordRoleSelect, type DiscordRoleSelectProps, DoorPickerButton, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, type FrameworkAccount, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, type InstructionKey, InstructionPanel, type InstructionPanelProps, LevelBanner, LevelPanel, Map, MapLayer, type MapProps, type MapStyle, MissingItemsBanner, Modal, ModalContext, type ModalProps, ModalProvider, ModelSelect, type ModelSelectProps, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, type PickedDoor, type PickedDoorGroup, PlayerSelect, type PlayerSelectProps, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, ScenarioSelect, type ScenarioSelectProps, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, SwitchPanel, type SwitchPanelProps, TestBed, type TestBedItem, type TestBedPlacement, type TestBedProps, ThemeOverrideSection, type ThemeOverrideSectionProps, Title, type TitleProps, type TitleSize, Vector4DeleteButton, Vector4Display, type Vector4Value, VehicleSelect, WorldPositionGotoButton, WorldPositionPicker, type WorldPositionPickerSlot, WorldPositionSetButton, ZoomControls, blipUrl, blipUrlForSprite, getBlipColor, getBlipEntry, useAdminToolStore, useMissingItemsAudit, useModal, useModalActions, useNavigation, useNavigationStore, usePickDoor };