@solidstarters/solid-core-ui 1.1.29 → 1.1.31

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 (85) hide show
  1. package/dist/components/auth/AuthLayout.d.ts.map +1 -1
  2. package/dist/components/auth/AuthLayout.js +2 -1
  3. package/dist/components/auth/AuthLayout.js.map +1 -1
  4. package/dist/components/auth/SolidLogin.js +2 -2
  5. package/dist/components/auth/SolidLogin.js.map +1 -1
  6. package/dist/components/auth/SolidRegister.d.ts.map +1 -1
  7. package/dist/components/auth/SolidRegister.js +2 -2
  8. package/dist/components/auth/SolidRegister.js.map +1 -1
  9. package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
  10. package/dist/components/core/common/FilterComponent.js +1 -1
  11. package/dist/components/core/common/FilterComponent.js.map +1 -1
  12. package/dist/components/core/common/SolidConfigureLayoutElement.js +1 -1
  13. package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
  14. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  15. package/dist/components/core/form/SolidFormView.js +11 -4
  16. package/dist/components/core/form/SolidFormView.js.map +1 -1
  17. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  18. package/dist/components/core/list/SolidListView.js +43 -40
  19. package/dist/components/core/list/SolidListView.js.map +1 -1
  20. package/dist/components/core/model/CreateModel.d.ts.map +1 -1
  21. package/dist/components/core/model/CreateModel.js +1 -1
  22. package/dist/components/core/model/CreateModel.js.map +1 -1
  23. package/dist/components/core/model/FieldMetaData.js +1 -1
  24. package/dist/components/core/model/FieldMetaData.js.map +1 -1
  25. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
  26. package/dist/components/core/model/FieldMetaDataForm.js +5 -5
  27. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  28. package/dist/components/core/model/FieldSelector.js +1 -1
  29. package/dist/components/core/model/FieldSelector.js.map +1 -1
  30. package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
  31. package/dist/components/core/model/ModelMetaData.js +30 -30
  32. package/dist/components/core/model/ModelMetaData.js.map +1 -1
  33. package/dist/components/core/module/CreateModule.d.ts.map +1 -1
  34. package/dist/components/core/module/CreateModule.js +23 -22
  35. package/dist/components/core/module/CreateModule.js.map +1 -1
  36. package/dist/components/core/users/CreateUser.d.ts.map +1 -1
  37. package/dist/components/core/users/CreateUser.js +13 -14
  38. package/dist/components/core/users/CreateUser.js.map +1 -1
  39. package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
  40. package/dist/components/layout/user-profile-menu.js +1 -1
  41. package/dist/components/layout/user-profile-menu.js.map +1 -1
  42. package/dist/resources/fonts/SF-Pro-Display-Black.otf +0 -0
  43. package/dist/resources/fonts/SF-Pro-Display-Bold.otf +0 -0
  44. package/dist/resources/fonts/SF-Pro-Display-Heavy.otf +0 -0
  45. package/dist/resources/fonts/SF-Pro-Display-Light.otf +0 -0
  46. package/dist/resources/fonts/SF-Pro-Display-Medium.otf +0 -0
  47. package/dist/resources/fonts/SF-Pro-Display-Regular.otf +0 -0
  48. package/dist/resources/fonts/SF-Pro-Display-Semibold.otf +0 -0
  49. package/dist/resources/fonts/SF-Pro-Display-Thin.otf +0 -0
  50. package/dist/resources/fonts/SF-Pro-Display-Ultralight.otf +0 -0
  51. package/dist/resources/globals.css +227 -11
  52. package/dist/resources/solid-primereact.css +2983 -0
  53. package/dist/resources/stylesheets/_main.scss +3 -1
  54. package/dist/resources/themes/solid-dark-purple/theme.css +6082 -0
  55. package/dist/resources/themes/solid-light-purple/theme.css +6124 -0
  56. package/package.json +1 -1
  57. package/src/components/auth/AuthLayout.tsx +11 -2
  58. package/src/components/auth/SolidLogin.tsx +2 -2
  59. package/src/components/auth/SolidRegister.tsx +42 -36
  60. package/src/components/core/common/FilterComponent.tsx +3 -2
  61. package/src/components/core/common/SolidConfigureLayoutElement.tsx +1 -1
  62. package/src/components/core/form/SolidFormView.tsx +26 -7
  63. package/src/components/core/list/SolidListView.tsx +14 -0
  64. package/src/components/core/model/CreateModel.tsx +2 -0
  65. package/src/components/core/model/FieldMetaData.tsx +3 -3
  66. package/src/components/core/model/FieldMetaDataForm.tsx +14 -17
  67. package/src/components/core/model/FieldSelector.tsx +1 -1
  68. package/src/components/core/model/ModelMetaData.tsx +158 -158
  69. package/src/components/core/module/CreateModule.tsx +178 -173
  70. package/src/components/core/users/CreateUser.tsx +123 -120
  71. package/src/components/layout/user-profile-menu.tsx +6 -5
  72. package/src/resources/fonts/SF-Pro-Display-Black.otf +0 -0
  73. package/src/resources/fonts/SF-Pro-Display-Bold.otf +0 -0
  74. package/src/resources/fonts/SF-Pro-Display-Heavy.otf +0 -0
  75. package/src/resources/fonts/SF-Pro-Display-Light.otf +0 -0
  76. package/src/resources/fonts/SF-Pro-Display-Medium.otf +0 -0
  77. package/src/resources/fonts/SF-Pro-Display-Regular.otf +0 -0
  78. package/src/resources/fonts/SF-Pro-Display-Semibold.otf +0 -0
  79. package/src/resources/fonts/SF-Pro-Display-Thin.otf +0 -0
  80. package/src/resources/fonts/SF-Pro-Display-Ultralight.otf +0 -0
  81. package/src/resources/globals.css +227 -11
  82. package/src/resources/solid-primereact.css +2983 -0
  83. package/src/resources/stylesheets/_main.scss +3 -1
  84. package/src/resources/themes/solid-dark-purple/theme.css +6082 -0
  85. package/src/resources/themes/solid-light-purple/theme.css +6124 -0
