labsense-ui-kit 1.2.79 → 1.2.80
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.
|
@@ -59,6 +59,7 @@ export { default as DoubleQuotes } from './DoubleQuotes';
|
|
|
59
59
|
export { default as DownArrow } from './DownArrow';
|
|
60
60
|
export { default as Download_2 } from './Download_2';
|
|
61
61
|
export { default as Download } from './Download';
|
|
62
|
+
export { default as Drag_Indicator } from './Drag_Indicator';
|
|
62
63
|
export { default as Email } from './Email';
|
|
63
64
|
export { default as ExitFullScreen } from './ExitFullScreen';
|
|
64
65
|
export { default as FaceRecognition_2 } from './FaceRecognition_2';
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface SVGProps {
|
|
|
10
10
|
color: string;
|
|
11
11
|
weight: string;
|
|
12
12
|
}
|
|
13
|
-
export declare type IconNames = 'Add_1' | 'Add_2' | 'AddProfile' | 'AddUser' | 'AI_Brain' | 'AI_License' | 'AI_Web' | 'Analytics' | 'App' | 'ArrowDown' | 'ArrowUp' | 'Ascending' | 'Back' | 'Bag' | 'Bank' | 'Bell' | 'Bin' | 'BrainNetworking' | 'Building' | 'Bulb' | 'Business' | 'Calendar' | 'Car' | 'Cart_check' | 'CCTV_1' | 'CCTV_2' | 'Circle' | 'Check' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'City' | 'Client' | 'Close' | 'CloseCircle_2' | 'CloseCircle' | 'CloseEye' | 'CloudCross' | 'Copy_2' | 'Copy' | 'Copyright' | 'CPU' | 'Cube3D' | 'Cyber' | 'Dashboard' | 'Data_search' | 'Decrease' | 'Descending' | 'DiagonalArrow' | 'Directory' | 'Disk' | 'DNS_1' | 'DNS_2' | 'DNS_3' | 'Document' | 'DocumentBadge' | 'DoubleQuotes' | 'DownArrow' | 'Download_2' | 'Download' | 'Email' | 'ExitFullScreen' | 'FaceRecognition_2' | 'FaceRecognition' | 'FastDelivery' | 'File' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Flow' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hamburger' | 'Hammer' | 'Handshake' | 'Hazard' | 'Help' | 'History' | 'Home_2' | 'Home' | 'Hospital' | 'Increase' | 'Hexagon' | 'Highway' | 'Information' | 'InformationFilled' | 'Instagram' | 'Install' | 'IP' | 'Key_2' | 'Key' | 'KeyDown' | 'KnobController' | 'Large_building' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'License' | 'Linkedin' | 'Licenses' | 'Live' | 'Location' | 'Lock' | 'Logout' | 'Mail' | 'Manufacturing' | 'Maps' | 'Media' | 'Monitor' | 'MonitorEye' | 'More' | 'MultiMonitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Network' | 'Menu' | 'MeterUp' | 'NetworkStorage' | 'NFS_Directory' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenBook' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'PeopleAnalytics' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PoliceBadge' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'QR' | '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' | 'SecureSystem' | 'Security' | 'Send' | 'Settings' | 'ShelfMonitoring' | 'Shield' | 'ShoppingCart' | 'Sink' | 'SlantLine' | 'Small_building' | 'Sort_2' | 'Sort' | 'Source' | 'SquareEdit' | 'SquareTick' | 'Star_2' | 'Star' | 'StorageDisks' | 'Tag' | 'Team' | 'Team_2' | 'Technology' | 'ThreeDots' | 'ThumbsUp_2' | 'ThumbsUp' | 'Tick' | 'Timer' | 'Tool' | 'Tools' | 'Tools_2' | 'Translate' | 'TriangularFilledWarning' | 'UnPinned' | 'UpArrow' | 'UploadFile' | 'VehicleNumber' | 'Video' | 'FullVolume_2' | 'FullVolume' | 'Globe' | 'GlobeIcon' | 'Government' | 'Wallet' | 'Web' | 'WiFiCam' | 'WiFiLaptop' | 'Workflow' | 'X' | 'Youtube' | 'Zapper';
|
|
13
|
+
export declare type IconNames = 'Add_1' | 'Add_2' | 'AddProfile' | 'AddUser' | 'AI_Brain' | 'AI_License' | 'AI_Web' | 'Analytics' | 'App' | 'ArrowDown' | 'ArrowUp' | 'Ascending' | 'Back' | 'Bag' | 'Bank' | 'Bell' | 'Bin' | 'BrainNetworking' | 'Building' | 'Bulb' | 'Business' | 'Calendar' | 'Car' | 'Cart_check' | 'CCTV_1' | 'CCTV_2' | 'Circle' | 'Check' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'City' | 'Client' | 'Close' | 'CloseCircle_2' | 'CloseCircle' | 'CloseEye' | 'CloudCross' | 'Copy_2' | 'Copy' | 'Copyright' | 'CPU' | 'Cube3D' | 'Cyber' | 'Dashboard' | 'Data_search' | 'Decrease' | 'Descending' | 'DiagonalArrow' | 'Directory' | 'Disk' | 'DNS_1' | 'DNS_2' | 'DNS_3' | 'Document' | 'DocumentBadge' | 'DoubleQuotes' | 'DownArrow' | 'Download_2' | 'Download' | 'Drag_Indicator' | 'Email' | 'ExitFullScreen' | 'FaceRecognition_2' | 'FaceRecognition' | 'FastDelivery' | 'File' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Flow' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hamburger' | 'Hammer' | 'Handshake' | 'Hazard' | 'Help' | 'History' | 'Home_2' | 'Home' | 'Hospital' | 'Increase' | 'Hexagon' | 'Highway' | 'Information' | 'InformationFilled' | 'Instagram' | 'Install' | 'IP' | 'Key_2' | 'Key' | 'KeyDown' | 'KnobController' | 'Large_building' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'License' | 'Linkedin' | 'Licenses' | 'Live' | 'Location' | 'Lock' | 'Logout' | 'Mail' | 'Manufacturing' | 'Maps' | 'Media' | 'Monitor' | 'MonitorEye' | 'More' | 'MultiMonitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Network' | 'Menu' | 'MeterUp' | 'NetworkStorage' | 'NFS_Directory' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenBook' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'PeopleAnalytics' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PoliceBadge' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'QR' | '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' | 'SecureSystem' | 'Security' | 'Send' | 'Settings' | 'ShelfMonitoring' | 'Shield' | 'ShoppingCart' | 'Sink' | 'SlantLine' | 'Small_building' | 'Sort_2' | 'Sort' | 'Source' | 'SquareEdit' | 'SquareTick' | 'Star_2' | 'Star' | 'StorageDisks' | 'Tag' | 'Team' | 'Team_2' | 'Technology' | 'ThreeDots' | 'ThumbsUp_2' | 'ThumbsUp' | 'Tick' | 'Timer' | 'Tool' | 'Tools' | 'Tools_2' | 'Translate' | 'TriangularFilledWarning' | 'UnPinned' | 'UpArrow' | 'UploadFile' | 'VehicleNumber' | 'Video' | 'FullVolume_2' | 'FullVolume' | 'Globe' | 'GlobeIcon' | 'Government' | 'Wallet' | 'Web' | 'WiFiCam' | 'WiFiLaptop' | 'Workflow' | 'X' | 'Youtube' | 'Zapper';
|
|
14
14
|
export interface IconProps {
|
|
15
15
|
icon: IconNames;
|
|
16
16
|
size?: number;
|
package/dist/index.js
CHANGED
|
@@ -1448,6 +1448,23 @@ var Download = function Download(_ref) {
|
|
|
1448
1448
|
}));
|
|
1449
1449
|
};
|
|
1450
1450
|
|
|
1451
|
+
var Drag_Indicator = function Drag_Indicator(_ref) {
|
|
1452
|
+
var size = _ref.size,
|
|
1453
|
+
color = _ref.color,
|
|
1454
|
+
weight = _ref.weight;
|
|
1455
|
+
return React__default.createElement("svg", {
|
|
1456
|
+
width: size,
|
|
1457
|
+
height: size,
|
|
1458
|
+
strokeWidth: weight,
|
|
1459
|
+
viewBox: '0 0 24 24',
|
|
1460
|
+
fill: 'none',
|
|
1461
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
1462
|
+
}, React__default.createElement("path", {
|
|
1463
|
+
d: "M10,4A2,2,0,1,1,8,2,2,2,0,0,1,10,4ZM8,10a2,2,0,1,0,2,2A2,2,0,0,0,8,10Zm0,8a2,2,0,1,0,2,2A2,2,0,0,0,8,18ZM16,6a2,2,0,1,0-2-2A2,2,0,0,0,16,6Zm0,8a2,2,0,1,0-2-2A2,2,0,0,0,16,14Zm0,8a2,2,0,1,0-2-2A2,2,0,0,0,16,22Z",
|
|
1464
|
+
fill: color
|
|
1465
|
+
}));
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1451
1468
|
var Email = function Email(_ref) {
|
|
1452
1469
|
var size = _ref.size,
|
|
1453
1470
|
color = _ref.color,
|
|
@@ -5796,6 +5813,7 @@ var IconSVGs = {
|
|
|
5796
5813
|
DownArrow: DownArrow,
|
|
5797
5814
|
Download_2: Download_2,
|
|
5798
5815
|
Download: Download,
|
|
5816
|
+
Drag_Indicator: Drag_Indicator,
|
|
5799
5817
|
Email: Email,
|
|
5800
5818
|
ExitFullScreen: ExitFullScreen,
|
|
5801
5819
|
FaceRecognition_2: FaceRecognition_2,
|
|
@@ -9354,11 +9372,10 @@ var Sidebar = function Sidebar(_ref22) {
|
|
|
9354
9372
|
};
|
|
9355
9373
|
var isRouteActive = function isRouteActive(item) {
|
|
9356
9374
|
var _item$children2;
|
|
9357
|
-
if (!item.url || item.url === '#') return false;
|
|
9358
9375
|
var currentBase = getBasePath(location.pathname);
|
|
9359
9376
|
var itemBase = item.activeUrl ? getBasePath(item.activeUrl) : getBasePath(item.url);
|
|
9360
9377
|
return currentBase === itemBase || ((_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.some(function (child) {
|
|
9361
|
-
return
|
|
9378
|
+
return currentBase === getBasePath(child.activeUrl) || currentBase === getBasePath(child.url);
|
|
9362
9379
|
}));
|
|
9363
9380
|
};
|
|
9364
9381
|
var ChildLink = React__default.memo(function (_ref23) {
|