pgwidgets-js 0.4.2__tar.gz → 0.4.3__tar.gz

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 (214) hide show
  1. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/PKG-INFO +1 -1
  2. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/WhatsNew.rst +16 -0
  3. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/all_widgets_pyodide.py +6 -5
  4. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/all_widgets_pyscript.py +6 -5
  5. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/package.json +1 -1
  6. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/pyodide/widget.py +1 -1
  7. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/TreeView.css +7 -0
  8. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TreeView.js +27 -3
  9. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js.egg-info/PKG-INFO +1 -1
  10. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js.egg-info/SOURCES.txt +3 -1
  11. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js.egg-info/scm_file_list.json +3 -1
  12. pgwidgets_js-0.4.3/pgwidgets_js.egg-info/scm_version.json +8 -0
  13. pgwidgets_js-0.4.3/tests/__init__.py +0 -0
  14. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/test_defs.py +2 -2
  15. pgwidgets_js-0.4.3/tests/test_treeview_sort.py +27 -0
  16. pgwidgets_js-0.4.3/tests/treeview_sort.mjs +139 -0
  17. pgwidgets_js-0.4.2/pgwidgets_js.egg-info/scm_version.json +0 -8
  18. pgwidgets_js-0.4.2/tests/__init__.py +0 -1
  19. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/.flake8 +0 -0
  20. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/.github/workflows/tests.yml +0 -0
  21. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/.gitignore +0 -0
  22. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/.readthedocs.yaml +0 -0
  23. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/LICENSE.md +0 -0
  24. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/MANIFEST.in +0 -0
  25. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/README.md +0 -0
  26. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/Widgets.css +0 -0
  27. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/Widgets.js +0 -0
  28. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/Makefile +0 -0
  29. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/callbacks.rst +0 -0
  30. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/conf.py +0 -0
  31. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/electron.rst +0 -0
  32. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/external-widgets.rst +0 -0
  33. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/for-developers.rst +0 -0
  34. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/frameworks.rst +0 -0
  35. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/getting-started.rst +0 -0
  36. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/index.rst +0 -0
  37. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/pyodide.rst +0 -0
  38. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/remote.rst +0 -0
  39. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/styling.rst +0 -0
  40. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/controls.rst +0 -0
  41. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/dialogs.rst +0 -0
  42. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/display.rst +0 -0
  43. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/index.rst +0 -0
  44. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/layout.rst +0 -0
  45. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/menus.rst +0 -0
  46. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/nonvisual.rst +0 -0
  47. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/docs/widgets/text.rst +0 -0
  48. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/all_widgets.html +0 -0
  49. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/all_widgets_pyodide.html +0 -0
  50. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/all_widgets_pyscript.html +0 -0
  51. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/box.html +0 -0
  52. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/button.html +0 -0
  53. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/canvas.html +0 -0
  54. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/checkbox.html +0 -0
  55. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/colordialog.html +0 -0
  56. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/combobox.html +0 -0
  57. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/debug_spinbox.html +0 -0
  58. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/dial.html +0 -0
  59. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/dialog.html +0 -0
  60. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/electron/.gitignore +0 -0
  61. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/electron/.npmrc +0 -0
  62. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/electron/index.html +0 -0
  63. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/electron/main.js +0 -0
  64. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/electron/package.json +0 -0
  65. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/expander.html +0 -0
  66. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/external_widgets.html +0 -0
  67. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/fixedlayout.html +0 -0
  68. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/frame.html +0 -0
  69. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/gridbox.html +0 -0
  70. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/htmlview.html +0 -0
  71. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/image.html +0 -0
  72. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/label.html +0 -0
  73. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/mdi_widget.html +0 -0
  74. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/menu.html +0 -0
  75. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/progressbar.html +0 -0
  76. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/pyodide_demo.html +0 -0
  77. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/pyscript.toml +0 -0
  78. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/radiobutton.html +0 -0
  79. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/remote.html +0 -0
  80. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/remote_demo.py +0 -0
  81. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/remote_demo_async.py +0 -0
  82. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/scroll_area.html +0 -0
  83. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/scrollable.html +0 -0
  84. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/scrollbar.html +0 -0
  85. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/slider.html +0 -0
  86. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/spinbox.html +0 -0
  87. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/splitter.html +0 -0
  88. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/tab_widget.html +0 -0
  89. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/tableview.html +0 -0
  90. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/text_entry.html +0 -0
  91. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/textarea.html +0 -0
  92. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/textentryset.html +0 -0
  93. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/textsource.html +0 -0
  94. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/togglebutton.html +0 -0
  95. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/toolbar.html +0 -0
  96. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/treeview.html +0 -0
  97. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/examples/videowidget.html +0 -0
  98. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/__init__.py +0 -0
  99. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/defs.py +0 -0
  100. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/pyodide/__init__.py +0 -0
  101. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/pyodide/log.py +0 -0
  102. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/Widgets.css +0 -0
  103. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/Widgets.js +0 -0
  104. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/AbstractScrollArea.css +0 -0
  105. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Box.css +0 -0
  106. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Button.css +0 -0
  107. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/CheckBox.css +0 -0
  108. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ColorDialog.css +0 -0
  109. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ComboBox.css +0 -0
  110. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Dial.css +0 -0
  111. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Dialog.css +0 -0
  112. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Expander.css +0 -0
  113. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ExternalWidget.css +0 -0
  114. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/FixedLayout.css +0 -0
  115. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Frame.css +0 -0
  116. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/GridBox.css +0 -0
  117. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/HtmlView.css +0 -0
  118. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Image.css +0 -0
  119. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Label.css +0 -0
  120. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/MDIWidget.css +0 -0
  121. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Menu.css +0 -0
  122. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ProgressBar.css +0 -0
  123. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/RadioButton.css +0 -0
  124. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ScrollArea.css +0 -0
  125. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ScrollBar.css +0 -0
  126. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Slider.css +0 -0
  127. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/SpinBox.css +0 -0
  128. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Splitter.css +0 -0
  129. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/StatusBar.css +0 -0
  130. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/TabWidget.css +0 -0
  131. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Text.css +0 -0
  132. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/TextArea.css +0 -0
  133. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/TextEntrySet.css +0 -0
  134. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/TextSource.css +0 -0
  135. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ToggleButton.css +0 -0
  136. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/ToolBar.css +0 -0
  137. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/TopLevel.css +0 -0
  138. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/VideoWidget.css +0 -0
  139. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/Widget.css +0 -0
  140. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/css/WindowMenu.css +0 -0
  141. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/icons/file.svg +0 -0
  142. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/icons/folder.svg +0 -0
  143. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/icons/hdots.svg +0 -0
  144. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/icons/pgicon.svg +0 -0
  145. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/icons/pgwidgets-logo.png +0 -0
  146. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/icons/pgwidgets-logo.svg +0 -0
  147. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/icons/vdots.svg +0 -0
  148. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/AbstractScrollArea.js +0 -0
  149. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Box.js +0 -0
  150. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Button.js +0 -0
  151. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Callback.js +0 -0
  152. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Canvas.js +0 -0
  153. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/CheckBox.js +0 -0
  154. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ColorDialog.js +0 -0
  155. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ColorWidget.js +0 -0
  156. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ComboBox.js +0 -0
  157. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ComboBoxNative.js +0 -0
  158. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Dial.js +0 -0
  159. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Dialog.js +0 -0
  160. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Expander.js +0 -0
  161. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ExternalWidget.js +0 -0
  162. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/FileDialog.js +0 -0
  163. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/FixedLayout.js +0 -0
  164. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Frame.js +0 -0
  165. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/GridBox.js +0 -0
  166. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/HtmlView.js +0 -0
  167. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Image.js +0 -0
  168. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Label.js +0 -0
  169. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/MDIWidget.js +0 -0
  170. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Menu.js +0 -0
  171. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/MenuAction.js +0 -0
  172. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/MenuBar.js +0 -0
  173. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Page.js +0 -0
  174. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ProgressBar.js +0 -0
  175. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/RadioButton.js +0 -0
  176. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/RemoteInterface.js +0 -0
  177. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ScrollArea.js +0 -0
  178. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ScrollBar.js +0 -0
  179. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Separator.js +0 -0
  180. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Slider.js +0 -0
  181. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/SpinBox.js +0 -0
  182. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Splitter.js +0 -0
  183. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/StatusBar.js +0 -0
  184. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TabWidget.js +0 -0
  185. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TableView.js +0 -0
  186. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TextArea.js +0 -0
  187. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TextEntry.js +0 -0
  188. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TextEntrySet.js +0 -0
  189. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TextSource.js +0 -0
  190. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TextWidget.js +0 -0
  191. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Timer.js +0 -0
  192. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ToggleButton.js +0 -0
  193. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ToolBar.js +0 -0
  194. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/ToolBarAction.js +0 -0
  195. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/TopLevel.js +0 -0
  196. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/VideoWidget.js +0 -0
  197. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/Widget.js +0 -0
  198. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/modules/WindowMenu.js +0 -0
  199. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js/static/remote.html +0 -0
  200. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js.egg-info/dependency_links.txt +0 -0
  201. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js.egg-info/requires.txt +0 -0
  202. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pgwidgets_js.egg-info/top_level.txt +0 -0
  203. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/pyproject.toml +0 -0
  204. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/setup.cfg +0 -0
  205. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/setup.py +0 -0
  206. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/test_consistency.py +0 -0
  207. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/test_recent_additions.py +0 -0
  208. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/test_static_assets.py +0 -0
  209. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/test_treeview_diff.py +0 -0
  210. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/test_treeview_resize.py +0 -0
  211. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/test_treeview_select.py +0 -0
  212. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/treeview_diff.mjs +0 -0
  213. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/treeview_resize.mjs +0 -0
  214. {pgwidgets_js-0.4.2 → pgwidgets_js-0.4.3}/tests/treeview_select.mjs +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pgwidgets-js
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: pgwidgets JavaScript widget library — static assets for use with Python servers
5
5
  Author: PGWidgets Developers
