labsense-ui-kit 1.4.41 → 1.4.43

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.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SVGProps } from '..';
3
+ declare const SyncPlayback: React.FC<SVGProps>;
4
+ export default SyncPlayback;
@@ -254,6 +254,7 @@ export { default as Star } from './Star';
254
254
  export { default as Stopwatch } from './Stopwatch';
255
255
  export { default as Storage_Disk } from './Storage_Disk';
256
256
  export { default as StorageDisks } from './StorageDisks';
257
+ export { default as SyncPlayback } from './SyncPlayback';
257
258
  export { default as Tag } from './Tag';
258
259
  export { default as Team_2 } from './Team_2';
259
260
  export { default as Team } from './Team';
@@ -10,7 +10,7 @@ export interface SVGProps {
10
10
  color: string;
11
11
  weight: string;
12
12
  }
13
- export declare type IconNames = 'Access_Control' | 'Action' | 'ActiveWorkflow' | 'Add_1' | 'Add_2' | 'AddProfile' | 'AddUser' | 'AI_Brain' | 'AI_License' | 'AI_Web' | 'AlarmClock' | 'Analytics' | 'App' | 'Archive' | 'Arrow_Up_Down_Left_Right' | 'ArrowDown' | 'ArrowUp' | 'Ascending' | 'Attach' | 'Backup' | 'Back' | 'Bag' | 'Bank' | 'Bell' | 'BookmarkAdd' | 'Bookmarks' | 'BookmarkSaved' | 'Bin' | 'BrainNetworking' | 'Brightness' | 'Building' | 'Bulb' | 'Bus' | 'Business' | 'Calendar' | 'Camera' | 'Car' | 'Cart_check' | 'CCTV_1' | 'CCTV_2' | 'Certificate_1' | 'Circle' | 'CircularBack' | 'Check' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'City' | 'Client' | 'Clock' | 'Close' | 'CloseCircle_2' | 'CloseCircle' | 'CloseEye' | 'CloudCross' | 'Contrast' | 'Copy_2' | 'Copy' | 'Copyright' | 'CPU' | 'Cube3D' | 'Cyber' | 'Dashboard_Filled' | 'Dashboard' | 'Data_search' | 'DataMigrate' | 'Deactivated' | 'Decrease' | 'Descending' | 'Detach' | 'DiagonalArrow' | 'Directory' | 'Disk_Partition' | 'Disk' | 'DNS_1' | 'DNS_2' | 'DNS_3' | 'Document' | 'DocumentBadge' | 'DoubleQuotes' | 'DownArrow' | 'Download_2' | 'Download' | 'Drag_Indicator' | 'Email' | 'ExitFullScreen' | 'Expired' | 'Export' | 'ExportCalendar' | 'ExportFile' | 'FaceRecognition_2' | 'FaceRecognition' | 'FastDelivery' | 'File' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleCross' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Flip' | 'Flow' | 'FootStep' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FTP' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hamburger' | 'Hammer' | 'Handshake' | 'Hazard' | 'Health' | 'Help' | 'History' | 'Home_2' | 'Home' | 'Hospital' | 'ImageNormalizer' | 'ImageResizer' | 'ImageSplitter' | 'Increase' | 'Infinity' | 'Hexagon' | 'Highway' | 'Information' | 'InformationFilled' | 'Instagram' | 'Install' | 'IP' | 'Key_2' | 'Key' | 'KeyDown' | 'KnobController' | 'Large_building' | 'Layers' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'License' | 'Linkedin' | 'Licenses' | 'Line' | 'Live' | 'Loader' | 'Location' | 'Lock' | 'Logout' | 'Mail' | 'Management' | 'Manufacturing' | 'Maps_2' | 'Maps' | 'Media' | 'Monitor' | 'MonitorEye' | 'More' | 'MultiMonitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Network' | 'Menu' | 'MeterUp' | 'MFA' | 'Mic_Active' | 'Mic_Muted' | 'Mic' | 'NetworkStorage' | 'NFS_Directory' | 'No_Data' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenBook' | 'Out' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'PeopleAnalytics' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PoliceBadge' | 'Polygon' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'QR' | 'Ram' | 'Recording_1' | 'Recording_2' | 'Recording_3' | 'Rectangle' | 'Restaurant' | 'Retail' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'Rhombus' | 'RightArrow' | 'Ringing_Bell' | 'Rocket' | 'ROI' | 'RunAway' | 'Rupee' | 'SandTimer' | 'Scalable' | 'School' | 'Search' | 'Searching_Data' | 'SecureSystem' | 'Security' | 'SelectedCircle' | 'Send' | 'Server' | 'Settings' | 'ShelfMonitoring' | 'Shield' | 'ShoppingCart' | 'Sink' | 'SlantLine' | 'Small_building' | 'Sort_2' | 'Sort' | 'Source' | 'SquareEdit' | 'SquareTick' | 'Star_2' | 'Star' | 'Stopwatch' | 'Storage_Disk' | 'StorageDisks' | 'Tag' | 'Team' | 'Team_2' | 'Technology' | 'ThreeDots' | 'ThumbsUp_2' | 'ThumbsUp' | 'Thunder' | 'Tick' | 'Timer' | 'Tool' | 'Tools' | 'Tools_2' | 'Traffic' | 'Translate' | 'TriangularFilledWarning' | 'TruckSpeed' | 'Unlock' | 'UnPinned' | 'UpArrow' | 'UploadFile' | 'VehicleNumber' | 'Video' | 'FullVolume_2' | 'FullVolume' | 'Gamma' | 'Globe' | 'GlobeIcon' | 'Government' | 'Wallet' | 'Web' | 'WiFiCam' | 'WiFiLaptop' | 'Workflow' | 'X' | 'Youtube' | 'Zapper' | 'Zoom';
13
+ export declare type IconNames = 'Access_Control' | 'Action' | 'ActiveWorkflow' | 'Add_1' | 'Add_2' | 'AddProfile' | 'AddUser' | 'AI_Brain' | 'AI_License' | 'AI_Web' | 'AlarmClock' | 'Analytics' | 'App' | 'Archive' | 'Arrow_Up_Down_Left_Right' | 'ArrowDown' | 'ArrowUp' | 'Ascending' | 'Attach' | 'Backup' | 'Back' | 'Bag' | 'Bank' | 'Bell' | 'BookmarkAdd' | 'Bookmarks' | 'BookmarkSaved' | 'Bin' | 'BrainNetworking' | 'Brightness' | 'Building' | 'Bulb' | 'Bus' | 'Business' | 'Calendar' | 'Camera' | 'Car' | 'Cart_check' | 'CCTV_1' | 'CCTV_2' | 'Certificate_1' | 'Circle' | 'CircularBack' | 'Check' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'City' | 'Client' | 'Clock' | 'Close' | 'CloseCircle_2' | 'CloseCircle' | 'CloseEye' | 'CloudCross' | 'Contrast' | 'Copy_2' | 'Copy' | 'Copyright' | 'CPU' | 'Cube3D' | 'Cyber' | 'Dashboard_Filled' | 'Dashboard' | 'Data_search' | 'DataMigrate' | 'Deactivated' | 'Decrease' | 'Descending' | 'Detach' | 'DiagonalArrow' | 'Directory' | 'Disk_Partition' | 'Disk' | 'DNS_1' | 'DNS_2' | 'DNS_3' | 'Document' | 'DocumentBadge' | 'DoubleQuotes' | 'DownArrow' | 'Download_2' | 'Download' | 'Drag_Indicator' | 'Email' | 'ExitFullScreen' | 'Expired' | 'Export' | 'ExportCalendar' | 'ExportFile' | 'FaceRecognition_2' | 'FaceRecognition' | 'FastDelivery' | 'File' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleCross' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Flip' | 'Flow' | 'FootStep' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FTP' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hamburger' | 'Hammer' | 'Handshake' | 'Hazard' | 'Health' | 'Help' | 'History' | 'Home_2' | 'Home' | 'Hospital' | 'ImageNormalizer' | 'ImageResizer' | 'ImageSplitter' | 'Increase' | 'Infinity' | 'Hexagon' | 'Highway' | 'Information' | 'InformationFilled' | 'Instagram' | 'Install' | 'IP' | 'Key_2' | 'Key' | 'KeyDown' | 'KnobController' | 'Large_building' | 'Layers' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'License' | 'Linkedin' | 'Licenses' | 'Line' | 'Live' | 'Loader' | 'Location' | 'Lock' | 'Logout' | 'Mail' | 'Management' | 'Manufacturing' | 'Maps_2' | 'Maps' | 'Media' | 'Monitor' | 'MonitorEye' | 'More' | 'MultiMonitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Network' | 'Menu' | 'MeterUp' | 'MFA' | 'Mic_Active' | 'Mic_Muted' | 'Mic' | 'NetworkStorage' | 'NFS_Directory' | 'No_Data' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenBook' | 'Out' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'PeopleAnalytics' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PoliceBadge' | 'Polygon' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'QR' | 'Ram' | 'Recording_1' | 'Recording_2' | 'Recording_3' | 'Rectangle' | 'Restaurant' | 'Retail' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'Rhombus' | 'RightArrow' | 'Ringing_Bell' | 'Rocket' | 'ROI' | 'RunAway' | 'Rupee' | 'SandTimer' | 'Scalable' | 'School' | 'Search' | 'Searching_Data' | 'SecureSystem' | 'Security' | 'SelectedCircle' | 'Send' | 'Server' | 'Settings' | 'ShelfMonitoring' | 'Shield' | 'ShoppingCart' | 'Sink' | 'SlantLine' | 'Small_building' | 'Sort_2' | 'Sort' | 'Source' | 'SquareEdit' | 'SquareTick' | 'Star_2' | 'Star' | 'Stopwatch' | 'Storage_Disk' | 'StorageDisks' | 'SyncPlayback' | 'Tag' | 'Team' | 'Team_2' | 'Technology' | 'ThreeDots' | 'ThumbsUp_2' | 'ThumbsUp' | 'Thunder' | 'Tick' | 'Timer' | 'Tool' | 'Tools' | 'Tools_2' | 'Traffic' | 'Translate' | 'TriangularFilledWarning' | 'TruckSpeed' | 'Unlock' | 'UnPinned' | 'UpArrow' | 'UploadFile' | 'VehicleNumber' | 'Video' | 'FullVolume_2' | 'FullVolume' | 'Gamma' | 'Globe' | 'GlobeIcon' | 'Government' | 'Wallet' | 'Web' | 'WiFiCam' | 'WiFiLaptop' | 'Workflow' | 'X' | 'Youtube' | 'Zapper' | 'Zoom';
14
14
  export interface IconProps {
15
15
  icon: IconNames;
16
16
  size?: number;
package/dist/index.js CHANGED
@@ -6382,6 +6382,29 @@ var StorageDisks = function StorageDisks(_ref) {
6382
6382
  }));