@@ -21,6 +21,7 @@ import { InputText } from "primereact/inputtext";
21
21
  import { InputTextarea } from "primereact/inputtextarea";
22
22
  import { Message } from "primereact/message";
23
23
  import { OverlayPanel } from "primereact/overlaypanel";
24
+ import { Panel } from "primereact/panel";
24
25
  import { ProgressBar } from "primereact/progressbar";
25
26
  import { Toast } from "primereact/toast";
26
27
  import { classNames } from "primereact/utils";
@@ -418,191 +419,195 @@ const CreateModule = ({ data }: any) => {
418
419
  <SolidFormStepper />
419
420
  </div> */}
420
421
  <div className="p-4 solid-form-content">
421
- <p className="form-wrapper-heading text-base">Basic Info</p>
422
- <div className="formgrid grid">
423
- <div className="field col-6 flex flex-column gap-2">
424
- <label htmlFor="displayName" className="form-field-label">
425
- Display Name <span style={{ color: 'red' }}>*</span>
426
- </label>
427
- <InputText
428
- disabled={data ? true : false}
429
- type="text"
430
- id="displayName"
431
- name="displayName"
432
- // onChange={formik.handleChange}
433
- onChange={(e) => {
434
- formik.handleChange(e);
435
- const { toKebabCase, toSnakeCase, toPluralCamelCase } = getSingularAndPlural(e.target.value);
436
- if (pathname.includes('new')) {
437
- formik.setFieldValue("name", toKebabCase);
438
- }
439
-
440
- }}
441
- value={formik.values.displayName}
442
- className={classNames("", {
443
- "p-invalid": isFormFieldValid(formik, "displayName"),
444
- })}
445
- />
446
- {isFormFieldValid(formik, "displayName") && (
447
- <Message
448
- severity="error"
449
- text={formik?.errors?.displayName?.toString()}
422
+ {/* <p className="form-wrapper-heading text-base">Basic Info</p> */}
423
+ <Panel header={"Basic Info"} className="solid-column-panel">
424
+ <div className="formgrid grid mt-3">
425
+ <div className="field col-6 flex flex-column gap-2">
426
+ <label htmlFor="displayName" className="form-field-label">
427
+ Display Name <span style={{ color: 'red' }}>*</span>
428
+ </label>
429
+ <InputText
430
+ disabled={data ? true : false}
431
+ type="text"
432
+ id="displayName"
433
+ name="displayName"
434
+ // onChange={formik.handleChange}
435
+ onChange={(e) => {
436
+ formik.handleChange(e);
437
+ const { toKebabCase, toSnakeCase, toPluralCamelCase } = getSingularAndPlural(e.target.value);
438
+ if (pathname.includes('new')) {
439
+ formik.setFieldValue("name", toKebabCase);
440
+ }
441
+
442
+ }}
443
+ value={formik.values.displayName}
444
+ className={classNames("", {
445
+ "p-invalid": isFormFieldValid(formik, "displayName"),
446
+ })}
450
447
  />
451
- )}
452
- </div>
453
- <div className="field col-6 flex flex-column gap-2">
454
- <label htmlFor="name" className="form-field-label">
455
- Name <span style={{ color: 'red' }}>*</span>
456
- </label>
457
- <InputText
458
- disabled
459
- type="text"
460
- id="name"
461
- name="name"
462
- onChange={formik.handleChange}
463
- value={formik.values.name}
464
- className={classNames("", {
465
- "p-invalid": isFormFieldValid(formik, "name"),
466
- })}
467
- />
468
- {isFormFieldValid(formik, "name") && (
469
- <Message severity="error" text={formik?.errors?.name?.toString()} />
470
- )}
471
- </div>
472
- </div>
473
- <div className="formgrid grid mt-4">
474
- <div className="field col-6 flex flex-column gap-2">
475
- <label htmlFor="description" className="form-field-label">
476
- Menu Sequence Number
477
- </label>
478
- <InputText
479
- id="menuSequenceNumber"
480
- type="number"
481
- onChange={formik.handleChange}
482
- min={0}
483
- value={formik.values.menuSequenceNumber}
484
- className={classNames("", {
485
- "p-invalid": isFormFieldValid(formik, "menuSequenceNumber"),
486
- })}
487
- />
488
- {isFormFieldValid(formik, "menuSequenceNumber") && (
489
- <Message
490
- severity="error"
491
- text={formik?.errors?.menuSequenceNumber?.toString()}
448
+ {isFormFieldValid(formik, "displayName") && (
449
+ <Message
450
+ severity="error"
451
+ text={formik?.errors?.displayName?.toString()}
452
+ />
453
+ )}
454
+ </div>
455
+ <div className="field col-6 flex flex-column gap-2">
456
+ <label htmlFor="name" className="form-field-label">
457
+ Name <span style={{ color: 'red' }}>*</span>
458
+ </label>
459
+ <InputText
460
+ disabled
461
+ type="text"
462
+ id="name"
463
+ name="name"
464
+ onChange={formik.handleChange}
465
+ value={formik.values.name}
466
+ className={classNames("", {
467
+ "p-invalid": isFormFieldValid(formik, "name"),
468
+ })}
492
469
  />
493
- )}
470
+ {isFormFieldValid(formik, "name") && (
471
+ <Message severity="error" text={formik?.errors?.name?.toString()} />
472
+ )}
473
+ </div>
494
474
  </div>