6
6
  License-Expression: BSD-3-Clause
@@ -1,6 +1,22 @@
1
1
  What's New
2
2
  ==========
3
3
 
4
+ Recent changes — since ``v0.4.2``
5
+ ---------------------------------
6
+
7
+ * TreeView / TableView: a column descriptor can now carry
8
+ ``sortable: false`` to take that column out of the header-click
9
+ sort. Clicking its header does nothing (in cell-selection mode it
10
+ selects the column instead), and the header drops the pointer cursor
11
+ that advertises a sort. This guards against an accidental sort on a
12
+ column whose values are all equal: it leaves nothing on screen to show
13
+ it happened, and the next edit in that column re-sorts the rows and
14
+ makes the edited row jump.
15
+ * The per-column flag only narrows: ``sortable: true`` on a table built
16
+ with ``sortable=False`` still does not sort. It gates the user's
17
+ gesture only, so ``sort_by_column()`` still works on an opted-out
18
+ column. Columns without the flag behave as before.
19
+
4
20
  Recent changes — since ``v0.4.0``
5
21
  ---------------------------------
6
22
 
@@ -90,7 +90,7 @@ def make_demo(name):
90
90
  btn_icon.set_icon("../pgwidgets_js/static/icons/pgicon.svg",
91
91
  [16, 16])