6383
6383
  };
6384
6384
 
6385
+ var SyncPlayback = function SyncPlayback(_ref) {
6386
+ var size = _ref.size,
6387
+ color = _ref.color,
6388
+ weight = _ref.weight;
6389
+ return React__default.createElement("svg", {
6390
+ width: size,
6391
+ height: size,
6392
+ strokeWidth: weight,
6393
+ viewBox: '0 0 462 433',
6394
+ fill: 'none',
6395
+ xmlns: 'http://www.w3.org/2000/svg'
6396
+ }, React__default.createElement("path", {
6397
+ d: 'M223.118 134.904C224.82 135.91 226.523 136.917 228.226 137.922C229.977 138.957 231.724 139.997 233.471 141.039C238.923 144.283 244.43 147.431 249.93 150.591C252.097 151.841 254.264 153.091 256.43 154.341C257.503 154.96 258.575 155.579 259.68 156.216C264.555 159.029 264.555 159.029 269.43 161.841C270.504 162.461 271.578 163.08 272.684 163.718C274.839 164.961 276.993 166.205 279.147 167.449C284.158 170.341 289.17 173.231 294.189 176.108C295.948 177.117 297.706 178.126 299.463 179.136C301.655 180.395 303.848 181.651 306.042 182.906C332.539 198.137 332.539 198.137 338.18 214.779C340.558 225.825 339.287 236.922 333.387 246.63C326.832 255.601 317.573 260.641 308.055 266.029C306.319 267.021 304.582 268.013 302.846 269.006C301.055 270.03 299.263 271.051 297.47 272.071C291.944 275.221 286.438 278.408 280.93 281.591C278.764 282.841 276.597 284.091 274.43 285.341C272.822 286.269 272.822 286.269 271.18 287.216C266.305 290.029 266.305 290.029 261.43 292.841C260.356 293.461 259.283 294.08 258.176 294.719C256.023 295.961 253.869 297.203 251.715 298.444C246.688 301.343 241.663 304.244 236.646 307.16C234.881 308.185 233.114 309.21 231.348 310.234C229.141 311.514 226.935 312.796 224.731 314.082C199.932 328.45 199.932 328.45 184.79 325.474C173.909 322.561 164.935 317.134 159.075 307.322C155.452 300.262 153.815 293.378 153.79 285.439C153.784 284.338 153.778 283.236 153.773 282.101C153.771 280.907 153.77 279.713 153.769 278.483C153.764 277.214 153.759 275.945 153.754 274.638C153.741 271.166 153.735 267.695 153.73 264.223C153.727 262.049 153.723 259.875 153.719 257.701C153.705 250.884 153.695 244.067 153.691 237.249C153.687 229.408 153.669 221.567 153.64 213.726C153.619 207.647 153.609 201.568 153.607 195.489C153.606 191.867 153.601 188.245 153.583 184.623C153.563 180.573 153.567 176.525 153.574 172.476C153.565 171.294 153.555 170.112 153.546 168.895C153.613 155.418 156.428 144.853 165.618 134.904C183.07 118.175 204.4 123.572 223.118 134.904Z',
6398
+ fill: color
6399
+ }), React__default.createElement("path", {
6400
+ d: 'M329.931 25.0914C334.328 30.0858 335.282 33.0018 335.216 39.5484C334.695 44.1936 332.272 46.9128 328.868 49.9039C324.761 52.4211 320.613 52.6358 315.931 52.0914C312.846 51.1439 309.978 49.826 307.056 48.4664C261.809 28.5162 211.593 26.3588 165.072 43.911C138.331 54.4625 112.467 70.8707 93.9305 93.0914C92.7897 94.4004 92.7897 94.4004 91.6258 95.7359C60.3536 132.123 43.6974 180.605 47.1078 228.585C47.7873 236.855 48.655 245.093 50.5633 253.181C50.9305 255.091 50.9305 255.091 50.9305 259.091C52.0069 259.045 53.0833 258.999 54.1922 258.951C71.294 258.435 86.166 262.946 98.868 274.9C111.274 288.081 115.592 303.02 115.173 320.654C114.542 335.387 107.874 348.049 97.7235 358.584C84.5862 370.38 70.2493 374.055 53.0321 373.47C37.8635 372.575 24.6685 365.993 14.2547 354.959C3.49029 341.679 -1.29024 326.247 0.297712 309.134C2.28065 295.113 8.24143 282.654 18.9305 273.091C21.2001 271.826 21.2001 271.826 22.9305 271.091C22.6766 270.275 22.4226 269.459 22.161 268.619C7.02316 216.515 16.8645 157.778 42.4598 110.687C52.3938 93.1542 65.0496 77.6133 78.9305 63.0914C79.566 62.4146 80.2015 61.7379 80.8563 61.0406C110.889 29.8607 154.663 9.71689 196.931 3.09138C198.818 2.75687 198.818 2.75687 200.743 2.4156C241.123 -3.66629 295.79 0.976448 329.931 25.0914Z',
6401
+ fill: color
6402
+ }), React__default.createElement("path", {
6403
+ d: 'M435.559 67.3374C448.913 77.2151 457.963 89.4158 461.305 105.904C463.426 121.524 460.306 137.303 450.93 150.091C443.119 159.695 443.119 159.695 438.93 161.091C439.184 161.896 439.438 162.7 439.7 163.529C455.157 216.328 444.332 274.372 418.93 322.091C409.207 339.545 396.652 354.66 382.93 369.091C382.319 369.744 381.708 370.396 381.079 371.068C350.57 402.734 307.544 421.39 264.93 429.091C264.236 429.223 263.541 429.354 262.826 429.489C220.798 437.114 171.768 429.021 134.391 408.83C131.057 406.474 128.755 403.741 126.93 400.091C126.381 395.08 126.369 391.194 128.68 386.654C132.613 382.175 135.519 380.283 141.563 379.802C146.522 379.872 150.368 381.652 154.805 383.716C200.034 403.659 250.275 405.809 296.787 388.272C311.371 382.522 325.22 375.293 337.93 366.091C338.98 365.34 340.029 364.588 341.11 363.814C357.348 351.817 371.741 336.888 382.93 320.091C383.528 319.196 383.528 319.196 384.137 318.283C410.306 278.363 421.488 228.12 411.805 181.091C411.638 180.39 411.47 179.689 411.298 178.966C410.93 177.091 410.93 177.091 410.93 173.091C409.854 173.138 408.778 173.184 407.669 173.232C391.252 173.727 377.425 169.668 364.68 158.904C354.237 149.04 347.346 135.326 346.708 120.943C346.231 103.65 350.152 89.6139 361.68 76.2163C380.421 56.7386 412.647 52.3257 435.559 67.3374Z',
6404
+ fill: color
6405
+ }));
6406
+ };
6407
+
6385
6408
  var Tag = function Tag(_ref) {
6386
6409
  var size = _ref.size,
6387
6410
  color = _ref.color,
@@ -7333,6 +7356,7 @@ var IconSVGs = {
7333
7356
  Stopwatch: Stopwatch,
7334
7357
  Storage_Disk: Storage_Disk,
7335
7358
  StorageDisks: StorageDisks,
7359
+ SyncPlayback: SyncPlayback,
7336
7360
  Tag: Tag,
7337
7361
  Team_2: Team_2,
7338
7362
  Team: Team,
@@ -9413,7 +9437,7 @@ var DropdownContainer = styled__default.div(_templateObject$b || (_templateObjec
9413
9437
  var $hasTitle = _ref4.$hasTitle;
9414
9438
  return $hasTitle ? 'calc(100% - 22px)' : '100%';
9415
9439
  });
9416
- var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n scrollbar-width: thin;\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
9440
+ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n min-height: ", ";\n scrollbar-width: thin;\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
9417
9441
  var $replaceLabel = _ref5.$replaceLabel,
9418
9442
  $showAllSelected = _ref5.$showAllSelected;
9419
9443
  return $replaceLabel ? $showAllSelected ? 'auto' : 'hidden' : '';
@@ -9428,26 +9452,30 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9428
9452
  return '14px 12px';
9429
9453
  }
9430
9454
  }, function (_ref7) {
9431
- var $width = _ref7.$width;
9432
- return $width ? $width : '100%';
9455
+ var $replaceLabel = _ref7.$replaceLabel,
9456
+ $size = _ref7.$size;
9457
+ return !$replaceLabel ? '100%' : $size === 'small' ? '46px' : $size === 'large' ? '76px' : '56px';
9433
9458
  }, function (_ref8) {
9434
- var $height = _ref8.$height;
9435
- return $height || '100%';
9459
+ var $width = _ref8.$width;
9460
+ return $width ? $width : '100%';
9436
9461
  }, function (_ref9) {
9437
- var $border = _ref9.$border,
9438
- $isOpen = _ref9.$isOpen,
9439
- theme = _ref9.theme;
9440
- return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
9462
+ var $height = _ref9.$height;
9463
+ return $height || '100%';
9441
9464
  }, function (_ref10) {
9442
- var $borderRadius = _ref10.$borderRadius;
9443
- return $borderRadius || '8px';
9465
+ var $border = _ref10.$border,
9466
+ $isOpen = _ref10.$isOpen,
9467
+ theme = _ref10.theme;
9468
+ return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
9444
9469
  }, function (_ref11) {
9445
- var $disabled = _ref11.$disabled;
9446
- return $disabled ? 'not-allowed' : 'pointer';
9470
+ var $borderRadius = _ref11.$borderRadius;
9471
+ return $borderRadius || '8px';
9447
9472
  }, function (_ref12) {
9448
- var $background = _ref12.$background,
9449
- $disabled = _ref12.$disabled,
9450
- theme = _ref12.theme;
9473
+ var $disabled = _ref12.$disabled;
9474
+ return $disabled ? 'not-allowed' : 'pointer';
9475
+ }, function (_ref13) {
9476
+ var $background = _ref13.$background,
9477
+ $disabled = _ref13.$disabled,
9478
+ theme = _ref13.theme;
9451
9479
  switch ($background) {
9452
9480
  case 'dark':
9453
9481
  return $disabled ? theme.vms.disabled.secondary : theme.vms.text.dark;
@@ -9468,12 +9496,12 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9468
9496
  default:
9469
9497
  return $disabled ? theme.vms.disabled.secondary : $background;
9470
9498
  }
9471
- }, function (_ref13) {
9472
- var $color = _ref13.$color,
9473
- theme = _ref13.theme;
9474
- return $color || theme.vms.text.medium;
9475
9499
  }, function (_ref14) {
9476
- var $size = _ref14.$size;
9500
+ var $color = _ref14.$color,
9501
+ theme = _ref14.theme;
9502
+ return $color || theme.vms.text.medium;
9503
+ }, function (_ref15) {
9504
+ var $size = _ref15.$size;
9477
9505
  switch ($size) {
9478
9506
  case 'small':
9479
9507
  return '12px';
@@ -9482,8 +9510,8 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9482
9510
  default:
9483
9511
  return '14px';
9484
9512
  }
9485
- }, function (_ref15) {
9486
- var $size = _ref15.$size;
9513
+ }, function (_ref16) {
9514
+ var $size = _ref16.$size;
9487
9515
  switch ($size) {
9488
9516
  case 'small':
9489
9517
  return '12px';
@@ -9493,20 +9521,20 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9493
9521
  return '14px';
9494
9522
  }
9495
9523
  });
