@sisense/sdk-ui 2.17.0 → 2.18.1
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/ai.cjs +2 -2
- package/dist/ai.js +6 -6
- package/dist/analytics-composer/node.cjs +1 -1
- package/dist/analytics-composer/node.js +515 -454
- package/dist/analytics-composer.cjs +1 -1
- package/dist/analytics-composer.js +6 -6
- package/dist/{derive-chart-family-DkuTQGOE.js → derive-chart-family-BEjUaaLD.js} +398 -390
- package/dist/{derive-chart-family-B_cR1yhw.cjs → derive-chart-family-C3PTAfzX.cjs} +13 -13
- package/dist/{dimensions-Gma5tFmd.js → dimensions-CETtX6B1.js} +1 -1
- package/dist/{dimensions-DI9h9IJH.cjs → dimensions-_D0C3KY2.cjs} +1 -1
- package/dist/{execute-query-l7jejslh.js → execute-query-CUf3Nz7H.js} +86 -87
- package/dist/execute-query-tRu-NooT.cjs +1 -0
- package/dist/index.cjs +424 -424
- package/dist/index.js +15791 -16145
- package/dist/index.umd.js +605 -605
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/common.d.ts +25 -3
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/types.d.ts +22 -10
- package/dist/packages/sdk-ui/src/chart-options-processor/data-points.d.ts +3 -2
- package/dist/packages/sdk-ui/src/common-filters/utils.d.ts +19 -0
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/editable-layout-row.d.ts +11 -0
- package/dist/packages/sdk-ui/src/dashboard/hooks/index.d.ts +12 -0
- package/dist/packages/sdk-ui/src/dashboard/utils.d.ts +15 -0
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/index.d.ts +0 -1
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/member-list.d.ts +5 -0
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/pill-section.d.ts +1 -2
- package/dist/packages/sdk-ui/src/filters/hooks/use-get-filter-members.d.ts +6 -0
- package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +2 -2
- package/dist/packages/sdk-ui/src/props.d.ts +15 -7
- package/dist/packages/sdk-ui/src/query/date-formats/fiscal-date-format-replacers.d.ts +1 -0
- package/dist/packages/sdk-ui/src/query-execution/types.d.ts +6 -0
- package/dist/packages/sdk-ui/src/types.d.ts +62 -8
- package/dist/packages/sdk-ui/src/utils/data-option-location/get-data-option-by-location.d.ts +43 -0
- package/dist/packages/sdk-ui/src/utils/data-option-location/get-data-option-location.d.ts +46 -0
- package/dist/packages/sdk-ui/src/utils/data-option-location/index.d.ts +3 -0
- package/dist/packages/sdk-ui/src/utils/data-option-location/set-data-option-at-location.d.ts +39 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-drilldown-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options/tabber.d.ts +3 -3
- package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +34 -7
- package/dist/packages/sdk-ui/src/widgets/{chart-widget.d.ts → chart-widget/chart-widget.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/widgets/chart-widget/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/widgets/{hooks/use-with-drilldown.d.ts → chart-widget/use-with-chart-widget-drilldown.d.ts} +4 -3
- package/dist/packages/sdk-ui/src/widgets/common/use-drilldown-core.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widgets/hooks/use-drilldown.d.ts +4 -3
- package/dist/packages/sdk-ui/src/widgets/hooks/use-synced-drilldown-paths-manager.d.ts +113 -0
- package/dist/packages/sdk-ui/src/widgets/hooks/{use-synced-hierarchies.d.ts → use-synced-drilldown-paths.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/widgets/pivot-table-widget/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/widgets/{pivot-table-widget.d.ts → pivot-table-widget/pivot-table-widget.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/widgets/pivot-table-widget/use-with-pivot-table-widget-drilldown.d.ts +14 -0
- package/dist/packages/sdk-ui/src/widgets/pivot-table-widget/utils.d.ts +22 -0
- package/dist/packages/sdk-ui/src/widgets/tabber/tabber-buttons-widget.d.ts +19 -1
- package/dist/packages/sdk-ui/src/widgets/tabber/types.d.ts +22 -5
- package/dist/{types-Hki4GrUY.cjs → types-BfWl5jz9.cjs} +1 -1
- package/dist/{types-ofTjqFFK.js → types-CHqDjeeH.js} +1 -1
- package/dist/{use-common-filters-Bh4KYWy_.cjs → use-common-filters-Cps0frVZ.cjs} +108 -108
- package/dist/{use-common-filters-D5yiZCTg.js → use-common-filters-Db1VFZvT.js} +7662 -7541
- package/dist/{widget-composer-By61s921.js → widget-composer-Cuky3UiC.js} +3 -3
- package/dist/{widget-composer-BzzTf8UH.cjs → widget-composer-DsBF8OC2.cjs} +1 -1
- package/package.json +8 -8
- package/dist/execute-query-CdhSHTTA.cjs +0 -1
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/basic-member-filter-tile.d.ts +0 -56
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/use-members.d.ts +0 -14
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/use-validate-members.d.ts +0 -8
|
@@ -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-
|
|
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-CUf3Nz7H.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-
|
|
1
|
+
"use strict";const e=require("./execute-query-tRu-NooT.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;
|
|
@@ -1907,7 +1907,7 @@ const ha = {
|
|
|
1907
1907
|
grandTotal: "Grand Total",
|
|
1908
1908
|
subTotal: "{{value}} Total",
|
|
1909
1909
|
limits: {
|
|
1910
|
-
baseNote: "Totals may refer to the complete data if set by the dashboard owner. If available, you can use filters to display fewer rows and columns.
|
|
1910
|
+
baseNote: "Totals may refer to the complete data if set by the dashboard owner. If available, you can use filters to display fewer rows and columns.",
|
|
1911
1911
|
rowsLimit: "The Pivot table is limited to {{recordsCount}} records",
|
|
1912
1912
|
columnsLimit: "The Pivot table is limited to {{columnsCount}} columns",
|
|
1913
1913
|
columnsAndRowsLimit: "The Pivot table is limited to {{recordsCount}} records and {{columnsCount}} columns"
|
|
@@ -6401,7 +6401,7 @@ export {
|
|
|
6401
6401
|
xd as Z,
|
|
6402
6402
|
Jc as _,
|
|
6403
6403
|
be as a,
|
|
6404
|
-
|
|
6404
|
+
ls as a$,
|
|
6405
6405
|
pg as a0,
|
|
6406
6406
|
gs as a1,
|
|
6407
6407
|
wh as a2,
|
|
@@ -6417,28 +6417,28 @@ export {
|
|
|
6417
6417
|
_g as aC,
|
|
6418
6418
|
Dp as aD,
|
|
6419
6419
|
Uc as aE,
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6420
|
+
Vi as aF,
|
|
6421
|
+
Ct as aG,
|
|
6422
|
+
_t as aH,
|
|
6423
|
+
vn as aI,
|
|
6424
|
+
Sn as aJ,
|
|
6425
|
+
ng as aK,
|
|
6426
|
+
We as aL,
|
|
6427
|
+
ns as aM,
|
|
6428
|
+
xe as aN,
|
|
6429
|
+
q as aO,
|
|
6430
|
+
R as aP,
|
|
6431
|
+
Et as aQ,
|
|
6432
|
+
ne as aR,
|
|
6433
|
+
Yi as aS,
|
|
6434
|
+
Ji as aT,
|
|
6435
|
+
es as aU,
|
|
6436
|
+
ts as aV,
|
|
6437
|
+
Xi as aW,
|
|
6438
|
+
Zi as aX,
|
|
6439
|
+
pt as aY,
|
|
6440
|
+
On as aZ,
|
|
6441
|
+
us as a_,
|
|
6442
6442
|
np as aa,
|
|
6443
6443
|
xs as ab,
|
|
6444
6444
|
zr as ac,
|
|
@@ -6466,7 +6466,7 @@ export {
|
|
|
6466
6466
|
lg as ay,
|
|
6467
6467
|
cg as az,
|
|
6468
6468
|
_i as b,
|
|
6469
|
-
|
|
6469
|
+
Xp as b$,
|
|
6470
6470
|
Hi as b0,
|
|
6471
6471
|
Ki as b1,
|
|
6472
6472
|
Gi as b2,
|
|
@@ -6477,33 +6477,33 @@ export {
|
|
|
6477
6477
|
Yp as b7,
|
|
6478
6478
|
tg as b8,
|
|
6479
6479
|
Gp as b9,
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6480
|
+
hg as bA,
|
|
6481
|
+
Ed as bB,
|
|
6482
|
+
mn as bC,
|
|
6483
|
+
Md as bD,
|
|
6484
|
+
el as bE,
|
|
6485
|
+
Ni as bF,
|
|
6486
|
+
ug as bG,
|
|
6487
|
+
Id as bH,
|
|
6488
|
+
vi as bI,
|
|
6489
|
+
Wt as bJ,
|
|
6490
|
+
Co as bK,
|
|
6491
|
+
ct as bL,
|
|
6492
|
+
xo as bM,
|
|
6493
|
+
Ud as bN,
|
|
6494
|
+
md as bO,
|
|
6495
|
+
Hh as bP,
|
|
6496
|
+
vt as bQ,
|
|
6497
|
+
yt as bR,
|
|
6498
|
+
St as bS,
|
|
6499
|
+
xi as bT,
|
|
6500
|
+
Fd as bU,
|
|
6501
|
+
Xt as bV,
|
|
6502
|
+
fg as bW,
|
|
6503
|
+
Ii as bX,
|
|
6504
|
+
Hp as bY,
|
|
6505
|
+
kp as bZ,
|
|
6506
|
+
Zp as b_,
|
|
6507
6507
|
Qp as ba,
|
|
6508
6508
|
Tg as bb,
|
|
6509
6509
|
Ag as bc,
|
|
@@ -6515,42 +6515,41 @@ export {
|
|
|
6515
6515
|
$f as bi,
|
|
6516
6516
|
Hf as bj,
|
|
6517
6517
|
Ir as bk,
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6518
|
+
ui as bl,
|
|
6519
|
+
Ng as bm,
|
|
6520
|
+
Eg as bn,
|
|
6521
|
+
kr as bo,
|
|
6522
|
+
Ri as bp,
|
|
6523
|
+
qp as bq,
|
|
6524
|
+
Rd as br,
|
|
6525
|
+
Tt as bs,
|
|
6526
|
+
Ge as bt,
|
|
6527
|
+
ri as bu,
|
|
6528
|
+
sn as bv,
|
|
6529
|
+
gn as bw,
|
|
6530
|
+
zc as bx,
|
|
6531
|
+
ma as by,
|
|
6532
|
+
Te as bz,
|
|
6533
6533
|
h as c,
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
Fn as cj,
|
|
6534
|
+
Jp as c0,
|
|
6535
|
+
X as c1,
|
|
6536
|
+
Vt as c2,
|
|
6537
|
+
Lf as c3,
|
|
6538
|
+
En as c4,
|
|
6539
|
+
Rf as c5,
|
|
6540
|
+
re as c6,
|
|
6541
|
+
Df as c7,
|
|
6542
|
+
Wi as c8,
|
|
6543
|
+
Ui as c9,
|
|
6544
|
+
Mf as ca,
|
|
6545
|
+
_f as cb,
|
|
6546
|
+
Bi as cc,
|
|
6547
|
+
Nf as cd,
|
|
6548
|
+
zp as ce,
|
|
6549
|
+
ve as cf,
|
|
6550
|
+
rg as cg,
|
|
6551
|
+
gg as ch,
|
|
6552
|
+
Fn as ci,
|
|
6554
6553
|
Y as d,
|
|
6555
6554
|
Qe as e,
|
|
6556
6555
|
ys as f,
|