@dshtrading/client-ui-strategies 0.2.0 → 0.2.1

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