@dshtrading/client-ui-strategies 0.6.1 → 0.6.2

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