@milaboratories/miplots4 1.2.2 → 1.2.3
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/DataFrame.d.ts.map +1 -1
- package/dist/DataFrame.js +2 -1
- package/dist/DataFrame.js.map +1 -1
- package/dist/selection/ChartRenderer.d.ts.map +1 -1
- package/dist/selection/ChartRenderer.js +9 -11
- package/dist/selection/ChartRenderer.js.map +1 -1
- package/dist/selection/SelectionSettingsImpl.d.ts +0 -1
- package/dist/selection/SelectionSettingsImpl.d.ts.map +1 -1
- package/dist/selection/SelectionSettingsImpl.js +0 -1
- package/dist/selection/SelectionSettingsImpl.js.map +1 -1
- package/dist/selection/components/Chart/Bars/GroupSelectedBars.js +1 -1
- package/dist/selection/components/Chart/Bars/GroupSelectedBars.js.map +1 -1
- package/dist/selection/components/Chart/Bars/StackedBars.d.ts.map +1 -1
- package/dist/selection/components/Chart/Bars/StackedBars.js +11 -11
- package/dist/selection/components/Chart/Bars/StackedBars.js.map +1 -1
- package/dist/selection/components/Chart/ChartAxes.d.ts.map +1 -1
- package/dist/selection/components/Chart/ChartAxes.js +7 -8
- package/dist/selection/components/Chart/ChartAxes.js.map +1 -1
- package/dist/selection/components/Chart/ChartFrame.d.ts +1 -2
- package/dist/selection/components/Chart/ChartFrame.d.ts.map +1 -1
- package/dist/selection/components/Chart/ChartFrame.js +8 -8
- package/dist/selection/components/Chart/ChartFrame.js.map +1 -1
- package/dist/selection/components/Chart/Gridlines.d.ts +2 -6
- package/dist/selection/components/Chart/Gridlines.d.ts.map +1 -1
- package/dist/selection/components/Chart/Gridlines.js +14 -26
- package/dist/selection/components/Chart/Gridlines.js.map +1 -1
- package/dist/selection/components/Chart/Ribbons/GroupFlowRibbon.js +1 -1
- package/dist/selection/components/Chart/Ribbons/GroupFlowRibbon.js.map +1 -1
- package/dist/selection/components/Chart/Ribbons/StackedGroupFlowRibbon.d.ts.map +1 -1
- package/dist/selection/components/Chart/Ribbons/StackedGroupFlowRibbon.js +27 -27
- package/dist/selection/components/Chart/Ribbons/StackedGroupFlowRibbon.js.map +1 -1
- package/dist/selection/components/Chart/SelectionXAxis.d.ts +18 -0
- package/dist/selection/components/Chart/SelectionXAxis.d.ts.map +1 -0
- package/dist/selection/components/Chart/SelectionXAxis.js +47 -0
- package/dist/selection/components/Chart/SelectionXAxis.js.map +1 -0
- package/dist/selection/components/Chart/types.d.ts +0 -1
- package/dist/selection/components/Chart/types.d.ts.map +1 -1
- package/dist/selection/components/Chart.d.ts.map +1 -1
- package/dist/selection/components/Chart.js +7 -12
- package/dist/selection/components/Chart.js.map +1 -1
- package/dist/selection/components/ChartsGroup.d.ts.map +1 -1
- package/dist/selection/components/ChartsGroup.js +73 -72
- package/dist/selection/components/ChartsGroup.js.map +1 -1
- package/dist/selection/components/types.d.ts +0 -1
- package/dist/selection/components/types.d.ts.map +1 -1
- package/dist/selection/constants.d.ts +1 -2
- package/dist/selection/constants.d.ts.map +1 -1
- package/dist/selection/constants.js +2 -2
- package/dist/selection/constants.js.map +1 -1
- package/dist/selection/createSelectionData.d.ts +2 -6
- package/dist/selection/createSelectionData.d.ts.map +1 -1
- package/dist/selection/createSelectionData.js +45 -59
- package/dist/selection/createSelectionData.js.map +1 -1
- package/dist/types/selection.d.ts +0 -5
- package/dist/types/selection.d.ts.map +1 -1
- package/dist/types/selection.js +0 -1
- package/dist/types/selection.js.map +1 -1
- package/package.json +1 -1
|
@@ -208,19 +208,16 @@ export declare const SelectionSettingsSchema: z.ZodObject<{
|
|
|
208
208
|
}>;
|
|
209
209
|
xAxis: z.ZodOptional<z.ZodObject<{
|
|
210
210
|
title: z.ZodOptional<z.ZodString>;
|
|
211
|
-
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
212
211
|
showTicks: z.ZodOptional<z.ZodBoolean>;
|
|
213
212
|
hiddenLabels: z.ZodOptional<z.ZodBoolean>;
|
|
214
213
|
labelsPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"45deg">, z.ZodLiteral<"90deg">]>>;
|
|
215
214
|
}, "strip", z.ZodTypeAny, {
|
|
216
215
|
title?: string | undefined;
|
|
217
|
-
showGrid?: boolean | undefined;
|
|
218
216
|
showTicks?: boolean | undefined;
|
|
219
217
|
labelsPosition?: "center" | "45deg" | "90deg" | undefined;
|
|
220
218
|
hiddenLabels?: boolean | undefined;
|
|
221
219
|
}, {
|
|
222
220
|
title?: string | undefined;
|
|
223
|
-
showGrid?: boolean | undefined;
|
|
224
221
|
showTicks?: boolean | undefined;
|
|
225
222
|
labelsPosition?: "center" | "45deg" | "90deg" | undefined;
|
|
226
223
|
hiddenLabels?: boolean | undefined;
|
|
@@ -329,7 +326,6 @@ export declare const SelectionSettingsSchema: z.ZodObject<{
|
|
|
329
326
|
} | undefined;
|
|
330
327
|
xAxis?: {
|
|
331
328
|
title?: string | undefined;
|
|
332
|
-
showGrid?: boolean | undefined;
|
|
333
329
|
showTicks?: boolean | undefined;
|
|
334
330
|
labelsPosition?: "center" | "45deg" | "90deg" | undefined;
|
|
335
331
|
hiddenLabels?: boolean | undefined;
|
|
@@ -418,7 +414,6 @@ export declare const SelectionSettingsSchema: z.ZodObject<{
|
|
|
418
414
|
} | undefined;
|
|
419
415
|
xAxis?: {
|
|
420
416
|
title?: string | undefined;
|
|
421
|
-
showGrid?: boolean | undefined;
|
|
422
417
|
showTicks?: boolean | undefined;
|
|
423
418
|
labelsPosition?: "center" | "45deg" | "90deg" | undefined;
|
|
424
419
|
hiddenLabels?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgB9B,iGAAiG
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgB9B,iGAAiG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDrG,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
package/dist/types/selection.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.js","names":[],"sources":["../../src/types/selection.ts"],"sourcesContent":["import { z } from 'zod';\nimport { AesRecordSchema, ColumnNameSchema, DataValueSchema, DiscreteLabelsPositionSchema, FrameTypeSchema, LegendPositionSchema, TitlePositionSchema } from './common';\n\nexport const SelectionSettingsSchema = z.object({\n type: z.literal('selection'),\n\n selectionStage: ColumnNameSchema,\n weight: z.optional(ColumnNameSchema),\n grouping: z.optional(\n z.object({\n columnName: ColumnNameSchema,\n order: z.optional(z.array(DataValueSchema)),\n inheritedAes: z.optional(AesRecordSchema),\n }),\n ),\n\n facetBy: z.optional(z.array(ColumnNameSchema)),\n facetSettings: z.optional(\n z.object({\n /** Ordered list of facet keys (e.g. \"val1_val2\"); only these facets are shown, in this order. */\n order: z.optional(z.array(z.string())),\n nRows: z.optional(z.number()),\n nCols: z.optional(z.number()),\n }),\n ),\n\n legend: z.optional(\n z.object({\n show: z.optional(z.boolean()),\n position: z.optional(LegendPositionSchema),\n }),\n ),\n\n title: z.object({\n name: z.string(),\n show: z.optional(z.boolean()),\n position: z.optional(TitlePositionSchema),\n }),\n\n xAxis: z.optional(\n z.object({\n title: z.optional(z.string()),\n
|
|
1
|
+
{"version":3,"file":"selection.js","names":[],"sources":["../../src/types/selection.ts"],"sourcesContent":["import { z } from 'zod';\nimport { AesRecordSchema, ColumnNameSchema, DataValueSchema, DiscreteLabelsPositionSchema, FrameTypeSchema, LegendPositionSchema, TitlePositionSchema } from './common';\n\nexport const SelectionSettingsSchema = z.object({\n type: z.literal('selection'),\n\n selectionStage: ColumnNameSchema,\n weight: z.optional(ColumnNameSchema),\n grouping: z.optional(\n z.object({\n columnName: ColumnNameSchema,\n order: z.optional(z.array(DataValueSchema)),\n inheritedAes: z.optional(AesRecordSchema),\n }),\n ),\n\n facetBy: z.optional(z.array(ColumnNameSchema)),\n facetSettings: z.optional(\n z.object({\n /** Ordered list of facet keys (e.g. \"val1_val2\"); only these facets are shown, in this order. */\n order: z.optional(z.array(z.string())),\n nRows: z.optional(z.number()),\n nCols: z.optional(z.number()),\n }),\n ),\n\n legend: z.optional(\n z.object({\n show: z.optional(z.boolean()),\n position: z.optional(LegendPositionSchema),\n }),\n ),\n\n title: z.object({\n name: z.string(),\n show: z.optional(z.boolean()),\n position: z.optional(TitlePositionSchema),\n }),\n\n xAxis: z.optional(\n z.object({\n title: z.optional(z.string()),\n showTicks: z.optional(z.boolean()),\n hiddenLabels: z.optional(z.boolean()),\n labelsPosition: z.optional(DiscreteLabelsPositionSchema),\n }),\n ),\n yAxis: z.optional(\n z.object({\n title: z.optional(z.string()),\n showGrid: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n hiddenLabels: z.optional(z.boolean()),\n }),\n ),\n frame: z.optional(z.object({ type: z.optional(FrameTypeSchema) })),\n\n fillColor: z.union([\n z.string(),\n z.object({ type: z.string(), value: z.optional(z.string()) }),\n ]),\n\n opacity: z.optional(z.number()),\n\n size: z.optional(z.object({\n width: z.optional(z.number()),\n height: z.optional(z.number()),\n })),\n});\n\nexport type SelectionSettings = z.infer<typeof SelectionSettingsSchema>;\n"],"mappings":";;AAGA,MAAa,IAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,QAAQ,YAAY;CAE5B,gBAAgB;CAChB,QAAQ,EAAE,SAAS,EAAiB;CACpC,UAAU,EAAE,SACV,EAAE,OAAO;EACP,YAAY;EACZ,OAAO,EAAE,SAAS,EAAE,MAAM,EAAgB,CAAC;EAC3C,cAAc,EAAE,SAAS,EAAgB;EAC1C,CAAC,CACH;CAED,SAAS,EAAE,SAAS,EAAE,MAAM,EAAiB,CAAC;CAC9C,eAAe,EAAE,SACf,EAAE,OAAO;EAEP,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;EACtC,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC;EAC7B,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC;EAC9B,CAAC,CACH;CAED,QAAQ,EAAE,SACR,EAAE,OAAO;EACP,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC;EAC7B,UAAU,EAAE,SAAS,EAAqB;EAC3C,CAAC,CACH;CAED,OAAO,EAAE,OAAO;EACd,MAAM,EAAE,QAAQ;EAChB,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC;EAC7B,UAAU,EAAE,SAAS,EAAoB;EAC1C,CAAC;CAEF,OAAO,EAAE,SACP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