mol_plot_all 1.2.635 → 1.2.636
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/node.d.ts +183 -19
- package/node.deps.json +1 -1
- package/node.js +50 -2
- package/node.js.map +1 -1
- package/node.mjs +50 -2
- package/node.test.js +50 -2
- package/node.test.js.map +1 -1
- package/package.json +3 -1
- package/web.d.ts +183 -19
- package/web.deps.json +1 -1
- package/web.js +50 -2
- package/web.js.map +1 -1
- package/web.mjs +50 -2
package/web.mjs
CHANGED
|
@@ -1873,8 +1873,8 @@ var $;
|
|
|
1873
1873
|
static calc(value) {
|
|
1874
1874
|
return new $mol_style_func('calc', value);
|
|
1875
1875
|
}
|
|
1876
|
-
static vary(name) {
|
|
1877
|
-
return new $mol_style_func('var', name);
|
|
1876
|
+
static vary(name, defaultValue) {
|
|
1877
|
+
return new $mol_style_func('var', defaultValue ? [name, defaultValue] : name);
|
|
1878
1878
|
}
|
|
1879
1879
|
static url(href) {
|
|
1880
1880
|
return new $mol_style_func('url', JSON.stringify(href));
|
|
@@ -1891,15 +1891,63 @@ var $;
|
|
|
1891
1891
|
static scale(zoom) {
|
|
1892
1892
|
return new $mol_style_func('scale', [zoom]);
|
|
1893
1893
|
}
|
|
1894
|
+
static linear(...breakpoints) {
|
|
1895
|
+
return new $mol_style_func("linear", breakpoints.map((e) => Array.isArray(e)
|
|
1896
|
+
? String(e[0]) +
|
|
1897
|
+
" " +
|
|
1898
|
+
(typeof e[1] === "number" ? e[1] + "%" : e[1].toString())
|
|
1899
|
+
: String(e)));
|
|
1900
|
+
}
|
|
1894
1901
|
static cubic_bezier(x1, y1, x2, y2) {
|
|
1895
1902
|
return new $mol_style_func('cubic-bezier', [x1, y1, x2, y2]);
|
|
1896
1903
|
}
|
|
1904
|
+
static steps(value, step_position) {
|
|
1905
|
+
return new $mol_style_func('steps', [value, step_position]);
|
|
1906
|
+
}
|
|
1907
|
+
static blur(value) {
|
|
1908
|
+
return new $mol_style_func('blur', value ?? "");
|
|
1909
|
+
}
|
|
1910
|
+
static brightness(value) {
|
|
1911
|
+
return new $mol_style_func('brightness', value ?? "");
|
|
1912
|
+
}
|
|
1913
|
+
static contrast(value) {
|
|
1914
|
+
return new $mol_style_func('contrast', value ?? "");
|
|
1915
|
+
}
|
|
1916
|
+
static drop_shadow(color, x_offset, y_offset, blur_radius) {
|
|
1917
|
+
return new $mol_style_func("drop-shadow", blur_radius
|
|
1918
|
+
? [color, x_offset, y_offset, blur_radius]
|
|
1919
|
+
: [color, x_offset, y_offset]);
|
|
1920
|
+
}
|
|
1921
|
+
static grayscale(value) {
|
|
1922
|
+
return new $mol_style_func('grayscale', value ?? "");
|
|
1923
|
+
}
|
|
1924
|
+
static hue_rotate(value) {
|
|
1925
|
+
return new $mol_style_func('hue-rotate', value ?? "");
|
|
1926
|
+
}
|
|
1927
|
+
static invert(value) {
|
|
1928
|
+
return new $mol_style_func('invert', value ?? "");
|
|
1929
|
+
}
|
|
1930
|
+
static opacity(value) {
|
|
1931
|
+
return new $mol_style_func('opacity', value ?? "");
|
|
1932
|
+
}
|
|
1933
|
+
static sepia(value) {
|
|
1934
|
+
return new $mol_style_func('sepia', value ?? "");
|
|
1935
|
+
}
|
|
1936
|
+
static saturate(value) {
|
|
1937
|
+
return new $mol_style_func('saturate', value ?? "");
|
|
1938
|
+
}
|
|
1897
1939
|
}
|
|
1898
1940
|
$.$mol_style_func = $mol_style_func;
|
|
1899
1941
|
})($ || ($ = {}));
|
|
1900
1942
|
//mol/style/func/func.ts
|
|
1901
1943
|
;
|
|
1902
1944
|
"use strict";
|
|
1945
|
+
//mol/type/override/override.ts
|
|
1946
|
+
;
|
|
1947
|
+
"use strict";
|
|
1948
|
+
//mol/style/properties/properties.ts
|
|
1949
|
+
;
|
|
1950
|
+
"use strict";
|
|
1903
1951
|
var $;
|
|
1904
1952
|
(function ($) {
|
|
1905
1953
|
const { vary } = $mol_style_func;
|