@nxgt/material 3.58.0 → 3.59.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/CHANGELOG.md +26 -0
- package/README.md +31 -0
- package/dist/{async-slice-C_Juki7i.js → async-slice-Cmvxrvn9.js} +2 -2
- package/dist/barcode.js +440 -0
- package/dist/{button-CCHGtPIN.js → button-qb9UpHF5.js} +47 -46
- package/dist/charts.js +92 -92
- package/dist/{chip-1XnyX4bd.js → chip-BlmIjpiD.js} +2 -2
- package/dist/{code-editor-1Y7ykpam.js → code-editor-BYEpBp_U.js} +11 -11
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-Clbln9C6.js → code-language-items-Cqk4Fq61.js} +2 -2
- package/dist/components/components.css +1 -0
- package/dist/components/ui/actions/split-button/split-button-states.css +6 -0
- package/dist/components/ui/widgets/barcode/barcode.css +112 -0
- package/dist/{components-Cj3lJ_uK.js → components-j44ReRNq.js} +11255 -11174
- package/dist/components.js +26 -26
- package/dist/{dialog-Cx_xWUVR.js → dialog-1BstKBvt.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-Jp6pHNgP.js → dropdown-menu-hoaocAS7.js} +1 -1
- package/dist/editor.js +9 -9
- package/dist/{empty-state-D61RimJr.js → empty-state-DEG9h7xk.js} +2 -2
- package/dist/{escape-owner-Ch_-kDLw.js → escape-owner-BvLBo_Al.js} +22 -22
- package/dist/{field-blur-BJjUHsgJ.js → field-blur-BkeYPaWi.js} +1 -1
- package/dist/{field-blur-context-CmOF0FIN.js → field-blur-context-Ba7iZVm_.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-CVmY0Z44.js → hover-card-C5DTU9P_.js} +2 -2
- package/dist/{i18n-provider-C0uLEv0G.js → i18n-provider-BJDI-A5w.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-bAQQK3ls.js → icon-badge-9ZE6k7cn.js} +3 -3
- package/dist/{icon-button-Csvj2R8S.js → icon-button-AwJtCkV5.js} +1 -1
- package/dist/lib/barcode/index.d.ts +15 -0
- package/dist/lib/components/ui/actions/button/button-busy.d.ts +5 -0
- package/dist/lib/components/ui/actions/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/load-more-footer/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/load-more-footer/load-more-footer.d.ts +24 -0
- package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +0 -2
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/editors/custom-types.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/index.d.ts +2 -1
- package/dist/lib/components/ui/collections/filter/query/filter-query-model.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +0 -1
- package/dist/lib/components/ui/collections/server-table/partials/filtered-server-table.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +0 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-error.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-hosted.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/server-table.d.ts +3 -1
- package/dist/lib/components/ui/collections/server-table/types.d.ts +0 -2
- package/dist/lib/components/ui/collections/server-table/use-filter-params.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/use-table-answer.d.ts +2 -1
- package/dist/lib/components/ui/dates/date-field/{date-field-parts.d.ts → date-field-props.d.ts} +2 -40
- package/dist/lib/components/ui/dates/date-field/use-date-field-model.d.ts +28 -0
- package/dist/lib/components/ui/dates/date-field/use-date-field-open.d.ts +11 -0
- package/dist/lib/components/ui/display/cards/index.d.ts +3 -1
- package/dist/lib/components/ui/display/cards/partials/album-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/checklist-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/crew-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/event-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/feature-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/file-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/link-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/media-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/message-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/notice-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/offer-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/overlay-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/place-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/pricing-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/profile-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/quote-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/receipt-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/review-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/score-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/shortcut-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/split-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/spotlight-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/status-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/tag-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/ticket-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/timeline-card.d.ts +1 -1
- package/dist/lib/components/ui/feedback/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/notifications/notifications-provider.d.ts +1 -1
- package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +0 -1
- package/dist/lib/components/ui/feedback/page-load-failed/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/page-load-failed/page-load-failed.d.ts +15 -0
- package/dist/lib/components/ui/feedback/step-dots/index.d.ts +2 -1
- package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +0 -1
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/country-field/iso-codes.d.ts +2 -0
- package/dist/lib/components/ui/fields/country-field/iso-countries.d.ts +0 -2
- package/dist/lib/components/ui/fields/field/types.d.ts +2 -2
- package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +2 -2
- package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +0 -2
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +0 -3
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +0 -2
- package/dist/lib/components/ui/layout/doc/index.d.ts +2 -1
- package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +0 -1
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -1
- package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +0 -2
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -1
- package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +0 -1
- package/dist/lib/components/ui/selection/color-swatches/index.d.ts +2 -1
- package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +0 -1
- package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/combobox-field/index.d.ts +1 -1
- package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +4 -3
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +0 -1
- package/dist/lib/components/ui/widgets/barcode/barcode-error.d.ts +4 -0
- package/dist/lib/components/ui/widgets/barcode/barcode-geometry.d.ts +22 -0
- package/dist/lib/components/ui/widgets/barcode/barcode.d.ts +31 -0
- package/dist/lib/components/ui/widgets/barcode/code128.d.ts +15 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix-placement.d.ts +7 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix-rs.d.ts +2 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix-tables.d.ts +13 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix.d.ts +10 -0
- package/dist/lib/components/ui/widgets/barcode/encode.d.ts +12 -0
- package/dist/lib/components/ui/widgets/barcode/index.d.ts +6 -0
- package/dist/lib/components/ui/widgets/barcode/label-length.d.ts +4 -0
- package/dist/lib/components/ui/widgets/barcode/label-sheet.d.ts +37 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/{use-node-list.d.ts → node-list.d.ts} +1 -1
- package/dist/lib/components/ui/widgets/education/quizzes/quiz.utils.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +0 -1
- package/dist/lib/components/ui/widgets/native-charts/core/heat-model.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +2 -2
- package/dist/lib/components/ui/widgets/native-charts/core/scatter-text.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/core/slice-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +0 -2
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/funnel-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/partials/funnel-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/use-funnel-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/gauge/gauge-types.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/heatmap-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/partials/heat-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heat-nav.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heatmap-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/model-parts.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-slice-model.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/index.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/chart-frame.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/chart-shell.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/point-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/pie-chart/partials/slice-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/pie-chart/slice-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/radial-bar-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/use-radial-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/partials/scatter-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/scatter-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-active.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-model.d.ts +1 -1
- package/dist/lib/i18n/resources/en/en.d.ts +8 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +8 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +8 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +8 -0
- package/dist/lib/i18n/resources/resources.d.ts +16 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/print/components/print-document/print-document.d.ts +2 -1
- package/dist/lib/print/components/print-section.d.ts +8 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +43 -43
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +4 -3
- package/dist/{public-B42vT7ee.js → public-DEh75enl.js} +15 -15
- package/dist/{rich-code-block-DIJ1X1AF.js → rich-code-block-hJexXOdk.js} +5 -5
- package/dist/{sortable-provider-Csby6WpB.js → sortable-provider-DE-MSfeJ.js} +2 -2
- package/dist/{spinner-DC35lhqx.js → spinner-CquTUxzt.js} +1 -1
- package/dist/{stored-language-BIxd7uiP.js → stored-language-BDzGeEAm.js} +16 -0
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-BWdNFLvB.js → theme-toggle-DBgsBw8S.js} +1 -1
- package/dist/{toolbar-items-oqmVfnfO.js → toolbar-items-Bm1baIp6.js} +4 -4
- package/dist/{translate-material-Bgtjuh85.js → translate-material-Q67GD4co.js} +2 -2
- package/dist/{translator-BrZv1U54.js → translator-CBhGdYun.js} +1 -1
- package/dist/{use-chat-composer-Dj0TP_B1.js → use-chat-composer-BlfhGDFp.js} +967 -967
- package/dist/{use-heading-spy-1Dqxj_JQ.js → use-heading-spy-COxCWqWF.js} +1 -1
- package/dist/{use-material-translation-DLdQKdfw.js → use-material-translation-BZAy_ffS.js} +2 -2
- package/docs/README.md +1 -0
- package/docs/components/buttons-and-actions.md +37 -0
- package/docs/components/feedback-and-status.md +25 -0
- package/docs/components/rich-widgets.md +35 -0
- package/docs/guides/barcode.md +203 -0
- package/docs/guides/printing.md +28 -3
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorefooter.webp +0 -0
- package/docs/previews/feedback-status-pageloadfailed.webp +0 -0
- package/docs/previews/rich-widgets-barcode.webp +0 -0
- package/docs/previews/rich-widgets-labelsheet.webp +0 -0
- package/docs/roadmap.md +14 -7
- package/docs/troubleshooting.md +62 -0
- package/lib/components/components.css +1 -0
- package/lib/components/ui/actions/split-button/split-button-states.css +6 -0
- package/lib/components/ui/widgets/barcode/barcode.css +112 -0
- package/package.json +10 -3
- package/dist/lib/components/ui/display/cards/types.d.ts +0 -3
- package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +0 -2
- package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +0 -2
- package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +0 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
-
import { CheckboxGroupProps } from './
|
|
2
|
+
import { CheckboxGroupProps } from './types.js';
|
|
3
3
|
export declare function CheckboxGroupFormField<T extends Record<string, any>>({ control, name, ...props }: Pick<UseControllerProps<T>, 'control' | 'name'> & Omit<CheckboxGroupProps, 'name'>): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { CheckboxGroupProps } from './types.js';
|
|
2
|
-
export type { CheckboxGroupProps };
|
|
3
2
|
export declare function CheckboxGroup({ options, label, helperText, error, value, className, disabled, onValueChange, orientation, id, name, 'aria-invalid': ariaInvalid, ...props }: CheckboxGroupProps): import("react").JSX.Element;
|
|
3
|
+
/** Public surface: the checkbox-group barrel exports this file's names. */
|
|
4
|
+
export type { CheckboxGroupProps } from './types.js';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export type { ColorSwatch, ColorSwatchesProps,
|
|
1
|
+
export type { ColorSwatch, ColorSwatchesProps, } from './color-swatches.js';
|
|
2
2
|
export { ColorSwatches } from './color-swatches.js';
|
|
3
|
+
export type { ColorSwatchesSize } from './types.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
-
import { ComboboxFieldProps } from './
|
|
2
|
+
import { ComboboxFieldProps } from './types.js';
|
|
3
3
|
export declare function ComboboxFormField<T extends Record<string, any>>({ control, name, ...props }: Pick<UseControllerProps<T>, 'control' | 'name'> & Omit<ComboboxFieldProps, 'name' | 'value' | 'onChange'>): import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
-
import { RadioGroupProps } from './
|
|
2
|
+
import { RadioGroupProps } from './types.js';
|
|
3
3
|
export declare function RadioGroupFormField<T extends Record<string, any>>({ control, name, ...props }: Pick<UseControllerProps<T>, 'control' | 'name'> & Omit<RadioGroupProps, 'name'>): import("react").JSX.Element;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { RadioGroupBase, RadioGroupItem } from './partials/radio-group-parts.js';
|
|
2
1
|
import { RadioGroupProps } from './types.js';
|
|
3
|
-
export type { RadioGroupOption, RadioGroupProps, } from './types.js';
|
|
4
2
|
declare function RadioGroup({ options, label, helperText, error, orientation, className, id, ...props }: RadioGroupProps): import("react").JSX.Element;
|
|
5
3
|
/**
|
|
6
4
|
* The labelled `RadioGroup` under `@nxgt/material-vue`'s name, so code reads
|
|
@@ -9,4 +7,7 @@ declare function RadioGroup({ options, label, helperText, error, orientation, cl
|
|
|
9
7
|
*/
|
|
10
8
|
declare const RadioGroupField: typeof RadioGroup;
|
|
11
9
|
export type RadioGroupFieldProps = RadioGroupProps;
|
|
12
|
-
export {
|
|
10
|
+
export { RadioGroupBase, RadioGroupItem } from './partials/radio-group-parts.js';
|
|
11
|
+
/** Public surface: the radio-group barrel exports this file's names. */
|
|
12
|
+
export type { RadioGroupOption, RadioGroupProps } from './types.js';
|
|
13
|
+
export { RadioGroup, RadioGroupField };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BarcodeSymbology } from './encode.js';
|
|
2
|
+
export type BarcodeGeometryOptions = {
|
|
3
|
+
symbology?: BarcodeSymbology;
|
|
4
|
+
/** Quiet zone around the symbol, in modules. Default 10 (Code 128) or 2 (Data Matrix). */
|
|
5
|
+
quietZone?: number;
|
|
6
|
+
/** Bar height of a Code 128, in modules. Default 40. */
|
|
7
|
+
barHeight?: number;
|
|
8
|
+
/** Room under a Code 128 for its value, in modules. Default 0 (none). */
|
|
9
|
+
textHeight?: number;
|
|
10
|
+
};
|
|
11
|
+
export type BarcodeGeometry = {
|
|
12
|
+
symbology: BarcodeSymbology;
|
|
13
|
+
/** The viewBox size, quiet zones included, in modules. */
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
/** The dark modules as one SVG path (`d`). */
|
|
17
|
+
path: string;
|
|
18
|
+
/** Where the printed value is centred, for a Code 128 with a text line. */
|
|
19
|
+
textY: number;
|
|
20
|
+
};
|
|
21
|
+
/** The geometry of `value`: a viewBox and one path, in module units. */
|
|
22
|
+
export declare function barcodeGeometry(value: string, options?: BarcodeGeometryOptions): BarcodeGeometry;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BarcodeGeometryOptions } from './barcode-geometry.js';
|
|
2
|
+
import { BarcodeSymbology } from './encode.js';
|
|
3
|
+
export type BarcodeProps = Omit<React.SVGProps<SVGSVGElement>, 'children' | 'viewBox' | 'role' | 'aria-label'> & Omit<BarcodeGeometryOptions, 'symbology' | 'textHeight'> & {
|
|
4
|
+
/** The text to encode. Code 128 takes ASCII (0-127); Data Matrix takes any text. */
|
|
5
|
+
value: string;
|
|
6
|
+
/** Default `'code128'`. */
|
|
7
|
+
symbology?: BarcodeSymbology;
|
|
8
|
+
/**
|
|
9
|
+
* The accessible name. Default: the value itself. Pass a phrase when the
|
|
10
|
+
* value alone says little (`Tube 0042`).
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
/** Mark the symbol as decoration: the value is printed or shown beside it. */
|
|
14
|
+
decorative?: boolean;
|
|
15
|
+
/** Print the value under a Code 128, in the symbol's own SVG. Default false. */
|
|
16
|
+
showText?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* `'themed'` (default) follows the theme and its dark mode; `'paper'` is
|
|
19
|
+
* dark on light in dark mode too, which scanners read more reliably.
|
|
20
|
+
* Print is black on white either way.
|
|
21
|
+
*/
|
|
22
|
+
appearance?: 'themed' | 'paper';
|
|
23
|
+
/** Pixels per module: sets a fixed `width` and `height`. Default: fills its box. */
|
|
24
|
+
moduleSize?: number;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A Code 128 or Data Matrix symbol drawn as SVG: colours from the theme (or
|
|
28
|
+
* black on white in print), an accessible name, no inline style. A pure
|
|
29
|
+
* function of its props, so it renders on the server too.
|
|
30
|
+
*/
|
|
31
|
+
export declare function Barcode({ value, symbology, label, decorative, showText, appearance, moduleSize, quietZone, barHeight, className, ...rest }: BarcodeProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Code 128 (ISO/IEC 15417), written from the standard's pattern table. The
|
|
3
|
+
* widths of each symbol character are six digits (bar, space, bar, space, bar,
|
|
4
|
+
* space); the stop pattern has a seventh, the final bar. Index = symbol value.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CODE128_PATTERNS: string[];
|
|
7
|
+
/**
|
|
8
|
+
* The symbol values (start, data with the code switches, checksum, stop) of
|
|
9
|
+
* `text`, using the fewest symbol characters: a dynamic programme over the
|
|
10
|
+
* position and the code set in use. Throws `BarcodeError` for an empty text or
|
|
11
|
+
* a character above 127.
|
|
12
|
+
*/
|
|
13
|
+
export declare function code128Values(text: string): number[];
|
|
14
|
+
/** Module widths (bar, space, bar...) of a symbol-value list, quiet zones excluded. */
|
|
15
|
+
export declare function code128Widths(values: number[]): number[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The "Utah" module placement of ISO/IEC 16022 Annex F: lays the codewords
|
|
3
|
+
* (8 bits each, most significant first) over an `nrow` x `ncol` mapping matrix
|
|
4
|
+
* in a diagonal zig-zag, with four corner patterns and the fixed pattern that
|
|
5
|
+
* closes a matrix the codewords do not fill. Returns the modules row by row.
|
|
6
|
+
*/
|
|
7
|
+
export declare function placeCodewords(codewords: number[], nrow: number, ncol: number): boolean[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ECC 200 square symbol sizes (ISO/IEC 16022): the side in modules, how many
|
|
3
|
+
* data regions run along each side, the data and error-correction codewords,
|
|
4
|
+
* and the number of interleaved Reed-Solomon blocks.
|
|
5
|
+
*/
|
|
6
|
+
export type DataMatrixSize = {
|
|
7
|
+
side: number;
|
|
8
|
+
regions: number;
|
|
9
|
+
data: number;
|
|
10
|
+
ecc: number;
|
|
11
|
+
blocks: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const DATAMATRIX_SIZES: DataMatrixSize[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ASCII encodation of Data Matrix: two digits in one codeword, a
|
|
3
|
+
* character 0-127 as itself plus one, and every UTF-8 byte above 127 behind
|
|
4
|
+
* the Upper Shift codeword. The denser C40, Text, X12, EDIFACT and Base 256
|
|
5
|
+
* encodations are not used: the symbol can come out one size larger for long
|
|
6
|
+
* upper-case text, never unreadable.
|
|
7
|
+
*/
|
|
8
|
+
export declare function dataMatrixCodewords(text: string): number[];
|
|
9
|
+
/** The square ECC 200 symbol of `text`: `true` is a dark module, row by row. */
|
|
10
|
+
export declare function dataMatrixModules(text: string): boolean[][];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type BarcodeSymbology = 'code128' | 'datamatrix';
|
|
2
|
+
/** A symbol as geometry: `bars` are `[x, width]` runs of a 1-D symbol, `rows` the rows of a 2-D one. */
|
|
3
|
+
export type EncodedBarcode = {
|
|
4
|
+
symbology: 'code128';
|
|
5
|
+
width: number;
|
|
6
|
+
runs: [number, number][];
|
|
7
|
+
} | {
|
|
8
|
+
symbology: 'datamatrix';
|
|
9
|
+
width: number;
|
|
10
|
+
rows: boolean[][];
|
|
11
|
+
};
|
|
12
|
+
export declare function encodeBarcode(value: string, symbology?: BarcodeSymbology): EncodedBarcode;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Barcode, type BarcodeProps } from './barcode.js';
|
|
2
|
+
export { BarcodeError } from './barcode-error.js';
|
|
3
|
+
export { type BarcodeGeometry, type BarcodeGeometryOptions, barcodeGeometry, } from './barcode-geometry.js';
|
|
4
|
+
export type { BarcodeSymbology } from './encode.js';
|
|
5
|
+
export type { LabelLength } from './label-length.js';
|
|
6
|
+
export { Label, LabelSheet, type LabelSheetProps } from './label-sheet.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** A CSS length: a number means millimetres, a string needs a physical or font unit. */
|
|
2
|
+
export type LabelLength = number | `${number}${'mm' | 'cm' | 'in' | 'pt' | 'px' | 'rem' | 'em'}`;
|
|
3
|
+
/** The CSS value of `length`; throws `BarcodeError` on anything but a number or `<n><unit>`. */
|
|
4
|
+
export declare function cssLength(length: LabelLength | undefined, name: string): string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { LabelLength } from './label-length.js';
|
|
3
|
+
export type LabelSheetProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
4
|
+
/** The size of one label. A number is millimetres. */
|
|
5
|
+
label: {
|
|
6
|
+
width: LabelLength;
|
|
7
|
+
height: LabelLength;
|
|
8
|
+
};
|
|
9
|
+
/** Labels per row. */
|
|
10
|
+
columns: number;
|
|
11
|
+
/** Rows per page. Default: all the labels on one page. */
|
|
12
|
+
rows?: number;
|
|
13
|
+
/** The space between labels: one length for both, or `{ x, y }`. Default 0. */
|
|
14
|
+
gap?: LabelLength | {
|
|
15
|
+
x?: LabelLength;
|
|
16
|
+
y?: LabelLength;
|
|
17
|
+
};
|
|
18
|
+
/** The margin before the first label (the sheet's top-left unprintable edge). Default 0. */
|
|
19
|
+
offset?: {
|
|
20
|
+
x?: LabelLength;
|
|
21
|
+
y?: LabelLength;
|
|
22
|
+
};
|
|
23
|
+
/** Labels to leave blank first: start on the 5th label of a sheet that is partly used. Default 0. */
|
|
24
|
+
skip?: number;
|
|
25
|
+
/** The labels, each a `Label`. */
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
};
|
|
28
|
+
/** One label cell of a `LabelSheet`: it clips to the label size and never splits across pages. */
|
|
29
|
+
export declare function Label({ className, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* A sheet of labels to print: `columns` x `rows` labels of a fixed size, gaps
|
|
32
|
+
* between them and a start offset, one page per full grid. Add
|
|
33
|
+
* `@page { size: A4; margin: 0 }` (your sheet's size) to the app's print CSS.
|
|
34
|
+
* The lengths are written as custom properties after mount (a strict CSP
|
|
35
|
+
* blocks a rendered `style` attribute), so print once the page is hydrated.
|
|
36
|
+
*/
|
|
37
|
+
export declare function LabelSheet(props: LabelSheetProps): import("react").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { ReactNodeViewProps } from '@tiptap/react';
|
|
|
3
3
|
* The list a block keeps in one node attribute (items, options…), with the
|
|
4
4
|
* three edits every block offers: change one, remove one, add one.
|
|
5
5
|
*/
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function nodeList<T>(props: ReactNodeViewProps<HTMLDivElement>, attribute: string, makeItem: (count: number) => T): {
|
|
7
7
|
items: T[];
|
|
8
8
|
update: (index: number, attrs: Partial<T>) => void;
|
|
9
9
|
remove: (index: number) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StepDotState } from '../../../feedback/step-dots/step-
|
|
1
|
+
import { StepDotState } from '../../../feedback/step-dots/step-dot.js';
|
|
2
2
|
import { isAnswered } from '../questions/question.utils.js';
|
|
3
3
|
import { Question, QuestionAnswer } from '../questions/types.js';
|
|
4
4
|
import { QuizAnswers } from './types.js';
|
|
@@ -3,7 +3,6 @@ import { QuizPrimary } from './quiz.flow.js';
|
|
|
3
3
|
import { QuizState } from './quiz.slice.js';
|
|
4
4
|
import { scoreQuiz } from './quiz.utils.js';
|
|
5
5
|
import { QuizProps } from './types.js';
|
|
6
|
-
export type { QuizPrimary };
|
|
7
6
|
export type QuizModel = Pick<QuizProps, 'title' | 'description' | 'timeLimit' | 'timerPaused' | 'passingScore'> & {
|
|
8
7
|
questions: Question[];
|
|
9
8
|
/** The questions of this round: all of them, or a retry's. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ChartPoint } from './base-props-types.js';
|
|
1
2
|
import { ChartTableModel } from './table.js';
|
|
2
3
|
import { ChartTranslate } from './translate.js';
|
|
3
|
-
import {
|
|
4
|
+
import { ChartRow } from './types.js';
|
|
4
5
|
/** The pure pieces of the heat map's model: a cell's point and status text, and the full-matrix table. */
|
|
5
6
|
export type HeatGrid = {
|
|
6
7
|
/** Row labels, and the column keys and labels. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ChartBand,
|
|
1
|
+
import { ChartBand, ChartThreshold } from './reference-types.js';
|
|
2
|
+
import { ChartRow } from './types.js';
|
|
2
3
|
/**
|
|
3
4
|
* The maths of a line chart's reference bands and threshold lines: they are
|
|
4
5
|
* cleaned once (a range given backwards, a value that is not a number), fed
|
|
@@ -34,4 +35,3 @@ export declare function normalizeBands(bands: readonly ChartBand[] | undefined,
|
|
|
34
35
|
export declare function normalizeThresholds(thresholds: readonly ChartThreshold[] | undefined, data?: readonly ChartRow[]): RefThreshold[];
|
|
35
36
|
/** Every value a band or a threshold marks: the value domain grows to hold them. */
|
|
36
37
|
export declare function referenceValues(bands: readonly RefBand[], thresholds: readonly RefThreshold[]): number[];
|
|
37
|
-
export { bandBox, bandLabelBaseline, bandRuns, clipBand, labelFlow, outsideBand, type Run, refRuns, runSpan, thresholdAt, thresholdLabelBaseline, thresholdRuns, } from './reference-geometry.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ChartPoint } from './base-props-types.js';
|
|
1
2
|
import { Dot } from './scatter.js';
|
|
2
3
|
import { ChartTableModel } from './table.js';
|
|
3
4
|
import { ChartTranslate } from './translate.js';
|
|
4
|
-
import {
|
|
5
|
+
import { ScatterPoint } from './types.js';
|
|
5
6
|
/** The text of a scatter chart: its summary, live status, table and points. */
|
|
6
7
|
/** A visible series, with how its y values read. */
|
|
7
8
|
export type ScatterShown = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ChartPoint } from './base-props-types.js';
|
|
1
2
|
import { ChartTableModel } from './table.js';
|
|
2
3
|
import { ChartTranslate } from './translate.js';
|
|
3
|
-
import { ChartPoint } from './types.js';
|
|
4
4
|
/**
|
|
5
5
|
* The pure parts of a slice chart's model: which slices are drawn and their
|
|
6
6
|
* shares, the point a slice stands for, the live status and the "View data"
|
|
@@ -76,5 +76,3 @@ export interface ChartXAxis {
|
|
|
76
76
|
format?: (value: ChartValue, index: number) => string;
|
|
77
77
|
label?: string;
|
|
78
78
|
}
|
|
79
|
-
export type { ChartBaseProps, ChartPalette, ChartPoint, } from './base-props-types.js';
|
|
80
|
-
export type { ChartBand, ChartRowValue, ChartThreshold, } from './reference-types.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ChartBaseProps
|
|
1
|
+
import { ChartBaseProps } from '../core/base-props-types.js';
|
|
2
|
+
import { ChartSlice } from '../core/types.js';
|
|
2
3
|
/**
|
|
3
4
|
* What `FunnelChart` takes: the shared chart props and one step per `data`
|
|
4
5
|
* entry, in funnel order. A funnel is one series, so it has no legend and
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChartBaseProps, ChartPoint } from '../../core/types.js';
|
|
1
|
+
import { ChartBaseProps, ChartPoint } from '../../core/base-props-types.js';
|
|
2
2
|
import { FunnelStep } from '../use-funnel-model.js';
|
|
3
3
|
/**
|
|
4
4
|
* The tooltip of the active step: its label, its value large with its share
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
1
2
|
import { PaintAttributes, ResolvedSeries } from '../core/colors.js';
|
|
2
3
|
import { FunnelRate } from '../core/funnel.js';
|
|
3
|
-
import { ChartPoint } from '../core/types.js';
|
|
4
4
|
import { usePointNav } from '../hooks/use-point-nav.js';
|
|
5
5
|
import { ChartShellModel } from '../partials/chart-shell.js';
|
|
6
6
|
import { FunnelChartProps } from './funnel-chart-types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tone } from '../../../tones.js';
|
|
2
|
+
import { ChartBaseProps } from '../core/base-props-types.js';
|
|
2
3
|
import { GaugeSize } from '../core/gauge.js';
|
|
3
|
-
import { ChartBaseProps } from '../core/types.js';
|
|
4
4
|
export type { GaugeSize };
|
|
5
5
|
/**
|
|
6
6
|
* What `Gauge` takes: the shared chart props that apply (no `legend`,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Tone } from '../../../tones.js';
|
|
2
|
-
import { ChartBaseProps
|
|
2
|
+
import { ChartBaseProps } from '../core/base-props-types.js';
|
|
3
|
+
import { ChartRow } from '../core/types.js';
|
|
3
4
|
/** One column of the grid: the row field holding its number, and its label. */
|
|
4
5
|
export interface HeatColumn {
|
|
5
6
|
/** The field of each row holding this column's number. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartBaseProps } from '../../core/base-props-types.js';
|
|
1
2
|
import { HeatFrame } from '../../core/heatmap.js';
|
|
2
|
-
import { ChartBaseProps } from '../../core/types.js';
|
|
3
3
|
import { HeatmapModel } from '../use-heatmap-model.js';
|
|
4
4
|
/**
|
|
5
5
|
* The tooltip of the active cell: "row, column" and its value large. It
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
1
2
|
import { KeyboardEvent } from 'react';
|
|
2
|
-
import { ChartPoint } from '../core/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* The active cell of a heat map, moved by the keyboard (`heatKey`: arrows,
|
|
5
5
|
* Home, End, Enter, Escape) or set by a pointer (`pointTo`, a flat index).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
1
2
|
import { paintAttributes } from '../core/colors.js';
|
|
2
|
-
import { ChartPoint } from '../core/types.js';
|
|
3
3
|
import { ChartShellModel } from '../partials/chart-shell.js';
|
|
4
4
|
import { HeatmapChartProps } from './heatmap-chart-types.js';
|
|
5
5
|
import { useHeatNav } from './use-heat-nav.js';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Tone } from '../../../tones.js';
|
|
2
|
+
import { ChartBaseProps, ChartPoint } from '../core/base-props-types.js';
|
|
2
3
|
import { ResolvedSeries } from '../core/colors.js';
|
|
3
4
|
import { SeriesAxis } from '../core/combo-axes.js';
|
|
4
5
|
import { ToneMark, ToneWords } from '../core/point-tones.js';
|
|
5
6
|
import { RefBand, RefThreshold } from '../core/reference.js';
|
|
7
|
+
import { ChartBand, ChartThreshold } from '../core/reference-types.js';
|
|
6
8
|
import { ChartTableModel } from '../core/table.js';
|
|
7
|
-
import { ChartAxis,
|
|
9
|
+
import { ChartAxis, ChartRow, ChartSeries, ChartXAxis, RowKey } from '../core/types.js';
|
|
8
10
|
import { LegendItem } from '../partials/chart-legend.js';
|
|
9
11
|
import { ModelSeries } from './model-series.js';
|
|
10
12
|
import { useChartSize } from './use-chart-size.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
1
2
|
import { ResolvedSeries } from '../core/colors.js';
|
|
2
3
|
import { SeriesAxis } from '../core/combo-axes.js';
|
|
3
4
|
import { applySummary, ChartKind } from '../core/summary.js';
|
|
4
5
|
import { ChartTableModel } from '../core/table.js';
|
|
5
6
|
import { ChartTranslate } from '../core/translate.js';
|
|
6
|
-
import {
|
|
7
|
+
import { ChartRow, ChartSeries } from '../core/types.js';
|
|
7
8
|
import { LegendItem } from '../partials/chart-legend.js';
|
|
8
9
|
import { ModelSeries } from './model-series.js';
|
|
9
10
|
export declare function summaryText(t: ChartTranslate, input: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ChartBaseProps, ChartPoint } from '../core/base-props-types.js';
|
|
1
2
|
import { PaintAttributes, ResolvedSeries } from '../core/colors.js';
|
|
2
|
-
import {
|
|
3
|
+
import { ChartSlice } from '../core/types.js';
|
|
3
4
|
import { ChartShellModel } from '../partials/chart-shell.js';
|
|
4
5
|
import { usePointNav } from './use-point-nav.js';
|
|
5
6
|
/** What a slice chart (pie, donut) takes. */
|
|
@@ -3,8 +3,10 @@ export { BarChart } from './bar-chart/bar-chart.js';
|
|
|
3
3
|
export type { BarChartProps, BarLayout, BarOrientation, } from './bar-chart/bar-chart-types.js';
|
|
4
4
|
export { ComboChart } from './combo-chart/combo-chart.js';
|
|
5
5
|
export type { ComboChartProps } from './combo-chart/combo-chart-types.js';
|
|
6
|
+
export type { ChartBaseProps, ChartPalette, ChartPoint, } from './core/base-props-types.js';
|
|
6
7
|
export type { ChartRange, ChartRangeProps, ChartScrollOptions, ChartZoomOptions, } from './core/range-types.js';
|
|
7
|
-
export type {
|
|
8
|
+
export type { ChartBand, ChartRowValue, ChartThreshold, } from './core/reference-types.js';
|
|
9
|
+
export type { ChartAxis, ChartColor, ChartRow, ChartSeries, ChartShape, ChartSlice, ChartValue, ChartXAxis, ComboSeries, RowKey, ScatterPoint, ScatterSeries, } from './core/types.js';
|
|
8
10
|
export { FunnelChart } from './funnel-chart/funnel-chart.js';
|
|
9
11
|
export type { FunnelChartProps } from './funnel-chart/funnel-chart-types.js';
|
|
10
12
|
export { Gauge } from './gauge/gauge.js';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Tone } from '../../../tones.js';
|
|
2
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
2
3
|
import { ChartCurve } from '../core/lines.js';
|
|
3
4
|
import { ToneWords } from '../core/point-tones.js';
|
|
4
5
|
import { ChartRangeProps } from '../core/range-types.js';
|
|
5
|
-
import { ChartBand,
|
|
6
|
+
import { ChartBand, ChartThreshold } from '../core/reference-types.js';
|
|
7
|
+
import { ChartRow, ChartSeries } from '../core/types.js';
|
|
6
8
|
import { ChartModelProps } from '../hooks/use-chart-model.js';
|
|
7
9
|
export type { ChartCurve };
|
|
8
10
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartBaseProps } from '../core/base-props-types.js';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
|
-
import { ChartBaseProps } from '../core/types.js';
|
|
3
3
|
import { ChartModel } from '../hooks/use-chart-model.js';
|
|
4
4
|
import { ChartTableSource } from './chart-data-table.js';
|
|
5
5
|
import { ChartScrollConfig } from './chart-scroll.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartBaseProps, ChartPoint } from '../../core/base-props-types.js';
|
|
1
2
|
import { SliceLayout } from '../../core/slices.js';
|
|
2
|
-
import { ChartBaseProps, ChartPoint } from '../../core/types.js';
|
|
3
3
|
import { ModelSlice, SliceModel } from '../../hooks/use-slice-model.js';
|
|
4
4
|
import { SliceFrame, SliceTipSpot } from '../slice-geometry.js';
|
|
5
5
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { ChartBaseProps
|
|
2
|
+
import { ChartBaseProps } from '../core/base-props-types.js';
|
|
3
|
+
import { ChartSlice } from '../core/types.js';
|
|
3
4
|
/**
|
|
4
5
|
* What `PieChart` takes: the shared chart props and the `data` slices.
|
|
5
6
|
* A round chart takes no `grid`.
|
package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/radial-bar-chart-types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ChartBaseProps
|
|
1
|
+
import { ChartBaseProps } from '../core/base-props-types.js';
|
|
2
|
+
import { ChartSlice } from '../core/types.js';
|
|
2
3
|
/**
|
|
3
4
|
* What `RadialBarChart` takes: the shared chart props and one ring per
|
|
4
5
|
* `data` entry, the first outermost. It takes no `grid`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChartPoint } from '../core/types.js';
|
|
1
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
2
2
|
import { usePointNav } from '../hooks/use-point-nav.js';
|
|
3
3
|
import { ModelSlice } from '../hooks/use-slice-model.js';
|
|
4
4
|
import { ChartShellModel } from '../partials/chart-shell.js';
|
package/dist/lib/components/ui/widgets/native-charts/scatter-chart/partials/scatter-tip.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartBaseProps } from '../../core/base-props-types.js';
|
|
1
2
|
import { Dot, ScatterLayout } from '../../core/scatter.js';
|
|
2
|
-
import { ChartBaseProps } from '../../core/types.js';
|
|
3
3
|
import { ScatterModel } from '../use-scatter-model.js';
|
|
4
4
|
/**
|
|
5
5
|
* The tooltip of the active point: its label (else its series), then its x
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChartBaseProps } from '../core/base-props-types.js';
|
|
2
|
+
import { ChartAxis, ScatterSeries } from '../core/types.js';
|
|
2
3
|
export type { ScatterPoint, ScatterSeries } from '../core/types.js';
|
|
3
4
|
/**
|
|
4
5
|
* What `ScatterChart` takes: the shared chart props, a `series` list whose
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
1
2
|
import { KeyboardEvent } from 'react';
|
|
2
3
|
import { Dot } from '../core/scatter.js';
|
|
3
|
-
import { ChartPoint } from '../core/types.js';
|
|
4
4
|
/**
|
|
5
5
|
* The active point of a scatter plot, moved by the keyboard (`scatterKey`)
|
|
6
6
|
* or set by a pointer (`pointTo`, an index into `dots`). It is null when
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ChartPoint } from '../core/base-props-types.js';
|
|
1
2
|
import { KeyboardEvent } from 'react';
|
|
2
3
|
import { PaintAttributes, ResolvedSeries } from '../core/colors.js';
|
|
3
4
|
import { Dot } from '../core/scatter.js';
|
|
4
5
|
import { ScatterNames, ScatterShown } from '../core/scatter-text.js';
|
|
5
|
-
import { ChartPoint } from '../core/types.js';
|
|
6
6
|
import { ChartShellModel } from '../partials/chart-shell.js';
|
|
7
7
|
import { ScatterChartProps } from './scatter-chart-types.js';
|
|
8
8
|
/** A visible series, ready to draw. */
|
|
@@ -1339,6 +1339,14 @@ export declare const en: {
|
|
|
1339
1339
|
dark: string;
|
|
1340
1340
|
system: string;
|
|
1341
1341
|
};
|
|
1342
|
+
"load-more": {
|
|
1343
|
+
shown: string;
|
|
1344
|
+
"shown-count": string;
|
|
1345
|
+
failed: string;
|
|
1346
|
+
retry: string;
|
|
1347
|
+
"page-failed-title": string;
|
|
1348
|
+
"back-to-start": string;
|
|
1349
|
+
};
|
|
1342
1350
|
"language-switcher": {
|
|
1343
1351
|
label: string;
|
|
1344
1352
|
};
|
|
@@ -1329,6 +1329,14 @@ declare const _default: {
|
|
|
1329
1329
|
"dark": "Dark",
|
|
1330
1330
|
"system": "System"
|
|
1331
1331
|
},
|
|
1332
|
+
"load-more": {
|
|
1333
|
+
"shown": "Showing {shown} of {total}",
|
|
1334
|
+
"shown-count": "{shown, plural, one {# shown} other {# shown}}",
|
|
1335
|
+
"failed": "The next items could not be loaded",
|
|
1336
|
+
"retry": "Try again",
|
|
1337
|
+
"page-failed-title": "This page could not be loaded",
|
|
1338
|
+
"back-to-start": "Back to the start"
|
|
1339
|
+
},
|
|
1332
1340
|
"language-switcher": {
|
|
1333
1341
|
"label": "Language"
|
|
1334
1342
|
},
|