92
92
  btn_icon.on("activated",
93
- lambda: lbl.set_text("Icon button clicked"))
93
+ lambda: lbl.set_text("Icon button clicked"))
94
94
  hbox.add_widget(btn_a, 0)
95
95
  hbox.add_widget(btn_b, 0)
96
96
  hbox.add_widget(btn_icon, 0)
@@ -137,7 +137,7 @@ def make_demo(name):
137
137
  content.add_widget(Widgets.Label("Editable:"), 0)
138
138
  combo2 = Widgets.ComboBox(editable=True, dropdown_limit=5)
139
139
  for f in ["Red", "Orange", "Yellow", "Green", "Blue",
140
- "Indigo", "Violet"]:
140
+ "Indigo", "Violet"]:
141
141
  combo2.append_text(f)
142
142
  combo2.on("activated",
143
143
  lambda idx, text: lbl.set_text(f"Entered: {text}"))
@@ -313,7 +313,7 @@ def make_demo(name):
313
313
  sl1.on("activated",
314
314
  lambda val: lbl.set_text(f"Integer: {val}"))
315
315
  sl2 = Widgets.Slider(min=0, max=1, step=0.01, value=0.5,
316
- dtype="float", track=True)
316
+ dtype="float", track=True)
317
317
  sl2.on("activated",
318
318
  lambda val: lbl.set_text(f"Float: {val}"))
