@wcardinal/wcardinal-ui 0.383.0 → 0.384.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 (322) hide show
  1. package/dist/types/wcardinal/ui/d-align-horizontal.d.ts +1 -1
  2. package/dist/types/wcardinal/ui/d-align-vertical.d.ts +1 -1
  3. package/dist/types/wcardinal/ui/d-align-with.d.ts +1 -1
  4. package/dist/types/wcardinal/ui/d-button-base-when.d.ts +1 -1
  5. package/dist/types/wcardinal/ui/d-chart-axis-position.d.ts +1 -1
  6. package/dist/types/wcardinal/ui/d-chart-axis-tick-position.d.ts +1 -1
  7. package/dist/types/wcardinal/ui/d-chart-coordinate-direction.d.ts +1 -1
  8. package/dist/types/wcardinal/ui/d-chart-selection.d.ts +1 -1
  9. package/dist/types/wcardinal/ui/d-color-type.d.ts +1 -1
  10. package/dist/types/wcardinal/ui/d-dialog-gesture-mode.d.ts +1 -1
  11. package/dist/types/wcardinal/ui/d-dialog-mode.d.ts +1 -1
  12. package/dist/types/wcardinal/ui/d-dynamic-text-style-word-wrap.d.ts +1 -1
  13. package/dist/types/wcardinal/ui/d-layout-direction.d.ts +1 -1
  14. package/dist/types/wcardinal/ui/d-link-menu-item-id.d.ts +1 -1
  15. package/dist/types/wcardinal/ui/d-link-target.d.ts +1 -1
  16. package/dist/types/wcardinal/ui/d-list-data-selection.d.ts +1 -1
  17. package/dist/types/wcardinal/ui/d-menu-sided-selection.d.ts +1 -1
  18. package/dist/types/wcardinal/ui/d-picker-color.d.ts +1 -0
  19. package/dist/types/wcardinal/ui/d-scalar-expression.d.ts +1 -1
  20. package/dist/types/wcardinal/ui/d-table-column-type.d.ts +1 -1
  21. package/dist/types/wcardinal/ui/d-table-column-update.d.ts +1 -1
  22. package/dist/types/wcardinal/ui/d-table-data-selection.d.ts +1 -1
  23. package/dist/types/wcardinal/ui/d-table-data-sorter.d.ts +1 -1
  24. package/dist/types/wcardinal/ui/d-tree-data-selection.d.ts +1 -1
  25. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-blink-type.d.ts +1 -1
  26. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color-target.d.ts +1 -1
  27. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color-type-legacy.d.ts +1 -1
  28. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-text-type.d.ts +1 -1
  29. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-gesture-type.d.ts +1 -1
  30. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-misc-type.d.ts +1 -1
  31. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-on-input-action.d.ts +1 -1
  32. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-show-hide-type.d.ts +1 -1
  33. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-move-type.d.ts +1 -1
  34. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-resize-type.d.ts +1 -1
  35. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate-type.d.ts +1 -1
  36. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-type.d.ts +1 -1
  37. package/dist/types/wcardinal/ui/shape/e-shape-acceptor-edge-side.d.ts +1 -1
  38. package/dist/types/wcardinal/ui/shape/e-shape-acceptor-edge-type.d.ts +1 -1
  39. package/dist/types/wcardinal/ui/shape/e-shape-acceptor-type.d.ts +1 -1
  40. package/dist/types/wcardinal/ui/shape/e-shape-data-value-order.d.ts +1 -1
  41. package/dist/types/wcardinal/ui/shape/e-shape-data-value-scope.d.ts +1 -1
  42. package/dist/types/wcardinal/ui/shape/e-shape-points-marker-type.d.ts +1 -1
  43. package/dist/types/wcardinal/ui/shape/e-shape-resource-manager-deserialization-mode.d.ts +1 -1
  44. package/dist/types/wcardinal/ui/shape/e-shape-runtime-reset.d.ts +1 -1
  45. package/dist/types/wcardinal/ui/shape/e-shape-stroke-side.d.ts +1 -1
  46. package/dist/types/wcardinal/ui/shape/e-shape-text-align-horizontal.d.ts +1 -1
  47. package/dist/types/wcardinal/ui/shape/e-shape-text-align-vertical.d.ts +1 -1
  48. package/dist/types/wcardinal/ui/shape/e-shape-text-direction.d.ts +1 -1
  49. package/dist/types/wcardinal/ui/shape/e-shape-text.d.ts +2 -2
  50. package/dist/types/wcardinal/ui/shape/variant/e-shape-bar-position.d.ts +1 -1
  51. package/dist/types/wcardinal/ui/shape/variant/e-shape-line-base-hit-part.d.ts +1 -1
  52. package/dist/types/wcardinal/ui/snapper/e-snapper-target-value.d.ts +1 -1
  53. package/dist/types/wcardinal/ui/snapper/e-snapper.d.ts +1 -1
  54. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-en-us-picker-color.d.ts +5 -0
  55. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-picker-color.d.ts +5 -0
  56. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-color.d.ts +3 -1
  57. package/dist/types/wcardinal/ui/theme/dark/index-en-us.d.ts +1 -0
  58. package/dist/types/wcardinal/ui/theme/dark/index-ja-jp.d.ts +1 -0
  59. package/dist/types/wcardinal/ui/theme/dark/load/index-en-us.d.ts +6 -0
  60. package/dist/types/wcardinal/ui/theme/dark/load/index-ja-jp.d.ts +6 -0
  61. package/dist/types/wcardinal/ui/theme/dark/load/index-zz-zz.d.ts +0 -6
  62. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color-gradient.d.ts +1 -0
  63. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color.d.ts +1 -0
  64. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color-gradient.d.ts +1 -0
  65. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color.d.ts +1 -0
  66. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color-gradient.d.ts +1 -0
  67. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color.d.ts +1 -0
  68. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color-gradient.d.ts +1 -0
  69. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color.d.ts +1 -0
  70. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color-gradient.d.ts +1 -0
  71. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color.d.ts +1 -0
  72. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color-gradient.d.ts +1 -0
  73. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color.d.ts +1 -0
  74. package/dist/types/wcardinal/ui/theme/white/d-theme-white-en-us-picker-color.d.ts +5 -0
  75. package/dist/types/wcardinal/ui/theme/white/d-theme-white-ja-jp-picker-color.d.ts +5 -0
  76. package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-color.d.ts +3 -1
  77. package/dist/types/wcardinal/ui/theme/white/index-en-us.d.ts +1 -0
  78. package/dist/types/wcardinal/ui/theme/white/index-ja-jp.d.ts +1 -0
  79. package/dist/types/wcardinal/ui/theme/white/load/index-en-us.d.ts +6 -0
  80. package/dist/types/wcardinal/ui/theme/white/load/index-ja-jp.d.ts +6 -0
  81. package/dist/types/wcardinal/ui/theme/white/load/index-zz-zz.d.ts +0 -6
  82. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color-gradient.d.ts +1 -0
  83. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color.d.ts +1 -0
  84. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color-gradient.d.ts +1 -0
  85. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color.d.ts +1 -0
  86. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color-gradient.d.ts +1 -0
  87. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color.d.ts +1 -0
  88. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color-gradient.d.ts +1 -0
  89. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color.d.ts +1 -0
  90. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color-gradient.d.ts +1 -0
  91. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color.d.ts +1 -0
  92. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color-gradient.d.ts +1 -0
  93. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color.d.ts +1 -0
  94. package/dist/types/wcardinal/ui/util/util-attach.d.ts +1 -1
  95. package/dist/types/wcardinal/ui/util/util-file-opener.d.ts +1 -1
  96. package/dist/types/wcardinal/ui/util/util-gesture-mode.d.ts +1 -1
  97. package/dist/types/wcardinal/ui/util/util-html-element-when.d.ts +1 -1
  98. package/dist/wcardinal/ui/d-align-horizontal.js.map +1 -1
  99. package/dist/wcardinal/ui/d-align-vertical.js.map +1 -1
  100. package/dist/wcardinal/ui/d-align-with.js.map +1 -1
  101. package/dist/wcardinal/ui/d-button-base-when.js.map +1 -1
  102. package/dist/wcardinal/ui/d-chart-axis-position.js.map +1 -1
  103. package/dist/wcardinal/ui/d-chart-axis-tick-position.js.map +1 -1
  104. package/dist/wcardinal/ui/d-chart-coordinate-direction.js.map +1 -1
  105. package/dist/wcardinal/ui/d-chart-selection.js.map +1 -1
  106. package/dist/wcardinal/ui/d-color-type.js.map +1 -1
  107. package/dist/wcardinal/ui/d-diagram-canvas-tile.js.map +1 -1
  108. package/dist/wcardinal/ui/d-dialog-gesture-mode.js.map +1 -1
  109. package/dist/wcardinal/ui/d-dialog-layered-header-button-close.js.map +1 -1
  110. package/dist/wcardinal/ui/d-dialog-layered-header-separator.js.map +1 -1
  111. package/dist/wcardinal/ui/d-dialog-mode.js.map +1 -1
  112. package/dist/wcardinal/ui/d-dynamic-text-style-word-wrap.js.map +1 -1
  113. package/dist/wcardinal/ui/d-layout-direction.js.map +1 -1
  114. package/dist/wcardinal/ui/d-link-menu-item-id.js.map +1 -1
  115. package/dist/wcardinal/ui/d-link-target.js.map +1 -1
  116. package/dist/wcardinal/ui/d-list-data-selection.js.map +1 -1
  117. package/dist/wcardinal/ui/d-menu-sided-selection.js.map +1 -1
  118. package/dist/wcardinal/ui/d-pagination-button-previous.js.map +1 -1
  119. package/dist/wcardinal/ui/d-picker-color.js +2 -2
  120. package/dist/wcardinal/ui/d-picker-color.js.map +1 -1
  121. package/dist/wcardinal/ui/d-scalar-expression.js.map +1 -1
  122. package/dist/wcardinal/ui/d-table-body-cell-input-tree-input.js.map +1 -1
  123. package/dist/wcardinal/ui/d-table-body-cell-input-tree-marker.js.map +1 -1
  124. package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
  125. package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js.map +1 -1
  126. package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
  127. package/dist/wcardinal/ui/d-table-column-type.js.map +1 -1
  128. package/dist/wcardinal/ui/d-table-column-update.js.map +1 -1
  129. package/dist/wcardinal/ui/d-table-column.js.map +1 -1
  130. package/dist/wcardinal/ui/d-table-data-selection.js.map +1 -1
  131. package/dist/wcardinal/ui/d-table-data-sorter.js.map +1 -1
  132. package/dist/wcardinal/ui/d-tree-data-selection.js.map +1 -1
  133. package/dist/wcardinal/ui/shape/action/e-shape-action-value-blink-type.js.map +1 -1
  134. package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-target.js.map +1 -1
  135. package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-type-legacy.js.map +1 -1
  136. package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-text-type.js.map +1 -1
  137. package/dist/wcardinal/ui/shape/action/e-shape-action-value-gesture-type.js.map +1 -1
  138. package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-type.js.map +1 -1
  139. package/dist/wcardinal/ui/shape/action/e-shape-action-value-on-input-action.js.map +1 -1
  140. package/dist/wcardinal/ui/shape/action/e-shape-action-value-show-hide-type.js.map +1 -1
  141. package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-move-type.js.map +1 -1
  142. package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-resize-type.js.map +1 -1
  143. package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate-type.js.map +1 -1
  144. package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-type.js.map +1 -1
  145. package/dist/wcardinal/ui/shape/e-shape-acceptor-edge-side.js.map +1 -1
  146. package/dist/wcardinal/ui/shape/e-shape-acceptor-edge-type.js.map +1 -1
  147. package/dist/wcardinal/ui/shape/e-shape-acceptor-type.js.map +1 -1
  148. package/dist/wcardinal/ui/shape/e-shape-data-value-order.js.map +1 -1
  149. package/dist/wcardinal/ui/shape/e-shape-data-value-scope.js.map +1 -1
  150. package/dist/wcardinal/ui/shape/e-shape-points-marker-type.js.map +1 -1
  151. package/dist/wcardinal/ui/shape/e-shape-resource-manager-deserialization-mode.js.map +1 -1
  152. package/dist/wcardinal/ui/shape/e-shape-runtime-reset.js.map +1 -1
  153. package/dist/wcardinal/ui/shape/e-shape-stroke-side.js.map +1 -1
  154. package/dist/wcardinal/ui/shape/e-shape-text-align-horizontal.js.map +1 -1
  155. package/dist/wcardinal/ui/shape/e-shape-text-align-vertical.js.map +1 -1
  156. package/dist/wcardinal/ui/shape/e-shape-text-direction.js.map +1 -1
  157. package/dist/wcardinal/ui/shape/e-shape-text.js.map +1 -1
  158. package/dist/wcardinal/ui/shape/variant/e-shape-bar-position.js.map +1 -1
  159. package/dist/wcardinal/ui/shape/variant/e-shape-line-base-hit-part.js.map +1 -1
  160. package/dist/wcardinal/ui/snapper/e-snapper-target-value.js.map +1 -1
  161. package/dist/wcardinal/ui/snapper/e-snapper.js.map +1 -1
  162. package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-picker-color.js +24 -0
  163. package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-picker-color.js.map +1 -0
  164. package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-picker-color.js +24 -0
  165. package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-picker-color.js.map +1 -0
  166. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
  167. package/dist/wcardinal/ui/theme/dark/index-en-us.js +1 -0
  168. package/dist/wcardinal/ui/theme/dark/index-en-us.js.map +1 -1
  169. package/dist/wcardinal/ui/theme/dark/index-ja-jp.js +1 -0
  170. package/dist/wcardinal/ui/theme/dark/index-ja-jp.js.map +1 -1
  171. package/dist/wcardinal/ui/theme/dark/load/index-en-us.js +6 -0
  172. package/dist/wcardinal/ui/theme/dark/load/index-en-us.js.map +1 -1
  173. package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js +6 -0
  174. package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js.map +1 -1
  175. package/dist/wcardinal/ui/theme/dark/load/index-zz-zz.js +0 -6
  176. package/dist/wcardinal/ui/theme/dark/load/index-zz-zz.js.map +1 -1
  177. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js +4 -4
  178. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js.map +1 -1
  179. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-all.js +4 -4
  180. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-all.js.map +1 -1
  181. package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-button-color-gradient.js → load-theme-dark-en-us-button-color-gradient.js} +4 -4
  182. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color-gradient.js.map +1 -0
  183. package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-button-color.js → load-theme-dark-en-us-button-color.js} +4 -4
  184. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color.js.map +1 -0
  185. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-all.js +4 -4
  186. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-all.js.map +1 -1
  187. package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-dialog-color-gradient.js → load-theme-dark-en-us-dialog-color-gradient.js} +4 -4
  188. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color-gradient.js.map +1 -0
  189. package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-dialog-color.js → load-theme-dark-en-us-dialog-color.js} +4 -4
  190. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color.js.map +1 -0
  191. package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-picker-color-gradient.js → load-theme-dark-en-us-picker-color-gradient.js} +4 -4
  192. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color-gradient.js.map +1 -0
  193. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color.js +10 -0
  194. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color.js.map +1 -0
  195. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-table.js +2 -2
  196. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-table.js.map +1 -1
  197. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js +4 -4
  198. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js.map +1 -1
  199. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-all.js +4 -4
  200. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-all.js.map +1 -1
  201. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color-gradient.js +12 -0
  202. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color-gradient.js.map +1 -0
  203. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color.js +12 -0
  204. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color.js.map +1 -0
  205. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-all.js +4 -4
  206. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-all.js.map +1 -1
  207. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color-gradient.js +12 -0
  208. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color-gradient.js.map +1 -0
  209. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color.js +12 -0
  210. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color.js.map +1 -0
  211. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color-gradient.js +12 -0
  212. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color-gradient.js.map +1 -0
  213. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color.js +10 -0
  214. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color.js.map +1 -0
  215. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-table.js +2 -2
  216. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-table.js.map +1 -1
  217. package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-picker-color.js +24 -0
  218. package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-picker-color.js.map +1 -0
  219. package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-picker-color.js +24 -0
  220. package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-picker-color.js.map +1 -0
  221. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
  222. package/dist/wcardinal/ui/theme/white/index-en-us.js +1 -0
  223. package/dist/wcardinal/ui/theme/white/index-en-us.js.map +1 -1
  224. package/dist/wcardinal/ui/theme/white/index-ja-jp.js +1 -0
  225. package/dist/wcardinal/ui/theme/white/index-ja-jp.js.map +1 -1
  226. package/dist/wcardinal/ui/theme/white/load/index-en-us.js +6 -0
  227. package/dist/wcardinal/ui/theme/white/load/index-en-us.js.map +1 -1
  228. package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js +6 -0
  229. package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js.map +1 -1
  230. package/dist/wcardinal/ui/theme/white/load/index-zz-zz.js +0 -6
  231. package/dist/wcardinal/ui/theme/white/load/index-zz-zz.js.map +1 -1
  232. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js +4 -4
  233. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js.map +1 -1
  234. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-all.js +4 -4
  235. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-all.js.map +1 -1
  236. package/dist/wcardinal/ui/theme/white/load/{load-theme-white-button-color-gradient.js → load-theme-white-en-us-button-color-gradient.js} +4 -4
  237. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color-gradient.js.map +1 -0
  238. package/dist/wcardinal/ui/theme/white/load/{load-theme-white-button-color.js → load-theme-white-en-us-button-color.js} +4 -4
  239. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color.js.map +1 -0
  240. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-all.js +4 -4
  241. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-all.js.map +1 -1
  242. package/dist/wcardinal/ui/theme/white/load/{load-theme-white-dialog-color-gradient.js → load-theme-white-en-us-dialog-color-gradient.js} +4 -4
  243. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color-gradient.js.map +1 -0
  244. package/dist/wcardinal/ui/theme/white/load/{load-theme-white-dialog-color.js → load-theme-white-en-us-dialog-color.js} +4 -4
  245. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color.js.map +1 -0
  246. package/dist/wcardinal/ui/theme/white/load/{load-theme-white-picker-color-gradient.js → load-theme-white-en-us-picker-color-gradient.js} +4 -4
  247. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color-gradient.js.map +1 -0
  248. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color.js +10 -0
  249. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color.js.map +1 -0
  250. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-table.js +2 -2
  251. package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-table.js.map +1 -1
  252. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js +4 -4
  253. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js.map +1 -1
  254. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-all.js +4 -4
  255. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-all.js.map +1 -1
  256. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color-gradient.js +12 -0
  257. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color-gradient.js.map +1 -0
  258. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color.js +12 -0
  259. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color.js.map +1 -0
  260. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-all.js +4 -4
  261. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-all.js.map +1 -1
  262. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color-gradient.js +12 -0
  263. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color-gradient.js.map +1 -0
  264. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color.js +12 -0
  265. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color.js.map +1 -0
  266. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color-gradient.js +12 -0
  267. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color-gradient.js.map +1 -0
  268. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color.js +10 -0
  269. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color.js.map +1 -0
  270. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-table.js +2 -2
  271. package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-table.js.map +1 -1
  272. package/dist/wcardinal/ui/util/util-attach.js.map +1 -1
  273. package/dist/wcardinal/ui/util/util-file-opener.js.map +1 -1
  274. package/dist/wcardinal/ui/util/util-gesture-mode.js.map +1 -1
  275. package/dist/wcardinal/ui/util/util-html-element-when.js.map +1 -1
  276. package/dist/wcardinal-ui-theme-dark-en-us.js +1464 -1441
  277. package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
  278. package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
  279. package/dist/wcardinal-ui-theme-dark-ja-jp.js +1464 -1441
  280. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
  281. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
  282. package/dist/wcardinal-ui-theme-dark.js +1464 -1441
  283. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  284. package/dist/wcardinal-ui-theme-white-en-us.js +1361 -1338
  285. package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
  286. package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
  287. package/dist/wcardinal-ui-theme-white-ja-jp.js +1361 -1338
  288. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
  289. package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
  290. package/dist/wcardinal-ui-theme-white.js +1361 -1338
  291. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  292. package/dist/wcardinal-ui.cjs.js +2863 -2661
  293. package/dist/wcardinal-ui.js +3 -3
  294. package/dist/wcardinal-ui.min.js +2 -2
  295. package/dist/wcardinal-ui.min.js.map +1 -1
  296. package/package.json +1 -1
  297. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-button-color-gradient.d.ts +0 -1
  298. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-button-color.d.ts +0 -1
  299. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color-gradient.d.ts +0 -1
  300. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color.d.ts +0 -1
  301. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color-gradient.d.ts +0 -1
  302. package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color.d.ts +0 -1
  303. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-button-color-gradient.d.ts +0 -1
  304. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-button-color.d.ts +0 -1
  305. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-dialog-color-gradient.d.ts +0 -1
  306. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-dialog-color.d.ts +0 -1
  307. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-picker-color-gradient.d.ts +0 -1
  308. package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-picker-color.d.ts +0 -1
  309. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-button-color-gradient.js.map +0 -1
  310. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-button-color.js.map +0 -1
  311. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color-gradient.js.map +0 -1
  312. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color.js.map +0 -1
  313. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color-gradient.js.map +0 -1
  314. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color.js +0 -10
  315. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color.js.map +0 -1
  316. package/dist/wcardinal/ui/theme/white/load/load-theme-white-button-color-gradient.js.map +0 -1
  317. package/dist/wcardinal/ui/theme/white/load/load-theme-white-button-color.js.map +0 -1
  318. package/dist/wcardinal/ui/theme/white/load/load-theme-white-dialog-color-gradient.js.map +0 -1
  319. package/dist/wcardinal/ui/theme/white/load/load-theme-white-dialog-color.js.map +0 -1
  320. package/dist/wcardinal/ui/theme/white/load/load-theme-white-picker-color-gradient.js.map +0 -1
  321. package/dist/wcardinal/ui/theme/white/load/load-theme-white-picker-color.js +0 -10
  322. package/dist/wcardinal/ui/theme/white/load/load-theme-white-picker-color.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.383.0
2
+ Winter Cardinal UI v0.384.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -781,7 +781,53 @@
781
781
  DThemeDark.set("DButtonCheck", DThemeDarkButtonCheck);
782
782
  };
783
783
 
784
- const DColorGradientObservable = wcardinal.ui.DColorGradientObservable;
784
+ /*
785
+ * Copyright (C) 2019 Toshiba Corporation
786
+ * SPDX-License-Identifier: Apache-2.0
787
+ */
788
+ var DThemeDarkButtonDanger = /** @class */ (function (_super) {
789
+ __extends(DThemeDarkButtonDanger, _super);
790
+ function DThemeDarkButtonDanger() {
791
+ return _super.call(this, 0xef9a9a, 0.1, 0.2) || this;
792
+ }
793
+ DThemeDarkButtonDanger.prototype.getBackgroundColor = function (state) {
794
+ if (state.inDisabled) {
795
+ return null;
796
+ }
797
+ else if (state.isPressed || state.isActive) {
798
+ return this.BACKGROUND_COLOR_PRESSED;
799
+ }
800
+ else if (state.isHovered) {
801
+ return this.BACKGROUND_COLOR_HOVERED;
802
+ }
803
+ else {
804
+ return this.BACKGROUND_COLOR;
805
+ }
806
+ };
807
+ DThemeDarkButtonDanger.prototype.getOutlineColor = function (state) {
808
+ return this.getOutlineColorActive(state);
809
+ };
810
+ DThemeDarkButtonDanger.prototype.getOutlineOffset = function (state) {
811
+ return this.getOutlineOffsetActive(state);
812
+ };
813
+ DThemeDarkButtonDanger.prototype.getColor = function (state) {
814
+ if (state.inDisabled) {
815
+ return _super.prototype.getColor.call(this, state);
816
+ }
817
+ else {
818
+ return DThemeDarkConstants.ACTIVE_COLOR;
819
+ }
820
+ };
821
+ return DThemeDarkButtonDanger;
822
+ }(DThemeDarkButtonBase));
823
+
824
+ /*
825
+ * Copyright (C) 2019 Toshiba Corporation
826
+ * SPDX-License-Identifier: Apache-2.0
827
+ */
828
+ var loadThemeDarkButtonDanger = function () {
829
+ DThemeDark.set("DButtonDanger", DThemeDarkButtonDanger);
830
+ };
785
831
 
