Skip to content

Commit

Permalink
Move non-View JxXxx classes into Js namespace (#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored Dec 22, 2022
1 parent 975b785 commit 4f3c851
Show file tree
Hide file tree
Showing 131 changed files with 264 additions and 197 deletions.
2 changes: 1 addition & 1 deletion demos/_includes/Counter.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\JsExpression;
use Atk4\Ui\Js\JsExpression;

class Counter extends Form\Control\Line
{
Expand Down
2 changes: 1 addition & 1 deletion demos/_includes/Demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Columns;
use Atk4\Ui\Exception;
use Atk4\Ui\JsChain;
use Atk4\Ui\Js\JsChain;
use Atk4\Ui\View;

class Demo extends Columns
Expand Down
6 changes: 3 additions & 3 deletions demos/_includes/DemoLookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use Atk4\Core\Factory;
use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\Jquery;
use Atk4\Ui\JsModal;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\Jquery;
use Atk4\Ui\Js\JsModal;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\VirtualPage;

class DemoLookup extends Form\Control\Lookup
Expand Down
2 changes: 1 addition & 1 deletion demos/_includes/FlyersForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Atk4\Data\Model;
use Atk4\Data\Persistence;
use Atk4\Ui\Form;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;

class FlyersForm extends Form
{
Expand Down
2 changes: 1 addition & 1 deletion demos/_includes/ReloadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Atk4\Ui\Demos;

use Atk4\Ui\JsReload;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Label;
use Atk4\Ui\View;

Expand Down
4 changes: 2 additions & 2 deletions demos/_includes/ViewTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Atk4\Ui\Demos;

use Atk4\Ui\JsExpression;
use Atk4\Ui\JsReload;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Label;
use Atk4\Ui\View;

Expand Down
6 changes: 3 additions & 3 deletions demos/_unit-test/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\Jquery;
use Atk4\Ui\JsModal;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\Jquery;
use Atk4\Ui\Js\JsModal;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Table;
use Atk4\Ui\VirtualPage;

Expand Down
6 changes: 3 additions & 3 deletions demos/_unit-test/grid-rowclick.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace Atk4\Ui\Demos;

use Atk4\Ui\Grid;
use Atk4\Ui\JsExpression;
use Atk4\Ui\JsFunction;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsFunction;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Message;
use Atk4\Ui\Table;
use Atk4\Ui\View;
Expand Down
4 changes: 2 additions & 2 deletions demos/_unit-test/lookup-virtual-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

use Atk4\Ui\Form;
use Atk4\Ui\Grid;
use Atk4\Ui\JsModal;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsModal;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\VirtualPage;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/_unit-test/modal-error.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Atk4\Ui\Demos;

use Atk4\Ui\Button;
use Atk4\Ui\JsExpression;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Modal;
use Atk4\Ui\UserAction\ModalExecutor;
use Atk4\Ui\View;
Expand Down
2 changes: 1 addition & 1 deletion demos/_unit-test/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Atk4\Ui\Demos;

use Atk4\Ui\Form;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;

/** @var \Atk4\Ui\App $app */
require_once __DIR__ . '/../init-app.php';
Expand Down
2 changes: 1 addition & 1 deletion demos/_unit-test/reload.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Button;
use Atk4\Ui\Callback;
use Atk4\Ui\JsReload;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Loader;
use Atk4\Ui\View;

Expand Down
4 changes: 2 additions & 2 deletions demos/_unit-test/scroll.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace Atk4\Ui\Demos;

use Atk4\Ui\Grid;
use Atk4\Ui\JsExpression;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsToast;

/** @var \Atk4\Ui\App $app */
require_once __DIR__ . '/../init-app.php';
Expand Down
4 changes: 2 additions & 2 deletions demos/_unit-test/sse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Atk4\Ui\Demos;

use Atk4\Ui\JsExpression;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\JsSse;
use Atk4\Ui\JsToast;
use Atk4\Ui\View;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/_unit-test/virtual-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\View;
use Atk4\Ui\VirtualPage;

Expand Down
2 changes: 1 addition & 1 deletion demos/basic/breadcrumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Breadcrumb;
use Atk4\Ui\Form;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Table;
use Atk4\Ui\View;

Expand Down
2 changes: 1 addition & 1 deletion demos/basic/label.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Columns;
use Atk4\Ui\Header;
use Atk4\Ui\JsReload;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Label;
use Atk4\Ui\LoremIpsum;
use Atk4\Ui\Menu;
Expand Down
4 changes: 2 additions & 2 deletions demos/basic/message.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

use Atk4\Ui\Button;
use Atk4\Ui\Header;
use Atk4\Ui\Jquery;
use Atk4\Ui\JsReload;
use Atk4\Ui\Js\Jquery;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Message;
use Atk4\Ui\View;

Expand Down
4 changes: 2 additions & 2 deletions demos/basic/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use Atk4\Ui\Columns;
use Atk4\Ui\Header;
use Atk4\Ui\HtmlTemplate;
use Atk4\Ui\JsModal;
use Atk4\Ui\JsReload;
use Atk4\Ui\Js\JsModal;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Label;
use Atk4\Ui\Message;
use Atk4\Ui\Paginator;
Expand Down
8 changes: 4 additions & 4 deletions demos/collection/grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
use Atk4\Data\Model;
use Atk4\Ui\Button;
use Atk4\Ui\Grid;
use Atk4\Ui\Jquery;
use Atk4\Ui\JsExpression;
use Atk4\Ui\JsReload;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\Jquery;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Message;
use Atk4\Ui\Table;
use Atk4\Ui\UserAction\BasicExecutor;
Expand Down
6 changes: 3 additions & 3 deletions demos/collection/multitable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
use Atk4\Ui\Button;
use Atk4\Ui\Columns;
use Atk4\Ui\Header;
use Atk4\Ui\JsExpression;
use Atk4\Ui\JsModal;
use Atk4\Ui\JsReload;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsModal;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Table;
use Atk4\Ui\VirtualPage;

Expand Down
4 changes: 2 additions & 2 deletions demos/collection/table.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

use Atk4\Data\Model;
use Atk4\Ui\Button;
use Atk4\Ui\JsReload;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Table;
use Atk4\Ui\View;

Expand Down
4 changes: 2 additions & 2 deletions demos/collection/table2.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Atk4\Data\Model;
use Atk4\Data\Persistence;
use Atk4\Ui\Header;
use Atk4\Ui\Jquery;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\Jquery;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Lister;
use Atk4\Ui\Table;

Expand Down
2 changes: 1 addition & 1 deletion demos/data-action/actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Atk4\Ui\Button;
use Atk4\Ui\Columns;
use Atk4\Ui\Header;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\UserAction;
use Atk4\Ui\View;

Expand Down
6 changes: 3 additions & 3 deletions demos/form-control/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use Atk4\Ui\Form;
use Atk4\Ui\GridLayout;
use Atk4\Ui\JsExpression;
use Atk4\Ui\JsFunction;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsFunction;
use Atk4\Ui\Js\JsToast;

/** @var \Atk4\Ui\App $app */
require_once __DIR__ . '/../init-app.php';
Expand Down
2 changes: 1 addition & 1 deletion demos/form-control/checkbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\View;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/form-control/form6.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Columns;
use Atk4\Ui\Form;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\View;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/form-control/input2.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\HtmlTemplate;
use Atk4\Ui\JsExpression;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Tabs;
use Atk4\Ui\View;

Expand Down
6 changes: 3 additions & 3 deletions demos/form-control/multiline.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\JsExpression;
use Atk4\Ui\JsFunction;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsExpression;
use Atk4\Ui\Js\JsFunction;
use Atk4\Ui\Js\JsToast;

/** @var \Atk4\Ui\App $app */
require_once __DIR__ . '/../init-app.php';
Expand Down
2 changes: 1 addition & 1 deletion demos/form-control/tree-item-selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Message;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/form-control/upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Atk4\Ui\Demos;

use Atk4\Ui\Form;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;

/** @var \Atk4\Ui\App $app */
require_once __DIR__ . '/../init-app.php';
Expand Down
2 changes: 1 addition & 1 deletion demos/form/form-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\View;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/form/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Message;
use Atk4\Ui\Modal;
use Atk4\Ui\Tabs;
Expand Down
4 changes: 2 additions & 2 deletions demos/form/form2.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\Jquery;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\Jquery;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Label;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/form/form3.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Atk4\Ui\Button;
use Atk4\Ui\Form;
use Atk4\Ui\Header;
use Atk4\Ui\JsReload;
use Atk4\Ui\Js\JsReload;
use Atk4\Ui\View;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/form/form5.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Atk4\Data\Persistence;
use Atk4\Ui\Columns;
use Atk4\Ui\Form;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\View;

/** @var \Atk4\Ui\App $app */
Expand Down
2 changes: 1 addition & 1 deletion demos/form/html-layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Atk4\Ui\Form;
use Atk4\Ui\GridLayout;
use Atk4\Ui\Header;
use Atk4\Ui\JsToast;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\Label;
use Atk4\Ui\Tabs;
use Atk4\Ui\View;
Expand Down
2 changes: 1 addition & 1 deletion demos/interactive/jssortable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use Atk4\Ui\Grid;
use Atk4\Ui\Header;
use Atk4\Ui\HtmlTemplate;
use Atk4\Ui\Js\JsToast;
use Atk4\Ui\JsSortable;
use Atk4\Ui\JsToast;
use Atk4\Ui\Lister;
use Atk4\Ui\View;

Expand Down
Loading

0 comments on commit 4f3c851

Please sign in to comment.