@tko/build.reference 4.0.0-beta1.0 → 4.0.0-beta1.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/LICENSE +22 -0
- package/dist/browser.min.js +8 -8
- package/dist/browser.min.js.map +3 -3
- package/dist/common.js +1 -1
- package/dist/common.js.map +1 -1
- package/dist/index.cjs +19 -30
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +54 -0
- package/dist/index.mjs.map +7 -0
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @tko/build.reference 🥊 4.0.0-beta1.
|
|
1
|
+
// @tko/build.reference 🥊 4.0.0-beta1.2 ESM
|
|
2
2
|
import { Builder } from "@tko/builder";
|
|
3
3
|
import { VirtualProvider } from "@tko/provider.virtual";
|
|
4
4
|
import { DataBindProvider } from "@tko/provider.databind";
|
|
@@ -19,7 +19,7 @@ import { bindings as foreachBindings } from "@tko/binding.foreach";
|
|
|
19
19
|
import { bindings as componentBindings } from "@tko/binding.component";
|
|
20
20
|
import { filters } from "@tko/filter.punches";
|
|
21
21
|
import components from "@tko/utils.component";
|
|
22
|
-
import { createElement, Fragment } from "utils.jsx";
|
|
22
|
+
import { createElement, Fragment } from "@tko/utils.jsx";
|
|
23
23
|
const builder = new Builder({
|
|
24
24
|
filters,
|
|
25
25
|
provider: new MultiProvider({
|
|
@@ -42,7 +42,7 @@ const builder = new Builder({
|
|
|
42
42
|
{ each: foreachBindings.foreach }
|
|
43
43
|
]
|
|
44
44
|
});
|
|
45
|
-
const version = "4.0.0-beta1.
|
|
45
|
+
const version = "4.0.0-beta1.2";
|
|
46
46
|
export default builder.create({
|
|
47
47
|
jsx: {
|
|
48
48
|
createElement,
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { Builder } from '@tko/builder'\n\nimport { VirtualProvider } from '@tko/provider.virtual'\nimport { DataBindProvider } from '@tko/provider.databind'\nimport { ComponentProvider } from '@tko/provider.component'\nimport { AttributeProvider } from '@tko/provider.attr'\nimport { MultiProvider } from '@tko/provider.multi'\nimport {\n TextMustacheProvider, AttributeMustacheProvider\n} from '@tko/provider.mustache'\nimport {\n NativeProvider\n} from '@tko/provider.native'\n\nimport { bindings as coreBindings } from '@tko/binding.core'\nimport { bindings as templateBindings } from '@tko/binding.template'\nimport { bindings as ifBindings } from '@tko/binding.if'\nimport { bindings as foreachBindings } from '@tko/binding.foreach'\nimport { bindings as componentBindings } from '@tko/binding.component'\n\nimport { filters } from '@tko/filter.punches'\n\nimport components from '@tko/utils.component'\nimport { createElement, Fragment } from 'utils.jsx'\n\nconst builder = new Builder({\n filters,\n provider: new MultiProvider({\n providers: [\n new ComponentProvider(),\n new NativeProvider(),\n new AttributeMustacheProvider(),\n new TextMustacheProvider(),\n new DataBindProvider(),\n new VirtualProvider(),\n new AttributeProvider(),\n ]\n }),\n bindings: [\n coreBindings,\n templateBindings,\n ifBindings,\n foreachBindings,\n componentBindings,\n { each: foreachBindings.foreach }\n ]\n})\n\nconst version = BUILD_VERSION\nexport default builder.create({\n jsx: {\n createElement,\n Fragment,\n },\n components,\n version,\n Component: components.ComponentABC,\n})\n"],
|
|
5
|
-
"mappings": ";AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAGA;AAAA;AAAA;AAIA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA,MAAM,UAAU,IAAI,QAAQ;AAAA,EAC1B;AAAA,EACA,UAAU,IAAI,cAAc;AAAA,IAC1B,WAAW;AAAA,MACT,IAAI;AAAA,
|
|
4
|
+
"sourcesContent": ["import { Builder } from '@tko/builder'\n\nimport { VirtualProvider } from '@tko/provider.virtual'\nimport { DataBindProvider } from '@tko/provider.databind'\nimport { ComponentProvider } from '@tko/provider.component'\nimport { AttributeProvider } from '@tko/provider.attr'\nimport { MultiProvider } from '@tko/provider.multi'\nimport {\n TextMustacheProvider, AttributeMustacheProvider\n} from '@tko/provider.mustache'\nimport {\n NativeProvider\n} from '@tko/provider.native'\n\nimport { bindings as coreBindings } from '@tko/binding.core'\nimport { bindings as templateBindings } from '@tko/binding.template'\nimport { bindings as ifBindings } from '@tko/binding.if'\nimport { bindings as foreachBindings } from '@tko/binding.foreach'\nimport { bindings as componentBindings } from '@tko/binding.component'\n\nimport { filters } from '@tko/filter.punches'\n\nimport components from '@tko/utils.component'\nimport { createElement, Fragment } from '@tko/utils.jsx'\n\nconst builder = new Builder({\n filters,\n provider: new MultiProvider({\n providers: [\n new ComponentProvider(),\n new NativeProvider(),\n new AttributeMustacheProvider(),\n new TextMustacheProvider(),\n new DataBindProvider(),\n new VirtualProvider(),\n new AttributeProvider(),\n ]\n }),\n bindings: [\n coreBindings,\n templateBindings,\n ifBindings,\n foreachBindings,\n componentBindings,\n { each: foreachBindings.foreach }\n ]\n})\n\nconst version = BUILD_VERSION\nexport default builder.create({\n jsx: {\n createElement,\n Fragment,\n },\n components,\n version,\n Component: components.ComponentABC,\n})\n"],
|
|
5
|
+
"mappings": ";AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAGA;AAAA;AAAA;AAIA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA,MAAM,UAAU,IAAI,QAAQ;AAAA,EAC1B;AAAA,EACA,UAAU,IAAI,cAAc;AAAA,IAC1B,WAAW;AAAA,MACT,IAAI,kBAAkB;AAAA,MACtB,IAAI,eAAe;AAAA,MACnB,IAAI,0BAA0B;AAAA,MAC9B,IAAI,qBAAqB;AAAA,MACzB,IAAI,iBAAiB;AAAA,MACrB,IAAI,gBAAgB;AAAA,MACpB,IAAI,kBAAkB;AAAA,IACxB;AAAA,EACF,CAAC;AAAA,EACD,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,EAAE,MAAM,gBAAgB,QAAQ;AAAA,EAClC;AACF,CAAC;AAED,MAAM,UAAU;AAChB,eAAe,QAAQ,OAAO;AAAA,EAC5B,KAAK;AAAA,IACH;AAAA,IACA;AAAA,EACF;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW,WAAW;AACxB,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// @tko/build.reference 🥊 4.0.0-beta1.2 MJS
|
|
2
|
+
import { Builder } from "@tko/builder";
|
|
3
|
+
import { VirtualProvider } from "@tko/provider.virtual";
|
|
4
|
+
import { DataBindProvider } from "@tko/provider.databind";
|
|
5
|
+
import { ComponentProvider } from "@tko/provider.component";
|
|
6
|
+
import { AttributeProvider } from "@tko/provider.attr";
|
|
7
|
+
import { MultiProvider } from "@tko/provider.multi";
|
|
8
|
+
import {
|
|
9
|
+
TextMustacheProvider,
|
|
10
|
+
AttributeMustacheProvider
|
|
11
|
+
} from "@tko/provider.mustache";
|
|
12
|
+
import {
|
|
13
|
+
NativeProvider
|
|
14
|
+
} from "@tko/provider.native";
|
|
15
|
+
import { bindings as coreBindings } from "@tko/binding.core";
|
|
16
|
+
import { bindings as templateBindings } from "@tko/binding.template";
|
|
17
|
+
import { bindings as ifBindings } from "@tko/binding.if";
|
|
18
|
+
import { bindings as foreachBindings } from "@tko/binding.foreach";
|
|
19
|
+
import { bindings as componentBindings } from "@tko/binding.component";
|
|
20
|
+
import { filters } from "@tko/filter.punches";
|
|
21
|
+
import components from "@tko/utils.component";
|
|
22
|
+
import { createElement, Fragment } from "@tko/utils.jsx";
|
|
23
|
+
const builder = new Builder({
|
|
24
|
+
filters,
|
|
25
|
+
provider: new MultiProvider({
|
|
26
|
+
providers: [
|
|
27
|
+
new ComponentProvider(),
|
|
28
|
+
new NativeProvider(),
|
|
29
|
+
new AttributeMustacheProvider(),
|
|
30
|
+
new TextMustacheProvider(),
|
|
31
|
+
new DataBindProvider(),
|
|
32
|
+
new VirtualProvider(),
|
|
33
|
+
new AttributeProvider()
|
|
34
|
+
]
|
|
35
|
+
}),
|
|
36
|
+
bindings: [
|
|
37
|
+
coreBindings,
|
|
38
|
+
templateBindings,
|
|
39
|
+
ifBindings,
|
|
40
|
+
foreachBindings,
|
|
41
|
+
componentBindings,
|
|
42
|
+
{ each: foreachBindings.foreach }
|
|
43
|
+
]
|
|
44
|
+
});
|
|
45
|
+
const version = "4.0.0-beta1.2";
|
|
46
|
+
export default builder.create({
|
|
47
|
+
jsx: {
|
|
48
|
+
createElement,
|
|
49
|
+
Fragment
|
|
50
|
+
},
|
|
51
|
+
components,
|
|
52
|
+
version,
|
|
53
|
+
Component: components.ComponentABC
|
|
54
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["import { Builder } from '@tko/builder'\n\nimport { VirtualProvider } from '@tko/provider.virtual'\nimport { DataBindProvider } from '@tko/provider.databind'\nimport { ComponentProvider } from '@tko/provider.component'\nimport { AttributeProvider } from '@tko/provider.attr'\nimport { MultiProvider } from '@tko/provider.multi'\nimport {\n TextMustacheProvider, AttributeMustacheProvider\n} from '@tko/provider.mustache'\nimport {\n NativeProvider\n} from '@tko/provider.native'\n\nimport { bindings as coreBindings } from '@tko/binding.core'\nimport { bindings as templateBindings } from '@tko/binding.template'\nimport { bindings as ifBindings } from '@tko/binding.if'\nimport { bindings as foreachBindings } from '@tko/binding.foreach'\nimport { bindings as componentBindings } from '@tko/binding.component'\n\nimport { filters } from '@tko/filter.punches'\n\nimport components from '@tko/utils.component'\nimport { createElement, Fragment } from '@tko/utils.jsx'\n\nconst builder = new Builder({\n filters,\n provider: new MultiProvider({\n providers: [\n new ComponentProvider(),\n new NativeProvider(),\n new AttributeMustacheProvider(),\n new TextMustacheProvider(),\n new DataBindProvider(),\n new VirtualProvider(),\n new AttributeProvider(),\n ]\n }),\n bindings: [\n coreBindings,\n templateBindings,\n ifBindings,\n foreachBindings,\n componentBindings,\n { each: foreachBindings.foreach }\n ]\n})\n\nconst version = BUILD_VERSION\nexport default builder.create({\n jsx: {\n createElement,\n Fragment,\n },\n components,\n version,\n Component: components.ComponentABC,\n})\n"],
|
|
5
|
+
"mappings": ";AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAGA;AAAA;AAAA;AAIA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA,MAAM,UAAU,IAAI,QAAQ;AAAA,EAC1B;AAAA,EACA,UAAU,IAAI,cAAc;AAAA,IAC1B,WAAW;AAAA,MACT,IAAI,kBAAkB;AAAA,MACtB,IAAI,eAAe;AAAA,MACnB,IAAI,0BAA0B;AAAA,MAC9B,IAAI,qBAAqB;AAAA,MACzB,IAAI,iBAAiB;AAAA,MACrB,IAAI,gBAAgB;AAAA,MACpB,IAAI,kBAAkB;AAAA,IACxB;AAAA,EACF,CAAC;AAAA,EACD,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,EAAE,MAAM,gBAAgB,QAAQ;AAAA,EAClC;AACF,CAAC;AAED,MAAM,UAAU;AAChB,eAAe,QAAQ,OAAO;AAAA,EAC5B,KAAK;AAAA,IACH;AAAA,IACA;AAAA,EACF;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW,WAAW;AACxB,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.0-beta1.
|
|
2
|
+
"version": "4.0.0-beta1.2",
|
|
3
3
|
"name": "@tko/build.reference",
|
|
4
4
|
"description": "The TKO Reference Build",
|
|
5
5
|
"repository": {
|
|
@@ -48,11 +48,12 @@
|
|
|
48
48
|
"exports": {
|
|
49
49
|
".": {
|
|
50
50
|
"require": "./dist/index.cjs",
|
|
51
|
-
"import": "./dist/index.
|
|
51
|
+
"import": "./dist/index.mjs"
|
|
52
52
|
},
|
|
53
53
|
"./helpers/*": "./helpers/*"
|
|
54
54
|
},
|
|
55
55
|
"bugs": {
|
|
56
56
|
"url": "https://github.com/knockout/tko/issues"
|
|
57
|
-
}
|
|
57
|
+
},
|
|
58
|
+
"gitHead": "13c815606b51efef73ce40a056677f0fd7e3f1af"
|
|
58
59
|
}
|