@dshtrading/client-ui-strategies 0.4.0 → 0.5.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.
Files changed (2) hide show
  1. package/lib/client.js +53 -53
  2. 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
- "panel": "_9mrMhW_panel",
9987
+ "fieldInput": "_9mrMhW_fieldInput",
9988
9988
  "noticeError": "_9mrMhW_noticeError",
9989
- "closeBtn": "_9mrMhW_closeBtn",
9990
- "primaryBtn": "_9mrMhW_primaryBtn",
9991
- "columnRow": "_9mrMhW_columnRow",
9992
- "panelHeader": "_9mrMhW_panelHeader",
9993
- "overlay": "_9mrMhW_overlay",
9989
+ "noticeOk": "_9mrMhW_noticeOk",
9990
+ "secondaryBtn": "_9mrMhW_secondaryBtn",
9994
9991
  "paramCell": "_9mrMhW_paramCell",
9995
- "actionSpacer": "_9mrMhW_actionSpacer",
9996
- "paramRemove": "_9mrMhW_paramRemove",
9992
+ "addParamBtn": "_9mrMhW_addParamBtn",
9993
+ "panel": "_9mrMhW_panel",
9997
9994
  "field": "_9mrMhW_field",
9998
- "paramHeadRow": "_9mrMhW_paramHeadRow",
9999
- "paramRow": "_9mrMhW_paramRow",
10000
- "actionBar": "_9mrMhW_actionBar",
10001
- "formGrid": "_9mrMhW_formGrid",
10002
- "secondaryBtn": "_9mrMhW_secondaryBtn",
10003
- "fieldInput": "_9mrMhW_fieldInput",
9995
+ "primaryBtn": "_9mrMhW_primaryBtn",
10004
9996
  "panelTitle": "_9mrMhW_panelTitle",
10005
- "columnHeadRow": "_9mrMhW_columnHeadRow",
10006
- "noticeOk": "_9mrMhW_noticeOk",
9997
+ "formGrid": "_9mrMhW_formGrid",
10007
9998
  "fieldLabel": "_9mrMhW_fieldLabel",
9999
+ "panelHeader": "_9mrMhW_panelHeader",
10000
+ "actionBar": "_9mrMhW_actionBar",
10001
+ "columnHeadRow": "_9mrMhW_columnHeadRow",
10002
+ "paramRow": "_9mrMhW_paramRow",
10008
10003
  "sourceArea": "_9mrMhW_sourceArea",
10004
+ "paramHeadRow": "_9mrMhW_paramHeadRow",
10005
+ "columnRow": "_9mrMhW_columnRow",
10006
+ "actionSpacer": "_9mrMhW_actionSpacer",
10009
10007
  "paramTable": "_9mrMhW_paramTable",
10010
- "addParamBtn": "_9mrMhW_addParamBtn"
10008
+ "closeBtn": "_9mrMhW_closeBtn",
10009
+ "paramRemove": "_9mrMhW_paramRemove",
10010
+ "overlay": "_9mrMhW_overlay"
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
+ "errorMessage": "jg958W_errorMessage",
10464
+ "chartContainer": "jg958W_chartContainer",
10465
+ "symbolValue": "jg958W_symbolValue",
10466
+ "cardActions": "jg958W_cardActions",
10467
+ "mgmtRow": "jg958W_mgmtRow",
10463
10468
  "chartWrapper": "jg958W_chartWrapper",
10469
+ "cardBadge": "jg958W_cardBadge",
10464
10470
  "horizonBtn": "jg958W_horizonBtn",
10465
- "tableEmptyCell": "jg958W_tableEmptyCell",
10466
10471
  "paramInput": "jg958W_paramInput",
10467
- "cardActions": "jg958W_cardActions",
10468
- "header": "jg958W_header",
10469
- "chartContainer": "jg958W_chartContainer",
10472
+ "paramGroup": "jg958W_paramGroup",
10473
+ "metricValue": "jg958W_metricValue",
10474
+ "root": "jg958W_root",
10475
+ "progressWrap": "jg958W_progressWrap",
10476
+ "tableTitle": "jg958W_tableTitle",
10477
+ "trendDown": "jg958W_trendDown",
10478
+ "scanMeta": "jg958W_scanMeta",
10479
+ "runBtn": "jg958W_runBtn",
10470
10480
  "tableSection": "jg958W_tableSection",
10471
- "cardBadge": "jg958W_cardBadge",
10472
- "strategyCard": "jg958W_strategyCard",
10473
10481
  "metricCard": "jg958W_metricCard",
