fwtoolkit 0.1.0-alpha.2 → 0.1.0-alpha.3
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/package.json +1 -1
- package/src/basic.js +3 -3
- package/src/datatable_bulk.js +2 -2
- package/src/dialog.js +1 -1
- package/src/faq_dialog.js +3 -3
- package/src/file/dialog.js +6 -6
- package/src/file/index.js +4 -4
- package/src/file/new_folder_dialog.js +2 -2
- package/src/file/selector.js +2 -2
- package/src/file/templates.js +1 -1
- package/src/file/tools.js +2 -2
- package/src/index.js +17 -17
- package/src/network.js +1 -1
- package/src/overview_menu.js +1 -1
- package/src/templates.js +2 -2
- package/src/user.js +1 -1
package/package.json
CHANGED
package/src/basic.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {keyName} from "w3c-keyname"
|
|
2
2
|
|
|
3
|
-
import {ContentMenu} from "./content_menu"
|
|
4
|
-
import {Dialog} from "./dialog"
|
|
5
|
-
import {isActivationEvent} from "./events"
|
|
3
|
+
import {ContentMenu} from "./content_menu.js"
|
|
4
|
+
import {Dialog} from "./dialog.js"
|
|
5
|
+
import {isActivationEvent} from "./events.js"
|
|
6
6
|
|
|
7
7
|
/** Creates a styled select with a contentmenu from a select tag.
|
|
8
8
|
* @param select The select-tag which is to be replaced.
|
package/src/datatable_bulk.js
CHANGED
package/src/dialog.js
CHANGED
package/src/faq_dialog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {escapeText} from "./basic"
|
|
2
|
-
import {Dialog} from "./dialog"
|
|
3
|
-
import {ensureCSS} from "./network"
|
|
1
|
+
import {escapeText} from "./basic.js"
|
|
2
|
+
import {Dialog} from "./dialog.js"
|
|
3
|
+
import {ensureCSS} from "./network.js"
|
|
4
4
|
|
|
5
5
|
const faqTemplate = ({escapedQuestions}) =>
|
|
6
6
|
`<div class="faq">
|
package/src/file/dialog.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {Dialog} from "../dialog"
|
|
2
|
-
import {FileSelector} from "./selector"
|
|
3
|
-
import {addAlert} from "../basic"
|
|
4
|
-
import {NewFolderDialog} from "./new_folder_dialog"
|
|
5
|
-
import {moveTemplate} from "./templates"
|
|
6
|
-
import {moveFile, shortFileTitle} from "./tools"
|
|
1
|
+
import {Dialog} from "../dialog.js"
|
|
2
|
+
import {FileSelector} from "./selector.js"
|
|
3
|
+
import {addAlert} from "../basic.js"
|
|
4
|
+
import {NewFolderDialog} from "./new_folder_dialog.js"
|
|
5
|
+
import {moveTemplate} from "./templates.js"
|
|
6
|
+
import {moveFile, shortFileTitle} from "./tools.js"
|
|
7
7
|
/**
|
|
8
8
|
* Functions for the document move dialog.
|
|
9
9
|
*/
|
package/src/file/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {FileDialog} from "./dialog"
|
|
2
|
-
export {FileSelector} from "./selector"
|
|
1
|
+
export {FileDialog} from "./dialog.js"
|
|
2
|
+
export {FileSelector} from "./selector.js"
|
|
3
3
|
export {
|
|
4
4
|
cleanPath,
|
|
5
5
|
moveFile,
|
|
6
6
|
shortFileTitle,
|
|
7
7
|
longFilePath
|
|
8
|
-
} from "./tools"
|
|
9
|
-
export {NewFolderDialog} from "./new_folder_dialog"
|
|
8
|
+
} from "./tools.js"
|
|
9
|
+
export {NewFolderDialog} from "./new_folder_dialog.js"
|
package/src/file/selector.js
CHANGED
package/src/file/templates.js
CHANGED
package/src/file/tools.js
CHANGED
package/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {OverviewMenuView} from "./overview_menu"
|
|
1
|
+
export {OverviewMenuView} from "./overview_menu.js"
|
|
2
2
|
export {
|
|
3
3
|
dropdownSelect,
|
|
4
4
|
setCheckableLabel,
|
|
@@ -17,13 +17,13 @@ export {
|
|
|
17
17
|
whenReady,
|
|
18
18
|
setDocTitle,
|
|
19
19
|
showSystemMessage
|
|
20
|
-
} from "./basic"
|
|
20
|
+
} from "./basic.js"
|
|
21
21
|
|
|
22
|
-
export {convertDataURIToBlob} from "./blob"
|
|
22
|
+
export {convertDataURIToBlob} from "./blob.js"
|
|
23
23
|
|
|
24
|
-
export {isActivationEvent} from "./events"
|
|
24
|
+
export {isActivationEvent} from "./events.js"
|
|
25
25
|
|
|
26
|
-
export {getFocusIndex, setFocusIndex} from "./focus"
|
|
26
|
+
export {getFocusIndex, setFocusIndex} from "./focus.js"
|
|
27
27
|
|
|
28
28
|
export {
|
|
29
29
|
get,
|
|
@@ -33,19 +33,19 @@ export {
|
|
|
33
33
|
postBare,
|
|
34
34
|
ensureCSS,
|
|
35
35
|
getCookie
|
|
36
|
-
} from "./network"
|
|
36
|
+
} from "./network.js"
|
|
37
37
|
export {
|
|
38
38
|
setLanguage,
|
|
39
39
|
avatarTemplate
|
|
40
|
-
} from "./user"
|
|
41
|
-
export {Dialog} from "./dialog"
|
|
42
|
-
export {ContentMenu} from "./content_menu"
|
|
43
|
-
export {makeWorker} from "./worker"
|
|
44
|
-
export {baseBodyTemplate} from "./templates"
|
|
45
|
-
export {WebSocketConnector} from "./ws"
|
|
46
|
-
export {filterPrimaryEmail} from "./user_util"
|
|
47
|
-
export {DatatableBulk} from "./datatable_bulk"
|
|
48
|
-
export {faqDialog} from "./faq_dialog"
|
|
40
|
+
} from "./user.js"
|
|
41
|
+
export {Dialog} from "./dialog.js"
|
|
42
|
+
export {ContentMenu} from "./content_menu.js"
|
|
43
|
+
export {makeWorker} from "./worker.js"
|
|
44
|
+
export {baseBodyTemplate} from "./templates.js"
|
|
45
|
+
export {WebSocketConnector} from "./ws.js"
|
|
46
|
+
export {filterPrimaryEmail} from "./user_util.js"
|
|
47
|
+
export {DatatableBulk} from "./datatable_bulk.js"
|
|
48
|
+
export {faqDialog} from "./faq_dialog.js"
|
|
49
49
|
export {
|
|
50
50
|
FileDialog,
|
|
51
51
|
FileSelector,
|
|
@@ -54,8 +54,8 @@ export {
|
|
|
54
54
|
shortFileTitle,
|
|
55
55
|
longFilePath,
|
|
56
56
|
NewFolderDialog
|
|
57
|
-
} from "./file"
|
|
57
|
+
} from "./file/index.js"
|
|
58
58
|
export {
|
|
59
59
|
initSettings,
|
|
60
60
|
getSettings
|
|
61
|
-
} from "./settings"
|
|
61
|
+
} from "./settings.js"
|
package/src/network.js
CHANGED
package/src/overview_menu.js
CHANGED
package/src/templates.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {avatarTemplate} from "./user"
|
|
2
|
-
import {filterPrimaryEmail} from "./user_util"
|
|
1
|
+
import {avatarTemplate} from "./user.js"
|
|
2
|
+
import {filterPrimaryEmail} from "./user_util.js"
|
|
3
3
|
|
|
4
4
|
export const baseBodyTemplate = ({user, contents, hasOverview, app}) => `
|
|
5
5
|
<div id="wait">
|
package/src/user.js
CHANGED