@dshtrading/client-ui-strategies 0.4.1 → 0.6.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/lib/client.js +59 -59
- package/package.json +5 -5
package/lib/client.js
CHANGED
|
@@ -9984,30 +9984,30 @@ window.__ModuleLoader__.load({
|
|
|
9984
9984
|
document.head.appendChild(tag);
|
|
9985
9985
|
}
|
|
9986
9986
|
var StrategyEditor_module_css_default = {
|
|
9987
|
-
"
|
|
9988
|
-
"
|
|
9989
|
-
"
|
|
9987
|
+
"fieldLabel": "_9mrMhW_fieldLabel",
|
|
9988
|
+
"panel": "_9mrMhW_panel",
|
|
9989
|
+
"panelHeader": "_9mrMhW_panelHeader",
|
|
9990
|
+
"paramRemove": "_9mrMhW_paramRemove",
|
|
9991
|
+
"actionBar": "_9mrMhW_actionBar",
|
|
9992
|
+
"primaryBtn": "_9mrMhW_primaryBtn",
|
|
9990
9993
|
"fieldInput": "_9mrMhW_fieldInput",
|
|
9991
|
-
"formGrid": "_9mrMhW_formGrid",
|
|
9992
|
-
"overlay": "_9mrMhW_overlay",
|
|
9993
9994
|
"field": "_9mrMhW_field",
|
|
9994
|
-
"
|
|
9995
|
-
"
|
|
9996
|
-
"
|
|
9995
|
+
"paramHeadRow": "_9mrMhW_paramHeadRow",
|
|
9996
|
+
"addParamBtn": "_9mrMhW_addParamBtn",
|
|
9997
|
+
"noticeOk": "_9mrMhW_noticeOk",
|
|
9997
9998
|
"closeBtn": "_9mrMhW_closeBtn",
|
|
9998
|
-
"
|
|
9999
|
-
"
|
|
10000
|
-
"
|
|
10001
|
-
"paramRemove": "_9mrMhW_paramRemove",
|
|
9999
|
+
"formGrid": "_9mrMhW_formGrid",
|
|
10000
|
+
"paramTable": "_9mrMhW_paramTable",
|
|
10001
|
+
"noticeError": "_9mrMhW_noticeError",
|
|
10002
10002
|
"actionSpacer": "_9mrMhW_actionSpacer",
|
|
10003
|
+
"secondaryBtn": "_9mrMhW_secondaryBtn",
|
|
10004
|
+
"overlay": "_9mrMhW_overlay",
|
|
10003
10005
|
"columnHeadRow": "_9mrMhW_columnHeadRow",
|
|
10004
|
-
"
|
|
10005
|
-
"
|
|
10006
|
+
"paramCell": "_9mrMhW_paramCell",
|
|
10007
|
+
"columnRow": "_9mrMhW_columnRow",
|
|
10006
10008
|
"panelTitle": "_9mrMhW_panelTitle",
|
|
10007
|
-
"
|
|
10008
|
-
"
|
|
10009
|
-
"secondaryBtn": "_9mrMhW_secondaryBtn",
|
|
10010
|
-
"paramTable": "_9mrMhW_paramTable"
|
|
10009
|
+
"paramRow": "_9mrMhW_paramRow",
|
|
10010
|
+
"sourceArea": "_9mrMhW_sourceArea"
|
|
10011
10011
|
};
|
|
10012
10012
|
//#endregion
|
|
10013
10013
|
//#region src/client/ScreenerEditor.tsx
|
|
@@ -10460,47 +10460,47 @@ window.__ModuleLoader__.load({
|
|
|
10460
10460
|
document.head.appendChild(tag);
|
|
10461
10461
|
}
|
|
10462
10462
|
var StrategyView_module_css_default = {
|
|
10463
|
-
"
|
|
10463
|
+
"tableTitle": "jg958W_tableTitle",
|
|
10464
|
+
"strategyCard": "jg958W_strategyCard",
|
|
10465
|
+
"mgmtRow": "jg958W_mgmtRow",
|
|
10466
|
+
"horizonSelector": "jg958W_horizonSelector",
|
|
10467
|
+
"cardSummary": "jg958W_cardSummary",
|
|
10464
10468
|
"runBtn": "jg958W_runBtn",
|
|
10465
|
-
"
|
|
10466
|
-
"
|
|
10467
|
-
"
|
|
10469
|
+
"progressWrap": "jg958W_progressWrap",
|
|
10470
|
+
"metricsGrid": "jg958W_metricsGrid",
|
|
10471
|
+
"paramGroup": "jg958W_paramGroup",
|
|
10472
|
+
"metricCard": "jg958W_metricCard",
|
|
10473
|
+
"emptyState": "jg958W_emptyState",
|
|
10468
10474
|
"trendUp": "jg958W_trendUp",
|
|
10475
|
+
"emptyIcon": "jg958W_emptyIcon",
|
|
10469
10476
|
"progressFill": "jg958W_progressFill",
|
|
10470
|
-
"
|
|
10471
|
-
"
|
|
10472
|
-
"chartWrapper": "jg958W_chartWrapper",
|
|
10473
|
-
"tableTitle": "jg958W_tableTitle",
|
|
10474
|
-
"horizonBtn": "jg958W_horizonBtn",
|
|
10475
|
-
"cardSummary": "jg958W_cardSummary",
|
|
10476
|
-
"reasonCell": "jg958W_reasonCell",
|
|
10477
|
-
"trendDown": "jg958W_trendDown",
|
|
10477
|
+
"metricLabel": "jg958W_metricLabel",
|
|
10478
|
+
"cardBadge": "jg958W_cardBadge",
|
|
10478
10479
|
"paramLabel": "jg958W_paramLabel",
|
|
10479
|
-
"
|
|
10480
|
-
"
|
|
10480
|
+
"tradesTableWrapper": "jg958W_tradesTableWrapper",
|
|
10481
|
+
"reasonCell": "jg958W_reasonCell",
|
|
10482
|
+
"configBar": "jg958W_configBar",
|
|
10483
|
+
"paramInput": "jg958W_paramInput",
|
|
10481
10484
|
"chartContainer": "jg958W_chartContainer",
|
|
10482
|
-
"
|
|
10483
|
-
"
|
|
10484
|
-
"emptyState": "jg958W_emptyState",
|
|
10485
|
-
"mgmtRow": "jg958W_mgmtRow",
|
|
10486
|
-
"progressWrap": "jg958W_progressWrap",
|
|
10485
|
+
"tableSection": "jg958W_tableSection",
|
|
10486
|
+
"trendDown": "jg958W_trendDown",
|
|
10487
10487
|
"cardActionBtn": "jg958W_cardActionBtn",
|
|
10488
|
-
"
|
|
10489
|
-
"
|
|
10490
|
-
"
|
|
10491
|
-
"
|
|
10492
|
-
"header": "jg958W_header",
|
|
10493
|
-
"metricLabel": "jg958W_metricLabel",
|
|
10494
|
-
"paramGroup": "jg958W_paramGroup",
|
|
10495
|
-
"cardTitle": "jg958W_cardTitle",
|
|
10488
|
+
"tradesTable": "jg958W_tradesTable",
|
|
10489
|
+
"nameCell": "jg958W_nameCell",
|
|
10490
|
+
"tableEmptyCell": "jg958W_tableEmptyCell",
|
|
10491
|
+
"strategyCards": "jg958W_strategyCards",
|
|
10496
10492
|
"symbolValue": "jg958W_symbolValue",
|
|
10497
|
-
"
|
|
10498
|
-
"
|
|
10499
|
-
"
|
|
10493
|
+
"horizonBtn": "jg958W_horizonBtn",
|
|
10494
|
+
"header": "jg958W_header",
|
|
10495
|
+
"cardActions": "jg958W_cardActions",
|
|
10500
10496
|
"cardTitleRow": "jg958W_cardTitleRow",
|
|
10501
|
-
"
|
|
10502
|
-
"
|
|
10503
|
-
"
|
|
10497
|
+
"metricValue": "jg958W_metricValue",
|
|
10498
|
+
"cardTitle": "jg958W_cardTitle",
|
|
10499
|
+
"scanMeta": "jg958W_scanMeta",
|
|
10500
|
+
"chartWrapper": "jg958W_chartWrapper",
|
|
10501
|
+
"newStrategyBtn": "jg958W_newStrategyBtn",
|
|
10502
|
+
"root": "jg958W_root",
|
|
10503
|
+
"errorMessage": "jg958W_errorMessage"
|
|
10504
10504
|
};
|
|
10505
10505
|
//#endregion
|
|
10506
10506
|
//#region src/client/ScreenerPane.tsx
|
|
@@ -12105,18 +12105,18 @@ window.__ModuleLoader__.load({
|
|
|
12105
12105
|
document.head.appendChild(tag);
|
|
12106
12106
|
}
|
|
12107
12107
|
var toolview_module_css_default = {
|
|
12108
|
-
"card": "MbbyQa_card",
|
|
12109
12108
|
"title": "MbbyQa_title",
|
|
12110
|
-
"chip": "MbbyQa_chip",
|
|
12111
|
-
"spark": "MbbyQa_spark",
|
|
12112
|
-
"metric": "MbbyQa_metric",
|
|
12113
|
-
"metricLabel": "MbbyQa_metricLabel",
|
|
12114
|
-
"params": "MbbyQa_params",
|
|
12115
12109
|
"meta": "MbbyQa_meta",
|
|
12110
|
+
"metricLabel": "MbbyQa_metricLabel",
|
|
12111
|
+
"reason": "MbbyQa_reason",
|
|
12112
|
+
"card": "MbbyQa_card",
|
|
12113
|
+
"metric": "MbbyQa_metric",
|
|
12114
|
+
"spark": "MbbyQa_spark",
|
|
12115
|
+
"chip": "MbbyQa_chip",
|
|
12116
|
+
"head": "MbbyQa_head",
|
|
12116
12117
|
"metrics": "MbbyQa_metrics",
|
|
12117
12118
|
"metricValue": "MbbyQa_metricValue",
|
|
12118
|
-
"
|
|
12119
|
-
"reason": "MbbyQa_reason"
|
|
12119
|
+
"params": "MbbyQa_params"
|
|
12120
12120
|
};
|
|
12121
12121
|
//#endregion
|
|
12122
12122
|
//#region src/client/toolview.tsx
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dshtrading/client-ui-strategies",
|
|
3
3
|
"description": "Strategy stage view plugin for dsh-trading (issue #34 / P5): registers the 中栏「策略」tab via the tradingStageViews service — horizon segmented control, strategy cards, backtest runner with equity curve and trade log. Engine comes from the @dshtrading/strategies pure library; bridge access goes through the shell's tradingBridge service (ctx.inject only, no cross-package module imports).",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lightweight-charts": "^5.2.1",
|
|
29
|
-
"@dshtrading/strategies": "^0.
|
|
29
|
+
"@dshtrading/strategies": "^0.6.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@deepseek-ai/cordis": ">=4.0.0",
|
|
33
|
-
"@deepseek-ai/dsh-client-locale": ">=0.
|
|
34
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.
|
|
33
|
+
"@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.2",
|
|
34
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.2.0-rc.2",
|
|
35
35
|
"@types/react": "~18.3.1",
|
|
36
36
|
"react": "^18.2.0"
|
|
37
37
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"tsdown": "^0.22.0",
|
|
48
48
|
"typescript": "^5.5.0",
|
|
49
49
|
"vitest": "^3.0.0",
|
|
50
|
-
"@deepseek-ai/dsh-client-ui-tool": "0.
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-tool": "0.2.0-rc.2"
|
|
51
51
|
},
|
|
52
52
|
"dsh": {
|
|
53
53
|
"client": {
|