@abpjs/ui 0.2.0-next.34 → 0.2.0-next.35
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.
- package/CHANGELOG.md +21 -0
- package/dist/guard.d.ts +5 -2
- package/dist/guard.js +387 -252
- package/dist/guard.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0-next.35
|
|
4
|
+
|
|
5
|
+
A prerelease under npm's `next` tag.
|
|
6
|
+
|
|
7
|
+
- guard › Directories, the design canvas's board:
|
|
8
|
+
- **New directory**, and a directory's name, open a wide `FormDialog` beside a preview: the name, the type, how often
|
|
9
|
+
it syncs ("On request only" when empty), and whether it's active and lets people sign in. A connector's settings
|
|
10
|
+
come once its type is chosen. Editing keeps the type, and **Delete directory** is the red link at the footer's start.
|
|
11
|
+
- A row's menu edits the directory, opens its page (sync runs, connection tests, everything else), syncs it now
|
|
12
|
+
(off for a type that doesn't sync), moves it up or down in priority, turns it off or on, or deletes it.
|
|
13
|
+
- Priority counts from 1. The internal type is named in the area's words, and a type that doesn't sync has no sync
|
|
14
|
+
interval.
|
|
15
|
+
|
|
16
|
+
`DirectoryFields` are the directory's fields without a form of their own, shared by the dialog and the directory's
|
|
17
|
+
page (`DirectoryForm`); `compact` gives one column. Active and sign-in are switches. `directoryRules.ts` holds the
|
|
18
|
+
editing start (a stored secret starts empty, so it's kept), which types sync, and moving, tested in
|
|
19
|
+
`tests/directory-rules.test.mjs`. New words in `directories` (`priority`, `internal`, `on`, `off`, `menuLabel`, `edit`,
|
|
20
|
+
`openPage`, `deactivate`, `activate`, `newTitle`, `editTitle`, `deleteDirectory`, `namePreview`, `sync`, `syncEvery`,
|
|
21
|
+
`onRequest`, `savedWithWarnings`) and `directoryForm` (`minutes`, `namePlaceholder`). `add`, `syncInterval`,
|
|
22
|
+
`syncIntervalHint` and `signInEnabled` say it as the canvas does, and `addedWithWarnings` is gone.
|
|
23
|
+
|
|
3
24
|
## 0.2.0-next.34
|
|
4
25
|
|
|
5
26
|
A prerelease under npm's `next` tag.
|
package/dist/guard.d.ts
CHANGED
|
@@ -1390,8 +1390,11 @@ interface AnonymousScreenProps {
|
|
|
1390
1390
|
declare function AnonymousScreen({ roleName, roleDescription }?: AnonymousScreenProps): react.JSX.Element;
|
|
1391
1391
|
|
|
1392
1392
|
/**
|
|
1393
|
-
* The site's directories, in the order sign-in tries them
|
|
1394
|
-
*
|
|
1393
|
+
* The site's directories, in the order sign-in tries them (the design canvas's board). New directory and a directory's
|
|
1394
|
+
* name open the dialog with a preview: its name, type, sync, whether it's active and signs people in, and its
|
|
1395
|
+
* connector's settings. A row's menu edits it, opens its page (sync runs, connection tests, everything else), syncs it
|
|
1396
|
+
* now, moves it up or down, turns it off or on, or deletes it. A connector that isn't there (its plugin turned off) says
|
|
1397
|
+
* so, and what a connector warns of in its settings is shown.
|
|
1395
1398
|
*/
|
|
1396
1399
|
declare function DirectoriesScreen({ routes }: {
|
|
1397
1400
|
routes?: GuardRoutes;
|