@sisense/sdk-ui 2.20.0 → 2.21.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.
- package/dist/ai.cjs +65 -65
- package/dist/ai.js +618 -589
- package/dist/analytics-composer/node.cjs +1 -1
- package/dist/analytics-composer/node.js +844 -709
- package/dist/analytics-composer.cjs +23 -23
- package/dist/analytics-composer.js +8 -8
- package/dist/{dimensions-CgMckRe2.cjs → dimensions-DVGn8ORR.cjs} +1 -1
- package/dist/{dimensions-Blw0p98x.js → dimensions-DuUqQgpi.js} +1 -1
- package/dist/{execute-query-VxgY3tbz.js → execute-query-B21bnb05.js} +177 -162
- package/dist/{execute-query-CgkFRn7s.cjs → execute-query-BIkhszY1.cjs} +1 -1
- package/dist/index.cjs +410 -395
- package/dist/index.js +16854 -16244
- package/dist/index.umd.js +684 -619
- package/dist/packages/sdk-ui/src/domains/dashboarding/common-filters/common-filters-connector.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/common-filters/selection-utils.d.ts +4 -3
- package/dist/packages/sdk-ui/src/domains/dashboarding/common-filters/types.d.ts +10 -0
- package/dist/packages/sdk-ui/src/domains/dashboarding/common-filters/use-common-filters.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/common-filters/utils.d.ts +2 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/content-panel.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/editable-layout/components/editable-layout-row.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/editable-layout/editable-layout.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/editable-layout/helpers.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/jtd/jtd-config-transformers.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/jtd/jtd-filters.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/jtd/jtd-handlers.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/jtd/jtd-types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/jtd/jtd-widget-transforms.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/use-jtd-widget.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/use-jtd.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/use-tabber.d.ts +2 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/filters/components/cascading-filter-tile/cascading-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/cascading-filter-tile/cascading-level-filter.d.ts +8 -1
- package/dist/packages/sdk-ui/src/domains/filters/components/common/reorderable-list.d.ts +32 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/custom-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/filter-tile-container.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/filters-panel/types.d.ts +14 -1
- package/dist/packages/sdk-ui/src/domains/filters/components/member-filter-tile/member-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui/src/domains/filters/components/unsupported-filter-tile.d.ts +8 -1
- package/dist/packages/sdk-ui/src/domains/visualizations/core/chart-data-options/translate-boxplot-data-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/chart-widget.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/types.d.ts +100 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/use-with-chart-widget-drilldown.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/{common-widget.d.ts → common-widget/common-widget.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/common-widget/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/common-widget/types.d.ts +8 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/{custom-widget.d.ts → custom-widget/custom-widget.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/custom-widget/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/custom-widget/types.d.ts +71 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/pivot-table-widget.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/types.d.ts +141 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/use-with-pivot-table-widget-drilldown.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/tabber-buttons-widget/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/table-widget/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/{table-widget.d.ts → table-widget/table-widget.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/table-widget/types.d.ts +61 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/text-widget/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/{text-widget.d.ts → text-widget/text-widget.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/text-widget/types.d.ts +29 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget/types.d.ts +45 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/{widget.d.ts → widget/widget.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-dashboard-filters.d.ts +425 -425
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-widget-filters.d.ts +34 -34
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/utils.d.ts +11 -5
- package/dist/packages/sdk-ui/src/domains/widgets/helpers/header-menu-utils.d.ts +9 -0
- package/dist/packages/sdk-ui/src/domains/widgets/helpers/index.d.ts +7 -0
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-container/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/domains/widgets/shared/{widget-container.d.ts → widget-container/widget-container.d.ts} +7 -3
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/types.d.ts +58 -0
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-header-info-button.d.ts +13 -0
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-header-toolbar.d.ts +23 -0
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-header.d.ts +14 -0
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-menu-button.d.ts +5 -0
- package/dist/packages/sdk-ui/src/domains/widgets/widget-model/widget-model-translator/widget-model-translator.d.ts +8 -1
- package/dist/packages/sdk-ui/src/domains/widgets/widget-model/widget-model.d.ts +1 -1
- package/dist/packages/sdk-ui/src/infra/api/rest-api.d.ts +2 -1
- package/dist/packages/sdk-ui/src/infra/app/settings/settings.d.ts +1 -0
- package/dist/packages/sdk-ui/src/infra/app/settings/types/deployment-props.d.ts +1 -0
- package/dist/packages/sdk-ui/src/infra/contexts/custom-widgets-provider/types.d.ts +41 -12
- package/dist/packages/sdk-ui/src/infra/contexts/custom-widgets-provider/use-execute-custom-widget-query.d.ts +12 -3
- package/dist/packages/sdk-ui/src/modules/ai/api/chat-rest-api.d.ts +4 -3
- package/dist/packages/sdk-ui/src/modules/ai/api/narration-endpoints.d.ts +24 -0
- package/dist/packages/sdk-ui/src/modules/ai/api/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/modules/ai/chart/nlq-chart-widget.d.ts +2 -2
- package/dist/packages/sdk-ui/src/modules/ai/get-nlg-insights-from-widget.d.ts +3 -1
- package/dist/packages/sdk-ui/src/modules/ai/use-get-nlq-result.d.ts +1 -1
- package/dist/packages/sdk-ui/src/modules/analytics-composer/common/utils.d.ts +2 -1
- package/dist/packages/sdk-ui/src/modules/analytics-composer/dashboard/stringify-widgets.d.ts +1 -1
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-dimensions-from-json.d.ts +3 -2
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-dimensions-to-json.d.ts +6 -6
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-filters-to-json.d.ts +3 -4
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-measures-from-json.d.ts +13 -28
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-measures-to-json.d.ts +6 -7
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/types.d.ts +45 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/types.d.ts +3 -1
- package/dist/packages/sdk-ui/src/modules/analytics-composer/widget/to-widget-code.d.ts +1 -1
- package/dist/packages/sdk-ui/src/modules/analytics-composer/widget/to-widget-props.d.ts +1 -1
- package/dist/packages/sdk-ui/src/modules/analytics-composer/widget/widget-composer.d.ts +1 -1
- package/dist/packages/sdk-ui/src/props.d.ts +6 -407
- package/dist/packages/sdk-ui/src/public-api/internal.d.ts +3 -0
- package/dist/packages/sdk-ui/src/public-api/public.d.ts +5 -5
- package/dist/packages/sdk-ui/src/shared/components/dynamic-size-container/default-size.d.ts +6 -6
- package/dist/packages/sdk-ui/src/types.d.ts +113 -6
- package/dist/{types-YU936hyL.cjs → types-Ch9J6ycn.cjs} +1 -1
- package/dist/{types-tDJE6TNR.js → types-Ockb-LJ0.js} +1 -1
- package/dist/{use-common-filters-BCebg2_K.cjs → use-common-filters-CXJN3RSs.cjs} +145 -95
- package/dist/{use-common-filters-B2wOzse2.js → use-common-filters-DBqRT0et.js} +8597 -8473
- package/dist/{utils-BRCTwjTN.js → utils-BXDqo_yg.js} +3256 -3264
- package/dist/{utils-pvzOGByh.cjs → utils-DH69_bUK.cjs} +21 -21
- package/dist/{widget-composer-T6nvM6Xc.js → widget-composer-DfVCQL2G.js} +3 -3
- package/dist/{widget-composer-ChJ9V_fN.cjs → widget-composer-DgCWcMJ1.cjs} +1 -1
- package/package.json +11 -9
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header-info-button.d.ts +0 -9
- package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header.d.ts +0 -13
|
@@ -654,39 +654,39 @@ export declare function extractFilterModelFromJaql(jaql: FilterJaql): {
|
|
|
654
654
|
level?: "string" | undefined;
|
|
655
655
|
}) | (import("@sisense/sdk-data").NumericFilterJaql & {
|
|
656
656
|
level?: "string" | undefined;
|
|
657
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
657
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "top">> & Partial<Record<"bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
658
658
|
level?: "string" | undefined;
|
|
659
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
659
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "bottom">> & Partial<Record<"top" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
660
660
|
level?: "string" | undefined;
|
|
661
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
661
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "endsWith">> & Partial<Record<"top" | "bottom" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
662
662
|
level?: "string" | undefined;
|
|
663
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
663
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "startsWith">> & Partial<Record<"top" | "bottom" | "endsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
664
664
|
level?: "string" | undefined;
|
|
665
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
665
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "from">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
666
666
|
level?: "string" | undefined;
|
|
667
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
667
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "to">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
668
668
|
level?: "string" | undefined;
|
|
669
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
669
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "last">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
670
670
|
level?: "string" | undefined;
|
|
671
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
671
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "next">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
672
672
|
level?: "string" | undefined;
|
|
673
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
673
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "exclude">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
674
674
|
level?: "string" | undefined;
|
|
675
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
675
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "contains">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
676
676
|
level?: "string" | undefined;
|
|
677
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
677
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "equals">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
678
678
|
level?: "string" | undefined;
|
|
679
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
679
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntEqual">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
680
680
|
level?: "string" | undefined;
|
|
681
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
681
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "toNotEqual">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
682
682
|
level?: "string" | undefined;
|
|
683
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
683
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "fromNotEqual">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
684
684
|
level?: "string" | undefined;
|
|
685
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
685
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntStartWith">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
686
686
|
level?: "string" | undefined;
|
|
687
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
687
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntEndWith">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
688
688
|
level?: "string" | undefined;
|
|
689
|
-
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
689
|
+
}) | (Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntContain">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "or" | "and", undefined>> & {
|
|
690
690
|
level?: "string" | undefined;
|
|
691
691
|
}) | ({
|
|
692
692
|
and: (import("@sisense/sdk-data").NumericFilterJaql | import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaql)[];
|
|
@@ -728,119 +728,119 @@ export declare function extractFilterModelFromJaql(jaql: FilterJaql): {
|
|
|
728
728
|
exclude?: {
|
|
729
729
|
members?: string[] | undefined;
|
|
730
730
|
} | undefined;
|
|
731
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
731
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "top">> & Partial<Record<"bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
732
732
|
level?: "string" | undefined;
|
|
733
733
|
}) | ({
|
|
734
734
|
turnedOff?: boolean | undefined;
|
|
735
735
|
exclude?: {
|
|
736
736
|
members?: string[] | undefined;
|
|
737
737
|
} | undefined;
|
|
738
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
738
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "bottom">> & Partial<Record<"top" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
739
739
|
level?: "string" | undefined;
|
|
740
740
|
}) | ({
|
|
741
741
|
turnedOff?: boolean | undefined;
|
|
742
742
|
exclude?: {
|
|
743
743
|
members?: string[] | undefined;
|
|
744
744
|
} | undefined;
|
|
745
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
745
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "endsWith">> & Partial<Record<"top" | "bottom" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
746
746
|
level?: "string" | undefined;
|
|
747
747
|
}) | ({
|
|
748
748
|
turnedOff?: boolean | undefined;
|
|
749
749
|
exclude?: {
|
|
750
750
|
members?: string[] | undefined;
|
|
751
751
|
} | undefined;
|
|
752
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
752
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "startsWith">> & Partial<Record<"top" | "bottom" | "endsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
753
753
|
level?: "string" | undefined;
|
|
754
754
|
}) | ({
|
|
755
755
|
turnedOff?: boolean | undefined;
|
|
756
756
|
exclude?: {
|
|
757
757
|
members?: string[] | undefined;
|
|
758
758
|
} | undefined;
|
|
759
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
759
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "from">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
760
760
|
level?: "string" | undefined;
|
|
761
761
|
}) | ({
|
|
762
762
|
turnedOff?: boolean | undefined;
|
|
763
763
|
exclude?: {
|
|
764
764
|
members?: string[] | undefined;
|
|
765
765
|
} | undefined;
|
|
766
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
766
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "to">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
767
767
|
level?: "string" | undefined;
|
|
768
768
|
}) | ({
|
|
769
769
|
turnedOff?: boolean | undefined;
|
|
770
770
|
exclude?: {
|
|
771
771
|
members?: string[] | undefined;
|
|
772
772
|
} | undefined;
|
|
773
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
773
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "last">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
774
774
|
level?: "string" | undefined;
|
|
775
775
|
}) | ({
|
|
776
776
|
turnedOff?: boolean | undefined;
|
|
777
777
|
exclude?: {
|
|
778
778
|
members?: string[] | undefined;
|
|
779
779
|
} | undefined;
|
|
780
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
780
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "next">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
781
781
|
level?: "string" | undefined;
|
|
782
782
|
}) | ({
|
|
783
783
|
turnedOff?: boolean | undefined;
|
|
784
784
|
exclude?: {
|
|
785
785
|
members?: string[] | undefined;
|
|
786
786
|
} | undefined;
|
|
787
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
787
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "exclude">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
788
788
|
level?: "string" | undefined;
|
|
789
789
|
}) | ({
|
|
790
790
|
turnedOff?: boolean | undefined;
|
|
791
791
|
exclude?: {
|
|
792
792
|
members?: string[] | undefined;
|
|
793
793
|
} | undefined;
|
|
794
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
794
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "contains">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
795
795
|
level?: "string" | undefined;
|
|
796
796
|
}) | ({
|
|
797
797
|
turnedOff?: boolean | undefined;
|
|
798
798
|
exclude?: {
|
|
799
799
|
members?: string[] | undefined;
|
|
800
800
|
} | undefined;
|
|
801
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
801
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "equals">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
802
802
|
level?: "string" | undefined;
|
|
803
803
|
}) | ({
|
|
804
804
|
turnedOff?: boolean | undefined;
|
|
805
805
|
exclude?: {
|
|
806
806
|
members?: string[] | undefined;
|
|
807
807
|
} | undefined;
|
|
808
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
808
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntEqual">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
809
809
|
level?: "string" | undefined;
|
|
810
810
|
}) | ({
|
|
811
811
|
turnedOff?: boolean | undefined;
|
|
812
812
|
exclude?: {
|
|
813
813
|
members?: string[] | undefined;
|
|
814
814
|
} | undefined;
|
|
815
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
815
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "toNotEqual">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
816
816
|
level?: "string" | undefined;
|
|
817
817
|
}) | ({
|
|
818
818
|
turnedOff?: boolean | undefined;
|
|
819
819
|
exclude?: {
|
|
820
820
|
members?: string[] | undefined;
|
|
821
821
|
} | undefined;
|
|
822
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
822
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "fromNotEqual">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "doesntStartWith" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
823
823
|
level?: "string" | undefined;
|
|
824
824
|
}) | ({
|
|
825
825
|
turnedOff?: boolean | undefined;
|
|
826
826
|
exclude?: {
|
|
827
827
|
members?: string[] | undefined;
|
|
828
828
|
} | undefined;
|
|
829
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
829
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntStartWith">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntEndWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
830
830
|
level?: "string" | undefined;
|
|
831
831
|
}) | ({
|
|
832
832
|
turnedOff?: boolean | undefined;
|
|
833
833
|
exclude?: {
|
|
834
834
|
members?: string[] | undefined;
|
|
835
835
|
} | undefined;
|
|
836
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
836
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntEndWith">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntContain" | "or" | "and", undefined>> & {
|
|
837
837
|
level?: "string" | undefined;
|
|
838
838
|
}) | ({
|
|
839
839
|
turnedOff?: boolean | undefined;
|
|
840
840
|
exclude?: {
|
|
841
841
|
members?: string[] | undefined;
|
|
842
842
|
} | undefined;
|
|
843
|
-
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "
|
|
843
|
+
} & Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "filter" | "custom" | "by" | "filterType" | "members" | "multiSelection" | "isNotCurrentPeriod" | "isAdvanced" | "rankingMessage" | "isBetween" | "isEmpty" | "explicit" | "isCondition"> & Required<Pick<import("@sisense/sdk-data/dist/dimensional-model/filters/utils/types.js").ConditionFilterJaqlOptions, "doesntContain">> & Partial<Record<"top" | "bottom" | "endsWith" | "startsWith" | "from" | "to" | "last" | "next" | "exclude" | "contains" | "equals" | "doesntEqual" | "toNotEqual" | "fromNotEqual" | "doesntStartWith" | "doesntEndWith" | "or" | "and", undefined>> & {
|
|
844
844
|
level?: "string" | undefined;
|
|
845
845
|
}) | ({
|
|
846
846
|
turnedOff?: boolean | undefined;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { ChartSubtype } from '../../../../domains/visualizations/core/chart-options-processor/subtype-to-design-options.js';
|
|
2
2
|
import { WidgetModel } from '../../../../domains/widgets/widget-model';
|
|
3
3
|
import { WidgetTypeInternal } from '../../../../domains/widgets/widget-model/types.js';
|
|
4
|
-
import { ChartProps,
|
|
5
|
-
import { ChartType, RenderToolbarHandler } from '../../../../types.js';
|
|
4
|
+
import { ChartProps, PivotTableProps } from '../../../../props';
|
|
5
|
+
import { ChartType, CustomWidgetEventProps, RenderToolbarHandler } from '../../../../types.js';
|
|
6
|
+
import { ChartWidgetProps } from '../chart-widget/types';
|
|
7
|
+
import { CommonWidgetProps } from '../common-widget/types';
|
|
8
|
+
import { CustomWidgetProps } from '../custom-widget/types';
|
|
9
|
+
import { PivotTableWidgetProps } from '../pivot-table-widget/types';
|
|
10
|
+
import { TextWidgetProps } from '../text-widget/types';
|
|
11
|
+
import { WidgetProps, WidgetType, WithCommonWidgetProps } from '../widget/types';
|
|
6
12
|
import { CsdkPluginWidgetType, FusionPluginWidgetType, FusionWidgetType, Panel, PanelItem, TextWidgetDtoStyle, WidgetStyle, WidgetSubtype } from './types.js';
|
|
7
13
|
export { mergeFilters, getFilterRelationsFromJaql, convertFilterRelationsModelToJaql, getFilterCompareId, } from '@sisense/sdk-data';
|
|
8
14
|
/**
|
|
@@ -119,19 +125,19 @@ export declare function getInternalWidgetType(widgetProps: CommonWidgetProps): W
|
|
|
119
125
|
*
|
|
120
126
|
* @internal
|
|
121
127
|
*/
|
|
122
|
-
export declare function registerDataPointClickHandler(widgetProps: WidgetProps, handler: NonNullable<ChartProps['onDataPointClick']>): void;
|
|
128
|
+
export declare function registerDataPointClickHandler(widgetProps: WidgetProps, handler: NonNullable<ChartProps['onDataPointClick'] | PivotTableProps['onDataPointClick'] | CustomWidgetEventProps['onDataPointClick']>): void;
|
|
123
129
|
/**
|
|
124
130
|
* Registers new "onDataPointContextMenu" handler for the Widget component
|
|
125
131
|
*
|
|
126
132
|
* @internal
|
|
127
133
|
*/
|
|
128
|
-
export declare function registerDataPointContextMenuHandler(widgetProps: WidgetProps, handler: NonNullable<ChartProps['onDataPointContextMenu'] | PivotTableProps['onDataPointContextMenu']>): void;
|
|
134
|
+
export declare function registerDataPointContextMenuHandler(widgetProps: WidgetProps, handler: NonNullable<ChartProps['onDataPointContextMenu'] | PivotTableProps['onDataPointContextMenu'] | CustomWidgetProps['onDataPointContextMenu']>): void;
|
|
129
135
|
/**
|
|
130
136
|
* Registers new "onDataPointsSelected" handler for the Widget component
|
|
131
137
|
*
|
|
132
138
|
* @internal
|
|
133
139
|
*/
|
|
134
|
-
export declare function registerDataPointsSelectedHandler(widgetProps: WidgetProps, handler: NonNullable<ChartProps['onDataPointsSelected']>): void;
|
|
140
|
+
export declare function registerDataPointsSelectedHandler(widgetProps: WidgetProps, handler: NonNullable<ChartProps['onDataPointsSelected'] | CustomWidgetProps['onDataPointsSelected']>): void;
|
|
135
141
|
/**
|
|
136
142
|
* Registers new "renderToolbar" handler for the constructed component
|
|
137
143
|
*
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WidgetProps } from '../components/widget/types';
|
|
2
|
+
import { MenuItem } from '../shared/widget-header/types';
|
|
3
|
+
/**
|
|
4
|
+
* Adds a menu item to the widget header.
|
|
5
|
+
* @param menuItem - The menu item to add.
|
|
6
|
+
* @returns A function that adds a menu item to the widget header.
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare function withHeaderMenuItem(menuItem: MenuItem): (widget: WidgetProps) => WidgetProps;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widget helpers
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const widgetHelpers: {
|
|
6
|
+
withHeaderMenuItem(menuItem: import("../shared/widget-header/types").MenuItem): (widget: import("../components/widget").WidgetProps) => import("../components/widget").WidgetProps;
|
|
7
|
+
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import { WidgetContainerStyleOptions } from '
|
|
3
|
-
|
|
2
|
+
import { WidgetContainerStyleOptions } from '../../../../types';
|
|
3
|
+
import { WidgetHeaderConfig } from '../widget-header/types.js';
|
|
4
|
+
export interface WidgetContainerProps {
|
|
4
5
|
dataSetName?: string;
|
|
5
6
|
styleOptions?: WidgetContainerStyleOptions;
|
|
7
|
+
/**
|
|
8
|
+
* Header configuration (e.g. toolbar menu items). Passed to {@link WidgetHeader} as `config`.
|
|
9
|
+
*/
|
|
10
|
+
headerConfig?: WidgetHeaderConfig;
|
|
6
11
|
title?: string;
|
|
7
12
|
description?: string;
|
|
8
13
|
topSlot?: ReactNode;
|
|
@@ -14,4 +19,3 @@ interface WidgetContainerProps {
|
|
|
14
19
|
export declare const WidgetContainer: React.FC<WidgetContainerProps>;
|
|
15
20
|
/** @internal */
|
|
16
21
|
export declare const RawWidgetContainer: React.FC<WidgetContainerProps>;
|
|
17
|
-
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Config for the info button (data passed into the header/toolbar API)
|
|
3
|
+
*/
|
|
4
|
+
export type InfoButtonConfig = {
|
|
5
|
+
dataSetName?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
errorMessages?: string[];
|
|
8
|
+
warningMessages?: string[];
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Configuration options for the widget header
|
|
12
|
+
*/
|
|
13
|
+
export type WidgetHeaderConfig = {
|
|
14
|
+
/**
|
|
15
|
+
* Configuration options for the toolbar
|
|
16
|
+
*/
|
|
17
|
+
toolbar?: ToolbarConfig;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Configuration options for the toolbar
|
|
21
|
+
*/
|
|
22
|
+
export type ToolbarConfig = {
|
|
23
|
+
/**
|
|
24
|
+
* Configuration options for the toolbar menu
|
|
25
|
+
*/
|
|
26
|
+
menu?: ToolbarMenuConfig;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Configuration options for the toolbar menu
|
|
30
|
+
*/
|
|
31
|
+
export type ToolbarMenuConfig = {
|
|
32
|
+
/**
|
|
33
|
+
* Whether the toolbar menu is enabled
|
|
34
|
+
* If not specified, menu icon will be rendered if there are any menu items available
|
|
35
|
+
*/
|
|
36
|
+
enabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* List of menu items to be injected into the toolbar additional to the default ones
|
|
39
|
+
*/
|
|
40
|
+
items?: MenuItem[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Menu item in the toolbar
|
|
44
|
+
*/
|
|
45
|
+
export type MenuItem = {
|
|
46
|
+
/**
|
|
47
|
+
* Unique identifier for the menu item
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Handler function to be called when the menu item is clicked
|
|
52
|
+
*/
|
|
53
|
+
onClick: () => void;
|
|
54
|
+
/**
|
|
55
|
+
* Caption of the menu item
|
|
56
|
+
*/
|
|
57
|
+
caption: string;
|
|
58
|
+
};
|
package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-header-info-button.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WidgetContainerStyleOptions } from '../../../../types';
|
|
2
|
+
/** Only header style options used by this component */
|
|
3
|
+
type WidgetHeaderInfoButtonStyleOptions = Pick<NonNullable<WidgetContainerStyleOptions['header']>, 'titleTextColor'>;
|
|
4
|
+
type WidgetHeaderInfoButtonProps = {
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
styleOptions?: WidgetHeaderInfoButtonStyleOptions;
|
|
8
|
+
errorMessages?: string[];
|
|
9
|
+
warningMessages?: string[];
|
|
10
|
+
onRefresh: () => void;
|
|
11
|
+
};
|
|
12
|
+
export default function WidgetHeaderInfoButton({ title, description, errorMessages, styleOptions, onRefresh, }: WidgetHeaderInfoButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-header-toolbar.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { WidgetContainerStyleOptions } from '../../../../types';
|
|
2
|
+
import { InfoButtonConfig, ToolbarConfig } from './types.js';
|
|
3
|
+
export interface WidgetHeaderToolbarProps {
|
|
4
|
+
/**
|
|
5
|
+
* Configuration options for the info button
|
|
6
|
+
* @deprecated - should be injected as a part of the button onClick handler instead
|
|
7
|
+
*/
|
|
8
|
+
infoButtonConfig: InfoButtonConfig;
|
|
9
|
+
/**
|
|
10
|
+
* Style options for the whole widget header
|
|
11
|
+
* TODO: should be specific to the toolbar instead
|
|
12
|
+
*/
|
|
13
|
+
styleOptions?: WidgetContainerStyleOptions['header'];
|
|
14
|
+
/**
|
|
15
|
+
* Configuration options for the toolbar
|
|
16
|
+
*/
|
|
17
|
+
config?: ToolbarConfig;
|
|
18
|
+
onRefresh: () => void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Renders the widget header toolbar
|
|
22
|
+
*/
|
|
23
|
+
export declare function WidgetHeaderToolbar({ infoButtonConfig, styleOptions, onRefresh, config, }: WidgetHeaderToolbarProps): JSX.Element | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WidgetContainerStyleOptions } from '../../../../types';
|
|
3
|
+
import { InfoButtonConfig, WidgetHeaderConfig } from './types.js';
|
|
4
|
+
export interface WidgetHeaderProps {
|
|
5
|
+
onRefresh: () => void;
|
|
6
|
+
title?: string;
|
|
7
|
+
/** Configuration options for the info button */
|
|
8
|
+
infoButtonConfig: InfoButtonConfig;
|
|
9
|
+
/** Style options for the widget header */
|
|
10
|
+
styleOptions?: WidgetContainerStyleOptions['header'];
|
|
11
|
+
/** Header/toolbar configuration (e.g. toolbar menu). */
|
|
12
|
+
config?: WidgetHeaderConfig;
|
|
13
|
+
}
|
|
14
|
+
export declare const WidgetHeader: React.FC<WidgetHeaderProps>;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { JaqlDataSourceForDto } from '@sisense/sdk-data';
|
|
2
2
|
import { ExecutePivotQueryParams, ExecuteQueryParams } from '../../../../domains/query-execution/index.js';
|
|
3
|
+
import { ChartWidgetProps } from '../../../../domains/widgets/components/chart-widget/types';
|
|
4
|
+
import { CommonWidgetProps } from '../../../../domains/widgets/components/common-widget/types';
|
|
5
|
+
import { CustomWidgetProps } from '../../../../domains/widgets/components/custom-widget/types';
|
|
6
|
+
import { PivotTableWidgetProps } from '../../../../domains/widgets/components/pivot-table-widget/types';
|
|
7
|
+
import { TableWidgetProps } from '../../../../domains/widgets/components/table-widget/types';
|
|
8
|
+
import { TextWidgetProps } from '../../../../domains/widgets/components/text-widget/types';
|
|
3
9
|
import { WidgetDto } from '../../../../domains/widgets/components/widget-by-id/types.js';
|
|
10
|
+
import { WidgetProps } from '../../../../domains/widgets/components/widget/types';
|
|
4
11
|
import { AppSettings } from '../../../../infra/app/settings/settings.js';
|
|
5
|
-
import { ChartProps,
|
|
12
|
+
import { ChartProps, PivotTableProps, TableProps } from '../../../../props';
|
|
6
13
|
import { CompleteThemeSettings } from '../../../../types.js';
|
|
7
14
|
import { WidgetModel } from '../widget-model';
|
|
8
15
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DataSource, Filter } from '@sisense/sdk-data';
|
|
2
2
|
import { EmptyObject } from '@sisense/sdk-query-client/src/helpers/utility-types';
|
|
3
3
|
import { ChartDataOptions, PivotTableDataOptions } from '../../../domains/visualizations/core/chart-data-options/types';
|
|
4
|
-
import type { WidgetType } from '../../../props';
|
|
5
4
|
import { ChartType, DrilldownOptions, PivotTableDrilldownOptions, WidgetStyleOptions } from '../../../types';
|
|
5
|
+
import type { WidgetType } from '../components/widget/types';
|
|
6
6
|
/**
|
|
7
7
|
* Widget data options.
|
|
8
8
|
*/
|
|
@@ -89,7 +89,8 @@ export declare class RestApi {
|
|
|
89
89
|
*/
|
|
90
90
|
getSharedFormulas: (sharedFormulasIds: string[]) => Promise<Record<string, SharedFormulaDto>>;
|
|
91
91
|
/**
|
|
92
|
-
* Get a shared formula by id
|
|
92
|
+
* Get a shared formula by id.
|
|
93
|
+
* Uses flat=true so nested formula references are inlined in the response context.
|
|
93
94
|
*
|
|
94
95
|
* @param sharedFormulaId - A shared formula id
|
|
95
96
|
* @returns A shared formula
|