Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
7e2552bd
Commit
7e2552bd
authored
Apr 23, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: Allow multiple imports
parent
4b270359
Changes
47
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
51 additions
and
54 deletions
+51
-54
src/components/dropdown.js
src/components/dropdown.js
+1
-1
src/converse-autocomplete.js
src/converse-autocomplete.js
+1
-1
src/converse-bookmark-views.js
src/converse-bookmark-views.js
+1
-1
src/converse-chatboxviews.js
src/converse-chatboxviews.js
+1
-1
src/converse-chatview.js
src/converse-chatview.js
+1
-1
src/converse-controlbox.js
src/converse-controlbox.js
+1
-1
src/converse-dragresize.js
src/converse-dragresize.js
+1
-1
src/converse-fullscreen.js
src/converse-fullscreen.js
+1
-1
src/converse-headlines-view.js
src/converse-headlines-view.js
+1
-1
src/converse-mam-views.js
src/converse-mam-views.js
+1
-1
src/converse-message-view.js
src/converse-message-view.js
+1
-1
src/converse-minimize.js
src/converse-minimize.js
+1
-1
src/converse-modal.js
src/converse-modal.js
+1
-1
src/converse-muc-views.js
src/converse-muc-views.js
+1
-1
src/converse-notification.js
src/converse-notification.js
+1
-1
src/converse-oauth.js
src/converse-oauth.js
+1
-1
src/converse-omemo.js
src/converse-omemo.js
+1
-1
src/converse-profile.js
src/converse-profile.js
+1
-1
src/converse-push.js
src/converse-push.js
+1
-1
src/converse-register.js
src/converse-register.js
+1
-1
src/converse-roomslist.js
src/converse-roomslist.js
+1
-1
src/converse-rosterview.js
src/converse-rosterview.js
+1
-1
src/converse-singleton.js
src/converse-singleton.js
+1
-1
src/converse-uniview.js
src/converse-uniview.js
+1
-1
src/converse.js
src/converse.js
+1
-1
src/headless/converse-adhoc.js
src/headless/converse-adhoc.js
+1
-1
src/headless/converse-bookmarks.js
src/headless/converse-bookmarks.js
+1
-1
src/headless/converse-bosh.js
src/headless/converse-bosh.js
+1
-1
src/headless/converse-caps.js
src/headless/converse-caps.js
+1
-1
src/headless/converse-chat.js
src/headless/converse-chat.js
+1
-1
src/headless/converse-chatboxes.js
src/headless/converse-chatboxes.js
+1
-1
src/headless/converse-core.js
src/headless/converse-core.js
+5
-8
src/headless/converse-disco.js
src/headless/converse-disco.js
+1
-1
src/headless/converse-emoji.js
src/headless/converse-emoji.js
+1
-1
src/headless/converse-headlines.js
src/headless/converse-headlines.js
+1
-1
src/headless/converse-mam.js
src/headless/converse-mam.js
+1
-1
src/headless/converse-muc.js
src/headless/converse-muc.js
+1
-1
src/headless/converse-ping.js
src/headless/converse-ping.js
+1
-1
src/headless/converse-pubsub.js
src/headless/converse-pubsub.js
+1
-1
src/headless/converse-roster.js
src/headless/converse-roster.js
+1
-1
src/headless/converse-rsm.js
src/headless/converse-rsm.js
+1
-1
src/headless/converse-smacks.js
src/headless/converse-smacks.js
+1
-1
src/headless/converse-status.js
src/headless/converse-status.js
+1
-1
src/headless/converse-vcard.js
src/headless/converse-vcard.js
+1
-1
src/headless/headless.js
src/headless/headless.js
+1
-1
src/headless/utils/muc.js
src/headless/utils/muc.js
+1
-1
src/templates/chatroom_head.js
src/templates/chatroom_head.js
+1
-1
No files found.
src/components/dropdown.js
View file @
7e2552bd
...
...
@@ -2,7 +2,7 @@ import { html } from 'lit-element';
import
{
CustomElement
}
from
'
./element.js
'
;
import
{
until
}
from
'
lit-html/directives/until.js
'
;
import
DOMNavigator
from
"
../dom-navigator
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
const
u
=
converse
.
env
.
utils
;
...
...
src/converse-autocomplete.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@
* @license Mozilla Public License (MPLv2)
*/
import
{
Events
}
from
'
skeletor.js/src/events.js
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
const
u
=
converse
.
env
.
utils
;
...
...
src/converse-bookmark-views.js
View file @
7e2552bd
...
...
@@ -5,7 +5,7 @@
* @license Mozilla Public License (MPLv2)
*/
import
"
@converse/headless/converse-muc
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
tpl_bookmarks_list
from
"
templates/bookmarks_list.js
"
import
tpl_muc_bookmark_form
from
"
templates/muc_bookmark_form.js
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
...
...
src/converse-chatboxviews.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@ import "@converse/headless/converse-chatboxes";
import
{
Overview
}
from
"
skeletor.js/src/overview
"
;
import
{
View
}
from
"
skeletor.js/src/view
"
;
import
{
result
}
from
"
lodash
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
tpl_avatar
from
"
templates/avatar.svg
"
;
import
tpl_background_logo
from
"
templates/background_logo.html
"
;
import
tpl_chatboxes
from
"
templates/chatboxes.html
"
;
...
...
src/converse-chatview.js
View file @
7e2552bd
...
...
@@ -10,7 +10,7 @@ import { BootstrapModal } from "./converse-modal.js";
import
{
Overview
}
from
"
skeletor.js/src/overview
"
;
import
{
debounce
,
isString
}
from
"
lodash
"
;
import
{
html
,
render
}
from
"
lit-html
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_chatbox
from
"
templates/chatbox.js
"
;
import
tpl_chatbox_head
from
"
templates/chatbox_head.js
"
;
...
...
src/converse-controlbox.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@ import "converse-chatview";
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
View
}
from
"
skeletor.js/src/view
"
;
import
bootstrap
from
"
bootstrap.native
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_brand_heading
from
"
templates/converse_brand_heading.html
"
;
import
tpl_controlbox
from
"
templates/controlbox.html
"
;
...
...
src/converse-dragresize.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
import
"
converse-chatview
"
;
import
"
converse-controlbox
"
;
import
{
debounce
}
from
"
lodash
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
tpl_dragresize
from
"
templates/dragresize.html
"
;
const
u
=
converse
.
env
.
utils
;
...
...
src/converse-fullscreen.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@ import "@converse/headless/converse-muc";
import
"
converse-chatview
"
;
import
"
converse-controlbox
"
;
import
"
converse-singleton
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
tpl_brand_heading
from
"
templates/inverse_brand_heading.html
"
;
...
...
src/converse-headlines-view.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@ import "converse-chatview";
import
{
View
}
from
'
skeletor.js/src/view.js
'
;
import
{
__
}
from
'
@converse/headless/i18n
'
;
import
{
render
}
from
"
lit-html
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
tpl_chatbox
from
"
templates/chatbox.js
"
;
import
tpl_headline_panel
from
"
templates/headline_panel.js
"
;
...
...
src/converse-mam-views.js
View file @
7e2552bd
...
...
@@ -5,7 +5,7 @@
* @copyright 2020, the Converse.js contributors
* @license Mozilla Public License (MPLv2)
*/
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
{
debounce
}
from
'
lodash
'
...
...
src/converse-message-view.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
import
"
./utils/html
"
;
import
"
@converse/headless/converse-emoji
"
;
import
URI
from
"
urijs
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
{
BootstrapModal
}
from
"
./converse-modal.js
"
;
import
{
debounce
}
from
'
lodash
'
import
{
render
}
from
"
lit-html
"
;
...
...
src/converse-minimize.js
View file @
7e2552bd
...
...
@@ -9,7 +9,7 @@ import { Overview } from "skeletor.js/src/overview";
import
{
View
}
from
"
skeletor.js/src/view
"
;
import
{
__
}
from
'
@converse/headless/i18n
'
;
import
{
debounce
,
sum
}
from
'
lodash
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
tpl_chats_panel
from
"
templates/chats_panel.html
"
;
import
tpl_toggle_chats
from
"
templates/toggle_chats.html
"
;
import
tpl_trimmed_chat
from
"
templates/trimmed_chat.html
"
;
...
...
src/converse-modal.js
View file @
7e2552bd
...
...
@@ -9,7 +9,7 @@ import { isString } from "lodash";
import
{
render
}
from
'
lit-html
'
;
import
{
__
}
from
'
@converse/headless/i18n
'
;
import
bootstrap
from
"
bootstrap.native
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_alert_component
from
"
templates/alert.js
"
;
import
tpl_alert_modal
from
"
templates/alert_modal.js
"
;
...
...
src/converse-muc-views.js
View file @
7e2552bd
...
...
@@ -13,7 +13,7 @@ import { BootstrapModal } from "./converse-modal.js";
import
{
render
}
from
"
lit-html
"
;
import
{
__
}
from
'
@converse/headless/i18n
'
;
import
RoomDetailsModal
from
'
modals/muc-details.js
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
st
from
"
@converse/headless/utils/stanza
"
;
import
tpl_add_chatroom_modal
from
"
templates/add_chatroom_modal.js
"
;
...
...
src/converse-notification.js
View file @
7e2552bd
...
...
@@ -3,7 +3,7 @@
* @copyright 2020, the Converse.js contributors
* @license Mozilla Public License (MPLv2)
*/
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
const
{
Strophe
,
sizzle
}
=
converse
.
env
;
...
...
src/converse-oauth.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
View
}
from
'
skeletor.js/src/view.js
'
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
hello
from
"
hellojs
"
;
import
tpl_oauth_providers
from
"
templates/oauth_providers.js
"
;
...
...
src/converse-omemo.js
View file @
7e2552bd
...
...
@@ -9,7 +9,7 @@ import "converse-profile";
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
concat
,
debounce
,
difference
,
invokeMap
,
range
,
omit
}
from
"
lodash
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_toolbar_omemo
from
"
templates/toolbar_omemo.html
"
;
...
...
src/converse-profile.js
View file @
7e2552bd
...
...
@@ -9,7 +9,7 @@ import "converse-modal";
import
{
BootstrapModal
}
from
"
./converse-modal.js
"
;
import
UserSettingsModal
from
"
modals/user-settings
"
;
import
bootstrap
from
"
bootstrap.native
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
sizzle
from
'
sizzle
'
;
import
tpl_chat_status_modal
from
"
templates/chat_status_modal
"
;
...
...
src/converse-push.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
* @copyright 2020, the Converse.js contributors
* @license Mozilla Public License (MPLv2)
*/
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
{
filter
,
reject
}
from
'
lodash
'
;
import
log
from
"
@converse/headless/log
"
;
...
...
src/converse-register.js
View file @
7e2552bd
...
...
@@ -10,7 +10,7 @@ import "converse-controlbox";
import
{
__
}
from
'
@converse/headless/i18n
'
;
import
{
View
}
from
"
skeletor.js/src/view
"
;
import
{
pick
}
from
"
lodash
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_form_input
from
"
templates/form_input.html
"
;
import
tpl_form_username
from
"
templates/form_username.html
"
;
...
...
src/converse-roomslist.js
View file @
7e2552bd
...
...
@@ -8,7 +8,7 @@
*/
import
"
@converse/headless/converse-muc
"
;
import
RoomDetailsModal
from
'
modals/muc-details.js
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
tpl_rooms_list
from
"
templates/rooms_list.js
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
View
}
from
'
skeletor.js/src/view.js
'
;
...
...
src/converse-rosterview.js
View file @
7e2552bd
...
...
@@ -11,7 +11,7 @@ import { BootstrapModal } from "./converse-modal.js";
import
{
View
}
from
'
skeletor.js/src/view.js
'
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
OrderedListView
}
from
"
skeletor.js/src/overview
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_add_contact_modal
from
"
templates/add_contact_modal.js
"
;
import
tpl_group_header
from
"
templates/group_header.html
"
;
...
...
src/converse-singleton.js
View file @
7e2552bd
...
...
@@ -4,7 +4,7 @@
* @license Mozilla Public License (MPLv2)
* @description A plugin which restricts Converse to only one chat.
*/
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
converse
.
plugins
.
add
(
'
converse-singleton
'
,
{
...
...
src/converse-uniview.js
View file @
7e2552bd
...
...
@@ -11,7 +11,7 @@
* @license Mozilla Public License (MPLv2)
*/
import
"
converse-chatview
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
const
u
=
converse
.
env
.
utils
;
...
...
src/converse.js
View file @
7e2552bd
...
...
@@ -33,7 +33,7 @@ import "converse-uniview";
import
"
../sass/converse.scss
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
const
WHITELISTED_PLUGINS
=
[
'
converse-autocomplete
'
,
...
...
src/headless/converse-adhoc.js
View file @
7e2552bd
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
sizzle
from
'
sizzle
'
;
import
st
from
"
./utils/stanza
"
;
...
...
src/headless/converse-bookmarks.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
* @license Mozilla Public License (MPLv2)
*/
import
"
@converse/headless/converse-muc
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
log
from
"
./log
"
;
...
...
src/headless/converse-bosh.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
*/
import
'
strophe.js/src/bosh
'
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
./log
"
;
const
{
Strophe
}
=
converse
.
env
;
...
...
src/headless/converse-caps.js
View file @
7e2552bd
...
...
@@ -4,7 +4,7 @@
* @license Mozilla Public License (MPLv2)
*/
import
SHA1
from
'
strophe.js/src/sha1
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
{
get
}
from
"
lodash
"
;
const
{
Strophe
,
$build
}
=
converse
.
env
;
...
...
src/headless/converse-chat.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
import
{
find
,
isMatch
,
isObject
,
isString
,
pick
}
from
"
lodash
"
;
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
filesize
from
"
filesize
"
;
import
log
from
"
./log
"
;
import
st
from
"
./utils/stanza
"
;
...
...
src/headless/converse-chatboxes.js
View file @
7e2552bd
...
...
@@ -5,7 +5,7 @@
*/
import
"
./converse-emoji
"
;
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
{
isString
}
from
"
lodash
"
;
import
log
from
"
./log
"
;
...
...
src/headless/converse-core.js
View file @
7e2552bd
...
...
@@ -3,12 +3,12 @@
* @copyright The Converse.js contributors
* @license Mozilla Public License (MPLv2)
*/
import
{
__
,
i18n
}
from
'
./i18n
'
;
import
{
assignIn
,
debounce
,
invoke
,
isFunction
,
isObject
,
isString
,
pick
}
from
'
lodash
'
;
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Events
}
from
'
skeletor.js/src/events.js
'
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
Router
}
from
'
skeletor.js/src/router.js
'
;
import
{
__
,
i18n
}
from
'
./i18n
'
;
import
{
assignIn
,
debounce
,
invoke
,
isFunction
,
isObject
,
isString
,
pick
}
from
'
lodash
'
;
import
'
strophe.js/src/websocket
'
;
import
'
./polyfill
'
;
import
*
as
strophe
from
'
strophe.js/src/core
'
;
...
...
@@ -162,9 +162,7 @@ const DEFAULT_SETTINGS = {
* @global
* @namespace _converse
*/
// Strictly speaking _converse is not a global, but we need to set it as
// such to get JSDoc to create the correct document site strucure.
const
_converse
=
{
export
const
_converse
=
{
'
templates
'
:
{},
'
promises
'
:
{},
...
...
@@ -1738,8 +1736,8 @@ function setUnloadEvent () {
}
}
export
const
converse
=
window
.
converse
;
window
.
converse
=
window
.
converse
||
{};
/**
* ### The Public API
...
...
@@ -1754,7 +1752,7 @@ window.converse = window.converse || {};
* @global
* @namespace converse
*/
Object
.
assign
(
window
.
converse
,
{
Object
.
assign
(
converse
,
{
CHAT_STATES
:
[
'
active
'
,
'
composing
'
,
'
gone
'
,
'
inactive
'
,
'
paused
'
],
...
...
@@ -1914,4 +1912,3 @@ Object.assign(window.converse, {
* @example window.addEventListener('converse-loaded', () => converse.initialize());
*/
window
.
dispatchEvent
(
new
CustomEvent
(
'
converse-loaded
'
));
export
default
converse
;
src/headless/converse-disco.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@
import
{
isEmpty
,
isObject
}
from
"
lodash
"
;
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
./log
"
;
import
sizzle
from
"
sizzle
"
;
...
...
src/headless/converse-emoji.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
find
,
uniq
}
from
"
lodash
"
;
import
*
as
twemoji
from
"
twemoji
"
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
const
u
=
converse
.
env
.
utils
;
...
...
src/headless/converse-headlines.js
View file @
7e2552bd
...
...
@@ -4,7 +4,7 @@
* @description XEP-0045 Multi-User Chat Views
*/
import
{
isString
}
from
"
lodash
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
st
from
"
./utils/stanza
"
;
const
u
=
converse
.
env
.
utils
;
...
...
src/headless/converse-mam.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@
import
"
./converse-disco
"
;
import
"
./converse-rsm
"
;
import
{
intersection
,
pick
}
from
'
lodash
'
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
./log
"
;
import
sizzle
from
"
sizzle
"
;
...
...
src/headless/converse-muc.js
View file @
7e2552bd
...
...
@@ -10,7 +10,7 @@ import "./converse-emoji";
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
clone
,
debounce
,
intersection
,
invoke
,
isElement
,
isObject
,
isString
,
pick
,
uniq
,
zipObject
}
from
"
lodash
"
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
./log
"
;
import
muc_utils
from
"
./utils/muc
"
;
import
st
from
"
./utils/stanza
"
;
...
...
src/headless/converse-ping.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
* @copyright 2020, the Converse.js contributors
* @license Mozilla Public License (MPLv2)
*/
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
./log
"
;
const
{
Strophe
,
$iq
}
=
converse
.
env
;
...
...
src/headless/converse-pubsub.js
View file @
7e2552bd
...
...
@@ -4,7 +4,7 @@
* @license Mozilla Public License (MPLv2)
*/
import
"
./converse-disco
"
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
./log
"
;
const
{
Strophe
,
$iq
}
=
converse
.
env
;
...
...
src/headless/converse-roster.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@ import "@converse/headless/converse-status";
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
invoke
,
isEmpty
,
isNaN
,
isString
,
propertyOf
,
sum
}
from
"
lodash
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
log
from
"
./log
"
;
const
{
Strophe
,
$iq
,
$pres
,
dayjs
,
sizzle
}
=
converse
.
env
;
...
...
src/headless/converse-rsm.js
View file @
7e2552bd
...
...
@@ -6,7 +6,7 @@
* Some code taken from the Strophe RSM plugin, licensed under the MIT License
* Copyright 2006-2017 Strophe (https://github.com/strophe/strophejs)
*/
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
const
{
Strophe
,
$build
}
=
converse
.
env
;
...
...
src/headless/converse-smacks.js
View file @
7e2552bd
...
...
@@ -4,7 +4,7 @@
* @license Mozilla Public License (MPLv2)
* @description Converse.js plugin which adds support for XEP-0198: Stream Management
*/
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
./log
"
;
const
{
Strophe
}
=
converse
.
env
;
...
...
src/headless/converse-status.js
View file @
7e2552bd
...
...
@@ -5,7 +5,7 @@
*/
import
{
isNaN
,
isObject
,
isString
}
from
"
lodash
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
const
{
Strophe
,
$build
,
$pres
}
=
converse
.
env
;
...
...
src/headless/converse-vcard.js
View file @
7e2552bd
...
...
@@ -7,7 +7,7 @@ import "./converse-status";
import
{
Collection
}
from
"
skeletor.js/src/collection
"
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
has
,
isString
}
from
"
lodash
"
;
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_vcard
from
"
./templates/vcard.html
"
;
...
...
src/headless/headless.js
View file @
7e2552bd
...
...
@@ -21,6 +21,6 @@ import "./converse-status"; // XEP-0199 XMPP Ping
import
"
./converse-vcard
"
;
// XEP-0054 VCard-temp
/* END: Removable components */
import
converse
from
"
./converse-core
"
;
import
{
converse
}
from
"
./converse-core
"
;
export
default
converse
;
src/headless/utils/muc.js
View file @
7e2552bd
...
...
@@ -4,7 +4,7 @@
* @description This is the MUC utilities module.
*/
import
{
difference
,
indexOf
}
from
"
lodash
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
u
from
"
./core
"
;
const
{
Strophe
,
sizzle
}
=
converse
.
env
;
...
...
src/templates/chatroom_head.js
View file @
7e2552bd
...
...
@@ -3,7 +3,7 @@ import { __ } from '@converse/headless/i18n';
import
{
html
}
from
"
lit-html
"
;
import
{
unsafeHTML
}
from
'
lit-html/directives/unsafe-html.js
'
;
import
{
until
}
from
'
lit-html/directives/until.js
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
{
converse
}
from
"
@converse/headless/converse-core
"
;
import
xss
from
"
xss/dist/xss
"
;
const
u
=
converse
.
env
.
utils
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment