@trdrs/quickcharts 4.0.0 → 5.0.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 (105) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/README.md +325 -79
  3. package/dist/adapters/rest.d.ts +4 -4
  4. package/dist/adapters/rest.js +1 -1
  5. package/dist/adapters/rest.js.map +1 -1
  6. package/dist/ar-TG26ZCCE.js +1322 -0
  7. package/dist/ar-TG26ZCCE.js.map +1 -0
  8. package/dist/{assets-Gg-UquDA.d.ts → assets-DF3nozNV.d.ts} +167 -18
  9. package/dist/ca_ES-WJWH5BXU.js +1322 -0
  10. package/dist/ca_ES-WJWH5BXU.js.map +1 -0
  11. package/dist/{chunk-D3S26ARP.js → chunk-EXJAJZTN.js} +1 -1
  12. package/dist/chunk-EXJAJZTN.js.map +1 -0
  13. package/dist/{chunk-C4MEVUNK.js → chunk-Q3DCXQDW.js} +992 -284
  14. package/dist/chunk-Q3DCXQDW.js.map +1 -0
  15. package/dist/de-SUDTTPQ3.js +1322 -0
  16. package/dist/de-SUDTTPQ3.js.map +1 -0
  17. package/dist/drawings.d.ts +18 -7
  18. package/dist/drawings.js +7 -1
  19. package/dist/es-FOBXUK2X.js +1322 -0
  20. package/dist/es-FOBXUK2X.js.map +1 -0
  21. package/dist/feature-manifest.json +105 -9
  22. package/dist/fr-7KQC4IJH.js +1322 -0
  23. package/dist/fr-7KQC4IJH.js.map +1 -0
  24. package/dist/he_IL-2T6XBA6D.js +1322 -0
  25. package/dist/he_IL-2T6XBA6D.js.map +1 -0
  26. package/dist/id_ID-SI25N57C.js +1322 -0
  27. package/dist/id_ID-SI25N57C.js.map +1 -0
  28. package/dist/index.d.ts +952 -176
  29. package/dist/index.js +11905 -7472
  30. package/dist/index.js.map +1 -1
  31. package/dist/it-PMSTWZDL.js +1322 -0
  32. package/dist/it-PMSTWZDL.js.map +1 -0
  33. package/dist/ja-PABDRAXV.js +1322 -0
  34. package/dist/ja-PABDRAXV.js.map +1 -0
  35. package/dist/ko-JHRYYFCV.js +1322 -0
  36. package/dist/ko-JHRYYFCV.js.map +1 -0
  37. package/dist/ms_MY-U4EE5Q4V.js +1322 -0
  38. package/dist/ms_MY-U4EE5Q4V.js.map +1 -0
  39. package/dist/pl-4HCG3T3J.js +1322 -0
  40. package/dist/pl-4HCG3T3J.js.map +1 -0
  41. package/dist/pt-6LTNN653.js +1322 -0
  42. package/dist/pt-6LTNN653.js.map +1 -0
  43. package/dist/quickcharts.css +627 -208
  44. package/dist/{resources-Le6flcEn.d.ts → resources-XglhzzW0.d.ts} +5 -3
  45. package/dist/rest-openapi.json +16 -11
  46. package/dist/ru-LFHCSDBV.js +1322 -0
  47. package/dist/ru-LFHCSDBV.js.map +1 -0
  48. package/dist/sv-4XVUXYK6.js +1322 -0
  49. package/dist/sv-4XVUXYK6.js.map +1 -0
  50. package/dist/{symbols-6V22WaRX.d.ts → symbols-DdHLHQFC.d.ts} +77 -8
  51. package/dist/symbols.d.ts +1 -1
  52. package/dist/th-WM2PVA24.js +1322 -0
  53. package/dist/th-WM2PVA24.js.map +1 -0
  54. package/dist/theme-manifest.json +105 -21
  55. package/dist/tr-HMAZXSJM.js +1322 -0
  56. package/dist/tr-HMAZXSJM.js.map +1 -0
  57. package/dist/vi-ITFBV5B7.js +1322 -0
  58. package/dist/vi-ITFBV5B7.js.map +1 -0
  59. package/dist/zh-ZGU2RI7K.js +1322 -0
  60. package/dist/zh-ZGU2RI7K.js.map +1 -0
  61. package/dist/zh_TW-PNINSQ6F.js +1322 -0
  62. package/dist/zh_TW-PNINSQ6F.js.map +1 -0
  63. package/package.json +1 -1
  64. package/dist/ar-FXZ5QJUR.js +0 -1178
  65. package/dist/ar-FXZ5QJUR.js.map +0 -1
  66. package/dist/ca_ES-3WVKFBIF.js +0 -1178
  67. package/dist/ca_ES-3WVKFBIF.js.map +0 -1
  68. package/dist/chunk-C4MEVUNK.js.map +0 -1
  69. package/dist/chunk-D3S26ARP.js.map +0 -1
  70. package/dist/de-V72Q3OI7.js +0 -1178
  71. package/dist/de-V72Q3OI7.js.map +0 -1
  72. package/dist/es-CNQ3OJ6E.js +0 -1178
  73. package/dist/es-CNQ3OJ6E.js.map +0 -1
  74. package/dist/fr-5WQBCGR4.js +0 -1178
  75. package/dist/fr-5WQBCGR4.js.map +0 -1
  76. package/dist/he_IL-WXKA77UE.js +0 -1178
  77. package/dist/he_IL-WXKA77UE.js.map +0 -1
  78. package/dist/id_ID-XPBAYSWK.js +0 -1178
  79. package/dist/id_ID-XPBAYSWK.js.map +0 -1
  80. package/dist/it-DR2EBNWX.js +0 -1178
  81. package/dist/it-DR2EBNWX.js.map +0 -1
  82. package/dist/ja-URB2CPXO.js +0 -1178
  83. package/dist/ja-URB2CPXO.js.map +0 -1
  84. package/dist/ko-OE47NYVP.js +0 -1178
  85. package/dist/ko-OE47NYVP.js.map +0 -1
  86. package/dist/ms_MY-BKCFRK2K.js +0 -1178
  87. package/dist/ms_MY-BKCFRK2K.js.map +0 -1
  88. package/dist/pl-3IKQRG3Y.js +0 -1178
  89. package/dist/pl-3IKQRG3Y.js.map +0 -1
  90. package/dist/pt-PZHV5EZE.js +0 -1178
  91. package/dist/pt-PZHV5EZE.js.map +0 -1
  92. package/dist/ru-BAL6RQUV.js +0 -1178
  93. package/dist/ru-BAL6RQUV.js.map +0 -1
  94. package/dist/sv-Y6GBGDHM.js +0 -1178
  95. package/dist/sv-Y6GBGDHM.js.map +0 -1
  96. package/dist/th-MAMLMZKU.js +0 -1178
  97. package/dist/th-MAMLMZKU.js.map +0 -1
  98. package/dist/tr-3LQHINUZ.js +0 -1178
  99. package/dist/tr-3LQHINUZ.js.map +0 -1
  100. package/dist/vi-GR4PSDKP.js +0 -1178
  101. package/dist/vi-GR4PSDKP.js.map +0 -1
  102. package/dist/zh-2RJ5VNAI.js +0 -1178
  103. package/dist/zh-2RJ5VNAI.js.map +0 -1
  104. package/dist/zh_TW-XEBSACHU.js +0 -1178
  105. package/dist/zh_TW-XEBSACHU.js.map +0 -1
