Add missing jquery dependency

This commit is contained in:
Paulo Gustavo Veiga 2021-12-14 09:13:39 -08:00
parent 75a153d1d5
commit cf6f4672fc
7 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
import BootstrapDialog from './BootstrapDialog';
import { $assert, $defined } from '@wisemapping/core-js';
class BootstrapDialogRequest extends BootstrapDialog {
constructor(url, title, options) {

View File

@ -17,7 +17,6 @@
* limitations under the License.
*/
import { $assert, $defined } from '@wisemapping/core-js';
import $ from 'jquery';
class INodeModel {
constructor(mindmap) {

View File

@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { $assert, $defined } from '@wisemapping/core-js';
import ModelCodeName from './ModelCodeName';
import XMLSerializer_Pela from './XMLSerializer_Pela';

View File

@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { $assert, $defined } from '@wisemapping/core-js';
import XMLSerializer_Tango from './XMLSerializer_Tango';
import ModelCodeName from './ModelCodeName';

View File

@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import $ from 'jquery';
import { $assert } from '@wisemapping/core-js';
import BootstrapDialog from '../libraries/bootstrap/BootstrapDialog';

View File

@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import $ from 'jquery';
import ToolbarPaneItem from './ToolbarPaneItem';
class ListToolbarPanel extends ToolbarPaneItem {

View File

@ -17,6 +17,7 @@
*/
import { $assert } from '@wisemapping/core-js';
import BootstrapDialog from '../libraries/bootstrap/BootstrapDialog';
import $ from 'jquery';
class NoteEditor extends BootstrapDialog {
constructor(model) {
@ -26,7 +27,7 @@ class NoteEditor extends BootstrapDialog {
closeButton: true,
acceptButton: true,
removeButton: typeof model.getValue() !== 'undefined',
onEventData: { model: model },
onEventData: { model },
});
this._model = model;
this.css({ margin: '150px auto' });