@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.
- package/dist/components/auth/AuthLayout.d.ts.map +1 -1
- package/dist/components/auth/AuthLayout.js +2 -1
- package/dist/components/auth/AuthLayout.js.map +1 -1
- package/dist/components/auth/SolidLogin.js +2 -2
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidRegister.d.ts.map +1 -1
- package/dist/components/auth/SolidRegister.js +2 -2
- package/dist/components/auth/SolidRegister.js.map +1 -1
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/core/common/FilterComponent.js +1 -1
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +11 -4
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +43 -40
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/model/CreateModel.d.ts.map +1 -1
- package/dist/components/core/model/CreateModel.js +1 -1
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +1 -1
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +5 -5
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldSelector.js +1 -1
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +30 -30
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +23 -22
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/users/CreateUser.d.ts.map +1 -1
- package/dist/components/core/users/CreateUser.js +13 -14
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +1 -1
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/resources/fonts/SF-Pro-Display-Black.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Bold.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Heavy.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Light.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Medium.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Regular.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Semibold.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Thin.otf +0 -0
- package/dist/resources/fonts/SF-Pro-Display-Ultralight.otf +0 -0
- package/dist/resources/globals.css +227 -11
- package/dist/resources/solid-primereact.css +2983 -0
- package/dist/resources/stylesheets/_main.scss +3 -1
- package/dist/resources/themes/solid-dark-purple/theme.css +6082 -0
- package/dist/resources/themes/solid-light-purple/theme.css +6124 -0
- package/package.json +1 -1
- package/src/components/auth/AuthLayout.tsx +11 -2
- package/src/components/auth/SolidLogin.tsx +2 -2
- package/src/components/auth/SolidRegister.tsx +42 -36
- package/src/components/core/common/FilterComponent.tsx +3 -2
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +1 -1
- package/src/components/core/form/SolidFormView.tsx +26 -7
- package/src/components/core/list/SolidListView.tsx +14 -0
- package/src/components/core/model/CreateModel.tsx +2 -0
- package/src/components/core/model/FieldMetaData.tsx +3 -3
- package/src/components/core/model/FieldMetaDataForm.tsx +14 -17
- package/src/components/core/model/FieldSelector.tsx +1 -1
- package/src/components/core/model/ModelMetaData.tsx +158 -158
- package/src/components/core/module/CreateModule.tsx +178 -173
- package/src/components/core/users/CreateUser.tsx +123 -120
- package/src/components/layout/user-profile-menu.tsx +6 -5
- package/src/resources/fonts/SF-Pro-Display-Black.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Bold.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Heavy.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Light.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Medium.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Regular.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Semibold.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Thin.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Ultralight.otf +0 -0
- package/src/resources/globals.css +227 -11
- package/src/resources/solid-primereact.css +2983 -0
- package/src/resources/stylesheets/_main.scss +3 -1
- package/src/resources/themes/solid-dark-purple/theme.css +6082 -0
- 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
|
-
<
|
|
423
|
-
<div className="
|
|
424
|
-
<
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
"
|
|
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
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
"
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
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="
|
|
496
|
-
<
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
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
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
<
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
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
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
<
|
|
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
|
-
|
|
554
|
-
<
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
<
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
<div className="
|
|
573
|
-
|
|
574
|
-
|
|
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
|
-
|
|
602
|
-
|
|
603
|
-
)}
|
|
607
|
+
)}
|
|
608
|
+
</div>
|
|
604
609
|
</div>
|
|
605
|
-
</
|
|
610
|
+
</Panel>
|
|
606
611
|
</div>
|
|
607
612
|
</form>
|
|
608
613
|
<div style={{ width: '22.5%' }}>
|