x4js 2.2.61 → 2.2.62
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
CHANGED
|
@@ -4,11 +4,10 @@ import { Component, ComponentProps } from '../../core/component';
|
|
|
4
4
|
import Monaco from './bin/monaco';
|
|
5
5
|
import "./monaco.module.scss"
|
|
6
6
|
|
|
7
|
-
export type IMonarchLanguage =
|
|
8
|
-
export type CompletionItem =
|
|
9
|
-
export type CompletionItemProvider =
|
|
10
|
-
|
|
11
|
-
export { IRange, }
|
|
7
|
+
export type IMonarchLanguage = Monaco.languages.IMonarchLanguage;
|
|
8
|
+
export type CompletionItem = Monaco.languages.CompletionItem;
|
|
9
|
+
export type CompletionItemProvider = Monaco.languages.CompletionItemProvider;
|
|
10
|
+
export type IRange = Monaco.IRange;
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
interface MonacoEditorProps extends ComponentProps {
|
|
@@ -145,10 +145,11 @@ export class Popup<P extends PopupProps = PopupProps, E extends PopupEvents = Po
|
|
|
145
145
|
this._do_show( ); // to compute size
|
|
146
146
|
|
|
147
147
|
const fixpos = ( ) => {
|
|
148
|
-
const
|
|
148
|
+
const self = this.dom as HTMLElement;
|
|
149
|
+
|
|
149
150
|
this.setStyle( {
|
|
150
|
-
left: ((
|
|
151
|
-
top: ((
|
|
151
|
+
left: ((document.body.offsetWidth - self.offsetWidth) / 2) +'px',
|
|
152
|
+
top: ((document.body.offsetHeight - self.offsetHeight) / 2) +'px',
|
|
152
153
|
} );
|
|
153
154
|
}
|
|
154
155
|
|
|
@@ -3,7 +3,7 @@ import { Color } from '../../core/core_colors';
|
|
|
3
3
|
import { Component, ComponentProps } from '../../core/component';
|
|
4
4
|
|
|
5
5
|
import "./tickline.module.scss"
|
|
6
|
-
import { class_ns } from '../../core/core_tools
|
|
6
|
+
import { class_ns } from '../../core/core_tools';
|
|
7
7
|
|
|
8
8
|
interface TickLineProps extends ComponentProps {
|
|
9
9
|
values: number[];
|
package/src/x4.d.ts
CHANGED
|
@@ -1,20 +1,33 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
2
|
* ___ ___ __
|
|
3
3
|
* \ \/ / / _
|
|
4
4
|
* \ / /_| |_
|
|
5
|
-
* / \____ _|
|
|
6
|
-
* /__/\__\ |_
|
|
7
|
-
*
|
|
8
|
-
* @file x4.
|
|
9
|
-
* @author Etienne Cochard
|
|
10
|
-
*
|
|
5
|
+
* / \____ _|
|
|
6
|
+
* /__/\__\ |_|
|
|
7
|
+
*
|
|
8
|
+
* @file x4.ts
|
|
9
|
+
* @author Etienne Cochard
|
|
10
|
+
*
|
|
11
11
|
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
|
-
* Use of this source code is governed by an MIT-style license
|
|
13
|
+
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
export * from "./core/component";
|
|
17
|
+
export * from "./core/core_application";
|
|
18
|
+
export * from "./core/core_colors";
|
|
19
|
+
export * from "./core/core_data";
|
|
20
|
+
export * from "./core/core_dom";
|
|
21
|
+
export * from "./core/core_dragdrop";
|
|
22
|
+
export * from "./core/core_element";
|
|
23
|
+
export * from "./core/core_events";
|
|
24
|
+
export * from "./core/core_i18n";
|
|
25
|
+
export * from "./core/core_pdf";
|
|
26
|
+
export * from "./core/core_react";
|
|
27
|
+
export * from "./core/core_router";
|
|
28
|
+
export * from "./core/core_state";
|
|
29
|
+
export * from "./core/core_styles";
|
|
30
|
+
export * from "./core/core_svg";
|
|
31
|
+
export * from "./core/core_tools";
|
|
32
|
+
export * from "./components/components";
|
|
33
|
+
import "./x4.scss";
|