@papernote/ui 1.0.0 → 1.2.0

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 (84) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +455 -445
  3. package/dist/components/CurrencyInput.d.ts +52 -0
  4. package/dist/components/CurrencyInput.d.ts.map +1 -0
  5. package/dist/components/DataTable.d.ts +3 -1
  6. package/dist/components/DataTable.d.ts.map +1 -1
  7. package/dist/components/Modal.d.ts.map +1 -1
  8. package/dist/components/Page.d.ts +2 -0
  9. package/dist/components/Page.d.ts.map +1 -1
  10. package/dist/components/PageLayout.d.ts +5 -1
  11. package/dist/components/PageLayout.d.ts.map +1 -1
  12. package/dist/components/Spreadsheet.d.ts +129 -0
  13. package/dist/components/Spreadsheet.d.ts.map +1 -0
  14. package/dist/components/Tabs.d.ts +5 -1
  15. package/dist/components/Tabs.d.ts.map +1 -1
  16. package/dist/components/index.d.ts +6 -0
  17. package/dist/components/index.d.ts.map +1 -1
  18. package/dist/index.d.ts +336 -5
  19. package/dist/index.esm.js +51152 -174
  20. package/dist/index.esm.js.map +1 -1
  21. package/dist/index.js +51145 -143
  22. package/dist/index.js.map +1 -1
  23. package/dist/styles.css +1187 -11
  24. package/dist/utils/excelExport.d.ts +143 -0
  25. package/dist/utils/excelExport.d.ts.map +1 -0
  26. package/dist/utils/index.d.ts +2 -0
  27. package/dist/utils/index.d.ts.map +1 -1
  28. package/package.json +13 -3
  29. package/src/components/AdminModal.css +49 -49
  30. package/src/components/CurrencyInput.stories.tsx +290 -0
  31. package/src/components/CurrencyInput.tsx +193 -0
  32. package/src/components/DataTable.stories.tsx +87 -0
  33. package/src/components/DataTable.tsx +149 -37
  34. package/src/components/Modal.stories.tsx +64 -0
  35. package/src/components/Modal.tsx +15 -2
  36. package/src/components/Page.stories.tsx +76 -0
  37. package/src/components/Page.tsx +35 -3
  38. package/src/components/PageLayout.stories.tsx +75 -0
  39. package/src/components/PageLayout.tsx +28 -9
  40. package/src/components/RoleManager.css +10 -10
  41. package/src/components/Spreadsheet.css +216 -0
  42. package/src/components/Spreadsheet.stories.tsx +362 -0
  43. package/src/components/Spreadsheet.tsx +351 -0
  44. package/src/components/SpreadsheetSimple.stories.tsx +27 -0
  45. package/src/components/Tabs.stories.tsx +31 -0
  46. package/src/components/Tabs.tsx +28 -4
  47. package/src/components/TimePicker.tsx +1 -1
  48. package/src/components/Toast.tsx +9 -9
  49. package/src/components/__tests__/Input.test.tsx +22 -26
  50. package/src/components/index.ts +11 -2
  51. package/src/styles/index.css +44 -6
  52. package/src/utils/excelExport.stories.tsx +535 -0
  53. package/src/utils/excelExport.ts +225 -0
  54. package/src/utils/index.ts +3 -0
  55. package/src/utils/sqlToNaturalLanguage.ts +1 -1
  56. package/tailwind.config.js +253 -253
  57. package/dist/components/Button.stories.d.ts +0 -51
  58. package/dist/components/Button.stories.d.ts.map +0 -1
  59. package/dist/components/ChartVisualizationUI.d.ts +0 -21
  60. package/dist/components/ChartVisualizationUI.d.ts.map +0 -1
  61. package/dist/components/ChatUI.d.ts +0 -23
  62. package/dist/components/ChatUI.d.ts.map +0 -1
  63. package/dist/components/CommissionDashboardUI.d.ts +0 -25
  64. package/dist/components/CommissionDashboardUI.d.ts.map +0 -1
  65. package/dist/components/DataTable.stories.d.ts +0 -23
  66. package/dist/components/DataTable.stories.d.ts.map +0 -1
  67. package/dist/components/FormField.d.ts +0 -35
  68. package/dist/components/FormField.d.ts.map +0 -1
  69. package/dist/components/Input.stories.d.ts +0 -366
  70. package/dist/components/Input.stories.d.ts.map +0 -1
  71. package/dist/components/InsightsPanelUI.d.ts +0 -21
  72. package/dist/components/InsightsPanelUI.d.ts.map +0 -1
  73. package/dist/components/PaymentHistoryTimeline.d.ts +0 -34
  74. package/dist/components/PaymentHistoryTimeline.d.ts.map +0 -1
  75. package/dist/components/RelationshipManagerUI.d.ts +0 -60
  76. package/dist/components/RelationshipManagerUI.d.ts.map +0 -1
  77. package/dist/components/RoleManager.d.ts +0 -19
  78. package/dist/components/RoleManager.d.ts.map +0 -1
  79. package/dist/components/SplitCommissionBadge.d.ts +0 -18
  80. package/dist/components/SplitCommissionBadge.d.ts.map +0 -1
  81. package/dist/components/__tests__/Button.test.d.ts +0 -2
  82. package/dist/components/__tests__/Button.test.d.ts.map +0 -1
  83. package/dist/components/__tests__/Input.test.d.ts +0 -2
  84. package/dist/components/__tests__/Input.test.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommissionDashboardUI.d.ts","sourceRoot":"","sources":["../../src/components/CommissionDashboardUI.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,6BAA6B,CAAC;AAErC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAiBD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAoFtE,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import DataTable from './DataTable';