495
- <div className="field col-6 flex flex-column gap-2">
496
- <label htmlFor="description" className="form-field-label">
497
- Description <span style={{ color: 'red' }}>*</span>
498
- </label>
499
- <InputTextarea
500
- id="description"
501
- name="description"
502
- onChange={formik.handleChange}
503
- value={formik.values.description}
504
- className={classNames("", {
505
- "p-invalid": isFormFieldValid(formik, "description"),
506
- })}
507
- rows={5}
508
- cols={30}
509
- />
510
- {isFormFieldValid(formik, "description") && (
511
- <Message
512
- severity="error"
513
- text={formik?.errors?.description?.toString()}
475
+ <div className="formgrid grid mt-4">
476
+ <div className="field col-6 flex flex-column gap-2">
477
+ <label htmlFor="description" className="form-field-label">
478
+ Menu Sequence Number
479
+ </label>
480
+ <InputText
481
+ id="menuSequenceNumber"
482
+ type="number"
483
+ onChange={formik.handleChange}
484
+ min={0}
485
+ value={formik.values.menuSequenceNumber}
486
+ className={classNames("", {
487
+ "p-invalid": isFormFieldValid(formik, "menuSequenceNumber"),
488
+ })}
514
489
  />
515
- )}
516
- </div>
517
- </div>
518
- <Divider />
519
- <p className="form-wrapper-heading text-base" style={{ fontSize: 16 }}>Configurations</p>
520
- <div className="formgrid grid">
521
- <div className="field col-6 flex flex-column gap-2">
522
- <label htmlFor="defaultDataSource" className="form-field-label">
523
- Default Data Source
524
- </label>
525
- <SingleSelectAutoCompleteField
526
- disabled={data ? true : false}
527
- key="defaultDataSource"
528
- formik={formik}
529
- isFormFieldValid={isFormFieldValid}
530
- // relationField={false}
531
- fieldName="defaultDataSource"
532
- fieldNameId={null}
533
- labelKey="label"
534
- valueKey="value"
535
- searchData={serachDDefaultDataSource}
536
- existingData={formik.values.defaultDataSource}
537
- />
538
- {isFormFieldValid(formik, "defaultDataSource") && (
539
- <Message
540
- severity="error"
541
- text={formik?.errors?.defaultDataSource?.toString()}
490
+ {isFormFieldValid(formik, "menuSequenceNumber") && (
491
+ <Message
492
+ severity="error"
493
+ text={formik?.errors?.menuSequenceNumber?.toString()}
494
+ />
495
+ )}
496
+ </div>
497
+ <div className="field col-6 flex flex-column gap-2">
498
+ <label htmlFor="description" className="form-field-label">
499
+ Description <span style={{ color: 'red' }}>*</span>
500
+ </label>
501
+ <InputTextarea
502
+ id="description"
503
+ name="description"
504
+ onChange={formik.handleChange}
505
+ value={formik.values.description}
506
+ className={classNames("", {
507
+ "p-invalid": isFormFieldValid(formik, "description"),
508
+ })}
509
+ rows={5}
510
+ cols={30}
542
511
  />
543
- )}
512
+ {isFormFieldValid(formik, "description") && (
513
+ <Message
514
+ severity="error"
515
+ text={formik?.errors?.description?.toString()}
516
+ />
517
+ )}
518
+ </div>
544
519
  </div>
