@webwriter/geogebra 1.1.0 → 2.0.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/README.md +280 -124
- package/custom-elements.json +2255 -1259
- package/dist/chunks/af-35CD6HFH.js +12 -0
- package/dist/chunks/am-JMDT5LI7.js +12 -0
- package/dist/chunks/ar-JL4QKYYL.js +12 -0
- package/dist/chunks/az-3SZS6WCY.js +12 -0
- package/dist/chunks/be-C4GWVHR2.js +12 -0
- package/dist/chunks/bg-6QGE5EQ4.js +12 -0
- package/dist/chunks/bn-UM2BV46R.js +12 -0
- package/dist/chunks/bs-XE2PWKCS.js +12 -0
- package/dist/chunks/ca-ZO2BQKPZ.js +12 -0
- package/dist/chunks/ca-balear-GJKWY5R7.js +12 -0
- package/dist/chunks/ca-valencia-CNQYSJSJ.js +12 -0
- package/dist/chunks/chunk-ANJTU3IB.js +203 -0
- package/dist/chunks/chunk-BSUFUO7E.js +65 -0
- package/dist/chunks/chunk-RYZMQM25.js +789 -0
- package/dist/chunks/cnr-MCZGASOD.js +12 -0
- package/dist/chunks/cs-4Q7FRISG.js +12 -0
- package/dist/chunks/cy-7VXG3AYH.js +12 -0
- package/dist/chunks/da-VDMHGBXD.js +12 -0
- package/dist/chunks/de-AT-YM5GCI75.js +12 -0
- package/dist/chunks/de-CH-LQNHTGYT.js +12 -0
- package/dist/chunks/de-GJT7RSHT.js +12 -0
- package/dist/chunks/el-ZVUVWEQ3.js +12 -0
- package/dist/chunks/en-AU-PCIYYC4M.js +12 -0
- package/dist/chunks/en-CA-37T7YUIL.js +12 -0
- package/dist/chunks/en-GB-ZYCA2CIZ.js +12 -0
- package/dist/chunks/en-IN-EPHXLNO6.js +12 -0
- package/dist/chunks/en-US-ECSJ5HDL.js +12 -0
- package/dist/chunks/es-5VBYK2HE.js +12 -0
- package/dist/chunks/et-OFQRRTW6.js +12 -0
- package/dist/chunks/eu-7TNOYFB7.js +12 -0
- package/dist/chunks/fa-KZU6GKWU.js +12 -0
- package/dist/chunks/fi-THJEKJPW.js +12 -0
- package/dist/chunks/fr-MUVVTBQZ.js +12 -0
- package/dist/chunks/ga-UWUVCWOT.js +12 -0
- package/dist/chunks/gl-NHQ52YCN.js +12 -0
- package/dist/chunks/gu-HVDD4QHO.js +12 -0
- package/dist/chunks/ha-2BPTATOZ.js +12 -0
- package/dist/chunks/he-MDESCUHJ.js +12 -0
- package/dist/chunks/hi-C6BGPR4Y.js +12 -0
- package/dist/chunks/hr-77MP3ELT.js +12 -0
- package/dist/chunks/hu-7PRNX6NB.js +12 -0
- package/dist/chunks/hy-R3VEL63L.js +12 -0
- package/dist/chunks/id-O6B2T3Y2.js +12 -0
- package/dist/chunks/is-XLNS5CAZ.js +12 -0
- package/dist/chunks/it-NZODUGUP.js +12 -0
- package/dist/chunks/ja-FFK5WXSB.js +12 -0
- package/dist/chunks/jv-GS3IRAIB.js +12 -0
- package/dist/chunks/ka-NWIJAO54.js +12 -0
- package/dist/chunks/kk-WQFRFG44.js +12 -0
- package/dist/chunks/km-AUKBN3YT.js +12 -0
- package/dist/chunks/kn-PKZFPECM.js +12 -0
- package/dist/chunks/ko-XNGAWKQ4.js +12 -0
- package/dist/chunks/ky-AQTYDJIL.js +12 -0
- package/dist/chunks/la-ERS7V4N4.js +12 -0
- package/dist/chunks/lb-KU3DVPI4.js +12 -0
- package/dist/chunks/locale-codes-TGY5LMYX.js +11 -0
- package/dist/chunks/lt-6RI4HSG3.js +12 -0
- package/dist/chunks/lv-RGIUQVA7.js +12 -0
- package/dist/chunks/mk-JMAYXTCL.js +12 -0
- package/dist/chunks/ml-5ZAIPAYV.js +12 -0
- package/dist/chunks/mn-N2GZBVDP.js +12 -0
- package/dist/chunks/mr-2SRCJIBC.js +12 -0
- package/dist/chunks/ms-WHD5PUQM.js +12 -0
- package/dist/chunks/mt-EXRK5UO6.js +12 -0
- package/dist/chunks/my-D2COGDRI.js +12 -0
- package/dist/chunks/nb-3XNBS2DU.js +12 -0
- package/dist/chunks/ne-PA4KUBGU.js +12 -0
- package/dist/chunks/nl-QMM3PBPM.js +12 -0
- package/dist/chunks/nn-CLFEMF2K.js +12 -0
- package/dist/chunks/no-CV376NZG.js +12 -0
- package/dist/chunks/or-KP7CET7X.js +12 -0
- package/dist/chunks/pa-CH5JYVXT.js +12 -0
- package/dist/chunks/pl-DDW4HT7M.js +12 -0
- package/dist/chunks/pt-BR-CVNA2MRU.js +12 -0
- package/dist/chunks/pt-CRTRYTDJ.js +12 -0
- package/dist/chunks/pt-PT-IZMPF3BY.js +12 -0
- package/dist/chunks/ro-FUOGHWJA.js +12 -0
- package/dist/chunks/ru-KAT4X5EC.js +12 -0
- package/dist/chunks/si-GDAXEOBK.js +12 -0
- package/dist/chunks/sk-CDSK6MY5.js +12 -0
- package/dist/chunks/sl-TFJQYNA4.js +12 -0
- package/dist/chunks/so-TXI6JJPW.js +12 -0
- package/dist/chunks/sq-KMM2QIRU.js +12 -0
- package/dist/chunks/sr-OTZNEL5Z.js +12 -0
- package/dist/chunks/sv-7CANJ6CF.js +12 -0
- package/dist/chunks/sw-5JDMTJ5K.js +12 -0
- package/dist/chunks/ta-HT4SO7PD.js +12 -0
- package/dist/chunks/te-FECCLHOI.js +12 -0
- package/dist/chunks/tg-FJWFJWF2.js +12 -0
- package/dist/chunks/th-JEP434LN.js +12 -0
- package/dist/chunks/tl-GN35ZR2F.js +12 -0
- package/dist/chunks/tr-IPVLQUE4.js +12 -0
- package/dist/chunks/uk-LHWPGFRV.js +12 -0
- package/dist/chunks/ur-7FU4XRAY.js +12 -0
- package/dist/chunks/uz-RO7XCKFE.js +12 -0
- package/dist/chunks/vi-5PHPTVV4.js +12 -0
- package/dist/chunks/zh-Hans-UM7MUEDB.js +12 -0
- package/dist/chunks/zh-Hant-7M2P4G7R.js +12 -0
- package/dist/chunks/zh-LHCPWZN2.js +12 -0
- package/dist/widgets/webwriter-geogebra-3d.js +19 -25827
- package/dist/widgets/webwriter-geogebra-classic.js +18 -25826
- package/dist/widgets/webwriter-geogebra-geometry.js +18 -25826
- package/dist/widgets/webwriter-geogebra-notes.js +18 -25826
- package/dist/widgets/webwriter-geogebra-scientific.js +18 -25826
- package/dist/widgets/webwriter-geogebra.js +20 -25830
- package/editing-config.json +839 -20
- package/lit-localize.json +73 -9
- package/localization/af.xlf +290 -0
- package/localization/am.xlf +290 -0
- package/localization/ar.xlf +271 -6
- package/localization/az.xlf +290 -0
- package/localization/be.xlf +290 -0
- package/localization/bg.xlf +271 -6
- package/localization/bn.xlf +290 -0
- package/localization/bs.xlf +290 -0
- package/localization/ca-balear.xlf +290 -0
- package/localization/ca-valencia.xlf +290 -0
- package/localization/ca.xlf +290 -0
- package/localization/cnr.xlf +290 -0
- package/localization/cs.xlf +271 -6
- package/localization/cy.xlf +290 -0
- package/localization/da.xlf +271 -6
- package/localization/de-AT.xlf +294 -0
- package/localization/de-CH.xlf +294 -0
- package/localization/de.xlf +271 -6
- package/localization/el.xlf +271 -6
- package/localization/es.xlf +271 -6
- package/localization/et.xlf +271 -6
- package/localization/eu.xlf +290 -0
- package/localization/fa.xlf +290 -0
- package/localization/fi.xlf +271 -6
- package/localization/fr.xlf +271 -6
- package/localization/ga.xlf +290 -0
- package/localization/generated/af.ts +16 -0
- package/localization/generated/am.ts +16 -0
- package/localization/generated/ar.ts +6 -12
- package/localization/generated/az.ts +16 -0
- package/localization/generated/be.ts +16 -0
- package/localization/generated/bg.ts +6 -12
- package/localization/generated/bn.ts +16 -0
- package/localization/generated/bs.ts +16 -0
- package/localization/generated/ca-balear.ts +16 -0
- package/localization/generated/ca-valencia.ts +16 -0
- package/localization/generated/ca.ts +16 -0
- package/localization/generated/cnr.ts +16 -0
- package/localization/generated/cs.ts +6 -12
- package/localization/generated/cy.ts +16 -0
- package/localization/generated/da.ts +6 -12
- package/localization/generated/de-AT.ts +16 -0
- package/localization/generated/de-CH.ts +16 -0
- package/localization/generated/de.ts +6 -11
- package/localization/generated/el.ts +6 -12
- package/localization/generated/en-AU.ts +16 -0
- package/localization/generated/en-CA.ts +16 -0
- package/localization/generated/en-GB.ts +16 -0
- package/localization/generated/en-IN.ts +16 -0
- package/localization/generated/en-US.ts +16 -0
- package/localization/generated/es.ts +6 -12
- package/localization/generated/et.ts +6 -12
- package/localization/generated/eu.ts +16 -0
- package/localization/generated/fa.ts +16 -0
- package/localization/generated/fi.ts +6 -12
- package/localization/generated/fr.ts +6 -12
- package/localization/generated/ga.ts +16 -0
- package/localization/generated/gl.ts +16 -0
- package/localization/generated/gu.ts +16 -0
- package/localization/generated/ha.ts +16 -0
- package/localization/generated/he.ts +16 -0
- package/localization/generated/hi.ts +16 -0
- package/localization/generated/hr.ts +16 -0
- package/localization/generated/hu.ts +6 -12
- package/localization/generated/hy.ts +16 -0
- package/localization/generated/id.ts +6 -12
- package/localization/generated/is.ts +16 -0
- package/localization/generated/it.ts +6 -12
- package/localization/generated/ja.ts +6 -12
- package/localization/generated/jv.ts +16 -0
- package/localization/generated/ka.ts +16 -0
- package/localization/generated/kk.ts +16 -0
- package/localization/generated/km.ts +16 -0
- package/localization/generated/kn.ts +16 -0
- package/localization/generated/ko.ts +6 -12
- package/localization/generated/ky.ts +16 -0
- package/localization/generated/la.ts +16 -0
- package/localization/generated/lb.ts +16 -0
- package/localization/generated/locale-codes.ts +211 -0
- package/localization/generated/lt.ts +6 -12
- package/localization/generated/lv.ts +6 -12
- package/localization/generated/mk.ts +16 -0
- package/localization/generated/ml.ts +16 -0
- package/localization/generated/mn.ts +16 -0
- package/localization/generated/mr.ts +16 -0
- package/localization/generated/ms.ts +16 -0
- package/localization/generated/mt.ts +16 -0
- package/localization/generated/my.ts +16 -0
- package/localization/generated/nb.ts +6 -12
- package/localization/generated/ne.ts +16 -0
- package/localization/generated/nl.ts +6 -12
- package/localization/generated/nn.ts +16 -0
- package/localization/generated/no.ts +16 -0
- package/localization/generated/or.ts +16 -0
- package/localization/generated/pa.ts +16 -0
- package/localization/generated/pl.ts +6 -12
- package/localization/generated/pt-BR.ts +6 -12
- package/localization/generated/pt-PT.ts +6 -12
- package/localization/generated/pt.ts +16 -0
- package/localization/generated/ro.ts +6 -12
- package/localization/generated/ru.ts +6 -12
- package/localization/generated/si.ts +16 -0
- package/localization/generated/sk.ts +6 -12
- package/localization/generated/sl.ts +6 -12
- package/localization/generated/so.ts +16 -0
- package/localization/generated/sq.ts +16 -0
- package/localization/generated/sr.ts +16 -0
- package/localization/generated/sv.ts +6 -12
- package/localization/generated/sw.ts +16 -0
- package/localization/generated/ta.ts +16 -0
- package/localization/generated/te.ts +16 -0
- package/localization/generated/tg.ts +16 -0
- package/localization/generated/th.ts +16 -0
- package/localization/generated/tl.ts +16 -0
- package/localization/generated/tr.ts +6 -12
- package/localization/generated/uk.ts +6 -12
- package/localization/generated/ur.ts +16 -0
- package/localization/generated/uz.ts +16 -0
- package/localization/generated/vi.ts +16 -0
- package/localization/generated/zh-Hans.ts +16 -0
- package/localization/generated/zh-Hant.ts +16 -0
- package/localization/generated/zh.ts +16 -0
- package/localization/gl.xlf +290 -0
- package/localization/gu.xlf +290 -0
- package/localization/ha.xlf +290 -0
- package/localization/he.xlf +290 -0
- package/localization/hi.xlf +290 -0
- package/localization/hr.xlf +290 -0
- package/localization/hu.xlf +271 -6
- package/localization/hy.xlf +290 -0
- package/localization/id.xlf +271 -6
- package/localization/is.xlf +290 -0
- package/localization/it.xlf +271 -6
- package/localization/ja.xlf +271 -6
- package/localization/jv.xlf +290 -0
- package/localization/ka.xlf +290 -0
- package/localization/kk.xlf +290 -0
- package/localization/km.xlf +290 -0
- package/localization/kn.xlf +290 -0
- package/localization/ko.xlf +271 -6
- package/localization/ky.xlf +290 -0
- package/localization/la.xlf +290 -0
- package/localization/lb.xlf +290 -0
- package/localization/lt.xlf +271 -6
- package/localization/lv.xlf +271 -6
- package/localization/mk.xlf +290 -0
- package/localization/ml.xlf +290 -0
- package/localization/mn.xlf +290 -0
- package/localization/mr.xlf +290 -0
- package/localization/ms.xlf +290 -0
- package/localization/mt.xlf +290 -0
- package/localization/my.xlf +290 -0
- package/localization/nb.xlf +271 -6
- package/localization/ne.xlf +290 -0
- package/localization/nl.xlf +271 -6
- package/localization/nn.xlf +290 -0
- package/localization/no.xlf +295 -0
- package/localization/or.xlf +290 -0
- package/localization/pa.xlf +290 -0
- package/localization/pl.xlf +271 -6
- package/localization/pt-BR.xlf +271 -6
- package/localization/pt-PT.xlf +271 -6
- package/localization/pt.xlf +295 -0
- package/localization/ro.xlf +271 -6
- package/localization/ru.xlf +271 -6
- package/localization/si.xlf +290 -0
- package/localization/sk.xlf +271 -6
- package/localization/sl.xlf +271 -6
- package/localization/so.xlf +290 -0
- package/localization/sq.xlf +290 -0
- package/localization/sr.xlf +290 -0
- package/localization/sv.xlf +271 -6
- package/localization/sw.xlf +290 -0
- package/localization/ta.xlf +290 -0
- package/localization/te.xlf +290 -0
- package/localization/tg.xlf +290 -0
- package/localization/th.xlf +290 -0
- package/localization/tl.xlf +290 -0
- package/localization/tr.xlf +271 -6
- package/localization/uk.xlf +271 -6
- package/localization/ur.xlf +290 -0
- package/localization/uz.xlf +290 -0
- package/localization/vi.xlf +290 -0
- package/localization/zh-Hans.xlf +295 -0
- package/localization/zh-Hant.xlf +295 -0
- package/localization/zh.xlf +295 -0
- package/package.json +194 -86
- package/src/components/geogebra-app.styles.ts +47 -0
- package/{components → src/components}/geogebra-app.ts +237 -332
- package/src/model/geogebra-api.ts +148 -0
- package/src/model/geogebra-options.ts +72 -0
- package/src/model/geogebra-parameters.ts +53 -0
- package/src/model/ggb-file.ts +30 -0
- package/src/types.d.ts +3 -0
- package/{widgets → src/widgets}/webwriter-geogebra-3d.ts +1 -1
- package/{widgets → src/widgets}/webwriter-geogebra.ts +1 -2
- package/tests/conversions.test.ts +80 -0
- package/tests/data-block.test.ts +72 -0
- package/tests/helpers.ts +48 -0
- package/tests/language.test.ts +49 -0
- package/tests/presentation.test.ts +114 -0
- package/tsconfig.json +3 -7
- package/assets/icons/file-earmark-arrow-up.svg +0 -4
- package/components/geogebra-app.styles.ts +0 -10
- package/components/geogebra-options.styles.ts +0 -37
- package/components/geogebra-options.ts +0 -187
- package/custom.d.ts +0 -180
- package/dist/widgets/webwriter-geogebra-3d.css +0 -444
- package/dist/widgets/webwriter-geogebra-classic.css +0 -444
- package/dist/widgets/webwriter-geogebra-geometry.css +0 -444
- package/dist/widgets/webwriter-geogebra-notes.css +0 -444
- package/dist/widgets/webwriter-geogebra-scientific.css +0 -444
- package/dist/widgets/webwriter-geogebra.css +0 -444
- package/localization/generated/locale-codes.js +0 -83
- package/localization/generated/zh-hans.ts +0 -20
- package/localization/generated/zh-hant.ts +0 -20
- package/localization/zh-hans.xlf +0 -30
- package/localization/zh-hant.xlf +0 -30
- package/widgets/webwriter-geogebra-evaluator.ts +0 -15
- /package/.github/workflows/{main.yml → publish.yml} +0 -0
- /package/localization/pkg/{zh-hans.xliff → zh-Hans.xliff} +0 -0
- /package/localization/pkg/{zh-hant.xliff → zh-Hant.xliff} +0 -0
- /package/localization/snippets/{zh-hans.xliff → zh-Hans.xliff} +0 -0
- /package/localization/snippets/{zh-hant.xliff → zh-Hant.xliff} +0 -0
- /package/{utils → src/model}/boolean-attribute-converter.ts +0 -0
- /package/{widgets → src/widgets}/webwriter-geogebra-classic.ts +0 -0
- /package/{widgets → src/widgets}/webwriter-geogebra-geometry.ts +0 -0
- /package/{widgets → src/widgets}/webwriter-geogebra-notes.ts +0 -0
- /package/{widgets → src/widgets}/webwriter-geogebra-scientific.ts +0 -0
package/package.json
CHANGED
|
@@ -1,140 +1,199 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webwriter/geogebra",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Use the mathematics learning apps of GeoGebra for algebra and geometry.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webwriter-widget",
|
|
7
|
-
"widget-
|
|
8
|
-
"
|
|
7
|
+
"widget-simulational",
|
|
8
|
+
"iscedf2013-0541",
|
|
9
9
|
"widget-online",
|
|
10
|
+
"isced2011-2",
|
|
11
|
+
"isced2011-3",
|
|
12
|
+
"isced2011-4",
|
|
13
|
+
"isced2011-5",
|
|
14
|
+
"isced2011-6",
|
|
15
|
+
"isced2011-7",
|
|
16
|
+
"isced2011-8",
|
|
17
|
+
"widget-allows-pointer-input",
|
|
18
|
+
"widget-allows-keyboard-input",
|
|
19
|
+
"widget-allows-touch-input",
|
|
20
|
+
"widget-responsive",
|
|
21
|
+
"widget-themeable",
|
|
22
|
+
"widget-printable",
|
|
23
|
+
"widget-stateful",
|
|
24
|
+
"widget-configurable",
|
|
25
|
+
"widget-testable",
|
|
26
|
+
"algebra",
|
|
27
|
+
"geometry",
|
|
28
|
+
"spreadsheet",
|
|
29
|
+
"graph",
|
|
30
|
+
"widget-convertible-from-.ggb",
|
|
31
|
+
"widget-convertible-to-.ggb",
|
|
32
|
+
"widget-convertible-to-image/png",
|
|
33
|
+
"widget-convertible-to-image/svg+xml",
|
|
34
|
+
"widget-supports-shared-dependencies",
|
|
35
|
+
"widget-editable",
|
|
10
36
|
"widget-lang-en",
|
|
11
|
-
"widget-lang-
|
|
12
|
-
"widget-lang-
|
|
13
|
-
"widget-lang-
|
|
37
|
+
"widget-lang-en-US",
|
|
38
|
+
"widget-lang-en-GB",
|
|
39
|
+
"widget-lang-en-CA",
|
|
40
|
+
"widget-lang-en-AU",
|
|
41
|
+
"widget-lang-en-IN",
|
|
14
42
|
"widget-lang-ar",
|
|
15
|
-
"widget-lang-az",
|
|
16
43
|
"widget-lang-bg",
|
|
17
|
-
"widget-lang-
|
|
18
|
-
"widget-lang-
|
|
19
|
-
"widget-lang-
|
|
44
|
+
"widget-lang-zh",
|
|
45
|
+
"widget-lang-zh-Hans",
|
|
46
|
+
"widget-lang-zh-Hant",
|
|
47
|
+
"widget-lang-hr",
|
|
20
48
|
"widget-lang-cs",
|
|
21
|
-
"widget-lang-cy",
|
|
22
49
|
"widget-lang-da",
|
|
23
|
-
"widget-lang-
|
|
24
|
-
"widget-lang-eo",
|
|
25
|
-
"widget-lang-es",
|
|
50
|
+
"widget-lang-nl",
|
|
26
51
|
"widget-lang-et",
|
|
27
|
-
"widget-lang-eu",
|
|
28
|
-
"widget-lang-fa",
|
|
29
52
|
"widget-lang-fi",
|
|
30
|
-
"widget-lang-fil",
|
|
31
53
|
"widget-lang-fr",
|
|
32
|
-
"widget-lang-
|
|
33
|
-
"widget-lang-
|
|
34
|
-
"widget-lang-
|
|
35
|
-
"widget-lang-
|
|
54
|
+
"widget-lang-de",
|
|
55
|
+
"widget-lang-de-AT",
|
|
56
|
+
"widget-lang-de-CH",
|
|
57
|
+
"widget-lang-el",
|
|
36
58
|
"widget-lang-hu",
|
|
37
|
-
"widget-lang-
|
|
38
|
-
"widget-lang-id",
|
|
39
|
-
"widget-lang-is",
|
|
59
|
+
"widget-lang-ga",
|
|
40
60
|
"widget-lang-it",
|
|
41
|
-
"widget-lang-ja",
|
|
42
|
-
"widget-lang-ka",
|
|
43
|
-
"widget-lang-kk",
|
|
44
|
-
"widget-lang-km",
|
|
45
|
-
"widget-lang-kn",
|
|
46
|
-
"widget-lang-ko",
|
|
47
|
-
"widget-lang-lt",
|
|
48
61
|
"widget-lang-lv",
|
|
49
|
-
"widget-lang-
|
|
50
|
-
"widget-lang-
|
|
51
|
-
"widget-lang-mn",
|
|
52
|
-
"widget-lang-mr",
|
|
53
|
-
"widget-lang-ms",
|
|
54
|
-
"widget-lang-nb",
|
|
55
|
-
"widget-lang-ne",
|
|
56
|
-
"widget-lang-nl",
|
|
57
|
-
"widget-lang-nn",
|
|
62
|
+
"widget-lang-lt",
|
|
63
|
+
"widget-lang-mt",
|
|
58
64
|
"widget-lang-pl",
|
|
59
65
|
"widget-lang-pt",
|
|
66
|
+
"widget-lang-pt-PT",
|
|
67
|
+
"widget-lang-pt-BR",
|
|
60
68
|
"widget-lang-ro",
|
|
61
69
|
"widget-lang-ru",
|
|
62
|
-
"widget-lang-si",
|
|
63
70
|
"widget-lang-sk",
|
|
64
71
|
"widget-lang-sl",
|
|
72
|
+
"widget-lang-es",
|
|
73
|
+
"widget-lang-sv",
|
|
65
74
|
"widget-lang-sq",
|
|
75
|
+
"widget-lang-eu",
|
|
76
|
+
"widget-lang-bn",
|
|
77
|
+
"widget-lang-bs",
|
|
78
|
+
"widget-lang-cnr",
|
|
79
|
+
"widget-lang-ca",
|
|
80
|
+
"widget-lang-ca-valencia",
|
|
81
|
+
"widget-lang-ca-balear",
|
|
82
|
+
"widget-lang-gl",
|
|
83
|
+
"widget-lang-gu",
|
|
84
|
+
"widget-lang-hi",
|
|
85
|
+
"widget-lang-is",
|
|
86
|
+
"widget-lang-ja",
|
|
87
|
+
"widget-lang-kn",
|
|
88
|
+
"widget-lang-ko",
|
|
89
|
+
"widget-lang-lb",
|
|
90
|
+
"widget-lang-mk",
|
|
91
|
+
"widget-lang-mr",
|
|
92
|
+
"widget-lang-ne",
|
|
93
|
+
"widget-lang-no",
|
|
94
|
+
"widget-lang-nb",
|
|
95
|
+
"widget-lang-nn",
|
|
96
|
+
"widget-lang-or",
|
|
97
|
+
"widget-lang-fa",
|
|
98
|
+
"widget-lang-pa",
|
|
66
99
|
"widget-lang-sr",
|
|
67
|
-
"widget-lang-
|
|
68
|
-
"widget-lang-
|
|
69
|
-
"widget-lang-tg",
|
|
70
|
-
"widget-lang-th",
|
|
100
|
+
"widget-lang-si",
|
|
101
|
+
"widget-lang-te",
|
|
71
102
|
"widget-lang-tr",
|
|
72
|
-
"widget-lang-ug",
|
|
73
103
|
"widget-lang-uk",
|
|
74
|
-
"widget-lang-
|
|
104
|
+
"widget-lang-ur",
|
|
105
|
+
"widget-lang-cy",
|
|
106
|
+
"widget-lang-ta",
|
|
107
|
+
"widget-lang-ml",
|
|
108
|
+
"widget-lang-jv",
|
|
109
|
+
"widget-lang-id",
|
|
110
|
+
"widget-lang-ms",
|
|
111
|
+
"widget-lang-tl",
|
|
112
|
+
"widget-lang-my",
|
|
113
|
+
"widget-lang-th",
|
|
75
114
|
"widget-lang-vi",
|
|
76
|
-
"widget-lang-
|
|
77
|
-
"widget-lang-
|
|
78
|
-
"widget-lang-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"widget-lang-
|
|
93
|
-
"widget-lang-pt-BR",
|
|
94
|
-
"widget-lang-zh-hans",
|
|
95
|
-
"widget-lang-zh-hant"
|
|
115
|
+
"widget-lang-km",
|
|
116
|
+
"widget-lang-kk",
|
|
117
|
+
"widget-lang-ky",
|
|
118
|
+
"widget-lang-mn",
|
|
119
|
+
"widget-lang-uz",
|
|
120
|
+
"widget-lang-tg",
|
|
121
|
+
"widget-lang-ka",
|
|
122
|
+
"widget-lang-hy",
|
|
123
|
+
"widget-lang-he",
|
|
124
|
+
"widget-lang-az",
|
|
125
|
+
"widget-lang-be",
|
|
126
|
+
"widget-lang-la",
|
|
127
|
+
"widget-lang-am",
|
|
128
|
+
"widget-lang-so",
|
|
129
|
+
"widget-lang-sw",
|
|
130
|
+
"widget-lang-ha",
|
|
131
|
+
"widget-lang-af"
|
|
96
132
|
],
|
|
97
133
|
"license": "MIT",
|
|
98
134
|
"author": "Frederic Salmen <frederic@fsalmen.de>",
|
|
99
135
|
"scripts": {
|
|
100
|
-
"prepublishOnly": "npx @webwriter/build",
|
|
101
|
-
"dev": "npx @webwriter/build dev",
|
|
136
|
+
"prepublishOnly": "npx @webwriter/build --shared-dependencies",
|
|
137
|
+
"dev": "npx @webwriter/build dev --shared-dependencies",
|
|
102
138
|
"localize": "lit-localize extract && npx @webwriter/build localize && lit-localize build"
|
|
103
139
|
},
|
|
104
140
|
"dependencies": {
|
|
105
141
|
"@lit/localize": "^0.12.2",
|
|
106
142
|
"@shoelace-style/shoelace": "^2.20.1",
|
|
107
|
-
"@webwriter/lit": "^
|
|
108
|
-
"
|
|
143
|
+
"@webwriter/lit": "^3.4.0",
|
|
144
|
+
"@webwriter/widget": "^1.6.0",
|
|
145
|
+
"lit": "^3.3.3"
|
|
109
146
|
},
|
|
110
147
|
"devDependencies": {
|
|
111
|
-
"@lit/localize-tools": "^0.8"
|
|
148
|
+
"@lit/localize-tools": "^0.8.2",
|
|
149
|
+
"@types/chai": "^5.2.3",
|
|
150
|
+
"@types/mocha": "^10.0.10",
|
|
151
|
+
"@webwriter/build": "^1.15.0",
|
|
152
|
+
"chai": "^6.3.0",
|
|
153
|
+
"mocha": "^12.0.3",
|
|
154
|
+
"typescript": "^7.0.2"
|
|
112
155
|
},
|
|
113
156
|
"exports": {
|
|
114
157
|
"./widgets/webwriter-geogebra.*": {
|
|
115
|
-
"source": "./widgets/webwriter-geogebra.ts",
|
|
158
|
+
"source": "./src/widgets/webwriter-geogebra.ts",
|
|
116
159
|
"default": "./dist/widgets/webwriter-geogebra.*"
|
|
117
160
|
},
|
|
118
161
|
"./widgets/webwriter-geogebra-geometry.*": {
|
|
119
|
-
"source": "./widgets/webwriter-geogebra-geometry.ts",
|
|
162
|
+
"source": "./src/widgets/webwriter-geogebra-geometry.ts",
|
|
120
163
|
"default": "./dist/widgets/webwriter-geogebra-geometry.*"
|
|
121
164
|
},
|
|
122
165
|
"./widgets/webwriter-geogebra-3d.*": {
|
|
123
|
-
"source": "./widgets/webwriter-geogebra-3d.ts",
|
|
166
|
+
"source": "./src/widgets/webwriter-geogebra-3d.ts",
|
|
124
167
|
"default": "./dist/widgets/webwriter-geogebra-3d.*"
|
|
125
168
|
},
|
|
126
169
|
"./widgets/webwriter-geogebra-notes.*": {
|
|
127
|
-
"source": "./widgets/webwriter-geogebra-notes.ts",
|
|
170
|
+
"source": "./src/widgets/webwriter-geogebra-notes.ts",
|
|
128
171
|
"default": "./dist/widgets/webwriter-geogebra-notes.*"
|
|
129
172
|
},
|
|
130
173
|
"./widgets/webwriter-geogebra-scientific.*": {
|
|
131
|
-
"source": "./widgets/webwriter-geogebra-scientific.ts",
|
|
174
|
+
"source": "./src/widgets/webwriter-geogebra-scientific.ts",
|
|
132
175
|
"default": "./dist/widgets/webwriter-geogebra-scientific.*"
|
|
133
176
|
},
|
|
134
177
|
"./widgets/webwriter-geogebra-classic.*": {
|
|
135
|
-
"source": "./widgets/webwriter-geogebra-classic.ts",
|
|
178
|
+
"source": "./src/widgets/webwriter-geogebra-classic.ts",
|
|
136
179
|
"default": "./dist/widgets/webwriter-geogebra-classic.*"
|
|
137
180
|
},
|
|
181
|
+
"./tests/data-block.*": {
|
|
182
|
+
"source": "./tests/data-block.test.ts",
|
|
183
|
+
"default": "./dist/tests/data-block.*"
|
|
184
|
+
},
|
|
185
|
+
"./tests/language.*": {
|
|
186
|
+
"source": "./tests/language.test.ts",
|
|
187
|
+
"default": "./dist/tests/language.*"
|
|
188
|
+
},
|
|
189
|
+
"./tests/presentation.*": {
|
|
190
|
+
"source": "./tests/presentation.test.ts",
|
|
191
|
+
"default": "./dist/tests/presentation.*"
|
|
192
|
+
},
|
|
193
|
+
"./tests/conversions.*": {
|
|
194
|
+
"source": "./tests/conversions.test.ts",
|
|
195
|
+
"default": "./dist/tests/conversions.*"
|
|
196
|
+
},
|
|
138
197
|
"./icon": "./icon.svg",
|
|
139
198
|
"./editing-config.json": "./editing-config.json",
|
|
140
199
|
"./custom-elements.json": "./custom-elements.json"
|
|
@@ -142,23 +201,72 @@
|
|
|
142
201
|
"editingConfig": {
|
|
143
202
|
".": {},
|
|
144
203
|
"./widgets/webwriter-geogebra": {
|
|
145
|
-
"content": "text*"
|
|
204
|
+
"content": "text*",
|
|
205
|
+
"importFormats": [
|
|
206
|
+
".ggb"
|
|
207
|
+
],
|
|
208
|
+
"exportFormats": [
|
|
209
|
+
".ggb",
|
|
210
|
+
"image/png",
|
|
211
|
+
"image/svg+xml"
|
|
212
|
+
]
|
|
146
213
|
},
|
|
147
214
|
"./widgets/webwriter-geogebra-geometry": {
|
|
148
|
-
"content": "text*"
|
|
215
|
+
"content": "text*",
|
|
216
|
+
"importFormats": [
|
|
217
|
+
".ggb"
|
|
218
|
+
],
|
|
219
|
+
"exportFormats": [
|
|
220
|
+
".ggb",
|
|
221
|
+
"image/png",
|
|
222
|
+
"image/svg+xml"
|
|
223
|
+
]
|
|
149
224
|
},
|
|
150
225
|
"./widgets/webwriter-geogebra-3d": {
|
|
151
|
-
"content": "text*"
|
|
226
|
+
"content": "text*",
|
|
227
|
+
"importFormats": [
|
|
228
|
+
".ggb"
|
|
229
|
+
],
|
|
230
|
+
"exportFormats": [
|
|
231
|
+
".ggb",
|
|
232
|
+
"image/png",
|
|
233
|
+
"image/svg+xml"
|
|
234
|
+
]
|
|
152
235
|
},
|
|
153
236
|
"./widgets/webwriter-geogebra-notes": {
|
|
154
|
-
"content": "text*"
|
|
237
|
+
"content": "text*",
|
|
238
|
+
"importFormats": [
|
|
239
|
+
".ggb"
|
|
240
|
+
],
|
|
241
|
+
"exportFormats": [
|
|
242
|
+
".ggb",
|
|
243
|
+
"image/png",
|
|
244
|
+
"image/svg+xml"
|
|
245
|
+
]
|
|
155
246
|
},
|
|
156
247
|
"./widgets/webwriter-geogebra-scientific": {
|
|
157
|
-
"content": "text*"
|
|
248
|
+
"content": "text*",
|
|
249
|
+
"importFormats": [
|
|
250
|
+
".ggb"
|
|
251
|
+
],
|
|
252
|
+
"exportFormats": [
|
|
253
|
+
".ggb",
|
|
254
|
+
"image/png",
|
|
255
|
+
"image/svg+xml"
|
|
256
|
+
]
|
|
158
257
|
},
|
|
159
258
|
"./widgets/webwriter-geogebra-classic": {
|
|
160
|
-
"content": "text*"
|
|
259
|
+
"content": "text*",
|
|
260
|
+
"importFormats": [
|
|
261
|
+
".ggb"
|
|
262
|
+
],
|
|
263
|
+
"exportFormats": [
|
|
264
|
+
".ggb",
|
|
265
|
+
"image/png",
|
|
266
|
+
"image/svg+xml"
|
|
267
|
+
]
|
|
161
268
|
}
|
|
162
269
|
},
|
|
163
|
-
"customElements": "custom-elements.json"
|
|
164
|
-
|
|
270
|
+
"customElements": "custom-elements.json",
|
|
271
|
+
"repository": "https://github.com/webwriter-app/geogebra"
|
|
272
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
|
|
3
|
+
export const geogebraAppStyles = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
min-width: 300px;
|
|
8
|
+
max-width: 2100px;
|
|
9
|
+
min-height: 18rem;
|
|
10
|
+
color: var(--ww-text-color, inherit);
|
|
11
|
+
font-family: var(--ww-font-family, inherit);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
iframe {
|
|
15
|
+
display: block;
|
|
16
|
+
border: none;
|
|
17
|
+
width: 100%;
|
|
18
|
+
aspect-ratio: 16/9;
|
|
19
|
+
min-height: 18rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
iframe:focus-visible {
|
|
23
|
+
outline: 2px solid var(--ww-link-color, currentColor);
|
|
24
|
+
outline-offset: -2px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.print-note {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media print {
|
|
32
|
+
:host {
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
break-inside: avoid;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.applet:not([data-ready]) iframe {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.applet:not([data-ready]) .print-note {
|
|
42
|
+
display: block;
|
|
43
|
+
padding: 0.75rem;
|
|
44
|
+
border: 1px solid currentColor;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`
|