kui-complex 0.0.163 → 0.0.164

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 (2) hide show
  1. package/index.d.ts +14 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -11,7 +11,6 @@ import * as _emotion_styled from '@emotion/styled';
11
11
  import * as _emotion_react from '@emotion/react';
12
12
  import { RadioGroupProps, InputProps as InputProps$1 } from '@mui/material';
13
13
  import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
14
- import { FileBodyRequest } from 'kui-crm';
15
14
 
16
15
  type AvatarSizes = "xs" | "s" | "md" | "lg"
17
16
 
@@ -421,6 +420,19 @@ type AutocompleteOptionProps = {
421
420
 
422
421
  declare function AutocompleteOption({ label }: AutocompleteOptionProps): JSX.Element;
423
422
 
423
+ type DocumentVisibilityAPIVariants =
424
+ | "everybody"
425
+ | "renter"
426
+ | "owner"
427
+ | "nobody"
428
+
429
+ type FileBodyRequest = {
430
+ temp_file_id?: number
431
+ name: string
432
+ visibility?: DocumentVisibilityAPIVariants
433
+ url?: string
434
+ }
435
+
424
436
  type FileParams = {
425
437
  id: number | null
426
438
  name: string
@@ -508,7 +520,7 @@ declare type VisibilitySettings = {
508
520
  landlord: boolean;
509
521
  };
510
522
  declare type DocumentVisibilityVariants = "everybody" | "tenant" | "landlord" | "nobody";
511
- declare const getVisibility: ({ landlord, tenant }: VisibilitySettings) => "everybody" | "nobody" | "landlord" | "tenant";
523
+ declare const getVisibility: ({ landlord, tenant }: VisibilitySettings) => "everybody" | "tenant" | "landlord" | "nobody";
512
524
  declare const getVisibilitySettings: (visibility?: DocumentVisibilityVariants | undefined) => {
513
525
  tenant: boolean;
514
526
  landlord: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-complex",
3
- "version": "0.0.163",
3
+ "version": "0.0.164",
4
4
  "description": "ui kit for maroom products",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",