786
832
  /*
787
833
  * Copyright (C) 2019 Toshiba Corporation
@@ -799,1115 +845,486 @@
799
845
  * Copyright (C) 2019 Toshiba Corporation
800
846
  * SPDX-License-Identifier: Apache-2.0
801
847
  */
802
- // Material Design icons by Google.
803
- // Apache license version 2.0.
804
- /* eslint-disable prettier/prettier */
805
- DThemeDarkAtlas.add("button_color_gradient_sample", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
806
- "<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
807
- "</g>");
808
- /* eslint-enable prettier/prettier */
809
- var formatter$a = function () {
810
- return "";
811
- };
812
- var DThemeDarkButtonColorGradient = /** @class */ (function (_super) {
813
- __extends(DThemeDarkButtonColorGradient, _super);
814
- function DThemeDarkButtonColorGradient() {
848
+ var DThemeDarkButtonFile = /** @class */ (function (_super) {
849
+ __extends(DThemeDarkButtonFile, _super);
850
+ function DThemeDarkButtonFile() {
815
851
  return _super !== null && _super.apply(this, arguments) || this;
816
852
  }
817
- DThemeDarkButtonColorGradient.prototype.getViewBaseTexture = function () {
818
- return DThemeDarkAtlas.mappings.button_color_gradient_sample;
819
- };
820
- DThemeDarkButtonColorGradient.prototype.getTextFormatter = function () {
821
- return formatter$a;
822
- };
823
- DThemeDarkButtonColorGradient.prototype.newTextValue = function () {
824
- return new DColorGradientObservable();
825
- };
826
- DThemeDarkButtonColorGradient.prototype.getCheckerColors = function () {
827
- return [0x37255, 0.27];
828
- };
829
- return DThemeDarkButtonColorGradient;
853
+ return DThemeDarkButtonFile;
830
854
  }(DThemeDarkButton));
831
855
 
832
- const DAnimationFadeIn = wcardinal.ui.DAnimationFadeIn;
833
-
834
- const DDialogAlign = wcardinal.ui.DDialogAlign;
835
-
836
- const DDialogCloseOn = wcardinal.ui.DDialogCloseOn;
837
-
838
- const DDialogGestureMode = wcardinal.ui.DDialogGestureMode;
856
+ /*
857
+ * Copyright (C) 2019 Toshiba Corporation
858
+ * SPDX-License-Identifier: Apache-2.0
859
+ */
860
+ var loadThemeDarkButtonFile = function () {
861
+ DThemeDark.set("DButtonFile", DThemeDarkButtonFile);
862
+ };
839
863
 
840
- const DDialogMode = wcardinal.ui.DDialogMode;
864
+ /*
865
+ * Copyright (C) 2019 Toshiba Corporation
866
+ * SPDX-License-Identifier: Apache-2.0
867
+ */
868
+ var DThemeDarkButtonLink = /** @class */ (function (_super) {
869
+ __extends(DThemeDarkButtonLink, _super);
870
+ function DThemeDarkButtonLink() {
871
+ return _super !== null && _super.apply(this, arguments) || this;
872
+ }
873
+ return DThemeDarkButtonLink;
874
+ }(DThemeDarkButtonAmbient));
841
875
 
842
- const DDialogState = wcardinal.ui.DDialogState;
876
+ /*
877
+ * Copyright (C) 2019 Toshiba Corporation
878
+ * SPDX-License-Identifier: Apache-2.0
879
+ */
880
+ var loadThemeDarkButtonLink = function () {
881
+ DThemeDark.set("DButtonLink", DThemeDarkButtonLink);
882
+ };
843
883
 
844
884
  /*
845
885
  * Copyright (C) 2019 Toshiba Corporation
846
886
  * SPDX-License-Identifier: Apache-2.0
847
887
  */
848
- var DThemeDarkDialog = /** @class */ (function (_super) {
849
- __extends(DThemeDarkDialog, _super);
850
- function DThemeDarkDialog() {
851
- return _super !== null && _super.apply(this, arguments) || this;
888
+ var DThemeDarkButtonPrimary = /** @class */ (function (_super) {
889
+ __extends(DThemeDarkButtonPrimary, _super);
890
+ function DThemeDarkButtonPrimary() {
891
+ return _super.call(this, DThemeDarkConstants.HIGHLIGHT_COLOR, 0.1, 0.2) || this;
852
892
  }
853
- DThemeDarkDialog.prototype.getMode = function () {
854
- return DDialogMode.MODAL;
855
- };
856
- DThemeDarkDialog.prototype.closeOn = function (mode) {
857
- switch (mode) {
858
- case DDialogMode.MODAL:
859
- case DDialogMode.MENU:
860
- return DDialogCloseOn.ESC | DDialogCloseOn.CLICK_OUTSIDE;
861
- case DDialogMode.MODELESS:
862
- return DDialogCloseOn.NONE;
863
- }
864
- };
865
- DThemeDarkDialog.prototype.isSticky = function (mode) {
866
- return false;
867
- };
868
- DThemeDarkDialog.prototype.isGestureEnabled = function (mode) {
869
- switch (mode) {
870
- case DDialogMode.MODAL:
871
- case DDialogMode.MODELESS:
872
- return true;
873
- case DDialogMode.MENU:
874
- return false;
893
+ DThemeDarkButtonPrimary.prototype.getBackgroundColor = function (state) {
894
+ if (state.inDisabled) {
895
+ return null;
875
896
  }
876
- };
877
- DThemeDarkDialog.prototype.getGestureMode = function (mode) {
878
- return DDialogGestureMode.DIRTY;
879
- };
880
- DThemeDarkDialog.prototype.getOffsetX = function (mode) {
881
- return 5;
882
- };
883
- DThemeDarkDialog.prototype.getOffsetY = function (mode) {
884
- return 5;
885
- };
886
- DThemeDarkDialog.prototype.getAlign = function (mode) {
887
- return DDialogAlign.BOTTOM;
888
- };
889
- DThemeDarkDialog.prototype.newAnimation = function (mode) {
890
- switch (mode) {
891
- case DDialogMode.MODAL:
892
- return new DAnimationFadeIn();
893
- case DDialogMode.MODELESS:
894
- return null;
895
- case DDialogMode.MENU:
896
- return null;
897
+ else if (state.isPressed || state.isActive) {
898
+ return this.BACKGROUND_COLOR_PRESSED;
897
899
  }
898
- };
899
- DThemeDarkDialog.prototype.getBackgroundColor = function (state) {
900
- if (state.is(DDialogState.MENU)) {
901
- return DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
900
+ else if (state.isHovered) {
901
+ return this.BACKGROUND_COLOR_HOVERED;
902
902
  }
903
903
  else {
904
- return DThemeDarkConstants.BACKGROUND_COLOR;
904
+ return this.BACKGROUND_COLOR;
905
905
  }
906
906
  };
907
- DThemeDarkDialog.prototype.getBorderColor = function (state) {
908
- if (state.is(DDialogState.MENU)) {
909
- return null;
907
+ DThemeDarkButtonPrimary.prototype.getOutlineColor = function (state) {
908
+ return this.getOutlineColorActive(state);
909
+ };
910
+ DThemeDarkButtonPrimary.prototype.getOutlineOffset = function (state) {
911
+ return this.getOutlineOffsetActive(state);
912
+ };
913
+ DThemeDarkButtonPrimary.prototype.getColor = function (state) {
914
+ if (state.inDisabled) {
915
+ return _super.prototype.getColor.call(this, state);
910
916
  }
911
917
  else {
912
- return 0x393939;
918
+ return DThemeDarkConstants.ACTIVE_COLOR;
913
919
  }
914
920
  };
915
- DThemeDarkDialog.prototype.getOutlineColor = function (state) {
916
- return null;
917
- };
918
- DThemeDarkDialog.prototype.getPaddingLeft = function () {
919
- return 0;
920
- };
921
- DThemeDarkDialog.prototype.getPaddingTop = function () {
922
- return 0;
923
- };
924
- DThemeDarkDialog.prototype.getPaddingRight = function () {
925
- return 0;
926
- };
927
- DThemeDarkDialog.prototype.getPaddingBottom = function () {
928
- return 0;
929
- };
930
- DThemeDarkDialog.prototype.getX = function () {
931
- return 0;
932
- };
933
- DThemeDarkDialog.prototype.getY = function () {
934
- return 0;
935
- };
936
- DThemeDarkDialog.prototype.getWidth = function () {
937
- return 400;
938
- };
939
- DThemeDarkDialog.prototype.getHeight = function () {
940
- return "auto";
941
- };
942
- DThemeDarkDialog.prototype.getShadow = function () {
943
- return this.newShadow();
944
- };
945
- DThemeDarkDialog.prototype.getInteractive = function () {
946
- return DBaseInteractive.BOTH;
947
- };
948
- return DThemeDarkDialog;
949
- }(DThemeDarkBase));
921
+ return DThemeDarkButtonPrimary;
922
+ }(DThemeDarkButtonBase));
950
923
 
951
924
  /*
952
925
  * Copyright (C) 2019 Toshiba Corporation
953
926
  * SPDX-License-Identifier: Apache-2.0
954
927
  */
955
- var DThemeDarkDialogLayered = /** @class */ (function (_super) {
956
- __extends(DThemeDarkDialogLayered, _super);
957
- function DThemeDarkDialogLayered() {
958
- return _super !== null && _super.apply(this, arguments) || this;
959
- }
960
- DThemeDarkDialogLayered.prototype.getLayout = function () {
961
- return undefined;
962
- };
963
- DThemeDarkDialogLayered.prototype.getHeader = function () {
964
- return null;
965
- };
966
- DThemeDarkDialogLayered.prototype.getContent = function () {
967
- return undefined;
968
- };
969
- DThemeDarkDialogLayered.prototype.getFooter = function () {
970
- return undefined;
971
- };
972
- return DThemeDarkDialogLayered;
973
- }(DThemeDarkDialog));
928
+ var loadThemeDarkButtonPrimary = function () {
929
+ DThemeDark.set("DButtonPrimary", DThemeDarkButtonPrimary);
930
+ };
974
931
 
975
932
  /*
976
933
  * Copyright (C) 2019 Toshiba Corporation
977
934
  * SPDX-License-Identifier: Apache-2.0
978
935
  */
979
- var DThemeDarkDialogFitted = /** @class */ (function (_super) {
980
- __extends(DThemeDarkDialogFitted, _super);
981
- function DThemeDarkDialogFitted() {
982
- return _super !== null && _super.apply(this, arguments) || this;
983
- }
984
- DThemeDarkDialogFitted.prototype.getWidth = function () {
985
- return "auto";
986
- };
987
- return DThemeDarkDialogFitted;
988
- }(DThemeDarkDialogLayered));
936
+ // Material Design icons by Google.
937
+ // Apache license version 2.0.
938
+ /* eslint-disable prettier/prettier */
939
+ DThemeDarkAtlas.add("button_radio_mark_on", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
940
+ "<path d=\"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48" +
941
+ " 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8" +
942
+ " 8 3.58 8 8-3.58 8-8 8z\" fill=\"#fff\" />" +
943
+ "</g>");
944
+ DThemeDarkAtlas.add("button_radio_mark_off", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
945
+ "<path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42" +
946
+ " 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\" fill=\"#fff\" />" +
947
+ "</g>");
948
+ /* eslint-enable prettier/prettier */
949
+ var DThemeDarkButtonRadio = /** @class */ (function (_super) {
950
+ __extends(DThemeDarkButtonRadio, _super);
951
+ function DThemeDarkButtonRadio() {
952
+ return _super !== null && _super.apply(this, arguments) || this;
953
+ }
954
+ DThemeDarkButtonRadio.prototype.getBackgroundColor = function (state) {
955
+ return DThemeDarkConstants.WEAK_HIGHLIGHT_COLOR;
956
+ };
957
+ DThemeDarkButtonRadio.prototype.getColor = function (state) {
958
+ return DThemeDarkConstants.COLOR;
959
+ };
960
+ DThemeDarkButtonRadio.prototype.getBackgroundAlpha = function (state) {
961
+ if (state.inEnabled) {
962
+ if (state.isHovered) {
963
+ return DThemeDarkConstants.WEAK_HIGHLIGHT_ALPHA;
964
+ }
965
+ }
966
+ return 0;
967
+ };
968
+ DThemeDarkButtonRadio.prototype.getOutlineColor = function (state) {
969
+ return this.getOutlineColorNonActive(state);
970
+ };
971
+ DThemeDarkButtonRadio.prototype.getOutlineOffset = function (state) {
972
+ return this.getOutlineOffsetNonActive(state);
973
+ };
974
+ DThemeDarkButtonRadio.prototype.getImageTintColor = function (state) {
975
+ if (state.inDisabled || !state.isActive) {
976
+ return DThemeDarkConstants.WEAK_HIGHLIGHT_COLOR;
977
+ }
978
+ else {
979
+ return DThemeDarkConstants.HIGHLIGHT_COLOR;
980
+ }
981
+ };
982
+ DThemeDarkButtonRadio.prototype.isToggle = function () {
983
+ return true;
984
+ };
985
+ DThemeDarkButtonRadio.prototype.getImageSource = function (state) {
986
+ if (state.isActive) {
987
+ return DThemeDarkAtlas.mappings.button_radio_mark_on;
988
+ }
989
+ else {
990
+ return DThemeDarkAtlas.mappings.button_radio_mark_off;
991
+ }
992
+ };
993
+ return DThemeDarkButtonRadio;
994
+ }(DThemeDarkButtonAmbient));
989
995
 
990
996
  /*
991
997
  * Copyright (C) 2019 Toshiba Corporation
992
998
  * SPDX-License-Identifier: Apache-2.0
993
999
  */
994
- var DThemeDarkDialogColorGradient = /** @class */ (function (_super) {
995
- __extends(DThemeDarkDialogColorGradient, _super);
996
- function DThemeDarkDialogColorGradient() {
1000
+ var DThemeDarkButtonRadioRight = /** @class */ (function (_super) {
1001
+ __extends(DThemeDarkButtonRadioRight, _super);
1002
+ function DThemeDarkButtonRadioRight() {
997
1003
  return _super !== null && _super.apply(this, arguments) || this;
998
1004
  }
999
- return DThemeDarkDialogColorGradient;
1000
- }(DThemeDarkDialogFitted));
1005
+ DThemeDarkButtonRadioRight.prototype.getImageAlignWith = function () {
1006
+ return DAlignWith.PADDING;
1007
+ };
1008
+ DThemeDarkButtonRadioRight.prototype.getImageAlignHorizontal = function () {
1009
+ return DAlignHorizontal.RIGHT;
1010
+ };
1011
+ DThemeDarkButtonRadioRight.prototype.getImageMarginHorizontal = function () {
1012
+ return 0;
1013
+ };
1014
+ DThemeDarkButtonRadioRight.prototype.getTextAlignHorizontal = function () {
1015
+ return DAlignHorizontal.LEFT;
1016
+ };
1017
+ return DThemeDarkButtonRadioRight;
1018
+ }(DThemeDarkButtonRadio));
1001
1019
 
1002
1020
  /*
1003
1021
  * Copyright (C) 2019 Toshiba Corporation
1004
1022
  * SPDX-License-Identifier: Apache-2.0
1005
1023
  */
1006
- var DThemeDarkPickerColorGradient = /** @class */ (function (_super) {
1007
- __extends(DThemeDarkPickerColorGradient, _super);
1008
- function DThemeDarkPickerColorGradient() {
1009
- return _super !== null && _super.apply(this, arguments) || this;
1024
+ var loadThemeDarkButtonRadioRight = function () {
1025
+ DThemeDark.set("DButtonRadioRight", DThemeDarkButtonRadioRight);
1026
+ };
1027
+
1028
+ /*
1029
+ * Copyright (C) 2019 Toshiba Corporation
1030
+ * SPDX-License-Identifier: Apache-2.0
1031
+ */
1032
+ var loadThemeDarkButtonRadio = function () {
1033
+ DThemeDark.set("DButtonRadio", DThemeDarkButtonRadio);
1034
+ };
1035
+
1036
+ /*
1037
+ * Copyright (C) 2019 Toshiba Corporation
1038
+ * SPDX-License-Identifier: Apache-2.0
1039
+ */
1040
+ var DThemeDarkButtonSecondary = /** @class */ (function (_super) {
1041
+ __extends(DThemeDarkButtonSecondary, _super);
1042
+ function DThemeDarkButtonSecondary() {
1043
+ return _super.call(this, 0xb894f6, 0.1, 0.2) || this;
1010
1044
  }
1011
- DThemeDarkPickerColorGradient.prototype.getGradientPointsWidth = function () {
1012
- return 30;
1013
- };
1014
- DThemeDarkPickerColorGradient.prototype.getGradientPointsMargin = function () {
1015
- return 24;
1045
+ DThemeDarkButtonSecondary.prototype.getBackgroundColor = function (state) {
1046
+ if (state.inDisabled) {
1047
+ return null;
1048
+ }
1049
+ else if (state.isPressed || state.isActive) {
1050
+ return this.BACKGROUND_COLOR_PRESSED;
1051
+ }
1052
+ else if (state.isHovered) {
1053
+ return this.BACKGROUND_COLOR_HOVERED;
1054
+ }
1055
+ else {
1056
+ return this.BACKGROUND_COLOR;
1057
+ }
1016
1058
  };
1017
- DThemeDarkPickerColorGradient.prototype.getGradientAnchorTexture = function () {
1018
- return DThemeDarkAtlas.mappings.picker_color_anchor;
1059
+ DThemeDarkButtonSecondary.prototype.getOutlineColor = function (state) {
1060
+ return this.getOutlineColorActive(state);
1019
1061
  };
1020
- DThemeDarkPickerColorGradient.prototype.getGradientAnchorOutlinedTexture = function () {
1021
- return DThemeDarkAtlas.mappings.picker_color_anchor_outlined;
1062
+ DThemeDarkButtonSecondary.prototype.getOutlineOffset = function (state) {
1063
+ return this.getOutlineOffsetActive(state);
1022
1064
  };
1023
- DThemeDarkPickerColorGradient.prototype.getGradientAnchorOutlineTexture = function () {
1024
- return DThemeDarkAtlas.mappings.picker_color_anchor_outline;
1065
+ DThemeDarkButtonSecondary.prototype.getColor = function (state) {
1066
+ if (state.inDisabled) {
1067
+ return _super.prototype.getColor.call(this, state);
1068
+ }
1069
+ else {
1070
+ return 0x000000;
1071
+ }
1025
1072
  };
1026
- DThemeDarkPickerColorGradient.prototype.getGradientDirectionMargin = function () {
1027
- return 5;
1073
+ return DThemeDarkButtonSecondary;
1074
+ }(DThemeDarkButtonBase));
1075
+
1076
+ /*
1077
+ * Copyright (C) 2019 Toshiba Corporation
1078
+ * SPDX-License-Identifier: Apache-2.0
1079
+ */
1080
+ var loadThemeDarkButtonSecondary = function () {
1081
+ DThemeDark.set("DButtonSecondary", DThemeDarkButtonSecondary);
1082
+ };
1083
+
1084
+ /*
1085
+ * Copyright (C) 2019 Toshiba Corporation
1086
+ * SPDX-License-Identifier: Apache-2.0
1087
+ */
1088
+ var loadThemeDarkButton = function () {
1089
+ DThemeDark.set("DButton", DThemeDarkButton);
1090
+ };
1091
+
1092
+ /*
1093
+ * Copyright (C) 2019 Toshiba Corporation
1094
+ * SPDX-License-Identifier: Apache-2.0
1095
+ */
1096
+ var DThemeDarkCanvas = /** @class */ (function (_super) {
1097
+ __extends(DThemeDarkCanvas, _super);
1098
+ function DThemeDarkCanvas() {
1099
+ return _super !== null && _super.apply(this, arguments) || this;
1100
+ }
1101
+ DThemeDarkCanvas.prototype.getBackgroundColor = function () {
1102
+ return 0x484848;
1028
1103
  };
1029
- DThemeDarkPickerColorGradient.prototype.getGradientDirectionTexture = function () {
1030
- return DThemeDarkAtlas.mappings.picker_color_direction;
1104
+ DThemeDarkCanvas.prototype.getBorderColor = function (state) {
1105
+ return null;
1031
1106
  };
1032
- DThemeDarkPickerColorGradient.prototype.getGradientRecentColumn = function () {
1033
- return 4;
1107
+ DThemeDarkCanvas.prototype.getCornerMask = function () {
1108
+ return DCornerMask.ALL;
1034
1109
  };
1035
- DThemeDarkPickerColorGradient.prototype.getGradientRecentWidth = function () {
1036
- return 30;
1110
+ DThemeDarkCanvas.prototype.getInteractive = function () {
1111
+ return DBaseInteractive.BOTH;
1037
1112
  };
1038
- DThemeDarkPickerColorGradient.prototype.getGradientRecentMargin = function () {
1039
- return 5;
1113
+ return DThemeDarkCanvas;
1114
+ }(DThemeDarkBase));
1115
+
1116
+ /*
1117
+ * Copyright (C) 2019 Toshiba Corporation
1118
+ * SPDX-License-Identifier: Apache-2.0
1119
+ */
1120
+ var DThemeDarkCanvasContainer = /** @class */ (function (_super) {
1121
+ __extends(DThemeDarkCanvasContainer, _super);
1122
+ function DThemeDarkCanvasContainer() {
1123
+ return _super !== null && _super.apply(this, arguments) || this;
1124
+ }
1125
+ DThemeDarkCanvasContainer.prototype.getBackgroundColor = function (state) {
1126
+ return null;
1040
1127
  };
1041
- DThemeDarkPickerColorGradient.prototype.getGradientRecentCount = function () {
1042
- return 16;
1128
+ DThemeDarkCanvasContainer.prototype.getBorderColor = function (state) {
1129
+ return null;
1043
1130
  };
1044
- DThemeDarkPickerColorGradient.prototype.getGradientRecents = function () {
1045
- return [];
1131
+ DThemeDarkCanvasContainer.prototype.getPaddingLeft = function () {
1132
+ return 32;
1046
1133
  };
1047
- DThemeDarkPickerColorGradient.prototype.getGradientCheckerColors = function () {
1048
- return [0.37255, 0.27];
1134
+ DThemeDarkCanvasContainer.prototype.getPaddingTop = function () {
1135
+ return 32;
1049
1136
  };
1050
- DThemeDarkPickerColorGradient.prototype.getBackgroundColor = function (state) {
1051
- return null;
1137
+ DThemeDarkCanvasContainer.prototype.getPaddingRight = function () {
1138
+ return 32;
1052
1139
  };
1053
- DThemeDarkPickerColorGradient.prototype.getBorderColor = function (state) {
1054
- return null;
1140
+ DThemeDarkCanvasContainer.prototype.getPaddingBottom = function () {
1141
+ return 32;
1055
1142
  };
1056
- DThemeDarkPickerColorGradient.prototype.getInteractive = function () {
1057
- return DBaseInteractive.CHILDREN;
1143
+ DThemeDarkCanvasContainer.prototype.isOverflowMaskEnabled = function () {
1144
+ return false;
1058
1145
  };
1059
- DThemeDarkPickerColorGradient.prototype.newState = function (state) {
1060
- _super.prototype.newState.call(this, state);
1061
- state.isFocusable = false;
1146
+ DThemeDarkCanvasContainer.prototype.getInteractive = function () {
1147
+ return DBaseInteractive.BOTH;
1062
1148
  };
1063
- return DThemeDarkPickerColorGradient;
1149
+ return DThemeDarkCanvasContainer;
1064
1150
  }(DThemeDarkBase));
1065
1151
 
1066
1152
  /*
1067
1153
  * Copyright (C) 2019 Toshiba Corporation
1068
1154
  * SPDX-License-Identifier: Apache-2.0
1069
1155
  */
1070
- var makeCheckerboard = function (width, height) {
1071
- var LIGHT = "#5f5f5f";
1072
- var DARK = "#454545";
1073
- var result = "<g>";
1074
- for (var ih = 0; ih < height; ++ih) {
1075
- for (var iw = 0; iw < width; ++iw) {
1076
- var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
1077
- result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
1078
- }
1079
- }
1080
- result += "</g>";
1081
- return result;
1156
+ var loadThemeDarkCanvasContainer = function () {
1157
+ DThemeDark.set("DCanvasContainer", DThemeDarkCanvasContainer);
1158
+ DThemeDark.set("DCanvas", DThemeDarkCanvas);
1082
1159
  };
1083
- /* eslint-disable prettier/prettier */
1084
- DThemeDarkAtlas.add("picker_color_main", 236, 164, "<g>" +
1085
- "<linearGradient id=\"fs7w3iusfdnb\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
1086
- "<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
1087
- "<stop stop-color=\"#FFFFFF\" stop-opacity=\"1\" offset=\"1\"/>" +
1088
- "</linearGradient>" +
1089
- "<linearGradient id=\"2rfcfe9874bw\" x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">" +
1090
- "<stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"0\"/>" +
1091
- "<stop stop-color=\"#000000\" stop-opacity=\"1\" offset=\"1\"/>" +
1092
- "</linearGradient>" +
1093
- "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"url(#fs7w3iusfdnb)\" />" +
1094
- "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"url(#2rfcfe9874bw)\" />" +
1095
- "</g>", 1, 1, 234, 162);
1096
- DThemeDarkAtlas.add("picker_color_main_base", 236, 164, "<g>" +
1097
- "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"#fff\" />" +
1098
- "</g>", 1, 1, 234, 162);
1099
- DThemeDarkAtlas.add("picker_color_alpha_checkerboard", 234, 18, makeCheckerboard(26, 2));
1100
- DThemeDarkAtlas.add("picker_color_alpha", 234, 18, "<g>" +
1101
- "<linearGradient id=\"s48afbuh44\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
1102
- "<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
1103
- "<stop stop-color=\"#FFFFFF\" stop-opacity=\"1\" offset=\"1\"/>" +
1104
- "</linearGradient>" +
1105
- "<rect x=\"0\" y=\"0\" width=\"234\" height=\"18\" fill=\"url(#s48afbuh44)\" />" +
1106
- "</g>");
1107
- DThemeDarkAtlas.add("picker_color_base", 234, 18, "<g>" +
1108
- "<linearGradient id=\"ni2rbisdf3\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
1109
- "<stop stop-color=\"#FF0000\" offset=\"0\"/>" +
1110
- "<stop stop-color=\"#FFFF00\" offset=\"0.167\"/>" +
1111
- "<stop stop-color=\"#00FF00\" offset=\"0.333\"/>" +
1112
- "<stop stop-color=\"#00FFFF\" offset=\"0.5\"/>" +
1113
- "<stop stop-color=\"#0000FF\" offset=\"0.667\"/>" +
1114
- "<stop stop-color=\"#FF00FF\" offset=\"0.833\"/>" +
1115
- "<stop stop-color=\"#FF0000\" offset=\"1\"/>" +
1116
- "</linearGradient>" +
1117
- "<rect x=\"0\" y=\"0\" width=\"234\" height=\"18\" fill=\"url(#ni2rbisdf3)\" />" +
1118
- "</g>");
1119
- DThemeDarkAtlas.add("picker_color_base_pointer", 16.2, 31.8, "<rect x=\"4.5\" y=\"4.5\" width=\"7.2\" height=\"22.8\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
1120
- DThemeDarkAtlas.add("picker_color_pointer", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"4.8\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />" +
1121
- "<circle cx=\"12.9\" cy=\"12.9\" r=\"7.2\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
1122
- DThemeDarkAtlas.add("picker_color_recent_checkerboard", 36, 36, makeCheckerboard(4, 4), 9, 9, 18, 18);
1123
- DThemeDarkAtlas.add("picker_color_recent", 36, 36, "<g>" +
1124
- "<rect x=\"0\" y=\"0\" width=\"36\" height=\"36\" fill=\"#fff\" />" +
1125
- "<path x=\"0\" y=\"0\" d=\"M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z\" fill=\"#eee\" />" +
1126
- "</g>", 9, 9, 18, 18);
1127
- DThemeDarkAtlas.add("picker_color_sample_checkerboard", 45, 63, makeCheckerboard(5, 7));
1128
- DThemeDarkAtlas.add("picker_color_sample", 47, 65, "<g>" +
1129
- "<rect x=\"0\" y=\"0\" width=\"47\" height=\"65\" fill=\"#fff\" />" +
1130
- "</g>", 1, 1, 45, 63);
1131
- DThemeDarkAtlas.add("picker_color_anchor_outlined", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"8.4\" stroke=\"none\" fill=\"#ffffff\" />" +
1132
- "<circle cx=\"12.9\" cy=\"12.9\" r=\"9.6\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
1133
- DThemeDarkAtlas.add("picker_color_anchor", 28.2, 28.2, "<circle cx=\"14.1\" cy=\"14.1\" r=\"6\" stroke=\"none\" fill=\"#ffffff\" />" +
1134
- "<circle cx=\"14.1\" cy=\"14.1\" r=\"7.2\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
1135
- DThemeDarkAtlas.add("picker_color_direction", 12, 30, "<path d=\"M0.6 25.8 L 12.0375 5.9895\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
1136
- "<path d=\"M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
1137
- "<rect x=\"0.6\" y=\"24.6\" width=\"11.4375\" height=\"1.2\" rx=\"0.6\" ry=\"0.6\" stroke=\"none\" fill=\"#5f5f5f\" />");
1138
- DThemeDarkAtlas.add("picker_color_standard", 18, 18, "<g>" +
1139
- "<rect x=\"0\" y=\"0\" width=\"18\" height=\"18\" fill=\"#fff\" stroke-width=\"1\" stroke=\"#eee\" />" +
1140
- "</g>");
1141
- /* eslint-enable prettier/prettier */
1142
- var DThemeDarkPickerColor = /** @class */ (function (_super) {
1143
- __extends(DThemeDarkPickerColor, _super);
1144
- function DThemeDarkPickerColor() {
1160
+
1161
+ /*
1162
+ * Copyright (C) 2019 Toshiba Corporation
1163
+ * SPDX-License-Identifier: Apache-2.0
1164
+ */
1165
+ var DThemeDarkChart = /** @class */ (function (_super) {
1166
+ __extends(DThemeDarkChart, _super);
1167
+ function DThemeDarkChart() {
1145
1168
  return _super !== null && _super.apply(this, arguments) || this;
1146
1169
  }
1147
- DThemeDarkPickerColor.prototype.getMainWidth = function () {
1148
- return 234;
1170
+ DThemeDarkChart.prototype.getPaddingLeft = function () {
1171
+ return 80;
1149
1172
  };
1150
- DThemeDarkPickerColor.prototype.getMainHeight = function () {
1151
- return 162;
1173
+ DThemeDarkChart.prototype.getPaddingRight = function () {
1174
+ return 10;
1152
1175
  };
1153
- DThemeDarkPickerColor.prototype.getMainTexture = function () {
1154
- return DThemeDarkAtlas.mappings.picker_color_main;
1176
+ DThemeDarkChart.prototype.getPaddingTop = function () {
1177
+ return 10;
1155
1178
  };
1156
- DThemeDarkPickerColor.prototype.getMainBaseTexture = function () {
1157
- return DThemeDarkAtlas.mappings.picker_color_main_base;
1179
+ DThemeDarkChart.prototype.getPaddingBottom = function () {
1180
+ return 70;
1158
1181
  };
1159
- DThemeDarkPickerColor.prototype.getMainPointerTexture = function () {
1160
- return DThemeDarkAtlas.mappings.picker_color_pointer;
1182
+ DThemeDarkChart.prototype.getBorderColor = function (state) {
1183
+ return null;
1161
1184
  };
1162
- DThemeDarkPickerColor.prototype.getMainPointerColor = function () {
1163
- return 0xffffff;
1185
+ DThemeDarkChart.prototype.getInteractive = function () {
1186
+ return DBaseInteractive.BOTH;
1164
1187
  };
1165
- DThemeDarkPickerColor.prototype.getMainPointerAlpha = function () {
1166
- return 1;
1188
+ DThemeDarkChart.prototype.isOverflowMaskEnabled = function () {
1189
+ return true;
1167
1190
  };
1168
- DThemeDarkPickerColor.prototype.getBaseHeight = function () {
1169
- return 18;
1191
+ DThemeDarkChart.prototype.newState = function (state) {
1192
+ _super.prototype.newState.call(this, state);
1193
+ state.isFocusable = false;
1170
1194
  };
1171
- DThemeDarkPickerColor.prototype.getBaseMargin = function () {
1172
- return 6;
1195
+ return DThemeDarkChart;
1196
+ }(DThemeDarkBase));
1197
+
1198
+ const DChartAxisPosition = wcardinal.ui.DChartAxisPosition;
1199
+
1200
+ const DChartAxisTickPosition = wcardinal.ui.DChartAxisTickPosition;
1201
+
1202
+ const EShapeTextAlignHorizontal = wcardinal.ui.EShapeTextAlignHorizontal;
1203
+
1204
+ const EShapeTextAlignVertical = wcardinal.ui.EShapeTextAlignVertical;
1205
+
1206
+ const EShapeTextDirection = wcardinal.ui.EShapeTextDirection;
1207
+
1208
+ /*
1209
+ * Copyright (C) 2019 Toshiba Corporation
1210
+ * SPDX-License-Identifier: Apache-2.0
1211
+ */
1212
+ var DThemeDarkChartAxisBase = /** @class */ (function () {
1213
+ function DThemeDarkChartAxisBase() {
1214
+ }
1215
+ DThemeDarkChartAxisBase.prototype.getPosition = function () {
1216
+ return DChartAxisPosition.BOTTOM;
1173
1217
  };
1174
- DThemeDarkPickerColor.prototype.getBaseTexture = function () {
1175
- return DThemeDarkAtlas.mappings.picker_color_base;
1218
+ DThemeDarkChartAxisBase.prototype.getPadding = function () {
1219
+ return 75;
1176
1220
  };
1177
- DThemeDarkPickerColor.prototype.getBasePointerTexture = function () {
1178
- return DThemeDarkAtlas.mappings.picker_color_base_pointer;
1221
+ DThemeDarkChartAxisBase.prototype.getLabelAlignHorizontal = function (position) {
1222
+ switch (position) {
1223
+ case DChartAxisPosition.TOP:
1224
+ return EShapeTextAlignHorizontal.CENTER;
1225
+ case DChartAxisPosition.BOTTOM:
1226
+ return EShapeTextAlignHorizontal.CENTER;
1227
+ case DChartAxisPosition.LEFT:
1228
+ return EShapeTextAlignHorizontal.OUTSIDE_LEFT;
1229
+ case DChartAxisPosition.RIGHT:
1230
+ return EShapeTextAlignHorizontal.OUTSIDE_RIGHT;
1231
+ }
1179
1232
  };
1180
- DThemeDarkPickerColor.prototype.getBasePointerColor = function () {
1181
- return 0xffffff;
1233
+ DThemeDarkChartAxisBase.prototype.getLabelAlignVertical = function (position) {
1234
+ switch (position) {
1235
+ case DChartAxisPosition.TOP:
1236
+ return EShapeTextAlignVertical.OUTSIDE_TOP;
1237
+ case DChartAxisPosition.BOTTOM:
1238
+ return EShapeTextAlignVertical.OUTSIDE_BOTTOM;
1239
+ case DChartAxisPosition.LEFT:
1240
+ return EShapeTextAlignVertical.MIDDLE;
1241
+ case DChartAxisPosition.RIGHT:
1242
+ return EShapeTextAlignVertical.MIDDLE;
1243
+ }
1182
1244
  };
1183
- DThemeDarkPickerColor.prototype.getBasePointerAlpha = function () {
1184
- return this.getMainPointerAlpha();
1245
+ DThemeDarkChartAxisBase.prototype.getLabelPaddingHorizontal = function () {
1246
+ return 60;
1185
1247
  };
1186
- DThemeDarkPickerColor.prototype.getAlphaHeight = function () {
1187
- return this.getBaseHeight();
1248
+ DThemeDarkChartAxisBase.prototype.getLabelPaddingVertical = function () {
1249
+ return 50;
1188
1250
  };
1189
- DThemeDarkPickerColor.prototype.getAlphaMargin = function () {
1190
- return this.getBaseMargin();
1251
+ DThemeDarkChartAxisBase.prototype.getLabelDirection = function () {
1252
+ return EShapeTextDirection.LEFT_TO_RIGHT;
1191
1253
  };
1192
- DThemeDarkPickerColor.prototype.getAlphaTexture = function () {
1193
- return DThemeDarkAtlas.mappings.picker_color_alpha;
1254
+ DThemeDarkChartAxisBase.prototype.getLabelColor = function () {
1255
+ return this.getStrokeColor();
1194
1256
  };
1195
- DThemeDarkPickerColor.prototype.getAlphaCheckerboardTexture = function () {
1196
- return DThemeDarkAtlas.mappings.picker_color_alpha_checkerboard;
1257
+ DThemeDarkChartAxisBase.prototype.getStyle = function () {
1258
+ return undefined;
1197
1259
  };
1198
- DThemeDarkPickerColor.prototype.getAlphaPointerTexture = function () {
1199
- return this.getBasePointerTexture();
1260
+ DThemeDarkChartAxisBase.prototype.getStrokeEnable = function () {
1261
+ return true;
1200
1262
  };
1201
- DThemeDarkPickerColor.prototype.getAlphaPointerColor = function () {
1202
- return this.getBasePointerColor();
1263
+ DThemeDarkChartAxisBase.prototype.getStrokeColor = function () {
1264
+ return undefined;
1203
1265
  };
1204
- DThemeDarkPickerColor.prototype.getAlphaPointerAlpha = function () {
1205
- return this.getMainPointerAlpha();
1266
+ DThemeDarkChartAxisBase.prototype.getStrokeAlpha = function () {
1267
+ return undefined;
1206
1268
  };
1207
- DThemeDarkPickerColor.prototype.getRecentMargin = function () {
1208
- return this.getBaseMargin();
1269
+ DThemeDarkChartAxisBase.prototype.getStrokeWidth = function () {
1270
+ return undefined;
1209
1271
  };
1210
- DThemeDarkPickerColor.prototype.getRecentColorWidth = function () {
1211
- return this.getBaseHeight();
1272
+ DThemeDarkChartAxisBase.prototype.getStrokeAlign = function () {
1273
+ return undefined;
1212
1274
  };
1213
- DThemeDarkPickerColor.prototype.getRecentColorHeight = function () {
1214
- return this.getRecentColorWidth();
1275
+ DThemeDarkChartAxisBase.prototype.getStrokeSide = function () {
1276
+ return undefined;
1215
1277
  };
1216
- DThemeDarkPickerColor.prototype.getRecentColorMargin = function () {
1217
- return this.getRecentMargin();
1278
+ DThemeDarkChartAxisBase.prototype.getStrokeStyle = function () {
1279
+ return undefined;
1218
1280
  };
1219
- DThemeDarkPickerColor.prototype.getRecentColorCount = function () {
1220
- return 10;
1281
+ DThemeDarkChartAxisBase.prototype.getTickEnable = function () {
1282
+ return true;
1221
1283
  };
1222
- DThemeDarkPickerColor.prototype.getRecentCheckerboardTexture = function () {
1223
- return DThemeDarkAtlas.mappings.picker_color_recent_checkerboard;
1284
+ DThemeDarkChartAxisBase.prototype.getMajorTickCount = function () {
1285
+ return 3;
1224
1286
  };
1225
- DThemeDarkPickerColor.prototype.getRecentTexture = function () {
1226
- return DThemeDarkAtlas.mappings.picker_color_recent;
1287
+ DThemeDarkChartAxisBase.prototype.getMajorTickCapacity = function (count) {
1288
+ return count * 2;
1227
1289
  };
1228
- DThemeDarkPickerColor.prototype.getInputMargin = function () {
1229
- return this.getBaseMargin();
1290
+ DThemeDarkChartAxisBase.prototype.getMajorTickStep = function () {
1291
+ return undefined;
1230
1292
  };
1231
- DThemeDarkPickerColor.prototype.getInputLabelWidth = function () {
1232
- return 15;
1293
+ DThemeDarkChartAxisBase.prototype.getMajorTickSize = function () {
1294
+ return 10;
1233
1295
  };
1234
- DThemeDarkPickerColor.prototype.getSampleCheckerboardOldTexture = function () {
1235
- return DThemeDarkAtlas.mappings.picker_color_sample_checkerboard;
1296
+ DThemeDarkChartAxisBase.prototype.getMajorTickPosition = function () {
1297
+ return DChartAxisTickPosition.OUTSIDE;
1236
1298
  };
1237
- DThemeDarkPickerColor.prototype.getSampleCheckerboardNewTexture = function () {
1238
- return DThemeDarkAtlas.mappings.picker_color_sample_checkerboard;
1299
+ DThemeDarkChartAxisBase.prototype.getMajorTickStyle = function () {
1300
+ return undefined;
1239
1301
  };
1240
- DThemeDarkPickerColor.prototype.getSampleOldTexture = function () {
1241
- return DThemeDarkAtlas.mappings.picker_color_sample;
1302
+ DThemeDarkChartAxisBase.prototype.getMajorTickTextAlignHorizontal = function (position) {
1303
+ switch (position) {
1304
+ case DChartAxisPosition.TOP:
1305
+ return EShapeTextAlignHorizontal.CENTER;
1306
+ case DChartAxisPosition.BOTTOM:
1307
+ return EShapeTextAlignHorizontal.CENTER;
1308
+ case DChartAxisPosition.LEFT:
1309
+ return EShapeTextAlignHorizontal.OUTSIDE_LEFT;
1310
+ case DChartAxisPosition.RIGHT:
1311
+ return EShapeTextAlignHorizontal.OUTSIDE_RIGHT;
1312
+ }
1242
1313
  };
1243
- DThemeDarkPickerColor.prototype.getSampleNewTexture = function () {
1244
- return DThemeDarkAtlas.mappings.picker_color_sample;
1314
+ DThemeDarkChartAxisBase.prototype.getMajorTickTextAlignVertical = function (position) {
1315
+ switch (position) {
1316
+ case DChartAxisPosition.TOP:
1317
+ return EShapeTextAlignVertical.OUTSIDE_TOP;
1318
+ case DChartAxisPosition.BOTTOM:
1319
+ return EShapeTextAlignVertical.OUTSIDE_BOTTOM;
1320
+ case DChartAxisPosition.LEFT:
1321
+ return EShapeTextAlignVertical.MIDDLE;
1322
+ case DChartAxisPosition.RIGHT:
1323
+ return EShapeTextAlignVertical.MIDDLE;
1324
+ }
1245
1325
  };
1246
- DThemeDarkPickerColor.prototype.getStandardColorCount = function () {
1247
- return 80;
1248
- };
1249
- DThemeDarkPickerColor.prototype.getStandardColorWidth = function () {
1250
- return this.getBaseHeight();
1251
- };
1252
- DThemeDarkPickerColor.prototype.getStandardColorHeight = function () {
1253
- return this.getStandardColorWidth();
1254
- };
1255
- DThemeDarkPickerColor.prototype.getStandardColorMargin = function () {
1256
- return this.getBaseMargin();
1257
- };
1258
- DThemeDarkPickerColor.prototype.getStandardTexture = function () {
1259
- return DThemeDarkAtlas.mappings.picker_color_standard;
1260
- };
1261
- DThemeDarkPickerColor.prototype.getBackgroundColor = function (state) {
1262
- return null;
1263
- };
1264
- DThemeDarkPickerColor.prototype.getBorderColor = function (state) {
1265
- return null;
1266
- };
1267
- DThemeDarkPickerColor.prototype.getInteractive = function () {
1268
- return DBaseInteractive.CHILDREN;
1269
- };
1270
- DThemeDarkPickerColor.prototype.newState = function (state) {
1271
- _super.prototype.newState.call(this, state);
1272
- state.isFocusable = false;
1273
- };
1274
- return DThemeDarkPickerColor;
1275
- }(DThemeDarkBase));
1276
-
1277
- /*
1278
- * Copyright (C) 2019 Toshiba Corporation
1279
- * SPDX-License-Identifier: Apache-2.0
1280
- */
1281
- var loadThemeDarkPickerColor = function () {
1282
- DThemeDark.set("DPickerColor", DThemeDarkPickerColor);
1283
- };
1284
-
1285
- /*
1286
- * Copyright (C) 2019 Toshiba Corporation
1287
- * SPDX-License-Identifier: Apache-2.0
1288
- */
1289
- var loadThemeDarkPickerColorGradient = function () {
1290
- DThemeDark.set("DPickerColorGradient", DThemeDarkPickerColorGradient);
1291
- loadThemeDarkPickerColor();
1292
- };
1293
-
1294
- /*
1295
- * Copyright (C) 2019 Toshiba Corporation
1296
- * SPDX-License-Identifier: Apache-2.0
1297
- */
1298
- var loadThemeDarkDialogColorGradient = function () {
1299
- DThemeDark.set("DDialogColorGradient", DThemeDarkDialogColorGradient);
1300
- loadThemeDarkPickerColorGradient();
1301
- };
1302
-
1303
- /*
1304
- * Copyright (C) 2019 Toshiba Corporation
1305
- * SPDX-License-Identifier: Apache-2.0
1306
- */
1307
- var loadThemeDarkButtonColorGradient = function () {
1308
- DThemeDark.set("DButtonColorGradient", DThemeDarkButtonColorGradient);
1309
- loadThemeDarkDialogColorGradient();
1310
- };
1311
-
1312
- /*
1313
- * Copyright (C) 2019 Toshiba Corporation
1314
- * SPDX-License-Identifier: Apache-2.0
1315
- */
1316
- // Material Design icons by Google.
1317
- // Apache license version 2.0.
1318
- /* eslint-disable prettier/prettier */
1319
- DThemeDarkAtlas.add("button_color_sample", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
1320
- "<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
1321
- "</g>");
1322
- /* eslint-enable prettier/prettier */
1323
- var formatter$9 = function (colorAndAlpha) {
1324
- return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
1325
- };
1326
- var DThemeDarkButtonColor = /** @class */ (function (_super) {
1327
- __extends(DThemeDarkButtonColor, _super);
1328
- function DThemeDarkButtonColor() {
1329
- return _super !== null && _super.apply(this, arguments) || this;
1330
- }
1331
- DThemeDarkButtonColor.prototype.getImageTintColor = function (state) {
1332
- return null;
1333
- };
1334
- DThemeDarkButtonColor.prototype.getImageSource = function (state) {
1335
- return DThemeDarkAtlas.mappings.button_color_sample;
1336
- };
1337
- DThemeDarkButtonColor.prototype.getTextFormatter = function () {
1338
- return formatter$9;
1339
- };
1340
- DThemeDarkButtonColor.prototype.newTextValue = function () {
1341
- return {
1342
- color: 0xdedede,
1343
- alpha: 1
1344
- };
1345
- };
1346
- return DThemeDarkButtonColor;
1347
- }(DThemeDarkButton));
1348
-
1349
- /*
1350
- * Copyright (C) 2019 Toshiba Corporation
1351
- * SPDX-License-Identifier: Apache-2.0
1352
- */
1353
- var DThemeDarkDialogColor = /** @class */ (function (_super) {
1354
- __extends(DThemeDarkDialogColor, _super);
1355
- function DThemeDarkDialogColor() {
1356
- return _super !== null && _super.apply(this, arguments) || this;
1357
- }
1358
- return DThemeDarkDialogColor;
1359
- }(DThemeDarkDialogFitted));
1360
-
1361
- /*
1362
- * Copyright (C) 2019 Toshiba Corporation
1363
- * SPDX-License-Identifier: Apache-2.0
1364
- */
1365
- var loadThemeDarkDialogColor = function () {
1366
- DThemeDark.set("DDialogColor", DThemeDarkDialogColor);
1367
- loadThemeDarkPickerColor();
1368
- };
1369
-
1370
- /*
1371
- * Copyright (C) 2019 Toshiba Corporation
1372
- * SPDX-License-Identifier: Apache-2.0
1373
- */
1374
- var loadThemeDarkButtonColor = function () {
1375
- DThemeDark.set("DButtonColor", DThemeDarkButtonColor);
1376
- loadThemeDarkDialogColor();
1377
- };
1378
-
1379
- /*
1380
- * Copyright (C) 2019 Toshiba Corporation
1381
- * SPDX-License-Identifier: Apache-2.0
1382
- */
1383
- var DThemeDarkButtonDanger = /** @class */ (function (_super) {
1384
- __extends(DThemeDarkButtonDanger, _super);
1385
- function DThemeDarkButtonDanger() {
1386
- return _super.call(this, 0xef9a9a, 0.1, 0.2) || this;
1387
- }
1388
- DThemeDarkButtonDanger.prototype.getBackgroundColor = function (state) {
1389
- if (state.inDisabled) {
1390
- return null;
1391
- }
1392
- else if (state.isPressed || state.isActive) {
1393
- return this.BACKGROUND_COLOR_PRESSED;
1394
- }
1395
- else if (state.isHovered) {
1396
- return this.BACKGROUND_COLOR_HOVERED;
1397
- }
1398
- else {
1399
- return this.BACKGROUND_COLOR;
1400
- }
1401
- };
1402
- DThemeDarkButtonDanger.prototype.getOutlineColor = function (state) {
1403
- return this.getOutlineColorActive(state);
1404
- };
1405
- DThemeDarkButtonDanger.prototype.getOutlineOffset = function (state) {
1406
- return this.getOutlineOffsetActive(state);
1407
- };
1408
- DThemeDarkButtonDanger.prototype.getColor = function (state) {
1409
- if (state.inDisabled) {
1410
- return _super.prototype.getColor.call(this, state);
1411
- }
1412
- else {
1413
- return DThemeDarkConstants.ACTIVE_COLOR;
1414
- }
1415
- };
1416
- return DThemeDarkButtonDanger;
1417
- }(DThemeDarkButtonBase));
1418
-
1419
- /*
1420
- * Copyright (C) 2019 Toshiba Corporation
1421
- * SPDX-License-Identifier: Apache-2.0
1422
- */
1423
- var loadThemeDarkButtonDanger = function () {
1424
- DThemeDark.set("DButtonDanger", DThemeDarkButtonDanger);
1425
- };
1426
-
1427
- /*
1428
- * Copyright (C) 2019 Toshiba Corporation
1429
- * SPDX-License-Identifier: Apache-2.0
1430
- */
1431
- var DThemeDarkButtonFile = /** @class */ (function (_super) {
1432
- __extends(DThemeDarkButtonFile, _super);
1433
- function DThemeDarkButtonFile() {
1434
- return _super !== null && _super.apply(this, arguments) || this;
1435
- }
1436
- return DThemeDarkButtonFile;
1437
- }(DThemeDarkButton));
1438
-
1439
- /*
1440
- * Copyright (C) 2019 Toshiba Corporation
1441
- * SPDX-License-Identifier: Apache-2.0
1442
- */
1443
- var loadThemeDarkButtonFile = function () {
1444
- DThemeDark.set("DButtonFile", DThemeDarkButtonFile);
1445
- };
1446
-
1447
- /*
1448
- * Copyright (C) 2019 Toshiba Corporation
1449
- * SPDX-License-Identifier: Apache-2.0
1450
- */
1451
- var DThemeDarkButtonLink = /** @class */ (function (_super) {
1452
- __extends(DThemeDarkButtonLink, _super);
1453
- function DThemeDarkButtonLink() {
1454
- return _super !== null && _super.apply(this, arguments) || this;
1455
- }
1456
- return DThemeDarkButtonLink;
1457
- }(DThemeDarkButtonAmbient));
1458
-
1459
- /*
1460
- * Copyright (C) 2019 Toshiba Corporation
1461
- * SPDX-License-Identifier: Apache-2.0
1462
- */
1463
- var loadThemeDarkButtonLink = function () {
1464
- DThemeDark.set("DButtonLink", DThemeDarkButtonLink);
1465
- };
1466
-
1467
- /*
1468
- * Copyright (C) 2019 Toshiba Corporation
1469
- * SPDX-License-Identifier: Apache-2.0
1470
- */
1471
- var DThemeDarkButtonPrimary = /** @class */ (function (_super) {
1472
- __extends(DThemeDarkButtonPrimary, _super);
1473
- function DThemeDarkButtonPrimary() {
1474
- return _super.call(this, DThemeDarkConstants.HIGHLIGHT_COLOR, 0.1, 0.2) || this;
1475
- }
1476
- DThemeDarkButtonPrimary.prototype.getBackgroundColor = function (state) {
1477
- if (state.inDisabled) {
1478
- return null;
1479
- }
1480
- else if (state.isPressed || state.isActive) {
1481
- return this.BACKGROUND_COLOR_PRESSED;
1482
- }
1483
- else if (state.isHovered) {
1484
- return this.BACKGROUND_COLOR_HOVERED;
1485
- }
1486
- else {
1487
- return this.BACKGROUND_COLOR;
1488
- }
1489
- };
1490
- DThemeDarkButtonPrimary.prototype.getOutlineColor = function (state) {
1491
- return this.getOutlineColorActive(state);
1492
- };
1493
- DThemeDarkButtonPrimary.prototype.getOutlineOffset = function (state) {
1494
- return this.getOutlineOffsetActive(state);
1495
- };
1496
- DThemeDarkButtonPrimary.prototype.getColor = function (state) {
1497
- if (state.inDisabled) {
1498
- return _super.prototype.getColor.call(this, state);
1499
- }
1500
- else {
1501
- return DThemeDarkConstants.ACTIVE_COLOR;
1502
- }
1503
- };
1504
- return DThemeDarkButtonPrimary;
1505
- }(DThemeDarkButtonBase));
1506
-
1507
- /*
1508
- * Copyright (C) 2019 Toshiba Corporation
1509
- * SPDX-License-Identifier: Apache-2.0
1510
- */
1511
- var loadThemeDarkButtonPrimary = function () {
1512
- DThemeDark.set("DButtonPrimary", DThemeDarkButtonPrimary);
1513
- };
1514
-
1515
- /*
1516
- * Copyright (C) 2019 Toshiba Corporation
1517
- * SPDX-License-Identifier: Apache-2.0
1518
- */
1519
- // Material Design icons by Google.
1520
- // Apache license version 2.0.
1521
- /* eslint-disable prettier/prettier */
1522
- DThemeDarkAtlas.add("button_radio_mark_on", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
1523
- "<path d=\"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48" +
1524
- " 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8" +
1525
- " 8 3.58 8 8-3.58 8-8 8z\" fill=\"#fff\" />" +
1526
- "</g>");
1527
- DThemeDarkAtlas.add("button_radio_mark_off", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
1528
- "<path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42" +
1529
- " 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\" fill=\"#fff\" />" +
1530
- "</g>");
1531
- /* eslint-enable prettier/prettier */
1532
- var DThemeDarkButtonRadio = /** @class */ (function (_super) {
1533
- __extends(DThemeDarkButtonRadio, _super);
1534
- function DThemeDarkButtonRadio() {
1535
- return _super !== null && _super.apply(this, arguments) || this;
1536
- }
1537
- DThemeDarkButtonRadio.prototype.getBackgroundColor = function (state) {
1538
- return DThemeDarkConstants.WEAK_HIGHLIGHT_COLOR;
1539
- };
1540
- DThemeDarkButtonRadio.prototype.getColor = function (state) {
1541
- return DThemeDarkConstants.COLOR;
1542
- };
1543
- DThemeDarkButtonRadio.prototype.getBackgroundAlpha = function (state) {
1544
- if (state.inEnabled) {
1545
- if (state.isHovered) {
1546
- return DThemeDarkConstants.WEAK_HIGHLIGHT_ALPHA;
1547
- }
1548
- }
1549
- return 0;
1550
- };
1551
- DThemeDarkButtonRadio.prototype.getOutlineColor = function (state) {
1552
- return this.getOutlineColorNonActive(state);
1553
- };
1554
- DThemeDarkButtonRadio.prototype.getOutlineOffset = function (state) {
1555
- return this.getOutlineOffsetNonActive(state);
1556
- };
1557
- DThemeDarkButtonRadio.prototype.getImageTintColor = function (state) {
1558
- if (state.inDisabled || !state.isActive) {
1559
- return DThemeDarkConstants.WEAK_HIGHLIGHT_COLOR;
1560
- }
1561
- else {
1562
- return DThemeDarkConstants.HIGHLIGHT_COLOR;
1563
- }
1564
- };
1565
- DThemeDarkButtonRadio.prototype.isToggle = function () {
1566
- return true;
1567
- };
1568
- DThemeDarkButtonRadio.prototype.getImageSource = function (state) {
1569
- if (state.isActive) {
1570
- return DThemeDarkAtlas.mappings.button_radio_mark_on;
1571
- }
1572
- else {
1573
- return DThemeDarkAtlas.mappings.button_radio_mark_off;
1574
- }
1575
- };
1576
- return DThemeDarkButtonRadio;
1577
- }(DThemeDarkButtonAmbient));
1578
-
1579
- /*
1580
- * Copyright (C) 2019 Toshiba Corporation
1581
- * SPDX-License-Identifier: Apache-2.0
1582
- */
1583
- var DThemeDarkButtonRadioRight = /** @class */ (function (_super) {
1584
- __extends(DThemeDarkButtonRadioRight, _super);
1585
- function DThemeDarkButtonRadioRight() {
1586
- return _super !== null && _super.apply(this, arguments) || this;
1587
- }
1588
- DThemeDarkButtonRadioRight.prototype.getImageAlignWith = function () {
1589
- return DAlignWith.PADDING;
1590
- };
1591
- DThemeDarkButtonRadioRight.prototype.getImageAlignHorizontal = function () {
1592
- return DAlignHorizontal.RIGHT;
1593
- };
1594
- DThemeDarkButtonRadioRight.prototype.getImageMarginHorizontal = function () {
1595
- return 0;
1596
- };
1597
- DThemeDarkButtonRadioRight.prototype.getTextAlignHorizontal = function () {
1598
- return DAlignHorizontal.LEFT;
1599
- };
1600
- return DThemeDarkButtonRadioRight;
1601
- }(DThemeDarkButtonRadio));
1602
-
1603
- /*
1604
- * Copyright (C) 2019 Toshiba Corporation
1605
- * SPDX-License-Identifier: Apache-2.0
1606
- */
1607
- var loadThemeDarkButtonRadioRight = function () {
1608
- DThemeDark.set("DButtonRadioRight", DThemeDarkButtonRadioRight);
1609
- };
1610
-
1611
- /*
1612
- * Copyright (C) 2019 Toshiba Corporation
1613
- * SPDX-License-Identifier: Apache-2.0
1614
- */
1615
- var loadThemeDarkButtonRadio = function () {
1616
- DThemeDark.set("DButtonRadio", DThemeDarkButtonRadio);
1617
- };
1618
-
1619
- /*
1620
- * Copyright (C) 2019 Toshiba Corporation
1621
- * SPDX-License-Identifier: Apache-2.0
1622
- */
1623
- var DThemeDarkButtonSecondary = /** @class */ (function (_super) {
1624
- __extends(DThemeDarkButtonSecondary, _super);
1625
- function DThemeDarkButtonSecondary() {
1626
- return _super.call(this, 0xb894f6, 0.1, 0.2) || this;
1627
- }
1628
- DThemeDarkButtonSecondary.prototype.getBackgroundColor = function (state) {
1629
- if (state.inDisabled) {
1630
- return null;
1631
- }
1632
- else if (state.isPressed || state.isActive) {
1633
- return this.BACKGROUND_COLOR_PRESSED;
1634
- }
1635
- else if (state.isHovered) {
1636
- return this.BACKGROUND_COLOR_HOVERED;
1637
- }
1638
- else {
1639
- return this.BACKGROUND_COLOR;
1640
- }
1641
- };
1642
- DThemeDarkButtonSecondary.prototype.getOutlineColor = function (state) {
1643
- return this.getOutlineColorActive(state);
1644
- };
1645
- DThemeDarkButtonSecondary.prototype.getOutlineOffset = function (state) {
1646
- return this.getOutlineOffsetActive(state);
1647
- };
1648
- DThemeDarkButtonSecondary.prototype.getColor = function (state) {
1649
- if (state.inDisabled) {
1650
- return _super.prototype.getColor.call(this, state);
1651
- }
1652
- else {
1653
- return 0x000000;
1654
- }
1655
- };
1656
- return DThemeDarkButtonSecondary;
1657
- }(DThemeDarkButtonBase));
1658
-
1659
- /*
1660
- * Copyright (C) 2019 Toshiba Corporation
1661
- * SPDX-License-Identifier: Apache-2.0
1662
- */
1663
- var loadThemeDarkButtonSecondary = function () {
1664
- DThemeDark.set("DButtonSecondary", DThemeDarkButtonSecondary);
1665
- };
1666
-
1667
- /*
1668
- * Copyright (C) 2019 Toshiba Corporation
1669
- * SPDX-License-Identifier: Apache-2.0
1670
- */
1671
- var loadThemeDarkButton = function () {
1672
- DThemeDark.set("DButton", DThemeDarkButton);
1673
- };
1674
-
1675
- /*
1676
- * Copyright (C) 2019 Toshiba Corporation
1677
- * SPDX-License-Identifier: Apache-2.0
1678
- */
1679
- var DThemeDarkCanvas = /** @class */ (function (_super) {
1680
- __extends(DThemeDarkCanvas, _super);
1681
- function DThemeDarkCanvas() {
1682
- return _super !== null && _super.apply(this, arguments) || this;
1683
- }
1684
- DThemeDarkCanvas.prototype.getBackgroundColor = function () {
1685
- return 0x484848;
1686
- };
1687
- DThemeDarkCanvas.prototype.getBorderColor = function (state) {
1688
- return null;
1689
- };
1690
- DThemeDarkCanvas.prototype.getCornerMask = function () {
1691
- return DCornerMask.ALL;
1692
- };
1693
- DThemeDarkCanvas.prototype.getInteractive = function () {
1694
- return DBaseInteractive.BOTH;
1695
- };
1696
- return DThemeDarkCanvas;
1697
- }(DThemeDarkBase));
1698
-
1699
- /*
1700
- * Copyright (C) 2019 Toshiba Corporation
1701
- * SPDX-License-Identifier: Apache-2.0
1702
- */
1703
- var DThemeDarkCanvasContainer = /** @class */ (function (_super) {
1704
- __extends(DThemeDarkCanvasContainer, _super);
1705
- function DThemeDarkCanvasContainer() {
1706
- return _super !== null && _super.apply(this, arguments) || this;
1707
- }
1708
- DThemeDarkCanvasContainer.prototype.getBackgroundColor = function (state) {
1709
- return null;
1710
- };
1711
- DThemeDarkCanvasContainer.prototype.getBorderColor = function (state) {
1712
- return null;
1713
- };
1714
- DThemeDarkCanvasContainer.prototype.getPaddingLeft = function () {
1715
- return 32;
1716
- };
1717
- DThemeDarkCanvasContainer.prototype.getPaddingTop = function () {
1718
- return 32;
1719
- };
1720
- DThemeDarkCanvasContainer.prototype.getPaddingRight = function () {
1721
- return 32;
1722
- };
1723
- DThemeDarkCanvasContainer.prototype.getPaddingBottom = function () {
1724
- return 32;
1725
- };
1726
- DThemeDarkCanvasContainer.prototype.isOverflowMaskEnabled = function () {
1727
- return false;
1728
- };
1729
- DThemeDarkCanvasContainer.prototype.getInteractive = function () {
1730
- return DBaseInteractive.BOTH;
1731
- };
1732
- return DThemeDarkCanvasContainer;
1733
- }(DThemeDarkBase));
1734
-
1735
- /*
1736
- * Copyright (C) 2019 Toshiba Corporation
1737
- * SPDX-License-Identifier: Apache-2.0
1738
- */
1739
- var loadThemeDarkCanvasContainer = function () {
1740
- DThemeDark.set("DCanvasContainer", DThemeDarkCanvasContainer);
1741
- DThemeDark.set("DCanvas", DThemeDarkCanvas);
1742
- };
1743
-
1744
- /*
1745
- * Copyright (C) 2019 Toshiba Corporation
1746
- * SPDX-License-Identifier: Apache-2.0
1747
- */
1748
- var DThemeDarkChart = /** @class */ (function (_super) {
1749
- __extends(DThemeDarkChart, _super);
1750
- function DThemeDarkChart() {
1751
- return _super !== null && _super.apply(this, arguments) || this;
1752
- }
1753
- DThemeDarkChart.prototype.getPaddingLeft = function () {
1754
- return 80;
1755
- };
1756
- DThemeDarkChart.prototype.getPaddingRight = function () {
1757
- return 10;
1758
- };
1759
- DThemeDarkChart.prototype.getPaddingTop = function () {
1760
- return 10;
1761
- };
1762
- DThemeDarkChart.prototype.getPaddingBottom = function () {
1763
- return 70;
1764
- };
1765
- DThemeDarkChart.prototype.getBorderColor = function (state) {
1766
- return null;
1767
- };
1768
- DThemeDarkChart.prototype.getInteractive = function () {
1769
- return DBaseInteractive.BOTH;
1770
- };
1771
- DThemeDarkChart.prototype.isOverflowMaskEnabled = function () {
1772
- return true;
1773
- };
1774
- DThemeDarkChart.prototype.newState = function (state) {
1775
- _super.prototype.newState.call(this, state);
1776
- state.isFocusable = false;
1777
- };
1778
- return DThemeDarkChart;
1779
- }(DThemeDarkBase));
1780
-
1781
- const DChartAxisPosition = wcardinal.ui.DChartAxisPosition;
1782
-
1783
- const DChartAxisTickPosition = wcardinal.ui.DChartAxisTickPosition;
1784
-
1785
- const EShapeTextAlignHorizontal = wcardinal.ui.EShapeTextAlignHorizontal;
1786
-
1787
- const EShapeTextAlignVertical = wcardinal.ui.EShapeTextAlignVertical;
1788
-
1789
- const EShapeTextDirection = wcardinal.ui.EShapeTextDirection;
1790
-
1791
- /*
1792
- * Copyright (C) 2019 Toshiba Corporation
1793
- * SPDX-License-Identifier: Apache-2.0
1794
- */
1795
- var DThemeDarkChartAxisBase = /** @class */ (function () {
1796
- function DThemeDarkChartAxisBase() {
1797
- }
1798
- DThemeDarkChartAxisBase.prototype.getPosition = function () {
1799
- return DChartAxisPosition.BOTTOM;
1800
- };
1801
- DThemeDarkChartAxisBase.prototype.getPadding = function () {
1802
- return 75;
1803
- };
1804
- DThemeDarkChartAxisBase.prototype.getLabelAlignHorizontal = function (position) {
1805
- switch (position) {
1806
- case DChartAxisPosition.TOP:
1807
- return EShapeTextAlignHorizontal.CENTER;
1808
- case DChartAxisPosition.BOTTOM:
1809
- return EShapeTextAlignHorizontal.CENTER;
1810
- case DChartAxisPosition.LEFT:
1811
- return EShapeTextAlignHorizontal.OUTSIDE_LEFT;
1812
- case DChartAxisPosition.RIGHT:
1813
- return EShapeTextAlignHorizontal.OUTSIDE_RIGHT;
1814
- }
1815
- };
1816
- DThemeDarkChartAxisBase.prototype.getLabelAlignVertical = function (position) {
1817
- switch (position) {
1818
- case DChartAxisPosition.TOP:
1819
- return EShapeTextAlignVertical.OUTSIDE_TOP;
1820
- case DChartAxisPosition.BOTTOM:
1821
- return EShapeTextAlignVertical.OUTSIDE_BOTTOM;
1822
- case DChartAxisPosition.LEFT:
1823
- return EShapeTextAlignVertical.MIDDLE;
1824
- case DChartAxisPosition.RIGHT:
1825
- return EShapeTextAlignVertical.MIDDLE;
1826
- }
1827
- };
1828
- DThemeDarkChartAxisBase.prototype.getLabelPaddingHorizontal = function () {
1829
- return 60;
1830
- };
1831
- DThemeDarkChartAxisBase.prototype.getLabelPaddingVertical = function () {
1832
- return 50;
1833
- };
1834
- DThemeDarkChartAxisBase.prototype.getLabelDirection = function () {
1835
- return EShapeTextDirection.LEFT_TO_RIGHT;
1836
- };
1837
- DThemeDarkChartAxisBase.prototype.getLabelColor = function () {
1838
- return this.getStrokeColor();
1839
- };
1840
- DThemeDarkChartAxisBase.prototype.getStyle = function () {
1841
- return undefined;
1842
- };
1843
- DThemeDarkChartAxisBase.prototype.getStrokeEnable = function () {
1844
- return true;
1845
- };
1846
- DThemeDarkChartAxisBase.prototype.getStrokeColor = function () {
1847
- return undefined;
1848
- };
1849
- DThemeDarkChartAxisBase.prototype.getStrokeAlpha = function () {
1850
- return undefined;
1851
- };
1852
- DThemeDarkChartAxisBase.prototype.getStrokeWidth = function () {
1853
- return undefined;
1854
- };
1855
- DThemeDarkChartAxisBase.prototype.getStrokeAlign = function () {
1856
- return undefined;
1857
- };
1858
- DThemeDarkChartAxisBase.prototype.getStrokeSide = function () {
1859
- return undefined;
1860
- };
1861
- DThemeDarkChartAxisBase.prototype.getStrokeStyle = function () {
1862
- return undefined;
1863
- };
1864
- DThemeDarkChartAxisBase.prototype.getTickEnable = function () {
1865
- return true;
1866
- };
1867
- DThemeDarkChartAxisBase.prototype.getMajorTickCount = function () {
1868
- return 3;
1869
- };
1870
- DThemeDarkChartAxisBase.prototype.getMajorTickCapacity = function (count) {
1871
- return count * 2;
1872
- };
1873
- DThemeDarkChartAxisBase.prototype.getMajorTickStep = function () {
1874
- return undefined;
1875
- };
1876
- DThemeDarkChartAxisBase.prototype.getMajorTickSize = function () {
1877
- return 10;
1878
- };
1879
- DThemeDarkChartAxisBase.prototype.getMajorTickPosition = function () {
1880
- return DChartAxisTickPosition.OUTSIDE;
1881
- };
1882
- DThemeDarkChartAxisBase.prototype.getMajorTickStyle = function () {
1883
- return undefined;
1884
- };
1885
- DThemeDarkChartAxisBase.prototype.getMajorTickTextAlignHorizontal = function (position) {
1886
- switch (position) {
1887
- case DChartAxisPosition.TOP:
1888
- return EShapeTextAlignHorizontal.CENTER;
1889
- case DChartAxisPosition.BOTTOM:
1890
- return EShapeTextAlignHorizontal.CENTER;
1891
- case DChartAxisPosition.LEFT:
1892
- return EShapeTextAlignHorizontal.OUTSIDE_LEFT;
1893
- case DChartAxisPosition.RIGHT:
1894
- return EShapeTextAlignHorizontal.OUTSIDE_RIGHT;
1895
- }
1896
- };
1897
- DThemeDarkChartAxisBase.prototype.getMajorTickTextAlignVertical = function (position) {
1898
- switch (position) {
1899
- case DChartAxisPosition.TOP:
1900
- return EShapeTextAlignVertical.OUTSIDE_TOP;
1901
- case DChartAxisPosition.BOTTOM:
1902
- return EShapeTextAlignVertical.OUTSIDE_BOTTOM;
1903
- case DChartAxisPosition.LEFT:
1904
- return EShapeTextAlignVertical.MIDDLE;
1905
- case DChartAxisPosition.RIGHT:
1906
- return EShapeTextAlignVertical.MIDDLE;
1907
- }
1908
- };
1909
- DThemeDarkChartAxisBase.prototype.getMajorTickTextDirection = function () {
1910
- return EShapeTextDirection.LEFT_TO_RIGHT;
1326
+ DThemeDarkChartAxisBase.prototype.getMajorTickTextDirection = function () {
1327
+ return EShapeTextDirection.LEFT_TO_RIGHT;
1911
1328
  };
1912
1329
  DThemeDarkChartAxisBase.prototype.getMajorTickTextColor = function () {
1913
1330
  return this.getStrokeColor();
@@ -2650,41 +2067,199 @@
2650
2067
  EThemeDarkShape.prototype.getTextSize = function () {
2651
2068
  return 14;
2652
2069
  };
2653
- EThemeDarkShape.prototype.getRadius = function () {
2654
- return 0.25;
2070
+ EThemeDarkShape.prototype.getRadius = function () {
2071
+ return 0.25;
2072
+ };
2073
+ EThemeDarkShape.prototype.getSizeX = function () {
2074
+ return 100;
2075
+ };
2076
+ EThemeDarkShape.prototype.getSizeY = function () {
2077
+ return 100;
2078
+ };
2079
+ EThemeDarkShape.prototype.getHighlightColor = function () {
2080
+ return 0x1e87f0;
2081
+ };
2082
+ EThemeDarkShape.prototype.getCurveSegmentCount = function () {
2083
+ return 24;
2084
+ };
2085
+ return EThemeDarkShape;
2086
+ }());
2087
+
2088
+ /*
2089
+ * Copyright (C) 2019 Toshiba Corporation
2090
+ * SPDX-License-Identifier: Apache-2.0
2091
+ */
2092
+ var loadThemeDarkShape = function () {
2093
+ DThemeDark.set("EShape", EThemeDarkShape);
2094
+ };
2095
+
2096
+ /*
2097
+ * Copyright (C) 2019 Toshiba Corporation
2098
+ * SPDX-License-Identifier: Apache-2.0
2099
+ */
2100
+ var loadThemeDarkDiagram = function () {
2101
+ DThemeDark.set("DDiagram", DThemeDarkDiagram);
2102
+ DThemeDark.set("DDiagramCanvas", DThemeDarkDiagramCanvas);
2103
+ loadThemeDarkShape();
2104
+ };
2105
+
2106
+ const DAnimationFadeIn = wcardinal.ui.DAnimationFadeIn;
2107
+
2108
+ const DDialogAlign = wcardinal.ui.DDialogAlign;
2109
+
2110
+ const DDialogCloseOn = wcardinal.ui.DDialogCloseOn;
2111
+
2112
+ const DDialogGestureMode = wcardinal.ui.DDialogGestureMode;
2113
+
2114
+ const DDialogMode = wcardinal.ui.DDialogMode;
2115
+
2116
+ const DDialogState = wcardinal.ui.DDialogState;
2117
+
2118
+ /*
2119
+ * Copyright (C) 2019 Toshiba Corporation
2120
+ * SPDX-License-Identifier: Apache-2.0
2121
+ */
2122
+ var DThemeDarkDialog = /** @class */ (function (_super) {
2123
+ __extends(DThemeDarkDialog, _super);
2124
+ function DThemeDarkDialog() {
2125
+ return _super !== null && _super.apply(this, arguments) || this;
2126
+ }
2127
+ DThemeDarkDialog.prototype.getMode = function () {
2128
+ return DDialogMode.MODAL;
2129
+ };
2130
+ DThemeDarkDialog.prototype.closeOn = function (mode) {
2131
+ switch (mode) {
2132
+ case DDialogMode.MODAL:
2133
+ case DDialogMode.MENU:
2134
+ return DDialogCloseOn.ESC | DDialogCloseOn.CLICK_OUTSIDE;
2135
+ case DDialogMode.MODELESS:
2136
+ return DDialogCloseOn.NONE;
2137
+ }
2138
+ };
2139
+ DThemeDarkDialog.prototype.isSticky = function (mode) {
2140
+ return false;
2141
+ };
2142
+ DThemeDarkDialog.prototype.isGestureEnabled = function (mode) {
2143
+ switch (mode) {
2144
+ case DDialogMode.MODAL:
2145
+ case DDialogMode.MODELESS:
2146
+ return true;
2147
+ case DDialogMode.MENU:
2148
+ return false;
2149
+ }
2150
+ };
2151
+ DThemeDarkDialog.prototype.getGestureMode = function (mode) {
2152
+ return DDialogGestureMode.DIRTY;
2153
+ };
2154
+ DThemeDarkDialog.prototype.getOffsetX = function (mode) {
2155
+ return 5;
2156
+ };
2157
+ DThemeDarkDialog.prototype.getOffsetY = function (mode) {
2158
+ return 5;
2159
+ };
2160
+ DThemeDarkDialog.prototype.getAlign = function (mode) {
2161
+ return DDialogAlign.BOTTOM;
2162
+ };
2163
+ DThemeDarkDialog.prototype.newAnimation = function (mode) {
2164
+ switch (mode) {
2165
+ case DDialogMode.MODAL:
2166
+ return new DAnimationFadeIn();
2167
+ case DDialogMode.MODELESS:
2168
+ return null;
2169
+ case DDialogMode.MENU:
2170
+ return null;
2171
+ }
2172
+ };
2173
+ DThemeDarkDialog.prototype.getBackgroundColor = function (state) {
2174
+ if (state.is(DDialogState.MENU)) {
2175
+ return DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
2176
+ }
2177
+ else {
2178
+ return DThemeDarkConstants.BACKGROUND_COLOR;
2179
+ }
2180
+ };
2181
+ DThemeDarkDialog.prototype.getBorderColor = function (state) {
2182
+ if (state.is(DDialogState.MENU)) {
2183
+ return null;
2184
+ }
2185
+ else {
2186
+ return 0x393939;
2187
+ }
2188
+ };
2189
+ DThemeDarkDialog.prototype.getOutlineColor = function (state) {
2190
+ return null;
2191
+ };
2192
+ DThemeDarkDialog.prototype.getPaddingLeft = function () {
2193
+ return 0;
2194
+ };
2195
+ DThemeDarkDialog.prototype.getPaddingTop = function () {
2196
+ return 0;
2197
+ };
2198
+ DThemeDarkDialog.prototype.getPaddingRight = function () {
2199
+ return 0;
2200
+ };
2201
+ DThemeDarkDialog.prototype.getPaddingBottom = function () {
2202
+ return 0;
2203
+ };
2204
+ DThemeDarkDialog.prototype.getX = function () {
2205
+ return 0;
2206
+ };
2207
+ DThemeDarkDialog.prototype.getY = function () {
2208
+ return 0;
2655
2209
  };
2656
- EThemeDarkShape.prototype.getSizeX = function () {
2657
- return 100;
2210
+ DThemeDarkDialog.prototype.getWidth = function () {
2211
+ return 400;
2658
2212
  };
2659
- EThemeDarkShape.prototype.getSizeY = function () {
2660
- return 100;
2213
+ DThemeDarkDialog.prototype.getHeight = function () {
2214
+ return "auto";
2661
2215
  };
2662
- EThemeDarkShape.prototype.getHighlightColor = function () {
2663
- return 0x1e87f0;
2216
+ DThemeDarkDialog.prototype.getShadow = function () {
2217
+ return this.newShadow();
2664
2218
  };
2665
- EThemeDarkShape.prototype.getCurveSegmentCount = function () {
2666
- return 24;
2219
+ DThemeDarkDialog.prototype.getInteractive = function () {
2220
+ return DBaseInteractive.BOTH;
2667
2221
  };
2668
- return EThemeDarkShape;
2669
- }());
2222
+ return DThemeDarkDialog;
2223
+ }(DThemeDarkBase));
2670
2224
 
2671
2225
  /*
2672
2226
  * Copyright (C) 2019 Toshiba Corporation
2673
2227
  * SPDX-License-Identifier: Apache-2.0
2674
2228
  */
2675
- var loadThemeDarkShape = function () {
2676
- DThemeDark.set("EShape", EThemeDarkShape);
2677
- };
2229
+ var DThemeDarkDialogLayered = /** @class */ (function (_super) {
2230
+ __extends(DThemeDarkDialogLayered, _super);
2231
+ function DThemeDarkDialogLayered() {
2232
+ return _super !== null && _super.apply(this, arguments) || this;
2233
+ }
2234
+ DThemeDarkDialogLayered.prototype.getLayout = function () {
2235
+ return undefined;
2236
+ };
2237
+ DThemeDarkDialogLayered.prototype.getHeader = function () {
2238
+ return null;
2239
+ };
2240
+ DThemeDarkDialogLayered.prototype.getContent = function () {
2241
+ return undefined;
2242
+ };
2243
+ DThemeDarkDialogLayered.prototype.getFooter = function () {
2244
+ return undefined;
2245
+ };
2246
+ return DThemeDarkDialogLayered;
2247
+ }(DThemeDarkDialog));
2678
2248
 
2679
2249
  /*
2680
2250
  * Copyright (C) 2019 Toshiba Corporation
2681
2251
  * SPDX-License-Identifier: Apache-2.0
2682
2252
  */
2683
- var loadThemeDarkDiagram = function () {
2684
- DThemeDark.set("DDiagram", DThemeDarkDiagram);
2685
- DThemeDark.set("DDiagramCanvas", DThemeDarkDiagramCanvas);
2686
- loadThemeDarkShape();
2687
- };
2253
+ var DThemeDarkDialogFitted = /** @class */ (function (_super) {
2254
+ __extends(DThemeDarkDialogFitted, _super);
2255
+ function DThemeDarkDialogFitted() {
2256
+ return _super !== null && _super.apply(this, arguments) || this;
2257
+ }
2258
+ DThemeDarkDialogFitted.prototype.getWidth = function () {
2259
+ return "auto";
2260
+ };
2261
+ return DThemeDarkDialogFitted;
2262
+ }(DThemeDarkDialogLayered));
2688
2263
 
2689
2264
  const DLayoutDirection = wcardinal.ui.DLayoutDirection;
2690
2265
 
@@ -5354,7 +4929,7 @@
5354
4929
  * Copyright (C) 2019 Toshiba Corporation
5355
4930
  * SPDX-License-Identifier: Apache-2.0
5356
4931
  */
5357
- var formatter$8 = function (value) {
4932
+ var formatter$a = function (value) {
5358
4933
  if (value) {
5359
4934
  var text = value.text;
5360
4935
  if (isString(text)) {
@@ -5375,7 +4950,7 @@
5375
4950
  return _super !== null && _super.apply(this, arguments) || this;
5376
4951
  }
5377
4952
  DThemeDarkSelect.prototype.getTextFormatter = function () {
5378
- return formatter$8;
4953
+ return formatter$a;
5379
4954
  };
5380
4955
  DThemeDarkSelect.prototype.newTextValue = function () {
5381
4956
  return null;
@@ -5387,7 +4962,7 @@
5387
4962
  * Copyright (C) 2019 Toshiba Corporation
5388
4963
  * SPDX-License-Identifier: Apache-2.0
5389
4964
  */
5390
- var formatter$7 = function (values) {
4965
+ var formatter$9 = function (values) {
5391
4966
  if (values) {
5392
4967
  var result = "";
5393
4968
  var delimiter = "";
@@ -5416,7 +4991,7 @@
5416
4991
  return _super !== null && _super.apply(this, arguments) || this;
5417
4992
  }
5418
4993
  DThemeDarkSelectMultiple.prototype.getTextFormatter = function () {
5419
- return formatter$7;
4994
+ return formatter$9;
5420
4995
  };
5421
4996
  DThemeDarkSelectMultiple.prototype.newTextValue = function () {
5422
4997
  return [];
@@ -5846,618 +5421,1065 @@
5846
5421
  }
5847
5422
  return "Unknown";
5848
5423
  };
5849
- return EThemeDarkShapeActionValue;
5850
- }());
5851
-
5852
- /*
5853
- * Copyright (C) 2019 Toshiba Corporation
5854
- * SPDX-License-Identifier: Apache-2.0
5855
- */
5856
- var loadThemeDarkShapeActionValue = function () {
5857
- DThemeDark.set("EShapeActionValue", EThemeDarkShapeActionValue);
5858
- };
5424
+ return EThemeDarkShapeActionValue;
5425
+ }());
5426
+
5427
+ /*
5428
+ * Copyright (C) 2019 Toshiba Corporation
5429
+ * SPDX-License-Identifier: Apache-2.0
5430
+ */
5431
+ var loadThemeDarkShapeActionValue = function () {
5432
+ DThemeDark.set("EShapeActionValue", EThemeDarkShapeActionValue);
5433
+ };
5434
+
5435
+ /*
5436
+ * Copyright (C) 2019 Toshiba Corporation
5437
+ * SPDX-License-Identifier: Apache-2.0
5438
+ */
5439
+ var DThemeDarkSlider = /** @class */ (function (_super) {
5440
+ __extends(DThemeDarkSlider, _super);
5441
+ function DThemeDarkSlider() {
5442
+ return _super !== null && _super.apply(this, arguments) || this;
5443
+ }
5444
+ DThemeDarkSlider.prototype.getInteractive = function () {
5445
+ return DBaseInteractive.CHILDREN;
5446
+ };
5447
+ DThemeDarkSlider.prototype.getOutlineColor = function (state) {
5448
+ return null;
5449
+ };
5450
+ return DThemeDarkSlider;
5451
+ }(DThemeDarkBase));
5452
+
5453
+ /*
5454
+ * Copyright (C) 2019 Toshiba Corporation
5455
+ * SPDX-License-Identifier: Apache-2.0
5456
+ */
5457
+ var DThemeDarkSliderHorizontal = /** @class */ (function (_super) {
5458
+ __extends(DThemeDarkSliderHorizontal, _super);
5459
+ function DThemeDarkSliderHorizontal() {
5460
+ return _super !== null && _super.apply(this, arguments) || this;
5461
+ }
5462
+ DThemeDarkSliderHorizontal.prototype.getHeight = function () {
5463
+ return 33;
5464
+ };
5465
+ DThemeDarkSliderHorizontal.prototype.getWidth = function () {
5466
+ return 300;
5467
+ };
5468
+ DThemeDarkSliderHorizontal.prototype.getX = function () {
5469
+ return "CENTER";
5470
+ };
5471
+ return DThemeDarkSliderHorizontal;
5472
+ }(DThemeDarkSlider));
5473
+
5474
+ /*
5475
+ * Copyright (C) 2019 Toshiba Corporation
5476
+ * SPDX-License-Identifier: Apache-2.0
5477
+ */
5478
+ var DThemeDarkSliderLabel = /** @class */ (function (_super) {
5479
+ __extends(DThemeDarkSliderLabel, _super);
5480
+ function DThemeDarkSliderLabel() {
5481
+ return _super !== null && _super.apply(this, arguments) || this;
5482
+ }
5483
+ DThemeDarkSliderLabel.prototype.getHeight = function () {
5484
+ return 15;
5485
+ };
5486
+ DThemeDarkSliderLabel.prototype.getWidth = function () {
5487
+ return 30;
5488
+ };
5489
+ DThemeDarkSliderLabel.prototype.getTextAlignHorizontal = function () {
5490
+ return DAlignHorizontal.CENTER;
5491
+ };
5492
+ DThemeDarkSliderLabel.prototype.getTextAlignVertical = function () {
5493
+ return DAlignVertical.MIDDLE;
5494
+ };
5495
+ DThemeDarkSliderLabel.prototype.newState = function (state) {
5496
+ _super.prototype.newState.call(this, state);
5497
+ state.isFocusable = false;
5498
+ };
5499
+ return DThemeDarkSliderLabel;
5500
+ }(DThemeDarkTextBase));
5501
+
5502
+ var DThemeDarkSliders = /** @class */ (function () {
5503
+ function DThemeDarkSliders() {
5504
+ }
5505
+ DThemeDarkSliders.getBackgroundColor = function (state, isActive) {
5506
+ if (state.isActive || isActive) {
5507
+ if (state.inDisabled) {
5508
+ return this.BACKGROUND_COLOR;
5509
+ }
5510
+ else if (state.isPressed && state.isHovered) {
5511
+ return this.BACKGROUND_COLOR_ACTIVE_PRESSED;
5512
+ }
5513
+ else if (state.isPressed || state.isHovered) {
5514
+ return this.BACKGROUND_COLOR_ACTIVE_HOVERED;
5515
+ }
5516
+ else {
5517
+ return this.BACKGROUND_COLOR_ACTIVE;
5518
+ }
5519
+ }
5520
+ else {
5521
+ if (state.inDisabled) {
5522
+ return this.BACKGROUND_COLOR_DISABLED;
5523
+ }
5524
+ else if (state.isPressed && state.isHovered) {
5525
+ return this.BACKGROUND_COLOR_PRESSED;
5526
+ }
5527
+ else if (state.isPressed || state.isHovered) {
5528
+ return this.BACKGROUND_COLOR_HOVERED;
5529
+ }
5530
+ else {
5531
+ return this.BACKGROUND_COLOR;
5532
+ }
5533
+ }
5534
+ };
5535
+ DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE = DThemeDarkConstants.HIGHLIGHT_COLOR;
5536
+ DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE_HOVERED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE, 0.1);
5537
+ DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE_PRESSED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE, 0.2);
5538
+ DThemeDarkSliders.BACKGROUND_COLOR = DThemeDarkConstants.WEAK_HIGHLIGHT_COLOR;
5539
+ DThemeDarkSliders.BACKGROUND_COLOR_HOVERED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR, 0.1);
5540
+ DThemeDarkSliders.BACKGROUND_COLOR_PRESSED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR, 0.2);
5541
+ DThemeDarkSliders.BACKGROUND_COLOR_DISABLED = UtilRgb.blend(DThemeDarkSliders.BACKGROUND_COLOR, DThemeDarkConstants.BACKGROUND_COLOR, 0.5);
5542
+ return DThemeDarkSliders;
5543
+ }());
5544
+
5545
+ /*
5546
+ * Copyright (C) 2019 Toshiba Corporation
5547
+ * SPDX-License-Identifier: Apache-2.0
5548
+ */
5549
+ /* eslint-disable prettier/prettier */
5550
+ DThemeDarkAtlas.add("slider_thumb", 16, 16, "<circle cx=\"8\" cy=\"8\" r=\"7.5\" stroke=\"none\" fill=\"#ffffff\" />");
5551
+ /* eslint-enable prettier/prettier */
5552
+ var DThemeDarkSliderThumb = /** @class */ (function (_super) {
5553
+ __extends(DThemeDarkSliderThumb, _super);
5554
+ function DThemeDarkSliderThumb() {
5555
+ return _super !== null && _super.apply(this, arguments) || this;
5556
+ }
5557
+ DThemeDarkSliderThumb.prototype.getX = function () {
5558
+ return "CENTER";
5559
+ };
5560
+ DThemeDarkSliderThumb.prototype.getY = function () {
5561
+ return "CENTER";
5562
+ };
5563
+ DThemeDarkSliderThumb.prototype.getWidth = function () {
5564
+ return 16;
5565
+ };
5566
+ DThemeDarkSliderThumb.prototype.getHeight = function () {
5567
+ return 16;
5568
+ };
5569
+ DThemeDarkSliderThumb.prototype.getBackgroundColor = function (state) {
5570
+ return null;
5571
+ };
5572
+ DThemeDarkSliderThumb.prototype.getBorderColor = function (state) {
5573
+ return null;
5574
+ };
5575
+ DThemeDarkSliderThumb.prototype.getImageSource = function (state) {
5576
+ return DThemeDarkAtlas.mappings.slider_thumb;
5577
+ };
5578
+ DThemeDarkSliderThumb.prototype.getImageTintColor = function (state) {
5579
+ return DThemeDarkSliders.getBackgroundColor(state, true);
5580
+ };
5581
+ DThemeDarkSliderThumb.prototype.getImageTintAlpha = function (state) {
5582
+ return 1;
5583
+ };
5584
+ DThemeDarkSliderThumb.prototype.getImageAlignHorizontal = function () {
5585
+ return DAlignHorizontal.CENTER;
5586
+ };
5587
+ DThemeDarkSliderThumb.prototype.getOutlineColor = function (state) {
5588
+ return null;
5589
+ };
5590
+ return DThemeDarkSliderThumb;
5591
+ }(DThemeDarkButton));
5592
+
5593
+ /*
5594
+ * Copyright (C) 2019 Toshiba Corporation
5595
+ * SPDX-License-Identifier: Apache-2.0
5596
+ */
5597
+ var DThemeDarkSliderTrack = /** @class */ (function (_super) {
5598
+ __extends(DThemeDarkSliderTrack, _super);
5599
+ function DThemeDarkSliderTrack() {
5600
+ return _super !== null && _super.apply(this, arguments) || this;
5601
+ }
5602
+ DThemeDarkSliderTrack.prototype.getBackgroundColor = function (state) {
5603
+ return DThemeDarkSliders.getBackgroundColor(state);
5604
+ };
5605
+ DThemeDarkSliderTrack.prototype.getBorderColor = function (state) {
5606
+ return null;
5607
+ };
5608
+ DThemeDarkSliderTrack.prototype.getOutlineColor = function (state) {
5609
+ return _super.prototype.getOutlineColorNonActive.call(this, state);
5610
+ };
5611
+ DThemeDarkSliderTrack.prototype.getOutlineOffset = function (state) {
5612
+ return _super.prototype.getOutlineOffsetNonActive.call(this, state);
5613
+ };
5614
+ DThemeDarkSliderTrack.prototype.newState = function (state) {
5615
+ _super.prototype.newState.call(this, state);
5616
+ state.isFocusable = false;
5617
+ };
5618
+ return DThemeDarkSliderTrack;
5619
+ }(DThemeDarkButton));
5859
5620
 
5860
5621
  /*
5861
5622
  * Copyright (C) 2019 Toshiba Corporation
5862
5623
  * SPDX-License-Identifier: Apache-2.0
5863
5624
  */
5864
- var DThemeDarkSlider = /** @class */ (function (_super) {
5865
- __extends(DThemeDarkSlider, _super);
5866
- function DThemeDarkSlider() {
5625
+ var DThemeDarkSliderTrackHorizontal = /** @class */ (function (_super) {
5626
+ __extends(DThemeDarkSliderTrackHorizontal, _super);
5627
+ function DThemeDarkSliderTrackHorizontal() {
5867
5628
  return _super !== null && _super.apply(this, arguments) || this;
5868
5629
  }
5869
- DThemeDarkSlider.prototype.getInteractive = function () {
5870
- return DBaseInteractive.CHILDREN;
5630
+ DThemeDarkSliderTrackHorizontal.prototype.getX = function () {
5631
+ return 0;
5871
5632
  };
5872
- DThemeDarkSlider.prototype.getOutlineColor = function (state) {
5873
- return null;
5633
+ DThemeDarkSliderTrackHorizontal.prototype.getY = function () {
5634
+ return "CENTER";
5874
5635
  };
5875
- return DThemeDarkSlider;
5876
- }(DThemeDarkBase));
5636
+ DThemeDarkSliderTrackHorizontal.prototype.getWidth = function () {
5637
+ return "100%";
5638
+ };
5639
+ DThemeDarkSliderTrackHorizontal.prototype.getHeight = function () {
5640
+ return 5;
5641
+ };
5642
+ return DThemeDarkSliderTrackHorizontal;
5643
+ }(DThemeDarkSliderTrack));
5877
5644
 
5878
5645
  /*
5879
5646
  * Copyright (C) 2019 Toshiba Corporation
5880
5647
  * SPDX-License-Identifier: Apache-2.0
5881
5648
  */
5882
- var DThemeDarkSliderHorizontal = /** @class */ (function (_super) {
5883
- __extends(DThemeDarkSliderHorizontal, _super);
5884
- function DThemeDarkSliderHorizontal() {
5649
+ var DThemeDarkSliderTrackVertical = /** @class */ (function (_super) {
5650
+ __extends(DThemeDarkSliderTrackVertical, _super);
5651
+ function DThemeDarkSliderTrackVertical() {
5885
5652
  return _super !== null && _super.apply(this, arguments) || this;
5886
5653
  }
5887
- DThemeDarkSliderHorizontal.prototype.getHeight = function () {
5888
- return 33;
5654
+ DThemeDarkSliderTrackVertical.prototype.getX = function () {
5655
+ return "CENTER";
5889
5656
  };
5890
- DThemeDarkSliderHorizontal.prototype.getWidth = function () {
5891
- return 300;
5657
+ DThemeDarkSliderTrackVertical.prototype.getY = function () {
5658
+ return 0;
5892
5659
  };
5893
- DThemeDarkSliderHorizontal.prototype.getX = function () {
5894
- return "CENTER";
5660
+ DThemeDarkSliderTrackVertical.prototype.getWidth = function () {
5661
+ return 5;
5895
5662
  };
5896
- return DThemeDarkSliderHorizontal;
5897
- }(DThemeDarkSlider));
5663
+ DThemeDarkSliderTrackVertical.prototype.getHeight = function () {
5664
+ return "100%";
5665
+ };
5666
+ return DThemeDarkSliderTrackVertical;
5667
+ }(DThemeDarkSliderTrack));
5898
5668
 
5899
5669
  /*
5900
5670
  * Copyright (C) 2019 Toshiba Corporation
5901
5671
  * SPDX-License-Identifier: Apache-2.0
5902
5672
  */
5903
- var DThemeDarkSliderLabel = /** @class */ (function (_super) {
5904
- __extends(DThemeDarkSliderLabel, _super);
5905
- function DThemeDarkSliderLabel() {
5673
+ var DThemeDarkSliderValue = /** @class */ (function (_super) {
5674
+ __extends(DThemeDarkSliderValue, _super);
5675
+ function DThemeDarkSliderValue() {
5906
5676
  return _super !== null && _super.apply(this, arguments) || this;
5907
5677
  }
5908
- DThemeDarkSliderLabel.prototype.getHeight = function () {
5909
- return 15;
5678
+ DThemeDarkSliderValue.prototype.getX = function () {
5679
+ return "CENTER";
5910
5680
  };
5911
- DThemeDarkSliderLabel.prototype.getWidth = function () {
5912
- return 30;
5681
+ DThemeDarkSliderValue.prototype.getY = function () {
5682
+ return "CENTER";
5913
5683
  };
5914
- DThemeDarkSliderLabel.prototype.getTextAlignHorizontal = function () {
5684
+ DThemeDarkSliderValue.prototype.getWidth = function () {
5685
+ return this.getLineHeight() * 2;
5686
+ };
5687
+ DThemeDarkSliderValue.prototype.getHeight = function () {
5688
+ return this.getLineHeight();
5689
+ };
5690
+ DThemeDarkSliderValue.prototype.getBackgroundColor = function (state) {
5691
+ if (state.inDisabled) {
5692
+ return 0x646464;
5693
+ }
5694
+ return DThemeDarkConstants.HIGHLIGHT_COLOR;
5695
+ };
5696
+ DThemeDarkSliderValue.prototype.getBorderColor = function (state) {
5697
+ return null;
5698
+ };
5699
+ DThemeDarkSliderValue.prototype.getColor = function (state) {
5700
+ return DThemeDarkConstants.ACTIVE_COLOR;
5701
+ };
5702
+ DThemeDarkSliderValue.prototype.getAlpha = function (state) {
5703
+ if (state.inDisabled) {
5704
+ return 0.38;
5705
+ }
5706
+ return 1;
5707
+ };
5708
+ DThemeDarkSliderValue.prototype.getTextAlignHorizontal = function () {
5915
5709
  return DAlignHorizontal.CENTER;
5916
5710
  };
5917
- DThemeDarkSliderLabel.prototype.getTextAlignVertical = function () {
5918
- return DAlignVertical.MIDDLE;
5711
+ DThemeDarkSliderValue.prototype.getTextAlignVertical = function () {
5712
+ return DAlignVertical.TOP;
5919
5713
  };
5920
- DThemeDarkSliderLabel.prototype.newState = function (state) {
5714
+ DThemeDarkSliderValue.prototype.getPrecision = function () {
5715
+ return 0;
5716
+ };
5717
+ DThemeDarkSliderValue.prototype.newState = function (state) {
5921
5718
  _super.prototype.newState.call(this, state);
5922
5719
  state.isFocusable = false;
5923
5720
  };
5924
- return DThemeDarkSliderLabel;
5721
+ return DThemeDarkSliderValue;
5925
5722
  }(DThemeDarkTextBase));
5926
5723
 
5927
- var DThemeDarkSliders = /** @class */ (function () {
5928
- function DThemeDarkSliders() {
5724
+ /*
5725
+ * Copyright (C) 2019 Toshiba Corporation
5726
+ * SPDX-License-Identifier: Apache-2.0
5727
+ */
5728
+ var DThemeDarkSliderVertical = /** @class */ (function (_super) {
5729
+ __extends(DThemeDarkSliderVertical, _super);
5730
+ function DThemeDarkSliderVertical() {
5731
+ return _super !== null && _super.apply(this, arguments) || this;
5929
5732
  }
5930
- DThemeDarkSliders.getBackgroundColor = function (state, isActive) {
5931
- if (state.isActive || isActive) {
5932
- if (state.inDisabled) {
5933
- return this.BACKGROUND_COLOR;
5934
- }
5935
- else if (state.isPressed && state.isHovered) {
5936
- return this.BACKGROUND_COLOR_ACTIVE_PRESSED;
5937
- }
5938
- else if (state.isPressed || state.isHovered) {
5939
- return this.BACKGROUND_COLOR_ACTIVE_HOVERED;
5940
- }
5941
- else {
5942
- return this.BACKGROUND_COLOR_ACTIVE;
5943
- }
5944
- }
5945
- else {
5946
- if (state.inDisabled) {
5947
- return this.BACKGROUND_COLOR_DISABLED;
5948
- }
5949
- else if (state.isPressed && state.isHovered) {
5950
- return this.BACKGROUND_COLOR_PRESSED;
5951
- }
5952
- else if (state.isPressed || state.isHovered) {
5953
- return this.BACKGROUND_COLOR_HOVERED;
5733
+ DThemeDarkSliderVertical.prototype.getHeight = function () {
5734
+ return 322;
5735
+ };
5736
+ DThemeDarkSliderVertical.prototype.getWidth = function () {
5737
+ return 35;
5738
+ };
5739
+ return DThemeDarkSliderVertical;
5740
+ }(DThemeDarkSlider));
5741
+
5742
+ /*
5743
+ * Copyright (C) 2019 Toshiba Corporation
5744
+ * SPDX-License-Identifier: Apache-2.0
5745
+ */
5746
+ var loadThemeDarkSlider = function () {
5747
+ DThemeDark.set("DSlider", DThemeDarkSlider);
5748
+ DThemeDark.set("DSliderValue", DThemeDarkSliderValue);
5749
+ DThemeDark.set("DSliderLabel", DThemeDarkSliderLabel);
5750
+ DThemeDark.set("DSliderThumb", DThemeDarkSliderThumb);
5751
+ DThemeDark.set("DSliderVertical", DThemeDarkSliderVertical);
5752
+ DThemeDark.set("DSliderHorizontal", DThemeDarkSliderHorizontal);
5753
+ DThemeDark.set("DSliderTrack", DThemeDarkSliderTrack);
5754
+ DThemeDark.set("DSliderTrackVertical", DThemeDarkSliderTrackVertical);
5755
+ DThemeDark.set("DSliderTrackHorizontal", DThemeDarkSliderTrackHorizontal);
5756
+ };
5757
+
5758
+ /*
5759
+ * Copyright (C) 2019 Toshiba Corporation
5760
+ * SPDX-License-Identifier: Apache-2.0
5761
+ */
5762
+ var loadThemeDarkText = function () {
5763
+ DThemeDark.set("DText", DThemeDarkText);
5764
+ };
5765
+
5766
+ const DTableState = wcardinal.ui.DTableState;
5767
+
5768
+ /*
5769
+ * Copyright (C) 2019 Toshiba Corporation
5770
+ * SPDX-License-Identifier: Apache-2.0
5771
+ */
5772
+ var DThemeDarkTableBodyCellTrees = /** @class */ (function () {
5773
+ function DThemeDarkTableBodyCellTrees() {
5774
+ }
5775
+ DThemeDarkTableBodyCellTrees.init = function () {
5776
+ DThemeDarkExpandables.init();
5777
+ };
5778
+ DThemeDarkTableBodyCellTrees.getImageSource = function (state) {
5779
+ if (state.is(DTableState.HAS_CHILDREN)) {
5780
+ if (state.is(DTableState.OPENED)) {
5781
+ return DThemeDarkExpandables.getImageOpened();
5954
5782
  }
5955
5783
  else {
5956
- return this.BACKGROUND_COLOR;
5784
+ return DThemeDarkExpandables.getImageClosed();
5957
5785
  }
5958
5786
  }
5787
+ return null;
5959
5788
  };
5960
- DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE = DThemeDarkConstants.HIGHLIGHT_COLOR;
5961
- DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE_HOVERED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE, 0.1);
5962
- DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE_PRESSED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR_ACTIVE, 0.2);
5963
- DThemeDarkSliders.BACKGROUND_COLOR = DThemeDarkConstants.WEAK_HIGHLIGHT_COLOR;
5964
- DThemeDarkSliders.BACKGROUND_COLOR_HOVERED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR, 0.1);
5965
- DThemeDarkSliders.BACKGROUND_COLOR_PRESSED = UtilRgb.darken(DThemeDarkSliders.BACKGROUND_COLOR, 0.2);
5966
- DThemeDarkSliders.BACKGROUND_COLOR_DISABLED = UtilRgb.blend(DThemeDarkSliders.BACKGROUND_COLOR, DThemeDarkConstants.BACKGROUND_COLOR, 0.5);
5967
- return DThemeDarkSliders;
5789
+ return DThemeDarkTableBodyCellTrees;
5968
5790
  }());
5969
5791
 
5970
5792
  /*
5971
5793
  * Copyright (C) 2019 Toshiba Corporation
5972
5794
  * SPDX-License-Identifier: Apache-2.0
5973
5795
  */
5974
- /* eslint-disable prettier/prettier */
5975
- DThemeDarkAtlas.add("slider_thumb", 16, 16, "<circle cx=\"8\" cy=\"8\" r=\"7.5\" stroke=\"none\" fill=\"#ffffff\" />");
5976
- /* eslint-enable prettier/prettier */
5977
- var DThemeDarkSliderThumb = /** @class */ (function (_super) {
5978
- __extends(DThemeDarkSliderThumb, _super);
5979
- function DThemeDarkSliderThumb() {
5980
- return _super !== null && _super.apply(this, arguments) || this;
5796
+ var DThemeDarkTreeItems = /** @class */ (function (_super) {
5797
+ __extends(DThemeDarkTreeItems, _super);
5798
+ function DThemeDarkTreeItems() {
5799
+ return _super !== null && _super.apply(this, arguments) || this;
5800
+ }
5801
+ DThemeDarkTreeItems.prototype.getSecondaryImageSource = function (state) {
5802
+ return DThemeDarkTableBodyCellTrees.getImageSource(state);
5803
+ };
5804
+ DThemeDarkTreeItems.prototype.getSecondaryImageTintColor = function (state) {
5805
+ return this.getColor(state);
5806
+ };
5807
+ DThemeDarkTreeItems.prototype.getSecondaryImageTintAlpha = function (state) {
5808
+ return this.getAlpha(state) * 0.5;
5809
+ };
5810
+ DThemeDarkTreeItems.prototype.getSecondaryImageAlignWith = function () {
5811
+ return DAlignWith.PADDING;
5812
+ };
5813
+ DThemeDarkTreeItems.prototype.getSecondaryImageMarginHorizontal = function () {
5814
+ return -19;
5815
+ };
5816
+ return DThemeDarkTreeItems;
5817
+ }(DThemeDarkListItems));
5818
+
5819
+ /*
5820
+ * Copyright (C) 2019 Toshiba Corporation
5821
+ * SPDX-License-Identifier: Apache-2.0
5822
+ */
5823
+ var DThemeDarkTree = /** @class */ (function (_super) {
5824
+ __extends(DThemeDarkTree, _super);
5825
+ function DThemeDarkTree() {
5826
+ var _this = _super.call(this) || this;
5827
+ _this._style = _this.newStyle();
5828
+ return _this;
5829
+ }
5830
+ DThemeDarkTree.prototype.newStyle = function () {
5831
+ return new DThemeDarkTreeItems(null, true, false);
5832
+ };
5833
+ DThemeDarkTree.prototype.getBackgroundColor = function (state) {
5834
+ return DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
5835
+ };
5836
+ return DThemeDarkTree;
5837
+ }(DThemeDarkPane));
5838
+
5839
+ /*
5840
+ * Copyright (C) 2019 Toshiba Corporation
5841
+ * SPDX-License-Identifier: Apache-2.0
5842
+ */
5843
+ var DThemeDarkTreeItemText = /** @class */ (function (_super) {
5844
+ __extends(DThemeDarkTreeItemText, _super);
5845
+ function DThemeDarkTreeItemText() {
5846
+ var _this = _super.call(this) || this;
5847
+ _this._style = _this.newStyle();
5848
+ return _this;
5981
5849
  }
5982
- DThemeDarkSliderThumb.prototype.getX = function () {
5983
- return "CENTER";
5850
+ DThemeDarkTreeItemText.prototype.newStyle = function () {
5851
+ return new DThemeDarkTreeItems(null, true, false);
5984
5852
  };
5985
- DThemeDarkSliderThumb.prototype.getY = function () {
5986
- return "CENTER";
5853
+ DThemeDarkTreeItemText.prototype.getBackgroundColor = function (state) {
5854
+ return this._style.getBackgroundColor(state);
5987
5855
  };
5988
- DThemeDarkSliderThumb.prototype.getWidth = function () {
5989
- return 16;
5856
+ DThemeDarkTreeItemText.prototype.getBackgroundAlpha = function (state) {
5857
+ return this._style.getBackgroundAlpha(state);
5990
5858
  };
5991
- DThemeDarkSliderThumb.prototype.getHeight = function () {
5992
- return 16;
5859
+ DThemeDarkTreeItemText.prototype.getBorderColor = function (state) {
5860
+ return this._style.getBorderColor(state);
5993
5861
  };
5994
- DThemeDarkSliderThumb.prototype.getBackgroundColor = function (state) {
5995
- return null;
5862
+ DThemeDarkTreeItemText.prototype.getBorderMask = function (state) {
5863
+ return this._style.getBorderMask(state);
5996
5864
  };
5997
- DThemeDarkSliderThumb.prototype.getBorderColor = function (state) {
5998
- return null;
5865
+ DThemeDarkTreeItemText.prototype.getColor = function (state) {
5866
+ return this._style.getColor(state);
5999
5867
  };
6000
- DThemeDarkSliderThumb.prototype.getImageSource = function (state) {
6001
- return DThemeDarkAtlas.mappings.slider_thumb;
5868
+ DThemeDarkTreeItemText.prototype.getAlpha = function (state) {
5869
+ return this._style.getAlpha(state);
6002
5870
  };
6003
- DThemeDarkSliderThumb.prototype.getImageTintColor = function (state) {
6004
- return DThemeDarkSliders.getBackgroundColor(state, true);
5871
+ DThemeDarkTreeItemText.prototype.getHeight = function () {
5872
+ return this._style.getHeight();
6005
5873
  };
6006
- DThemeDarkSliderThumb.prototype.getImageTintAlpha = function (state) {
6007
- return 1;
5874
+ DThemeDarkTreeItemText.prototype.getCornerMask = function () {
5875
+ return this._style.getCornerMask();
6008
5876
  };
6009
- DThemeDarkSliderThumb.prototype.getImageAlignHorizontal = function () {
6010
- return DAlignHorizontal.CENTER;
5877
+ DThemeDarkTreeItemText.prototype.getImageTintColor = function (state) {
5878
+ return this._style.getImageTintColor(state);
6011
5879
  };
6012
- DThemeDarkSliderThumb.prototype.getOutlineColor = function (state) {
6013
- return null;
5880
+ DThemeDarkTreeItemText.prototype.getCursor = function (state) {
5881
+ return this._style.getCursor(state);
6014
5882
  };
6015
- return DThemeDarkSliderThumb;
6016
- }(DThemeDarkButton));
6017
-
6018
- /*
6019
- * Copyright (C) 2019 Toshiba Corporation
6020
- * SPDX-License-Identifier: Apache-2.0
6021
- */
6022
- var DThemeDarkSliderTrack = /** @class */ (function (_super) {
6023
- __extends(DThemeDarkSliderTrack, _super);
6024
- function DThemeDarkSliderTrack() {
6025
- return _super !== null && _super.apply(this, arguments) || this;
6026
- }
6027
- DThemeDarkSliderTrack.prototype.getBackgroundColor = function (state) {
6028
- return DThemeDarkSliders.getBackgroundColor(state);
5883
+ DThemeDarkTreeItemText.prototype.getPaddingLeft = function () {
5884
+ return 10;
6029
5885
  };
6030
- DThemeDarkSliderTrack.prototype.getBorderColor = function (state) {
6031
- return null;
5886
+ DThemeDarkTreeItemText.prototype.getPaddingRight = function () {
5887
+ return 10;
6032
5888
  };
6033
- DThemeDarkSliderTrack.prototype.getOutlineColor = function (state) {
6034
- return _super.prototype.getOutlineColorNonActive.call(this, state);
5889
+ DThemeDarkTreeItemText.prototype.newTextValue = function () {
5890
+ return undefined;
6035
5891
  };
6036
- DThemeDarkSliderTrack.prototype.getOutlineOffset = function (state) {
6037
- return _super.prototype.getOutlineOffsetNonActive.call(this, state);
5892
+ DThemeDarkTreeItemText.prototype.getWidth = function () {
5893
+ return "padding";
6038
5894
  };
6039
- DThemeDarkSliderTrack.prototype.newState = function (state) {
5895
+ DThemeDarkTreeItemText.prototype.getLevelPadding = function (level) {
5896
+ return 24 + level * 20 - this.getPaddingLeft();
5897
+ };
5898
+ DThemeDarkTreeItemText.prototype.newState = function (state) {
6040
5899
  _super.prototype.newState.call(this, state);
6041
- state.isFocusable = false;
5900
+ state.isDisabled = true;
6042
5901
  };
6043
- return DThemeDarkSliderTrack;
6044
- }(DThemeDarkButton));
5902
+ return DThemeDarkTreeItemText;
5903
+ }(DThemeDarkImageBase));
6045
5904
 
6046
5905
  /*
6047
5906
  * Copyright (C) 2019 Toshiba Corporation
6048
5907
  * SPDX-License-Identifier: Apache-2.0
6049
5908
  */
6050
- var DThemeDarkSliderTrackHorizontal = /** @class */ (function (_super) {
6051
- __extends(DThemeDarkSliderTrackHorizontal, _super);
6052
- function DThemeDarkSliderTrackHorizontal() {
5909
+ var DThemeDarkTreeItemButton = /** @class */ (function (_super) {
5910
+ __extends(DThemeDarkTreeItemButton, _super);
5911
+ function DThemeDarkTreeItemButton() {
6053
5912
  return _super !== null && _super.apply(this, arguments) || this;
6054
5913
  }
6055
- DThemeDarkSliderTrackHorizontal.prototype.getX = function () {
6056
- return 0;
6057
- };
6058
- DThemeDarkSliderTrackHorizontal.prototype.getY = function () {
6059
- return "CENTER";
6060
- };
6061
- DThemeDarkSliderTrackHorizontal.prototype.getWidth = function () {
6062
- return "100%";
6063
- };
6064
- DThemeDarkSliderTrackHorizontal.prototype.getHeight = function () {
6065
- return 5;
5914
+ DThemeDarkTreeItemButton.prototype.getCursor = function (state) {
5915
+ if (!state.isActionable) {
5916
+ return "";
5917
+ }
5918
+ return "pointer";
6066
5919
  };
6067
- return DThemeDarkSliderTrackHorizontal;
6068
- }(DThemeDarkSliderTrack));
5920
+ return DThemeDarkTreeItemButton;
5921
+ }(DThemeDarkTreeItemText));
6069
5922
 
6070
5923
  /*
6071
5924
  * Copyright (C) 2019 Toshiba Corporation
6072
5925
  * SPDX-License-Identifier: Apache-2.0
6073
5926
  */
6074
- var DThemeDarkSliderTrackVertical = /** @class */ (function (_super) {
6075
- __extends(DThemeDarkSliderTrackVertical, _super);
6076
- function DThemeDarkSliderTrackVertical() {
5927
+ DThemeDarkTableBodyCellTrees.init();
5928
+ var DThemeDarkTreeItemNonEditable = /** @class */ (function (_super) {
5929
+ __extends(DThemeDarkTreeItemNonEditable, _super);
5930
+ function DThemeDarkTreeItemNonEditable() {
6077
5931
  return _super !== null && _super.apply(this, arguments) || this;
6078
5932
  }
6079
- DThemeDarkSliderTrackVertical.prototype.getX = function () {
6080
- return "CENTER";
5933
+ DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageSource = function (state) {
5934
+ return this._style.getSecondaryImageSource(state);
6081
5935
  };
6082
- DThemeDarkSliderTrackVertical.prototype.getY = function () {
6083
- return 0;
5936
+ DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageTintColor = function (state) {
5937
+ return this._style.getSecondaryImageTintColor(state);
6084
5938
  };
6085
- DThemeDarkSliderTrackVertical.prototype.getWidth = function () {
6086
- return 5;
5939
+ DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageTintAlpha = function (state) {
5940
+ return this._style.getSecondaryImageTintAlpha(state);
6087
5941
  };
6088
- DThemeDarkSliderTrackVertical.prototype.getHeight = function () {
6089
- return "100%";
5942
+ DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageAlignWith = function () {
5943
+ return this._style.getSecondaryImageAlignWith();
6090
5944
  };
6091
- return DThemeDarkSliderTrackVertical;
6092
- }(DThemeDarkSliderTrack));
5945
+ DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageMarginHorizontal = function () {
5946
+ return this._style.getSecondaryImageMarginHorizontal();
5947
+ };
5948
+ return DThemeDarkTreeItemNonEditable;
5949
+ }(DThemeDarkTreeItemButton));
6093
5950
 
6094
5951
  /*
6095
5952
  * Copyright (C) 2019 Toshiba Corporation
6096
5953
  * SPDX-License-Identifier: Apache-2.0
6097
5954
  */
6098
- var DThemeDarkSliderValue = /** @class */ (function (_super) {
6099
- __extends(DThemeDarkSliderValue, _super);
6100
- function DThemeDarkSliderValue() {
6101
- return _super !== null && _super.apply(this, arguments) || this;
5955
+ var loadThemeDarkTree = function () {
5956
+ DThemeDark.set("DTree", DThemeDarkTree);
5957
+ DThemeDark.set("DTreeItemText", DThemeDarkTreeItemText);
5958
+ DThemeDark.set("DTreeItemButton", DThemeDarkTreeItemButton);
5959
+ DThemeDark.set("DTreeItemNonEditable", DThemeDarkTreeItemNonEditable);
5960
+ };
5961
+
5962
+ const UtilGestureModifier = wcardinal.ui.UtilGestureModifier;
5963
+
5964
+ /*
5965
+ * Copyright (C) 2019 Toshiba Corporation
5966
+ * SPDX-License-Identifier: Apache-2.0
5967
+ */
5968
+ var DThemeDarkView = /** @class */ (function () {
5969
+ function DThemeDarkView() {
6102
5970
  }
6103
- DThemeDarkSliderValue.prototype.getX = function () {
6104
- return "CENTER";
5971
+ DThemeDarkView.prototype.isWheelZoomEnabled = function () {
5972
+ return true;
6105
5973
  };
6106
- DThemeDarkSliderValue.prototype.getY = function () {
6107
- return "CENTER";
5974
+ DThemeDarkView.prototype.getWheelZoomSpeed = function () {
5975
+ return 0.004;
6108
5976
  };
6109
- DThemeDarkSliderValue.prototype.getWidth = function () {
6110
- return this.getLineHeight() * 2;
5977
+ DThemeDarkView.prototype.getWheelZoomModifier = function () {
5978
+ return UtilGestureModifier.NOT_NONE;
6111
5979
  };
6112
- DThemeDarkSliderValue.prototype.getHeight = function () {
6113
- return this.getLineHeight();
5980
+ DThemeDarkView.prototype.isWheelTranslationEnabled = function () {
5981
+ return true;
6114
5982
  };
6115
- DThemeDarkSliderValue.prototype.getBackgroundColor = function (state) {
6116
- if (state.inDisabled) {
6117
- return 0x646464;
6118
- }
6119
- return DThemeDarkConstants.HIGHLIGHT_COLOR;
5983
+ DThemeDarkView.prototype.getWheelTranslationSpeed = function () {
5984
+ return 14 * 0.16;
6120
5985
  };
6121
- DThemeDarkSliderValue.prototype.getBorderColor = function (state) {
6122
- return null;
5986
+ DThemeDarkView.prototype.getWheelTranslationModifier = function () {
5987
+ return UtilGestureModifier.NONE;
6123
5988
  };
6124
- DThemeDarkSliderValue.prototype.getColor = function (state) {
6125
- return DThemeDarkConstants.ACTIVE_COLOR;
5989
+ DThemeDarkView.prototype.isDblClickZoomEnabled = function () {
5990
+ return true;
6126
5991
  };
6127
- DThemeDarkSliderValue.prototype.getAlpha = function (state) {
6128
- if (state.inDisabled) {
6129
- return 0.38;
6130
- }
6131
- return 1;
5992
+ DThemeDarkView.prototype.getDblClickZoomSpeed = function () {
5993
+ return 2;
6132
5994
  };
6133
- DThemeDarkSliderValue.prototype.getTextAlignHorizontal = function () {
6134
- return DAlignHorizontal.CENTER;
5995
+ DThemeDarkView.prototype.getDblClickZoomModifier = function () {
5996
+ return UtilGestureModifier.NONE;
6135
5997
  };
6136
- DThemeDarkSliderValue.prototype.getTextAlignVertical = function () {
6137
- return DAlignVertical.TOP;
5998
+ DThemeDarkView.prototype.getDblClickZoomDuration = function () {
5999
+ return 333;
6138
6000
  };
6139
- DThemeDarkSliderValue.prototype.getPrecision = function () {
6140
- return 0;
6001
+ DThemeDarkView.prototype.getZoomMin = function () {
6002
+ return 0.01;
6141
6003
  };
6142
- DThemeDarkSliderValue.prototype.newState = function (state) {
6143
- _super.prototype.newState.call(this, state);
6144
- state.isFocusable = false;
6004
+ DThemeDarkView.prototype.getZoomMax = function () {
6005
+ return 100;
6145
6006
  };
6146
- return DThemeDarkSliderValue;
6147
- }(DThemeDarkTextBase));
6148
-
6149
- /*
6150
- * Copyright (C) 2019 Toshiba Corporation
6151
- * SPDX-License-Identifier: Apache-2.0
6152
- */
6153
- var DThemeDarkSliderVertical = /** @class */ (function (_super) {
6154
- __extends(DThemeDarkSliderVertical, _super);
6155
- function DThemeDarkSliderVertical() {
6156
- return _super !== null && _super.apply(this, arguments) || this;
6157
- }
6158
- DThemeDarkSliderVertical.prototype.getHeight = function () {
6159
- return 322;
6007
+ DThemeDarkView.prototype.getZoomKeepRatio = function () {
6008
+ return true;
6160
6009
  };
6161
- DThemeDarkSliderVertical.prototype.getWidth = function () {
6162
- return 35;
6010
+ DThemeDarkView.prototype.getGestureMode = function () {
6011
+ return UtilGestureMode.ON;
6163
6012
  };
6164
- return DThemeDarkSliderVertical;
6165
- }(DThemeDarkSlider));
6013
+ DThemeDarkView.prototype.getGestureModifier = function () {
6014
+ return UtilGestureModifier.NONE;
6015
+ };
6016
+ DThemeDarkView.prototype.getGestureDuration = function () {
6017
+ return 1;
6018
+ };
6019
+ return DThemeDarkView;
6020
+ }());
6166
6021
 
6167
6022
  /*
6168
6023
  * Copyright (C) 2019 Toshiba Corporation
6169
6024
  * SPDX-License-Identifier: Apache-2.0
6170
6025
  */
6171
- var loadThemeDarkSlider = function () {
6172
- DThemeDark.set("DSlider", DThemeDarkSlider);
6173
- DThemeDark.set("DSliderValue", DThemeDarkSliderValue);
6174
- DThemeDark.set("DSliderLabel", DThemeDarkSliderLabel);
6175
- DThemeDark.set("DSliderThumb", DThemeDarkSliderThumb);
6176
- DThemeDark.set("DSliderVertical", DThemeDarkSliderVertical);
6177
- DThemeDark.set("DSliderHorizontal", DThemeDarkSliderHorizontal);
6178
- DThemeDark.set("DSliderTrack", DThemeDarkSliderTrack);
6179
- DThemeDark.set("DSliderTrackVertical", DThemeDarkSliderTrackVertical);
6180
- DThemeDark.set("DSliderTrackHorizontal", DThemeDarkSliderTrackHorizontal);
6026
+ var loadThemeDarkView = function () {
6027
+ DThemeDark.set("DView", DThemeDarkView);
6181
6028
  };
6182
6029
 
6183
6030
  /*
6184
6031
  * Copyright (C) 2019 Toshiba Corporation
6185
6032
  * SPDX-License-Identifier: Apache-2.0
6186
6033
  */
6187
- var loadThemeDarkText = function () {
6188
- DThemeDark.set("DText", DThemeDarkText);
6034
+ var loadThemeDark = function () {
6035
+ DThemes.setDefaultThemeClass(DThemeDark);
6189
6036
  };
6190
6037
 
6191
- const DTableState = wcardinal.ui.DTableState;
6192
-
6193
- /*
6194
- * Copyright (C) 2019 Toshiba Corporation
6195
- * SPDX-License-Identifier: Apache-2.0
6196
- */
6197
- var DThemeDarkTableBodyCellTrees = /** @class */ (function () {
6198
- function DThemeDarkTableBodyCellTrees() {
6199
- }
6200
- DThemeDarkTableBodyCellTrees.init = function () {
6201
- DThemeDarkExpandables.init();
6202
- };
6203
- DThemeDarkTableBodyCellTrees.getImageSource = function (state) {
6204
- if (state.is(DTableState.HAS_CHILDREN)) {
6205
- if (state.is(DTableState.OPENED)) {
6206
- return DThemeDarkExpandables.getImageOpened();
6207
- }
6208
- else {
6209
- return DThemeDarkExpandables.getImageClosed();
6210
- }
6211
- }
6212
- return null;
6213
- };
6214
- return DThemeDarkTableBodyCellTrees;
6215
- }());
6216
-
6217
6038
  /*
6218
6039
  * Copyright (C) 2019 Toshiba Corporation
6219
6040
  * SPDX-License-Identifier: Apache-2.0
6220
6041
  */
6221
- var DThemeDarkTreeItems = /** @class */ (function (_super) {
6222
- __extends(DThemeDarkTreeItems, _super);
6223
- function DThemeDarkTreeItems() {
6042
+ // Material Design icons by Google.
6043
+ // Apache license version 2.0.
6044
+ /* eslint-disable prettier/prettier */
6045
+ DThemeDarkAtlas.add("button_color_sample", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
6046
+ "<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
6047
+ "</g>");
6048
+ /* eslint-enable prettier/prettier */
6049
+ var formatter$8 = function (colorAndAlpha) {
6050
+ return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
6051
+ };
6052
+ var DThemeDarkButtonColor = /** @class */ (function (_super) {
6053
+ __extends(DThemeDarkButtonColor, _super);
6054
+ function DThemeDarkButtonColor() {
6224
6055
  return _super !== null && _super.apply(this, arguments) || this;
6225
6056
  }
6226
- DThemeDarkTreeItems.prototype.getSecondaryImageSource = function (state) {
6227
- return DThemeDarkTableBodyCellTrees.getImageSource(state);
6228
- };
6229
- DThemeDarkTreeItems.prototype.getSecondaryImageTintColor = function (state) {
6230
- return this.getColor(state);
6057
+ DThemeDarkButtonColor.prototype.getImageTintColor = function (state) {
6058
+ return null;
6231
6059
  };
6232
- DThemeDarkTreeItems.prototype.getSecondaryImageTintAlpha = function (state) {
6233
- return this.getAlpha(state) * 0.5;
6060
+ DThemeDarkButtonColor.prototype.getImageSource = function (state) {
6061
+ return DThemeDarkAtlas.mappings.button_color_sample;
6234
6062
  };
6235
- DThemeDarkTreeItems.prototype.getSecondaryImageAlignWith = function () {
6236
- return DAlignWith.PADDING;
6063
+ DThemeDarkButtonColor.prototype.getTextFormatter = function () {
6064
+ return formatter$8;
6237
6065
  };
6238
- DThemeDarkTreeItems.prototype.getSecondaryImageMarginHorizontal = function () {
6239
- return -19;
6066
+ DThemeDarkButtonColor.prototype.newTextValue = function () {
6067
+ return {
6068
+ color: 0xdedede,
6069
+ alpha: 1
6070
+ };
6240
6071
  };
6241
- return DThemeDarkTreeItems;
6242
- }(DThemeDarkListItems));
6072
+ return DThemeDarkButtonColor;
6073
+ }(DThemeDarkButton));
6243
6074
 
6244
6075
  /*
6245
6076
  * Copyright (C) 2019 Toshiba Corporation
6246
6077
  * SPDX-License-Identifier: Apache-2.0
6247
6078
  */
6248
- var DThemeDarkTree = /** @class */ (function (_super) {
6249
- __extends(DThemeDarkTree, _super);
6250
- function DThemeDarkTree() {
6251
- var _this = _super.call(this) || this;
6252
- _this._style = _this.newStyle();
6253
- return _this;
6079
+ var DThemeDarkDialogColor = /** @class */ (function (_super) {
6080
+ __extends(DThemeDarkDialogColor, _super);
6081
+ function DThemeDarkDialogColor() {
6082
+ return _super !== null && _super.apply(this, arguments) || this;
6254
6083
  }
6255
- DThemeDarkTree.prototype.newStyle = function () {
6256
- return new DThemeDarkTreeItems(null, true, false);
6257
- };
6258
- DThemeDarkTree.prototype.getBackgroundColor = function (state) {
6259
- return DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
6260
- };
6261
- return DThemeDarkTree;
6262
- }(DThemeDarkPane));
6084
+ return DThemeDarkDialogColor;
6085
+ }(DThemeDarkDialogFitted));
6086
+
6087
+ const DColorType = wcardinal.ui.DColorType;
6263
6088
 
6264
6089
  /*
6265
6090
  * Copyright (C) 2019 Toshiba Corporation
6266
6091
  * SPDX-License-Identifier: Apache-2.0
6267
6092
  */
6268
- var DThemeDarkTreeItemText = /** @class */ (function (_super) {
6269
- __extends(DThemeDarkTreeItemText, _super);
6270
- function DThemeDarkTreeItemText() {
6271
- var _this = _super.call(this) || this;
6272
- _this._style = _this.newStyle();
6273
- return _this;
6093
+ var makeCheckerboard = function (width, height) {
6094
+ var LIGHT = "#5f5f5f";
6095
+ var DARK = "#454545";
6096
+ var result = "<g>";
6097
+ for (var ih = 0; ih < height; ++ih) {
6098
+ for (var iw = 0; iw < width; ++iw) {
6099
+ var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
6100
+ result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
6101
+ }
6274
6102
  }
6275
- DThemeDarkTreeItemText.prototype.newStyle = function () {
6276
- return new DThemeDarkTreeItems(null, true, false);
6103
+ result += "</g>";
6104
+ return result;
6105
+ };
6106
+ /* eslint-disable prettier/prettier */
6107
+ DThemeDarkAtlas.add("picker_color_main", 236, 164, "<g>" +
6108
+ "<linearGradient id=\"fs7w3iusfdnb\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
6109
+ "<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
6110
+ "<stop stop-color=\"#FFFFFF\" stop-opacity=\"1\" offset=\"1\"/>" +
6111
+ "</linearGradient>" +
6112
+ "<linearGradient id=\"2rfcfe9874bw\" x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">" +
6113
+ "<stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"0\"/>" +
6114
+ "<stop stop-color=\"#000000\" stop-opacity=\"1\" offset=\"1\"/>" +
6115
+ "</linearGradient>" +
6116
+ "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"url(#fs7w3iusfdnb)\" />" +
6117
+ "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"url(#2rfcfe9874bw)\" />" +
6118
+ "</g>", 1, 1, 234, 162);
6119
+ DThemeDarkAtlas.add("picker_color_main_base", 236, 164, "<g>" +
6120
+ "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"#fff\" />" +
6121
+ "</g>", 1, 1, 234, 162);
6122
+ DThemeDarkAtlas.add("picker_color_alpha_checkerboard", 234, 18, makeCheckerboard(26, 2));
6123
+ DThemeDarkAtlas.add("picker_color_alpha", 234, 18, "<g>" +
6124
+ "<linearGradient id=\"s48afbuh44\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
6125
+ "<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
6126
+ "<stop stop-color=\"#FFFFFF\" stop-opacity=\"1\" offset=\"1\"/>" +
6127
+ "</linearGradient>" +
6128
+ "<rect x=\"0\" y=\"0\" width=\"234\" height=\"18\" fill=\"url(#s48afbuh44)\" />" +
6129
+ "</g>");
6130
+ DThemeDarkAtlas.add("picker_color_base", 234, 18, "<g>" +
6131
+ "<linearGradient id=\"ni2rbisdf3\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
6132
+ "<stop stop-color=\"#FF0000\" offset=\"0\"/>" +
6133
+ "<stop stop-color=\"#FFFF00\" offset=\"0.167\"/>" +
6134
+ "<stop stop-color=\"#00FF00\" offset=\"0.333\"/>" +
6135
+ "<stop stop-color=\"#00FFFF\" offset=\"0.5\"/>" +
6136
+ "<stop stop-color=\"#0000FF\" offset=\"0.667\"/>" +
6137
+ "<stop stop-color=\"#FF00FF\" offset=\"0.833\"/>" +
6138
+ "<stop stop-color=\"#FF0000\" offset=\"1\"/>" +
6139
+ "</linearGradient>" +
6140
+ "<rect x=\"0\" y=\"0\" width=\"234\" height=\"18\" fill=\"url(#ni2rbisdf3)\" />" +
6141
+ "</g>");
6142
+ DThemeDarkAtlas.add("picker_color_base_pointer", 16.2, 31.8, "<rect x=\"4.5\" y=\"4.5\" width=\"7.2\" height=\"22.8\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
6143
+ DThemeDarkAtlas.add("picker_color_pointer", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"4.8\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />" +
6144
+ "<circle cx=\"12.9\" cy=\"12.9\" r=\"7.2\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
6145
+ DThemeDarkAtlas.add("picker_color_recent_checkerboard", 36, 36, makeCheckerboard(4, 4), 9, 9, 18, 18);
6146
+ DThemeDarkAtlas.add("picker_color_recent", 36, 36, "<g>" +
6147
+ "<rect x=\"0\" y=\"0\" width=\"36\" height=\"36\" fill=\"#fff\" />" +
6148
+ "<path x=\"0\" y=\"0\" d=\"M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z\" fill=\"#eee\" />" +
6149
+ "</g>", 9, 9, 18, 18);
6150
+ DThemeDarkAtlas.add("picker_color_sample_checkerboard", 45, 63, makeCheckerboard(5, 7));
6151
+ DThemeDarkAtlas.add("picker_color_sample", 47, 65, "<g>" +
6152
+ "<rect x=\"0\" y=\"0\" width=\"47\" height=\"65\" fill=\"#fff\" />" +
6153
+ "</g>", 1, 1, 45, 63);
6154
+ DThemeDarkAtlas.add("picker_color_anchor_outlined", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"8.4\" stroke=\"none\" fill=\"#ffffff\" />" +
6155
+ "<circle cx=\"12.9\" cy=\"12.9\" r=\"9.6\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
6156
+ DThemeDarkAtlas.add("picker_color_anchor", 28.2, 28.2, "<circle cx=\"14.1\" cy=\"14.1\" r=\"6\" stroke=\"none\" fill=\"#ffffff\" />" +
6157
+ "<circle cx=\"14.1\" cy=\"14.1\" r=\"7.2\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
6158
+ DThemeDarkAtlas.add("picker_color_direction", 12, 30, "<path d=\"M0.6 25.8 L 12.0375 5.9895\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
6159
+ "<path d=\"M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
6160
+ "<rect x=\"0.6\" y=\"24.6\" width=\"11.4375\" height=\"1.2\" rx=\"0.6\" ry=\"0.6\" stroke=\"none\" fill=\"#5f5f5f\" />");
6161
+ DThemeDarkAtlas.add("picker_color_standard", 18, 18, "<g>" +
6162
+ "<rect x=\"0\" y=\"0\" width=\"18\" height=\"18\" fill=\"#fff\" stroke-width=\"1\" stroke=\"#eee\" />" +
6163
+ "</g>");
6164
+ /* eslint-enable prettier/prettier */
6165
+ var DThemeDarkPickerColor = /** @class */ (function (_super) {
6166
+ __extends(DThemeDarkPickerColor, _super);
6167
+ function DThemeDarkPickerColor() {
6168
+ return _super !== null && _super.apply(this, arguments) || this;
6169
+ }
6170
+ DThemeDarkPickerColor.prototype.getMainWidth = function () {
6171
+ return 234;
6172
+ };
6173
+ DThemeDarkPickerColor.prototype.getMainHeight = function () {
6174
+ return 162;
6175
+ };
6176
+ DThemeDarkPickerColor.prototype.getMainTexture = function () {
6177
+ return DThemeDarkAtlas.mappings.picker_color_main;
6178
+ };
6179
+ DThemeDarkPickerColor.prototype.getMainBaseTexture = function () {
6180
+ return DThemeDarkAtlas.mappings.picker_color_main_base;
6181
+ };
6182
+ DThemeDarkPickerColor.prototype.getMainPointerTexture = function () {
6183
+ return DThemeDarkAtlas.mappings.picker_color_pointer;
6184
+ };
6185
+ DThemeDarkPickerColor.prototype.getMainPointerColor = function () {
6186
+ return 0xffffff;
6187
+ };
6188
+ DThemeDarkPickerColor.prototype.getMainPointerAlpha = function () {
6189
+ return 1;
6190
+ };
6191
+ DThemeDarkPickerColor.prototype.getBaseHeight = function () {
6192
+ return 18;
6193
+ };
6194
+ DThemeDarkPickerColor.prototype.getBaseMargin = function () {
6195
+ return 6;
6196
+ };
6197
+ DThemeDarkPickerColor.prototype.getBaseTexture = function () {
6198
+ return DThemeDarkAtlas.mappings.picker_color_base;
6199
+ };
6200
+ DThemeDarkPickerColor.prototype.getBasePointerTexture = function () {
6201
+ return DThemeDarkAtlas.mappings.picker_color_base_pointer;
6202
+ };
6203
+ DThemeDarkPickerColor.prototype.getBasePointerColor = function () {
6204
+ return 0xffffff;
6205
+ };
6206
+ DThemeDarkPickerColor.prototype.getBasePointerAlpha = function () {
6207
+ return this.getMainPointerAlpha();
6208
+ };
6209
+ DThemeDarkPickerColor.prototype.getAlphaHeight = function () {
6210
+ return this.getBaseHeight();
6211
+ };
6212
+ DThemeDarkPickerColor.prototype.getAlphaMargin = function () {
6213
+ return this.getBaseMargin();
6214
+ };
6215
+ DThemeDarkPickerColor.prototype.getAlphaTexture = function () {
6216
+ return DThemeDarkAtlas.mappings.picker_color_alpha;
6217
+ };
6218
+ DThemeDarkPickerColor.prototype.getAlphaCheckerboardTexture = function () {
6219
+ return DThemeDarkAtlas.mappings.picker_color_alpha_checkerboard;
6220
+ };
6221
+ DThemeDarkPickerColor.prototype.getAlphaPointerTexture = function () {
6222
+ return this.getBasePointerTexture();
6223
+ };
6224
+ DThemeDarkPickerColor.prototype.getAlphaPointerColor = function () {
6225
+ return this.getBasePointerColor();
6226
+ };
6227
+ DThemeDarkPickerColor.prototype.getAlphaPointerAlpha = function () {
6228
+ return this.getMainPointerAlpha();
6229
+ };
6230
+ DThemeDarkPickerColor.prototype.getRecentMargin = function () {
6231
+ return this.getBaseMargin();
6232
+ };
6233
+ DThemeDarkPickerColor.prototype.getRecentColorWidth = function () {
6234
+ return this.getBaseHeight();
6235
+ };
6236
+ DThemeDarkPickerColor.prototype.getRecentColorHeight = function () {
6237
+ return this.getRecentColorWidth();
6277
6238
  };
6278
- DThemeDarkTreeItemText.prototype.getBackgroundColor = function (state) {
6279
- return this._style.getBackgroundColor(state);
6239
+ DThemeDarkPickerColor.prototype.getRecentColorMargin = function () {
6240
+ return this.getRecentMargin();
6280
6241
  };
6281
- DThemeDarkTreeItemText.prototype.getBackgroundAlpha = function (state) {
6282
- return this._style.getBackgroundAlpha(state);
6242
+ DThemeDarkPickerColor.prototype.getRecentColorCount = function () {
6243
+ return 10;
6283
6244
  };
6284
- DThemeDarkTreeItemText.prototype.getBorderColor = function (state) {
6285
- return this._style.getBorderColor(state);
6245
+ DThemeDarkPickerColor.prototype.getRecentCheckerboardTexture = function () {
6246
+ return DThemeDarkAtlas.mappings.picker_color_recent_checkerboard;
6286
6247
  };
6287
- DThemeDarkTreeItemText.prototype.getBorderMask = function (state) {
6288
- return this._style.getBorderMask(state);
6248
+ DThemeDarkPickerColor.prototype.getRecentTexture = function () {
6249
+ return DThemeDarkAtlas.mappings.picker_color_recent;
6289
6250
  };
6290
- DThemeDarkTreeItemText.prototype.getColor = function (state) {
6291
- return this._style.getColor(state);
6251
+ DThemeDarkPickerColor.prototype.getInputMargin = function () {
6252
+ return this.getBaseMargin();
6292
6253
  };
6293
- DThemeDarkTreeItemText.prototype.getAlpha = function (state) {
6294
- return this._style.getAlpha(state);
6254
+ DThemeDarkPickerColor.prototype.getInputLabelWidth = function () {
6255
+ return 15;
6295
6256
  };
6296
- DThemeDarkTreeItemText.prototype.getHeight = function () {
6297
- return this._style.getHeight();
6257
+ DThemeDarkPickerColor.prototype.getSampleCheckerboardOldTexture = function () {
6258
+ return DThemeDarkAtlas.mappings.picker_color_sample_checkerboard;
6298
6259
  };
6299
- DThemeDarkTreeItemText.prototype.getCornerMask = function () {
6300
- return this._style.getCornerMask();
6260
+ DThemeDarkPickerColor.prototype.getSampleCheckerboardNewTexture = function () {
6261
+ return DThemeDarkAtlas.mappings.picker_color_sample_checkerboard;
6301
6262
  };
6302
- DThemeDarkTreeItemText.prototype.getImageTintColor = function (state) {
6303
- return this._style.getImageTintColor(state);
6263
+ DThemeDarkPickerColor.prototype.getSampleOldTexture = function () {
6264
+ return DThemeDarkAtlas.mappings.picker_color_sample;
6304
6265
  };
6305
- DThemeDarkTreeItemText.prototype.getCursor = function (state) {
6306
- return this._style.getCursor(state);
6266
+ DThemeDarkPickerColor.prototype.getSampleNewTexture = function () {
6267
+ return DThemeDarkAtlas.mappings.picker_color_sample;
6307
6268
  };
6308
- DThemeDarkTreeItemText.prototype.getPaddingLeft = function () {
6309
- return 10;
6269
+ DThemeDarkPickerColor.prototype.getStandardColorCount = function () {
6270
+ return 80;
6310
6271
  };
6311
- DThemeDarkTreeItemText.prototype.getPaddingRight = function () {
6312
- return 10;
6272
+ DThemeDarkPickerColor.prototype.getStandardColorWidth = function () {
6273
+ return this.getBaseHeight();
6313
6274
  };
6314
- DThemeDarkTreeItemText.prototype.newTextValue = function () {
6315
- return undefined;
6275
+ DThemeDarkPickerColor.prototype.getStandardColorHeight = function () {
6276
+ return this.getStandardColorWidth();
6316
6277
  };
6317
- DThemeDarkTreeItemText.prototype.getWidth = function () {
6318
- return "padding";
6278
+ DThemeDarkPickerColor.prototype.getStandardColorMargin = function () {
6279
+ return this.getBaseMargin();
6319
6280
  };
6320
- DThemeDarkTreeItemText.prototype.getLevelPadding = function (level) {
6321
- return 24 + level * 20 - this.getPaddingLeft();
6281
+ DThemeDarkPickerColor.prototype.getStandardTexture = function () {
6282
+ return DThemeDarkAtlas.mappings.picker_color_standard;
6322
6283
  };
6323
- DThemeDarkTreeItemText.prototype.newState = function (state) {
6284
+ DThemeDarkPickerColor.prototype.getBackgroundColor = function (state) {
6285
+ return null;
6286
+ };
6287
+ DThemeDarkPickerColor.prototype.getBorderColor = function (state) {
6288
+ return null;
6289
+ };
6290
+ DThemeDarkPickerColor.prototype.getInteractive = function () {
6291
+ return DBaseInteractive.CHILDREN;
6292
+ };
6293
+ DThemeDarkPickerColor.prototype.newState = function (state) {
6324
6294
  _super.prototype.newState.call(this, state);
6325
- state.isDisabled = true;
6295
+ state.isFocusable = false;
6326
6296
  };
6327
- return DThemeDarkTreeItemText;
6328
- }(DThemeDarkImageBase));
6297
+ return DThemeDarkPickerColor;
6298
+ }(DThemeDarkBase));
6329
6299
 
6330
6300
  /*
6331
6301
  * Copyright (C) 2019 Toshiba Corporation
6332
6302
  * SPDX-License-Identifier: Apache-2.0
6333
6303
  */
6334
- var DThemeDarkTreeItemButton = /** @class */ (function (_super) {
6335
- __extends(DThemeDarkTreeItemButton, _super);
6336
- function DThemeDarkTreeItemButton() {
6304
+ var DThemeDarkEnUsPickerColor = /** @class */ (function (_super) {
6305
+ __extends(DThemeDarkEnUsPickerColor, _super);
6306
+ function DThemeDarkEnUsPickerColor() {
6337
6307
  return _super !== null && _super.apply(this, arguments) || this;
6338
6308
  }
6339
- DThemeDarkTreeItemButton.prototype.getCursor = function (state) {
6340
- if (!state.isActionable) {
6341
- return "";
6309
+ DThemeDarkEnUsPickerColor.prototype.toColorTypeLabel = function (type) {
6310
+ switch (type) {
6311
+ case DColorType.STANDARD:
6312
+ return "Standard";
6313
+ case DColorType.CUSTOM:
6314
+ return "Custom";
6342
6315
  }
6343
- return "pointer";
6344
6316
  };
6345
- return DThemeDarkTreeItemButton;
6346
- }(DThemeDarkTreeItemText));
6317
+ return DThemeDarkEnUsPickerColor;
6318
+ }(DThemeDarkPickerColor));
6347
6319
 
6348
6320
  /*
6349
6321
  * Copyright (C) 2019 Toshiba Corporation
6350
6322
  * SPDX-License-Identifier: Apache-2.0
6351
6323
  */
6352
- DThemeDarkTableBodyCellTrees.init();
6353
- var DThemeDarkTreeItemNonEditable = /** @class */ (function (_super) {
6354
- __extends(DThemeDarkTreeItemNonEditable, _super);
6355
- function DThemeDarkTreeItemNonEditable() {
6324
+ var loadThemeDarkEnUsPickerColor = function () {
6325
+ DThemeDark.set("DPickerColor", DThemeDarkEnUsPickerColor);
6326
+ };
6327
+
6328
+ /*
6329
+ * Copyright (C) 2019 Toshiba Corporation
6330
+ * SPDX-License-Identifier: Apache-2.0
6331
+ */
6332
+ var loadThemeDarkEnUsDialogColor = function () {
6333
+ DThemeDark.set("DDialogColor", DThemeDarkDialogColor);
6334
+ loadThemeDarkEnUsPickerColor();
6335
+ };
6336
+
6337
+ /*
6338
+ * Copyright (C) 2019 Toshiba Corporation
6339
+ * SPDX-License-Identifier: Apache-2.0
6340
+ */
6341
+ var loadThemeDarkEnUsButtonColor = function () {
6342
+ DThemeDark.set("DButtonColor", DThemeDarkButtonColor);
6343
+ loadThemeDarkEnUsDialogColor();
6344
+ };
6345
+
6346
+ const DColorGradientObservable = wcardinal.ui.DColorGradientObservable;
6347
+
6348
+ /*
6349
+ * Copyright (C) 2019 Toshiba Corporation
6350
+ * SPDX-License-Identifier: Apache-2.0
6351
+ */
6352
+ // Material Design icons by Google.
6353
+ // Apache license version 2.0.
6354
+ /* eslint-disable prettier/prettier */
6355
+ DThemeDarkAtlas.add("button_color_gradient_sample", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
6356
+ "<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
6357
+ "</g>");
6358
+ /* eslint-enable prettier/prettier */
6359
+ var formatter$7 = function () {
6360
+ return "";
6361
+ };
6362
+ var DThemeDarkButtonColorGradient = /** @class */ (function (_super) {
6363
+ __extends(DThemeDarkButtonColorGradient, _super);
6364
+ function DThemeDarkButtonColorGradient() {
6356
6365
  return _super !== null && _super.apply(this, arguments) || this;
6357
6366
  }
6358
- DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageSource = function (state) {
6359
- return this._style.getSecondaryImageSource(state);
6360
- };
6361
- DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageTintColor = function (state) {
6362
- return this._style.getSecondaryImageTintColor(state);
6367
+ DThemeDarkButtonColorGradient.prototype.getViewBaseTexture = function () {
6368
+ return DThemeDarkAtlas.mappings.button_color_gradient_sample;
6363
6369
  };
6364
- DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageTintAlpha = function (state) {
6365
- return this._style.getSecondaryImageTintAlpha(state);
6370
+ DThemeDarkButtonColorGradient.prototype.getTextFormatter = function () {
6371
+ return formatter$7;
6366
6372
  };
6367
- DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageAlignWith = function () {
6368
- return this._style.getSecondaryImageAlignWith();
6373
+ DThemeDarkButtonColorGradient.prototype.newTextValue = function () {
6374
+ return new DColorGradientObservable();
6369
6375
  };
6370
- DThemeDarkTreeItemNonEditable.prototype.getSecondaryImageMarginHorizontal = function () {
6371
- return this._style.getSecondaryImageMarginHorizontal();
6376
+ DThemeDarkButtonColorGradient.prototype.getCheckerColors = function () {
6377
+ return [0x37255, 0.27];
6372
6378
  };
6373
- return DThemeDarkTreeItemNonEditable;
6374
- }(DThemeDarkTreeItemButton));
6379
+ return DThemeDarkButtonColorGradient;
6380
+ }(DThemeDarkButton));
6375
6381
 
6376
6382
  /*
6377
6383
  * Copyright (C) 2019 Toshiba Corporation
6378
6384
  * SPDX-License-Identifier: Apache-2.0
6379
6385
  */
6380
- var loadThemeDarkTree = function () {
6381
- DThemeDark.set("DTree", DThemeDarkTree);
6382
- DThemeDark.set("DTreeItemText", DThemeDarkTreeItemText);
6383
- DThemeDark.set("DTreeItemButton", DThemeDarkTreeItemButton);
6384
- DThemeDark.set("DTreeItemNonEditable", DThemeDarkTreeItemNonEditable);
6385
- };
6386
-
6387
- const UtilGestureModifier = wcardinal.ui.UtilGestureModifier;
6386
+ var DThemeDarkDialogColorGradient = /** @class */ (function (_super) {
6387
+ __extends(DThemeDarkDialogColorGradient, _super);
6388
+ function DThemeDarkDialogColorGradient() {
6389
+ return _super !== null && _super.apply(this, arguments) || this;
6390
+ }
6391
+ return DThemeDarkDialogColorGradient;
6392
+ }(DThemeDarkDialogFitted));
6388
6393
 
6389
6394
  /*
6390
6395
  * Copyright (C) 2019 Toshiba Corporation
6391
6396
  * SPDX-License-Identifier: Apache-2.0
6392
6397
  */
6393
- var DThemeDarkView = /** @class */ (function () {
6394
- function DThemeDarkView() {
6398
+ var DThemeDarkPickerColorGradient = /** @class */ (function (_super) {
6399
+ __extends(DThemeDarkPickerColorGradient, _super);
6400
+ function DThemeDarkPickerColorGradient() {
6401
+ return _super !== null && _super.apply(this, arguments) || this;
6395
6402
  }
6396
- DThemeDarkView.prototype.isWheelZoomEnabled = function () {
6397
- return true;
6403
+ DThemeDarkPickerColorGradient.prototype.getGradientPointsWidth = function () {
6404
+ return 30;
6398
6405
  };
6399
- DThemeDarkView.prototype.getWheelZoomSpeed = function () {
6400
- return 0.004;
6406
+ DThemeDarkPickerColorGradient.prototype.getGradientPointsMargin = function () {
6407
+ return 24;
6401
6408
  };
6402
- DThemeDarkView.prototype.getWheelZoomModifier = function () {
6403
- return UtilGestureModifier.NOT_NONE;
6409
+ DThemeDarkPickerColorGradient.prototype.getGradientAnchorTexture = function () {
6410
+ return DThemeDarkAtlas.mappings.picker_color_anchor;
6404
6411
  };
6405
- DThemeDarkView.prototype.isWheelTranslationEnabled = function () {
6406
- return true;
6412
+ DThemeDarkPickerColorGradient.prototype.getGradientAnchorOutlinedTexture = function () {
6413
+ return DThemeDarkAtlas.mappings.picker_color_anchor_outlined;
6407
6414
  };
6408
- DThemeDarkView.prototype.getWheelTranslationSpeed = function () {
6409
- return 14 * 0.16;
6415
+ DThemeDarkPickerColorGradient.prototype.getGradientAnchorOutlineTexture = function () {
6416
+ return DThemeDarkAtlas.mappings.picker_color_anchor_outline;
6410
6417
  };
6411
- DThemeDarkView.prototype.getWheelTranslationModifier = function () {
6412
- return UtilGestureModifier.NONE;
6418
+ DThemeDarkPickerColorGradient.prototype.getGradientDirectionMargin = function () {
6419
+ return 5;
6413
6420
  };
6414
- DThemeDarkView.prototype.isDblClickZoomEnabled = function () {
6415
- return true;
6421
+ DThemeDarkPickerColorGradient.prototype.getGradientDirectionTexture = function () {
6422
+ return DThemeDarkAtlas.mappings.picker_color_direction;
6416
6423
  };
6417
- DThemeDarkView.prototype.getDblClickZoomSpeed = function () {
6418
- return 2;
6424
+ DThemeDarkPickerColorGradient.prototype.getGradientRecentColumn = function () {
6425
+ return 4;
6419
6426
  };
6420
- DThemeDarkView.prototype.getDblClickZoomModifier = function () {
6421
- return UtilGestureModifier.NONE;
6427
+ DThemeDarkPickerColorGradient.prototype.getGradientRecentWidth = function () {
6428
+ return 30;
6422
6429
  };
6423
- DThemeDarkView.prototype.getDblClickZoomDuration = function () {
6424
- return 333;
6430
+ DThemeDarkPickerColorGradient.prototype.getGradientRecentMargin = function () {
6431
+ return 5;
6425
6432
  };
6426
- DThemeDarkView.prototype.getZoomMin = function () {
6427
- return 0.01;
6433
+ DThemeDarkPickerColorGradient.prototype.getGradientRecentCount = function () {
6434
+ return 16;
6428
6435
  };
6429
- DThemeDarkView.prototype.getZoomMax = function () {
6430
- return 100;
6436
+ DThemeDarkPickerColorGradient.prototype.getGradientRecents = function () {
6437
+ return [];
6431
6438
  };
6432
- DThemeDarkView.prototype.getZoomKeepRatio = function () {
6433
- return true;
6439
+ DThemeDarkPickerColorGradient.prototype.getGradientCheckerColors = function () {
6440
+ return [0.37255, 0.27];
6434
6441
  };
6435
- DThemeDarkView.prototype.getGestureMode = function () {
6436
- return UtilGestureMode.ON;
6442
+ DThemeDarkPickerColorGradient.prototype.getBackgroundColor = function (state) {
6443
+ return null;
6437
6444
  };
6438
- DThemeDarkView.prototype.getGestureModifier = function () {
6439
- return UtilGestureModifier.NONE;
6445
+ DThemeDarkPickerColorGradient.prototype.getBorderColor = function (state) {
6446
+ return null;
6440
6447
  };
6441
- DThemeDarkView.prototype.getGestureDuration = function () {
6442
- return 1;
6448
+ DThemeDarkPickerColorGradient.prototype.getInteractive = function () {
6449
+ return DBaseInteractive.CHILDREN;
6443
6450
  };
6444
- return DThemeDarkView;
6445
- }());
6451
+ DThemeDarkPickerColorGradient.prototype.newState = function (state) {
6452
+ _super.prototype.newState.call(this, state);
6453
+ state.isFocusable = false;
6454
+ };
6455
+ return DThemeDarkPickerColorGradient;
6456
+ }(DThemeDarkBase));
6446
6457
 
6447
6458
  /*
6448
6459
  * Copyright (C) 2019 Toshiba Corporation
6449
6460
  * SPDX-License-Identifier: Apache-2.0
6450
6461
  */
6451
- var loadThemeDarkView = function () {
6452
- DThemeDark.set("DView", DThemeDarkView);
6462
+ var loadThemeDarkEnUsPickerColorGradient = function () {
6463
+ DThemeDark.set("DPickerColorGradient", DThemeDarkPickerColorGradient);
6464
+ loadThemeDarkEnUsPickerColor();
6453
6465
  };
6454
6466
 
6455
6467
  /*
6456
6468
  * Copyright (C) 2019 Toshiba Corporation
6457
6469
  * SPDX-License-Identifier: Apache-2.0
6458
6470
  */
6459
- var loadThemeDark = function () {
6460
- DThemes.setDefaultThemeClass(DThemeDark);
6471
+ var loadThemeDarkEnUsDialogColorGradient = function () {
6472
+ DThemeDark.set("DDialogColorGradient", DThemeDarkDialogColorGradient);
6473
+ loadThemeDarkEnUsPickerColorGradient();
6474
+ };
6475
+
6476
+ /*
6477
+ * Copyright (C) 2019 Toshiba Corporation
6478
+ * SPDX-License-Identifier: Apache-2.0
6479
+ */
6480
+ var loadThemeDarkEnUsButtonColorGradient = function () {
6481
+ DThemeDark.set("DButtonColorGradient", DThemeDarkButtonColorGradient);
6482
+ loadThemeDarkEnUsDialogColorGradient();
6461
6483
  };
6462
6484
 
6463
6485
  const DPickerDates = wcardinal.ui.DPickerDates;
@@ -7131,8 +7153,8 @@
7131
7153
  loadThemeDarkButtonAmbient();
7132
7154
  loadThemeDarkButtonCheckRight();
7133
7155
  loadThemeDarkButtonCheck();
7134
- loadThemeDarkButtonColorGradient();
7135
- loadThemeDarkButtonColor();
7156
+ loadThemeDarkEnUsButtonColorGradient();
7157
+ loadThemeDarkEnUsButtonColor();
7136
7158
  loadThemeDarkEnUsButtonSelect();
7137
7159
  loadThemeDarkButtonDanger();
7138
7160
  loadThemeDarkEnUsButtonDate();
@@ -7772,8 +7794,8 @@
7772
7794
  * SPDX-License-Identifier: Apache-2.0
7773
7795
  */
7774
7796
  var loadThemeDarkEnUsDialogAll = function () {
7775
- loadThemeDarkDialogColorGradient();
7776
- loadThemeDarkDialogColor();
7797
+ loadThemeDarkEnUsDialogColorGradient();
7798
+ loadThemeDarkEnUsDialogColor();
7777
7799
  loadThemeDarkEnUsDialogConfirmDelete();
7778
7800
  loadThemeDarkEnUsDialogConfirmDiscard();
7779
7801
  loadThemeDarkEnUsDialogConfirm();
@@ -9588,7 +9610,7 @@
9588
9610
  DThemeDark.set("DTableRow", DThemeDarkTableRow);
9589
9611
  DThemeDark.set("DTable", DThemeDarkTable);
9590
9612
  loadThemeDarkButtonCheck();
9591
- loadThemeDarkButtonColor();
9613
+ loadThemeDarkEnUsButtonColor();
9592
9614
  loadThemeDarkEnUsButtonDate();
9593
9615
  loadThemeDarkEnUsButtonDatetime();
9594
9616
  loadThemeDarkInputInteger();
@@ -9629,8 +9651,8 @@
9629
9651
  loadThemeDarkEnUsNote();
9630
9652
  loadThemeDarkPane();
9631
9653
  loadThemeDarkPagination();
9632
- loadThemeDarkPickerColorGradient();
9633
- loadThemeDarkPickerColor();
9654
+ loadThemeDarkEnUsPickerColorGradient();
9655
+ loadThemeDarkEnUsPickerColor();
9634
9656
  loadThemeDarkEnUsPickerDate();
9635
9657
  loadThemeDarkEnUsPickerDatetime();
9636
9658
  loadThemeDarkEnUsPickerTime();
@@ -9664,8 +9686,6 @@
9664
9686
  loadThemeDarkButtonAmbient: loadThemeDarkButtonAmbient,
9665
9687
  loadThemeDarkButtonCheckRight: loadThemeDarkButtonCheckRight,
9666
9688
  loadThemeDarkButtonCheck: loadThemeDarkButtonCheck,
9667
- loadThemeDarkButtonColorGradient: loadThemeDarkButtonColorGradient,
9668
- loadThemeDarkButtonColor: loadThemeDarkButtonColor,
9669
9689
  loadThemeDarkButtonDanger: loadThemeDarkButtonDanger,
9670
9690
  loadThemeDarkButtonFile: loadThemeDarkButtonFile,
9671
9691
  loadThemeDarkButtonLink: loadThemeDarkButtonLink,
@@ -9678,8 +9698,6 @@
9678
9698
  loadThemeDarkChart: loadThemeDarkChart,
9679
9699
  loadThemeDarkColor: loadThemeDarkColor,
9680
9700
  loadThemeDarkDiagram: loadThemeDarkDiagram,
9681
- loadThemeDarkDialogColorGradient: loadThemeDarkDialogColorGradient,
9682
- loadThemeDarkDialogColor: loadThemeDarkDialogColor,
9683
9701
  loadThemeDarkDialogFitted: loadThemeDarkDialogFitted,
9684
9702
  loadThemeDarkDialogInputBoolean: loadThemeDarkDialogInputBoolean,
9685
9703
  loadThemeDarkDialogInputInteger: loadThemeDarkDialogInputInteger,
@@ -9704,8 +9722,6 @@
9704
9722
  loadThemeDarkMenu: loadThemeDarkMenu,
9705
9723
  loadThemeDarkPagination: loadThemeDarkPagination,
9706
9724
  loadThemeDarkPane: loadThemeDarkPane,
9707
- loadThemeDarkPickerColorGradient: loadThemeDarkPickerColorGradient,
9708
- loadThemeDarkPickerColor: loadThemeDarkPickerColor,
9709
9725
  loadThemeDarkScrollBar: loadThemeDarkScrollBar,
9710
9726
  loadThemeDarkSelect: loadThemeDarkSelect,
9711
9727
  loadThemeDarkShapeActionValue: loadThemeDarkShapeActionValue,
@@ -9717,12 +9733,16 @@
9717
9733
  loadThemeDark: loadThemeDark,
9718
9734
  loadThemeDarkEnUsAll: loadThemeDarkEnUsAll,
9719
9735
  loadThemeDarkEnUsButtonAll: loadThemeDarkEnUsButtonAll,
9736
+ loadThemeDarkEnUsButtonColorGradient: loadThemeDarkEnUsButtonColorGradient,
9737
+ loadThemeDarkEnUsButtonColor: loadThemeDarkEnUsButtonColor,
9720
9738
  loadThemeDarkEnUsButtonDate: loadThemeDarkEnUsButtonDate,
9721
9739
  loadThemeDarkEnUsButtonDatetime: loadThemeDarkEnUsButtonDatetime,
9722
9740
  loadThemeDarkEnUsButtonSelect: loadThemeDarkEnUsButtonSelect,
9723
9741
  loadThemeDarkEnUsButtonTime: loadThemeDarkEnUsButtonTime,
9724
9742
  loadThemeDarkEnUsDiagramEditor: loadThemeDarkEnUsDiagramEditor,
9725
9743
  loadThemeDarkEnUsDialogAll: loadThemeDarkEnUsDialogAll,
9744
+ loadThemeDarkEnUsDialogColorGradient: loadThemeDarkEnUsDialogColorGradient,
9745
+ loadThemeDarkEnUsDialogColor: loadThemeDarkEnUsDialogColor,
9726
9746
  loadThemeDarkEnUsDialogConfirmDelete: loadThemeDarkEnUsDialogConfirmDelete,
9727
9747
  loadThemeDarkEnUsDialogConfirmDiscard: loadThemeDarkEnUsDialogConfirmDiscard,
9728
9748
  loadThemeDarkEnUsDialogConfirm: loadThemeDarkEnUsDialogConfirm,
@@ -9738,6 +9758,8 @@
9738
9758
  loadThemeDarkEnUsInputBoolean: loadThemeDarkEnUsInputBoolean,
9739
9759
  loadThemeDarkEnUsLink: loadThemeDarkEnUsLink,
9740
9760
  loadThemeDarkEnUsNote: loadThemeDarkEnUsNote,
9761
+ loadThemeDarkEnUsPickerColorGradient: loadThemeDarkEnUsPickerColorGradient,
9762
+ loadThemeDarkEnUsPickerColor: loadThemeDarkEnUsPickerColor,
9741
9763
  loadThemeDarkEnUsPickerDate: loadThemeDarkEnUsPickerDate,
9742
9764
  loadThemeDarkEnUsPickerDatetime: loadThemeDarkEnUsPickerDatetime,
9743
9765
  loadThemeDarkEnUsPickerTime: loadThemeDarkEnUsPickerTime,
@@ -9989,6 +10011,7 @@
9989
10011
  DThemeDarkEnUsNoteError: DThemeDarkEnUsNoteError,
9990
10012
  DThemeDarkEnUsNoteNoItemsFound: DThemeDarkEnUsNoteNoItemsFound,
9991
10013
  DThemeDarkEnUsNoteSearching: DThemeDarkEnUsNoteSearching,
10014
+ DThemeDarkEnUsPickerColor: DThemeDarkEnUsPickerColor,
9992
10015
  DThemeDarkEnUsPickerDate: DThemeDarkEnUsPickerDate,
9993
10016
  DThemeDarkEnUsPickerDatetime: DThemeDarkEnUsPickerDatetime,
9994
10017
  DThemeDarkEnUsPickerTime: DThemeDarkEnUsPickerTime