319
319
  content.add_widget(Widgets.Label("Integer (0-100):"), 0)
@@ -367,8 +367,8 @@ def make_demo(name):
367
367
 
368
368
  elif name == "TextArea":
369
369
  ta = Widgets.TextArea("This is a multi-line text area.\n\n"
370
- "You can type freely here.\n"
371
- "Resize the window to see it adapt.")
370
+ "You can type freely here.\n"
371
+ "Resize the window to see it adapt.")
372
372
  subwin = mdi.add_widget(ta,
373
373
  {"title": "TextArea",
374
374
  "width": 320, "height": 200})
@@ -390,6 +390,7 @@ def make_demo(name):
390
390
  src.create_tag("keyword", {"foreground": "#0066cc", "bold": True})
391
391
  src.create_tag("string", {"foreground": "#a31515"})
392
392
  text = src.get_text()
393
+
393
394
  # apply_tag now takes TextBufferRefs; build a small helper.
394
395
  def tag_range(name, start, end):
395
396
  src.apply_tag(name,
@@ -99,7 +99,7 @@ def make_demo(name):
99
99
  btn_icon.set_icon("../pgwidgets_js/static/icons/pgicon.svg",
100
100
  [16, 16])
101
101
  btn_icon.on("activated",
102
- lambda: lbl.set_text("Icon button clicked"))
102
+ lambda: lbl.set_text("Icon button clicked"))
103
103
  hbox.add_widget(btn_a, 0)
104
104
  hbox.add_widget(btn_b, 0)
105
105
  hbox.add_widget(btn_icon, 0)
@@ -146,7 +146,7 @@ def make_demo(name):
146
146
  content.add_widget(Widgets.Label("Editable:"), 0)
147
147
  combo2 = Widgets.ComboBox(editable=True, dropdown_limit=5)
148
148
  for f in ["Red", "Orange", "Yellow", "Green", "Blue",
149
- "Indigo", "Violet"]:
149
+ "Indigo", "Violet"]:
150
150
  combo2.append_text(f)
151
151
  combo2.on("activated",
152
152
  lambda idx, text: lbl.set_text(f"Entered: {text}"))
@@ -322,7 +322,7 @@ def make_demo(name):
322
322
  sl1.on("activated",
323
323
  lambda val: lbl.set_text(f"Integer: {val}"))
324
324
  sl2 = Widgets.Slider(min=0, max=1, step=0.01, value=0.5,
325
- dtype="float", track=True)
325
+ dtype="float", track=True)
326
326
  sl2.on("activated",
327
327
  lambda val: lbl.set_text(f"Float: {val}"))
328
328
  content.add_widget(Widgets.Label("Integer (0-100):"), 0)
@@ -376,8 +376,8 @@ def make_demo(name):
376
376
 
377
377
  elif name == "TextArea":