9496
- var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref16) {
9497
- var $titleWeight = _ref16.$titleWeight;
9524
+ var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref17) {
9525
+ var $titleWeight = _ref17.$titleWeight;
9498
9526
  return $titleWeight != null ? $titleWeight : '500';
9499
- }, function (_ref17) {
9500
- var $titleSize = _ref17.$titleSize,
9501
- $size = _ref17.$size;
9502
- return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9503
9527
  }, function (_ref18) {
9504
9528
  var $titleSize = _ref18.$titleSize,
9505
9529
  $size = _ref18.$size;
9506
9530
  return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9507
9531
  }, function (_ref19) {
9508
- var $titleColor = _ref19.$titleColor,
9509
- theme = _ref19.theme;
9532
+ var $titleSize = _ref19.$titleSize,
9533
+ $size = _ref19.$size;
9534
+ return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9535
+ }, function (_ref20) {
9536
+ var $titleColor = _ref20.$titleColor,
9537
+ theme = _ref20.theme;
9510
9538
  switch ($titleColor) {
9511
9539
  case 'dark':
9512
9540
  return theme.vms.text.dark;
@@ -9529,29 +9557,29 @@ var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 =
9529
9557
  }
9530
9558
  });
9531
9559
  var Container$2 = styled__default.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n height: 100%;\n"])));
9532
- var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref20) {
9533
- var $labelStyle = _ref20.$labelStyle;
9560
+ var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref21) {
9561
+ var $labelStyle = _ref21.$labelStyle;
9534
9562
  return $labelStyle;
9535
- }, function (_ref21) {
9536
- var $labelColor = _ref21.$labelColor,
9537
- theme = _ref21.theme;
9563
+ }, function (_ref22) {
9564
+ var $labelColor = _ref22.$labelColor,
9565
+ theme = _ref22.theme;
9538
9566
  return $labelColor || theme.vms.text.medium;
9539
9567
  });
9540
- var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n \n ", "\n"])), function (_ref22) {
9541
- var theme = _ref22.theme;
9568
+ var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n \n ", "\n"])), function (_ref23) {
9569
+ var theme = _ref23.theme;
9542
9570
  return "1px solid " + theme.vms.border.light;
9543
- }, function (_ref23) {
9544
- var $optionsBorderRadius = _ref23.$optionsBorderRadius;
9545
- return $optionsBorderRadius || '8px';
9546
9571
  }, function (_ref24) {
9547
- var $width = _ref24.$width;
9548
- return $width ? $width : 'max-content';
9572
+ var $optionsBorderRadius = _ref24.$optionsBorderRadius;
9573
+ return $optionsBorderRadius || '8px';
9549
9574
  }, function (_ref25) {
9550
- var $menuBackground = _ref25.$menuBackground,
9551
- theme = _ref25.theme;
9552
- return $menuBackground || theme.vms.accent.light_2;
9575
+ var $width = _ref25.$width;
9576
+ return $width ? $width : 'max-content';
9553
9577
  }, function (_ref26) {
9554
- var $position = _ref26.$position;
9578
+ var $menuBackground = _ref26.$menuBackground,
9579
+ theme = _ref26.theme;
9580
+ return $menuBackground || theme.vms.accent.light_2;
9581
+ }, function (_ref27) {
9582
+ var $position = _ref27.$position;
9555
9583
  switch ($position) {
9556
9584
  case 'topLeft':
9557
9585
  return "\n bottom: calc(100% + 8px);\n left: 0;\n top: auto;\n ";
@@ -9570,10 +9598,10 @@ var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4
9570
9598
  }
9571
9599
  });
