labsense-ui-kit 1.2.63 → 1.2.65
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/Icons/SVGs/QR.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +1 -0
- package/dist/Icons/index.d.ts +1 -1
- package/dist/index.js +72 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +72 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -158,6 +158,7 @@ export { default as ProcessingBulb } from './ProcessingBulb';
|
|
|
158
158
|
export { default as Profile_1 } from './Profile_1';
|
|
159
159
|
export { default as Profile_2 } from './Profile_2';
|
|
160
160
|
export { default as Profile_3 } from './Profile_3';
|
|
161
|
+
export { default as QR } from './QR';
|
|
161
162
|
export { default as Recording_1 } from './Recording_1';
|
|
162
163
|
export { default as Recording_2 } from './Recording_2';
|
|
163
164
|
export { default as Recording_3 } from './Recording_3';
|
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' | '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' | '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
|
@@ -3948,6 +3948,74 @@ var Profile_3 = function Profile_3(_ref) {
|
|
|
3948
3948
|
}));
|
|
3949
3949
|
};
|
|
3950
3950
|
|
|
3951
|
+
var QR = function QR(_ref) {
|
|
3952
|
+
var size = _ref.size,
|
|
3953
|
+
color = _ref.color,
|
|
3954
|
+
weight = _ref.weight;
|
|
3955
|
+
return React__default.createElement("svg", {
|
|
3956
|
+
width: size,
|
|
3957
|
+
height: size,
|
|
3958
|
+
strokeWidth: weight,
|
|
3959
|
+
viewBox: '0 0 10 10',
|
|
3960
|
+
fill: 'none',
|
|
3961
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
3962
|
+
}, React__default.createElement("path", {
|
|
3963
|
+
d: 'M0.866585 0.333984C0.725136 0.333984 0.589481 0.390175 0.489462 0.490194C0.389442 0.590214 0.333252 0.725869 0.333252 0.867318V3.00065H2.99992V0.333984H0.866585ZM2.33325 2.33398H0.999919V1.00065H2.33325V2.33398Z',
|
|
3964
|
+
fill: color
|
|
3965
|
+
}), React__default.createElement("path", {
|
|
3966
|
+
d: 'M0.333252 9.13333C0.333252 9.27478 0.389442 9.41044 0.489462 9.51046C0.589481 9.61048 0.725136 9.66667 0.866585 9.66667H2.99992V7H0.333252V9.13333ZM0.999919 7.66667H2.33325V9H0.999919V7.66667Z',
|
|
3967
|
+
fill: color
|
|
3968
|
+
}), React__default.createElement("path", {
|
|
3969
|
+
d: 'M7 9.66667H9.13333C9.27478 9.66667 9.41044 9.61048 9.51046 9.51046C9.61048 9.41044 9.66667 9.27478 9.66667 9.13333V7H7V9.66667ZM7.66667 7.66667H9V9H7.66667V7.66667Z',
|
|
3970
|
+
fill: color
|
|
3971
|
+
}), React__default.createElement("path", {
|
|
3972
|
+
d: 'M9.13333 0.333984H7V3.00065H9.66667V0.867318C9.66667 0.725869 9.61048 0.590214 9.51046 0.490194C9.41044 0.390175 9.27478 0.333984 9.13333 0.333984ZM9 2.33398H7.66667V1.00065H9V2.33398Z',
|
|
3973
|
+
fill: color
|
|
3974
|
+
}), React__default.createElement("path", {
|
|
3975
|
+
d: 'M5.66659 2.33268V1.66602H4.33325V2.99935H4.99992V2.33268H5.66659Z',
|
|
3976
|
+
fill: color
|
|
3977
|
+
}), React__default.createElement("path", {
|
|
3978
|
+
d: 'M3 3H3.66667V3.66667H3V3Z',
|
|
3979
|
+
fill: color
|
|
3980
|
+
}), React__default.createElement("path", {
|
|
3981
|
+
d: 'M3.66675 3.66602H5.00008V4.33268H3.66675V3.66602Z',
|
|
3982
|
+
fill: color
|
|
3983
|
+
}), React__default.createElement("path", {
|
|
3984
|
+
d: 'M5.66675 1.00065V1.66732H6.33341V0.333984H3.66675V1.66732H4.33341V1.00065H5.66675Z',
|
|
3985
|
+
fill: color
|
|
3986
|
+
}), React__default.createElement("path", {
|
|
3987
|
+
d: 'M0.333252 3.66602H0.999919V4.99935H0.333252V3.66602Z',
|
|
3988
|
+
fill: color
|
|
3989
|
+
}), React__default.createElement("path", {
|
|
3990
|
+
d: 'M2.99992 4.33268V4.99935H2.33325V3.66602H1.66659V4.99935H0.999919V5.66602H0.333252V6.33268H1.66659V5.66602H2.33325V6.33268H2.99992V5.66602H3.66658V4.33268H2.99992Z',
|
|
3991
|
+
fill: color
|
|
3992
|
+
}), React__default.createElement("path", {
|
|
3993
|
+
d: 'M5.66667 4.33398H6.33333V5.00065H7V4.33398H7.66667V3.66732H6.33333V2.33398H5.66667V3.00065H5V3.66732H5.66667V4.33398Z',
|
|
3994
|
+
fill: color
|
|
3995
|
+
}), React__default.createElement("path", {
|
|
3996
|
+
d: 'M5.00008 9.00065H3.66675V9.66732H6.33341V9.00065H5.66675V8.33398H5.00008V9.00065Z',
|
|
3997
|
+
fill: color
|
|
3998
|
+
}), React__default.createElement("path", {
|
|
3999
|
+
d: 'M6.33325 5.66732V5.00065H5.66659V4.33398H4.99992V5.00065H4.33325V5.66732H4.99992V6.33398H5.66659V5.66732H6.33325Z',
|
|
4000
|
+
fill: color
|
|
4001
|
+
}), React__default.createElement("path", {
|
|
4002
|
+
d: 'M9 5.66602H9.66667V6.33268H9V5.66602Z',
|
|
4003
|
+
fill: color
|
|
4004
|
+
}), React__default.createElement("path", {
|
|
4005
|
+
d: 'M6.33325 5.66602H8.33325V6.33268H6.33325V5.66602Z',
|
|
4006
|
+
fill: color
|
|
4007
|
+
}), React__default.createElement("path", {
|
|
4008
|
+
d: 'M9.00008 3.66602H8.33341V4.33268H7.66675V4.99935H8.33341V5.66602H9.00008V4.99935H9.66675V4.33268H9.00008V3.66602Z',
|
|
4009
|
+
fill: color
|
|
4010
|
+
}), React__default.createElement("path", {
|
|
4011
|
+
d: 'M5.66675 6.33398H6.33341V8.33398H5.66675V6.33398Z',
|
|
4012
|
+
fill: color
|
|
4013
|
+
}), React__default.createElement("path", {
|
|
4014
|
+
d: 'M3.66675 8.33268H4.33341V7.66602H5.00008V6.99935H4.33341V5.66602H3.66675V8.33268Z',
|
|
4015
|
+
fill: color
|
|
4016
|
+
}));
|
|
4017
|
+
};
|
|
4018
|
+
|
|
3951
4019
|
var Recording_1 = function Recording_1(_ref) {
|
|
3952
4020
|
var size = _ref.size,
|
|
3953
4021
|
color = _ref.color,
|
|
@@ -5827,6 +5895,7 @@ var IconSVGs = {
|
|
|
5827
5895
|
Profile_1: Profile_1,
|
|
5828
5896
|
Profile_2: Profile_2,
|
|
5829
5897
|
Profile_3: Profile_3,
|
|
5898
|
+
QR: QR,
|
|
5830
5899
|
Recording_1: Recording_1,
|
|
5831
5900
|
Recording_2: KnobController$1,
|
|
5832
5901
|
Recording_3: Recording_3,
|
|
@@ -9037,8 +9106,10 @@ var CircularProgress = function CircularProgress(_ref) {
|
|
|
9037
9106
|
var radius = (viewBoxSize - strokeWidth) / 2;
|
|
9038
9107
|
var circumference = 2 * Math.PI * radius;
|
|
9039
9108
|
var parseVolumeData = function parseVolumeData(threshold, totalCapacity, usedCapacity) {
|
|
9109
|
+
var total = Number(totalCapacity) || 0;
|
|
9110
|
+
var used = Number(usedCapacity) || 0;
|
|
9040
9111
|
var thresholdValue = threshold != null ? threshold : 100;
|
|
9041
|
-
var progress =
|
|
9112
|
+
var progress = total > 0 ? used / total * 100 : 0;
|
|
9042
9113
|
return {
|
|
9043
9114
|
progress: Math.min(Math.max(Math.round(progress), 0), 100),
|
|
9044
9115
|
processedThreshold: Math.min(Math.max(thresholdValue, 0), 100)
|