dothtml 5.2.1 → 5.2.3
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/dothtml.js +1 -1
- package/package.json +2 -1
- package/.vscode/launch.json +0 -34
- package/.vscode/settings.json +0 -6
- package/azure-pipelines.yml +0 -14
- package/babel.config.js +0 -1
- package/jest.config.ts +0 -207
- package/lib/arg-callback-obj.d.ts +0 -29
- package/lib/built-in-components/nav-link.d.ts +0 -8
- package/lib/built-in-components/router.d.ts +0 -57
- package/lib/component.d.ts +0 -82
- package/lib/dot-util.d.ts +0 -26
- package/lib/dot.d.ts +0 -5
- package/lib/dothtml.d.ts +0 -25
- package/lib/dothtml.js.LICENSE.txt +0 -1
- package/lib/err.d.ts +0 -2
- package/lib/event-bus.d.ts +0 -10
- package/lib/i-dot.d.ts +0 -674
- package/lib/node-polyfill.d.ts +0 -2
- package/lib/observable-array.d.ts +0 -49
- package/lib/styling/css-types.ts/css-angle.d.ts +0 -7
- package/lib/styling/css-types.ts/css-color.d.ts +0 -9
- package/lib/styling/css-types.ts/css-complex.d.ts +0 -7
- package/lib/styling/css-types.ts/css-data-type.d.ts +0 -5
- package/lib/styling/css-types.ts/css-filter.d.ts +0 -22
- package/lib/styling/css-types.ts/css-length.d.ts +0 -7
- package/lib/styling/css-types.ts/css-number.d.ts +0 -6
- package/lib/styling/css-types.ts/css-percentage.d.ts +0 -5
- package/lib/styling/css-types.ts/css-transform.d.ts +0 -38
- package/lib/styling/css-types.ts/css-unknown.d.ts +0 -6
- package/lib/styling/css-types.ts/css-url.d.ts +0 -6
- package/lib/styling/i-dotcss.d.ts +0 -1069
- package/lib/styling/style-builder.d.ts +0 -24
- package/lib/styling/unit-function-tables.d.ts +0 -10
- package/out.md +0 -1340
- package/src/arg-callback-obj.ts +0 -76
- package/src/built-in-components/nav-link.ts +0 -21
- package/src/built-in-components/router.ts +0 -315
- package/src/component.ts +0 -415
- package/src/dot-util.ts +0 -69
- package/src/dot.ts +0 -1147
- package/src/dothtml.ts +0 -37
- package/src/err.ts +0 -22
- package/src/event-bus.ts +0 -39
- package/src/i-dot.ts +0 -787
- package/src/node-polyfill.ts +0 -11
- package/src/observable-array.ts +0 -289
- package/src/styling/css-types.ts/css-angle.ts +0 -18
- package/src/styling/css-types.ts/css-color.ts +0 -233
- package/src/styling/css-types.ts/css-complex.ts +0 -20
- package/src/styling/css-types.ts/css-data-type.ts +0 -9
- package/src/styling/css-types.ts/css-filter.ts +0 -134
- package/src/styling/css-types.ts/css-length.ts +0 -20
- package/src/styling/css-types.ts/css-number.ts +0 -12
- package/src/styling/css-types.ts/css-percentage.ts +0 -10
- package/src/styling/css-types.ts/css-transform.ts +0 -220
- package/src/styling/css-types.ts/css-unknown.ts +0 -13
- package/src/styling/css-types.ts/css-url.ts +0 -41
- package/src/styling/i-dotcss.ts +0 -1181
- package/src/styling/style-builder.ts +0 -966
- package/src/styling/unit-function-tables.ts +0 -24
- package/tsconfig.json +0 -99
- package/unittests/advanced-bindings.test.ts +0 -421
- package/unittests/array-evaluation.test.ts +0 -7
- package/unittests/basic-functionality.test.ts +0 -88
- package/unittests/calc.test.ts +0 -6
- package/unittests/class-binding.test.ts +0 -227
- package/unittests/components/component-decorator.-.ts +0 -14
- package/unittests/components/components-data.test.ts +0 -153
- package/unittests/components/components.test.ts +0 -258
- package/unittests/computed.test.ts +0 -35
- package/unittests/core.ts +0 -66
- package/unittests/element-and-attribute-coverage.test.ts +0 -472
- package/unittests/hooks.test.ts +0 -67
- package/unittests/immutable-if.test.ts +0 -19
- package/unittests/input-bindings.test.ts +0 -166
- package/unittests/integration.test.ts +0 -5
- package/unittests/iterations.test.ts +0 -18
- package/unittests/logic.test.ts +0 -18
- package/unittests/non-function-props-rerender.test.ts +0 -86
- package/unittests/refs.test.ts +0 -36
- package/unittests/routing.-.ts +0 -56
- package/unittests/scopes.test.ts +0 -22
- package/unittests/special-tags.test.ts +0 -39
- package/unittests/styles.test.ts +0 -9
- package/unittests/styling/animations.test.ts +0 -14
- package/unittests/styling/filters.test.ts +0 -23
- package/unittests/styling/inline-styling.test.ts +0 -18
- package/unittests/styling/pseudo-selectors.test.ts +0 -33
- package/unittests/styling/transformations.test.ts +0 -234
- package/unittests/styling/value-interpretation.test.ts +0 -3
- package/unittests/testpage.ts +0 -5
- package/unittests/wait.test.ts +0 -31
- package/webpack.config.js +0 -28
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export default function ObservableArray(items: any): void;
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
(function testing() {
|
|
5
|
-
|
|
6
|
-
var x = new ObservableArray(["a", "b", "c", "d"]);
|
|
7
|
-
|
|
8
|
-
console.log("original array: %o", x.slice());
|
|
9
|
-
|
|
10
|
-
x.addEventListener("itemadded", function(e) {
|
|
11
|
-
console.log("Added %o at index %d.", e.item, e.index);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
x.addEventListener("itemset", function(e) {
|
|
15
|
-
console.log("Set index %d to %o.", e.index, e.item);
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
x.addEventListener("itemremoved", function(e) {
|
|
19
|
-
console.log("Removed %o at index %d.", e.item, e.index);
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
console.log("popping and unshifting...");
|
|
23
|
-
x.unshift(x.pop());
|
|
24
|
-
|
|
25
|
-
console.log("updated array: %o", x.slice());
|
|
26
|
-
|
|
27
|
-
console.log("reversing array...");
|
|
28
|
-
console.log("updated array: %o", x.reverse().slice());
|
|
29
|
-
|
|
30
|
-
console.log("splicing...");
|
|
31
|
-
x.splice(1, 2, "x");
|
|
32
|
-
console.log("setting index 2...");
|
|
33
|
-
x[2] = "foo";
|
|
34
|
-
|
|
35
|
-
console.log("setting length to 10...");
|
|
36
|
-
x.length = 10;
|
|
37
|
-
console.log("updated array: %o", x.slice());
|
|
38
|
-
|
|
39
|
-
console.log("setting length to 2...");
|
|
40
|
-
x.length = 2;
|
|
41
|
-
|
|
42
|
-
console.log("extracting first element via shift()");
|
|
43
|
-
x.shift();
|
|
44
|
-
|
|
45
|
-
console.log("updated array: %o", x.slice());
|
|
46
|
-
|
|
47
|
-
})();
|
|
48
|
-
|
|
49
|
-
*/
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AngleUnits, ColorFormat, NumericLength, Percentage } from "../i-dotcss";
|
|
2
|
-
import CssDataType from "./css-data-type";
|
|
3
|
-
export default class CssFilter extends CssDataType {
|
|
4
|
-
simpleValue: string;
|
|
5
|
-
filters: Array<{
|
|
6
|
-
filter: string;
|
|
7
|
-
args: Array<any>;
|
|
8
|
-
}>;
|
|
9
|
-
constructor(value: any);
|
|
10
|
-
toString(): string;
|
|
11
|
-
private appendFilterString;
|
|
12
|
-
blur(v: NumericLength): this;
|
|
13
|
-
brightness(v: Percentage): this;
|
|
14
|
-
contrast(v: Percentage): this;
|
|
15
|
-
dropShadow(x: NumericLength, y: NumericLength, blur: NumericLength, color: ColorFormat): this;
|
|
16
|
-
grayscale(v: Percentage): this;
|
|
17
|
-
hueRotate(v: AngleUnits): this;
|
|
18
|
-
invert(v: Percentage): this;
|
|
19
|
-
opacity(v: Percentage): this;
|
|
20
|
-
sepia(v: Percentage): this;
|
|
21
|
-
saturate(v: Percentage): this;
|
|
22
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { NumericAngle, NumericLength } from "../i-dotcss";
|
|
2
|
-
import CssDataType from "./css-data-type";
|
|
3
|
-
export default class CssTransform extends CssDataType {
|
|
4
|
-
transformations: Array<{
|
|
5
|
-
transformation: string;
|
|
6
|
-
args: Array<any>;
|
|
7
|
-
}>;
|
|
8
|
-
finalMatrix: number[];
|
|
9
|
-
simpleValue: string;
|
|
10
|
-
constructor(value: any);
|
|
11
|
-
toString(): string;
|
|
12
|
-
private appendTransformString;
|
|
13
|
-
matrix3d(a1: number, b1: number, c1: number, d1: number, a2: number, b2: number, c2: number, d2: number, a3: number, b3: number, c3: number, d3: number, a4: number, b4: number, c4: number, d4: number): this;
|
|
14
|
-
matrix(a: number, b: number, c: number, d: number, tx: number, ty: number): this;
|
|
15
|
-
translate(x: NumericLength, y?: NumericLength): this;
|
|
16
|
-
translate3d(x: NumericLength, y: NumericLength, z: NumericLength): this;
|
|
17
|
-
translateX(x: NumericLength): this;
|
|
18
|
-
translateY(y: NumericLength): this;
|
|
19
|
-
translateZ(z: NumericLength): this;
|
|
20
|
-
scale(x: number, y?: number): this;
|
|
21
|
-
scale3d(x: number, y: number, z: number): this;
|
|
22
|
-
scaleX(x: number): this;
|
|
23
|
-
scaleY(y: number): this;
|
|
24
|
-
scaleZ(z: number): this;
|
|
25
|
-
rotate(x: NumericAngle): this;
|
|
26
|
-
rotate3d(x: number, y: number, z: number, a: NumericAngle): this;
|
|
27
|
-
rotate3dDeg(x: number, y: number, z: number, a: number): this;
|
|
28
|
-
rotate3dRad(x: number, y: number, z: number, a: number): this;
|
|
29
|
-
rotate3dGrad(x: number, y: number, z: number, a: number): this;
|
|
30
|
-
rotate3dTurn(x: number, y: number, z: number, a: number): this;
|
|
31
|
-
rotateX(x: NumericAngle): this;
|
|
32
|
-
rotateY(y: NumericAngle): this;
|
|
33
|
-
rotateZ(z: NumericAngle): this;
|
|
34
|
-
skew(x: NumericAngle, y?: NumericAngle): this;
|
|
35
|
-
skewX(x: NumericAngle): this;
|
|
36
|
-
skewY(y: NumericAngle): this;
|
|
37
|
-
perspective(d: NumericLength): this;
|
|
38
|
-
}
|