378
378
  ta = Widgets.TextArea("This is a multi-line text area.\n\n"
379
- "You can type freely here.\n"
380
- "Resize the window to see it adapt.")
379
+ "You can type freely here.\n"
380
+ "Resize the window to see it adapt.")
381
381
  subwin = mdi.add_widget(ta,
382
382
  {"title": "TextArea",
383
383
  "width": 320, "height": 200})
@@ -399,6 +399,7 @@ def make_demo(name):
399
399
  src.create_tag("keyword", {"foreground": "#0066cc", "bold": True})
400
400
  src.create_tag("string", {"foreground": "#a31515"})
401
401
  text = src.get_text()
402
+
402
403
  # apply_tag now takes TextBufferRefs; build a small helper.
403
404
  def tag_range(name, start, end):
404
405
  src.apply_tag(name,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgwidgets",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "A native JavaScript widget library with Qt/GTK-style layout and controls",
5
5
  "type": "module",
6
6
  "main": "Widgets.js",
@@ -7,7 +7,7 @@ from pyodide.ffi import create_proxy, to_js
7
7
  from js import Object, Widgets
8
8
 
9
9
  from pgwidgets_js.defs import (WIDGETS, WIDGET_METHODS, CONTAINER_METHODS,
10
- CALLBACK_METHODS)
10
+ CALLBACK_METHODS)
11
11
 
12
12
  # Registry of built widget subclasses, keyed by JS class name. Populated
13
13
  # by build_widget_class(). Used by _from_js_val() so that a widget
@@ -63,6 +63,13 @@
63
63
  background: #e4e4e4;
64
64
  }
65
65
 
66
+ /* A column that has opted out of the header-click sort
67
+ (`sortable: false`) on an otherwise sortable table: clicking it does
68
+ nothing, so don't offer the pointer that says it will. */
69
+ .treeview-header-nosort {
70
+ cursor: default;
71
+ }
72
+
66
73
  .treeview-header-cell:last-child {
67
74
  border-right: none;
68
75
  }
@@ -244,7 +244,7 @@ class TreeView extends Widget {
244
244
  if (typeof c === 'string') {
245
245
  return { label: c, type: 'string', editable: false,
246
246
  key: '_col' + (autoIdx++), halign: 'left',
247
- colwidth: null, widget: null };
247
+ colwidth: null, widget: null, sortable: null };
248
248
  }
249
249
  let type = TreeView._normalizeType(c.type);
250
250
  let key = c.key;
@@ -268,6 +268,11 @@ class TreeView extends Widget {
268
268
  ? String(c.enabled_key) : null),
269
269
  visible_key: (c.visible_key != null
270
270
  ? String(c.visible_key) : null),
271
+ // null = follow the widget's own `sortable`; false
272
+ // takes this column out of the header-click sort even
273
+ // on a sortable table. A column flag can only narrow:
274
+ // sortable: true on a non-sortable table does nothing.
275
+ sortable: (c.sortable == null ? null : !!c.sortable),
271
276
  };
272
277
  });
273
278
  }
@@ -327,6 +332,18 @@ class TreeView extends Widget {
327
332
  }
328
333
 
329
334
  /** Find the column descriptor for a key. Returns null if unknown. */
