@sealcode/jdd 0.4.23 → 0.4.26
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/lib/component-arguments/image.js +1 -1
- package/lib/component-arguments/image.js.map +1 -1
- package/package.json +1 -1
- package/resources/horizontal.png +0 -0
- package/resources/source.svg +153 -0
- package/resources/square.png +0 -0
- package/resources/vertical.png +0 -0
- package/resources/image1.jpg +0 -0
- package/resources/image3.jpg +0 -0
- package/resources/image4.jpg +0 -0
- package/resources/image5.jpg +0 -0
|
@@ -2,7 +2,7 @@ import { File as FileArgument } from "./file.js";
|
|
|
2
2
|
import _locreq from "locreq";
|
|
3
3
|
import { module_dirname } from "../utils/module-dirname.js";
|
|
4
4
|
const locreq = _locreq(module_dirname(import.meta.url));
|
|
5
|
-
const default_example_images = Object.fromEntries(["
|
|
5
|
+
const default_example_images = Object.fromEntries(["square.png", "horizontal.png", "vertical.png"].map((key) => [
|
|
6
6
|
locreq.resolve(`resources/${key}`),
|
|
7
7
|
null,
|
|
8
8
|
]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../src/component-arguments/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AAGjD,OAAO,OAAO,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,MAAM,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAExD,MAAM,sBAAsB,GAC3B,MAAM,CAAC,WAAW,CACjB,CAAC,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../src/component-arguments/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AAGjD,OAAO,OAAO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I,CAAC,KAAK,CAAC,CAAC;SACvB;QACD,OAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;CACD"}
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="20mm"
|
|
6
|
+
height="10mm"
|
|
7
|
+
viewBox="0 0 20 10"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg1"
|
|
10
|
+
inkscape:export-filename="horizontal.png"
|
|
11
|
+
inkscape:export-xdpi="1016"
|
|
12
|
+
inkscape:export-ydpi="1016"
|
|
13
|
+
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
|
|
14
|
+
sodipodi:docname="horizontal.svg"
|
|
15
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
16
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
17
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
18
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
id="namedview1"
|
|
21
|
+
pagecolor="#ffffff"
|
|
22
|
+
bordercolor="#000000"
|
|
23
|
+
borderopacity="0.25"
|
|
24
|
+
inkscape:showpageshadow="2"
|
|
25
|
+
inkscape:pageopacity="0.0"
|
|
26
|
+
inkscape:pagecheckerboard="0"
|
|
27
|
+
inkscape:deskcolor="#d1d1d1"
|
|
28
|
+
inkscape:document-units="mm"
|
|
29
|
+
showguides="true"
|
|
30
|
+
inkscape:zoom="3.5532641"
|
|
31
|
+
inkscape:cx="104.41104"
|
|
32
|
+
inkscape:cy="43.481147"
|
|
33
|
+
inkscape:window-width="1536"
|
|
34
|
+
inkscape:window-height="928"
|
|
35
|
+
inkscape:window-x="0"
|
|
36
|
+
inkscape:window-y="0"
|
|
37
|
+
inkscape:window-maximized="1"
|
|
38
|
+
inkscape:current-layer="layer1">
|
|
39
|
+
<inkscape:page
|
|
40
|
+
x="0"
|
|
41
|
+
y="0"
|
|
42
|
+
width="20"
|
|
43
|
+
height="10"
|
|
44
|
+
id="page1"
|
|
45
|
+
margin="0"
|
|
46
|
+
bleed="0" />
|
|
47
|
+
<inkscape:page
|
|
48
|
+
x="22.5403"
|
|
49
|
+
y="0.16855568"
|
|
50
|
+
width="10"
|
|
51
|
+
height="20"
|
|
52
|
+
id="page2"
|
|
53
|
+
margin="0"
|
|
54
|
+
bleed="0" />
|
|
55
|
+
<inkscape:page
|
|
56
|
+
x="36.702106"
|
|
57
|
+
y="5.0919685"
|
|
58
|
+
width="10"
|
|
59
|
+
height="10"
|
|
60
|
+
id="page3"
|
|
61
|
+
margin="0"
|
|
62
|
+
bleed="0"
|
|
63
|
+
inkscape:export-filename="./square.png"
|
|
64
|
+
inkscape:export-xdpi="1016"
|
|
65
|
+
inkscape:export-ydpi="1016" />
|
|
66
|
+
</sodipodi:namedview>
|
|
67
|
+
<defs
|
|
68
|
+
id="defs1" />
|
|
69
|
+
<g
|
|
70
|
+
inkscape:label="Layer 1"
|
|
71
|
+
inkscape:groupmode="layer"
|
|
72
|
+
id="layer1"
|
|
73
|
+
transform="translate(-64.455055,-104.10831)">
|
|
74
|
+
<rect
|
|
75
|
+
style="fill:#bdbdbd;fill-opacity:1;stroke-width:0.173438"
|
|
76
|
+
id="rect1"
|
|
77
|
+
width="10"
|
|
78
|
+
height="20"
|
|
79
|
+
x="104.10831"
|
|
80
|
+
y="-84.455055"
|
|
81
|
+
transform="rotate(90)"
|
|
82
|
+
inkscape:export-filename="horizontal.png"
|
|
83
|
+
inkscape:export-xdpi="508"
|
|
84
|
+
inkscape:export-ydpi="508" />
|
|
85
|
+
<circle
|
|
86
|
+
style="fill:#575757;fill-opacity:1;stroke-width:0.264583"
|
|
87
|
+
id="path1"
|
|
88
|
+
cx="109.10831"
|
|
89
|
+
cy="-74.455063"
|
|
90
|
+
r="4.6855912"
|
|
91
|
+
transform="rotate(90)" />
|
|
92
|
+
<path
|
|
93
|
+
style="fill:none;fill-opacity:1;stroke:#c7c7c7;stroke-width:0.358835;stroke-opacity:1"
|
|
94
|
+
d="M 84.958678,109.10832 H 63.932893"
|
|
95
|
+
id="path2" />
|
|
96
|
+
<rect
|
|
97
|
+
style="fill:#bdbdbd;fill-opacity:1;stroke-width:0.173438"
|
|
98
|
+
id="rect1-5"
|
|
99
|
+
width="10"
|
|
100
|
+
height="20"
|
|
101
|
+
x="-96.995354"
|
|
102
|
+
y="-124.27686"
|
|
103
|
+
transform="scale(-1)"
|
|
104
|
+
inkscape:export-filename="horizontal.png"
|
|
105
|
+
inkscape:export-xdpi="508"
|
|
106
|
+
inkscape:export-ydpi="508" />
|
|
107
|
+
<circle
|
|
108
|
+
style="fill:#575757;fill-opacity:1;stroke-width:0.264583"
|
|
109
|
+
id="path1-3"
|
|
110
|
+
cx="-91.995354"
|
|
111
|
+
cy="-114.27686"
|
|
112
|
+
r="4.6855912"
|
|
113
|
+
transform="scale(-1)" />
|
|
114
|
+
<path
|
|
115
|
+
style="fill:none;fill-opacity:1;stroke:#c7c7c7;stroke-width:0.358835;stroke-opacity:1"
|
|
116
|
+
d="M 91.995356,124.78976 V 103.76398"
|
|
117
|
+
id="path2-56" />
|
|
118
|
+
<path
|
|
119
|
+
style="fill:none;fill-opacity:1;stroke:#c7c7c7;stroke-width:0.274447;stroke-opacity:1"
|
|
120
|
+
d="M 98.145015,114.27687 H 85.845698"
|
|
121
|
+
id="path2-2" />
|
|
122
|
+
<path
|
|
123
|
+
style="fill:none;fill-opacity:1;stroke:#c7c7c7;stroke-width:0.361945;stroke-opacity:1"
|
|
124
|
+
d="M 74.455063,119.80423 V 98.412406"
|
|
125
|
+
id="path2-5" />
|
|
126
|
+
<rect
|
|
127
|
+
style="fill:#bdbdbd;fill-opacity:1;stroke-width:0.173438"
|
|
128
|
+
id="rect1-5-3"
|
|
129
|
+
width="10"
|
|
130
|
+
height="20"
|
|
131
|
+
x="-111.15717"
|
|
132
|
+
y="-124.20028"
|
|
133
|
+
transform="scale(-1)"
|
|
134
|
+
inkscape:export-filename="horizontal.png"
|
|
135
|
+
inkscape:export-xdpi="508"
|
|
136
|
+
inkscape:export-ydpi="508" />
|
|
137
|
+
<circle
|
|
138
|
+
style="fill:#575757;fill-opacity:1;stroke-width:0.264583"
|
|
139
|
+
id="path1-3-7"
|
|
140
|
+
cx="-106.15717"
|
|
141
|
+
cy="-114.20028"
|
|
142
|
+
r="4.6855912"
|
|
143
|
+
transform="scale(-1)" />
|
|
144
|
+
<path
|
|
145
|
+
style="fill:none;fill-opacity:1;stroke:#c7c7c7;stroke-width:0.358835;stroke-opacity:1"
|
|
146
|
+
d="M 106.15716,124.71317 V 103.68739"
|
|
147
|
+
id="path2-56-5" />
|
|
148
|
+
<path
|
|
149
|
+
style="fill:none;fill-opacity:1;stroke:#c7c7c7;stroke-width:0.274447;stroke-opacity:1"
|
|
150
|
+
d="M 112.30682,114.20028 H 100.0075"
|
|
151
|
+
id="path2-2-9" />
|
|
152
|
+
</g>
|
|
153
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
package/resources/image1.jpg
DELETED
|
Binary file
|
package/resources/image3.jpg
DELETED
|
Binary file
|
package/resources/image4.jpg
DELETED
|
Binary file
|
package/resources/image5.jpg
DELETED
|
Binary file
|