@@ -188,9 +188,11 @@ interface LayoutBody {
188
188
  interface DrawingsMeta extends ResourceRef {
189
189
  updatedAt: number;
190
190
  }
191
- type TemplateKind = 'indicator' | 'drawing' | 'palette';
191
+ /** A template family: an indicator's settings, a drawing tool's look, a palette, or the chart
192
+ * settings dialog's settings of a whole chart. */
193
+ type TemplateKind = 'indicator' | 'drawing' | 'palette' | 'chart';
192
194
  /** A named template's listing row. `tool` scopes DRAWING templates to their tool (a trend-line
193
- * template is meaningless on a rectangle); indicator and palette templates carry no tool. */
195
+ * template is meaningless on a rectangle); indicator, palette and chart templates carry no tool. */
194
196
  interface TemplateMeta extends ResourceRef {
195
197
  name: string;
196
198
  tool?: string;
@@ -225,4 +227,4 @@ interface MemoryResourcesOptions {
225
227
  * own store, created on first ask and kept, so two calls for one context see the same document. */
226
228
  declare function memorySaveLoadAdapter(options?: MemoryResourcesOptions): ChartSaveLoadAdapter;
227
229
 
228
- export { type ChartSaveLoadAdapter as C, DRAWING_CONTEXT_VERSION as D, type LayoutSharedDrawingContext as L, type MemoryResourcesOptions as M, type ResourceRef as R, type SymbolGlobalDrawingContext as S, type TemplateBody as T, type WriteOutcome as W, type ChartLocalDrawingContext as a, DRAWING_DOCUMENT_VERSION as b, type DrawingContextKind as c, type DrawingEntry as d, type DrawingGroup as e, type DrawingResourceContext as f, type DrawingTombstone as g, type DrawingsBody as h, type ResourceStore as i, type TemplateMeta as j, drawingContextKey as k, emptyDrawingDocument as l, liveDrawingEntries as m, liveDrawingGroups as n, mergeDrawingDocuments as o, parseDrawingDocument as p, type ChartMeta as q, reviseDrawingDocument as r, sameDrawingContext as s, type ChartBody as t, type DrawingsMeta as u, type LayoutMeta as v, type LayoutBody as w, ResourceAbortError as x, type TemplateKind as y, memorySaveLoadAdapter as z };
230
+ export { type ChartSaveLoadAdapter as C, DRAWING_CONTEXT_VERSION as D, type LayoutSharedDrawingContext as L, type MemoryResourcesOptions as M, type ResourceStore as R, type SymbolGlobalDrawingContext as S, type TemplateMeta as T, type WriteOutcome as W, type TemplateBody as a, type ResourceRef as b, type ChartLocalDrawingContext as c, DRAWING_DOCUMENT_VERSION as d, type DrawingContextKind as e, type DrawingEntry as f, type DrawingGroup as g, type DrawingResourceContext as h, type DrawingTombstone as i, type DrawingsBody as j, drawingContextKey as k, emptyDrawingDocument as l, liveDrawingEntries as m, liveDrawingGroups as n, mergeDrawingDocuments as o, parseDrawingDocument as p, type ChartMeta as q, reviseDrawingDocument as r, sameDrawingContext as s, type ChartBody as t, type DrawingsMeta as u, type LayoutMeta as v, type LayoutBody as w, ResourceAbortError as x, type TemplateKind as y, memorySaveLoadAdapter as z };
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Quick Charts saved resources",
5
- "version": "2",
5
+ "version": "3",
6
6
  "description": "The service contract behind `createRestSaveLoadAdapter` from `@trdrs/quickcharts/adapters/rest`. Every path is relative to the base URL the host configures. Authorization, cookies, CORS, retries and tenancy belong to the host request function, so no path, header or field here carries a credential. Saved charts, layouts, drawing documents and templates share one revisioned rule: a read answers the ref a row stands at, a write quotes that revision in `If-Match`, and a write against a revision the service has moved past answers 409 with the ref that stands."
7
7
  },
8
8
  "servers": [
@@ -854,10 +854,11 @@
854
854
  "enum": [
855
855
  "indicator",
856
856
  "drawing",
857
- "palette"
857
+ "palette",
858
+ "chart"
858
859
  ]
859
860
  },
860
- "description": "Which template collection: appearance palettes, indicator settings, or drawings."
861
+ "description": "Which template collection: palettes, indicator settings, drawings, or chart settings."
861
862
  }
