forstok-ui-lib 6.20.2 → 6.21.2

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 (29) hide show
  1. package/dist/index.d.ts +10 -49
  2. package/dist/index.js +571 -1167
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.mjs +569 -1165
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/src/assets/javascripts/function.ts +21 -0
  8. package/src/assets/javascripts/helper.ts +11 -2
  9. package/src/components/index.ts +0 -1
  10. package/src/components/link/index.tsx +4 -1
  11. package/src/components/link/styles.ts +152 -144
  12. package/src/components/link/typed.ts +10 -0
  13. package/src/typeds/shares.typed.ts +26 -26
  14. package/src/components/masterTable/index.tsx +0 -649
  15. package/src/components/masterTable/partials/datas/confirm.tsx +0 -92
  16. package/src/components/masterTable/partials/datas/index.tsx +0 -81
  17. package/src/components/masterTable/partials/editors/date.bare.tsx +0 -39
  18. package/src/components/masterTable/partials/editors/date.tsx +0 -123
  19. package/src/components/masterTable/partials/editors/image.tsx +0 -61
  20. package/src/components/masterTable/partials/editors/input.bare.tsx +0 -127
  21. package/src/components/masterTable/partials/editors/input.tsx +0 -140
  22. package/src/components/masterTable/partials/editors/label.tsx +0 -128
  23. package/src/components/masterTable/partials/editors/select.bare.tsx +0 -104
  24. package/src/components/masterTable/partials/editors/select.tsx +0 -142
  25. package/src/components/masterTable/partials/editors/switch.tsx +0 -56
  26. package/src/components/masterTable/partials/editors/tag.tsx +0 -49
  27. package/src/components/masterTable/partials/editors/textarea.tsx +0 -7
  28. package/src/components/masterTable/styles.tsx +0 -1011
  29. package/src/components/masterTable/typed.ts +0 -87
@@ -1,87 +0,0 @@
1
- import type { JSX } from 'react';
2
- import type { TMouseEvent, TObject, TState } from '../../typeds/base.typed';
3
- import type { THeadProps } from '../../typeds/shares.typed';
4
- import { TPopupOpenFunction } from '../popup/typed';
5
-
6
- export type TAutoCopyObj = {
7
- category: string
8
- copy : {
9
- id: number
10
- accountIds: number[]
11
- }[]
12
- channelId?: number
13
- start? : {
14
- accId: number
15
- id: number
16
- }
17
- keys?: string[]
18
- }
19
-
20
- export type TAutoCopy = TAutoCopyObj[]
21
-
22
- export type TCustomField = {
23
- accountId: number
24
- header: any
25
- id: number
26
- }
27
-
28
- export type TEditorProps = {
29
- head: THeadProps
30
- value: any
31
- height?: number | string
32
- idx: number
33
- evChange: (head: THeadProps, value: any, idx: number, variantIdx?: number) => void
34
- evCloseEditor: (callback?: () => void) => void
35
- variantIdx?: number
36
- evOpenPopup?: TPopupOpenFunction
37
- error: string
38
- resultPopup?: TObject | null
39
- setResultPopup?: TState<TObject | null>
40
- content?: any
41
- type?: string
42
- isForceUpdate?: boolean
43
- setForceUpdate?: TState<boolean>
44
- }
45
-
46
- export type TReloadField = {
47
- ids: number[]
48
- accountIds: number[]
49
- start? : {
50
- accId: number
51
- id: number
52
- }
53
- isFirst?: boolean
54
- next?: {
55
- keyAlias: string
56
- value: any
57
- }
58
- } | undefined
59
-
60
- export type TFieldEditorProps = {
61
- custom: any
62
- content: any
63
- idx: number
64
- defaultValue?: any
65
- name: string
66
- isError?: string | TObject[]
67
- 'data-qa-id'?: string
68
- 'data-tip'?: string
69
- 'data-place'?: string
70
- 'data-type'?: string
71
- evChangeCustom?: (key: string, value: any) => void
72
- }
73
-
74
- export type TDataPartial = {
75
- data: any
76
- heightContent?: number
77
- firstHeaderColumnsWidth: number
78
- evCheckbox: TMouseEvent
79
- headerColumns: THeadProps[]
80
- switchEditor: (idx: number, head: THeadProps, valueKey: any, error: string, variantIdx?: number, height?: number | string, content?: any) => JSX.Element
81
- totalColGroupWidth?: number
82
- lastHeaderColumnsWidth: number
83
- evRemove: TMouseEvent
84
- type?: string
85
- isRemovable?: boolean
86
- evPickAll?: TMouseEvent
87
- }