{"version":3,"file":"asoftwareworld-charts-utils.mjs","sources":["../../src/app/component/utils/objectutils.ts","../../src/app/component/utils/public_api.ts","../../src/app/component/utils/asoftwareworld-charts-utils.ts"],"sourcesContent":["/**\r\n * @license\r\n * Copyright ASW (A Software World) All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file\r\n */\r\n\r\nimport { GridOptionsEnum } from '@asoftwareworld/charts/core';\r\n\r\nexport class ObjectUtils {\r\n    public static findDeviceSize(containerWidth: number): GridOptionsEnum {\r\n        if (containerWidth >= 1400) {\r\n            return GridOptionsEnum.ExtraExtraLarge;\r\n        } else if (containerWidth >= 1200) {\r\n            return GridOptionsEnum.ExtraLarge;\r\n        } else if (containerWidth >= 992) {\r\n            return GridOptionsEnum.Large;\r\n        } else if (containerWidth >= 768) {\r\n            return GridOptionsEnum.Medium;\r\n        } else if (containerWidth >= 576) {\r\n            return GridOptionsEnum.Small;\r\n        } else if (containerWidth < 576) {\r\n            return GridOptionsEnum.ExtraSmall;\r\n        } else {\r\n            return GridOptionsEnum.ExtraSmall;\r\n        }\r\n    }\r\n}\r\n","/**\r\n * @license\r\n * Copyright ASW (A Software World) All Rights Reserved.\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file\r\n */\r\n\r\nexport * from './objectutils';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;AAAA;;;;;;;MAUa,WAAW;IACb,OAAO,cAAc,CAAC,cAAsB;QAC/C,IAAI,cAAc,IAAI,IAAI,EAAE;YACxB,OAAO,eAAe,CAAC,eAAe,CAAC;SAC1C;aAAM,IAAI,cAAc,IAAI,IAAI,EAAE;YAC/B,OAAO,eAAe,CAAC,UAAU,CAAC;SACrC;aAAM,IAAI,cAAc,IAAI,GAAG,EAAE;YAC9B,OAAO,eAAe,CAAC,KAAK,CAAC;SAChC;aAAM,IAAI,cAAc,IAAI,GAAG,EAAE;YAC9B,OAAO,eAAe,CAAC,MAAM,CAAC;SACjC;aAAM,IAAI,cAAc,IAAI,GAAG,EAAE;YAC9B,OAAO,eAAe,CAAC,KAAK,CAAC;SAChC;aAAM,IAAI,cAAc,GAAG,GAAG,EAAE;YAC7B,OAAO,eAAe,CAAC,UAAU,CAAC;SACrC;aAAM;YACH,OAAO,eAAe,CAAC,UAAU,CAAC;SACrC;KACJ;;;AC3BL;;;;;;;;ACAA;;;;;;"}