9572
9600
  var SelectedOptionsWrapper = styled__default.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
9573
- var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n white-space: nowrap;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref27) {
9574
- var $selectedOptionBackground = _ref27.$selectedOptionBackground,
9575
- $disabled = _ref27.$disabled,
9576
- theme = _ref27.theme;
9601
+ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n white-space: nowrap;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref28) {
9602
+ var $selectedOptionBackground = _ref28.$selectedOptionBackground,
9603
+ $disabled = _ref28.$disabled,
9604
+ theme = _ref28.theme;
9577
9605
  switch ($selectedOptionBackground) {
9578
9606
  case 'dark':
9579
9607
  return theme.vms.text.dark;
@@ -9594,9 +9622,9 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
9594
9622
  default:
9595
9623
  return $selectedOptionBackground || theme.vms.accent.light_2;
9596
9624
  }
9597
- }, function (_ref28) {
9598
- var $selectedOptionColor = _ref28.$selectedOptionColor,
9599
- theme = _ref28.theme;
9625
+ }, function (_ref29) {
9626
+ var $selectedOptionColor = _ref29.$selectedOptionColor,
9627
+ theme = _ref29.theme;
9600
9628
  switch ($selectedOptionColor) {
9601
9629
  case 'dark':
9602
9630
  return theme.vms.text.dark;
@@ -9618,26 +9646,26 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
9618
9646
  return $selectedOptionColor;
9619
9647
  }
9620
9648
  });
