@sisense/sdk-ui 2.10.0 → 2.11.0

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 (102) hide show
  1. package/dist/ai.cjs +15 -15
  2. package/dist/ai.js +408 -401
  3. package/dist/analytics-composer/node.cjs +1 -1
  4. package/dist/analytics-composer/node.js +17 -17
  5. package/dist/analytics-composer.cjs +1 -1
  6. package/dist/analytics-composer.js +6 -6
  7. package/dist/{derive-chart-family-B1on_xkS.cjs → derive-chart-family-BauaWEEc.cjs} +49 -49
  8. package/dist/{derive-chart-family-BllGhqsW.js → derive-chart-family-BhAFg8OE.js} +10056 -9990
  9. package/dist/{dimensions-D-Z9sitz.js → dimensions-Bk74slQe.js} +1 -1
  10. package/dist/{dimensions-BYqdB-Q8.cjs → dimensions-DCxjxuyH.cjs} +1 -1
  11. package/dist/{execute-query-CGLL9vXX.js → execute-query-CxMSGp-J.js} +41 -40
  12. package/dist/{execute-query-CABqVn7C.cjs → execute-query-uQ2s1ZNz.cjs} +1 -1
  13. package/dist/index.cjs +22 -22
  14. package/dist/index.js +11201 -10704
  15. package/dist/index.umd.js +312 -311
  16. package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +7 -1
  17. package/dist/packages/sdk-ui/src/app/client-application.d.ts +2 -2
  18. package/dist/packages/sdk-ui/src/calendar-heatmap-chart.d.ts +17 -3
  19. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +67 -36
  20. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/data-options.d.ts +2 -0
  21. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data.d.ts +1 -0
  22. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/extras-options.d.ts +1 -2
  23. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/calendar-data-generator.d.ts +14 -7
  24. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +9 -1
  25. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap.d.ts +2 -4
  26. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/calendar-pagination.d.ts +2 -1
  27. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +6 -17
  28. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +3 -1
  29. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/calendar-utils.d.ts +33 -0
  30. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/index.d.ts +2 -0
  31. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/with-calendar-heatmap-data-coloring.d.ts +17 -0
  32. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/alerts/index.d.ts +5 -0
  33. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data/index.d.ts +21 -0
  34. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data-options/index.d.ts +32 -0
  35. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/design-options/index.d.ts +17 -0
  36. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/funnel-chart-builder.d.ts +2 -0
  37. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  38. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/types.d.ts +12 -0
  39. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +2 -2
  40. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/alerts/index.d.ts +1 -0
  41. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data/index.d.ts +7 -0
  42. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data-options/index.d.ts +11 -0
  43. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/design-options/index.d.ts +6 -0
  44. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  45. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/sunburst-chart-builder.d.ts +2 -0
  46. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/types.d.ts +12 -0
  47. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/alerts/index.d.ts +1 -0
  48. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data/index.d.ts +7 -0
  49. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data-options/index.d.ts +11 -0
  50. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/design-options/index.d.ts +6 -0
  51. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  52. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/treemap-chart-builder.d.ts +2 -0
  53. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/types.d.ts +12 -0
  54. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +1 -1
  55. package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +9 -8
  56. package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +3 -3
  57. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +19 -0
  58. package/dist/packages/sdk-ui/src/chart-options-processor/chart-options-service.d.ts +3 -3
  59. package/dist/packages/sdk-ui/src/chart-options-processor/series-labels.d.ts +19 -0
  60. package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-plot-options.d.ts +2 -2
  61. package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +26 -4
  62. package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-plot-options.d.ts +2 -2
  63. package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-series.d.ts +8 -0
  64. package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-plot-options.d.ts +2 -2
  65. package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-series.d.ts +2 -1
  66. package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-options.d.ts +78 -0
  67. package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +6 -5
  68. package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +2 -2
  69. package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +14 -11
  70. package/dist/packages/sdk-ui/src/common/components/modal/modal-context.d.ts +1 -2
  71. package/dist/packages/sdk-ui/src/dashboard/components/jtd-dashboard.d.ts +5 -4
  72. package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +109 -0
  73. package/dist/packages/sdk-ui/src/dashboard/hooks/index.d.ts +7 -0
  74. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/index.d.ts +20 -5
  75. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-config-transformers.d.ts +85 -0
  76. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +3 -2
  77. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-formatters.d.ts +64 -2
  78. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +4 -5
  79. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-menu.d.ts +1 -0
  80. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-types.d.ts +260 -5
  81. package/dist/packages/sdk-ui/src/dashboard/hooks/use-dashboard-header-toolbar.d.ts +7 -0
  82. package/dist/packages/sdk-ui/src/dashboard/hooks/use-edit-mode-toolbar.d.ts +3 -0
  83. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd-widget.d.ts +68 -0
  84. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd.d.ts +33 -7
  85. package/dist/packages/sdk-ui/src/dashboard/hooks/use-tabber.d.ts +13 -0
  86. package/dist/packages/sdk-ui/src/dashboard/index.d.ts +1 -0
  87. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/utils.d.ts +1 -3
  88. package/dist/packages/sdk-ui/src/index.d.ts +9 -1
  89. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +25 -2
  90. package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +8 -4
  91. package/dist/packages/sdk-ui/src/props.d.ts +0 -6
  92. package/dist/packages/sdk-ui/src/types.d.ts +195 -21
  93. package/dist/packages/sdk-ui/src/utils/create-level-attribute.d.ts +11 -0
  94. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options.d.ts +9 -0
  95. package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +45 -72
  96. package/dist/{types-Ds0KtTJF.cjs → types-DhvOgfXa.cjs} +1 -1
  97. package/dist/{types-BRtWk8uC.js → types-Dxieyr4A.js} +1 -1
  98. package/dist/{use-common-filters-D8tEa9zb.js → use-common-filters-DJyYvdev.js} +17387 -16944
  99. package/dist/{use-common-filters-hw1WKPCY.cjs → use-common-filters-Qj9249s0.cjs} +227 -226
  100. package/dist/{widget-composer-DL0xPtlC.js → widget-composer-azihIMsw.js} +3 -3
  101. package/dist/{widget-composer-B7zeAa_D.cjs → widget-composer-omIEhWNL.cjs} +1 -1
  102. package/package.json +11 -16