545
- <div className="field col-6 flex flex-column gap-2">
546
- <label htmlFor="menuIconUrl" className="form-label form-field-label">
547
- Menu Icon <small className="text-red-500 helper-text">(only svg, png and jpeg are allowed)</small>
548
- </label>
549
- <div {...getRootPropsmenuIcon()} className="solid-dropzone-wrapper">
550
- <input {...getInputPropsmenuIcon()} />
551
- <DropzonePlaceholder />
520
+ </Panel>
521
+ {/* <Divider /> */}
522
+ {/* <p className="form-wrapper-heading text-base" style={{ fontSize: 16 }}>Configurations</p> */}
523
+ <Panel header={"Configurations"} className="solid-column-panel mt-4">
524
+ <div className="formgrid grid mt-3">
525
+ <div className="field col-6 flex flex-column gap-2">
526
+ <label htmlFor="defaultDataSource" className="form-field-label">
527
+ Default Data Source
528
+ </label>
529
+ <SingleSelectAutoCompleteField
530
+ disabled={data ? true : false}
531
+ key="defaultDataSource"
532
+ formik={formik}
533
+ isFormFieldValid={isFormFieldValid}
534
+ // relationField={false}
535
+ fieldName="defaultDataSource"
536
+ fieldNameId={null}
537
+ labelKey="label"
538
+ valueKey="value"
539
+ searchData={serachDDefaultDataSource}
540
+ existingData={formik.values.defaultDataSource}
541
+ />
542
+ {isFormFieldValid(formik, "defaultDataSource") && (
543
+ <Message
544
+ severity="error"
545
+ text={formik?.errors?.defaultDataSource?.toString()}
546
+ />
547
+ )}
552
548
  </div>
