@bindu-dashing/dam-solution 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 (48) hide show
  1. package/README.md +1 -0
  2. package/dist/AssetType/assetTypeContainer.js +40 -0
  3. package/dist/AssetType/assetTypeTable.js +359 -0
  4. package/dist/AssetType/createAssetType.js +832 -0
  5. package/dist/AssetType/index.js +26 -0
  6. package/dist/AssetType/style.css +110 -0
  7. package/dist/Components/ImagePickerFiltersTest.js +121 -0
  8. package/dist/Components/ImagePickerTest.js +120 -0
  9. package/dist/CreateClient/createClient.js +34 -0
  10. package/dist/CreateClient/createClientForm.js +269 -0
  11. package/dist/CreateClient/index.js +26 -0
  12. package/dist/Folder/ImagePickerFolder.js +47 -0
  13. package/dist/Folder/index.js +26 -0
  14. package/dist/Folder/style.css +0 -0
  15. package/dist/Folders/bulkDownload.js +102 -0
  16. package/dist/Folders/bulkUpdate.js +186 -0
  17. package/dist/Folders/bulkUploadFiles.js +162 -0
  18. package/dist/Folders/bulkUploadUsingQueue.js +404 -0
  19. package/dist/Folders/createOrUpdateFolder.js +264 -0
  20. package/dist/Folders/exportFolder.js +109 -0
  21. package/dist/Folders/file.js +194 -0
  22. package/dist/Folders/fileManagementContainer.js +345 -0
  23. package/dist/Folders/files.js +315 -0
  24. package/dist/Folders/filesContainer.js +650 -0
  25. package/dist/Folders/filesListView.js +439 -0
  26. package/dist/Folders/foldersContainer.js +408 -0
  27. package/dist/Folders/foldersTree.js +136 -0
  28. package/dist/Folders/index.js +26 -0
  29. package/dist/Folders/style.css +400 -0
  30. package/dist/Folders/uploadFile.js +507 -0
  31. package/dist/ImagePicker/imagePicker.js +141 -0
  32. package/dist/ImagePicker/imagePickerFiles.js +42 -0
  33. package/dist/ImagePicker/index.js +26 -0
  34. package/dist/ImagePicker/style.css +128 -0
  35. package/dist/ImagePickerFilters/imagePickerFilters.js +382 -0
  36. package/dist/ImagePickerFilters/index.js +26 -0
  37. package/dist/ImagePickerFilters/style.css +15 -0
  38. package/dist/RefreshKey/index.js +26 -0
  39. package/dist/RefreshKey/refreshKey.js +86 -0
  40. package/dist/assets/images/default-img.svg +9 -0
  41. package/dist/constants/actionTypes.js +74 -0
  42. package/dist/constants/apiEndpoints.js +88 -0
  43. package/dist/constants/appConstants.js +55 -0
  44. package/dist/hocs/folderHelpers.js +76 -0
  45. package/dist/hocs/helpers.js +52 -0
  46. package/dist/hocs/useFetch.js +97 -0
  47. package/dist/index.js +55 -0
  48. package/package.json +61 -0
@@ -0,0 +1,400 @@
1
+ * {
2
+ padding: 0;
3
+ margin: 0;
4
+ box-sizing: border-box;
5
+ }
6
+ .files-container {
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ gap: 10px;
10
+ margin-top: 30px;
11
+ min-height: calc(100vh - 305px);
12
+ }
13
+ .file-pagination {
14
+ margin-top: 10px;
15
+ display: flex;
16
+ justify-content: flex-end;
17
+ }
18
+ .empty-files-container {
19
+ display: flex;
20
+ height: calc(100vh - 204px);
21
+ align-items: center;
22
+ justify-content: center;
23
+ }
24
+ .ant-tree .ant-tree-treenode {
25
+ padding: 0px;
26
+ }
27
+ .ant-tree-node-content-wrapper-normal,
28
+ .ant-tree-node-content-wrapper-close {
29
+ padding: 5px !important;
30
+ }
31
+ .ant-tree-treenode-selected::before {
32
+ border-radius: 4px;
33
+ }
34
+ .ant-tree-treenode-selected .anticon-folder-open {
35
+ color: white !important;
36
+ }
37
+ .ant-tree-treenode-selected .anticon-folder {
38
+ color: white !important;
39
+ }
40
+ .file-selection .ant-image {
41
+ height: 190px;
42
+ overflow: hidden;
43
+ border-radius: 6px;
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: center;
47
+ }
48
+ .file-selection .ant-image .ant-image-img {
49
+ /* height: 100% !important; */
50
+ width: fit-content;
51
+ }
52
+ .file-selection .img-loading {
53
+ height: 190px;
54
+ overflow: hidden;
55
+ border-radius: 6px;
56
+ align-items: center;
57
+ display: flex;
58
+ justify-content: center;
59
+ }
60
+ .file-container .description .ant-typography {
61
+ font-size: 14px;
62
+ font-weight: 500;
63
+ padding: 0 5px;
64
+ }
65
+ .file-container .description .ant-checkbox-wrapper {
66
+ margin-left: auto;
67
+ }
68
+ .file-container .description .more-icon {
69
+ margin-left: auto;
70
+ font-size: 20px;
71
+ margin-right: 5px;
72
+ }
73
+ .file-container .description {
74
+ display: flex;
75
+ margin-top: 10px;
76
+ padding: 4px;
77
+ border-radius: 4px;
78
+ }
79
+
80
+ .file-container {
81
+ border: 1px solid silver;
82
+ border-radius: 6px;
83
+ padding: 8px;
84
+ width: 210px;
85
+ height: 245px;
86
+ }
87
+ .file-selection {
88
+ position: relative;
89
+ }
90
+ .file-selection .dam-file-checkbox {
91
+ position: absolute;
92
+ top: 2px;
93
+ opacity: 0;
94
+ z-index: 1;
95
+ left: 172px;
96
+ transition: opacity 0.35s ease;
97
+ /* @include mobile {
98
+ top: 50px;
99
+ left: 30px;
100
+ } */
101
+ }
102
+ .file-selection:hover .dam-file-checkbox {
103
+ opacity: 1;
104
+ }
105
+ .file-selection .dam-file-checkbox .ant-checkbox-inner {
106
+ padding: 10px;
107
+ }
108
+ .file-selection .dam-file-checkbox-selected {
109
+ position: absolute;
110
+ top: 2px;
111
+ z-index: 1;
112
+ left: 172px;
113
+ transition: opacity 0.35s ease;
114
+ /* @include mobile {
115
+ top: 50px;
116
+ left: 30px;
117
+ } */
118
+ opacity: 1;
119
+ }
120
+ .file-selection .dam-file-checkbox-selected .ant-checkbox-inner,
121
+ .ant-checkbox-input {
122
+ transform: scale(1.5);
123
+ }
124
+ .file-selection .select-text {
125
+ position: absolute;
126
+ top: 100px;
127
+ opacity: 0;
128
+ z-index: 1;
129
+ left: 60px;
130
+ transition: opacity 0.35s ease;
131
+ }
132
+ .file-selection:hover .select-text {
133
+ opacity: 1;
134
+ }
135
+ .folders-container .ant-tree {
136
+ margin-top: 20px;
137
+ }
138
+ .folders-container .ant-tree-list {
139
+ /* border-left: 2px solid var(--color, #18bfcd); */
140
+ padding-left: 10px;
141
+ }
142
+ .ant-tree-list .ant-tree-treenode {
143
+ /* padding: 5px; */
144
+ }
145
+ .ant-tree-treenode-selected::before {
146
+ background: transparent !important;
147
+ }
148
+ .ant-tree-node-selected {
149
+ color: #000000 !important;
150
+ border-left: 2px solid var(--color, #18bfcd) !important;
151
+ }
152
+ .ant-tree-node-content-wrapper-open {
153
+ border-left: 2px solid var(--color, #18bfcd) !important;
154
+ height: 100% !important;
155
+ padding: 5px !important;
156
+ }
157
+ .ant-tree-indent-unit {
158
+ width: 10px !important;
159
+ border-left: 2px solid var(--color, #18bfcd) !important;
160
+ height: 100%;
161
+ }
162
+ .ant-tree-treenode {
163
+ height: 100% !important;
164
+ color: #999999;
165
+ }
166
+ .ant-tree-node-content-wrapper {
167
+ overflow: hidden;
168
+ /* text-overflow: ellipsis; */
169
+ white-space: normal;
170
+ }
171
+ .ant-tree-switcher {
172
+ display: none;
173
+ }
174
+ .ant-tree-list .ant-tree-treenode .ant-tree-title {
175
+ font-size: 18px;
176
+ font-weight: 500;
177
+ margin-left: 10px;
178
+ }
179
+ .ant-tree-list .ant-tree-treenode .anticon-folder {
180
+ font-size: 16px;
181
+ color: #1677ff;
182
+ }
183
+ .ant-tree-list .ant-tree-treenode .anticon-folder-open {
184
+ font-size: 16px;
185
+ color: #1677ff;
186
+ }
187
+ .folders-tree {
188
+ height: inherit;
189
+ /* overflow-y: scroll; */
190
+ padding: 10px 20px 0;
191
+ /* border-right: 1px solid rgb(223, 223, 223); */
192
+ }
193
+ .folders-container .folders-tree .ant-btn {
194
+ margin-bottom: 30px;
195
+ }
196
+ .folders-container {
197
+ display: flex;
198
+ }
199
+ .folders-container .folders-tree ::-webkit-scrollbar {
200
+ display: none;
201
+ }
202
+ .right-container {
203
+ padding: 10px 20px;
204
+ }
205
+ .right-container .dam-folder-search {
206
+ margin-top: 10px;
207
+ }
208
+ .right-container .dam-files-selection-header {
209
+ display: flex;
210
+ background-color: rgb(240, 240, 240);
211
+ padding: 10px 15px;
212
+ margin-top: 20px;
213
+ border-radius: 4px;
214
+ }
215
+ .right-container
216
+ .dam-files-selection-header
217
+ .dam-files-selection-left-container
218
+ .ant-checkbox {
219
+ margin-right: 10px;
220
+ }
221
+ .right-container
222
+ .dam-files-selection-header
223
+ .dam-files-selection-left-container
224
+ .ant-checkbox-inner,
225
+ .ant-checkbox-input {
226
+ transform: scale(1.5);
227
+ }
228
+ .dam-files-selection-right-container {
229
+ margin-left: auto;
230
+ }
231
+ .dam-files-selection-right-container .anticon {
232
+ font-size: 20px;
233
+ cursor: pointer;
234
+ }
235
+ .empty-container {
236
+ display: flex;
237
+ height: calc(100vh - 64px);
238
+ align-items: center;
239
+ justify-content: center;
240
+ }
241
+ .empty-container1 {
242
+ display: flex;
243
+ height: calc(100vh - 204px);
244
+ align-items: center;
245
+ justify-content: center;
246
+ }
247
+ .folder-title {
248
+ margin: 0 !important;
249
+ justify-content: flex-start;
250
+ }
251
+ .file-management-page .dam-loading {
252
+ display: flex;
253
+ justify-content: center;
254
+ align-items: center;
255
+ height: calc(100vh - 400px);
256
+ }
257
+ .file-management-page .ant-btn {
258
+ margin-left: auto;
259
+ }
260
+ .file-management-page {
261
+ display: flex;
262
+ flex-direction: column;
263
+ height: auto;
264
+ }
265
+ .file-management-page .ant-btn {
266
+ margin-left: auto;
267
+ }
268
+ .dam-files-loading {
269
+ display: flex;
270
+ height: 80vh;
271
+ justify-content: center;
272
+ align-items: center;
273
+ }
274
+ .dam-upload-file .dam-loading {
275
+ display: flex;
276
+ height: 90vh;
277
+ justify-content: center;
278
+ align-items: center;
279
+ }
280
+ .create-update-dam-folder .dam-loading {
281
+ display: flex;
282
+ height: 90vh;
283
+ justify-content: center;
284
+ align-items: center;
285
+ }
286
+ .right-container .anticon-ellipsis {
287
+ display: none;
288
+ }
289
+ .ant-dropdown-menu-title-content .ant-btn {
290
+ width: 100%;
291
+ }
292
+ .ant-upload-select {
293
+ width: 100%;
294
+ }
295
+ .ant-upload-select .ant-btn {
296
+ width: 100%;
297
+ }
298
+ .files-container-component-buttons .dam-files-sort {
299
+ display: flex;
300
+ margin-left: 5px;
301
+ }
302
+ .files-container-component-buttons .gutter-row {
303
+ margin-top: 5px;
304
+ }
305
+ .files-container-component-buttons .dam-files-sort .sort-order {
306
+ cursor: pointer;
307
+ margin-right: 5px;
308
+ }
309
+ .files-container-component-buttons .dam-files-sort .sort-order:hover {
310
+ color: var(--color, #18bfcd);
311
+ }
312
+ .dam-files-sort-mobile {
313
+ display: none;
314
+ }
315
+ .dam-files-sort-mobile .sort-order {
316
+ cursor: pointer;
317
+ margin-right: 5px;
318
+ }
319
+ .dam-files-sort-mobile .sort-order :hover {
320
+ color: var(--color, #18bfcd);
321
+ }
322
+ @media (max-width: 767px) {
323
+ .folders-tree {
324
+ padding: 0;
325
+ border-right: none;
326
+ margin-top: 12px;
327
+ }
328
+ .files-container {
329
+ justify-content: center;
330
+ min-height: calc(100vh - 340px);
331
+ }
332
+ .file-container {
333
+ width: 129px;
334
+ }
335
+ .file-container .description {
336
+ margin-top: 0;
337
+ padding: 0;
338
+ }
339
+ .file-selection .ant-image {
340
+ height: 115px;
341
+ }
342
+ .file-selection .img-loading {
343
+ height: 115px;
344
+ align-items: center;
345
+ display: flex;
346
+ justify-content: center;
347
+ }
348
+ .ant-drawer .ant-drawer-content-wrapper {
349
+ width: 100% !important;
350
+ }
351
+ }
352
+ @media (max-width: 992px) {
353
+ .files-container-component-buttons {
354
+ display: none;
355
+ }
356
+ .right-container .anticon-ellipsis {
357
+ display: inline;
358
+ }
359
+ .dam-files-sort-mobile {
360
+ display: flex;
361
+ }
362
+ }
363
+ .dam-upload-file .dam-upload-file-title {
364
+ display: flex;
365
+ flex-direction: column;
366
+ }
367
+ .dam-upload-file-title .description {
368
+ font-size: 13px;
369
+ color: gray;
370
+ font-weight: 400;
371
+ width: 420px;
372
+ }
373
+ .dam-file-list-view-name {
374
+ display: flex;
375
+ align-items: center;
376
+ .ant-typography {
377
+ margin-left: 5px;
378
+ }
379
+ }
380
+ .dam-files-list-view {
381
+ margin-top: 20px;
382
+ margin-bottom: 20px;
383
+ }
384
+ .dam-delete-folder-confirm-title {
385
+ color: var(--color, #18bfcd);
386
+ overflow-wrap: break-word;
387
+ }
388
+ .dam-delete-folder-modal .ant-modal-body {
389
+ margin: 10px;
390
+ }
391
+
392
+ .bulk-upload-info {
393
+ display: flex;
394
+ align-items: center;
395
+ }
396
+ .bulk-upload-info .anticon {
397
+ margin-top: 2px;
398
+ margin-left: 5px;
399
+ cursor: pointer;
400
+ }