@@ -1,4 +1,4 @@
1
- import { D as b, M as h, S as D, p as T, n as w, a as p, j as _, b as H, c as n, d as o, e as f } from "./execute-query-CGLL9vXX.js";
1
+ import { D as b, M as h, S as D, p as T, n as w, a as p, j as _, b as H, c as n, d as o, e as f } from "./execute-query-CxMSGp-J.js";
2
2
  class c extends b {
3
3
  constructor(e, t, s, r, u, m, l, d, y, a) {
4
4
  if (super(e, u || h.Dimension, m, d, y), this.__serializable = "DimensionalDimension", this._dimensions = [], this._attributes = [], this._sort = D.None, !y && t) {
@@ -1 +1 @@
1
- "use strict";const e=require("./execute-query-CABqVn7C.cjs");class m extends e.DimensionalElement{constructor(i,t,n,a,o,u,l,h,D,r){if(super(i,o||e.MetadataTypes.Dimension,u,h,D),this.__serializable="DimensionalDimension",this._dimensions=[],this._attributes=[],this._sort=e.Sort.None,!D&&t){const{table:d,column:g}=e.parseExpression(t);this.composeCode=e.normalizeAttributeName(d,g,"",e.DATA_MODEL_MODULE_NAME)}this._sort=l||e.Sort.None,this._expression=t,this.setDimensions(a||[]),this.setAttributes(n),r&&(this.defaultAttribute=r)}static parseType(i){switch(i){case"datetime":case e.MetadataTypes.DateDimension:return e.MetadataTypes.DateDimension;case"text":case e.MetadataTypes.TextDimension:return e.MetadataTypes.TextDimension;case"numeric":case e.MetadataTypes.NumericDimension:return e.MetadataTypes.NumericDimension}return e.MetadataTypes.TextDimension}getAttachedName(i,t){let n=i;const a=e.normalizeName(i);return(a==="id"||a==="name"||Object.getOwnPropertyDescriptor(this,a)!==void 0||this[a]!==void 0)&&(n=t),n}setDimensions(i){this._dimensions=i;for(let t=0;t<i.length;t++){const n=this.getAttachedName(i[t].name,i[t].attributes[0].expression);this[e.normalizeName(n)]=i[t],n!=i[t].name&&(i[t].name=n)}}setAttributes(i){this._attributes=i||[];for(let t=0;t<i.length;t++){const n=this.getAttachedName(i[t].name,i[t].expression);this[e.normalizeName(n)]=i[t],i[t].name!=n&&(i[t].name=n)}}get id(){return this._expression}get attributes(){return this._attributes}get dimensions(){return this._dimensions}get expression(){return this._expression}getSort(){return this._sort}sort(i){return new m(this.name,this.expression,this.attributes,this.dimensions,this.type,this.description,i,this.dataSource,this.composeCode,this.defaultAttribute)}serialize(){const i=super.serialize();return i.expression=this.expression,this.getSort()!==void 0&&(i.sort=this.getSort()),i.attributes=this._attributes.map(t=>t.serialize()),i.dimensions=this._dimensions.map(t=>t.serialize()),this.defaultAttribute&&(i.defaultAttribute=this.defaultAttribute.serialize()),i}jaql(i){if(this.defaultAttribute)return this.defaultAttribute.jaql(i);if(this.dimensions.length>0)return this.dimensions[0].jaql(i);const t={jaql:{title:this.name,dim:this.expression,datatype:e.jaqlSimpleColumnType(this.type)}};return this._sort!=e.Sort.None&&(t.jaql.sort=this._sort==e.Sort.Ascending?"asc":"desc"),i===!0?t.jaql:t}}const c=s=>s&&s.__serializable==="DimensionalDimension";class y extends m{constructor(i,t,n,a,o,u){super(i,t,[],[],e.MetadataTypes.DateDimension,n,a,o,u),this.__serializable="DimensionalDateDimension",this.defaultLevel=e.DateLevels.Years,this.Years=new e.DimensionalLevelAttribute(e.DateLevels.Years,t,e.DateLevels.Years,"yyyy",n,a,o),this.Quarters=new e.DimensionalLevelAttribute(e.DateLevels.Quarters,t,e.DateLevels.Quarters,"Q yyyy",n,a,o),this.Months=new e.DimensionalLevelAttribute(e.DateLevels.Months,t,e.DateLevels.Months,"yyyy-MM",n,a,o),this.Weeks=new e.DimensionalLevelAttribute(e.DateLevels.Weeks,t,e.DateLevels.Weeks,"ww yyyy",n,a,o),this.Days=new e.DimensionalLevelAttribute(e.DateLevels.Days,t,e.DateLevels.Days,"yyyy-MM-dd",n,a,o),this.Hours=new e.DimensionalLevelAttribute(e.DateLevels.Hours,t,e.DateLevels.Hours,"yyyy-MM-dd HH:mm",n,a,o),this.MinutesRoundTo30=new e.DimensionalLevelAttribute(e.DateLevels.MinutesRoundTo30,t,e.DateLevels.MinutesRoundTo30,"yyyy-MM-dd HH:mm",n,a,o),this.MinutesRoundTo15=new e.DimensionalLevelAttribute(e.DateLevels.MinutesRoundTo15,t,e.DateLevels.MinutesRoundTo15,"yyyy-MM-dd HH:mm",n,a,o),this.Minutes=new e.DimensionalLevelAttribute(e.DateLevels.Minutes,t,e.DateLevels.Minutes,"yyyy-MM-dd HH:mm",n,a,o),this.Seconds=new e.DimensionalLevelAttribute(e.DateLevels.Seconds,t,e.DateLevels.Seconds,"yyyy-MM-dd HH:mm:ss",n,a,o),this.AggHours=new e.DimensionalLevelAttribute(e.DateLevels.AggHours,t,e.DateLevels.AggHours,"HH:mm",n,a,o),this.AggMinutesRoundTo30=new e.DimensionalLevelAttribute(e.DateLevels.AggMinutesRoundTo30,t,e.DateLevels.AggMinutesRoundTo30,"HH:mm",n,a,o),this.AggMinutesRoundTo15=new e.DimensionalLevelAttribute(e.DateLevels.AggMinutesRoundTo15,t,e.DateLevels.AggMinutesRoundTo15,"HH:mm",n,a,o),this.AggMinutesRoundTo1=new e.DimensionalLevelAttribute(e.DateLevels.AggMinutesRoundTo1,t,e.DateLevels.AggMinutesRoundTo1,"HH:mm",n,a,o),this.setAttributes([this.Years,this.Quarters,this.Months,this.Weeks,this.Days,this.Hours,this.MinutesRoundTo30,this.MinutesRoundTo15,this.Minutes,this.Seconds,this.AggHours,this.AggMinutesRoundTo30,this.AggMinutesRoundTo15,this.AggMinutesRoundTo1])}get id(){return this.expression}setDimensions(){}setAttributes(i){this._attributes=i}getSort(){return this._sort}sort(i){return new y(this.name,this.expression,this.description,i,this.dataSource,this.composeCode)}serialize(){return super.serialize()}jaql(i){const t=this[this.defaultLevel].jaql();return t.jaql.title=this.name,i?t.jaql:t}}const p=s=>s&&s.__serializable==="DimensionalDateDimension";function M(s){const i=s.name||s.title,t=s.desc||s.description,n=s.expression||s.dim,a=m.parseType(s.dimtype||s.type),o=s.sort,u=s.dataSource;if(a==e.MetadataTypes.DateDimension)return new y(i,n,t,o,u);const l=Object.getOwnPropertyNames(s).map(r=>s[r]).filter(r=>e.MetadataTypes.isAttribute(r==null?void 0:r.type));if(l.length==0)if(s.attributes){let r;for(let d=0;d<s.attributes.length;d++)r=s.attributes[d],l.push(new e.DimensionalAttribute(r.name,r.expression,r.type,r.description,r.sort,r.dataSource))}else n&&l.push(new e.DimensionalAttribute(i,n,a,t,o,u));const h=Object.getOwnPropertyNames(s).map(r=>s[r]).filter(r=>e.MetadataTypes.isDimension(r==null?void 0:r.type));if(h.length==0&&s.dimensions)for(let r=0;r<s.dimensions.length;r++)h.push(M(s.dimensions[r]));const D=new m(i,n,l,h,a,t,o,u);return s.defaultAttribute&&(D.defaultAttribute=l.find(r=>r.name===s.defaultAttribute)),D}function A(s){const i=s.name||s.title,t=s.expression||s.dim,n=s.desc||s.description,a=s.sort,o=s.dataSource;return new y(i,t,n,a,o)}exports.DimensionalDateDimension=y;exports.DimensionalDimension=m;exports.createDateDimension=A;exports.createDimension=M;exports.isDimensionalDateDimension=p;exports.isDimensionalDimension=c;
1
+ "use strict";const e=require("./execute-query-uQ2s1ZNz.cjs");class m extends e.DimensionalElement{constructor(i,t,n,a,o,u,l,h,D,r){if(super(i,o||e.MetadataTypes.Dimension,u,h,D),this.__serializable="DimensionalDimension",this._dimensions=[],this._attributes=[],this._sort=e.Sort.None,!D&&t){const{table:d,column:g}=e.parseExpression(t);this.composeCode=e.normalizeAttributeName(d,g,"",e.DATA_MODEL_MODULE_NAME)}this._sort=l||e.Sort.None,this._expression=t,this.setDimensions(a||[]),this.setAttributes(n),r&&(this.defaultAttribute=r)}static parseType(i){switch(i){case"datetime":case e.MetadataTypes.DateDimension:return e.MetadataTypes.DateDimension;case"text":case e.MetadataTypes.TextDimension:return e.MetadataTypes.TextDimension;case"numeric":case e.MetadataTypes.NumericDimension:return e.MetadataTypes.NumericDimension}return e.MetadataTypes.TextDimension}getAttachedName(i,t){let n=i;const a=e.normalizeName(i);return(a==="id"||a==="name"||Object.getOwnPropertyDescriptor(this,a)!==void 0||this[a]!==void 0)&&(n=t),n}setDimensions(i){this._dimensions=i;for(let t=0;t<i.length;t++){const n=this.getAttachedName(i[t].name,i[t].attributes[0].expression);this[e.normalizeName(n)]=i[t],n!=i[t].name&&(i[t].name=n)}}setAttributes(i){this._attributes=i||[];for(let t=0;t<i.length;t++){const n=this.getAttachedName(i[t].name,i[t].expression);this[e.normalizeName(n)]=i[t],i[t].name!=n&&(i[t].name=n)}}get id(){return this._expression}get attributes(){return this._attributes}get dimensions(){return this._dimensions}get expression(){return this._expression}getSort(){return this._sort}sort(i){return new m(this.name,this.expression,this.attributes,this.dimensions,this.type,this.description,i,this.dataSource,this.composeCode,this.defaultAttribute)}serialize(){const i=super.serialize();return i.expression=this.expression,this.getSort()!==void 0&&(i.sort=this.getSort()),i.attributes=this._attributes.map(t=>t.serialize()),i.dimensions=this._dimensions.map(t=>t.serialize()),this.defaultAttribute&&(i.defaultAttribute=this.defaultAttribute.serialize()),i}jaql(i){if(this.defaultAttribute)return this.defaultAttribute.jaql(i);if(this.dimensions.length>0)return this.dimensions[0].jaql(i);const t={jaql:{title:this.name,dim:this.expression,datatype:e.jaqlSimpleColumnType(this.type)}};return this._sort!=e.Sort.None&&(t.jaql.sort=this._sort==e.Sort.Ascending?"asc":"desc"),i===!0?t.jaql:t}}const c=s=>s&&s.__serializable==="DimensionalDimension";class y extends m{constructor(i,t,n,a,o,u){super(i,t,[],[],e.MetadataTypes.DateDimension,n,a,o,u),this.__serializable="DimensionalDateDimension",this.defaultLevel=e.DateLevels.Years,this.Years=new e.DimensionalLevelAttribute(e.DateLevels.Years,t,e.DateLevels.Years,"yyyy",n,a,o),this.Quarters=new e.DimensionalLevelAttribute(e.DateLevels.Quarters,t,e.DateLevels.Quarters,"Q yyyy",n,a,o),this.Months=new e.DimensionalLevelAttribute(e.DateLevels.Months,t,e.DateLevels.Months,"yyyy-MM",n,a,o),this.Weeks=new e.DimensionalLevelAttribute(e.DateLevels.Weeks,t,e.DateLevels.Weeks,"ww yyyy",n,a,o),this.Days=new e.DimensionalLevelAttribute(e.DateLevels.Days,t,e.DateLevels.Days,"yyyy-MM-dd",n,a,o),this.Hours=new e.DimensionalLevelAttribute(e.DateLevels.Hours,t,e.DateLevels.Hours,"yyyy-MM-dd HH:mm",n,a,o),this.MinutesRoundTo30=new e.DimensionalLevelAttribute(e.DateLevels.MinutesRoundTo30,t,e.DateLevels.MinutesRoundTo30,"yyyy-MM-dd HH:mm",n,a,o),this.MinutesRoundTo15=new e.DimensionalLevelAttribute(e.DateLevels.MinutesRoundTo15,t,e.DateLevels.MinutesRoundTo15,"yyyy-MM-dd HH:mm",n,a,o),this.Minutes=new e.DimensionalLevelAttribute(e.DateLevels.Minutes,t,e.DateLevels.Minutes,"yyyy-MM-dd HH:mm",n,a,o),this.Seconds=new e.DimensionalLevelAttribute(e.DateLevels.Seconds,t,e.DateLevels.Seconds,"yyyy-MM-dd HH:mm:ss",n,a,o),this.AggHours=new e.DimensionalLevelAttribute(e.DateLevels.AggHours,t,e.DateLevels.AggHours,"HH:mm",n,a,o),this.AggMinutesRoundTo30=new e.DimensionalLevelAttribute(e.DateLevels.AggMinutesRoundTo30,t,e.DateLevels.AggMinutesRoundTo30,"HH:mm",n,a,o),this.AggMinutesRoundTo15=new e.DimensionalLevelAttribute(e.DateLevels.AggMinutesRoundTo15,t,e.DateLevels.AggMinutesRoundTo15,"HH:mm",n,a,o),this.AggMinutesRoundTo1=new e.DimensionalLevelAttribute(e.DateLevels.AggMinutesRoundTo1,t,e.DateLevels.AggMinutesRoundTo1,"HH:mm",n,a,o),this.setAttributes([this.Years,this.Quarters,this.Months,this.Weeks,this.Days,this.Hours,this.MinutesRoundTo30,this.MinutesRoundTo15,this.Minutes,this.Seconds,this.AggHours,this.AggMinutesRoundTo30,this.AggMinutesRoundTo15,this.AggMinutesRoundTo1])}get id(){return this.expression}setDimensions(){}setAttributes(i){this._attributes=i}getSort(){return this._sort}sort(i){return new y(this.name,this.expression,this.description,i,this.dataSource,this.composeCode)}serialize(){return super.serialize()}jaql(i){const t=this[this.defaultLevel].jaql();return t.jaql.title=this.name,i?t.jaql:t}}const p=s=>s&&s.__serializable==="DimensionalDateDimension";function M(s){const i=s.name||s.title,t=s.desc||s.description,n=s.expression||s.dim,a=m.parseType(s.dimtype||s.type),o=s.sort,u=s.dataSource;if(a==e.MetadataTypes.DateDimension)return new y(i,n,t,o,u);const l=Object.getOwnPropertyNames(s).map(r=>s[r]).filter(r=>e.MetadataTypes.isAttribute(r==null?void 0:r.type));if(l.length==0)if(s.attributes){let r;for(let d=0;d<s.attributes.length;d++)r=s.attributes[d],l.push(new e.DimensionalAttribute(r.name,r.expression,r.type,r.description,r.sort,r.dataSource))}else n&&l.push(new e.DimensionalAttribute(i,n,a,t,o,u));const h=Object.getOwnPropertyNames(s).map(r=>s[r]).filter(r=>e.MetadataTypes.isDimension(r==null?void 0:r.type));if(h.length==0&&s.dimensions)for(let r=0;r<s.dimensions.length;r++)h.push(M(s.dimensions[r]));const D=new m(i,n,l,h,a,t,o,u);return s.defaultAttribute&&(D.defaultAttribute=l.find(r=>r.name===s.defaultAttribute)),D}function A(s){const i=s.name||s.title,t=s.expression||s.dim,n=s.desc||s.description,a=s.sort,o=s.dataSource;return new y(i,t,n,a,o)}exports.DimensionalDateDimension=y;exports.DimensionalDimension=m;exports.createDateDimension=A;exports.createDimension=M;exports.isDimensionalDateDimension=p;exports.isDimensionalDimension=c;
@@ -6309,8 +6309,8 @@ export {
6309
6309
  pg as am,
6310
6310
  vs as an,
6311
6311
  Of as ao,
6312
- ql as ap,
6313
- Vh as aq,
6312
+ Vh as ap,
6313
+ ql as aq,
6314
6314
  ng as ar,
6315
6315
  Ct as as,
6316
6316
  Hp as at,
@@ -6321,7 +6321,7 @@ export {
6321
6321
  Pc as ay,
6322
6322
  Mp as az,
6323
6323
  _i as b,
6324
- X as b$,
6324
+ Qp as b$,
6325
6325
  ki as b0,
6326
6326
  Vi as b1,
6327
6327
  Hi as b2,
@@ -6338,27 +6338,27 @@ export {
6338
6338
  Od as bD,
6339
6339
  Ao as bE,
6340
6340
  Ni as bF,
6341
- mn as bG,
6342
- Bc as bH,
6343
- ig as bI,
6344
- qt as bJ,
6345
- Yl as bK,
6346
- pt as bL,
6347
- Vl as bM,
6348
- Pd as bN,
6349
- fd as bO,
6350
- qh as bP,
6351
- Tt as bQ,
6352
- Md as bR,
6353
- St as bS,
6354
- Zt as bT,
6355
- ug as bU,
6356
- lg as bV,
6357
- Af as bW,
6358
- Wp as bX,
6359
- qp as bY,
6360
- Kp as bZ,
6361
- Qp as b_,
6341
+ ig as bG,
6342
+ lg as bH,
6343
+ Td as bI,
6344
+ mn as bJ,
6345
+ Bc as bK,
6346
+ qt as bL,
6347
+ Yl as bM,
6348
+ pt as bN,
6349
+ Vl as bO,
6350
+ Pd as bP,
6351
+ fd as bQ,
6352
+ qh as bR,
6353
+ Tt as bS,
6354
+ Md as bT,
6355
+ St as bU,
6356
+ Zt as bV,
6357
+ ug as bW,
6358
+ Af as bX,
6359
+ Wp as bY,
6360
+ qp as bZ,
6361
+ Kp as b_,
6362
6362
  yg as ba,
6363
6363
  vg as bb,
6364
6364
  Sg as bc,
@@ -6386,22 +6386,23 @@ export {
6386
6386
  Dd as by,
6387
6387
  vi as bz,
6388
6388
  g as c,
6389
- Qt as c0,
6390
- Df as c1,
6391
- On as c2,
6392
- Mf as c3,
6393
- re as c4,
6394
- _f as c5,
6395
- Ui as c6,
6396
- Cf as c7,
6397
- Nf as c8,
6398
- Bi as c9,
6399
- Ef as ca,
6400
- nt as cb,
6401
- Up as cc,
6402
- Zp as cd,
6403
- dg as ce,
6404
- In as cf,
6389
+ X as c0,
6390
+ Qt as c1,
6391
+ Df as c2,
6392
+ On as c3,
6393
+ Mf as c4,
6394
+ re as c5,
6395
+ _f as c6,
6396
+ Ui as c7,
6397
+ Cf as c8,
6398
+ Nf as c9,
6399
+ Bi as ca,
6400
+ Ef as cb,
6401
+ nt as cc,
6402
+ Up as cd,
6403
+ Zp as ce,
6404
+ dg as cf,
6405
+ In as cg,
6405
6406
  Y as d,
6406
6407
  Ke as e,
6407
6408
  gs as f,