@pactor-app/runtime 1.46.0 → 1.48.0
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/index.cjs +4 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -518,6 +518,8 @@ var defaultMessages = {
|
|
|
518
518
|
"pactor.alertDialog.cancel": "\u53D6\u6D88",
|
|
519
519
|
"pactor.command.empty": "\u65E0\u5339\u914D\u7ED3\u679C",
|
|
520
520
|
"pactor.overlay.close": "\u5173\u95ED",
|
|
521
|
+
"pactor.overlay.cancel": "\u53D6\u6D88",
|
|
522
|
+
"pactor.overlay.confirm": "\u786E\u8BA4",
|
|
521
523
|
"pactor.datePicker.placeholder": "\u9009\u62E9\u65E5\u671F",
|
|
522
524
|
"pactor.datePicker.placeholderRange": "\u9009\u62E9\u65E5\u671F\u8303\u56F4",
|
|
523
525
|
"pactor.datePicker.today": "\u4ECA\u5929",
|
|
@@ -624,6 +626,8 @@ var defaultMessages = {
|
|
|
624
626
|
"pactor.alertDialog.cancel": "Cancel",
|
|
625
627
|
"pactor.command.empty": "No results found",
|
|
626
628
|
"pactor.overlay.close": "Close",
|
|
629
|
+
"pactor.overlay.cancel": "Cancel",
|
|
630
|
+
"pactor.overlay.confirm": "Confirm",
|
|
627
631
|
"pactor.datePicker.placeholder": "Select date",
|
|
628
632
|
"pactor.datePicker.placeholderRange": "Select date range",
|
|
629
633
|
"pactor.datePicker.today": "Today",
|
package/dist/index.d.cts
CHANGED
|
@@ -286,6 +286,12 @@ interface RuntimeContext {
|
|
|
286
286
|
locale: string;
|
|
287
287
|
/** i18n 上下文:提供 `t(key, params?)` 翻译函数 */
|
|
288
288
|
i18n: I18nContext;
|
|
289
|
+
/**
|
|
290
|
+
* 子运行时指回创建它的宿主运行时上下文(如 OverlayHost 为 page
|
|
291
|
+
* 类型弹层创建的子 PageRuntime)。交互归属(overlay 在哪个宿主的
|
|
292
|
+
* OverlayHost 渲染)沿此链上溯到根运行时;普通页面运行时不设置。
|
|
293
|
+
*/
|
|
294
|
+
parentRuntime?: RuntimeContext;
|
|
289
295
|
}
|
|
290
296
|
interface CreateRuntimeContextOptions {
|
|
291
297
|
app?: Record<string, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -286,6 +286,12 @@ interface RuntimeContext {
|
|
|
286
286
|
locale: string;
|
|
287
287
|
/** i18n 上下文:提供 `t(key, params?)` 翻译函数 */
|
|
288
288
|
i18n: I18nContext;
|
|
289
|
+
/**
|
|
290
|
+
* 子运行时指回创建它的宿主运行时上下文(如 OverlayHost 为 page
|
|
291
|
+
* 类型弹层创建的子 PageRuntime)。交互归属(overlay 在哪个宿主的
|
|
292
|
+
* OverlayHost 渲染)沿此链上溯到根运行时;普通页面运行时不设置。
|
|
293
|
+
*/
|
|
294
|
+
parentRuntime?: RuntimeContext;
|
|
289
295
|
}
|
|
290
296
|
interface CreateRuntimeContextOptions {
|
|
291
297
|
app?: Record<string, unknown>;
|
package/dist/index.js
CHANGED
|
@@ -473,6 +473,8 @@ var defaultMessages = {
|
|
|
473
473
|
"pactor.alertDialog.cancel": "\u53D6\u6D88",
|
|
474
474
|
"pactor.command.empty": "\u65E0\u5339\u914D\u7ED3\u679C",
|
|
475
475
|
"pactor.overlay.close": "\u5173\u95ED",
|
|
476
|
+
"pactor.overlay.cancel": "\u53D6\u6D88",
|
|
477
|
+
"pactor.overlay.confirm": "\u786E\u8BA4",
|
|
476
478
|
"pactor.datePicker.placeholder": "\u9009\u62E9\u65E5\u671F",
|
|
477
479
|
"pactor.datePicker.placeholderRange": "\u9009\u62E9\u65E5\u671F\u8303\u56F4",
|
|
478
480
|
"pactor.datePicker.today": "\u4ECA\u5929",
|
|
@@ -579,6 +581,8 @@ var defaultMessages = {
|
|
|
579
581
|
"pactor.alertDialog.cancel": "Cancel",
|
|
580
582
|
"pactor.command.empty": "No results found",
|
|
581
583
|
"pactor.overlay.close": "Close",
|
|
584
|
+
"pactor.overlay.cancel": "Cancel",
|
|
585
|
+
"pactor.overlay.confirm": "Confirm",
|
|
582
586
|
"pactor.datePicker.placeholder": "Select date",
|
|
583
587
|
"pactor.datePicker.placeholderRange": "Select date range",
|
|
584
588
|
"pactor.datePicker.today": "Today",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pactor-app/runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.0",
|
|
4
4
|
"description": "Pactor runtime: RuntimeContext, StateStore, DataSource runtime, action engine, React renderer and page runtime",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pactor",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@pactor-app/core": "1.
|
|
49
|
-
"@pactor-app/
|
|
50
|
-
"@pactor-app/
|
|
48
|
+
"@pactor-app/core": "1.48.0",
|
|
49
|
+
"@pactor-app/schema": "1.48.0",
|
|
50
|
+
"@pactor-app/expression": "1.48.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">=18"
|