335
+ /**
336
+ * Can the user sort by clicking this column's header? The table
337
+ * has to be sortable, and the column must not have opted out with
338
+ * ``sortable: false``. A per-column flag only ever narrows: it
339
+ * cannot make a column sortable on a table that is not.
340
+ * @private
341
+ */
342
+ _columnIsSortable(col) {
343
+ if (!this._sortable) return false;
344
+ return !(col && col.sortable === false);
345
+ }
346
+
330
347
  _columnByKey(key) {
331
348
  for (let col of this._columns) {
332
349
  if (col.key === key) return col;
@@ -650,6 +667,9 @@ class TreeView extends Widget {
650
667
  // left otherwise). CSS handles the per-halign layout.
651
668
  let halign = this._columns[i].halign || 'left';
652
669
  cell.classList.add('treeview-halign-' + halign);
670
+ if (this._sortable && !this._columnIsSortable(this._columns[i])) {
671
+ cell.classList.add('treeview-header-nosort');
672
+ }
653
673
 
654
674
  let labelSpan = document.createElement('span');
655
675
  labelSpan.className = 'treeview-header-label';
@@ -668,7 +688,8 @@ class TreeView extends Widget {
668
688
  // When not sortable, plain click selects too.
669
689
  if (this._isCellMode()) {
670
690
  let usingModifier = e.shiftKey || e.ctrlKey || e.metaKey;
671
- if (usingModifier || !this._sortable) {
691
+ if (usingModifier
692
+ || !this._columnIsSortable(this._columns[i])) {
672
693
  this._onHeaderColumnSelect(e, i);
673
694
  return;
674
695
  }
@@ -777,7 +798,10 @@ class TreeView extends Widget {
777
798
  }
778
799
 
779
800
  _onHeaderClick(colKey) {
780
- if (!this._sortable) return;
801
+ // The user's gesture only. sort_by_column() stays permissive,
802
+ // so an application can still sort on a column it has taken out
803
+ // of the header's reach.
804
+ if (!this._columnIsSortable(this._columnByKey(colKey))) return;
781
805
  let ascending = (this._sortColKey === colKey) ? !this._sortAscending : true;
782
806
  this.sort_by_column(colKey, ascending);
783
807
  this.make_callback('sorted', colKey, ascending);
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pgwidgets-js
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: pgwidgets JavaScript widget library — static assets for use with Python servers
5
5
  Author: PGWidgets Developers
6
6
  License-Expression: BSD-3-Clause
@@ -203,6 +203,8 @@ tests/test_static_assets.py
203
203
  tests/test_treeview_diff.py
204
204
  tests/test_treeview_resize.py
205
205
  tests/test_treeview_select.py
206
+ tests/test_treeview_sort.py
206
207
  tests/treeview_diff.mjs
207
208
  tests/treeview_resize.mjs
208
- tests/treeview_select.mjs
209
+ tests/treeview_select.mjs
210
+ tests/treeview_sort.mjs
@@ -198,8 +198,10 @@
198
198
  "tests/test_treeview_diff.py",
199
199
  "tests/test_treeview_resize.py",
200
200
  "tests/test_treeview_select.py",
201
+ "tests/test_treeview_sort.py",
201
202
  "tests/treeview_diff.mjs",
202
203
  "tests/treeview_resize.mjs",
203
- "tests/treeview_select.mjs"
204
+ "tests/treeview_select.mjs",
205
+ "tests/treeview_sort.mjs"
204
206
  ]
205
207
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.4.3",
3
+ "distance": 0,
4
+ "node": "g7d6c1335a5b783fc7edff58a1f72d984be43437b",
5
+ "dirty": false,
6
+ "branch": "main",
7
+ "node_date": "2026-10-27"
8
+ }
File without changes
@@ -75,8 +75,8 @@ def test_base_methods_have_valid_params():
75
75
  """WIDGET_METHODS, CALLBACK_METHODS, and CONTAINER_METHODS should
76
76
  all have list values."""
77
77
  for source_name, methods in [("WIDGET_METHODS", WIDGET_METHODS),
78
- ("CALLBACK_METHODS", CALLBACK_METHODS),
79
- ("CONTAINER_METHODS", CONTAINER_METHODS)]:
78
+ ("CALLBACK_METHODS", CALLBACK_METHODS),
79
+ ("CONTAINER_METHODS", CONTAINER_METHODS)]:
80
80
  for mname, params in methods.items():
81
81
  assert isinstance(params, list), (
82
82
  f"{source_name}.{mname} params is "
@@ -0,0 +1,27 @@
1
+ """Run the JS-side TreeView sort-gate tests under node.
2
+
3
+ A column can opt out of the header-click sort with ``sortable: false``.
4
+ The gate (``_columnIsSortable``) and the sort itself are pure -- they
5
+ only touch plain objects and Maps -- so they can be exercised in node
6
+ without a DOM (see tests/treeview_sort.mjs).
7
+
8
+ Skipped when node isn't installed.
9
+ """
10
+
11
+ import shutil
12
+ import subprocess
13
+ from pathlib import Path
14
+
15
+ import pytest
16
+
17
+ SCRIPT = Path(__file__).parent / "treeview_sort.mjs"
18
+
19
+
20
+ @pytest.mark.skipif(shutil.which("node") is None,
21
+ reason="node is not installed")
22
+ def test_treeview_sort():
23
+ proc = subprocess.run(["node", str(SCRIPT)], capture_output=True,
24
+ text=True)
25
+ assert proc.returncode == 0, (
26
+ f"JS sort tests failed:\n{proc.stdout}\n{proc.stderr}")
27
+ assert "ALL JS SORT TESTS PASSED" in proc.stdout
@@ -0,0 +1,139 @@
1
+ // Exercise the TreeView sort gate without a DOM.
2
+ // Run via tests/test_treeview_sort.py, or directly: node tests/treeview_sort.mjs
3
+ //
4
+ // _parseColumns / _columnIsSortable / _onHeaderClick / _applySort only
5
+ // touch plain objects and Maps, so an instance made with Object.create()
6
+ // and the few fields they use is enough; _renderAll and make_callback are
7
+ // stubbed because they are the only parts that want a document.
8
+ import { TreeView } from '../pgwidgets_js/static/modules/TreeView.js';
9
+
10
+ let failures = 0;
11
+ function check(name, cond, extra) {
12
+ if (cond) { console.log(` ok ${name}`); }
13
+ else { failures++; console.log(` FAIL ${name}`, extra ?? ''); }
14
+ }
15
+ function eq(name, a, b) {
16
+ check(name, JSON.stringify(a) === JSON.stringify(b),
17
+ `\n got ${JSON.stringify(a)}\n expected ${JSON.stringify(b)}`);
18
+ }
19
+
20
+ function makeTree(columns, sortable = true) {
21
+ const t = Object.create(TreeView.prototype);
22
+ t._parseColumns(columns);
23
+ t._selection = [];
24
+ t._cellSelection = new Set();
25
+ t._cellStyles = new Map();
26
+ t._rowStyles = new Map();
27
+ t._selectionMode = 'single';
28
+ t._sortable = sortable;
29
+ t._sortColKey = null;
30
+ t._sortAscending = true;
31
+ t._headerCells = null;
32
+ t.sorted = [];
33
+ t._renderAll = () => {};
34
+ t.make_callback = (name, ...args) => {
35
+ if (name === 'sorted') t.sorted.push(args);
36
+ };
37
+ t._root = t._makeNode({key: null, values: null, depth: -1,
38
+ parent: null, expanded: true});
39
+ return t;
40
+ }
41
+
42
+ // the rows arrive in the order the application put them in
43
+ function load(t) {
44
+ t._loadDictTree(t._root, {
45
+ a: {__values__: {name: 'bravo', start: '01:40', note: ''}},
46
+ b: {__values__: {name: 'alpha', start: '02:02', note: ''}},
47
+ c: {__values__: {name: 'delta', start: '02:17', note: ''}},
48
+ d: {__values__: {name: 'charlie', start: '04:37', note: ''}},
49
+ });
50
+ return t;
51
+ }
52
+ const order = (t) => t._childrenView(t._root).map(n => n.values.name);
53
+ const insertion = ['bravo', 'alpha', 'delta', 'charlie'];
54
+ const byName = ['alpha', 'bravo', 'charlie', 'delta'];
55
+
56
+ const cols = (noteSortable) => [
57
+ {label: 'Name', key: 'name'},
58
+ {label: 'Start', key: 'start', sortable: false},
59
+ (noteSortable === null
60
+ ? {label: 'Note', key: 'note'}
61
+ : {label: 'Note', key: 'note', sortable: noteSortable}),
62
+ ];
63
+
64
+ console.log('column descriptors');
65
+ {
66
+ const t = makeTree(cols(false));
67
+ check('an unflagged column inherits the table',
68
+ t._columns[0].sortable === null && t._columnIsSortable(t._columns[0]));
69
+ check('sortable: false is carried through',
70
+ t._columns[1].sortable === false
71
+ && t._columnIsSortable(t._columns[1]) === false);
72
+ const plain = makeTree(['A', 'B']);
73
+ check('a bare string column inherits too',
74
+ plain._columns[0].sortable === null
75
+ && plain._columnIsSortable(plain._columns[0]));
76
+ }
77
+
78
+ console.log('the header gesture');
79
+ {
80
+ const t = load(makeTree(cols(null)));
81
+ eq('starts in insertion order', order(t), insertion);
82
+ t._onHeaderClick('name');
83
+ eq('clicking a sortable header sorts', order(t), byName);
84
+ eq('and fires "sorted"', t.sorted, [['name', true]]);
85
+ t._onHeaderClick('name');
86
+ eq('clicking it again reverses', order(t), byName.slice().reverse());
87
+ }
88
+ {
89
+ const t = load(makeTree(cols(null)));
90
+ t._onHeaderClick('start');
91
+ eq('clicking an opted-out header does nothing', order(t), insertion);
92
+ check('and fires no "sorted"', t.sorted.length === 0, t.sorted);
93
+ check('no sort column is left active', t._sortColKey === null);
94
+ }
95
+ {
96
+ const t = load(makeTree(cols(true), false));
97
+ t._onHeaderClick('note');
98
+ eq('a column flag cannot widen a non-sortable table',
99
+ order(t), insertion);
100
+ }
101
+ {
102
+ const t = load(makeTree(cols(false)));
103
+ t.sort_by_column('start', true);
104
+ eq('sort_by_column stays permissive',
105
+ order(t), ['bravo', 'alpha', 'delta', 'charlie']);
106
+ check('...and really is the active sort', t._sortColKey === 'start');
107
+ }
108
+
109
+ // The case this was added for: a note typed into an editable column
110
+ // re-sorts the table when that column is the active sort, and the sort
111
+ // got there by an accidental header click that looked like a no-op
112
+ // because every note was still empty.
113
+ console.log('editing a cell under a sort');
114
+ {
115
+ const t = load(makeTree(cols(null)));
116
+ t._onHeaderClick('note');
117
+ eq('sorting on an all-empty column changes nothing visible',
118
+ order(t), insertion);
119
+ const node = t._root.children.get('c');
120
+ node.values.note = 'guiding lost';
121
+ if (t._sortColKey === 'note') t._applySortToNode(node.parent);
122
+ check('...until a note is entered, and the row jumps',
123
+ JSON.stringify(order(t)) !== JSON.stringify(insertion), order(t));
124
+ }
125
+ {
126
+ const t = load(makeTree(cols(false)));
127
+ t._onHeaderClick('note');
128
+ const node = t._root.children.get('c');
129
+ node.values.note = 'guiding lost';
130
+ if (t._sortColKey === 'note') t._applySortToNode(node.parent);
131
+ eq('with the column opted out, the same edit moves nothing',
132
+ order(t), insertion);
133
+ }
134
+
135
+ if (failures) {
136
+ console.log(`\n${failures} JS SORT TEST(S) FAILED`);
137
+ process.exit(1);
138
+ }
139
+ console.log('\nALL JS SORT TESTS PASSED');
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.4.2",
3
- "distance": 0,
4
- "node": "g832834e883eecd92a13290f6acbac138f9131a8a",
5
- "dirty": false,
6
- "branch": "main",
7
- "node_date": "2026-09-23"
8
- }
@@ -1 +0,0 @@
1
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes