dirk-cfx-react 1.1.90 → 1.1.92

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.
@@ -369,8 +369,9 @@ declare const MotionIcon: React__default.ComponentType<Omit<{
369
369
  stroke?: string | undefined;
370
370
  imageRendering?: string | number | undefined;
371
371
  crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
372
- direction?: string | number | undefined;
373
372
  transform?: string | _fortawesome_fontawesome_svg_core.Transform | undefined;
373
+ format?: string | number | undefined;
374
+ direction?: string | number | undefined;
374
375
  media?: string | undefined;
375
376
  method?: string | undefined;
376
377
  target?: string | undefined;
@@ -434,7 +435,6 @@ declare const MotionIcon: React__default.ComponentType<Omit<{
434
435
  fontSizeAdjust?: string | number | undefined;
435
436
  fontStretch?: string | number | undefined;
436
437
  fontVariant?: string | number | undefined;
437
- format?: string | number | undefined;
438
438
  fr?: string | number | undefined;
439
439
  from?: string | number | undefined;
440
440
  fx?: string | number | undefined;
@@ -1043,12 +1043,6 @@ interface TestBedProps {
1043
1043
  }
1044
1044
  declare function TestBed({ items, storageKey, disablePersistence, title, placement, }: TestBedProps): react_jsx_runtime.JSX.Element | null;
1045
1045
 
1046
- type ThemeOverrideValue = {
1047
- useOverride: boolean;
1048
- primaryColor: string;
1049
- primaryShade: number;
1050
- customTheme: string[];
1051
- };
1052
1046
  type ThemeOverrideSectionProps = {
1053
1047
  /**
1054
1048
  * Schema path the consumer stores its override block under. Defaults to
@@ -1063,6 +1057,38 @@ type ThemeOverrideSectionProps = {
1063
1057
  };
1064
1058
  declare function ThemeOverrideSection({ schemaKey, title, }: ThemeOverrideSectionProps): react_jsx_runtime.JSX.Element;
1065
1059
 
1060
+ type AccessOverrideValue = {
1061
+ /** ACE groups / permissions allowed to access this resource. Checked
1062
+ * server-side via IsPlayerAceAllowed (e.g. group.admin). NOT jobs/gangs. */
1063
+ groups: string[];
1064
+ /** Persistent player ids (citizenid on qb/qbx, license on esx — what
1065
+ * PlayerSelect yields). dirk_lib also matches raw FiveM identifiers. */
1066
+ identifiers: string[];
1067
+ };
1068
+ type AccessOverrideSectionProps = {
1069
+ /**
1070
+ * Schema path the consumer stores its access block under. Defaults to
1071
+ * "access" — matches the recommended schema key.
1072
+ */
1073
+ schemaKey?: string;
1074
+ /**
1075
+ * Optional title for the AdminPageTitle. Defaults to the localized
1076
+ * "Access" string with a fallback.
1077
+ */
1078
+ title?: string;
1079
+ /**
1080
+ * Optional description shown under the title. Defaults to a localized
1081
+ * explanation with a fallback.
1082
+ */
1083
+ description?: string;
1084
+ /**
1085
+ * When true, the player picker searches offline players (DB-backed) too.
1086
+ * Defaults to true so admins can grant access to players who aren't online.
1087
+ */
1088
+ includeOffline?: boolean;
1089
+ };
1090
+ declare function AccessOverrideSection({ schemaKey, title, description, includeOffline, }: AccessOverrideSectionProps): react_jsx_runtime.JSX.Element;
1091
+
1066
1092
  type AnimPostFxSelectProps = Omit<SelectProps, "data" | "value" | "onChange"> & {
1067
1093
  /** Current effect name. Empty string = no effect selected. */
1068
1094
  value: string;
@@ -1312,4 +1338,4 @@ type AdminToolStore = {
1312
1338
  };
1313
1339
  declare const useAdminToolStore: zustand.UseBoundStore<zustand.StoreApi<AdminToolStore>>;
1314
1340
 
1315
- export { 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, type ThemeOverrideValue, 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 };
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 };
@@ -369,8 +369,9 @@ declare const MotionIcon: React__default.ComponentType<Omit<{
369
369
  stroke?: string | undefined;
370
370
  imageRendering?: string | number | undefined;
371
371
  crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
372
- direction?: string | number | undefined;
373
372
  transform?: string | _fortawesome_fontawesome_svg_core.Transform | undefined;
373
+ format?: string | number | undefined;
374
+ direction?: string | number | undefined;
374
375
  media?: string | undefined;
375
376
  method?: string | undefined;
376
377
  target?: string | undefined;
@@ -434,7 +435,6 @@ declare const MotionIcon: React__default.ComponentType<Omit<{
434
435
  fontSizeAdjust?: string | number | undefined;
435
436
  fontStretch?: string | number | undefined;
436
437
  fontVariant?: string | number | undefined;
437
- format?: string | number | undefined;
438
438
  fr?: string | number | undefined;
439
439
  from?: string | number | undefined;
440
440
  fx?: string | number | undefined;
@@ -1043,12 +1043,6 @@ interface TestBedProps {
1043
1043
  }
1044
1044
  declare function TestBed({ items, storageKey, disablePersistence, title, placement, }: TestBedProps): react_jsx_runtime.JSX.Element | null;
1045
1045
 
1046
- type ThemeOverrideValue = {
1047
- useOverride: boolean;
1048
- primaryColor: string;
1049
- primaryShade: number;
1050
- customTheme: string[];
1051
- };
1052
1046
  type ThemeOverrideSectionProps = {
1053
1047
  /**
1054
1048
  * Schema path the consumer stores its override block under. Defaults to
@@ -1063,6 +1057,38 @@ type ThemeOverrideSectionProps = {
1063
1057
  };
1064
1058
  declare function ThemeOverrideSection({ schemaKey, title, }: ThemeOverrideSectionProps): react_jsx_runtime.JSX.Element;
1065
1059
 
1060
+ type AccessOverrideValue = {
1061
+ /** ACE groups / permissions allowed to access this resource. Checked
1062
+ * server-side via IsPlayerAceAllowed (e.g. group.admin). NOT jobs/gangs. */
1063
+ groups: string[];
1064
+ /** Persistent player ids (citizenid on qb/qbx, license on esx — what
1065
+ * PlayerSelect yields). dirk_lib also matches raw FiveM identifiers. */
1066
+ identifiers: string[];
1067
+ };
1068
+ type AccessOverrideSectionProps = {
1069
+ /**
1070
+ * Schema path the consumer stores its access block under. Defaults to
1071
+ * "access" — matches the recommended schema key.
1072
+ */
1073
+ schemaKey?: string;
1074
+ /**
1075
+ * Optional title for the AdminPageTitle. Defaults to the localized
1076
+ * "Access" string with a fallback.
1077
+ */
1078
+ title?: string;
1079
+ /**
1080
+ * Optional description shown under the title. Defaults to a localized
1081
+ * explanation with a fallback.
1082
+ */
1083
+ description?: string;
1084
+ /**
1085
+ * When true, the player picker searches offline players (DB-backed) too.
1086
+ * Defaults to true so admins can grant access to players who aren't online.
1087
+ */
1088
+ includeOffline?: boolean;
1089
+ };
1090
+ declare function AccessOverrideSection({ schemaKey, title, description, includeOffline, }: AccessOverrideSectionProps): react_jsx_runtime.JSX.Element;
1091
+
1066
1092
  type AnimPostFxSelectProps = Omit<SelectProps, "data" | "value" | "onChange"> & {
1067
1093
  /** Current effect name. Empty string = no effect selected. */
1068
1094
  value: string;
@@ -1312,4 +1338,4 @@ type AdminToolStore = {
1312
1338
  };
1313
1339
  declare const useAdminToolStore: zustand.UseBoundStore<zustand.StoreApi<AdminToolStore>>;
1314
1340
 
1315
- export { 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, type ThemeOverrideValue, 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 };
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 };