@pie-lib/graphing-solution-set 5.0.8-next.20261109082044 → 5.0.8-next.20261109085818
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/__tests__/i18n.test.d.ts +1 -0
- package/dist/graph.d.ts +2 -0
- package/dist/graph.js +68 -70
- package/dist/i18n/ar.d.ts +24 -0
- package/dist/i18n/ar.js +26 -0
- package/dist/i18n/cy.d.ts +24 -0
- package/dist/i18n/cy.js +26 -0
- package/dist/i18n/en-AU.d.ts +20 -0
- package/dist/i18n/en-AU.js +22 -0
- package/dist/i18n/en-GB.d.ts +20 -0
- package/dist/i18n/en-GB.js +22 -0
- package/dist/i18n/en-US.d.ts +26 -0
- package/dist/i18n/en-US.js +22 -0
- package/dist/i18n/es.d.ts +20 -0
- package/dist/i18n/es.js +22 -0
- package/dist/i18n/fr.d.ts +21 -0
- package/dist/i18n/fr.js +23 -0
- package/dist/i18n/index.d.ts +19 -0
- package/dist/i18n/index.js +67 -0
- package/dist/i18n/ja.d.ts +19 -0
- package/dist/i18n/ja.js +19 -0
- package/dist/i18n/ko.d.ts +19 -0
- package/dist/i18n/ko.js +19 -0
- package/dist/i18n/nl-NL.d.ts +20 -0
- package/dist/i18n/nl-NL.js +22 -0
- package/dist/i18n/pt.d.ts +21 -0
- package/dist/i18n/pt.js +23 -0
- package/dist/i18n/ro.d.ts +21 -0
- package/dist/i18n/ro.js +23 -0
- package/dist/i18n/sv.d.ts +20 -0
- package/dist/i18n/sv.js +22 -0
- package/dist/i18n/th-TH.d.ts +19 -0
- package/dist/i18n/th-TH.js +19 -0
- package/dist/i18n/zh.d.ts +19 -0
- package/dist/i18n/zh.js +19 -0
- package/dist/mark-label.js +42 -43
- package/dist/tool-menu.d.ts +3 -0
- package/dist/tool-menu.js +34 -31
- package/dist/undo-redo.d.ts +2 -0
- package/dist/undo-redo.js +17 -16
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/graph.d.ts
CHANGED
|
@@ -49,6 +49,8 @@ export declare const removeBuildingToolIfCurrentToolDiffers: ({ marks, currentTo
|
|
|
49
49
|
currentTool: any;
|
|
50
50
|
}) => any;
|
|
51
51
|
export declare class Graph extends React.Component {
|
|
52
|
+
/** Re-renders once the language's catalog lands, for an element that did not preload it. */
|
|
53
|
+
relabel: () => void;
|
|
52
54
|
constructor(props: any);
|
|
53
55
|
static propTypes: {
|
|
54
56
|
currentTool: PropTypes.Requireable<object>;
|
package/dist/graph.js
CHANGED
|
@@ -3,79 +3,76 @@ import n, { AxisPropTypes as r } from "./axis/axes.js";
|
|
|
3
3
|
import { Grid as i } from "./grid.js";
|
|
4
4
|
import { LabelType as a } from "./labels.js";
|
|
5
5
|
import o from "./bg.js";
|
|
6
|
-
import s from "
|
|
7
|
-
import c from "
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import g from "@pie-lib/
|
|
12
|
-
import _ from "
|
|
13
|
-
import
|
|
6
|
+
import { catalogs as s } from "./i18n/index.js";
|
|
7
|
+
import c from "react";
|
|
8
|
+
import l from "prop-types";
|
|
9
|
+
import { cloneDeep as u, isEqual as d } from "@pie-element/shared-lodash";
|
|
10
|
+
import { Root as f, createGraphProps as p, types as m, utils as h } from "@pie-lib/plot";
|
|
11
|
+
import { createUniqueId as g } from "@pie-lib/render-ui";
|
|
12
|
+
import { dynamicMessageKey as _ } from "@pie-element/shared-i18n";
|
|
13
|
+
import v from "debug";
|
|
14
|
+
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
14
15
|
//#region src/graph.tsx
|
|
15
|
-
var
|
|
16
|
-
axesSettings:
|
|
17
|
-
backgroundMarks:
|
|
18
|
-
className:
|
|
19
|
-
collapsibleToolbar:
|
|
20
|
-
collapsibleToolbarTitle:
|
|
21
|
-
disabledLabels:
|
|
22
|
-
disabledTitle:
|
|
23
|
-
domain:
|
|
24
|
-
labels:
|
|
25
|
-
labelModeEnabled:
|
|
26
|
-
coordinatesOnHover:
|
|
27
|
-
marks:
|
|
28
|
-
onChangeLabels:
|
|
29
|
-
onChangeMarks:
|
|
30
|
-
onChangeTitle:
|
|
31
|
-
range:
|
|
32
|
-
size:
|
|
33
|
-
width:
|
|
34
|
-
height:
|
|
16
|
+
var x = v("pie-lib:graphing-solution-set:graph"), S = {
|
|
17
|
+
axesSettings: l.shape(r),
|
|
18
|
+
backgroundMarks: l.array,
|
|
19
|
+
className: l.string,
|
|
20
|
+
collapsibleToolbar: l.bool,
|
|
21
|
+
collapsibleToolbarTitle: l.string,
|
|
22
|
+
disabledLabels: l.bool,
|
|
23
|
+
disabledTitle: l.bool,
|
|
24
|
+
domain: m.DomainType,
|
|
25
|
+
labels: l.shape(a),
|
|
26
|
+
labelModeEnabled: l.bool,
|
|
27
|
+
coordinatesOnHover: l.bool,
|
|
28
|
+
marks: l.array,
|
|
29
|
+
onChangeLabels: l.func,
|
|
30
|
+
onChangeMarks: l.func,
|
|
31
|
+
onChangeTitle: l.func,
|
|
32
|
+
range: m.DomainType,
|
|
33
|
+
size: l.shape({
|
|
34
|
+
width: l.number.isRequired,
|
|
35
|
+
height: l.number.isRequired
|
|
35
36
|
}),
|
|
36
|
-
showLabels:
|
|
37
|
-
showPixelGuides:
|
|
38
|
-
showTitle:
|
|
39
|
-
title:
|
|
40
|
-
tools:
|
|
41
|
-
language:
|
|
37
|
+
showLabels: l.bool,
|
|
38
|
+
showPixelGuides: l.bool,
|
|
39
|
+
showTitle: l.bool,
|
|
40
|
+
title: l.string,
|
|
41
|
+
tools: l.array,
|
|
42
|
+
language: l.string
|
|
42
43
|
}, C = (e) => ({
|
|
43
44
|
x: -23,
|
|
44
45
|
y: -23,
|
|
45
46
|
width: e.width + 46,
|
|
46
47
|
height: e.height + 46
|
|
47
|
-
}), w = (e) => e ?
|
|
48
|
-
let a = {
|
|
49
|
-
lng: i,
|
|
50
|
-
interpolation: { escapeValue: !1 }
|
|
51
|
-
}, o = ({ axisLabel: e, min: t, max: n }, r) => b.t("graphing.axisRange", {
|
|
52
|
-
...a,
|
|
48
|
+
}), w = (e) => e ? h.extractTextFromHTML(e).trim() : "", T = ({ title: e, domain: t, range: n, marks: r, language: i, onLoad: a }) => {
|
|
49
|
+
let o = s.forLocale(i, a), c = ({ axisLabel: e, min: t, max: n }, r) => o.t("axisRange", {
|
|
53
50
|
axis: w(e) || r,
|
|
54
51
|
min: t,
|
|
55
52
|
max: n
|
|
56
|
-
}),
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
marks: s.map((e) => b.t(e.type === "polygon" ? "graphing.shadedRegion" : `graphing.${e.type}`, a).trim()).join(", ")
|
|
53
|
+
}), l = r.filter((e) => !e.building && (e.type !== "polygon" || e.isSolution)), u = l.length === 0 ? o.t("plottedNone") : o.plural("plotted", {
|
|
54
|
+
count: l.length,
|
|
55
|
+
marks: l.map((e) => (e.type === "polygon" ? o.t("shadedRegion") : o.t(_(e.type))).trim()).join(", ")
|
|
60
56
|
});
|
|
61
57
|
return {
|
|
62
|
-
ariaLabel: w(e) ||
|
|
63
|
-
ariaDescription: `${
|
|
58
|
+
ariaLabel: w(e) || o.t("graph"),
|
|
59
|
+
ariaDescription: `${c(t, "x")} ${c(n, "y")} ${u}`
|
|
64
60
|
};
|
|
65
61
|
}, E = ({ marks: e, currentTool: t }) => {
|
|
66
|
-
let n = e.filter((e) => e.building)[0], r =
|
|
62
|
+
let n = e.filter((e) => e.building)[0], r = u(e);
|
|
67
63
|
if (n && t && n.type !== t.type) {
|
|
68
|
-
let e = r.findIndex((e) =>
|
|
64
|
+
let e = r.findIndex((e) => d(e, n));
|
|
69
65
|
e >= 0 && r.splice(e, 1);
|
|
70
66
|
}
|
|
71
67
|
return r;
|
|
72
|
-
}, D = class extends
|
|
68
|
+
}, D = class extends c.Component {
|
|
69
|
+
relabel = () => this.forceUpdate();
|
|
73
70
|
constructor(e) {
|
|
74
71
|
super(e), this.maskUid = this.generateMaskId();
|
|
75
72
|
}
|
|
76
73
|
static propTypes = {
|
|
77
74
|
...S,
|
|
78
|
-
currentTool:
|
|
75
|
+
currentTool: l.object
|
|
79
76
|
};
|
|
80
77
|
static defaultProps = {
|
|
81
78
|
onChangeMarks: () => {},
|
|
@@ -84,13 +81,13 @@ var { translator: b } = g, x = _("pie-lib:graphing-solution-set:graph"), S = {
|
|
|
84
81
|
};
|
|
85
82
|
state = {};
|
|
86
83
|
generateMaskId() {
|
|
87
|
-
return
|
|
84
|
+
return g("graph");
|
|
88
85
|
}
|
|
89
86
|
componentDidMount = () => this.setState({ labelNode: this.labelNode });
|
|
90
87
|
changeMark = (e, n) => {
|
|
91
88
|
let { onChangeMarks: r, marks: i, gssLineData: a } = this.props;
|
|
92
89
|
if (a?.selectedTool === "solutionSet") return;
|
|
93
|
-
let o =
|
|
90
|
+
let o = u(i), s = o.findIndex((t) => d(t, e));
|
|
94
91
|
s >= 0 && !t(n, i, e) && (o.splice(s, 1, n), r(o));
|
|
95
92
|
};
|
|
96
93
|
completeMark = (e) => {
|
|
@@ -100,9 +97,9 @@ var { translator: b } = g, x = _("pie-lib:graphing-solution-set:graph"), S = {
|
|
|
100
97
|
this.updateMarks(r, i);
|
|
101
98
|
};
|
|
102
99
|
updateMarks = (e, n, r = !1) => {
|
|
103
|
-
let { onChangeMarks: i, marks: a } = this.props, o =
|
|
100
|
+
let { onChangeMarks: i, marks: a } = this.props, o = u(a);
|
|
104
101
|
if (!n || !n.building && t(n, a)) return;
|
|
105
|
-
let s = o.findIndex((t) =>
|
|
102
|
+
let s = o.findIndex((t) => d(t, e));
|
|
106
103
|
s >= 0 ? (o.splice(s, 1, n), i(o)) : r && i([...o, n]);
|
|
107
104
|
};
|
|
108
105
|
getComponent = (e) => {
|
|
@@ -131,7 +128,7 @@ var { translator: b } = g, x = _("pie-lib:graphing-solution-set:graph"), S = {
|
|
|
131
128
|
}, void 0), this.updateMarks(l, u, !0);
|
|
132
129
|
};
|
|
133
130
|
render() {
|
|
134
|
-
let { axesSettings: t, currentTool: r, coordinatesOnHover: a, size: s, disabledLabels: c, disabledTitle: l, domain: u, backgroundMarks:
|
|
131
|
+
let { axesSettings: t, currentTool: r, coordinatesOnHover: a, size: s, disabledLabels: c, disabledTitle: l, domain: u, backgroundMarks: d, range: m, title: h, labels: g, labelModeEnabled: _, labelsPlaceholders: v, showLabels: x, showPixelGuides: S, showTitle: w, titlePlaceholder: D, onChangeLabels: O, onChangeTitle: k, mathMlOptions: A = {}, gssLineData: j, disabled: M, language: N } = this.props, { marks: P } = this.props, F = p(u, m, s, () => this.rootNode), I = C(s), L = {
|
|
135
132
|
graphProps: F,
|
|
136
133
|
labelModeEnabled: _,
|
|
137
134
|
gssLineData: j,
|
|
@@ -160,15 +157,16 @@ var { translator: b } = g, x = _("pie-lib:graphing-solution-set:graph"), S = {
|
|
|
160
157
|
title: h,
|
|
161
158
|
domain: u,
|
|
162
159
|
range: m,
|
|
163
|
-
marks: [...
|
|
164
|
-
language: N
|
|
160
|
+
marks: [...d || [], ...z],
|
|
161
|
+
language: N,
|
|
162
|
+
onLoad: this.relabel
|
|
165
163
|
});
|
|
166
|
-
return /* @__PURE__ */
|
|
164
|
+
return /* @__PURE__ */ y(f, {
|
|
167
165
|
rootRef: (e) => this.rootNode = e,
|
|
168
166
|
disabledTitle: l,
|
|
169
167
|
disabledLabels: c,
|
|
170
168
|
labels: g,
|
|
171
|
-
labelsPlaceholders:
|
|
169
|
+
labelsPlaceholders: v || {},
|
|
172
170
|
showPixelGuides: S,
|
|
173
171
|
showLabels: x,
|
|
174
172
|
showTitle: w,
|
|
@@ -180,32 +178,32 @@ var { translator: b } = g, x = _("pie-lib:graphing-solution-set:graph"), S = {
|
|
|
180
178
|
ariaLabel: B,
|
|
181
179
|
ariaDescription: V,
|
|
182
180
|
...L,
|
|
183
|
-
children: /* @__PURE__ */
|
|
181
|
+
children: /* @__PURE__ */ b("g", {
|
|
184
182
|
transform: u && u.padding && u.range ? `translate(${u.padding}, ${m.padding})` : void 0,
|
|
185
183
|
children: [
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ y(i, { ...L }),
|
|
185
|
+
/* @__PURE__ */ y(n, {
|
|
188
186
|
...t,
|
|
189
187
|
...L
|
|
190
188
|
}),
|
|
191
|
-
/* @__PURE__ */
|
|
189
|
+
/* @__PURE__ */ y(o, {
|
|
192
190
|
...s,
|
|
193
191
|
onClick: this.onBgClick,
|
|
194
192
|
...L
|
|
195
193
|
}),
|
|
196
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ b("mask", {
|
|
197
195
|
id: `${this.maskUid}`,
|
|
198
|
-
children: [/* @__PURE__ */
|
|
196
|
+
children: [/* @__PURE__ */ y("rect", {
|
|
199
197
|
...I,
|
|
200
198
|
fill: "white"
|
|
201
199
|
}), " "]
|
|
202
200
|
}),
|
|
203
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ b("g", {
|
|
204
202
|
mask: `url('#${this.maskUid}')`,
|
|
205
203
|
children: [
|
|
206
|
-
(
|
|
204
|
+
(d || []).map((e, t) => {
|
|
207
205
|
let n = this.getComponent(e), r = e.type;
|
|
208
|
-
return /* @__PURE__ */
|
|
206
|
+
return /* @__PURE__ */ y(n, {
|
|
209
207
|
mark: {
|
|
210
208
|
...e,
|
|
211
209
|
disabled: !0,
|
|
@@ -218,7 +216,7 @@ var { translator: b } = g, x = _("pie-lib:graphing-solution-set:graph"), S = {
|
|
|
218
216
|
}),
|
|
219
217
|
z.map((e, t) => {
|
|
220
218
|
let n = this.getComponent(e), i = e.type;
|
|
221
|
-
return /* @__PURE__ */
|
|
219
|
+
return /* @__PURE__ */ y(n, {
|
|
222
220
|
mark: e,
|
|
223
221
|
coordinatesOnHover: a,
|
|
224
222
|
onChange: this.changeMark,
|
|
@@ -231,7 +229,7 @@ var { translator: b } = g, x = _("pie-lib:graphing-solution-set:graph"), S = {
|
|
|
231
229
|
...L
|
|
232
230
|
}, `${i}-${t}`);
|
|
233
231
|
}),
|
|
234
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ y("foreignObject", {
|
|
235
233
|
ref: (e) => this.labelNode = e,
|
|
236
234
|
x: "0",
|
|
237
235
|
y: "0",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
graph: string;
|
|
3
|
+
axisRange: string;
|
|
4
|
+
plottedNone: string;
|
|
5
|
+
plotted: {
|
|
6
|
+
zero: string;
|
|
7
|
+
one: string;
|
|
8
|
+
two: string;
|
|
9
|
+
few: string;
|
|
10
|
+
many: string;
|
|
11
|
+
other: string;
|
|
12
|
+
};
|
|
13
|
+
line: string;
|
|
14
|
+
shadedRegion: string;
|
|
15
|
+
label: string;
|
|
16
|
+
markLabel: string;
|
|
17
|
+
reset: string;
|
|
18
|
+
lineA: string;
|
|
19
|
+
lineB: string;
|
|
20
|
+
solutionSet: string;
|
|
21
|
+
solid: string;
|
|
22
|
+
dashed: string;
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
package/dist/i18n/ar.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region src/i18n/ar.ts
|
|
2
|
+
var e = {
|
|
3
|
+
graph: "رسم بياني إحداثي",
|
|
4
|
+
axisRange: "المحور {axis} من {min} إلى {max}.",
|
|
5
|
+
plottedNone: "لم يُرسم أي شيء.",
|
|
6
|
+
plotted: {
|
|
7
|
+
zero: "لم يُرسم أي عنصر ({count}): {marks}.",
|
|
8
|
+
one: "عنصر واحد مرسوم ({count}): {marks}.",
|
|
9
|
+
two: "عنصران مرسومان ({count}): {marks}.",
|
|
10
|
+
few: "{count} عناصر مرسومة: {marks}.",
|
|
11
|
+
many: "{count} عنصرًا مرسومًا: {marks}.",
|
|
12
|
+
other: "{count} عنصر مرسوم: {marks}."
|
|
13
|
+
},
|
|
14
|
+
line: "مستقيم",
|
|
15
|
+
shadedRegion: "منطقة مظللة",
|
|
16
|
+
label: "تسمية",
|
|
17
|
+
markLabel: "تسمية عند النقطة ({x}, {y})",
|
|
18
|
+
reset: "إعادة تعيين",
|
|
19
|
+
lineA: "المستقيم A",
|
|
20
|
+
lineB: "المستقيم B",
|
|
21
|
+
solutionSet: "مجموعة الحل",
|
|
22
|
+
solid: "متصل",
|
|
23
|
+
dashed: "متقطع"
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { e as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
graph: string;
|
|
3
|
+
axisRange: string;
|
|
4
|
+
plottedNone: string;
|
|
5
|
+
plotted: {
|
|
6
|
+
zero: string;
|
|
7
|
+
one: string;
|
|
8
|
+
two: string;
|
|
9
|
+
few: string;
|
|
10
|
+
many: string;
|
|
11
|
+
other: string;
|
|
12
|
+
};
|
|
13
|
+
line: string;
|
|
14
|
+
shadedRegion: string;
|
|
15
|
+
label: string;
|
|
16
|
+
markLabel: string;
|
|
17
|
+
reset: string;
|
|
18
|
+
lineA: string;
|
|
19
|
+
lineB: string;
|
|
20
|
+
solutionSet: string;
|
|
21
|
+
solid: string;
|
|
22
|
+
dashed: string;
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
package/dist/i18n/cy.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region src/i18n/cy.ts
|
|
2
|
+
var e = {
|
|
3
|
+
graph: "Graff cyfesurynnau",
|
|
4
|
+
axisRange: "Echelin {axis} o {min} i {max}.",
|
|
5
|
+
plottedNone: "Dim wedi'i blotio.",
|
|
6
|
+
plotted: {
|
|
7
|
+
zero: "{count} o wrthrychau wedi'u plotio: {marks}.",
|
|
8
|
+
one: "{count} gwrthrych wedi'i blotio: {marks}.",
|
|
9
|
+
two: "{count} wrthrych wedi'u plotio: {marks}.",
|
|
10
|
+
few: "{count} gwrthrych wedi'u plotio: {marks}.",
|
|
11
|
+
many: "{count} gwrthrych wedi'u plotio: {marks}.",
|
|
12
|
+
other: "{count} o wrthrychau wedi'u plotio: {marks}."
|
|
13
|
+
},
|
|
14
|
+
line: "Llinell",
|
|
15
|
+
shadedRegion: "Ardal wedi'i lliwio",
|
|
16
|
+
label: "Label",
|
|
17
|
+
markLabel: "Label yn ({x}, {y})",
|
|
18
|
+
reset: "Ailosod",
|
|
19
|
+
lineA: "Llinell A",
|
|
20
|
+
lineB: "Llinell B",
|
|
21
|
+
solutionSet: "Set datrysiadau",
|
|
22
|
+
solid: "Di-dor",
|
|
23
|
+
dashed: "Toredig"
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { e as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
graph: string;
|
|
3
|
+
axisRange: string;
|
|
4
|
+
plottedNone: string;
|
|
5
|
+
plotted: {
|
|
6
|
+
one: string;
|
|
7
|
+
other: string;
|
|
8
|
+
};
|
|
9
|
+
line: string;
|
|
10
|
+
shadedRegion: string;
|
|
11
|
+
label: string;
|
|
12
|
+
markLabel: string;
|
|
13
|
+
reset: string;
|
|
14
|
+
lineA: string;
|
|
15
|
+
lineB: string;
|
|
16
|
+
solutionSet: string;
|
|
17
|
+
solid: string;
|
|
18
|
+
dashed: string;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/i18n/en-AU.ts
|
|
2
|
+
var e = {
|
|
3
|
+
graph: "Coordinate graph",
|
|
4
|
+
axisRange: "{axis} axis from {min} to {max}.",
|
|
5
|
+
plottedNone: "Nothing plotted.",
|
|
6
|
+
plotted: {
|
|
7
|
+
one: "{count} object plotted: {marks}.",
|
|
8
|
+
other: "{count} objects plotted: {marks}."
|
|
9
|
+
},
|
|
10
|
+
line: "Line",
|
|
11
|
+
shadedRegion: "Shaded region",
|
|
12
|
+
label: "Label",
|
|
13
|
+
markLabel: "Label at ({x}, {y})",
|
|
14
|
+
reset: "Reset",
|
|
15
|
+
lineA: "Line A",
|
|
16
|
+
lineB: "Line B",
|
|
17
|
+
solutionSet: "Solution Set",
|
|
18
|
+
solid: "Solid",
|
|
19
|
+
dashed: "Dashed"
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { e as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
graph: string;
|
|
3
|
+
axisRange: string;
|
|
4
|
+
plottedNone: string;
|
|
5
|
+
plotted: {
|
|
6
|
+
one: string;
|
|
7
|
+
other: string;
|
|
8
|
+
};
|
|
9
|
+
line: string;
|
|
10
|
+
shadedRegion: string;
|
|
11
|
+
label: string;
|
|
12
|
+
markLabel: string;
|
|
13
|
+
reset: string;
|
|
14
|
+
lineA: string;
|
|
15
|
+
lineB: string;
|
|
16
|
+
solutionSet: string;
|
|
17
|
+
solid: string;
|
|
18
|
+
dashed: string;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/i18n/en-GB.ts
|
|
2
|
+
var e = {
|
|
3
|
+
graph: "Coordinate graph",
|
|
4
|
+
axisRange: "{axis} axis from {min} to {max}.",
|
|
5
|
+
plottedNone: "Nothing plotted.",
|
|
6
|
+
plotted: {
|
|
7
|
+
one: "{count} object plotted: {marks}.",
|
|
8
|
+
other: "{count} objects plotted: {marks}."
|
|
9
|
+
},
|
|
10
|
+
line: "Line",
|
|
11
|
+
shadedRegion: "Shaded region",
|
|
12
|
+
label: "Label",
|
|
13
|
+
markLabel: "Label at ({x}, {y})",
|
|
14
|
+
reset: "Reset",
|
|
15
|
+
lineA: "Line A",
|
|
16
|
+
lineB: "Line B",
|
|
17
|
+
solutionSet: "Solution Set",
|
|
18
|
+
solid: "Solid",
|
|
19
|
+
dashed: "Dashed"
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { e as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** The interface strings `@pie-lib/graphing-solution-set` renders; the source for every other locale. */
|
|
2
|
+
declare const _default: {
|
|
3
|
+
/** Accessible name of a graph with no title. */
|
|
4
|
+
graph: string;
|
|
5
|
+
/** The graph's description: each axis's range, then what is plotted. */
|
|
6
|
+
axisRange: string;
|
|
7
|
+
plottedNone: string;
|
|
8
|
+
plotted: {
|
|
9
|
+
one: string;
|
|
10
|
+
other: string;
|
|
11
|
+
};
|
|
12
|
+
/** Names of the plotted marks: a line, and the polygon that shades the solution set. */
|
|
13
|
+
line: string;
|
|
14
|
+
shadedRegion: string;
|
|
15
|
+
label: string;
|
|
16
|
+
/** Accessible name of a mark's label input, by the mark's coordinates. */
|
|
17
|
+
markLabel: string;
|
|
18
|
+
reset: string;
|
|
19
|
+
/** The tool menu: the lines and the solution set to pick from, and each line's style. */
|
|
20
|
+
lineA: string;
|
|
21
|
+
lineB: string;
|
|
22
|
+
solutionSet: string;
|
|
23
|
+
solid: string;
|
|
24
|
+
dashed: string;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/i18n/en-US.ts
|
|
2
|
+
var e = {
|
|
3
|
+
graph: "Coordinate graph",
|
|
4
|
+
axisRange: "{axis} axis from {min} to {max}.",
|
|
5
|
+
plottedNone: "Nothing plotted.",
|
|
6
|
+
plotted: {
|
|
7
|
+
one: "{count} object plotted: {marks}.",
|
|
8
|
+
other: "{count} objects plotted: {marks}."
|
|
9
|
+
},
|
|
10
|
+
line: "Line",
|
|
11
|
+
shadedRegion: "Shaded region",
|
|
12
|
+
label: "Label",
|
|
13
|
+
markLabel: "Label at ({x}, {y})",
|
|
14
|
+
reset: "Reset",
|
|
15
|
+
lineA: "Line A",
|
|
16
|
+
lineB: "Line B",
|
|
17
|
+
solutionSet: "Solution Set",
|
|
18
|
+
solid: "Solid",
|
|
19
|
+
dashed: "Dashed"
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { e as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
graph: string;
|
|
3
|
+
axisRange: string;
|
|
4
|
+
plottedNone: string;
|
|
5
|
+
plotted: {
|
|
6
|
+
one: string;
|
|
7
|
+
other: string;
|
|
8
|
+
};
|
|
9
|
+
line: string;
|
|
10
|
+
shadedRegion: string;
|
|
11
|
+
label: string;
|
|
12
|
+
markLabel: string;
|
|
13
|
+
reset: string;
|
|
14
|
+
lineA: string;
|
|
15
|
+
lineB: string;
|
|
16
|
+
solutionSet: string;
|
|
17
|
+
solid: string;
|
|
18
|
+
dashed: string;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
package/dist/i18n/es.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/i18n/es.ts
|
|
2
|
+
var e = {
|
|
3
|
+
graph: "Gráfica de coordenadas",
|
|
4
|
+
axisRange: "Eje {axis} de {min} a {max}.",
|
|
5
|
+
plottedNone: "Nada trazado.",
|
|
6
|
+
plotted: {
|
|
7
|
+
one: "{count} objeto trazado: {marks}.",
|
|
8
|
+
other: "{count} objetos trazados: {marks}."
|
|
9
|
+
},
|
|
10
|
+
line: "Línea",
|
|
11
|
+
shadedRegion: "Región sombreada",
|
|
12
|
+
label: "Etiqueta",
|
|
13
|
+
markLabel: "Etiqueta en ({x}, {y})",
|
|
14
|
+
reset: "Reiniciar",
|
|
15
|
+
lineA: "Línea A",
|
|
16
|
+
lineB: "Línea B",
|
|
17
|
+
solutionSet: "Conjunto solución",
|
|
18
|
+
solid: "Continua",
|
|
19
|
+
dashed: "Discontinua"
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { e as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
graph: string;
|
|
3
|
+
axisRange: string;
|
|
4
|
+
plottedNone: string;
|
|
5
|
+
plotted: {
|
|
6
|
+
one: string;
|
|
7
|
+
many: string;
|
|
8
|
+
other: string;
|
|
9
|
+
};
|
|
10
|
+
line: string;
|
|
11
|
+
shadedRegion: string;
|
|
12
|
+
label: string;
|
|
13
|
+
markLabel: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
lineA: string;
|
|
16
|
+
lineB: string;
|
|
17
|
+
solutionSet: string;
|
|
18
|
+
solid: string;
|
|
19
|
+
dashed: string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
package/dist/i18n/fr.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/i18n/fr.ts
|
|
2
|
+
var e = {
|
|
3
|
+
graph: "Graphique cartésien",
|
|
4
|
+
axisRange: "Axe {axis} de {min} à {max}.",
|
|
5
|
+
plottedNone: "Aucun objet tracé.",
|
|
6
|
+
plotted: {
|
|
7
|
+
one: "{count} objet tracé\xA0: {marks}.",
|
|
8
|
+
many: "{count} objets tracés\xA0: {marks}.",
|
|
9
|
+
other: "{count} objets tracés\xA0: {marks}."
|
|
10
|
+
},
|
|
11
|
+
line: "Droite",
|
|
12
|
+
shadedRegion: "Zone ombrée",
|
|
13
|
+
label: "Étiquette",
|
|
14
|
+
markLabel: "Étiquette au point ({x}\xA0; {y})",
|
|
15
|
+
reset: "Réinitialiser",
|
|
16
|
+
lineA: "Droite A",
|
|
17
|
+
lineB: "Droite B",
|
|
18
|
+
solutionSet: "Ensemble des solutions",
|
|
19
|
+
solid: "Continue",
|
|
20
|
+
dashed: "Pointillée"
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { e as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const catalogs: import("@pie-element/shared-i18n").Catalogs<{
|
|
2
|
+
graph: string;
|
|
3
|
+
axisRange: string;
|
|
4
|
+
plottedNone: string;
|
|
5
|
+
plotted: {
|
|
6
|
+
one: string;
|
|
7
|
+
other: string;
|
|
8
|
+
};
|
|
9
|
+
line: string;
|
|
10
|
+
shadedRegion: string;
|
|
11
|
+
label: string;
|
|
12
|
+
markLabel: string;
|
|
13
|
+
reset: string;
|
|
14
|
+
lineA: string;
|
|
15
|
+
lineB: string;
|
|
16
|
+
solutionSet: string;
|
|
17
|
+
solid: string;
|
|
18
|
+
dashed: string;
|
|
19
|
+
}>;
|