@dxos/plugin-pwa 0.8.4-main.d05673bc65 → 0.8.4-main.dfabb4ec29
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/dist/lib/{browser/index.mjs → neutral/PwaPlugin.mjs} +15 -48
- package/dist/lib/neutral/PwaPlugin.mjs.map +7 -0
- package/dist/lib/neutral/chunk-SCMZU5OW.mjs +18 -0
- package/dist/lib/neutral/chunk-SCMZU5OW.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +7 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +7 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +11 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +22 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/types/src/PwaPlugin.d.ts +1 -0
- package/dist/types/src/PwaPlugin.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +3 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +7 -8
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +46 -21
- package/src/PwaPlugin.tsx +13 -11
- package/src/index.ts +0 -1
- package/src/meta.ts +1 -0
- package/src/plugin.ts +9 -0
- package/src/translations.ts +7 -7
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
|
@@ -1,40 +1,11 @@
|
|
|
1
|
-
// src/meta.ts
|
|
2
|
-
import { trim } from "@dxos/util";
|
|
3
|
-
var meta = {
|
|
4
|
-
id: "org.dxos.plugin.pwa",
|
|
5
|
-
name: "PWA",
|
|
6
|
-
description: trim`
|
|
7
|
-
Progressive Web App capabilities enabling offline functionality and app-like experience.
|
|
8
|
-
Install to home screen and use the workspace without internet connection.
|
|
9
|
-
`
|
|
10
|
-
};
|
|
11
|
-
|
|
12
1
|
// src/PwaPlugin.tsx
|
|
13
2
|
import * as Effect from "effect/Effect";
|
|
14
3
|
import { registerSW } from "virtual:pwa-register";
|
|
15
4
|
import { ActivationEvents, Capabilities, Capability, Plugin } from "@dxos/app-framework";
|
|
16
5
|
import { AppPlugin, LayoutOperation } from "@dxos/app-toolkit";
|
|
17
6
|
import { log } from "@dxos/log";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var translations = [
|
|
21
|
-
{
|
|
22
|
-
"en-US": {
|
|
23
|
-
[meta.id]: {
|
|
24
|
-
"need refresh label": "Refresh now to get app updates",
|
|
25
|
-
"need refresh description": "You\u2019ll need these updates to continue without interruption.",
|
|
26
|
-
"refresh label": "Refresh",
|
|
27
|
-
"refresh alt": "Click your browser\u2019s refresh button or use the refresh keyboard shortcut.",
|
|
28
|
-
// TODO(wittjosiah): Non-react translation utils.
|
|
29
|
-
// 'offline ready label': '{{appName}} is ready to use offline.',
|
|
30
|
-
"offline ready label": "Ready to use offline.",
|
|
31
|
-
"confirm label": "Okay"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
];
|
|
36
|
-
|
|
37
|
-
// src/PwaPlugin.tsx
|
|
7
|
+
import { meta } from "#meta";
|
|
8
|
+
import { translations } from "#translations";
|
|
38
9
|
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-pwa/src/PwaPlugin.tsx";
|
|
39
10
|
var PwaPlugin = Plugin.define(meta).pipe(AppPlugin.addTranslationsModule({
|
|
40
11
|
translations
|
|
@@ -42,32 +13,32 @@ var PwaPlugin = Plugin.define(meta).pipe(AppPlugin.addTranslationsModule({
|
|
|
42
13
|
id: "register-pwa",
|
|
43
14
|
activatesOn: ActivationEvents.OperationInvokerReady,
|
|
44
15
|
activate: Effect.fnUntraced(function* () {
|
|
45
|
-
const {
|
|
16
|
+
const { invokePromise } = yield* Capability.get(Capabilities.OperationInvoker);
|
|
46
17
|
const updateSW = registerSW({
|
|
47
18
|
onNeedRefresh: () => {
|
|
48
|
-
|
|
19
|
+
void invokePromise(LayoutOperation.AddToast, {
|
|
49
20
|
id: `${meta.id}.need-refresh`,
|
|
50
21
|
title: [
|
|
51
|
-
"need
|
|
22
|
+
"need-refresh.label",
|
|
52
23
|
{
|
|
53
24
|
ns: meta.id
|
|
54
25
|
}
|
|
55
26
|
],
|
|
56
27
|
description: [
|
|
57
|
-
"need
|
|
28
|
+
"need-refresh.description",
|
|
58
29
|
{
|
|
59
30
|
ns: meta.id
|
|
60
31
|
}
|
|
61
32
|
],
|
|
62
33
|
duration: 4 * 60 * 1e3,
|
|
63
34
|
actionLabel: [
|
|
64
|
-
"refresh
|
|
35
|
+
"refresh.label",
|
|
65
36
|
{
|
|
66
37
|
ns: meta.id
|
|
67
38
|
}
|
|
68
39
|
],
|
|
69
40
|
actionAlt: [
|
|
70
|
-
"refresh
|
|
41
|
+
"refresh.alt",
|
|
71
42
|
{
|
|
72
43
|
ns: meta.id
|
|
73
44
|
}
|
|
@@ -76,16 +47,16 @@ var PwaPlugin = Plugin.define(meta).pipe(AppPlugin.addTranslationsModule({
|
|
|
76
47
|
});
|
|
77
48
|
},
|
|
78
49
|
onOfflineReady: () => {
|
|
79
|
-
|
|
50
|
+
void invokePromise(LayoutOperation.AddToast, {
|
|
80
51
|
id: `${meta.id}.offline-ready`,
|
|
81
52
|
title: [
|
|
82
|
-
"offline
|
|
53
|
+
"offline-ready.label",
|
|
83
54
|
{
|
|
84
55
|
ns: meta.id
|
|
85
56
|
}
|
|
86
57
|
],
|
|
87
58
|
closeLabel: [
|
|
88
|
-
"confirm
|
|
59
|
+
"confirm.label",
|
|
89
60
|
{
|
|
90
61
|
ns: meta.id
|
|
91
62
|
}
|
|
@@ -93,18 +64,14 @@ var PwaPlugin = Plugin.define(meta).pipe(AppPlugin.addTranslationsModule({
|
|
|
93
64
|
});
|
|
94
65
|
},
|
|
95
66
|
onRegisterError: (err) => {
|
|
96
|
-
log.error(err, void 0, {
|
|
97
|
-
F: __dxlog_file,
|
|
98
|
-
L: 43,
|
|
99
|
-
S: this,
|
|
100
|
-
C: (f, a) => f(...a)
|
|
101
|
-
});
|
|
67
|
+
log.error(err, void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 68, S: this });
|
|
102
68
|
}
|
|
103
69
|
});
|
|
104
70
|
})
|
|
105
71
|
}), Plugin.make);
|
|
72
|
+
var PwaPlugin_default = PwaPlugin;
|
|
106
73
|
export {
|
|
107
74
|
PwaPlugin,
|
|
108
|
-
|
|
75
|
+
PwaPlugin_default as default
|
|
109
76
|
};
|
|
110
|
-
//# sourceMappingURL=
|
|
77
|
+
//# sourceMappingURL=PwaPlugin.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/PwaPlugin.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport { registerSW } from 'virtual:pwa-register';\n\nimport { ActivationEvents, Capabilities, Capability, Plugin } from '@dxos/app-framework';\nimport { AppPlugin, LayoutOperation } from '@dxos/app-toolkit';\nimport { log } from '@dxos/log';\n\nimport { meta } from '#meta';\nimport { translations } from '#translations';\n\nexport const PwaPlugin = Plugin.define(meta).pipe(\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule({\n id: 'register-pwa',\n activatesOn: ActivationEvents.OperationInvokerReady,\n activate: Effect.fnUntraced(function* () {\n const { invokePromise } = yield* Capability.get(Capabilities.OperationInvoker);\n\n const updateSW = registerSW({\n onNeedRefresh: () => {\n void invokePromise(LayoutOperation.AddToast, {\n id: `${meta.id}.need-refresh`,\n title: ['need-refresh.label', { ns: meta.id }],\n description: ['need-refresh.description', { ns: meta.id }],\n duration: 4 * 60 * 1000, // 4m\n actionLabel: ['refresh.label', { ns: meta.id }],\n actionAlt: ['refresh.alt', { ns: meta.id }],\n onAction: () => updateSW(true),\n });\n },\n onOfflineReady: () => {\n void invokePromise(LayoutOperation.AddToast, {\n id: `${meta.id}.offline-ready`,\n title: ['offline-ready.label', { ns: meta.id }],\n closeLabel: ['confirm.label', { ns: meta.id }],\n });\n },\n onRegisterError: (err) => {\n log.error(err);\n },\n });\n }),\n }),\n Plugin.make,\n);\n\nexport default PwaPlugin;\n"],
|
|
5
|
+
"mappings": ";AAIA,YAAYA,YAAY;AACxB,SAASC,kBAAkB;AAE3B,SAASC,kBAAkBC,cAAcC,YAAYC,cAAc;AACnE,SAASC,WAAWC,uBAAuB;AAC3C,SAASC,WAAW;AAEpB,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAE7B,IAAA,eAAaC;AAEXN,IAAOO,YAAU,OAAA,OAAA,IAAA,EAAA,KAAA,UAAA,sBAAA;EACfC;IACAC,OAAAA,UAAaZ;EACba,IAAAA;eACUC,iBAAkB;YAEpBC,kBAAWhB,aAAW;UAC1BiB,EAAAA,cAAe,IAAA,OAAA,WAAA,IAAA,aAAA,gBAAA;qBACRF,WAAcT;qBACVE,MAAAA;aACPU,cAAO,gBAAA,UAAA;cAAC,GAAA,KAAA,EAAA;iBAAsB;;YAAc;cAAE,IAAA,KAAA;YAC9CC;;uBAA0C;;YAAc;cAAE,IAAA,KAAA;YAC1DC;UACAC;oBAAc,IAAA,KAAA;uBAAiB;;YAAc;cAAE,IAAA,KAAA;YAC/CC;;qBAA2B;;YAAc;cAAE,IAAA,KAAA;YAC3CC;UACF;UACF,UAAA,MAAA,SAAA,IAAA;QACAC,CAAAA;;sBAEWhB,MAAKI;aACZM,cAAO,gBAAA,UAAA;cAAC,GAAA,KAAA,EAAA;iBAAuB;;YAAc;cAAE,IAAA,KAAA;YAC/CO;;sBAA8B;;YAAc;cAAE,IAAA,KAAA;YAChD;UACF;QACAC,CAAAA;;MAEA,iBAAA,CAAA,QAAA;AACF,YAAA,MAAA,KAAA,QAAA,EAAA,YAAA,YAAA,GAAA,cAAA,GAAA,IAAA,GAAA,KAAA,CAAA;MACF;IAEFtB,CAAAA;EAGF,CAAA;;;",
|
|
6
|
+
"names": ["Effect", "registerSW", "ActivationEvents", "Capabilities", "Capability", "Plugin", "AppPlugin", "LayoutOperation", "log", "meta", "translations", "PwaPlugin", "addModule", "id", "activatesOn", "activate", "invokePromise", "updateSW", "onNeedRefresh", "title", "description", "duration", "actionLabel", "actionAlt", "onAction", "onOfflineReady", "closeLabel", "onRegisterError"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/meta.ts
|
|
2
|
+
import { trim } from "@dxos/util";
|
|
3
|
+
var meta = {
|
|
4
|
+
id: "org.dxos.plugin.pwa",
|
|
5
|
+
name: "PWA",
|
|
6
|
+
description: trim`
|
|
7
|
+
Progressive Web App capabilities enabling offline functionality and app-like experience.
|
|
8
|
+
Install to home screen and use the workspace without internet connection.
|
|
9
|
+
`,
|
|
10
|
+
tags: [
|
|
11
|
+
"system"
|
|
12
|
+
]
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
meta
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chunk-SCMZU5OW.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.pwa',\n name: 'PWA',\n description: trim`\n Progressive Web App capabilities enabling offline functionality and app-like experience.\n Install to home screen and use the workspace without internet connection.\n `,\n tags: ['system'],\n};\n"],
|
|
5
|
+
"mappings": ";AAKA,SAASA,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;IAAC;;AACT;",
|
|
6
|
+
"names": ["trim", "meta", "id", "name", "description", "tags"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1406,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":368,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/PwaPlugin.tsx":{"bytes":7521,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"virtual:pwa-register","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true}],"format":"esm"},"src/plugin.ts":{"bytes":844,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/translations.ts":{"bytes":2366,"imports":[{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-SCMZU5OW.mjs","kind":"import-statement"}],"exports":["meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":101},"dist/lib/neutral/PwaPlugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3118},"dist/lib/neutral/PwaPlugin.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"virtual:pwa-register","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true}],"exports":["PwaPlugin","default"],"entryPoint":"src/PwaPlugin.tsx","inputs":{"src/PwaPlugin.tsx":{"bytesInOutput":2091}},"bytes":2207},"dist/lib/neutral/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/meta.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-SCMZU5OW.mjs","kind":"import-statement"}],"exports":["meta"],"entryPoint":"src/meta.ts","inputs":{},"bytes":100},"dist/lib/neutral/plugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":433},"dist/lib/neutral/plugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-SCMZU5OW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["PwaPlugin"],"entryPoint":"src/plugin.ts","inputs":{"src/plugin.ts":{"bytesInOutput":106}},"bytes":231},"dist/lib/neutral/chunk-SCMZU5OW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":698},"dist/lib/neutral/chunk-SCMZU5OW.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":319}},"bytes":398},"dist/lib/neutral/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1106},"dist/lib/neutral/translations.mjs":{"imports":[{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":639}},"bytes":731}}}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/plugin.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const PwaPlugin = Plugin.lazy(meta, () => import('#plugin'));\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,SAASA,cAAc;AAIhB,IAAMC,YAAYC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "PwaPlugin", "Plugin", "lazy", "meta"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/translations.ts
|
|
2
|
+
import { meta } from "#meta";
|
|
3
|
+
var translations = [
|
|
4
|
+
{
|
|
5
|
+
"en-US": {
|
|
6
|
+
[meta.id]: {
|
|
7
|
+
"need-refresh.label": "Refresh now to get app updates",
|
|
8
|
+
"need-refresh.description": "You\u2019ll need these updates to continue without interruption.",
|
|
9
|
+
"refresh.label": "Refresh",
|
|
10
|
+
"refresh.alt": "Click your browser\u2019s refresh button or use the refresh keyboard shortcut.",
|
|
11
|
+
// TODO(wittjosiah): Non-react translation utils.
|
|
12
|
+
// 'offline ready label': '{{appName}} is ready to use offline.',
|
|
13
|
+
"offline-ready.label": "Ready to use offline.",
|
|
14
|
+
"confirm.label": "Okay"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
export {
|
|
20
|
+
translations
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=translations.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/translations.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2022 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'need-refresh.label': 'Refresh now to get app updates',\n 'need-refresh.description': 'You’ll need these updates to continue without interruption.',\n 'refresh.label': 'Refresh',\n 'refresh.alt': 'Click your browser’s refresh button or use the refresh keyboard shortcut.',\n // TODO(wittjosiah): Non-react translation utils.\n // 'offline ready label': '{{appName}} is ready to use offline.',\n 'offline-ready.label': 'Ready to use offline.',\n 'confirm.label': 'Okay',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";AAMA,SAASA,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACD,KAAKE,EAAE,GAAG;QACT,sBAAsB;QACtB,4BAA4B;QAC5B,iBAAiB;QACjB,eAAe;;;QAGf,uBAAuB;QACvB,iBAAiB;MACnB;IACF;EACF;;",
|
|
6
|
+
"names": ["meta", "translations", "id"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PwaPlugin.d.ts","sourceRoot":"","sources":["../../../src/PwaPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAA8C,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOzF,eAAO,MAAM,SAAS,4BAkCrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"PwaPlugin.d.ts","sourceRoot":"","sources":["../../../src/PwaPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAA8C,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOzF,eAAO,MAAM,SAAS,4BAkCrB,CAAC;eAEa,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAQzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,SAAS,4BAA6C,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { meta } from './meta';
|
|
2
1
|
export declare const translations: [{
|
|
3
2
|
readonly 'en-US': {
|
|
4
|
-
readonly [
|
|
5
|
-
readonly 'need
|
|
6
|
-
readonly 'need
|
|
7
|
-
readonly 'refresh
|
|
8
|
-
readonly 'refresh
|
|
9
|
-
readonly 'offline
|
|
10
|
-
readonly 'confirm
|
|
3
|
+
readonly [x: string]: {
|
|
4
|
+
readonly 'need-refresh.label': 'Refresh now to get app updates';
|
|
5
|
+
readonly 'need-refresh.description': 'You\u2019ll need these updates to continue without interruption.';
|
|
6
|
+
readonly 'refresh.label': 'Refresh';
|
|
7
|
+
readonly 'refresh.alt': 'Click your browser\u2019s refresh button or use the refresh keyboard shortcut.';
|
|
8
|
+
readonly 'offline-ready.label': 'Ready to use offline.';
|
|
9
|
+
readonly 'confirm.label': 'Okay';
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;2CAIK,gCAAgC;iDAC1B,kEAA6D;sCACxE,SAAS;oCACX,gFAA2E;4CAGnE,uBAAuB;sCAC7B,MAAM;;;EAIA,CAAC"}
|