9621
- var RemoveIcon = styled__default.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref29) {
9622
- var $disabled = _ref29.$disabled;
9649
+ var RemoveIcon = styled__default.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref30) {
9650
+ var $disabled = _ref30.$disabled;
9623
9651
  return $disabled ? 'not-allowed' : 'pointer';
9624
- }, function (_ref30) {
9625
- var removeIconBackground = _ref30.removeIconBackground,
9626
- $type = _ref30.$type,
9627
- theme = _ref30.theme;
9628
- return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9629
9652
  }, function (_ref31) {
9630
- var $disabled = _ref31.$disabled;
9653
+ var removeIconBackground = _ref31.removeIconBackground,
9654
+ $type = _ref31.$type,
9655
+ theme = _ref31.theme;
9656
+ return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9657
+ }, function (_ref32) {
9658
+ var $disabled = _ref32.$disabled;
9631
9659
  return $disabled ? 'not-allowed' : 'pointer';
9632
9660
  });
9633
9661
  var TextWrapper = styled__default.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
9634
9662
  var ChipArea = styled__default.div(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n flex: 1;\n min-width: 0;\n overflow: hidden;\n position: relative;\n display: flex;\n align-items: center;\n"])));
9635
9663
  var MeasureLayer = styled__default.div(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n visibility: hidden;\n pointer-events: none;\n display: flex;\n flex-wrap: nowrap;\n gap: 6px;\n width: 100%;\n top: 0;\n left: 0;\n"])));
9636
9664
  var SingleLineRow = styled__default.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: nowrap;\n gap: 6px;\n overflow: hidden;\n align-items: center;\n width: 100%;\n"])));
9637
- var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n white-space: nowrap;\n background: ", ";\n color: ", ";\n"])), function (_ref32) {
9638
- var $selectedOptionBackground = _ref32.$selectedOptionBackground,
9639
- $disabled = _ref32.$disabled,
9640
- theme = _ref32.theme;
9665
+ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n white-space: nowrap;\n background: ", ";\n color: ", ";\n"])), function (_ref33) {
9666
+ var $selectedOptionBackground = _ref33.$selectedOptionBackground,
9667
+ $disabled = _ref33.$disabled,
9668
+ theme = _ref33.theme;
9641
9669
  switch ($selectedOptionBackground) {
9642
9670
  case 'dark':
9643
9671
  return theme.vms.text.dark;
@@ -9658,9 +9686,9 @@ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateOb
9658
9686
  default:
9659
9687
  return $selectedOptionBackground || theme.vms.accent.light_2;
9660
9688
  }
9661
- }, function (_ref33) {
9662
- var $selectedOptionColor = _ref33.$selectedOptionColor,
9663
- theme = _ref33.theme;
9689
+ }, function (_ref34) {
9690
+ var $selectedOptionColor = _ref34.$selectedOptionColor,
9691
+ theme = _ref34.theme;
9664
9692
  switch ($selectedOptionColor) {
9665
9693
  case 'dark':
9666
9694
  return theme.vms.text.dark;
@@ -9682,66 +9710,66 @@ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateOb
9682
9710
  return $selectedOptionColor || theme.vms.text.medium;
9683
9711
  }
9684
9712
  });
