@difizen/libro-lab 0.3.16 → 1.0.1
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/es/command/lab-menu-contribution.d.ts +4 -4
- package/es/command/lab-menu-contribution.d.ts.map +1 -1
- package/es/command/lab-menu-contribution.js +5 -5
- package/es/command/menu-bar-view.d.ts +1 -1
- package/es/command/menu-bar-view.d.ts.map +1 -1
- package/es/command/menu-bar-view.js +2 -2
- package/es/command/module.d.ts +1 -1
- package/es/command/module.d.ts.map +1 -1
- package/es/command/module.js +1 -1
- package/es/config/config-contribution.d.ts +2 -2
- package/es/config/config-contribution.d.ts.map +1 -1
- package/es/config/config-contribution.js +3 -3
- package/es/config/config.d.ts +1 -1
- package/es/config/config.d.ts.map +1 -1
- package/es/config/config.js +1 -1
- package/es/editor-viewer/code-editor-open-handler.d.ts +4 -4
- package/es/editor-viewer/code-editor-open-handler.d.ts.map +1 -1
- package/es/editor-viewer/code-editor-open-handler.js +3 -3
- package/es/editor-viewer/code-editor-viewer.d.ts +5 -5
- package/es/editor-viewer/code-editor-viewer.d.ts.map +1 -1
- package/es/editor-viewer/code-editor-viewer.js +4 -4
- package/es/editor-viewer/json-langauge.js +1 -1
- package/es/editor-viewer/julia-language.js +1 -1
- package/es/editor-viewer/libro-default-open-handler.d.ts +3 -3
- package/es/editor-viewer/libro-default-open-handler.d.ts.map +1 -1
- package/es/editor-viewer/libro-default-open-handler.js +2 -2
- package/es/editor-viewer/libro-default-viewer.d.ts +3 -3
- package/es/editor-viewer/libro-default-viewer.d.ts.map +1 -1
- package/es/editor-viewer/libro-default-viewer.js +3 -3
- package/es/editor-viewer/module.d.ts +1 -1
- package/es/editor-viewer/module.d.ts.map +1 -1
- package/es/editor-viewer/module.js +1 -1
- package/es/editor-viewer/r-language.js +1 -1
- package/es/github-link/index.d.ts +1 -1
- package/es/github-link/index.d.ts.map +1 -1
- package/es/github-link/index.js +2 -2
- package/es/guide/content-contribution.js +3 -3
- package/es/guide/guide-view.d.ts +2 -2
- package/es/guide/guide-view.d.ts.map +1 -1
- package/es/guide/guide-view.js +3 -3
- package/es/image-viewer/module.d.ts +1 -1
- package/es/image-viewer/module.d.ts.map +1 -1
- package/es/image-viewer/module.js +1 -1
- package/es/image-viewer/open-handler.d.ts +3 -3
- package/es/image-viewer/open-handler.d.ts.map +1 -1
- package/es/image-viewer/open-handler.js +2 -2
- package/es/image-viewer/viewer.d.ts +3 -3
- package/es/image-viewer/viewer.d.ts.map +1 -1
- package/es/image-viewer/viewer.js +2 -2
- package/es/index.d.ts +82 -1
- package/es/index.d.ts.map +1 -1
- package/es/index.js +21 -2
- package/es/kernel-and-terminal-panel/collapse/collapse-content.js +1 -1
- package/es/kernel-and-terminal-panel/collapse/index.js +2 -2
- package/es/kernel-and-terminal-panel/collapse/kernel-collapse-content-item.js +1 -1
- package/es/kernel-and-terminal-panel/collapse/page-collapse-content.d.ts.map +1 -1
- package/es/kernel-and-terminal-panel/collapse/page-collapse-content.js +1 -1
- package/es/kernel-and-terminal-panel/kernel-and-terminal-panel-view.d.ts +1 -1
- package/es/kernel-and-terminal-panel/kernel-and-terminal-panel-view.d.ts.map +1 -1
- package/es/kernel-and-terminal-panel/kernel-and-terminal-panel-view.js +2 -2
- package/es/kernel-and-terminal-panel/kernel-color-registry.d.ts +2 -2
- package/es/kernel-and-terminal-panel/kernel-color-registry.d.ts.map +1 -1
- package/es/kernel-and-terminal-panel/kernel-color-registry.js +2 -2
- package/es/kernel-and-terminal-panel/module.d.ts +1 -1
- package/es/kernel-and-terminal-panel/module.d.ts.map +1 -1
- package/es/kernel-and-terminal-panel/module.js +1 -1
- package/es/kernel-and-terminal-panel/panel-command.d.ts +3 -3
- package/es/kernel-and-terminal-panel/panel-command.d.ts.map +1 -1
- package/es/kernel-and-terminal-panel/panel-command.js +3 -3
- package/es/kernel-manager/index.d.ts +1 -1
- package/es/kernel-manager/index.d.ts.map +1 -1
- package/es/kernel-manager/index.js +3 -3
- package/es/lab-app.d.ts +1 -1
- package/es/lab-app.d.ts.map +1 -1
- package/es/lab-app.js +1 -1
- package/es/lab-color-registry.d.ts +2 -2
- package/es/lab-color-registry.d.ts.map +1 -1
- package/es/lab-color-registry.js +2 -2
- package/es/lang-switcher/index.d.ts +1 -1
- package/es/lang-switcher/index.d.ts.map +1 -1
- package/es/lang-switcher/index.js +3 -3
- package/es/layout/brand/brand.d.ts +1 -1
- package/es/layout/brand/brand.d.ts.map +1 -1
- package/es/layout/brand/brand.js +1 -1
- package/es/layout/container.d.ts +1 -1
- package/es/layout/container.d.ts.map +1 -1
- package/es/layout/container.js +3 -3
- package/es/layout/content-bottom-tab-view.d.ts +2 -2
- package/es/layout/content-bottom-tab-view.d.ts.map +1 -1
- package/es/layout/content-bottom-tab-view.js +1 -1
- package/es/layout/footer/current-file-footer-view.d.ts +2 -2
- package/es/layout/footer/current-file-footer-view.d.ts.map +1 -1
- package/es/layout/footer/current-file-footer-view.js +2 -2
- package/es/layout/footer/footer-view.d.ts +1 -1
- package/es/layout/footer/footer-view.d.ts.map +1 -1
- package/es/layout/footer/footer-view.js +2 -2
- package/es/layout/footer/status-footer-view.d.ts +2 -2
- package/es/layout/footer/status-footer-view.d.ts.map +1 -1
- package/es/layout/footer/status-footer-view.js +2 -2
- package/es/layout/layout-service.d.ts +3 -3
- package/es/layout/layout-service.d.ts.map +1 -1
- package/es/layout/layout-service.js +3 -3
- package/es/layout/layout.d.ts +1 -1
- package/es/layout/layout.d.ts.map +1 -1
- package/es/layout/layout.js +4 -4
- package/es/layout/main.d.ts +1 -1
- package/es/layout/main.d.ts.map +1 -1
- package/es/layout/main.js +3 -3
- package/es/layout/module.d.ts +1 -1
- package/es/layout/module.d.ts.map +1 -1
- package/es/layout/module.js +1 -1
- package/es/layout/saveable-tab-view.d.ts +3 -3
- package/es/layout/saveable-tab-view.d.ts.map +1 -1
- package/es/layout/saveable-tab-view.js +5 -5
- package/es/layout/side-tab-view.d.ts +1 -1
- package/es/layout/side-tab-view.d.ts.map +1 -1
- package/es/layout/side-tab-view.js +3 -3
- package/es/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +6 -4
- package/es/toc/libro-toc-panel-view.d.ts +1 -1
- package/es/toc/libro-toc-panel-view.d.ts.map +1 -1
- package/es/toc/libro-toc-panel-view.js +2 -2
- package/es/toc/module.d.ts +1 -1
- package/es/toc/module.d.ts.map +1 -1
- package/es/toc/module.js +1 -1
- package/es/welcome/entry-point-view.d.ts +1 -1
- package/es/welcome/entry-point-view.d.ts.map +1 -1
- package/es/welcome/entry-point-view.js +3 -3
- package/es/welcome/welcome-view.d.ts +2 -2
- package/es/welcome/welcome-view.d.ts.map +1 -1
- package/es/welcome/welcome-view.js +3 -3
- package/package.json +14 -18
- package/src/command/lab-menu-contribution.tsx +6 -6
- package/src/command/menu-bar-view.tsx +2 -2
- package/src/command/module.ts +5 -1
- package/src/config/config-contribution.ts +3 -3
- package/src/config/config.ts +2 -2
- package/src/editor-viewer/code-editor-open-handler.ts +8 -4
- package/src/editor-viewer/code-editor-viewer.tsx +11 -5
- package/src/editor-viewer/json-langauge.ts +1 -1
- package/src/editor-viewer/julia-language.ts +1 -1
- package/src/editor-viewer/libro-default-open-handler.ts +7 -3
- package/src/editor-viewer/libro-default-viewer.tsx +4 -4
- package/src/editor-viewer/module.ts +1 -1
- package/src/editor-viewer/r-language.ts +1 -1
- package/src/github-link/index.tsx +2 -2
- package/src/guide/content-contribution.ts +3 -3
- package/src/guide/guide-view.tsx +3 -3
- package/src/image-viewer/module.ts +1 -1
- package/src/image-viewer/open-handler.ts +3 -3
- package/src/image-viewer/viewer.tsx +3 -3
- package/src/index.ts +19 -1
- package/src/kernel-and-terminal-panel/collapse/collapse-content.tsx +1 -1
- package/src/kernel-and-terminal-panel/collapse/index.tsx +2 -2
- package/src/kernel-and-terminal-panel/collapse/kernel-collapse-content-item.tsx +1 -1
- package/src/kernel-and-terminal-panel/collapse/page-collapse-content.tsx +6 -1
- package/src/kernel-and-terminal-panel/kernel-and-terminal-panel-view.tsx +2 -2
- package/src/kernel-and-terminal-panel/kernel-color-registry.ts +3 -3
- package/src/kernel-and-terminal-panel/module.ts +1 -1
- package/src/kernel-and-terminal-panel/panel-command.tsx +4 -4
- package/src/kernel-manager/index.tsx +3 -3
- package/src/lab-app.ts +2 -2
- package/src/lab-color-registry.ts +3 -3
- package/src/lang-switcher/index.tsx +3 -3
- package/src/layout/brand/brand.tsx +1 -1
- package/src/layout/container.tsx +3 -3
- package/src/layout/content-bottom-tab-view.tsx +2 -2
- package/src/layout/footer/current-file-footer-view.tsx +2 -2
- package/src/layout/footer/footer-view.tsx +2 -2
- package/src/layout/footer/status-footer-view.tsx +8 -2
- package/src/layout/layout-service.ts +9 -5
- package/src/layout/layout.tsx +4 -4
- package/src/layout/main.tsx +3 -3
- package/src/layout/module.ts +1 -1
- package/src/layout/saveable-tab-view.tsx +6 -6
- package/src/layout/side-tab-view.tsx +3 -3
- package/src/module.tsx +10 -10
- package/src/toc/libro-toc-panel-view.tsx +2 -2
- package/src/toc/module.ts +1 -1
- package/src/welcome/entry-point-view.tsx +3 -3
- package/src/welcome/welcome-view.tsx +3 -3
package/es/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
2
|
export * from './module.js';
|
|
3
3
|
export * from './lab-app.js';
|
|
4
4
|
export * from './github-link/index.js';
|
|
@@ -12,4 +12,85 @@ export * from './kernel-and-terminal-panel/index.js';
|
|
|
12
12
|
export * from './common/index.js';
|
|
13
13
|
export * from './image-viewer/index.js';
|
|
14
14
|
export * from './editor-viewer/index.js';
|
|
15
|
+
export * from '@difizen/libro-prompt-cell';
|
|
16
|
+
export * from '@difizen/libro-sql-cell';
|
|
17
|
+
export * from '@difizen/libro-terminal';
|
|
18
|
+
export * from '@difizen/libro-toc';
|
|
19
|
+
export * from '@difizen/libro-widget';
|
|
20
|
+
export * from '@difizen/libro-app';
|
|
21
|
+
export * from '@difizen/libro-cofine-editor-core';
|
|
22
|
+
export * from '@difizen/libro-language-client';
|
|
23
|
+
export * from '@difizen/libro-jupyter';
|
|
24
|
+
import * as SyringeModules from '@difizen/libro-common/ioc';
|
|
25
|
+
import * as ObservableModules from '@difizen/libro-common/observable';
|
|
26
|
+
export declare const AppIOC: {
|
|
27
|
+
default: typeof import("@difizen/libro-common/ioc");
|
|
28
|
+
injectable<T = any>(option?: SyringeModules.Syringe.DecoratorOption<T> | undefined): SyringeModules.Decorator<T>;
|
|
29
|
+
singleton<T_1 = any>(option?: SyringeModules.Syringe.DecoratorOption<T_1> | undefined): SyringeModules.Decorator<T_1>;
|
|
30
|
+
transient<T_2 = any>(option?: SyringeModules.Syringe.DecoratorOption<T_2> | undefined): SyringeModules.Decorator<T_2>;
|
|
31
|
+
inject(token: SyringeModules.Syringe.Token<any>): (target: any, targetKey: any, index?: number | undefined) => void;
|
|
32
|
+
named(name: SyringeModules.Syringe.Named): (target: any, targetKey: any, index?: number | undefined) => void;
|
|
33
|
+
postConstruct: typeof SyringeModules.postConstruct;
|
|
34
|
+
optional: typeof SyringeModules.optional;
|
|
35
|
+
unmanaged: typeof SyringeModules.unmanaged;
|
|
36
|
+
decorate: typeof SyringeModules.decorate;
|
|
37
|
+
ContainerMeta: typeof SyringeModules.ContainerMeta;
|
|
38
|
+
Container: typeof SyringeModules.Container;
|
|
39
|
+
GlobalContainer: SyringeModules.Container;
|
|
40
|
+
register: SyringeModules.Syringe.Register;
|
|
41
|
+
Module(name?: string | undefined): SyringeModules.SyringeModule<SyringeModules.Syringe.Module>;
|
|
42
|
+
isSyringeModule(data: SyringeModules.Syringe.Module): data is SyringeModules.SyringeModule<SyringeModules.Syringe.Module>;
|
|
43
|
+
SyringeModule: typeof SyringeModules.SyringeModule;
|
|
44
|
+
Contribution: typeof SyringeModules.Contribution;
|
|
45
|
+
Provider: SyringeModules.Syringe.DefinedToken;
|
|
46
|
+
ContributionOptionConfig: {
|
|
47
|
+
recursive: boolean;
|
|
48
|
+
cache: boolean;
|
|
49
|
+
};
|
|
50
|
+
DefaultContributionProvider: typeof SyringeModules.DefaultContributionProvider;
|
|
51
|
+
contrib: (token: SyringeModules.Syringe.Named) => (target: any, targetKey: any, index?: number | undefined) => void;
|
|
52
|
+
Syringe: typeof SyringeModules.Syringe;
|
|
53
|
+
Utils: typeof SyringeModules.Utils;
|
|
54
|
+
OptionSymbol: typeof SyringeModules.OptionSymbol;
|
|
55
|
+
registerSideOption: <T_3 extends Record<any, any> = {}, R = any>(option: SyringeModules.Syringe.InjectOption<R>, target: T_3) => void;
|
|
56
|
+
autoFactory<T_4 = any>(): (target: import("@difizen/libro-common/app").Newable<T_4>) => void;
|
|
57
|
+
AutoFactoryOption: SyringeModules.Syringe.DefinedToken;
|
|
58
|
+
AutoFactoryMeta: SyringeModules.Syringe.DefinedToken;
|
|
59
|
+
toAutoFactory: <T_5 extends import("@difizen/libro-common/app").Newable<any>>(target: T_5) => SyringeModules.Syringe.Token<(...args: ConstructorParameters<T_5>) => InstanceType<T_5>>;
|
|
60
|
+
PrioritizedContributionManager: typeof SyringeModules.PrioritizedContributionManager;
|
|
61
|
+
prioritizedContributionFactory: <O = any, T_6 = any>() => (token: SyringeModules.Syringe.Token<SyringeModules.PrioritizedContribution<O, T_6>>, contribution: SyringeModules.PrioritizedContribution<O, T_6>) => (target: import("@difizen/libro-common/app").Newable<T_6>) => void;
|
|
62
|
+
useInject<T_7>(identifier: ObservableModules.Observable.Token<T_7>): T_7;
|
|
63
|
+
defaultContainerContext: ObservableModules.Observable.ContainerContext;
|
|
64
|
+
ObservableContextImpl: typeof ObservableModules.ObservableContextImpl;
|
|
65
|
+
defaultObservableContext: ObservableModules.ObservableContextImpl;
|
|
66
|
+
ObservableContext: import("react").Context<ObservableModules.Observable.ContainerContext>;
|
|
67
|
+
useObserve<T_8>(obj: T_8): T_8;
|
|
68
|
+
useObservableState<T_9>(initialValue: T_9): T_9;
|
|
69
|
+
tryInvokeGetter(getter: () => any, proxy: any, origin: any): any;
|
|
70
|
+
Trackable: typeof ObservableModules.Trackable;
|
|
71
|
+
Tracker: typeof ObservableModules.Tracker;
|
|
72
|
+
watch<T_10>(target: T_10, callback: ObservableModules.Notify): import("@difizen/libro-common/app").Disposable;
|
|
73
|
+
watch<T_11>(target: T_11, prop: Extract<keyof T_11, string>, callback: ObservableModules.Notify): import("@difizen/libro-common/app").Disposable;
|
|
74
|
+
Notifier: typeof ObservableModules.Notifier;
|
|
75
|
+
defineProperty(target: any, property: string, defaultValue?: any): void;
|
|
76
|
+
observable<T_12 extends Record<any, any>>(target: T_12): T_12;
|
|
77
|
+
Notifiable: typeof ObservableModules.Notifiable;
|
|
78
|
+
prop(): (target: Record<any, any>, propertyKey: string) => void;
|
|
79
|
+
origin(): (target: Record<any, any>, propertyKey: string) => void;
|
|
80
|
+
isReadonly(target: object, property: string | symbol): boolean;
|
|
81
|
+
Observability: typeof ObservableModules.Observability;
|
|
82
|
+
ObservableProperties: typeof ObservableModules.ObservableProperties;
|
|
83
|
+
InstanceValue: typeof ObservableModules.InstanceValue;
|
|
84
|
+
getOrigin: typeof ObservableModules.Observability.getOrigin;
|
|
85
|
+
equals: typeof ObservableModules.Observability.equals;
|
|
86
|
+
ObservableSymbol: typeof ObservableModules.ObservableSymbol;
|
|
87
|
+
ObservableConfig: {
|
|
88
|
+
async: boolean;
|
|
89
|
+
paused: boolean;
|
|
90
|
+
excludeCheckers: any[];
|
|
91
|
+
exclude(checker: (obj: Record<string | number | symbol, any>) => boolean): boolean;
|
|
92
|
+
shouldExclude(obj: Record<string | number | symbol, any>): boolean;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export * as AppExtention from '@difizen/libro-common/app';
|
|
15
96
|
//# sourceMappingURL=index.d.ts.map
|
package/es/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AAEvC,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,iBAAiB,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlB,CAAC;AAEF,OAAO,KAAK,YAAY,MAAM,2BAA2B,CAAC"}
|
package/es/index.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2
7
|
export * from "./module.js";
|
|
3
8
|
export * from "./lab-app.js";
|
|
4
9
|
export * from "./github-link/index.js";
|
|
@@ -11,4 +16,18 @@ export * from "./kernel-manager/index.js";
|
|
|
11
16
|
export * from "./kernel-and-terminal-panel/index.js";
|
|
12
17
|
export * from "./common/index.js";
|
|
13
18
|
export * from "./image-viewer/index.js";
|
|
14
|
-
export * from "./editor-viewer/index.js";
|
|
19
|
+
export * from "./editor-viewer/index.js";
|
|
20
|
+
export * from '@difizen/libro-prompt-cell';
|
|
21
|
+
export * from '@difizen/libro-sql-cell';
|
|
22
|
+
export * from '@difizen/libro-terminal';
|
|
23
|
+
export * from '@difizen/libro-toc';
|
|
24
|
+
export * from '@difizen/libro-widget';
|
|
25
|
+
export * from '@difizen/libro-app';
|
|
26
|
+
export * from '@difizen/libro-cofine-editor-core';
|
|
27
|
+
export * from '@difizen/libro-language-client';
|
|
28
|
+
export * from '@difizen/libro-jupyter';
|
|
29
|
+
import * as SyringeModules from '@difizen/libro-common/ioc';
|
|
30
|
+
import * as ObservableModules from '@difizen/libro-common/observable';
|
|
31
|
+
export var AppIOC = _objectSpread(_objectSpread({}, ObservableModules), SyringeModules);
|
|
32
|
+
import * as _AppExtention from '@difizen/libro-common/app';
|
|
33
|
+
export { _AppExtention as AppExtention };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CloseOutlined } from '@ant-design/icons';
|
|
2
2
|
import { TerminalCommands } from '@difizen/libro-terminal';
|
|
3
|
-
import { CommandRegistry, useInject } from '@difizen/
|
|
3
|
+
import { CommandRegistry, useInject } from '@difizen/libro-common/app';
|
|
4
4
|
import { message } from 'antd';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { existedLSP, openedPage, runningKernel, runningTerminal } from "../../common/icon.js";
|
|
@@ -5,8 +5,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { CaretDownOutlined, CaretRightOutlined } from '@ant-design/icons';
|
|
8
|
-
import { ViewContext } from '@difizen/
|
|
9
|
-
import { l10n } from '@difizen/
|
|
8
|
+
import { ViewContext } from '@difizen/libro-common/app';
|
|
9
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
10
10
|
import { Empty, message, Popconfirm } from 'antd';
|
|
11
11
|
import React, { useState } from 'react';
|
|
12
12
|
import { LibroCollapseContent } from "./collapse-content.js";
|
|
@@ -9,7 +9,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
11
|
import { CaretDownOutlined, CaretRightOutlined, CloseOutlined } from '@ant-design/icons';
|
|
12
|
-
import { OpenerService, URI, useInject } from '@difizen/
|
|
12
|
+
import { OpenerService, URI, useInject } from '@difizen/libro-common/app';
|
|
13
13
|
import React, { useState } from 'react';
|
|
14
14
|
import { fileUnderKernel, runningKernel } from "../../common/icon.js";
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-collapse-content.d.ts","sourceRoot":"","sources":["../../../src/kernel-and-terminal-panel/collapse/page-collapse-content.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"page-collapse-content.d.ts","sourceRoot":"","sources":["../../../src/kernel-and-terminal-panel/collapse/page-collapse-content.tsx"],"names":[],"mappings":";AAUA,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA2C9B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CloseOutlined } from '@ant-design/icons';
|
|
2
|
-
import { renderNode, useInject, ViewContext, ViewInstance } from '@difizen/
|
|
2
|
+
import { renderNode, useInject, ViewContext, ViewInstance } from '@difizen/libro-common/app';
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { LibroKernelManager, LibroSessionManager } from '@difizen/libro-kernel';
|
|
3
3
|
import { LibroLanguageClientManager } from '@difizen/libro-language-client';
|
|
4
4
|
import { TerminalManager } from '@difizen/libro-terminal';
|
|
5
|
-
import { BaseView, CommandRegistry, ViewManager } from '@difizen/
|
|
5
|
+
import { BaseView, CommandRegistry, ViewManager } from '@difizen/libro-common/app';
|
|
6
6
|
import type { SaveableTabView } from '../index.js';
|
|
7
7
|
import { LayoutService } from '../layout/layout-service.js';
|
|
8
8
|
import './index.less';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kernel-and-terminal-panel-view.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/kernel-and-terminal-panel-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAoB,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EACL,QAAQ,EACR,eAAe,EAOf,WAAW,EACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"kernel-and-terminal-panel-view.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/kernel-and-terminal-panel-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAoB,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EACL,QAAQ,EACR,eAAe,EAOf,WAAW,EACZ,MAAM,2BAA2B,CAAC;AAMnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAQ5D,OAAO,cAAc,CAAC;AAmKtB,eAAO,MAAM,4BAA4B,mCAAmC,CAAC;AAE7E,qBAEa,0BAA2B,SAAQ,QAAQ;IAC7C,IAAI,yBAAe;IACP,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IACjC,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IAE9D,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,eAAe,EAAE,eAAe,CAAC;IACjC,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,eAAe,EAAE,eAAe,CAAC;gBAGH,kBAAkB,EAAE,kBAAkB,EACrC,mBAAmB,EAAE,mBAAmB,EAC5C,eAAe,EAAE,eAAe,EAEzD,0BAA0B,EAAE,0BAA0B,EAC7B,eAAe,EAAE,eAAe;IAa3D,mBAAmB,IAAI,eAAe;IAMtC,OAAO;CAKR"}
|
|
@@ -32,8 +32,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
32
32
|
import { LibroKernelManager, LibroSessionManager } from '@difizen/libro-kernel';
|
|
33
33
|
import { LibroLanguageClientManager } from '@difizen/libro-language-client';
|
|
34
34
|
import { TerminalCommands, TerminalManager } from '@difizen/libro-terminal';
|
|
35
|
-
import { BaseView, CommandRegistry, inject, singleton, ThemeService, useInject, view, ViewInstance, ViewManager } from '@difizen/
|
|
36
|
-
import { l10n } from '@difizen/
|
|
35
|
+
import { BaseView, CommandRegistry, inject, singleton, ThemeService, useInject, view, ViewInstance, ViewManager } from '@difizen/libro-common/app';
|
|
36
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
37
37
|
import { ConfigProvider, theme } from 'antd';
|
|
38
38
|
import { useEffect, useState } from 'react';
|
|
39
39
|
import { KernelAndTerminal } from "../common/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ColorRegistry } from '@difizen/
|
|
2
|
-
import { ColorContribution } from '@difizen/
|
|
1
|
+
import type { ColorRegistry } from '@difizen/libro-common/app';
|
|
2
|
+
import { ColorContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class KernelPanelColorContribution implements ColorContribution {
|
|
4
4
|
registerColors(colors: ColorRegistry): void;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kernel-color-registry.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/kernel-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"kernel-color-registry.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/kernel-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAS,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGrE,qBACa,4BAA6B,YAAW,iBAAiB;IACpE,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CA6E5C"}
|
|
@@ -5,8 +5,8 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { Color, ColorContribution } from '@difizen/
|
|
9
|
-
import { singleton } from '@difizen/
|
|
8
|
+
import { Color, ColorContribution } from '@difizen/libro-common/app';
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
export var KernelPanelColorContribution = (_dec = singleton({
|
|
11
11
|
contrib: ColorContribution
|
|
12
12
|
}), _dec(_class = /*#__PURE__*/function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAMvD,eAAO,MAAM,iCAAiC,YAI7C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from '@difizen/
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { KernelAndTerminalPanelView } from "./kernel-and-terminal-panel-view.js";
|
|
3
3
|
import { KernelPanelColorContribution } from "./kernel-color-registry.js";
|
|
4
4
|
import { PanelCommandContribution } from "./panel-command.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CommandRegistry, ToolbarRegistry } from '@difizen/
|
|
2
|
-
import { ViewManager } from '@difizen/
|
|
3
|
-
import { CommandContribution, ToolbarContribution } from '@difizen/
|
|
1
|
+
import type { CommandRegistry, ToolbarRegistry } from '@difizen/libro-common/app';
|
|
2
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
3
|
+
import { CommandContribution, ToolbarContribution } from '@difizen/libro-common/app';
|
|
4
4
|
import { KernelAndTerminalPanelView } from './kernel-and-terminal-panel-view.js';
|
|
5
5
|
export declare const PanelCommand: {
|
|
6
6
|
REFRESH: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-command.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/panel-command.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"panel-command.d.ts","sourceRoot":"","sources":["../../src/kernel-and-terminal-panel/panel-command.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EACL,mBAAmB,EAGnB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAEjF,eAAO,MAAM,YAAY;;;;;CAKxB,CAAC;AAEF,qBAGa,wBACX,YAAW,mBAAmB,EAAE,mBAAmB;IAEnD,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IAGnC,0BAA0B,EAAE,0BAA0B,CAAC;gBAEtB,WAAW,EAAE,WAAW;IAIzD,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAahD,oBAAoB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI;CAQ7D"}
|
|
@@ -12,9 +12,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12
12
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
13
13
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
14
14
|
import { ReloadOutlined } from '@ant-design/icons';
|
|
15
|
-
import { ViewManager } from '@difizen/
|
|
16
|
-
import { CommandContribution, inject, singleton, ToolbarContribution } from '@difizen/
|
|
17
|
-
import { l10n } from '@difizen/
|
|
15
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
16
|
+
import { CommandContribution, inject, singleton, ToolbarContribution } from '@difizen/libro-common/app';
|
|
17
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
18
18
|
import { KernelAndTerminalPanelView } from "./kernel-and-terminal-panel-view.js";
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
export var PanelCommand = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import { BaseView } from '@difizen/
|
|
2
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
3
3
|
export declare const KernelManagerComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
4
4
|
export declare class KernelManagerView extends BaseView {
|
|
5
5
|
view: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/kernel-manager/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/kernel-manager/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAMrD,eAAO,MAAM,sBAAsB,mFAEjC,CAAC;AAEH,qBAEa,iBAAkB,SAAQ,QAAQ;IACpC,IAAI,oFAA0B;;CAOxC"}
|
|
@@ -13,9 +13,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
13
13
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
14
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
15
|
import { CodeFilled } from '@ant-design/icons';
|
|
16
|
-
import { singleton, view } from '@difizen/
|
|
17
|
-
import { BaseView } from '@difizen/
|
|
18
|
-
import { l10n } from '@difizen/
|
|
16
|
+
import { singleton, view } from '@difizen/libro-common/app';
|
|
17
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
18
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
19
19
|
import { forwardRef } from 'react';
|
|
20
20
|
|
|
21
21
|
// import './index.less';
|
package/es/lab-app.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroService, ServerConnection, ServerManager } from '@difizen/libro-jupyter';
|
|
2
|
-
import { ConfigurationService, ApplicationContribution, SlotViewManager, ViewManager } from '@difizen/
|
|
2
|
+
import { ConfigurationService, ApplicationContribution, SlotViewManager, ViewManager } from '@difizen/libro-common/app';
|
|
3
3
|
import { LayoutService } from './layout/layout-service.js';
|
|
4
4
|
export declare class LibroLabApp implements ApplicationContribution {
|
|
5
5
|
serverConnection: ServerConnection;
|
package/es/lab-app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lab-app.d.ts","sourceRoot":"","sources":["../src/lab-app.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAEZ,gBAAgB,EAChB,aAAa,EACd,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,oBAAoB,EAGpB,uBAAuB,EACvB,eAAe,EACf,WAAW,EAGZ,MAAM,
|
|
1
|
+
{"version":3,"file":"lab-app.d.ts","sourceRoot":"","sources":["../src/lab-app.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAEZ,gBAAgB,EAChB,aAAa,EACd,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,oBAAoB,EAGpB,uBAAuB,EACvB,eAAe,EACf,WAAW,EAGZ,MAAM,2BAA2B,CAAC;AAMnC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAgB3D,qBACa,WAAY,YAAW,uBAAuB;IAC/B,gBAAgB,EAAE,gBAAgB,CAAC;IACvC,YAAY,EAAE,YAAY,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;IACrC,WAAW,EAAE,WAAW,CAAC;IAChB,oBAAoB,EAAE,oBAAoB,CAAC;IAClD,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAE9C,OAAO;cAsCG,gBAAgB;CAQjC"}
|
package/es/lab-app.js
CHANGED
|
@@ -13,7 +13,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
13
13
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
14
14
|
import { LibroService, LibroJupyterConfiguration, ServerConnection, ServerManager } from '@difizen/libro-jupyter';
|
|
15
15
|
import { terminalDefaultSlot } from '@difizen/libro-terminal';
|
|
16
|
-
import { ConfigurationService, FileTreeViewFactory, URI, ApplicationContribution, SlotViewManager, ViewManager, inject, singleton } from '@difizen/
|
|
16
|
+
import { ConfigurationService, FileTreeViewFactory, URI, ApplicationContribution, SlotViewManager, ViewManager, inject, singleton } from '@difizen/libro-common/app';
|
|
17
17
|
import { LibroLabConfiguration, LibroLabGuideViewEnabled } from "./config/index.js";
|
|
18
18
|
import { GuideView } from "./guide/index.js";
|
|
19
19
|
import { KernelAndTerminalPanelView } from "./kernel-and-terminal-panel/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ColorRegistry } from '@difizen/
|
|
2
|
-
import { ColorContribution } from '@difizen/
|
|
1
|
+
import type { ColorRegistry } from '@difizen/libro-common/app';
|
|
2
|
+
import { ColorContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class LabColorContribution implements ColorContribution {
|
|
4
4
|
registerColors(colors: ColorRegistry): void;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lab-color-registry.d.ts","sourceRoot":"","sources":["../src/lab-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"lab-color-registry.d.ts","sourceRoot":"","sources":["../src/lab-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAS,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGrE,qBACa,oBAAqB,YAAW,iBAAiB;IAC5D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CAgJ5C"}
|
package/es/lab-color-registry.js
CHANGED
|
@@ -5,8 +5,8 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { Color, ColorContribution } from '@difizen/
|
|
9
|
-
import { singleton } from '@difizen/
|
|
8
|
+
import { Color, ColorContribution } from '@difizen/libro-common/app';
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
export var LabColorContribution = (_dec = singleton({
|
|
11
11
|
contrib: ColorContribution
|
|
12
12
|
}), _dec(_class = /*#__PURE__*/function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import { BaseView } from '@difizen/
|
|
2
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
3
3
|
export declare const LangSwitcherComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
4
4
|
export declare class LangSwitcherView extends BaseView {
|
|
5
5
|
view: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang-switcher/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang-switcher/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAYrD,eAAO,MAAM,qBAAqB,mFAgBhC,CAAC;AAEH,qBAEa,gBAAiB,SAAQ,QAAQ;IACnC,IAAI,oFAAyB;CACvC"}
|
|
@@ -12,9 +12,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
12
12
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
13
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
14
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
-
import { singleton, useInject, view } from '@difizen/
|
|
16
|
-
import { BaseView } from '@difizen/
|
|
17
|
-
import { l10n, L10nLang } from '@difizen/
|
|
15
|
+
import { singleton, useInject, view } from '@difizen/libro-common/app';
|
|
16
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
17
|
+
import { l10n, L10nLang } from '@difizen/libro-common/l10n';
|
|
18
18
|
import { Select } from 'antd';
|
|
19
19
|
import { forwardRef } from 'react';
|
|
20
20
|
import { LayoutService } from "../layout/layout-service.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brand.d.ts","sourceRoot":"","sources":["../../../src/layout/brand/brand.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAmB,MAAM,
|
|
1
|
+
{"version":3,"file":"brand.d.ts","sourceRoot":"","sources":["../../../src/layout/brand/brand.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAmB,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAStD,CAAC;AAEF,qBAEa,SAAU,SAAQ,QAAQ;IAC5B,IAAI,uCAAS;CACvB"}
|
package/es/layout/brand/brand.js
CHANGED
|
@@ -12,7 +12,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
12
12
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
13
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
14
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
-
import { BaseView, view, singleton } from '@difizen/
|
|
15
|
+
import { BaseView, view, singleton } from '@difizen/libro-common/app';
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
import { Logo } from "../../common/index.js";
|
|
18
18
|
import "./index.less";
|
package/es/layout/container.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import { BaseView } from '@difizen/
|
|
2
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
3
3
|
import './index.less';
|
|
4
4
|
export declare const LibroLabLayoutContainerComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
5
5
|
export declare class LibroLabLayoutContainerView extends BaseView {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/layout/container.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/layout/container.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGrD,OAAO,cAAc,CAAC;AAGtB,eAAO,MAAM,gCAAgC,mFAa5C,CAAC;AAEF,qBAEa,2BAA4B,SAAQ,QAAQ;IAC9C,IAAI,oFAAoC;CAClD"}
|
package/es/layout/container.js
CHANGED
|
@@ -12,9 +12,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
12
12
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
13
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
14
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { BoxPanel } from '@difizen/libro-common/react';
|
|
16
|
+
import { singleton, Slot, view } from '@difizen/libro-common/app';
|
|
17
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
18
18
|
import { forwardRef } from 'react';
|
|
19
19
|
import "./index.less";
|
|
20
20
|
import { LibroLabLayoutSlots } from "./protocol.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { View } from '@difizen/
|
|
2
|
-
import { CardTabView } from '@difizen/
|
|
1
|
+
import type { View } from '@difizen/libro-common/app';
|
|
2
|
+
import { CardTabView } from '@difizen/libro-common/app';
|
|
3
3
|
import { LayoutService } from './layout-service.js';
|
|
4
4
|
export declare class ContentBottomTabView extends CardTabView {
|
|
5
5
|
layoutService: LayoutService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-bottom-tab-view.d.ts","sourceRoot":"","sources":["../../src/layout/content-bottom-tab-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"content-bottom-tab-view.d.ts","sourceRoot":"","sources":["../../src/layout/content-bottom-tab-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAmB,WAAW,EAAU,MAAM,2BAA2B,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,qBAEa,oBAAqB,SAAQ,WAAW;IAC5B,aAAa,EAAE,aAAa,CAAC;IAE3C,KAAK,CAAC,IAAI,EAAE,IAAI;CAM1B"}
|
|
@@ -15,7 +15,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
17
17
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
18
|
-
import { transient, view, CardTabView, inject } from '@difizen/
|
|
18
|
+
import { transient, view, CardTabView, inject } from '@difizen/libro-common/app';
|
|
19
19
|
import { LayoutService } from "./layout-service.js";
|
|
20
20
|
import { LibroLabLayoutSlots } from "./protocol.js";
|
|
21
21
|
export var ContentBottomTabView = (_dec = transient(), _dec2 = view('libro-lab-layout-content-bottom'), _dec3 = inject(LayoutService), _dec(_class = _dec2(_class = (_class2 = /*#__PURE__*/function (_CardTabView) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseView } from '@difizen/
|
|
1
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { LayoutService } from '../layout-service.js';
|
|
4
4
|
import './index.less';
|
|
5
5
|
export declare class LibroLabCurrentFileFooterView extends BaseView {
|
|
6
6
|
view: React.ForwardRefExoticComponent<React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
protected layoutService: LayoutService;
|
|
8
|
-
get navigatableView(): import("@difizen/
|
|
8
|
+
get navigatableView(): import("@difizen/libro-common/app").View | undefined;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=current-file-footer-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-file-footer-view.d.ts","sourceRoot":"","sources":["../../../src/layout/footer/current-file-footer-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAMT,MAAM,
|
|
1
|
+
{"version":3,"file":"current-file-footer-view.d.ts","sourceRoot":"","sources":["../../../src/layout/footer/current-file-footer-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAMT,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,cAAc,CAAC;AAoBtB,qBAEa,6BAA8B,SAAQ,QAAQ;IAChD,IAAI,uEAA8B;IACpB,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IAE9D,IAAI,eAAe,yDAGlB;CACF"}
|
|
@@ -15,8 +15,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
17
17
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
18
|
-
import { BaseView, inject, singleton, useInject, view, ViewInstance } from '@difizen/
|
|
19
|
-
import { l10n } from '@difizen/
|
|
18
|
+
import { BaseView, inject, singleton, useInject, view, ViewInstance } from '@difizen/libro-common/app';
|
|
19
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
20
20
|
import * as React from 'react';
|
|
21
21
|
import { LayoutService } from "../layout-service.js";
|
|
22
22
|
import { LibroLabLayoutSlots } from "../protocol.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-view.d.ts","sourceRoot":"","sources":["../../../src/layout/footer/footer-view.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"footer-view.d.ts","sourceRoot":"","sources":["../../../src/layout/footer/footer-view.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAyB,MAAM,2BAA2B,CAAC;AACnF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,cAAc,CAAC;AAEtB,oBAAY,UAAU;IACpB,IAAI,0BAA0B;IAC9B,KAAK,2BAA2B;CACjC;AAiBD,qBAEa,wBAAyB,SAAQ,eAAe;IAClD,IAAI,uCAAmB;CACjC"}
|
|
@@ -12,8 +12,8 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
12
12
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
13
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
14
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { BoxPanel } from '@difizen/libro-common/react';
|
|
16
|
+
import { DefaultSlotView, singleton, Slot, view } from '@difizen/libro-common/app';
|
|
17
17
|
import * as React from 'react';
|
|
18
18
|
import "./index.less";
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseView } from '@difizen/
|
|
1
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { LayoutService } from '../layout-service.js';
|
|
4
4
|
import './index.less';
|
|
5
5
|
export declare class LibroLabStatusFooterView extends BaseView {
|
|
6
6
|
view: React.ForwardRefExoticComponent<React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
protected layoutService: LayoutService;
|
|
8
|
-
get navigatableView(): import("@difizen/
|
|
8
|
+
get navigatableView(): import("@difizen/libro-common/app").View | undefined;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=status-footer-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-footer-view.d.ts","sourceRoot":"","sources":["../../../src/layout/footer/status-footer-view.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"status-footer-view.d.ts","sourceRoot":"","sources":["../../../src/layout/footer/status-footer-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAKT,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,cAAc,CAAC;AA0BtB,qBAEa,wBAAyB,SAAQ,QAAQ;IAC3C,IAAI,uEAAyB;IACf,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IAE9D,IAAI,eAAe,yDAGlB;CACF"}
|
|
@@ -15,8 +15,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
17
17
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
18
|
-
import { BaseView, inject, singleton, useInject, view } from '@difizen/
|
|
19
|
-
import { l10n } from '@difizen/
|
|
18
|
+
import { BaseView, inject, singleton, useInject, view } from '@difizen/libro-common/app';
|
|
19
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
20
20
|
import * as React from 'react';
|
|
21
21
|
import { Loadding, SuccIcon } from "../../common/icon.js";
|
|
22
22
|
import { LayoutService } from "../layout-service.js";
|