dothtml 5.2.12 → 6.0.0-beta.12
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/build_module/constants.d.ts +1 -0
- package/build_module/constants.js +2 -0
- package/build_module/constants.js.map +1 -0
- package/build_module/css/css.d.ts +0 -0
- package/build_module/css/css.js +1 -0
- package/build_module/css/css.js.map +1 -0
- package/build_module/decoration/component.d.ts +14 -0
- package/build_module/decoration/component.js +43 -0
- package/build_module/decoration/component.js.map +1 -0
- package/build_module/decoration/style.d.ts +0 -0
- package/build_module/decoration/style.js +1 -0
- package/build_module/decoration/style.js.map +1 -0
- package/build_module/decoration/use-styles.d.ts +14 -0
- package/build_module/decoration/use-styles.js +19 -0
- package/build_module/decoration/use-styles.js.map +1 -0
- package/build_module/dot.d.ts +3 -0
- package/build_module/dot.js +534 -0
- package/build_module/dot.js.map +1 -0
- package/build_module/helpers/render-css.d.ts +2 -0
- package/build_module/helpers/render-css.js +19 -0
- package/build_module/helpers/render-css.js.map +1 -0
- package/build_module/helpers.d.ts +2 -0
- package/build_module/helpers.js +49 -0
- package/build_module/helpers.js.map +1 -0
- package/build_module/index.d.ts +7 -0
- package/build_module/index.js +5 -0
- package/build_module/index.js.map +1 -0
- package/build_module/reactive.d.ts +37 -0
- package/build_module/reactive.js +120 -0
- package/build_module/reactive.js.map +1 -0
- package/build_module/v-dom-node.d.ts +0 -0
- package/build_module/v-dom-node.js +1 -0
- package/build_module/v-dom-node.js.map +1 -0
- package/build_module/vdom-nodes/collection-vdom.d.ts +24 -0
- package/build_module/vdom-nodes/collection-vdom.js +154 -0
- package/build_module/vdom-nodes/collection-vdom.js.map +1 -0
- package/build_module/vdom-nodes/component-vdom.d.ts +14 -0
- package/build_module/vdom-nodes/component-vdom.js +62 -0
- package/build_module/vdom-nodes/component-vdom.js.map +1 -0
- package/build_module/vdom-nodes/conditional-vdom.d.ts +14 -0
- package/build_module/vdom-nodes/conditional-vdom.js +97 -0
- package/build_module/vdom-nodes/conditional-vdom.js.map +1 -0
- package/build_module/vdom-nodes/container-vdom.d.ts +23 -0
- package/build_module/vdom-nodes/container-vdom.js +85 -0
- package/build_module/vdom-nodes/container-vdom.js.map +1 -0
- package/build_module/vdom-nodes/element-vdom.d.ts +18 -0
- package/build_module/vdom-nodes/element-vdom.js +88 -0
- package/build_module/vdom-nodes/element-vdom.js.map +1 -0
- package/build_module/vdom-nodes/html-vdom.d.ts +13 -0
- package/build_module/vdom-nodes/html-vdom.js +53 -0
- package/build_module/vdom-nodes/html-vdom.js.map +1 -0
- package/build_module/vdom-nodes/text-vdom.d.ts +11 -0
- package/build_module/vdom-nodes/text-vdom.js +37 -0
- package/build_module/vdom-nodes/text-vdom.js.map +1 -0
- package/build_module/vdom-nodes/vdom.d.ts +7 -0
- package/build_module/vdom-nodes/vdom.js +28 -0
- package/build_module/vdom-nodes/vdom.js.map +1 -0
- package/package.json +26 -19
- package/lib/arg-callback-obj.d.ts +0 -29
- package/lib/arg-callback-obj.js +0 -64
- package/lib/arg-callback-obj.js.map +0 -1
- package/lib/built-in-components/nav-link.d.ts +0 -8
- package/lib/built-in-components/nav-link.js +0 -24
- package/lib/built-in-components/nav-link.js.map +0 -1
- package/lib/built-in-components/router.d.ts +0 -57
- package/lib/built-in-components/router.js +0 -282
- package/lib/built-in-components/router.js.map +0 -1
- package/lib/component.d.ts +0 -93
- package/lib/component.js +0 -354
- package/lib/component.js.map +0 -1
- package/lib/dot-util.d.ts +0 -26
- package/lib/dot-util.js +0 -62
- package/lib/dot-util.js.map +0 -1
- package/lib/dot.d.ts +0 -5
- package/lib/dot.js +0 -1129
- package/lib/dot.js.map +0 -1
- package/lib/dothtml.d.ts +0 -29
- package/lib/dothtml.js +0 -15
- package/lib/dothtml.js.map +0 -1
- package/lib/err.d.ts +0 -2
- package/lib/err.js +0 -26
- package/lib/err.js.map +0 -1
- package/lib/event-bus.d.ts +0 -10
- package/lib/event-bus.js +0 -37
- package/lib/event-bus.js.map +0 -1
- package/lib/i-dot.d.ts +0 -689
- package/lib/i-dot.js +0 -3
- package/lib/i-dot.js.map +0 -1
- package/lib/node-polyfill.d.ts +0 -2
- package/lib/node-polyfill.js +0 -14
- package/lib/node-polyfill.js.map +0 -1
- package/lib/observable-array.d.ts +0 -49
- package/lib/observable-array.js +0 -274
- package/lib/observable-array.js.map +0 -1
- package/lib/pages/home-page.d.ts +0 -9
- package/lib/pages/home-page.js +0 -24
- package/lib/pages/home-page.js.map +0 -1
- package/lib/styling/css-types.ts/css-angle.d.ts +0 -7
- package/lib/styling/css-types.ts/css-angle.js +0 -22
- package/lib/styling/css-types.ts/css-angle.js.map +0 -1
- package/lib/styling/css-types.ts/css-color.d.ts +0 -9
- package/lib/styling/css-types.ts/css-color.js +0 -824
- package/lib/styling/css-types.ts/css-color.js.map +0 -1
- package/lib/styling/css-types.ts/css-complex.d.ts +0 -7
- package/lib/styling/css-types.ts/css-complex.js +0 -23
- package/lib/styling/css-types.ts/css-complex.js.map +0 -1
- package/lib/styling/css-types.ts/css-data-type.d.ts +0 -5
- package/lib/styling/css-types.ts/css-data-type.js +0 -9
- package/lib/styling/css-types.ts/css-data-type.js.map +0 -1
- package/lib/styling/css-types.ts/css-filter.d.ts +0 -22
- package/lib/styling/css-types.ts/css-filter.js +0 -121
- package/lib/styling/css-types.ts/css-filter.js.map +0 -1
- package/lib/styling/css-types.ts/css-length.d.ts +0 -7
- package/lib/styling/css-types.ts/css-length.js +0 -24
- package/lib/styling/css-types.ts/css-length.js.map +0 -1
- package/lib/styling/css-types.ts/css-number.d.ts +0 -6
- package/lib/styling/css-types.ts/css-number.js +0 -17
- package/lib/styling/css-types.ts/css-number.js.map +0 -1
- package/lib/styling/css-types.ts/css-percentage.d.ts +0 -5
- package/lib/styling/css-types.ts/css-percentage.js +0 -13
- package/lib/styling/css-types.ts/css-percentage.js.map +0 -1
- package/lib/styling/css-types.ts/css-transform.d.ts +0 -38
- package/lib/styling/css-types.ts/css-transform.js +0 -183
- package/lib/styling/css-types.ts/css-transform.js.map +0 -1
- package/lib/styling/css-types.ts/css-unknown.d.ts +0 -6
- package/lib/styling/css-types.ts/css-unknown.js +0 -17
- package/lib/styling/css-types.ts/css-unknown.js.map +0 -1
- package/lib/styling/css-types.ts/css-url.d.ts +0 -6
- package/lib/styling/css-types.ts/css-url.js +0 -45
- package/lib/styling/css-types.ts/css-url.js.map +0 -1
- package/lib/styling/i-dotcss.d.ts +0 -1085
- package/lib/styling/i-dotcss.js +0 -3
- package/lib/styling/i-dotcss.js.map +0 -1
- package/lib/styling/style-builder.d.ts +0 -24
- package/lib/styling/style-builder.js +0 -815
- package/lib/styling/style-builder.js.map +0 -1
- package/lib/styling/unit-function-tables.d.ts +0 -10
- package/lib/styling/unit-function-tables.js +0 -27
- package/lib/styling/unit-function-tables.js.map +0 -1
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const css_data_type_1 = __importDefault(require("./css-data-type"));
|
|
7
|
-
class CssUrl extends css_data_type_1.default {
|
|
8
|
-
constructor(value) {
|
|
9
|
-
super("url");
|
|
10
|
-
this.url = null;
|
|
11
|
-
if (!value || value.length == 0 || (value.length == 1 && value[0] == "" || value[0] == "none" || value[0] == "initial" || value[0] == "inherit")) {
|
|
12
|
-
this.url = null;
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
this.url = [];
|
|
16
|
-
for (var i = 0; i < value.length; i++) {
|
|
17
|
-
var currentURL = "";
|
|
18
|
-
if (value[i].toLowerCase().indexOf("url") === 0) {
|
|
19
|
-
var url = value[i].substring(value[i].indexOf("("), value[i].lastIndexOf(")")).trim();
|
|
20
|
-
if ((url.indexOf("\"") && url.lastIndexOf("\"") == url.length - 1) ||
|
|
21
|
-
(url.indexOf("'") && url.lastIndexOf("'") == url.length - 1)) {
|
|
22
|
-
url = url.substring(1, url.length - 1);
|
|
23
|
-
}
|
|
24
|
-
this.url.push(url);
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
this.url.push(value[i]);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
toString() {
|
|
33
|
-
if (!this.url)
|
|
34
|
-
return "none";
|
|
35
|
-
else {
|
|
36
|
-
var ret = [];
|
|
37
|
-
for (var i = 0; i < this.url.length; i++) {
|
|
38
|
-
ret.push("url(\"" + this.url[i] + "\")");
|
|
39
|
-
}
|
|
40
|
-
return ret.join(", ");
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.default = CssUrl;
|
|
45
|
-
//# sourceMappingURL=css-url.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"css-url.js","sourceRoot":"","sources":["../../../src/styling/css-types.ts/css-url.ts"],"names":[],"mappings":";;;;;AAAA,oEAA0C;AAE1C,MAAqB,MAAO,SAAQ,uBAAW;IAE9C,YAAY,KAAK;QAChB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;QAChB,IAAG,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,EAAC;YAC/I,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;SAChB;aACG;YACH,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC;YACd,KAAI,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CA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