@just-web/presets-browser 5.0.2 → 5.0.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/cjs/presets_browser_gizmo.d.ts.map +1 -1
- package/cjs/presets_browser_gizmo.js +5 -7
- package/cjs/presets_browser_gizmo.js.map +1 -1
- package/esm/presets_browser_gizmo.d.ts.map +1 -1
- package/esm/presets_browser_gizmo.js +6 -8
- package/esm/presets_browser_gizmo.js.map +1 -1
- package/package.json +10 -10
- package/ts/presets_browser_gizmo.ts +13 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets_browser_gizmo.d.ts","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"presets_browser_gizmo.d.ts","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EAEN,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAkB,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE/F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAkB,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC/F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,EAAE,CAAC,OAAO,CAAC,EAAE;IAC9C,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAC7B,KAAK,WAAW,CAChB,UAAU,CAAC,OAAO,GAAG,QAAQ,GAAG,aAAa,EAAE,aAAa,CAAC,EAC7D,YAAY,GAAG,YAAY,CAUzB,CAAA;AAEH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -8,13 +8,11 @@ const history_1 = require("@just-web/history");
|
|
|
8
8
|
exports.presetsBrowserGizmoFn = (0, app_1.define)((options) => ({
|
|
9
9
|
static: app_1.define.require().require().require().optional(),
|
|
10
10
|
async create(ctx) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
...history
|
|
17
|
-
};
|
|
11
|
+
return (0, app_1.incubate)(ctx)
|
|
12
|
+
.with((0, browser_1.browserGizmoFn)(options?.browser))
|
|
13
|
+
.with(browser_preferences_1.browserPreferencesGizmo)
|
|
14
|
+
.with((0, history_1.historyGizmoFn)(options?.history))
|
|
15
|
+
.create();
|
|
18
16
|
}
|
|
19
17
|
}));
|
|
20
18
|
//# sourceMappingURL=presets_browser_gizmo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":";;;AAAA,uCAOsB;AACtB,+CAA+F;AAC/F,uEAAuE;AAEvE,+CAA+F;AAMlF,QAAA,qBAAqB,GAM9B,IAAA,YAAM,EAAC,CAAC,OAA0E,EAAE,EAAE,CAAC,CAAC;IAC3F,MAAM,EAAE,YAAM,CAAC,OAAO,EAAW,CAAC,OAAO,EAAY,CAAC,OAAO,EAAiB,CAAC,QAAQ,EAAiB;IACxG,KAAK,CAAC,MAAM,CAAC,GAAG;QACf,OAAO,IAAA,cAAQ,EAAC,GAAG,CAAC;aAClB,IAAI,CAAC,IAAA,wBAAc,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;aACtC,IAAI,CAAC,6CAAuB,CAAC;aAC7B,IAAI,CAAC,IAAA,wBAAc,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;aACtC,MAAM,EAAE,CAAA;IACX,CAAC;CACD,CAAC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets_browser_gizmo.d.ts","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"presets_browser_gizmo.d.ts","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EAEN,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAkB,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE/F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAkB,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC/F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,EAAE,CAAC,OAAO,CAAC,EAAE;IAC9C,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAC7B,KAAK,WAAW,CAChB,UAAU,CAAC,OAAO,GAAG,QAAQ,GAAG,aAAa,EAAE,aAAa,CAAC,EAC7D,YAAY,GAAG,YAAY,CAUzB,CAAA;AAEH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { define } from '@just-web/app';
|
|
1
|
+
import { define, incubate } from '@just-web/app';
|
|
2
2
|
import { browserGizmoFn } from '@just-web/browser';
|
|
3
3
|
import { browserPreferencesGizmo } from '@just-web/browser-preferences';
|
|
4
4
|
import { historyGizmoFn } from '@just-web/history';
|
|
5
5
|
export const presetsBrowserGizmoFn = define((options) => ({
|
|
6
6
|
static: define.require().require().require().optional(),
|
|
7
7
|
async create(ctx) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
...history
|
|
14
|
-
};
|
|
8
|
+
return incubate(ctx)
|
|
9
|
+
.with(browserGizmoFn(options?.browser))
|
|
10
|
+
.with(browserPreferencesGizmo)
|
|
11
|
+
.with(historyGizmoFn(options?.history))
|
|
12
|
+
.create();
|
|
15
13
|
}
|
|
16
14
|
}));
|
|
17
15
|
//# sourceMappingURL=presets_browser_gizmo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,QAAQ,EAKR,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,cAAc,EAA+C,MAAM,mBAAmB,CAAA;AAC/F,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,cAAc,EAA+C,MAAM,mBAAmB,CAAA;AAM/F,MAAM,CAAC,MAAM,qBAAqB,GAM9B,MAAM,CAAC,CAAC,OAA0E,EAAE,EAAE,CAAC,CAAC;IAC3F,MAAM,EAAE,MAAM,CAAC,OAAO,EAAW,CAAC,OAAO,EAAY,CAAC,OAAO,EAAiB,CAAC,QAAQ,EAAiB;IACxG,KAAK,CAAC,MAAM,CAAC,GAAG;QACf,OAAO,QAAQ,CAAC,GAAG,CAAC;aAClB,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;aACtC,IAAI,CAAC,uBAAuB,CAAC;aAC7B,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;aACtC,MAAM,EAAE,CAAA;IACX,CAAC;CACD,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@just-web/presets-browser",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "just-web presets for browser related features",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"just-web",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"repobuddy": "^1.0.1",
|
|
49
49
|
"tslib": "^2.5.0",
|
|
50
|
-
"@just-web/browser": "^7.1.
|
|
51
|
-
"@just-web/browser-preferences": "^7.1.
|
|
52
|
-
"@just-web/history": "^2.0.
|
|
50
|
+
"@just-web/browser": "^7.1.1",
|
|
51
|
+
"@just-web/browser-preferences": "^7.1.1",
|
|
52
|
+
"@just-web/history": "^2.0.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@repobuddy/jest": "^3.3.0",
|
|
@@ -73,15 +73,15 @@
|
|
|
73
73
|
"ts-jest": "^29.1.0",
|
|
74
74
|
"type-plus": "^6.7.0",
|
|
75
75
|
"typescript": "^5.0.4",
|
|
76
|
-
"@just-web/app": "^7.1.
|
|
77
|
-
"@just-web/commands": "^7.1.
|
|
78
|
-
"@just-web/keyboard": "^7.1.
|
|
76
|
+
"@just-web/app": "^7.1.1",
|
|
77
|
+
"@just-web/commands": "^7.1.1",
|
|
78
|
+
"@just-web/keyboard": "^7.1.1",
|
|
79
79
|
"@just-web/repo-scripts": "^0.2.1"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@just-web/app": "^7.1.
|
|
83
|
-
"@just-web/commands": "^7.1.
|
|
84
|
-
"@just-web/keyboard": "^7.1.
|
|
82
|
+
"@just-web/app": "^7.1.1",
|
|
83
|
+
"@just-web/commands": "^7.1.1",
|
|
84
|
+
"@just-web/keyboard": "^7.1.1"
|
|
85
85
|
},
|
|
86
86
|
"peerDependenciesMeta": {
|
|
87
87
|
"@just-web/keyboard": {
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
define,
|
|
3
|
+
incubate,
|
|
4
|
+
type DepBuilder,
|
|
5
|
+
type GizmoStatic,
|
|
6
|
+
type IdGizmo,
|
|
7
|
+
type LogGizmo
|
|
8
|
+
} from '@just-web/app'
|
|
2
9
|
import { browserGizmoFn, type BrowserGizmo, type BrowserGizmoOptions } from '@just-web/browser'
|
|
3
10
|
import { browserPreferencesGizmo } from '@just-web/browser-preferences'
|
|
4
11
|
import type { CommandsGizmo } from '@just-web/commands'
|
|
@@ -17,13 +24,11 @@ export const presetsBrowserGizmoFn: (options?: {
|
|
|
17
24
|
> = define((options?: { browser?: BrowserGizmoOptions; history?: HistoryGizmoOptions }) => ({
|
|
18
25
|
static: define.require<IdGizmo>().require<LogGizmo>().require<CommandsGizmo>().optional<KeyboardGizmo>(),
|
|
19
26
|
async create(ctx) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
...history
|
|
26
|
-
}
|
|
27
|
+
return incubate(ctx)
|
|
28
|
+
.with(browserGizmoFn(options?.browser))
|
|
29
|
+
.with(browserPreferencesGizmo)
|
|
30
|
+
.with(historyGizmoFn(options?.history))
|
|
31
|
+
.create()
|
|
27
32
|
}
|
|
28
33
|
}))
|
|
29
34
|
|