9685
- var Asterisk = styled__default.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref34) {
9686
- var theme = _ref34.theme;
9713
+ var Asterisk = styled__default.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref35) {
9714
+ var theme = _ref35.theme;
9687
9715
  return theme.vms["default"].error;
9688
9716
  });
9689
- var MultiSelectDropdown = function MultiSelectDropdown(_ref35) {
9690
- var title = _ref35.title,
9691
- titleWeight = _ref35.titleWeight,
9692
- titleSize = _ref35.titleSize,
9693
- titleColor = _ref35.titleColor,
9694
- _ref35$labelText = _ref35.labelText,
9695
- labelText = _ref35$labelText === void 0 ? 'Select Cameras' : _ref35$labelText,
9696
- labelStyle = _ref35.labelStyle,
9697
- labelColor = _ref35.labelColor,
9698
- _ref35$replaceLabel = _ref35.replaceLabel,
9699
- replaceLabel = _ref35$replaceLabel === void 0 ? true : _ref35$replaceLabel,
9700
- options = _ref35.options,
9701
- width = _ref35.width,
9702
- optionWidth = _ref35.optionWidth,
9703
- height = _ref35.height,
9704
- placeholder = _ref35.placeholder,
9705
- border = _ref35.border,
9706
- background = _ref35.background,
9707
- selectedOptionBackground = _ref35.selectedOptionBackground,
9708
- selectedOptionColor = _ref35.selectedOptionColor,
9709
- menuBackground = _ref35.menuBackground,
9710
- optionsBorderRadius = _ref35.optionsBorderRadius,
9711
- borderRadius = _ref35.borderRadius,
9712
- removeIconBackground = _ref35.removeIconBackground,
9713
- handleSelectChange = _ref35.handleSelectChange,
9714
- selectedOptions = _ref35.selectedOptions,
9715
- placeholderColor = _ref35.placeholderColor,
9716
- optionBorder = _ref35.optionBorder,
9717
- optionColor = _ref35.optionColor,
9718
- searchIcon = _ref35.searchIcon,
9719
- searchbarTextColor = _ref35.searchbarTextColor,
9720
- searchBoxBackground = _ref35.searchBoxBackground,
9721
- searchBoxBorder = _ref35.searchBoxBorder,
9722
- searchBoxBorderRadius = _ref35.searchBoxBorderRadius,
9723
- size = _ref35.size,
9724
- removeIcon = _ref35.removeIcon,
9725
- type = _ref35.type,
9726
- icon = _ref35.icon,
9727
- _ref35$disabled = _ref35.disabled,
9728
- disabled = _ref35$disabled === void 0 ? false : _ref35$disabled,
9729
- _ref35$required = _ref35.required,
9730
- required = _ref35$required === void 0 ? false : _ref35$required,
9731
- _ref35$searchBox = _ref35.searchBox,
9732
- searchBox = _ref35$searchBox === void 0 ? true : _ref35$searchBox,
9733
- _ref35$searchBoxTextL = _ref35.searchBoxTextLength,
9734
- searchBoxTextLength = _ref35$searchBoxTextL === void 0 ? 50 : _ref35$searchBoxTextL,
9735
- _ref35$NoOptionsText = _ref35.NoOptionsText,
9736
- NoOptionsText = _ref35$NoOptionsText === void 0 ? 'No Options Available' : _ref35$NoOptionsText,
9737
- _ref35$selectAllOptio = _ref35.selectAllOption,
9738
- selectAllOption = _ref35$selectAllOptio === void 0 ? false : _ref35$selectAllOptio,
9739
- _ref35$selectAllLabel = _ref35.selectAllLabel,
9740
- selectAllLabel = _ref35$selectAllLabel === void 0 ? 'Select All' : _ref35$selectAllLabel,
9741
- selectAllChecked = _ref35.selectAllChecked,
9742
- dropdownPosition = _ref35.dropdownPosition,
9743
- _ref35$showAllSelecte = _ref35.showAllSelected,
9744
- showAllSelected = _ref35$showAllSelecte === void 0 ? false : _ref35$showAllSelecte;
9717
+ var MultiSelectDropdown = function MultiSelectDropdown(_ref36) {
9718
+ var title = _ref36.title,
9719
+ titleWeight = _ref36.titleWeight,
9720
+ titleSize = _ref36.titleSize,
9721
+ titleColor = _ref36.titleColor,
9722
+ _ref36$labelText = _ref36.labelText,
9723
+ labelText = _ref36$labelText === void 0 ? 'Select Cameras' : _ref36$labelText,
9724
+ labelStyle = _ref36.labelStyle,
9725
+ labelColor = _ref36.labelColor,
9726
+ _ref36$replaceLabel = _ref36.replaceLabel,
9727
+ replaceLabel = _ref36$replaceLabel === void 0 ? true : _ref36$replaceLabel,
9728
+ options = _ref36.options,
9729
+ width = _ref36.width,
9730
+ optionWidth = _ref36.optionWidth,
9731
+ height = _ref36.height,
9732
+ placeholder = _ref36.placeholder,
9733
+ border = _ref36.border,
9734
+ background = _ref36.background,
9735
+ selectedOptionBackground = _ref36.selectedOptionBackground,
9736
+ selectedOptionColor = _ref36.selectedOptionColor,
9737
+ menuBackground = _ref36.menuBackground,
9738
+ optionsBorderRadius = _ref36.optionsBorderRadius,
9739
+ borderRadius = _ref36.borderRadius,
9740
+ removeIconBackground = _ref36.removeIconBackground,
9741
+ handleSelectChange = _ref36.handleSelectChange,
9742
+ selectedOptions = _ref36.selectedOptions,
9743
+ placeholderColor = _ref36.placeholderColor,
9744
+ optionBorder = _ref36.optionBorder,
9745
+ optionColor = _ref36.optionColor,
9746
+ searchIcon = _ref36.searchIcon,
9747
+ searchbarTextColor = _ref36.searchbarTextColor,
9748
+ searchBoxBackground = _ref36.searchBoxBackground,
9749
+ searchBoxBorder = _ref36.searchBoxBorder,
9750
+ searchBoxBorderRadius = _ref36.searchBoxBorderRadius,
9751
+ size = _ref36.size,
9752
+ removeIcon = _ref36.removeIcon,
9753
+ type = _ref36.type,
9754
+ icon = _ref36.icon,
9755
+ _ref36$disabled = _ref36.disabled,
9756
+ disabled = _ref36$disabled === void 0 ? false : _ref36$disabled,
9757
+ _ref36$required = _ref36.required,
9758
+ required = _ref36$required === void 0 ? false : _ref36$required,
9759
+ _ref36$searchBox = _ref36.searchBox,
9760
+ searchBox = _ref36$searchBox === void 0 ? true : _ref36$searchBox,
9761
+ _ref36$searchBoxTextL = _ref36.searchBoxTextLength,
9762
+ searchBoxTextLength = _ref36$searchBoxTextL === void 0 ? 50 : _ref36$searchBoxTextL,
9763
+ _ref36$NoOptionsText = _ref36.NoOptionsText,
9764
+ NoOptionsText = _ref36$NoOptionsText === void 0 ? 'No Options Available' : _ref36$NoOptionsText,
9765
+ _ref36$selectAllOptio = _ref36.selectAllOption,
9766
+ selectAllOption = _ref36$selectAllOptio === void 0 ? false : _ref36$selectAllOptio,
9767
+ _ref36$selectAllLabel = _ref36.selectAllLabel,
9768
+ selectAllLabel = _ref36$selectAllLabel === void 0 ? 'Select All' : _ref36$selectAllLabel,
9769
+ selectAllChecked = _ref36.selectAllChecked,
9770
+ dropdownPosition = _ref36.dropdownPosition,
9771
+ _ref36$showAllSelecte = _ref36.showAllSelected,
9772
+ showAllSelected = _ref36$showAllSelecte === void 0 ? false : _ref36$showAllSelecte;
9745
9773
  var themeColors = useTheme();
9746
9774
  var _useState = React.useState(false),
9747
9775
  dropUp = _useState[0],