@cayuse-test/react 1.0.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 (103) hide show
  1. package/README.md +346 -0
  2. package/dist/chunk-2K3CWMLR.js +108 -0
  3. package/dist/chunk-2K3CWMLR.js.map +1 -0
  4. package/dist/chunk-B2Z63U4D.js +10398 -0
  5. package/dist/chunk-B2Z63U4D.js.map +1 -0
  6. package/dist/chunk-EPGO6B3U.js +3 -0
  7. package/dist/chunk-EPGO6B3U.js.map +1 -0
  8. package/dist/chunk-LFWPG3ND.js +97 -0
  9. package/dist/chunk-LFWPG3ND.js.map +1 -0
  10. package/dist/chunk-M2L7SQBQ.js +205 -0
  11. package/dist/chunk-M2L7SQBQ.js.map +1 -0
  12. package/dist/chunk-MJBMK4OG.js +143 -0
  13. package/dist/chunk-MJBMK4OG.js.map +1 -0
  14. package/dist/chunk-RG4GEORO.js +194 -0
  15. package/dist/chunk-RG4GEORO.js.map +1 -0
  16. package/dist/chunk-SZMEZFAR.js +193 -0
  17. package/dist/chunk-SZMEZFAR.js.map +1 -0
  18. package/dist/chunk-TYZPOXN5.js +243 -0
  19. package/dist/chunk-TYZPOXN5.js.map +1 -0
  20. package/dist/chunk-XRUFEGUC.js +225 -0
  21. package/dist/chunk-XRUFEGUC.js.map +1 -0
  22. package/dist/components/index.d.ts +1471 -0
  23. package/dist/components/index.js +144 -0
  24. package/dist/components/index.js.map +1 -0
  25. package/dist/context/tenant/index.d.ts +200 -0
  26. package/dist/context/tenant/index.js +14 -0
  27. package/dist/context/tenant/index.js.map +1 -0
  28. package/dist/globals/constants/index.d.ts +83 -0
  29. package/dist/globals/constants/index.js +31 -0
  30. package/dist/globals/constants/index.js.map +1 -0
  31. package/dist/globals/css/index.d.ts +2 -0
  32. package/dist/globals/css/index.js +2 -0
  33. package/dist/globals/css/index.js.map +1 -0
  34. package/dist/hooks/index.d.ts +125 -0
  35. package/dist/hooks/index.js +30 -0
  36. package/dist/hooks/index.js.map +1 -0
  37. package/dist/index-4NH7IW34.css +47 -0
  38. package/dist/index.d.ts +16 -0
  39. package/dist/index.js +302 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/modal-dialog-IH5SI4CF.css +93 -0
  42. package/dist/services/upload-s3/index.d.ts +35 -0
  43. package/dist/services/upload-s3/index.js +11 -0
  44. package/dist/services/upload-s3/index.js.map +1 -0
  45. package/dist/styles-2WZORUGA.css +106 -0
  46. package/dist/styles-32VHTPIA.css +20 -0
  47. package/dist/styles-3A5DZ5R7.css +70 -0
  48. package/dist/styles-3PFCZALV.css +60 -0
  49. package/dist/styles-3SNYRDO2.css +100 -0
  50. package/dist/styles-4FHUBUVF.css +150 -0
  51. package/dist/styles-4KAVAZFG.css +5 -0
  52. package/dist/styles-4OFM6DY5.css +22 -0
  53. package/dist/styles-5OXZHQGW.css +14 -0
  54. package/dist/styles-6XZTUN3B.css +68 -0
  55. package/dist/styles-73WOPK6M.css +6 -0
  56. package/dist/styles-7AV26IBF.css +35 -0
  57. package/dist/styles-7DWK55L2.css +71 -0
  58. package/dist/styles-7GWPZSR2.css +222 -0
  59. package/dist/styles-7QBPXFSY.css +6 -0
  60. package/dist/styles-7T6DSZIY.css +27 -0
  61. package/dist/styles-AUI7W2SW.css +408 -0
  62. package/dist/styles-AZSHBXJQ.css +85 -0
  63. package/dist/styles-BTXJVGNW.css +99 -0
  64. package/dist/styles-BUPIQG5C.css +74 -0
  65. package/dist/styles-CLK36LUK.css +27 -0
  66. package/dist/styles-CSKYCMD4.css +123 -0
  67. package/dist/styles-CWCX26BQ.css +13 -0
  68. package/dist/styles-GAIKDZU6.css +47 -0
  69. package/dist/styles-GB7S5BAZ.css +36 -0
  70. package/dist/styles-GVPT6A2Z.css +45 -0
  71. package/dist/styles-IUBOTHBR.css +581 -0
  72. package/dist/styles-IZPTZRKW.css +78 -0
  73. package/dist/styles-LS2YWO5W.css +39 -0
  74. package/dist/styles-M5BEFS4G.css +148 -0
  75. package/dist/styles-MHNICXOS.css +18 -0
  76. package/dist/styles-P6IOJDNI.css +47 -0
  77. package/dist/styles-Q7XE2QVU.css +55 -0
  78. package/dist/styles-R7IS5IGF.css +7 -0
  79. package/dist/styles-RDYYTTBU.css +218 -0
  80. package/dist/styles-RTHIZL5W.css +48 -0
  81. package/dist/styles-RUY4EKZW.css +9 -0
  82. package/dist/styles-T5QJAAUY.css +184 -0
  83. package/dist/styles-VBXWGFCK.css +96 -0
  84. package/dist/styles-VE76CGRO.css +6 -0
  85. package/dist/styles-VLCZ7JYV.css +140 -0
  86. package/dist/styles-W5HDD3YQ.css +71 -0
  87. package/dist/styles-X7BJCSFV.css +86 -0
  88. package/dist/styles-XVRR5GIG.css +42 -0
  89. package/dist/styles-YBC6BJBD.css +83 -0
  90. package/dist/styles-YXNJHPDZ.css +74 -0
  91. package/dist/styles-Z276IEVM.css +264 -0
  92. package/dist/utils/index.d.ts +145 -0
  93. package/dist/utils/index.js +98 -0
  94. package/dist/utils/index.js.map +1 -0
  95. package/package.json +113 -0
  96. package/packages/eslint-config/README.md +69 -0
  97. package/packages/eslint-config/base.js +25 -0
  98. package/packages/eslint-config/next.js +49 -0
  99. package/packages/eslint-config/react-internal.js +44 -0
  100. package/packages/typescript-config/README.md +70 -0
  101. package/packages/typescript-config/base.json +21 -0
  102. package/packages/typescript-config/nextjs.json +12 -0
  103. package/packages/typescript-config/react-library.json +7 -0
