react-autoql 8.37.0 → 8.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autoql-index-3a4537a1.cjs.js +3 -0
- package/dist/autoql-index-3a4537a1.cjs.js.gz +0 -0
- package/dist/autoql-index-aac31222.esm.js +3 -0
- package/dist/autoql-index-aac31222.esm.js.gz +0 -0
- package/dist/{autoql-onDemandCode-1ae64cef.cjs.js → autoql-onDemandCode-acde0544.cjs.js} +1 -1
- package/dist/autoql-onDemandCode-acde0544.cjs.js.gz +0 -0
- package/dist/{autoql-onDemandCode-bb20d9e6.esm.js → autoql-onDemandCode-bf1a3552.esm.js} +1 -1
- package/dist/autoql-onDemandCode-bf1a3552.esm.js.gz +0 -0
- package/dist/autoql.cjs.js +1 -1
- package/dist/autoql.cjs.js.gz +0 -0
- package/dist/autoql.esm.css +1 -1
- package/dist/autoql.esm.css.gz +0 -0
- package/dist/autoql.esm.js +1 -1
- package/dist/autoql.esm.js.gz +0 -0
- package/package.json +2 -2
- package/src/index.d.ts +28 -0
- package/dist/autoql-index-c49fcae0.esm.js +0 -3
- package/dist/autoql-index-c49fcae0.esm.js.gz +0 -0
- package/dist/autoql-index-eaa25212.cjs.js +0 -3
- package/dist/autoql-index-eaa25212.cjs.js.gz +0 -0
- package/dist/autoql-onDemandCode-1ae64cef.cjs.js.gz +0 -0
- package/dist/autoql-onDemandCode-bb20d9e6.esm.js.gz +0 -0
package/dist/autoql.esm.css.gz
CHANGED
|
Binary file
|
package/dist/autoql.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"autoql-fe-utils";export{bv as AddToReportDialog,bR as AgentMessenger,bm as AppearanceSection,bx as BREAKPOINTS,bk as ChatContent,bd as ConditionBuilder,ba as CustomFilteredAlertModal,aI as Dashboard,bO as DashboardTile,b8 as DataAlertDeleteDialog,b9 as DataAlertListItem,bb as DataAlertModal,b7 as DataAlertRow,b4 as DataAlerts,b6 as DataAlertsList,b5 as DataAlertsTabbed,bP as DataExplorer,bQ as DataMessenger,bT as ExploreQueries,bj as ExpressionBuilder,bV as FilterLockPopover,a2 as Icon,bg as JoinColumnSelectionTable,Z as LoadingDots,M as MAGIC_WAND_BILLING_GATE_MESSAGES,bf as NotificationFeed,be as NotificationIcon,bi as NotificationItem,bS as OptionsToolbar,cd as PUSH_NOTIFICATION_STATUS,cb as PushNotificationsProvider,ce as PushNotificationsToggle,bK as QueryInput,W as QueryOutput,bU as QuerySuggestionList,bs as REPORT_ERROR_CODES,bq as REPORT_SCHEMA_VERSION,bo as ReportBuilder,bp as Reports,aD as ReportsApiError,bW as ReverseTranslation,bc as ScheduleBuilder,bh as SelectableTable,bl as SimpleTable,bn as SlicerChip,bX as SpeechToTextButton,bY as SpeechToTextButtonBrowser,bJ as VizToolbar,bt as appendReportBlock,aj as captureQuestion,bw as captureReportBlock,ca as clearStoredBillingCustomerKey,aP as createEmptyReport,au as createReport,aX as createReportFolder,aW as createReportTag,c5 as currencyInputFromMicros,b1 as deleteReport,a_ as deleteReportFolder,a$ as deleteReportTag,bu as deleteReports,aw as fetchReport,aR as fetchReportFolders,aS as fetchReportTags,b2 as fetchReports,c6 as formatBillingPeriod,c3 as formatMicrosAsCurrency,c7 as getDefaultBillingHistoryRange,u as getMagicWandBillingErrorState,c8 as getStoredBillingCustomerKey,bz as isLandscape,bD as isLg,bC as isMd,bG as isMobile,bH as isMobileLandscape,bL as isResponseFailed,by as isScreenSize,bB as isSm,bN as isTileDirty,bM as isTileFailed,bE as isXl,bA as isXs,bF as isXxl,c4 as microsFromCurrencyInput,b0 as organizeReports,c2 as refreshBillingUsage,aY as renameReportFolder,br as rowsForCapture,av as saveReport,c9 as setStoredBillingCustomerKey,bI as subscribeToScreenSize,aZ as updateReportTag,bZ as useBillingCustomerKey,b_ as useBillingHistory,b$ as useBillingQuotaUpdate,c0 as useBillingUsage,c1 as useMagicWandBillingGate,cc as usePushNotifications}from"./autoql-index-
|
|
1
|
+
export*from"autoql-fe-utils";export{bv as AddToReportDialog,bR as AgentMessenger,bm as AppearanceSection,bx as BREAKPOINTS,bk as ChatContent,bd as ConditionBuilder,ba as CustomFilteredAlertModal,aI as Dashboard,bO as DashboardTile,b8 as DataAlertDeleteDialog,b9 as DataAlertListItem,bb as DataAlertModal,b7 as DataAlertRow,b4 as DataAlerts,b6 as DataAlertsList,b5 as DataAlertsTabbed,bP as DataExplorer,bQ as DataMessenger,bT as ExploreQueries,bj as ExpressionBuilder,bV as FilterLockPopover,a2 as Icon,bg as JoinColumnSelectionTable,Z as LoadingDots,M as MAGIC_WAND_BILLING_GATE_MESSAGES,bf as NotificationFeed,be as NotificationIcon,bi as NotificationItem,bS as OptionsToolbar,cd as PUSH_NOTIFICATION_STATUS,cb as PushNotificationsProvider,ce as PushNotificationsToggle,bK as QueryInput,W as QueryOutput,bU as QuerySuggestionList,bs as REPORT_ERROR_CODES,bq as REPORT_SCHEMA_VERSION,bo as ReportBuilder,bp as Reports,aD as ReportsApiError,bW as ReverseTranslation,bc as ScheduleBuilder,bh as SelectableTable,bl as SimpleTable,bn as SlicerChip,bX as SpeechToTextButton,bY as SpeechToTextButtonBrowser,bJ as VizToolbar,bt as appendReportBlock,aj as captureQuestion,bw as captureReportBlock,ca as clearStoredBillingCustomerKey,aP as createEmptyReport,au as createReport,aX as createReportFolder,aW as createReportTag,c5 as currencyInputFromMicros,b1 as deleteReport,a_ as deleteReportFolder,a$ as deleteReportTag,bu as deleteReports,aw as fetchReport,aR as fetchReportFolders,aS as fetchReportTags,b2 as fetchReports,c6 as formatBillingPeriod,c3 as formatMicrosAsCurrency,c7 as getDefaultBillingHistoryRange,u as getMagicWandBillingErrorState,c8 as getStoredBillingCustomerKey,bz as isLandscape,bD as isLg,bC as isMd,bG as isMobile,bH as isMobileLandscape,bL as isResponseFailed,by as isScreenSize,bB as isSm,bN as isTileDirty,bM as isTileFailed,bE as isXl,bA as isXs,bF as isXxl,c4 as microsFromCurrencyInput,b0 as organizeReports,c2 as refreshBillingUsage,aY as renameReportFolder,br as rowsForCapture,av as saveReport,c9 as setStoredBillingCustomerKey,bI as subscribeToScreenSize,aZ as updateReportTag,bZ as useBillingCustomerKey,b_ as useBillingHistory,b$ as useBillingQuotaUpdate,c0 as useBillingUsage,c1 as useMagicWandBillingGate,cc as usePushNotifications}from"./autoql-index-aac31222.esm.js";import"react";import"prop-types";import"uuid";import"lodash.isequal";import"react-device-detect";import"@react-icons/all-files/ai/AiOutlineBook";import"@react-icons/all-files/ai/AiOutlineBulb";import"@react-icons/all-files/ai/AiOutlineDashboard";import"@react-icons/all-files/ai/AiOutlineEdit";import"@react-icons/all-files/ai/AiOutlineFileText";import"@react-icons/all-files/ai/AiOutlineMenu";import"@react-icons/all-files/ai/AiOutlineQuestionCircle";import"@react-icons/all-files/ai/AiOutlineTag";import"@react-icons/all-files/ai/AiOutlineFileSearch";import"@react-icons/all-files/ai/AiOutlineNumber";import"@react-icons/all-files/bi/BiLineChart";import"@react-icons/all-files/bi/BiSearchAlt";import"@react-icons/all-files/bi/BiBookmark";import"@react-icons/all-files/bi/BiBook";import"@react-icons/all-files/bi/BiNote";import"@react-icons/all-files/bi/BiAbacus";import"@react-icons/all-files/bi/BiEnvelope";import"@react-icons/all-files/bi/BiEnvelopeOpen";import"@react-icons/all-files/bi/BiLayerPlus";import"@react-icons/all-files/bi/BiSelectMultiple";import"@react-icons/all-files/bs/BsArrowBarUp";import"@react-icons/all-files/bs/BsArrowBarDown";import"@react-icons/all-files/bs/BsLightning";import"@react-icons/all-files/fa/FaMicrophoneAlt";import"@react-icons/all-files/fi/FiAlertTriangle";import"@react-icons/all-files/fi/FiArrowLeft";import"@react-icons/all-files/fi/FiBell";import"@react-icons/all-files/fi/FiBellOff";import"@react-icons/all-files/fi/FiCalendar";import"@react-icons/all-files/fi/FiCheck";import"@react-icons/all-files/fi/FiDatabase";import"@react-icons/all-files/fi/FiDownload";import"@react-icons/all-files/fi/FiEye";import"@react-icons/all-files/fi/FiLayers";import"@react-icons/all-files/fi/FiMoreHorizontal";import"@react-icons/all-files/fi/FiMoreVertical";import"@react-icons/all-files/fi/FiPauseCircle";import"@react-icons/all-files/fi/FiPlus";import"@react-icons/all-files/fi/FiArrowUp";import"@react-icons/all-files/fi/FiSettings";import"@react-icons/all-files/fi/FiTrash2";import"@react-icons/all-files/fi/FiMaximize";import"@react-icons/all-files/fi/FiMinimize";import"@react-icons/all-files/fi/FiRefreshCw";import"@react-icons/all-files/fi/FiTool";import"@react-icons/all-files/fi/FiMinus";import"react-icons/fi";import"@react-icons/all-files/ri/RiFilterLine";import"@react-icons/all-files/ri/RiFilterOffLine";import"@react-icons/all-files/ri/RiListSettingsLine";import"@react-icons/all-files/ri/RiBroadcastFill";import"@react-icons/all-files/ri/RiDivideFill";import"@react-icons/all-files/go/GoReport";import"react-icons/hi";import"@react-icons/all-files/io/IoIosCloseCircleOutline";import"@react-icons/all-files/io/IoIosGlobe";import"@react-icons/all-files/io/IoIosHourglass";import"@react-icons/all-files/io/IoIosSearch";import"@react-icons/all-files/io/IoIosArrowDown";import"@react-icons/all-files/io/IoIosArrowUp";import"@react-icons/all-files/io/IoIosArrowBack";import"@react-icons/all-files/io/IoIosArrowForward";import"@react-icons/all-files/md/MdClose";import"@react-icons/all-files/md/MdContentCopy";import"@react-icons/all-files/md/MdError";import"@react-icons/all-files/md/MdInfoOutline";import"@react-icons/all-files/md/MdLock";import"@react-icons/all-files/md/MdLockOpen";import"@react-icons/all-files/md/MdPlayCircleOutline";import"@react-icons/all-files/md/MdAttachMoney";import"@react-icons/all-files/md/MdFunctions";import"react-icons/md";import"react-icons/rx";import"react-icons/tfi";import"react-tiny-popover";import"react-dom";import"react-tooltip";import"axios";import"lodash.clonedeep";import"react-autosuggest";import"react-speech-recognition";import"dayjs";import"dayjs/plugin/advancedFormat";import"dayjs/plugin/localizedFormat";import"dayjs/plugin/utc";import"dayjs/plugin/timezone";import"dayjs/plugin/isBetween";import"dayjs/plugin/weekOfYear";import"dayjs/plugin/quarterOfYear";import"dayjs/plugin/customParseFormat";import"dayjs/plugin/isSameOrBefore";import"dayjs/plugin/isToday";import"dayjs/plugin/minMax";import"react-perfect-scrollbar";import"react-perfect-scrollbar/dist/css/styles.css";import"classnames";import"react/jsx-runtime";import"d3-array";import"react-localization";import"react-grid-layout";import"pako";import"react-splitter-layout";import"react-modal";import"lodash.isempty";import"react-dom/server";import"tabulator-tables";import"lodash.throttle";import"tabulator-tables/dist/css/tabulator.min.css";import"tabulator-tables/dist/css/tabulator_bootstrap3.min.css";import"d3-shape";import"d3-selection";import"d3-transition";import"d3-axis";import"d3-scale";import"react-slider";import"jstat";import"d3-force";import"d3-zoom";import"d3-sankey";import"d3-hierarchy";import"lodash.filter";import"sql-formatter";import"parse-num";import"react-toastify";import"react-toastify/dist/ReactToastify.css";import"react-markdown";import"remark-breaks";import"lodash.debounce";import"react-grid-layout/css/styles.css";import"react-splitter-layout/lib/index.css";import"rc-drawer";import"react-infinite-scroller";import"lodash.has";import"rc-drawer/assets/index.css";import"recordrtc";
|
package/dist/autoql.esm.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-autoql",
|
|
3
|
-
"version": "8.37.
|
|
3
|
+
"version": "8.37.2",
|
|
4
4
|
"description": "React Widget Library",
|
|
5
5
|
"main": "dist/autoql.cjs.js",
|
|
6
6
|
"module": "dist/autoql.esm.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@react-icons/all-files": "4.1.0",
|
|
62
|
-
"autoql-fe-utils": "1.
|
|
62
|
+
"autoql-fe-utils": "1.14.0",
|
|
63
63
|
"axios": "^1.16.0",
|
|
64
64
|
"caniuse-lite": "1.0.30001692",
|
|
65
65
|
"classnames": "2.5.1",
|
package/src/index.d.ts
CHANGED
|
@@ -204,6 +204,25 @@ export interface DashboardTile {
|
|
|
204
204
|
[key: string]: any
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
export interface ValueActionContext {
|
|
208
|
+
column: {
|
|
209
|
+
name: string
|
|
210
|
+
display_name?: string
|
|
211
|
+
type?: string
|
|
212
|
+
precision?: string
|
|
213
|
+
dow_style?: string
|
|
214
|
+
}
|
|
215
|
+
formattedValue: string
|
|
216
|
+
queryId?: string
|
|
217
|
+
queryText?: string
|
|
218
|
+
event: MouseEvent
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type ValueActionCallback = (value: any, row: Record<string, any>, context: ValueActionContext) => void
|
|
222
|
+
|
|
223
|
+
// A plain function, or an object that also sets the link's tooltip (default "Open")
|
|
224
|
+
export type ValueActionCallbackEntry = ValueActionCallback | { onClick: ValueActionCallback; tooltip?: string }
|
|
225
|
+
|
|
207
226
|
export interface DashboardProps {
|
|
208
227
|
authentication?: Authentication
|
|
209
228
|
autoQLConfig?: AutoQLConfig
|
|
@@ -217,6 +236,9 @@ export interface DashboardProps {
|
|
|
217
236
|
notExecutedText?: string | React.ReactElement
|
|
218
237
|
onChange?: (tiles: DashboardTile[], slicers?: any[]) => void
|
|
219
238
|
onErrorCallback?: (error: any) => void
|
|
239
|
+
// Called when the value is clicked in a cell of a column whose value_action is
|
|
240
|
+
// { type: 'callback', callback_name }. Keyed by callback_name; the row is keyed by column name.
|
|
241
|
+
valueActionCallbacks?: Record<string, ValueActionCallbackEntry>
|
|
220
242
|
onSuccessCallback?: (response: any) => void
|
|
221
243
|
autoChartAggregations?: boolean
|
|
222
244
|
enableDynamicCharting?: boolean
|
|
@@ -327,6 +349,9 @@ export interface DataMessengerProps {
|
|
|
327
349
|
onNotificationCount?: (count: number) => void
|
|
328
350
|
onVisibleChange?: (visible: boolean) => void
|
|
329
351
|
onErrorCallback?: (error: any) => void
|
|
352
|
+
// Called when the value is clicked in a cell of a column whose value_action is
|
|
353
|
+
// { type: 'callback', callback_name }. Keyed by callback_name; the row is keyed by column name.
|
|
354
|
+
valueActionCallbacks?: Record<string, ValueActionCallbackEntry>
|
|
330
355
|
onSuccessAlert?: (message: string) => void
|
|
331
356
|
onProjectSelectChange?: (projectId: string) => void
|
|
332
357
|
source?: string | string[]
|
|
@@ -381,6 +406,9 @@ export interface QueryOutputProps {
|
|
|
381
406
|
onDrilldownStart?: (params: any) => void
|
|
382
407
|
onDrilldownEnd?: () => void
|
|
383
408
|
onErrorCallback?: (error: any) => void
|
|
409
|
+
// Called when the value is clicked in a cell of a column whose value_action is
|
|
410
|
+
// { type: 'callback', callback_name }. Keyed by callback_name; the row is keyed by column name.
|
|
411
|
+
valueActionCallbacks?: Record<string, ValueActionCallbackEntry>
|
|
384
412
|
[key: string]: any
|
|
385
413
|
}
|
|
386
414
|
|