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.
- package/dist/chunk-3T2CCW5E.cjs +150 -0
- package/dist/chunk-3T2CCW5E.cjs.map +1 -0
- package/dist/chunk-4DE2IREA.cjs +9 -0
- package/dist/chunk-4DE2IREA.cjs.map +1 -0
- package/dist/chunk-E2SFEBBB.cjs +449 -0
- package/dist/chunk-E2SFEBBB.cjs.map +1 -0
- package/dist/chunk-GKSP5RIA.js +3 -0
- package/dist/chunk-GKSP5RIA.js.map +1 -0
- package/dist/chunk-HAB6H274.js +6646 -0
- package/dist/chunk-HAB6H274.js.map +1 -0
- package/dist/chunk-K3GDU6EY.cjs +6717 -0
- package/dist/chunk-K3GDU6EY.cjs.map +1 -0
- package/dist/chunk-KGLO3ZAS.js +431 -0
- package/dist/chunk-KGLO3ZAS.js.map +1 -0
- package/dist/chunk-LRGCBNZ7.cjs +4 -0
- package/dist/chunk-LRGCBNZ7.cjs.map +1 -0
- package/dist/chunk-MYNNCLMA.js +1375 -0
- package/dist/chunk-MYNNCLMA.js.map +1 -0
- package/dist/chunk-NVMOGS7Y.js +437 -0
- package/dist/chunk-NVMOGS7Y.js.map +1 -0
- package/dist/chunk-QOQQ3ERZ.cjs +445 -0
- package/dist/chunk-QOQQ3ERZ.cjs.map +1 -0
- package/dist/chunk-V6TY7KAL.js +7 -0
- package/dist/chunk-V6TY7KAL.js.map +1 -0
- package/dist/chunk-VKYONY7E.cjs +112 -0
- package/dist/chunk-VKYONY7E.cjs.map +1 -0
- package/dist/chunk-YA2PXBP6.cjs +1430 -0
- package/dist/chunk-YA2PXBP6.cjs.map +1 -0
- package/dist/chunk-Z7N5AQJW.js +146 -0
- package/dist/chunk-Z7N5AQJW.js.map +1 -0
- package/dist/chunk-ZPFW7C2A.js +108 -0
- package/dist/chunk-ZPFW7C2A.js.map +1 -0
- package/dist/components/index.cjs +282 -7760
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +39 -1
- package/dist/components/index.d.ts +39 -1
- package/dist/components/index.js +6 -7699
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/index.cjs +75 -749
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +5 -732
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs +572 -9091
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -8953
- package/dist/index.js.map +1 -1
- package/dist/modelNames-QIAIYORH.cjs +53910 -0
- package/dist/modelNames-QIAIYORH.cjs.map +1 -0
- package/dist/modelNames-WAUYJLL3.js +53908 -0
- package/dist/modelNames-WAUYJLL3.js.map +1 -0
- package/dist/providers/index.cjs +11 -590
- package/dist/providers/index.cjs.map +1 -1
- package/dist/providers/index.js +5 -590
- package/dist/providers/index.js.map +1 -1
- package/dist/utils/index.cjs +186 -1361
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +41 -1
- package/dist/utils/index.d.ts +41 -1
- package/dist/utils/index.js +2 -1324
- package/dist/utils/index.js.map +1 -1
- 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 };
|