862
863
  ],
863
864
  "responses": {
@@ -888,10 +889,11 @@
888
889
  "enum": [
889
890
  "indicator",
890
891
  "drawing",
891
- "palette"
892
+ "palette",
893
+ "chart"
892
894
  ]
893
895
  },
894
- "description": "Which template collection: appearance palettes, indicator settings, or drawings."
896
+ "description": "Which template collection: palettes, indicator settings, drawings, or chart settings."
895
897
  }
896
898
  ],
897
899
  "requestBody": {
@@ -954,10 +956,11 @@
954
956
  "enum": [
955
957
  "indicator",
956
958
  "drawing",
957
- "palette"
959
+ "palette",
960
+ "chart"
958
961
  ]
959
962
  },
960
- "description": "Which template collection: appearance palettes, indicator settings, or drawings."
963
+ "description": "Which template collection: palettes, indicator settings, drawings, or chart settings."
961
964
  },
962
965
  {
963
966
  "name": "id",
@@ -1006,10 +1009,11 @@
1006
1009
  "enum": [
1007
1010
  "indicator",
1008
1011
  "drawing",
1009
- "palette"
1012
+ "palette",
1013
+ "chart"
1010
1014
  ]
1011
1015
  },
1012
- "description": "Which template collection: appearance palettes, indicator settings, or drawings."
1016
+ "description": "Which template collection: palettes, indicator settings, drawings, or chart settings."
1013
1017
  },
1014
1018
  {
1015
1019
  "name": "id",
@@ -1097,10 +1101,11 @@
1097
1101
  "enum": [
1098
1102
  "indicator",
1099
1103
  "drawing",
1100
- "palette"
1104
+ "palette",
1105
+ "chart"
1101
1106
  ]
1102
1107
  },
1103
- "description": "Which template collection: appearance palettes, indicator settings, or drawings."
1108
+ "description": "Which template collection: palettes, indicator settings, drawings, or chart settings."
1104
1109
  },
1105
1110
  {
1106
1111
  "name": "id",