@@ -0,0 +1,16 @@
1
+ export { AccordionAttachmentsForm, AccordionFormWrapper, AccordionFormWrapperProps, AlertDialog, Attachment, AttachmentType, AttachmentsForm, AttachmentsFormProps, BannerNotifications, BasePadding, BreadcrumbItem, BreadcrumbProps, Breadcrumbs, Button, ButtonGroup, ButtonGroupProps, ButtonProps, CayuseCommonHeader, Checkbox, CheckboxProps, ClockIcon, Column, Combobox, ComboboxOption, ComboboxProps, ConfirmationModal, ConfirmationModalProps, CovertButton, CustomDropdown, CustomDropdownProps, DateSelector, Divider, DropdownMenu, DropdownMenuProps, DynamicTable, DynamicTableColumn, DynamicTableProps, DynamicTableRow, FileData, FileUpload, FileUploadProps, FormNoteAttachmentsView, FormNoteAttachmentsViewProps, FormattedDate, FormattedDateProps, FormattedDatetime, FormattedDatetimeProps, FormattedRichText, FormattedRichTextProps, FormattedValue, FormattedValueProps, Icon, IconButton, IconButtonProps, IconProps, Input, InputProps, LinkToMilestone, LoadingIndicator, MilestoneForm, MilestoneProgress, MilestoneProgressView, ModalDialog, MultiFileUpload, MultiFileUploadProps, NavLink, Note, NoteWithAttachments, Number, NumberProps, OnSortChange, Option, PaddedCell, Pagination, Pendo, Popup, PopupProps, PreventLeaveDialog, Radio, RadioGroup, RadioGroupProps, RadioProps, RenderCellCallback, RichText, RichTextProps, Row, RowSelectionChangeArgs, SectionHeader, SectionHeaderProps, SetView, SetViewProps, SortDirection, SubHeader, Submenu, Tabs, TaskForm, TaskFormHeader, TaskTitleCell, TaskWithVariables, TextArea, TextAreaProps, Toggle, UploadResource, UseUploadServiceReturn, UserSelect, UserSelectProps, adminLoadOptions, baseClearIcon, dateToTimezoneDate, findFirstActiveAttachmentType, linkTasksToMilestone, notify, setDictionary, setLoginTenantId, useActiveColumns } from './components/index.js';
2
+ export { Affiliation, ExternalAffiliation, Group, ITenantContext, Person, Tenant, TenantContext, TenantContextData, TenantProduct, TenantProvider, User, useTenantContext } from './context/tenant/index.js';
3
+ export { APP_ENV, AUTH_DOMAIN, CAYUSE_TYPES, COLUMN_HEADER_KEYS, DATETIME_FORMATS, DateTimeFormat, FIELD_TYPES, FLOWABLE_BASE_URL, KEY_CODES, NEW_RULE_ID, NODE_ENV, RULE_TYPES, SELECT_ANY_KEY, TARGET_WEB_COMPONENTS_BUCKET } from './globals/constants/index.js';
4
+ export { MAX_FILE_SIZE_75_MB, UppyEvent, UppyService, api, defaultDictionary, uppyEvents, uppyInitialState, useClickOutside, useConfirmNavigation, useDebounceCallback, useDictionary, useModalState } from './hooks/index.js';
5
+ export { IUploadService, ProgressState, UploadError, UploadMetadataResource, UploadService, UploadServiceProps, createUploadService } from './services/upload-s3/index.js';
6
+ export { ACCESS_TOKEN, AuthContext, AuthProvider, CayuseError, alphaSortCollectionByKey, capitalizeAndJoin, checkErrorBody, crunchClasses, debounce, encodeSearchTerms, executeRequest, extractQuestionsFromSection, flushStorage, generateId, getDatetimeFormat, getElementAncestorComponent, getFormElementsByIds, getStoredItem, injectScript, isArray, isBool, isCayuseError, isFunction, isMap, isNonEmptyArray, isNonEmptyMap, isNonEmptyObject, isNonEmptyString, isNumber, isObject, isObjectWithKey, isString, isUrl, loginWithRedirect, registerGetTokenSilently, removeDOMNode, request, simulateInputBlur, simulateInputChange, sortCollectionByKey, storeItem, trim, useAuth, withAuth } from './utils/index.js';
7
+ import 'react';
8
+ import 'react/jsx-runtime';
9
+ import 'react-toastify';
10
+ import '@fortawesome/react-fontawesome';
11
+ import 'react-datepicker';
12
+ import 'react-aria-components';
13
+ import 'react-dropzone';
14
+ import 'quill';
15
+ import 'react-router-dom';
16
+ import '@uppy/core';
package/dist/index.js ADDED
@@ -0,0 +1,302 @@
1
+ import {
2
+ AccordionAttachmentsForm,
3
+ AccordionFormWrapper,
4
+ AlertDialog,
5
+ AttachmentsForm,
6
+ BannerNotifications,
7
+ BasePadding,
8
+ Breadcrumbs,
9
+ Button,
10
+ ButtonGroup,
11
+ CayuseCommonHeader,
12
+ Checkbox,
13
+ ClockIcon,
14
+ Combobox,
15
+ ConfirmationModal,
16
+ CovertButton,
17
+ CustomDropdown,
18
+ DateSelector,
19
+ Divider,
20
+ DropdownMenu,
21
+ DynamicTable,
22
+ FileUpload,
23
+ FormNoteAttachmentsView,
24
+ FormattedDate,
25
+ FormattedDatetime,
26
+ FormattedRichText,
27
+ FormattedValue,
28
+ Icon,
29
+ IconButton,
30
+ Input,
31
+ LinkToMilestone,
32
+ LoadingIndicator,
33
+ MemoizedTaskFormComponent,
34
+ MilestoneForm,
35
+ MilestoneProgress,
36
+ MilestoneProgressView,
37
+ ModalDialog,
38
+ MultiFileUpload,
39
+ NavLink,
40
+ Number,
41
+ PaddedCell,
42
+ Pagination,
43
+ Pendo,
44
+ Popup,
45
+ PreventLeaveDialog,
46
+ Radio,
47
+ RadioGroup,
48
+ RichText,
49
+ SectionHeader,
50
+ SetView,
51
+ SubHeader,
52
+ Submenu,
53
+ Tabs,
54
+ TaskFormHeader,
55
+ TaskTitleCell,
56
+ TextArea,
57
+ Toggle,
58
+ UserSelect,
59
+ adminLoadOptions,
60
+ baseClearIcon,
61
+ dateToTimezoneDate,
62
+ findFirstActiveAttachmentType,
63
+ linkTasksToMilestone,
64
+ notify,
65
+ setDictionary,
66
+ setLoginTenantId,
67
+ useActiveColumns
68
+ } from "./chunk-B2Z63U4D.js";
69
+ import {
70
+ TenantContext,
71
+ TenantProvider,
72
+ useTenantContext
73
+ } from "./chunk-2K3CWMLR.js";
74
+ import "./chunk-EPGO6B3U.js";
75
+ import {
76
+ useConfirmNavigation,
77
+ useDebounceCallback,
78
+ useDictionary,
79
+ useModalState
80
+ } from "./chunk-LFWPG3ND.js";
81
+ import {
82
+ MAX_FILE_SIZE_75_MB,
83
+ UppyService,
84
+ api,
85
+ defaultDictionary,
86
+ uppyEvents,
87
+ uppyInitialState,
88
+ useClickOutside
89
+ } from "./chunk-TYZPOXN5.js";
90
+ import {
91
+ UploadError,
92
+ UploadService,
93
+ createUploadService
94
+ } from "./chunk-M2L7SQBQ.js";
95
+ import {
96
+ alphaSortCollectionByKey,
97
+ capitalizeAndJoin,
98
+ crunchClasses,
99
+ debounce,
100
+ encodeSearchTerms,
101
+ extractQuestionsFromSection,
102
+ flushStorage,
103
+ generateId,
104
+ getDatetimeFormat,
105
+ getElementAncestorComponent,
106
+ getFormElementsByIds,
107
+ getStoredItem,
108
+ injectScript,
109
+ removeDOMNode,
110
+ simulateInputBlur,
111
+ simulateInputChange,
112
+ sortCollectionByKey,
113
+ storeItem,
114
+ trim
115
+ } from "./chunk-RG4GEORO.js";
116
+ import {
117
+ ACCESS_TOKEN,
118
+ AuthContext,
119
+ AuthProvider,
120
+ loginWithRedirect,
121
+ useAuth,
122
+ withAuth
123
+ } from "./chunk-XRUFEGUC.js";
124
+ import {
125
+ APP_ENV,
126
+ AUTH_DOMAIN,
127
+ CAYUSE_TYPES,
128
+ COLUMN_HEADER_KEYS,
129
+ DATETIME_FORMATS,
130
+ FIELD_TYPES,
131
+ FLOWABLE_BASE_URL,
132
+ KEY_CODES,
133
+ NEW_RULE_ID,
134
+ NODE_ENV,
135
+ RULE_TYPES,
136
+ SELECT_ANY_KEY,
137
+ TARGET_WEB_COMPONENTS_BUCKET
138
+ } from "./chunk-MJBMK4OG.js";
139
+ import {
140
+ CayuseError,
141
+ checkErrorBody,
142
+ executeRequest,
143
+ isArray,
144
+ isBool,
145
+ isCayuseError,
146
+ isFunction,
147
+ isMap,
148
+ isNonEmptyArray,
149
+ isNonEmptyMap,
150
+ isNonEmptyObject,
151
+ isNonEmptyString,
152
+ isNumber,
153
+ isObject,
154
+ isObjectWithKey,
155
+ isString,
156
+ isUrl,
157
+ registerGetTokenSilently,
158
+ request
159
+ } from "./chunk-SZMEZFAR.js";
160
+ export {
161
+ ACCESS_TOKEN,
162
+ APP_ENV,
163
+ AUTH_DOMAIN,
164
+ AccordionAttachmentsForm,
165
+ AccordionFormWrapper,
166
+ AlertDialog,
167
+ AttachmentsForm,
168
+ AuthContext,
169
+ AuthProvider,
170
+ BannerNotifications,
171
+ BasePadding,
172
+ Breadcrumbs,
173
+ Button,
174
+ ButtonGroup,
175
+ CAYUSE_TYPES,
176
+ COLUMN_HEADER_KEYS,
177
+ CayuseCommonHeader,
178
+ CayuseError,
179
+ Checkbox,
180
+ ClockIcon,
181
+ Combobox,
182
+ ConfirmationModal,
183
+ CovertButton,
184
+ CustomDropdown,
185
+ DATETIME_FORMATS,
186
+ DateSelector,
187
+ Divider,
188
+ DropdownMenu,
189
+ DynamicTable,
190
+ FIELD_TYPES,
191
+ FLOWABLE_BASE_URL,
192
+ FileUpload,
193
+ FormNoteAttachmentsView,
194
+ FormattedDate,
195
+ FormattedDatetime,
196
+ FormattedRichText,
197
+ FormattedValue,
198
+ Icon,
199
+ IconButton,
200
+ Input,
201
+ KEY_CODES,
202
+ LinkToMilestone,
203
+ LoadingIndicator,
204
+ MAX_FILE_SIZE_75_MB,
205
+ MilestoneForm,
206
+ MilestoneProgress,
207
+ MilestoneProgressView,
208
+ ModalDialog,
209
+ MultiFileUpload,
210
+ NEW_RULE_ID,
211
+ NODE_ENV,
212
+ NavLink,
213
+ Number,
214
+ PaddedCell,
215
+ Pagination,
216
+ Pendo,
217
+ Popup,
218
+ PreventLeaveDialog,
219
+ RULE_TYPES,
220
+ Radio,
221
+ RadioGroup,
222
+ RichText,
223
+ SELECT_ANY_KEY,
224
+ SectionHeader,
225
+ SetView,
226
+ SubHeader,
227
+ Submenu,
228
+ TARGET_WEB_COMPONENTS_BUCKET,
229
+ Tabs,
230
+ MemoizedTaskFormComponent as TaskForm,
231
+ TaskFormHeader,
232
+ TaskTitleCell,
233
+ TenantContext,
234
+ TenantProvider,
235
+ TextArea,
236
+ Toggle,
237
+ UploadError,
238
+ UploadService,
239
+ UppyService,
240
+ UserSelect,
241
+ adminLoadOptions,
242
+ alphaSortCollectionByKey,
243
+ api,
244
+ baseClearIcon,
245
+ capitalizeAndJoin,
246
+ checkErrorBody,
247
+ createUploadService,
248
+ crunchClasses,
249
+ dateToTimezoneDate,
250
+ debounce,
251
+ defaultDictionary,
252
+ encodeSearchTerms,
253
+ executeRequest,
254
+ extractQuestionsFromSection,
255
+ findFirstActiveAttachmentType,
256
+ flushStorage,
257
+ generateId,
258
+ getDatetimeFormat,
259
+ getElementAncestorComponent,
260
+ getFormElementsByIds,
261
+ getStoredItem,
262
+ injectScript,
263
+ isArray,
264
+ isBool,
265
+ isCayuseError,
266
+ isFunction,
267
+ isMap,
268
+ isNonEmptyArray,
269
+ isNonEmptyMap,
270
+ isNonEmptyObject,
271
+ isNonEmptyString,
272
+ isNumber,
273
+ isObject,
274
+ isObjectWithKey,
275
+ isString,
276
+ isUrl,
277
+ linkTasksToMilestone,
278
+ loginWithRedirect,
279
+ notify,
280
+ registerGetTokenSilently,
281
+ removeDOMNode,
282
+ request,
283
+ setDictionary,
284
+ setLoginTenantId,
285
+ simulateInputBlur,
286
+ simulateInputChange,
287
+ sortCollectionByKey,
288
+ storeItem,
289
+ trim,
290
+ uppyEvents,
291
+ uppyInitialState,
292
+ useActiveColumns,
293
+ useAuth,
294
+ useClickOutside,
295
+ useConfirmNavigation,
296
+ useDebounceCallback,
297
+ useDictionary,
298
+ useModalState,
299
+ useTenantContext,
300
+ withAuth
301
+ };
302
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,93 @@
1
+ .modal-dialog__presentation {
2
+ position: fixed;
3
+ z-index: 500;
4
+ inset: 0;
5
+ overflow-y: auto;
6
+ pointer-events: initial;
7
+ background-color: rgba(17, 17, 17, 0.25);
8
+ }
9
+
10
+ .modal-dialog__modal {
11
+ position: absolute;
12
+ top: 50%;
13
+ left: 0;
14
+ right: 0;
15
+
16
+ width: 100%;
17
+ min-width: 320px;
18
+ max-width: 650px;
19
+ margin: 0 auto;
20
+
21
+ display: flex;
22
+ flex-direction: column;
23
+ align-items: flex-start;
24
+
25
+ border-radius: 3px;
26
+ background: #fff;
27
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
28
+
29
+ transform: translateY(-50%);
30
+ }
31
+
32
+ .modal-dialog__modal__header {
33
+ display: flex;
34
+ justify-content: space-between;
35
+ align-items: center;
36
+
37
+ width: 100%;
38
+ padding: 12px 24px;
39
+
40
+ border-top-left-radius: 3px;
41
+ border-top-right-radius: 3px;
42
+ background-color: var(--color-cayuse-blue, #0076b6);
43
+ }
44
+
45
+ .modal-dialog__modal__title {
46
+ margin: 0;
47
+
48
+ font-family: Lato;
49
+ font-size: 18px;
50
+ font-style: normal;
51
+ font-weight: 700;
52
+ line-height: 24px; /* 133.333% */
53
+ color: #fff;
54
+
55
+ -webkit-user-select: none;
56
+
57
+ -moz-user-select: none;
58
+
59
+ user-select: none;
60
+ }
61
+
62
+ .button-wrapper button.modal-dialog__modal__close-button {
63
+ background-color: transparent;
64
+ border: none;
65
+ padding: 0 !important;
66
+ cursor: pointer;
67
+ }
68
+
69
+ .button-wrapper button.modal-dialog__modal__close-button:focus {
70
+ outline-color: white !important;
71
+ }
72
+
73
+ .modal-dialog__modal__content {
74
+ display: flex;
75
+
76
+ width: 100%;
77
+ max-height: calc(100vh - 150px);
78
+ padding: 16px 24px;
79
+ }
80
+
81
+ .modal-dialog__modal__actions {
82
+ display: flex;
83
+ justify-content: flex-end;
84
+ align-items: flex-start;
85
+ gap: 8px;
86
+ align-self: stretch;
87
+
88
+ padding: 12px 24px;
89
+
90
+ border-radius: 0 0 3px 3px;
91
+ border-top: 1px solid var(--color-border-default, #ccc);
92
+ background-color: var(--color-very-light-grey, #f5f5f5);
93
+ }
@@ -0,0 +1,35 @@
1
+ declare class UploadError extends Error {
2
+ cause: any;
3
+ constructor(message: string, e?: any);
4
+ }
5
+ type UploadMetadataResource = {
6
+ id: string;
7
+ tenantId: string;
8
+ fileName: string;
9
+ createdAt: Date;
10
+ finalizedAt: Date;
11
+ completedAt: Date;
12
+ uploadedBy: string;
13
+ fileSize: number;
14
+ };
15
+ type ProgressState = {
16
+ status: 'ready' | 'preparing' | 'uploading' | 'finalizing' | 'completed' | 'error' | 'cancelled';
17
+ uploaded: number;
18
+ totalSize: number;
19
+ error?: UploadError;
20
+ };
21
+ type IUploadService = {
22
+ upload: (file: File, onProgress: (progress: ProgressState) => void) => Promise<UploadMetadataResource>;
23
+ downloadUrl: (fileId: string) => Promise<string>;
24
+ download: (fileId: string, fileName: string) => Promise<void>;
25
+ };
26
+ declare const DefaultProps: {
27
+ shouldUseMultipart: (fileSize: number) => boolean;
28
+ maxConcurrentUploads: number;
29
+ request: typeof fetch;
30
+ };
31
+ type UploadServiceProps = Partial<typeof DefaultProps>;
32
+ declare const createUploadService: (props?: UploadServiceProps) => IUploadService;
33
+ declare const UploadService: IUploadService;
34
+
35
+ export { type IUploadService, type ProgressState, UploadError, type UploadMetadataResource, UploadService, type UploadServiceProps, createUploadService };
@@ -0,0 +1,11 @@
1
+ import {
2
+ UploadError,
3
+ UploadService,
4
+ createUploadService
5
+ } from "../../chunk-M2L7SQBQ.js";
6
+ export {
7
+ UploadError,
8
+ UploadService,
9
+ createUploadService
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,106 @@
1
+ .cayuse-input {
2
+ all: unset;
3
+ position: relative;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 8px;
7
+ width: 100%;
8
+ }
9
+
10
+ .cayuse-input__label {
11
+ display: flex;
12
+ font-weight: 700;
13
+ font-size: 14px;
14
+ line-height: 16px;
15
+ color: #111111;
16
+ }
17
+
18
+ .cayuse-input__required {
19
+ font-weight: 700;
20
+ font-size: 24px;
21
+ line-height: 16px;
22
+ color: var(--color-error, #b31200);
23
+ margin-right: 2px;
24
+ }
25
+
26
+ .cayuse-input__description {
27
+ all: unset;
28
+ font-weight: 400;
29
+ font-size: 12px;
30
+ line-height: 12px;
31
+ color: var(--color-dark-grey, #5e5e5e);
32
+ }
33
+
34
+ .cayuse-input > input {
35
+ box-sizing: border-box;
36
+ padding: 11px;
37
+ border-radius: var(--border-radius-inputs);
38
+ border: 1px solid var(--color-border-default);
39
+ background-color: white;
40
+
41
+ font-family: Lato;
42
+ font-size: 14px;
43
+ font-style: normal;
44
+ font-weight: 400;
45
+ line-height: 16px;
46
+ color: #111111;
47
+
48
+ outline: none;
49
+ }
50
+
51
+ .cayuse-input > input:focus,
52
+ .cayuse-input > input:focus-visible {
53
+ border-color: var(--color-focus);
54
+ }
55
+
56
+ .cayuse-input > input::-moz-placeholder {
57
+ color: var(--color-dark-grey, #5e5e5e);
58
+ font-size: 14px;
59
+ font-style: normal;
60
+ font-weight: 400;
61
+ line-height: 16px;
62
+ }
63
+
64
+ .cayuse-input > input::placeholder {
65
+ color: var(--color-dark-grey, #5e5e5e);
66
+ font-size: 14px;
67
+ font-style: normal;
68
+ font-weight: 400;
69
+ line-height: 16px;
70
+ }
71
+
72
+ .cayuse-input > input:disabled {
73
+ background-color: var(--color-very-light-grey, #f5f5f5);
74
+ }
75
+
76
+ .cayuse-input > input[type='search'] {
77
+ padding-left: 38px !important;
78
+ }
79
+
80
+ .cayuse-input > svg[data-icon='search'] {
81
+ position: absolute;
82
+ margin: 0;
83
+ bottom: 12px;
84
+ left: 11px;
85
+ height: 16px;
86
+ width: 16px;
87
+ }
88
+
89
+ .cayuse-input .clear-button {
90
+ all: unset;
91
+ position: absolute;
92
+ right: 11px;
93
+ bottom: 8px;
94
+ padding: 2px 3px 3px 3px;
95
+ border: 1px solid transparent;
96
+ border-radius: var(--border-radius-default);
97
+ cursor: pointer;
98
+ }
99
+
100
+ .cayuse-input .clear-button:focus-visible {
101
+ outline: var(--color-focus) solid 1px;
102
+ }
103
+
104
+ .cayuse-input .clear-button svg {
105
+ margin: 0;
106
+ }
@@ -0,0 +1,20 @@
1
+ .cayuseCommonHeader {
2
+ left: 0;
3
+ position: fixed;
4
+ right: 0;
5
+ top: 0;
6
+ width: 100%;
7
+ z-index: 101;
8
+ }
9
+
10
+ @media screen and (max-width: 1200px) {
11
+ .cayuseCommonHeader {
12
+ width: 100vw;
13
+ }
14
+ }
15
+
16
+ @media (min-width: 320px) and (max-width: 480px) {
17
+ .cayuseCommonHeader {
18
+ position: absolute;
19
+ }
20
+ }
@@ -0,0 +1,70 @@
1
+ .ui.table.table-comment-list {
2
+ margin: 0;
3
+ border-color: #ccc;
4
+ }
5
+
6
+ .ui.table.table-comment-list .actions-header {
7
+ border-left: none;
8
+ }
9
+
10
+ .ui.table.table-comment-list .comment-content {
11
+ color: var(--color-dark-grey);
12
+ }
13
+
14
+ .ui.table.table-comment-list td.actions-content {
15
+ display: flex;
16
+ gap: 8px;
17
+ flex-wrap: nowrap;
18
+ flex-direction: row;
19
+ overflow: visible;
20
+ }
21
+
22
+ .ui.table.table-comment-list td {
23
+ vertical-align: top;
24
+ }
25
+
26
+ .ui.table.table-comment-list th.desc:after {
27
+ content: '\f0d7' !important;
28
+ }
29
+
30
+ .ui.table.table-comment-list th.asc:after {
31
+ content: '\f0d8' !important;
32
+ }
33
+
34
+ .ui.table.table-comment-list th {
35
+ padding: 12px;
36
+
37
+ background-color: #f5f5f5;
38
+
39
+ font-size: 14px;
40
+ font-style: normal;
41
+ font-weight: 700;
42
+ line-height: 16px;
43
+ color: #111;
44
+ }
45
+
46
+ .table-comment-list__action-comment-button {
47
+ all: unset;
48
+ color: var(--color-cayuse-blue, #0076b6);
49
+ cursor: pointer !important;
50
+ font-size: 16px;
51
+ }
52
+
53
+ .table-comment-list__action-comment-edit-button {
54
+ padding-top: 2px;
55
+ }
56
+
57
+ .delete-dialog-description {
58
+ display: inline-block;
59
+ word-wrap: break-word;
60
+ max-width: 380px;
61
+ }
62
+
63
+ .table-comment-list__action-comment-button:focus-visible {
64
+ outline: 2px solid #5092f7;
65
+ outline-offset: 1px;
66
+ }
67
+
68
+ .table-comment-list__action-comment-button.disabled {
69
+ display: none !important;
70
+ }