10474
- "paramGroup": "jg958W_paramGroup",
10475
- "reasonCell": "jg958W_reasonCell",
10476
- "tradesTableWrapper": "jg958W_tradesTableWrapper",
10477
- "symbolValue": "jg958W_symbolValue",
10478
- "errorMessage": "jg958W_errorMessage",
10479
- "trendUp": "jg958W_trendUp",
10480
- "nameCell": "jg958W_nameCell",
10481
- "newStrategyBtn": "jg958W_newStrategyBtn",
10482
- "cardTitleRow": "jg958W_cardTitleRow",
10482
+ "horizonSelector": "jg958W_horizonSelector",
10483
10483
  "tradesTable": "jg958W_tradesTable",
10484
+ "metricLabel": "jg958W_metricLabel",
10484
10485
  "cardTitle": "jg958W_cardTitle",
10486
+ "cardTitleRow": "jg958W_cardTitleRow",
10485
10487
  "cardActionBtn": "jg958W_cardActionBtn",
10486
- "emptyState": "jg958W_emptyState",
10488
+ "paramLabel": "jg958W_paramLabel",
10487
10489
  "emptyIcon": "jg958W_emptyIcon",
10488
- "root": "jg958W_root",
10489
- "scanMeta": "jg958W_scanMeta",
10490
10490
  "strategyCards": "jg958W_strategyCards",
10491
- "paramLabel": "jg958W_paramLabel",
10492
- "metricLabel": "jg958W_metricLabel",
10493
- "progressWrap": "jg958W_progressWrap",
10494
- "mgmtRow": "jg958W_mgmtRow",
10495
- "horizonSelector": "jg958W_horizonSelector",
10496
- "runBtn": "jg958W_runBtn",
10497
- "trendDown": "jg958W_trendDown",
10498
- "cardSummary": "jg958W_cardSummary",
10499
- "tableTitle": "jg958W_tableTitle",
10500
- "metricsGrid": "jg958W_metricsGrid",
10501
10491
  "configBar": "jg958W_configBar",
10492
+ "cardSummary": "jg958W_cardSummary",
10493
+ "tradesTableWrapper": "jg958W_tradesTableWrapper",
10494
+ "nameCell": "jg958W_nameCell",
10495
+ "strategyCard": "jg958W_strategyCard",
10496
+ "reasonCell": "jg958W_reasonCell",
10497
+ "newStrategyBtn": "jg958W_newStrategyBtn",
10498
+ "header": "jg958W_header",
10499
+ "emptyState": "jg958W_emptyState",
10500
+ "tableEmptyCell": "jg958W_tableEmptyCell",
10501
+ "trendUp": "jg958W_trendUp",
10502
10502
  "progressFill": "jg958W_progressFill",
10503
- "metricValue": "jg958W_metricValue"
10503
+ "metricsGrid": "jg958W_metricsGrid"
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
- "metricValue": "MbbyQa_metricValue",
12109
- "metrics": "MbbyQa_metrics",
12110
12108
  "meta": "MbbyQa_meta",
12109
+ "params": "MbbyQa_params",
12111
12110
  "title": "MbbyQa_title",
12112
- "card": "MbbyQa_card",
12111
+ "reason": "MbbyQa_reason",
12112
+ "metricValue": "MbbyQa_metricValue",
12113
+ "metric": "MbbyQa_metric",
12113
12114
  "chip": "MbbyQa_chip",
12114
- "metricLabel": "MbbyQa_metricLabel",
12115
+ "metrics": "MbbyQa_metrics",
12115
12116
  "spark": "MbbyQa_spark",
12116
- "reason": "MbbyQa_reason",
12117
+ "card": "MbbyQa_card",
12117
12118
  "head": "MbbyQa_head",
12118
- "params": "MbbyQa_params",
12119
- "metric": "MbbyQa_metric"
12119
+ "metricLabel": "MbbyQa_metricLabel"
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.0",
4
+ "version": "0.5.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.4.0"
29
+ "@dshtrading/strategies": "^0.5.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@deepseek-ai/cordis": ">=4.0.0",
33
- "@deepseek-ai/dsh-client-locale": ">=0.1.5-rc.1",
34
- "@deepseek-ai/dsh-client-ui-slots": ">=0.1.5-rc.1",
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.1.5-rc.1"
50
+ "@deepseek-ai/dsh-client-ui-tool": "0.2.0-rc.2"
51
51
  },
52
52
  "dsh": {
53
53
  "client": {