@perses-dev/timeseries-table-plugin 0.12.0-beta.0 → 0.12.0-beta.2

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.
Files changed (91) hide show
  1. package/__mf/js/TimeSeriesTable.ebd0dd4b.js +7 -0
  2. package/__mf/js/async/121.592e3064.js +2 -0
  3. package/__mf/js/async/122.7fd1fc95.js +7 -0
  4. package/__mf/js/async/177.c119132c.js +1 -0
  5. package/__mf/js/async/192.50958a78.js +1 -0
  6. package/__mf/js/async/2.56628a75.js +1 -0
  7. package/__mf/js/async/235.24837781.js +1 -0
  8. package/__mf/js/async/240.67c2c89e.js +1 -0
  9. package/__mf/js/async/274.65444167.js +2 -0
  10. package/__mf/js/async/356.3bfad7d9.js +1 -0
  11. package/__mf/js/async/{5357.aef95d07.js → 357.8ed888fe.js} +2 -2
  12. package/__mf/js/async/392.1ef58718.js +2 -0
  13. package/__mf/js/async/413.06624aa3.js +1 -0
  14. package/__mf/js/async/43.9749b9fd.js +2 -0
  15. package/__mf/js/async/458.621e2d5a.js +1 -0
  16. package/__mf/js/async/470.e310152e.js +2 -0
  17. package/__mf/js/async/558.3509fb4b.js +1 -0
  18. package/__mf/js/async/570.a7e66af6.js +3 -0
  19. package/__mf/js/async/587.3ce8a0bb.js +1 -0
  20. package/__mf/js/async/588.001b4256.js +1 -0
  21. package/__mf/js/async/599.ca81e868.js +2 -0
  22. package/__mf/js/async/603.0e24b840.js +2 -0
  23. package/__mf/js/async/616.0bbea9bc.js +1 -0
  24. package/__mf/js/async/670.c8f9c536.js +2 -0
  25. package/__mf/js/async/71.70c374bd.js +1 -0
  26. package/__mf/js/async/77.179f6b48.js +1 -0
  27. package/__mf/js/async/842.124d6acb.js +1 -0
  28. package/__mf/js/async/873.58804e15.js +1 -0
  29. package/__mf/js/async/939.70679ab8.js +1 -0
  30. package/__mf/js/async/941.4bc4bec7.js +2 -0
  31. package/__mf/js/async/968.96a94ca9.js +1 -0
  32. package/__mf/js/async/978.0065bf35.js +1 -0
  33. package/__mf/js/async/984.b1111495.js +22 -0
  34. package/__mf/js/async/{8994.2a820d20.js → 994.d6948621.js} +1 -1
  35. package/__mf/js/async/__federation_expose_TimeSeriesTable.f0c14b29.js +1 -0
  36. package/__mf/js/async/lib-router.03790637.js +2 -0
  37. package/__mf/js/async/{lib-router.075161e4.js.LICENSE.txt → lib-router.03790637.js.LICENSE.txt} +3 -3
  38. package/__mf/js/main.435b1dbd.js +7 -0
  39. package/mf-manifest.json +47 -50
  40. package/mf-stats.json +47 -50
  41. package/package.json +6 -5
  42. package/__mf/js/TimeSeriesTable.446fad40.js +0 -7
  43. package/__mf/js/async/1519.275665b0.js +0 -1
  44. package/__mf/js/async/1616.033389ac.js +0 -1
  45. package/__mf/js/async/1805.d973e88e.js +0 -1
  46. package/__mf/js/async/1939.764156f0.js +0 -1
  47. package/__mf/js/async/20.6596cda0.js +0 -3
  48. package/__mf/js/async/2043.53d02831.js +0 -2
  49. package/__mf/js/async/2240.e347568a.js +0 -1
  50. package/__mf/js/async/256.902e65e2.js +0 -1
  51. package/__mf/js/async/2842.0f9a1355.js +0 -1
  52. package/__mf/js/async/3247.75453e76.js +0 -2
  53. package/__mf/js/async/3581.267d9b1c.js +0 -7
  54. package/__mf/js/async/392.3726fc87.js +0 -2
  55. package/__mf/js/async/4077.680bb4e5.js +0 -1
  56. package/__mf/js/async/4121.2410100a.js +0 -2
  57. package/__mf/js/async/5002.f8cbfeaa.js +0 -1
  58. package/__mf/js/async/5071.1d48bef1.js +0 -1
  59. package/__mf/js/async/5183.c5cae16e.js +0 -22
  60. package/__mf/js/async/5587.bb756035.js +0 -1
  61. package/__mf/js/async/6274.2b5d4aab.js +0 -2
  62. package/__mf/js/async/6458.af6e50cd.js +0 -1
  63. package/__mf/js/async/6599.37f382c2.js +0 -2
  64. package/__mf/js/async/7177.a73cee5e.js +0 -1
  65. package/__mf/js/async/7192.6971d1b9.js +0 -1
  66. package/__mf/js/async/7413.3aa337cb.js +0 -1
  67. package/__mf/js/async/7452.71311b78.js +0 -2
  68. package/__mf/js/async/7968.57ce5038.js +0 -1
  69. package/__mf/js/async/7978.9f8f492a.js +0 -1
  70. package/__mf/js/async/8356.ab76e293.js +0 -1
  71. package/__mf/js/async/8470.9ffb3b13.js +0 -2
  72. package/__mf/js/async/873.3c115853.js +0 -1
  73. package/__mf/js/async/9235.20124c9d.js +0 -1
  74. package/__mf/js/async/941.275c3a07.js +0 -2
  75. package/__mf/js/async/9558.4ae146d5.js +0 -1
  76. package/__mf/js/async/9588.33b9c17d.js +0 -1
  77. package/__mf/js/async/__federation_expose_TimeSeriesTable.dd44e38a.js +0 -1
  78. package/__mf/js/async/lib-router.075161e4.js +0 -2
  79. package/__mf/js/main.b105e668.js +0 -7
  80. /package/__mf/css/async/{3581.85c2cbf6.css → 122.85c2cbf6.css} +0 -0
  81. /package/__mf/js/async/{4121.2410100a.js.LICENSE.txt → 121.592e3064.js.LICENSE.txt} +0 -0
  82. /package/__mf/js/async/{3581.267d9b1c.js.LICENSE.txt → 122.7fd1fc95.js.LICENSE.txt} +0 -0
  83. /package/__mf/js/async/{6274.2b5d4aab.js.LICENSE.txt → 274.65444167.js.LICENSE.txt} +0 -0
  84. /package/__mf/js/async/{5357.aef95d07.js.LICENSE.txt → 357.8ed888fe.js.LICENSE.txt} +0 -0
  85. /package/__mf/js/async/{392.3726fc87.js.LICENSE.txt → 392.1ef58718.js.LICENSE.txt} +0 -0
  86. /package/__mf/js/async/{2043.53d02831.js.LICENSE.txt → 43.9749b9fd.js.LICENSE.txt} +0 -0
  87. /package/__mf/js/async/{8470.9ffb3b13.js.LICENSE.txt → 470.e310152e.js.LICENSE.txt} +0 -0
  88. /package/__mf/js/async/{7452.71311b78.js.LICENSE.txt → 603.0e24b840.js.LICENSE.txt} +0 -0
  89. /package/__mf/js/async/{3247.75453e76.js.LICENSE.txt → 670.c8f9c536.js.LICENSE.txt} +0 -0
  90. /package/__mf/js/async/{941.275c3a07.js.LICENSE.txt → 941.4bc4bec7.js.LICENSE.txt} +0 -0
  91. /package/__mf/js/async/{5183.c5cae16e.js.LICENSE.txt → 984.b1111495.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.chunk_TimeSeriesTable=self.chunk_TimeSeriesTable||[]).push([["842"],{40625(e,a,n){n.r(a),n.d(a,{ONE_WEEK_IN_MS:()=>u,querySpecSchema:()=>C,annotationDisplaySchema:()=>R,buildPanelSpecSchema:()=>K,resolvePanelRef:()=>Y,variableDefinitionSchema:()=>es,variableTextSchema:()=>en,isTimeSeriesValueTuple:()=>j,otlpresourcev1:()=>i,parseDurationString:()=>c,isValidQueryPluginType:()=>_,ONE_YEAR_IN_MS:()=>p,DURATION_REGEX:()=>d,createPanelRef:()=>v,getSuggestedStepMs:()=>x,otlpcommonv1:()=>t,variableListSpecSchema:()=>X,variableDisplaySchema:()=>W,DEFAULT_ALL_VALUE:()=>"$__all",ONE_HOUR_IN_MS:()=>r,getPanelKeyFromRef:()=>g,ONE_MINUTE_IN_MS:()=>6e4,intervalToDuration:()=>M,convertTimeToDuration:()=>h,isDurationString:()=>m,panelSpecSchema:()=>q,buildVariableDefinitionSchema:()=>el,otlptracev1:()=>s,annotationSpecSchema:()=>$,buildDatasourceSpecSchema:()=>L,panelDisplaySpec:()=>U,panelDefinitionSchema:()=>F,buildVariableListSchema:()=>ee,datasourceSpecSchema:()=>z,buildVariableSpecSchema:()=>ei,isAbsoluteTimeRange:()=>f,ONE_SECOND_IN_MS:()=>1e3,displaySchema:()=>w,panelEditorSchema:()=>G,variableListSchema:()=>Z,isValidTraceId:()=>T,roundStepInterval:()=>b,variableTextSpecSchema:()=>ea,durationValidationSchema:()=>P,toAbsoluteTimeRange:()=>k,buildVariableListSpecSchema:()=>J,buildAnnotationSpecSchema:()=>N,buildPanelDefinitionSchema:()=>B,isRelativeTimeRange:()=>y,linkSchema:()=>Q,variableSpecSchema:()=>et,formatDuration:()=>S,buildPanelEditorSchema:()=>H,ONE_DAY_IN_MS:()=>o,pluginSchema:()=>A});var t={};n.r(t);var i={};n.r(i);var s={};n.r(s),n.d(s,{StatusCodeError:()=>O,StatusCodeOk:()=>E,StatusCodeUnset:()=>D});var l=n(94461);let r=36e5,o=864e5,u=6048e5,p=31536e6,d=/^(?:(\d+)y)?(?:(\d+)w)?(?:(\d+)d)?(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?(?:(\d+)ms)?$/;function c(e){let a=d.exec(e);if(null===a)throw Error(`Invalid duration string '${e}'`);return{years:parseInt(a[1]??"0"),months:0,weeks:parseInt(a[2]??"0"),days:parseInt(a[3]??"0"),hours:parseInt(a[4]??"0"),minutes:parseInt(a[5]??"0"),seconds:parseInt(a[6]??"0")+parseInt(a[7]??"0")/1e3}}function m(e){return""!==e&&d.test(e)}function S(e){let a=[];if(e.years&&a.push(`${e.years}y`),e.weeks&&a.push(`${e.weeks}w`),e.days&&a.push(`${e.days}d`),e.hours&&a.push(`${e.hours}h`),e.minutes&&a.push(`${e.minutes}m`),e.seconds){let n=Math.trunc(e.seconds);n&&a.push(`${n}s`);let t=Math.round((e.seconds-n)*1e3);t&&a.push(`${t}ms`)}return a.join("")}function M(e){return h(e.end.valueOf()-e.start.valueOf())}function h(e){let a=Math.trunc(e/p);a>0&&(e-=a*p);let n=Math.trunc(e/u);n>0&&(e-=n*u);let t=Math.trunc(e/o);t>0&&(e-=t*o);let i=Math.trunc(e/r);i>0&&(e-=i*r);let s=Math.trunc(e/6e4);return s>0&&(e-=6e4*s),{years:a,months:0,weeks:n,days:t,hours:i,minutes:s,seconds:e/1e3}}function y(e){return void 0!==e.pastDuration}function f(e){return void 0!==e.start&&void 0!==e.end}function k(e){let a=e.end??new Date;return{start:(0,l.sub)(a,c(e.pastDuration)),end:a}}let I=[{maxMs:15,roundedStepMs:10,display:"0.01s"},{maxMs:35,roundedStepMs:20,display:"0.02s"},{maxMs:75,roundedStepMs:50,display:"0.05s"},{maxMs:150,roundedStepMs:100,display:"0.1s"},{maxMs:350,roundedStepMs:200,display:"0.2s"},{maxMs:750,roundedStepMs:500,display:"0.5s"},{maxMs:1500,roundedStepMs:1e3,display:"1s"},{maxMs:3500,roundedStepMs:2e3,display:"2s"},{maxMs:7500,roundedStepMs:5e3,display:"5s"},{maxMs:12500,roundedStepMs:1e4,display:"10s"},{maxMs:17500,roundedStepMs:15e3,display:"15s"},{maxMs:25e3,roundedStepMs:2e4,display:"20s"},{maxMs:45e3,roundedStepMs:3e4,display:"30s"},{maxMs:9e4,roundedStepMs:6e4,display:"1m"},{maxMs:21e4,roundedStepMs:12e4,display:"2m"},{maxMs:45e4,roundedStepMs:3e5,display:"5m"},{maxMs:75e4,roundedStepMs:6e5,display:"10m"},{maxMs:75e4,roundedStepMs:9e5,display:"15m"},{maxMs:15e5,roundedStepMs:12e5,display:"20m"},{maxMs:27e5,roundedStepMs:18e5,display:"30m"},{maxMs:54e5,roundedStepMs:36e5,display:"1h"},{maxMs:9e6,roundedStepMs:72e5,display:"2h"},{maxMs:162e5,roundedStepMs:108e5,display:"3h"},{maxMs:324e5,roundedStepMs:216e5,display:"6h"},{maxMs:864e5,roundedStepMs:432e5,display:"12h"},{maxMs:6048e5,roundedStepMs:864e5,display:"1d"},{maxMs:18144e5,roundedStepMs:6048e5,display:"1w"},{maxMs:36288e5,roundedStepMs:2592e6,display:"30d"},{maxMs:63072e6,roundedStepMs:31536e6,display:"1y"}];function b(e){for(let{maxMs:a,roundedStepMs:n}of I)if(e<a)return n;return 15e3}function x(e,a){return b(Math.floor((e.end.valueOf()-e.start.valueOf())/a))}function Y(e,a){let n=g(a),t=e.panels[n];if(void 0===t)throw Error(`Could not resolve panels reference ${a.$ref}`);return t}function g(e){return e.$ref.substring(14)}function v(e){return{$ref:`#/spec/panels/${e}`}}function _(e){return["TimeSeriesQuery","TraceQuery","ProfileQuery","LogQuery","AlertsQuery","SilencesQuery"].includes(e)}function j(e){return 2===e.length}function T(e){return/^[0-9a-fA-F]+$/.test(e)}let D="STATUS_CODE_UNSET",E="STATUS_CODE_OK",O="STATUS_CODE_ERROR";var V=n(59140);let A=V.Ik({kind:V.Yj().min(1,"Required"),spec:V.g1(V.Yj(),V.bz())}),R=V.Ik({name:V.Yj(),description:V.Yj().optional(),hidden:V.zM().optional(),color:V.Yj().optional()});function N(e){return V.Ik({display:R,plugin:e})}let $=V.Ik({display:R,plugin:A}),w=V.Ik({name:V.Yj().optional(),description:V.Yj().optional()}),z=V.Ik({display:w.optional(),default:V.zM(),plugin:A});function L(e){return V.Ik({display:w.optional(),default:V.zM(),plugin:e})}let P=V.Yj().min(1,"Required").regex(d,"Must be a valid duration string"),U=V.Ik({name:V.Yj().optional(),description:V.Yj().optional()}),C=V.Ik({kind:V.Yj().min(1),spec:V.Ik({name:V.Yj().optional(),plugin:A})}),Q=V.Ik({name:V.Yj().optional(),url:V.Yj().min(1),tooltip:V.Yj().optional(),renderVariables:V.zM().optional(),targetBlank:V.zM().optional()}),q=V.Ik({display:U.optional(),plugin:A,queries:V.YO(C).optional(),links:V.YO(Q).optional()});function K(e){return V.Ik({display:U.optional(),plugin:e,queries:V.YO(C).optional(),links:V.YO(Q).optional()})}let F=V.Ik({kind:V.eu("Panel"),spec:q});function B(e){return V.Ik({kind:V.eu("Panel"),spec:K(e)})}let G=V.Ik({groupId:V.ai(),panelDefinition:F});function H(e){return V.Ik({groupId:V.ai(),panelDefinition:B(e)})}let W=V.Ik({name:V.Yj().optional(),description:V.Yj().optional(),hidden:V.zM().optional()}),X=V.Ik({name:V.Yj().min(1),display:W.optional(),defaultValue:V.Yj().or(V.YO(V.Yj())).optional(),allowAllValue:V.zM(),allowMultiple:V.zM(),customAllValue:V.Yj().optional(),capturingRegexp:V.Yj().optional(),sort:V.k5(["none","alphabetical-asc","alphabetical-desc","numerical-asc","numerical-desc","alphabetical-ci-asc","alphabetical-ci-desc"]).optional(),plugin:A});function J(e){return V.Ik({name:V.Yj().min(1),display:W.optional(),defaultValue:V.Yj().or(V.YO(V.Yj())).optional(),allowAllValue:V.zM(),allowMultiple:V.zM(),customAllValue:V.Yj().optional(),capturingRegexp:V.Yj().optional(),sort:V.k5(["none","alphabetical-asc","alphabetical-desc","numerical-asc","numerical-desc","alphabetical-ci-asc","alphabetical-ci-desc"]).optional(),plugin:e})}let Z=V.Ik({kind:V.eu("ListVariable"),spec:X});function ee(e){return V.Ik({kind:V.eu("ListVariable"),spec:J(e)})}let ea=V.Ik({name:V.Yj().min(1),display:W.optional(),value:V.Yj(),constant:V.zM().optional()}),en=V.Ik({kind:V.eu("TextVariable"),spec:ea}),et=V.gM("kind",[en,Z]);function ei(e){return V.KC([en,ee(e)])}let es=et;function el(e){return V.gM("kind",[V.Ik({kind:V.eu("ListVariable"),spec:J(e)}),V.Ik({kind:V.eu("TextVariable"),spec:ea})])}}}]);