Browse Source

chore(deps) drop jQuery impromptu

It's no longer used.
j8
Saúl Ibarra Corretgé 3 years ago
parent
commit
b83bc50c03
7 changed files with 0 additions and 348 deletions
  1. 0
    1
      app.js
  2. 0
    129
      css/_jquery-impromptu.scss
  3. 0
    206
      css/_jquery.contextMenu.scss
  4. 0
    1
      css/main.scss
  5. 0
    3
      modules/UI/UI.js
  6. 0
    4
      package-lock.json
  7. 0
    4
      package.json

+ 0
- 1
app.js View File

@@ -1,7 +1,6 @@
1 1
 /* application specific logic */
2 2
 
3 3
 import 'jquery';
4
-import 'jQuery-Impromptu';
5 4
 
6 5
 import 'olm';
7 6
 

+ 0
- 129
css/_jquery-impromptu.scss View File

@@ -1,129 +0,0 @@
1
-/*
2
-------------------------------
3
-	Impromptu
4
-------------------------------
5
-*/
6
-.jqifade{
7
-	position: absolute; 
8
-	background-color: #000;
9
-}
10
-div.jqi{ 
11
-	width: 400px;
12
-	position: absolute;
13
-    color: #3a3a3a;
14
-	background-color: #ffffff; 
15
-	font-size: 11px; 
16
-	text-align: left; 
17
-	border: solid 1px #eeeeee;
18
-	border-radius: 6px;
19
-	-moz-border-radius: 6px;
20
-	-webkit-border-radius: 6px;
21
-	padding: 7px;
22
-}
23
-div.jqi .jqicontainer{ 
24
-}
25
-div.jqi .jqiclose{ 
26
-	position: absolute;
27
-	top: 4px; right: -2px; 
28
-	width: 18px; 
29
-	cursor: default; 
30
-	color: #bbbbbb; 
31
-	font-weight: bold; 
32
-}
33
-div.jqi .jqistate{
34
-	background-color: #fff;
35
-}
36
-div.jqi .jqititle{
37
-	padding: 5px 10px;
38
-	font-size: 16px; 
39
-	line-height: 20px; 
40
-	border-bottom: solid 1px #eeeeee;
41
-}
42
-div.jqi .jqimessage{ 
43
-	padding: 10px; 
44
-	line-height: 20px; 
45
-	color: #444444; 
46
-}
47
-div.jqi .jqibuttons{ 
48
-	text-align: right; 
49
-	margin: 0 -7px -7px -7px;
50
-	border-top: solid 1px #e4e4e4; 
51
-	background-color: #f4f4f4;
52
-	border-radius: 0 0 6px 6px;
53
-	-moz-border-radius: 0 0 6px 6px;
54
-	-webkit-border-radius: 0 0 6px 6px;
55
-}
56
-div.jqi .jqibuttons button{ 
57
-	margin: 0;
58
-	padding: 5px 20px;
59
-	background-color: transparent !important;
60
-	font-weight: normal; 
61
-	border: none;
62
-	border-left: solid 1px #e4e4e4; 
63
-	color: #777; 
64
-	font-weight: bold; 
65
-	font-size: 12px; 
66
-}
67
-div.jqi .jqibuttons button.jqidefaultbutton{
68
-	color: #489afe;
69
-}
70
-
71
-div.jqi .jqibuttons button:disabled {
72
-    color: #b6b6b6 !important;
73
-}
74
-div.jqi .jqibuttons button:hover,
75
-div.jqi .jqibuttons button:focus{
76
-	color: #287ade;
77
-	outline: none;
78
-}
79
-.jqiwarning .jqi .jqibuttons{ 
80
-	background-color: #b95656;
81
-}
82
-
83
-/* sub states */
84
-div.jqi .jqiparentstate::after{ 
85
-	background-color: #777;
86
-	opacity: 0.6;
87
-	filter: alpha(opacity=60);
88
-	content: '';
89
-	position: absolute;
90
-	top:0;left:0;bottom:0;right:0;
91
-	border-radius: 6px;
92
-	-moz-border-radius: 6px;
93
-	-webkit-border-radius: 6px;
94
-}
95
-div.jqi .jqisubstate{
96
-	position: absolute;
97
-	top:0;
98
-	left: 20%;
99
-	width: 60%;
100
-	padding: 7px;
101
-	border: solid 1px #eeeeee;
102
-	border-top: none;
103
-	border-radius: 0 0 6px 6px;
104
-	-moz-border-radius: 0 0 6px 6px;
105
-	-webkit-border-radius: 0 0 6px 6px;
106
-}
107
-div.jqi .jqisubstate .jqibuttons button{
108
-	padding: 10px 18px;
109
-}
110
-
111
-/* arrows for tooltips/tours */
112
-.jqi .jqiarrow{ position: absolute; height: 0; width:0; line-height: 0; font-size: 0; border: solid 10px transparent;}
113
-
114
-.jqi .jqiarrowtl{ left: 10px; top: -20px; border-bottom-color: #ffffff; }
115
-.jqi .jqiarrowtc{ left: 50%; top: -20px; border-bottom-color: #ffffff; margin-left: -10px; }
116
-.jqi .jqiarrowtr{ right: 10px; top: -20px; border-bottom-color: #ffffff; }
117
-
118
-.jqi .jqiarrowbl{ left: 10px; bottom: -20px; border-top-color: #ffffff; }
119
-.jqi .jqiarrowbc{ left: 50%; bottom: -20px; border-top-color: #ffffff; margin-left: -10px; }
120
-.jqi .jqiarrowbr{ right: 10px; bottom: -20px; border-top-color: #ffffff; }
121
-
122
-.jqi .jqiarrowlt{ left: -20px; top: 10px; border-right-color: #ffffff; }
123
-.jqi .jqiarrowlm{ left: -20px; top: 50%; border-right-color: #ffffff; margin-top: -10px; }
124
-.jqi .jqiarrowlb{ left: -20px; bottom: 10px; border-right-color: #ffffff; }
125
-
126
-.jqi .jqiarrowrt{ right: -20px; top: 10px; border-left-color: #ffffff; }
127
-.jqi .jqiarrowrm{ right: -20px; top: 50%; border-left-color: #ffffff; margin-top: -10px; }
128
-.jqi .jqiarrowrb{ right: -20px; bottom: 10px; border-left-color: #ffffff; }
129
-

+ 0
- 206
css/_jquery.contextMenu.scss View File

@@ -1,206 +0,0 @@
1
-@charset "UTF-8";
2
-/*!
3
- * jQuery contextMenu - Plugin for simple contextMenu handling
4
- *
5
- * Version: v2.1.1
6
- *
7
- * Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF)
8
- * Web: http://swisnl.github.io/jQuery-contextMenu/
9
- *
10
- * Copyright (c) 2011-2016 SWIS BV and contributors
11
- *
12
- * Licensed under
13
- *   MIT License http://www.opensource.org/licenses/mit-license
14
- *
15
- * Date: 2016-02-28T09:53:18.890Z
16
- */
17
-@font-face {
18
-  font-family: "context-menu-icons";
19
-  font-style: normal; 
20
-  font-weight: normal;
21
-
22
-  src: url("font/context-menu-icons.eot?2qmzf");
23
-  src: url("font/context-menu-icons.eot?2qmzf#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?2qmzf") format("woff2"), url("font/context-menu-icons.woff?2qmzf") format("woff"), url("font/context-menu-icons.ttf?2qmzf") format("truetype");
24
-}
25
-
26
-.context-menu-icon:before {
27
-  position: absolute;
28
-  top: 50%;
29
-  left: 0;
30
-  width: 28px; 
31
-  font-family: "context-menu-icons";
32
-  font-size: 16px;
33
-  font-style: normal;
34
-  font-weight: normal;
35
-  line-height: 1;
36
-  color: #2980b9;
37
-  text-align: center;
38
-  -webkit-transform: translateY(-50%);
39
-      -ms-transform: translateY(-50%);
40
-       -o-transform: translateY(-50%);
41
-          transform: translateY(-50%);
42
-
43
-  -webkit-font-smoothing: antialiased;
44
-  -moz-osx-font-smoothing: grayscale;
45
-}
46
-
47
-.context-menu-icon-add:before {
48
-  content: "";
49
-}
50
-
51
-.context-menu-icon-copy:before {
52
-  content: "";
53
-}
54
-
55
-.context-menu-icon-cut:before {
56
-  content: "";
57
-}
58
-
59
-.context-menu-icon-delete:before {
60
-  content: "";
61
-}
62
-
63
-.context-menu-icon-edit:before {
64
-  content: "";
65
-}
66
-
67
-.context-menu-icon-paste:before {
68
-  content: "";
69
-}
70
-
71
-.context-menu-icon-quit:before {
72
-  content: "";
73
-}
74
-
75
-.context-menu-icon.context-menu-hover:before {
76
-  color: #fff;
77
-}
78
-
79
-.context-menu-list {
80
-  position: absolute; 
81
-  display: inline-block;
82
-  min-width: 180px;
83
-  max-width: 360px;
84
-  padding: 4px 0;
85
-  margin: 5px;
86
-  font-family: inherit;
87
-  font-size: inherit;
88
-  list-style-type: none;
89
-  background: #fff;
90
-  border: 1px solid #bebebe;
91
-  border-radius: $borderRadius;
92
-  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
93
-          box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
94
-}
95
-
96
-.context-menu-item {
97
-  position: relative;
98
-  padding: 3px 28px;
99
-  color: #2f2f2f;
100
-  -webkit-user-select: none;
101
-     -moz-user-select: none;
102
-      -ms-user-select: none;
103
-          user-select: none; 
104
-  background-color: #fff;
105
-}
106
-
107
-.context-menu-separator {
108
-  padding: 0; 
109
-  margin: 5px 0;
110
-  border-bottom: 1px solid #e6e6e6;
111
-}
112
-
113
-.context-menu-item > label > input,
114
-.context-menu-item > label > textarea {
115
-  -webkit-user-select: text;
116
-     -moz-user-select: text;
117
-      -ms-user-select: text;
118
-          user-select: text;
119
-}
120
-
121
-.context-menu-item.context-menu-hover {
122
-  color: #fff;
123
-  cursor: pointer; 
124
-  background-color: #2980b9;
125
-}
126
-
127
-.context-menu-item.context-menu-disabled {
128
-  color: #626262; 
129
-  background-color: #fff;
130
-}
131
-
132
-.context-menu-item.context-menu-disabled {
133
-  color: #626262;
134
-}
135
-
136
-.context-menu-input.context-menu-hover,
137
-.context-menu-item.context-menu-disabled.context-menu-hover {
138
-  cursor: default; 
139
-  background-color: #eee;
140
-}
141
-
142
-.context-menu-submenu:after {
143
-  position: absolute;
144
-  top: 50%;
145
-  right: 8px;
146
-  z-index: $zindex1;
147
-  width: 0;
148
-  height: 0;
149
-  content: '';
150
-  border-color: transparent transparent transparent #2f2f2f;
151
-  border-style: solid;
152
-  border-width: 4px 0 4px 4px;
153
-  -webkit-transform: translateY(-50%);
154
-      -ms-transform: translateY(-50%);
155
-       -o-transform: translateY(-50%);
156
-          transform: translateY(-50%);
157
-}
158
-
159
-/**
160
- * Inputs
161
- */
162
-.context-menu-item.context-menu-input {
163
-  padding: 5px 10px;
164
-}
165
-
166
-/* vertically align inside labels */
167
-.context-menu-input > label > * {
168
-  vertical-align: top;
169
-}
170
-
171
-/* position checkboxes and radios as icons */
172
-.context-menu-input > label > input[type="checkbox"],
173
-.context-menu-input > label > input[type="radio"] {
174
-  position: relative;
175
-  top: 3px;
176
-}
177
-
178
-.context-menu-input > label,
179
-.context-menu-input > label > input[type="text"],
180
-.context-menu-input > label > textarea,
181
-.context-menu-input > label > select {
182
-  display: block;
183
-  width: 100%; 
184
-  -webkit-box-sizing: border-box;
185
-     -moz-box-sizing: border-box;
186
-          box-sizing: border-box;
187
-}
188
-
189
-.context-menu-input > label > textarea {
190
-  height: 100px;
191
-}
192
-
193
-.context-menu-item > .context-menu-list {
194
-  top: 5px; 
195
-  /* re-positioned by js */
196
-  right: -5px;
197
-  display: none;
198
-}
199
-
200
-.context-menu-item.context-menu-visible > .context-menu-list {
201
-  display: block;
202
-}
203
-
204
-.context-menu-accesskey {
205
-  text-decoration: underline;
206
-}

+ 0
- 1
css/main.scss View File

@@ -57,7 +57,6 @@ $flagsImagePath: "../images/";
57 57
 @import 'welcome_page_content';
58 58
 @import 'welcome_page_settings_toolbar';
59 59
 @import 'toolbars';
60
-@import 'jquery.contextMenu';
61 60
 @import 'keyboard-shortcuts';
62 61
 @import 'redirect_page';
63 62
 @import 'components/form-control';

+ 0
- 3
modules/UI/UI.js View File

@@ -104,9 +104,6 @@ UI.initConference = function() {
104 104
  * established, false - otherwise (for example in the case of welcome page)
105 105
  */
106 106
 UI.start = function() {
107
-    // Set the defaults for prompt dialogs.
108
-    $.prompt.setDefaults({ persistent: false });
109
-
110 107
     VideoLayout.initLargeVideo();
111 108
 
112 109
     // Do not animate the video area on UI start (second argument passed into

+ 0
- 4
package-lock.json View File

@@ -10083,10 +10083,6 @@
10083 10083
         "iterate-iterator": "^1.0.1"
10084 10084
       }
10085 10085
     },
10086
-    "jQuery-Impromptu": {
10087
-      "version": "github:trentrichardson/jQuery-Impromptu#753c2833f62f9c00301dd8b75af03599dc4f2ee8",
10088
-      "from": "github:trentrichardson/jQuery-Impromptu#v6.0.0"
10089
-    },
10090 10086
     "jest-get-type": {
10091 10087
       "version": "24.9.0",
10092 10088
       "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz",

+ 0
- 4
package.json View File

@@ -48,7 +48,6 @@
48 48
     "i18next": "17.0.6",
49 49
     "i18next-browser-languagedetector": "3.0.1",
50 50
     "i18next-xhr-backend": "3.0.0",
51
-    "jQuery-Impromptu": "github:trentrichardson/jQuery-Impromptu#v6.0.0",
52 51
     "jitsi-meet-logger": "github:jitsi/jitsi-meet-logger#v1.0.0",
53 52
     "jquery": "3.5.1",
54 53
     "jquery-i18next": "1.2.1",
@@ -151,8 +150,5 @@
151 150
     "start": "make dev",
152 151
     "ios": "react-native run-ios",
153 152
     "android": "react-native run-android"
154
-  },
155
-  "browser": {
156
-    "jQuery-Impromptu": "jQuery-Impromptu/src/jquery-impromptu.js"
157 153
   }
158 154
 }

Loading…
Cancel
Save