3
- declare const meta: {
4
- title: string;
5
- component: typeof DataTable;
6
- parameters: {
7
- layout: string;
8
- };
9
- tags: string[];
10
- };
11
- export default meta;
12
- type Story = StoryObj<typeof meta>;
13
- export declare const Default: Story;
14
- export declare const WithActions: Story;
15
- export declare const Selectable: Story;
16
- export declare const Paginated: Story;
17
- export declare const WithExpandedRows: Story;
18
- export declare const Loading: Story;
19
- export declare const Empty: Story;
20
- export declare const Compact: Story;
21
- export declare const Comfortable: Story;
22
- export declare const FullFeatured: Story;
23
- //# sourceMappingURL=DataTable.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,SAAS,MAAM,aAAa,CAAC;AAqBpC,QAAA,MAAM,IAAI;;;;;;;CAOwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkCnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAuBzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAe9B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KA2B1B,CAAC"}
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- export interface FormFieldProps {
3
- /** Field label */
4
- label?: string;
5
- /** Required field indicator */
6
- required?: boolean;
7
- /** Error message */
8
- error?: string;
9
- /** Helper text (shown when no error) */
10
- helperText?: string;
11
- /** Form input element(s) */
12
- children: React.ReactNode;
13
- /** Custom className for container */
14
- className?: string;
15
- /** HTML id for the input (used for label association) */
16
- htmlFor?: string;
17
- }
18
- /**
19
- * FormField wrapper component for consistent form field layout.
20
- *
21
- * Provides:
22
- * - Label with required indicator
23
- * - Error message display
24
- * - Helper text
25
- * - Consistent spacing
26
- *
27
- * @example
28
- * ```tsx
29
- * <FormField label="Email" required error={errors.email} helperText="We'll never share your email">
30
- * <Input {...register('email')} />
31
- * </FormField>
32
- * ```
33
- */
34
- export default function FormField({ label, required, error, helperText, children, className, htmlFor, }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
35
- //# sourceMappingURL=FormField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../src/components/FormField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,cAAc;IAC7B,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,KAAK,EACL,QAAgB,EAChB,KAAK,EACL,UAAU,EACV,QAAQ,EACR,SAAc,EACd,OAAO,GACR,EAAE,cAAc,2CA2BhB"}
@@ -1,366 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- declare const meta: {
3
- title: string;
4
- component: import("react").ForwardRefExoticComponent<import("./Input").InputProps & import("react").RefAttributes<HTMLInputElement>>;
5
- parameters: {
6
- layout: string;
7
- };
8
- tags: string[];
9
- argTypes: {
10
- size: {
11
- control: "select";
12
- options: string[];
13
- };
14
- type: {
15
- control: "select";
16
- options: string[];
17
- };
18
- };
19
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
20
- label?: string | undefined;
21
- helperText?: string | undefined;
22
- validationState?: import("./Input").ValidationState | undefined;
23
- validationMessage?: string | undefined;
24
- icon?: import("react").ReactNode;
25
- iconPosition?: "left" | "right" | undefined;
26
- showCount?: boolean | undefined;
27
- prefix?: string | undefined;
28
- suffix?: string | undefined;
29
- prefixIcon?: import("react").ReactNode;
30
- suffixIcon?: import("react").ReactNode;
31
- showPasswordToggle?: boolean | undefined;
32
- clearable?: boolean | undefined;
33
- onClear?: (() => void) | undefined;
34
- accept?: string | undefined | undefined;
35
- alt?: string | undefined | undefined;
36
- autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
37
- capture?: boolean | "user" | "environment" | undefined | undefined;
38
- checked?: boolean | undefined | undefined;
39
- disabled?: boolean | undefined | undefined;
40
- form?: string | undefined | undefined;
41
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
42
- formEncType?: string | undefined | undefined;
43
- formMethod?: string | undefined | undefined;
44
- formNoValidate?: boolean | undefined | undefined;
45
- formTarget?: string | undefined | undefined;
46
- height?: number | string | undefined | undefined;
47
- list?: string | undefined | undefined;
48
- max?: number | string | undefined | undefined;
49
- maxLength?: number | undefined | undefined;
50
- min?: number | string | undefined | undefined;
51
- minLength?: number | undefined | undefined;
52
- multiple?: boolean | undefined | undefined;
53
- name?: string | undefined | undefined;
54
- pattern?: string | undefined | undefined;
55
- placeholder?: string | undefined | undefined;
56
- readOnly?: boolean | undefined | undefined;
57
- required?: boolean | undefined | undefined;
58
- size?: number | undefined | undefined;
59
- src?: string | undefined | undefined;
60
- step?: number | string | undefined | undefined;
61
- type?: import("react").HTMLInputTypeAttribute | undefined;
62
- value?: string | number | readonly string[] | undefined;
63
- width?: number | string | undefined | undefined;
64
- onChange?: import("react").ChangeEventHandler<HTMLInputElement> | undefined;
65
- defaultChecked?: boolean | undefined | undefined;
66
- defaultValue?: string | number | readonly string[] | undefined;
67
- suppressContentEditableWarning?: boolean | undefined | undefined;
68
- suppressHydrationWarning?: boolean | undefined | undefined;
69
- accessKey?: string | undefined | undefined;
70
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
71
- autoFocus?: boolean | undefined | undefined;
72
- className?: string | undefined | undefined;
73
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
74
- contextMenu?: string | undefined | undefined;
75
- dir?: string | undefined | undefined;
76
- draggable?: (boolean | "true" | "false") | undefined;
77
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
78
- hidden?: boolean | undefined | undefined;
79
- id?: string | undefined | undefined;
80
- lang?: string | undefined | undefined;
81
- nonce?: string | undefined | undefined;
82
- slot?: string | undefined | undefined;
83
- spellCheck?: (boolean | "true" | "false") | undefined;
84
- style?: import("react").CSSProperties | undefined;
85
- tabIndex?: number | undefined | undefined;
86
- title?: string | undefined | undefined;
87
- translate?: "yes" | "no" | undefined | undefined;
88
- radioGroup?: string | undefined | undefined;
89
- role?: import("react").AriaRole | undefined;
90
- about?: string | undefined | undefined;
91
- content?: string | undefined | undefined;
92
- datatype?: string | undefined | undefined;
93
- inlist?: any;
94
- property?: string | undefined | undefined;
95
- rel?: string | undefined | undefined;
96
- resource?: string | undefined | undefined;
97
- rev?: string | undefined | undefined;
98
- typeof?: string | undefined | undefined;
99
- vocab?: string | undefined | undefined;
100
- autoCorrect?: string | undefined | undefined;
101
- autoSave?: string | undefined | undefined;
102
- color?: string | undefined | undefined;
103
- itemProp?: string | undefined | undefined;
104
- itemScope?: boolean | undefined | undefined;
105
- itemType?: string | undefined | undefined;
106
- itemID?: string | undefined | undefined;
107
- itemRef?: string | undefined | undefined;
108
- results?: number | undefined | undefined;
109
- security?: string | undefined | undefined;
110
- unselectable?: "on" | "off" | undefined | undefined;
111
- popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
112
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
113
- popoverTarget?: string | undefined | undefined;
114
- inert?: boolean | undefined | undefined;
115
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
116
- is?: string | undefined | undefined;
117
- exportparts?: string | undefined | undefined;
118
- part?: string | undefined | undefined;
119
- "aria-activedescendant"?: string | undefined | undefined;
120
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
121
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
122
- "aria-braillelabel"?: string | undefined | undefined;
123
- "aria-brailleroledescription"?: string | undefined | undefined;
124
- "aria-busy"?: (boolean | "true" | "false") | undefined;
125
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
126
- "aria-colcount"?: number | undefined | undefined;
127
- "aria-colindex"?: number | undefined | undefined;
128
- "aria-colindextext"?: string | undefined | undefined;
129
- "aria-colspan"?: number | undefined | undefined;
130
- "aria-controls"?: string | undefined | undefined;
131
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
132
- "aria-describedby"?: string | undefined | undefined;
133
- "aria-description"?: string | undefined | undefined;
134
- "aria-details"?: string | undefined | undefined;
135
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
136
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
137
- "aria-errormessage"?: string | undefined | undefined;
138
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
139
- "aria-flowto"?: string | undefined | undefined;
140
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
141
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
142
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
143
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
144
- "aria-keyshortcuts"?: string | undefined | undefined;
145
- "aria-label"?: string | undefined | undefined;
146
- "aria-labelledby"?: string | undefined | undefined;
147
- "aria-level"?: number | undefined | undefined;
148
- "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
149
- "aria-modal"?: (boolean | "true" | "false") | undefined;
150
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
151
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
152
- "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
153
- "aria-owns"?: string | undefined | undefined;
154
- "aria-placeholder"?: string | undefined | undefined;
155
- "aria-posinset"?: number | undefined | undefined;
156
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
157
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
158
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
159
- "aria-required"?: (boolean | "true" | "false") | undefined;
160
- "aria-roledescription"?: string | undefined | undefined;
161
- "aria-rowcount"?: number | undefined | undefined;
162
- "aria-rowindex"?: number | undefined | undefined;
163
- "aria-rowindextext"?: string | undefined | undefined;
164
- "aria-rowspan"?: number | undefined | undefined;
165
- "aria-selected"?: (boolean | "true" | "false") | undefined;
166
- "aria-setsize"?: number | undefined | undefined;
167
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
168
- "aria-valuemax"?: number | undefined | undefined;
169
- "aria-valuemin"?: number | undefined | undefined;
170
- "aria-valuenow"?: number | undefined | undefined;
171
- "aria-valuetext"?: string | undefined | undefined;
172
- children?: import("react").ReactNode;
173
- dangerouslySetInnerHTML?: {
174
- __html: string | TrustedHTML;
175
- } | undefined | undefined;
176
- onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
177
- onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
178
- onCut?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
179
- onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
180
- onPaste?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
181
- onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
182
- onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
183
- onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
184
- onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
185
- onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
186
- onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
187
- onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
188
- onFocus?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
189
- onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
190
- onBlur?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
191
- onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
192
- onChangeCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
193
- onBeforeInput?: import("react").InputEventHandler<HTMLInputElement> | undefined;
194
- onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
195
- onInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
196
- onInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
197
- onReset?: import("react").FormEventHandler<HTMLInputElement> | undefined;
198
- onResetCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
199
- onSubmit?: import("react").FormEventHandler<HTMLInputElement> | undefined;
200
- onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
201
- onInvalid?: import("react").FormEventHandler<HTMLInputElement> | undefined;
202
- onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
203
- onLoad?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
204
- onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
205
- onError?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
206
- onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
207
- onKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
208
- onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
209
- onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
210
- onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
211
- onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
212
- onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
213
- onAbort?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
214
- onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
215
- onCanPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
216
- onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
217
- onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
218
- onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
219
- onDurationChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
220
- onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
221
- onEmptied?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
222
- onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
223
- onEncrypted?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
224
- onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
225
- onEnded?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
226
- onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
227
- onLoadedData?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
228
- onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
229
- onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
230
- onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
231
- onLoadStart?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
232
- onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
233
- onPause?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
234
- onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
235
- onPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
236
- onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
237
- onPlaying?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
238
- onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
239
- onProgress?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
240
- onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
241
- onRateChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
242
- onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
243
- onSeeked?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
244
- onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
245
- onSeeking?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
246
- onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
247
- onStalled?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
248
- onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
249
- onSuspend?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
250
- onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
251
- onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
252
- onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
253
- onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
254
- onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
255
- onWaiting?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
256
- onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
257
- onAuxClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
258
- onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
259
- onClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
260
- onClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
261
- onContextMenu?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
262
- onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
263
- onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
264
- onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
265
- onDrag?: import("react").DragEventHandler<HTMLInputElement> | undefined;
266
- onDragCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
267
- onDragEnd?: import("react").DragEventHandler<HTMLInputElement> | undefined;
268
- onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
269
- onDragEnter?: import("react").DragEventHandler<HTMLInputElement> | undefined;
270
- onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
271
- onDragExit?: import("react").DragEventHandler<HTMLInputElement> | undefined;
272
- onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
273
- onDragLeave?: import("react").DragEventHandler<HTMLInputElement> | undefined;
274
- onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
275
- onDragOver?: import("react").DragEventHandler<HTMLInputElement> | undefined;
276
- onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
277
- onDragStart?: import("react").DragEventHandler<HTMLInputElement> | undefined;
278
- onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
279
- onDrop?: import("react").DragEventHandler<HTMLInputElement> | undefined;
280
- onDropCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
281
- onMouseDown?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
282
- onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
283
- onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
284
- onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
285
- onMouseMove?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
286
- onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
287
- onMouseOut?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
288
- onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
289
- onMouseOver?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
290
- onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
291
- onMouseUp?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
292
- onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
293
- onSelect?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
294
- onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
295
- onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
296
- onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
297
- onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
298
- onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
299
- onTouchMove?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
300
- onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
301
- onTouchStart?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
302
- onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
303
- onPointerDown?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
304
- onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
305
- onPointerMove?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
306
- onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
307
- onPointerUp?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
308
- onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
309
- onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
310
- onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
311
- onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
312
- onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
313
- onPointerOver?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
314
- onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
315
- onPointerOut?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
316
- onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
317
- onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
318
- onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
319
- onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
320
- onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
321
- onScroll?: import("react").UIEventHandler<HTMLInputElement> | undefined;
322
- onScrollCapture?: import("react").UIEventHandler<HTMLInputElement> | undefined;
323
- onScrollEnd?: import("react").UIEventHandler<HTMLInputElement> | undefined;
324
- onScrollEndCapture?: import("react").UIEventHandler<HTMLInputElement> | undefined;
325
- onWheel?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
326
- onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
327
- onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
328
- onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
329
- onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
330
- onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
331
- onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
332
- onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
333
- onToggle?: import("react").ToggleEventHandler<HTMLInputElement> | undefined;
334
- onBeforeToggle?: import("react").ToggleEventHandler<HTMLInputElement> | undefined;
335
- onTransitionCancel?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
336
- onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
337
- onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
338
- onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
339
- onTransitionRun?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
340
- onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
341
- onTransitionStart?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
342
- onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
343
- ref?: import("react").Ref<HTMLInputElement> | undefined;
344
- key?: import("react").Key | null | undefined;
345
- }>) => import("react/jsx-runtime").JSX.Element)[];
346
- };
347
- export default meta;
348
- type Story = StoryObj<typeof meta>;
349
- export declare const Default: Story;
350
- export declare const WithValue: Story;
351
- export declare const WithPrefixIcon: Story;
352
- export declare const WithSuffixIcon: Story;
353
- export declare const WithError: Story;
354
- export declare const WithHelperText: Story;
355
- export declare const Required: Story;
356
- export declare const Disabled: Story;
357
- export declare const ReadOnly: Story;
358
- export declare const Clearable: Story;
359
- export declare const Loading: Story;
360
- export declare const Password: Story;
361
- export declare const WithPrefix: Story;
362
- export declare const WithSuffix: Story;
363
- export declare const Small: Story;
364
- export declare const Large: Story;
365
- export declare const LoginForm: Story;
366
- //# sourceMappingURL=Input.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../src/components/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAWvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KA4BvB,CAAC"}
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- export interface AnalyticsInsight {
3
- id: string;
4
- type: 'trend' | 'anomaly' | 'forecast' | 'recommendation';
5
- title: string;
6
- summary: string;
7
- confidence: number;
8
- timestamp: Date | string;
9
- data?: any;
10
- }
11
- export interface InsightsPanelUIProps {
12
- insights: AnalyticsInsight[];
13
- isLoading: boolean;
14
- filter: string;
15
- maxInsights?: number;
16
- className?: string;
17
- onFilterChange: (filter: string) => void;
18
- onRefresh: () => void;
19
- }
20
- export declare const InsightsPanelUI: React.FC<InsightsPanelUIProps>;
21
- //# sourceMappingURL=InsightsPanelUI.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsightsPanelUI.d.ts","sourceRoot":"","sources":["../../src/components/InsightsPanelUI.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AA8FD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAyI1D,CAAC"}
@@ -1,34 +0,0 @@
1
- export interface PaymentStatusHistoryEntry {
2
- id: string;
3
- paymentTransactionId: string;
4
- previousStatus: string;
5
- newStatus: string;
6
- reason: string;
7
- changedBy: string;
8
- changedByName?: string;
9
- changedAt: string;
10
- metadata?: Record<string, unknown>;
11
- }
12
- interface PaymentHistoryTimelineProps {
13
- /** Array of payment status history entries */
14
- history: PaymentStatusHistoryEntry[];
15
- /** Loading state */
16
- loading?: boolean;
17
- /** Error message */
18
- error?: string | null;
19
- }
20
- /**
21
- * PaymentHistoryTimeline Component
22
- *
23
- * Displays a vertical timeline of payment status changes with:
24
- * - Status badges with color coding
25
- * - Formatted timestamps showing when changes occurred
26
- * - User information for who made the change
27
- * - Optional reason text explaining the change
28
- * - Newest entries at the top
29
- *
30
- * Used in: Payment tracking modal, payment detail pages
31
- */
32
- export declare function PaymentHistoryTimeline({ history, loading, error }: PaymentHistoryTimelineProps): import("react/jsx-runtime").JSX.Element;
33
- export {};
34
- //# sourceMappingURL=PaymentHistoryTimeline.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentHistoryTimeline.d.ts","sourceRoot":"","sources":["../../src/components/PaymentHistoryTimeline.tsx"],"names":[],"mappings":"AA0BA,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,UAAU,2BAA2B;IACnC,8CAA8C;IAC9C,OAAO,EAAE,yBAAyB,EAAE,CAAC;IACrC,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,OAAe,EACf,KAAY,EACb,EAAE,2BAA2B,2CA0H7B"}
@@ -1,60 +0,0 @@
1
- /**
2
- * RelationshipManager Component
3
- *
4
- * Manages account-user staff assignments (Account Manager, Technical Contact, etc.)
5
- * Displays inline editable table with add/edit/delete functionality
6
- *
7
- * Features:
8
- * - Add/Edit/Delete staff assignments
9
- * - Dropdown for User selection
10
- * - Dropdown for Relationship Type (Account Manager, Technical Contact, etc.)
11
- * - Conditional Split Rate field (only for relationship types that allow it)
12
- * - Assignment Sequence for ordering
13
- * - Effective Date and End Date for temporal tracking
14
- * - Notes field for additional context
15
- * - Primary checkbox (mark primary relationship for each type)
16
- * - Active checkbox (soft delete capability)
17
- *
18
- * Integration:
19
- * - Used within Accounts FormModal on the Relationships tab
20
- * - Manages AccountStaffAssignmentDto[] array
21
- * - Emits onChange events for parent form tracking
22
- */
23
- export interface AccountStaffAssignmentDto {
24
- id?: string;
25
- accountId: string;
26
- userId: string;
27
- relationshipTypeId: number;
28
- relationshipTypeName?: string;
29
- userName?: string;
30
- userFullName?: string;
31
- splitRate?: number;
32
- assignmentSequence?: number;
33
- isPrimary: boolean;
34
- isActive: boolean;
35
- effectiveDate?: string;
36
- endDate?: string;
37
- notes?: string;
38
- }
39
- export interface RelationshipType {
40
- id: number;
41
- name: string;
42
- description?: string;
43
- allowsSplitRate: boolean;
44
- }
45
- export interface UserLookup {
46
- id: string;
47
- userName: string;
48
- displayName: string;
49
- territory?: string;
50
- }
51
- export interface RelationshipManagerUIProps {
52
- accountId?: string;
53
- relationships: AccountStaffAssignmentDto[];
54
- relationshipTypes: RelationshipType[];
55
- users: UserLookup[];
56
- onChange: (relationships: AccountStaffAssignmentDto[]) => void;
57
- readOnly?: boolean;
58
- }
59
- export declare function RelationshipManagerUI({ accountId, relationships, relationshipTypes, users, onChange, readOnly, }: RelationshipManagerUIProps): import("react/jsx-runtime").JSX.Element;
60
- //# sourceMappingURL=RelationshipManagerUI.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RelationshipManagerUI.d.ts","sourceRoot":"","sources":["../../src/components/RelationshipManagerUI.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AASH,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,yBAAyB,EAAE,CAAC;IAC3C,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IACtC,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,QAAQ,EAAE,CAAC,aAAa,EAAE,yBAAyB,EAAE,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD,wBAAgB,qBAAqB,CAAC,EACpC,SAAc,EACd,aAAa,EACb,iBAAiB,EACjB,KAAK,EACL,QAAQ,EACR,QAAgB,GACjB,EAAE,0BAA0B,2CA0a5B"}
@@ -1,19 +0,0 @@
1
- /**
2
- * RoleManager - Dual-list role assignment component
3
- *
4
- * Provides an intuitive interface for assigning/unassigning roles
5
- * with drag-and-drop support and bulk operations
6
- */
7
- import './RoleManager.css';
8
- export interface Role {
9
- name: string;
10
- description?: string;
11
- }
12
- export interface RoleManagerProps {
13
- availableRoles: Role[];
14
- assignedRoles: string[];
15
- onChange: (assignedRoles: string[]) => void;
16
- height?: string;
17
- }
18
- export declare function RoleManager({ availableRoles, assignedRoles, onChange, height: _height }: RoleManagerProps): import("react/jsx-runtime").JSX.Element;
19
- //# sourceMappingURL=RoleManager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RoleManager.d.ts","sourceRoot":"","sources":["../../src/components/RoleManager.tsx"],"names":[],"mappings":"AAGA;;;;;GAKG;AAIH,OAAO,mBAAmB,CAAC;AAE3B,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,WAAW,CAAC,EAC1B,cAAc,EACd,aAAa,EACb,QAAQ,EACR,MAAM,EAAE,OAAiB,EAC1B,EAAE,gBAAgB,2CAsLlB"}
@@ -1,18 +0,0 @@
1
- export interface SplitData {
2
- manager: string;
3
- rate?: number;
4
- amount?: number;
5
- hasExplicitRate?: boolean;
6
- }
7
- export interface SplitCommissionBadgeProps {
8
- splits: SplitData[];
9
- totalAmount?: number;
10
- maxVisible?: number;
11
- showTooltip?: boolean;
12
- size?: 'sm' | 'md' | 'lg';
13
- variant?: 'compact' | 'detailed';
14
- onToggleDetails?: () => void;
15
- isExpanded?: boolean;
16
- }
17
- export default function SplitCommissionBadge({ splits, totalAmount: _totalAmount, maxVisible, showTooltip, size, variant, onToggleDetails, isExpanded, }: SplitCommissionBadgeProps): import("react/jsx-runtime").JSX.Element | null;
18
- //# sourceMappingURL=SplitCommissionBadge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplitCommissionBadge.d.ts","sourceRoot":"","sources":["../../src/components/SplitCommissionBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAoBD,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAC3C,MAAM,EACN,WAAW,EAAE,YAAY,EACzB,UAAc,EACd,WAAkB,EAClB,IAAW,EACX,OAAmB,EACnB,eAAe,EACf,UAAkB,GACnB,EAAE,yBAAyB,kDAkG3B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Button.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.test.d.ts","sourceRoot":"","sources":["../../../src/components/__tests__/Button.test.tsx"],"names":[],"mappings":""}