553
- {isFormFieldValid(formik, "menuIconUrl") && (
554
- <Message severity="error" text={formik?.errors?.menuIconUrl?.toString()} />
555
- )}
556
-
557
- {fileDetails && (
558
- <div className="solid-file-upload-wrapper">
559
- <div className="flex align-items-center gap-2">
560
- <FileReaderExt fileDetails={fileDetails} />
561
- <div className="w-full flex flex-column gap-1">
562
- <div className="flex align-items-center justify-content-between">
563
- <div className="font-bold">{fileDetails.name}</div>
564
- <div className="cancel-upload-button" onClick={handleCancelUpload}>
565
- <svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" viewBox="0 0 6 6" fill="none">
566
- <path d="M0.6 6L0 5.4L2.4 3L0 0.6L0.6 0L3 2.4L5.4 0L6 0.6L3.6 3L6 5.4L5.4 6L3 3.6L0.6 6Z" fill="#4B4D52" />
567
- </svg>
568
- </div>
569
- </div>
570
- {
571
- uploadCompleted ?
572
- <div className="flex align-items-center gap-2 text-sm">
573
- {totalSize} of {totalSize}
574
- <svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4" fill="none">
575
- <circle cx="2" cy="2" r="2" fill="#C1C1C1" />
576
- </svg>
577
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
578
- <mask id="mask0_2480_8635" style={{ maskType: 'alpha' }} maskUnits="userSpaceOnUse" x="0" y="0" width="20" height="20">
579
- <rect width="20" height="20" fill="#D9D9D9" />
580
- </mask>
581
- <g mask="url(#mask0_2480_8635)">
582
- <path d="M9.16 12.76L13.39 8.53L12.55 7.69L9.16 11.08L7.45 9.37L6.61 10.21L9.16 12.76ZM10 16C9.17 16 8.39 15.8424 7.66 15.5272C6.93 15.2124 6.295 14.785 5.755 14.245C5.215 13.705 4.7876 13.07 4.4728 12.34C4.1576 11.61 4 10.83 4 10C4 9.17 4.1576 8.39 4.4728 7.66C4.7876 6.93 5.215 6.295 5.755 5.755C6.295 5.215 6.93 4.7874 7.66 4.4722C8.39 4.1574 9.17 4 10 4C10.83 4 11.61 4.1574 12.34 4.4722C13.07 4.7874 13.705 5.215 14.245 5.755C14.785 6.295 15.2124 6.93 15.5272 7.66C15.8424 8.39 16 9.17 16 10C16 10.83 15.8424 11.61 15.5272 12.34C15.2124 13.07 14.785 13.705 14.245 14.245C13.705 14.785 13.07 15.2124 12.34 15.5272C11.61 15.8424 10.83 16 10 16Z" fill="#722ED1" />
583
- </g>
584
- </svg>
585
- Completed
586
- </div>
587
- :
588
- <div className="flex align-items-center gap-2 text-sm">
589
- {uploadedSize} of {totalSize}
590
- <svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4" fill="none">
591
- <circle cx="2" cy="2" r="2" fill="#C1C1C1" />
592
- </svg>
593
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
594
- <path d="M7.375 10.5V5.40625L5.75 7.03125L4.875 6.125L8 3L11.125 6.125L10.25 7.03125L8.625 5.40625V10.5H7.375ZM4.25 13C3.90625 13 3.61198 12.8776 3.36719 12.6328C3.1224 12.388 3 12.0938 3 11.75V9.875H4.25V11.75H11.75V9.875H13V11.75C13 12.0938 12.8776 12.388 12.6328 12.6328C12.388 12.8776 12.0938 13 11.75 13H4.25Z" fill="black" />
549
+ <div className="field col-6 flex flex-column gap-2">
550
+ <label htmlFor="menuIconUrl" className="form-label form-field-label">
551
+ Menu Icon <small className="text-red-500 helper-text">(only svg, png and jpeg are allowed)</small>
552
+ </label>
553
+ <div {...getRootPropsmenuIcon()} className="solid-dropzone-wrapper">
554
+ <input {...getInputPropsmenuIcon()} />
555
+ <DropzonePlaceholder />
556
+ </div>
557
+ {isFormFieldValid(formik, "menuIconUrl") && (
558
+ <Message severity="error" text={formik?.errors?.menuIconUrl?.toString()} />
559
+ )}
560
+
561
+ {fileDetails && (
562
+ <div className="solid-file-upload-wrapper">
563
+ <div className="flex align-items-center gap-2">
564
+ <FileReaderExt fileDetails={fileDetails} />
565
+ <div className="w-full flex flex-column gap-1">
566
+ <div className="flex align-items-center justify-content-between">
567
+ <div className="font-bold">{fileDetails.name}</div>
568
+ <div className="cancel-upload-button" onClick={handleCancelUpload}>
569
+ <svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" viewBox="0 0 6 6" fill="none">
570
+ <path d="M0.6 6L0 5.4L2.4 3L0 0.6L0.6 0L3 2.4L5.4 0L6 0.6L3.6 3L6 5.4L5.4 6L3 3.6L0.6 6Z" fill="#4B4D52" />
595
571
  </svg>
596
- Uploading ${uploadProgress}% Completed
597
572
  </div>
598
- }
573
+ </div>
574
+ {
575
+ uploadCompleted ?
576
+ <div className="flex align-items-center gap-2 text-sm">
577
+ {totalSize} of {totalSize}
578
+ <svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4" fill="none">
579
+ <circle cx="2" cy="2" r="2" fill="#C1C1C1" />
580
+ </svg>
581
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
582
+ <mask id="mask0_2480_8635" style={{ maskType: 'alpha' }} maskUnits="userSpaceOnUse" x="0" y="0" width="20" height="20">
583
+ <rect width="20" height="20" fill="#D9D9D9" />
584
+ </mask>
585
+ <g mask="url(#mask0_2480_8635)">
586
+ <path d="M9.16 12.76L13.39 8.53L12.55 7.69L9.16 11.08L7.45 9.37L6.61 10.21L9.16 12.76ZM10 16C9.17 16 8.39 15.8424 7.66 15.5272C6.93 15.2124 6.295 14.785 5.755 14.245C5.215 13.705 4.7876 13.07 4.4728 12.34C4.1576 11.61 4 10.83 4 10C4 9.17 4.1576 8.39 4.4728 7.66C4.7876 6.93 5.215 6.295 5.755 5.755C6.295 5.215 6.93 4.7874 7.66 4.4722C8.39 4.1574 9.17 4 10 4C10.83 4 11.61 4.1574 12.34 4.4722C13.07 4.7874 13.705 5.215 14.245 5.755C14.785 6.295 15.2124 6.93 15.5272 7.66C15.8424 8.39 16 9.17 16 10C16 10.83 15.8424 11.61 15.5272 12.34C15.2124 13.07 14.785 13.705 14.245 14.245C13.705 14.785 13.07 15.2124 12.34 15.5272C11.61 15.8424 10.83 16 10 16Z" fill="#722ED1" />
587
+ </g>
588
+ </svg>
589
+ Completed
590
+ </div>
591
+ :
592
+ <div className="flex align-items-center gap-2 text-sm">
593
+ {uploadedSize} of {totalSize}
594
+ <svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4" fill="none">
595
+ <circle cx="2" cy="2" r="2" fill="#C1C1C1" />
596
+ </svg>
597
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
598
+ <path d="M7.375 10.5V5.40625L5.75 7.03125L4.875 6.125L8 3L11.125 6.125L10.25 7.03125L8.625 5.40625V10.5H7.375ZM4.25 13C3.90625 13 3.61198 12.8776 3.36719 12.6328C3.1224 12.388 3 12.0938 3 11.75V9.875H4.25V11.75H11.75V9.875H13V11.75C13 12.0938 12.8776 12.388 12.6328 12.6328C12.388 12.8776 12.0938 13 11.75 13H4.25Z" fill="black" />
599
+ </svg>
600
+ Uploading ${uploadProgress}% Completed
601
+ </div>
602
+ }
603
+ </div>
599
604
  </div>
605
+ <ProgressBar value={uploadProgress} showValue={false} style={{ height: 4 }} className="mt-2" />
600
606
  </div>
601
- <ProgressBar value={uploadProgress} showValue={false} style={{ height: 4 }} className="mt-2" />
602
- </div>
603
- )}
607
+ )}
608
+ </div>
604
609
  </div>
605
- </div>
610
+ </Panel>
606
611
  </div>
607
612
  </form>
608
613
  <div style={{ width: '22.5%' }}>