@nu-art/ts-workspace-frontend 0.401.9 → 0.500.6
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/modules/ModuleFE_Workspace.js +1 -1
- package/package.json +12 -11
- package/ui/Panels.d.ts +1 -1
- package/ui/Panels.js +1 -1
- package/ui/TS_Workspace.d.ts +1 -1
- package/ui/TS_Workspace.js +2 -1
- package/ui/TS_Workspace.scss +3 -2
- package/ui/types.d.ts +1 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
import { StorageKey } from '@nu-art/
|
|
18
|
+
import { StorageKey } from '@nu-art/thunder-core';
|
|
19
19
|
import { _values, BadImplementationException, Module } from '@nu-art/ts-common';
|
|
20
20
|
export class ModuleFE_Workspace_Class extends Module {
|
|
21
21
|
workspacesToUpsert = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nu-art/ts-workspace-frontend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.500.6",
|
|
4
4
|
"description": "TS Workspace Frontend",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"TacB0sS",
|
|
@@ -21,14 +21,12 @@
|
|
|
21
21
|
"linkDirectory": true
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@nu-art/ts-workspace-shared": "0.
|
|
25
|
-
"@nu-art/firebase-frontend": "0.
|
|
26
|
-
"@nu-art/firebase-shared": "0.
|
|
27
|
-
"@nu-art/
|
|
28
|
-
"@nu-art/
|
|
29
|
-
"@nu-art/
|
|
30
|
-
"@nu-art/user-account-frontend": "0.401.9",
|
|
31
|
-
"@nu-art/user-account-shared": "0.401.9",
|
|
24
|
+
"@nu-art/ts-workspace-shared": "0.500.6",
|
|
25
|
+
"@nu-art/firebase-frontend": "0.500.6",
|
|
26
|
+
"@nu-art/firebase-shared": "0.500.6",
|
|
27
|
+
"@nu-art/ts-common": "0.500.6",
|
|
28
|
+
"@nu-art/user-account-frontend": "0.500.6",
|
|
29
|
+
"@nu-art/user-account-shared": "0.500.6",
|
|
32
30
|
"express": "^4.18.2",
|
|
33
31
|
"firebase": "^11.9.0",
|
|
34
32
|
"firebase-admin": "13.4.0",
|
|
@@ -36,12 +34,15 @@
|
|
|
36
34
|
"moment": "^2.29.4",
|
|
37
35
|
"react": "^18.0.0",
|
|
38
36
|
"react-dom": "^18.0.0",
|
|
39
|
-
"react-router-dom": "^6.9.0"
|
|
37
|
+
"react-router-dom": "^6.9.0",
|
|
38
|
+
"@nu-art/thunder-core": "0.500.6",
|
|
39
|
+
"@nu-art/thunder-widgets": "0.500.6"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/react": "^18.0.0",
|
|
43
43
|
"@types/express": "^4.17.17",
|
|
44
|
-
"@types/history": "^4.7.2"
|
|
44
|
+
"@types/history": "^4.7.2",
|
|
45
|
+
"@types/request": "^2.48.1"
|
|
45
46
|
},
|
|
46
47
|
"unitConfig": {
|
|
47
48
|
"type": "typescript-lib"
|
package/ui/Panels.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Config_PanelParent, PanelConfig, Props_WorkspacePanel, State_WorkspacePanel } from './types.js';
|
|
2
|
-
import { ComponentAsync, ComponentSync } from '@nu-art/
|
|
2
|
+
import { ComponentAsync, ComponentSync } from '@nu-art/thunder-widgets';
|
|
3
3
|
export declare abstract class PanelBaseSync<Config, State = {}, Props = {}> extends ComponentSync<Props_WorkspacePanel<Config, Props> & Props, State_WorkspacePanel<Config, State>> {
|
|
4
4
|
protected shouldAlwaysReDerive: boolean;
|
|
5
5
|
protected deriveStateFromProps(nextProps: Props_WorkspacePanel<Config, Props>): State_WorkspacePanel<Config, State>;
|
package/ui/Panels.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ComponentAsync, ComponentSync } from '@nu-art/
|
|
2
|
+
import { ComponentAsync, ComponentSync } from '@nu-art/thunder-widgets';
|
|
3
3
|
import { compare, resolveContent } from '@nu-art/ts-common';
|
|
4
4
|
export class PanelBaseSync extends ComponentSync {
|
|
5
5
|
shouldAlwaysReDerive = false;
|
package/ui/TS_Workspace.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseAsyncState, ComponentSync } from '@nu-art/
|
|
1
|
+
import { BaseAsyncState, ComponentSync } from '@nu-art/thunder-widgets';
|
|
2
2
|
import './TS_Workspace.scss';
|
|
3
3
|
import { Props_BaseWorkspace } from './types.js';
|
|
4
4
|
type Props = Props_BaseWorkspace & {
|
package/ui/TS_Workspace.js
CHANGED
|
@@ -21,7 +21,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
21
21
|
*/
|
|
22
22
|
/* QWorkspaceVertical - content display and resizing
|
|
23
23
|
* When given panel contents and a page, displays content in resizable panels.*/
|
|
24
|
-
import { _className
|
|
24
|
+
import { _className } from '@nu-art/thunder-core';
|
|
25
|
+
import { ComponentSync } from '@nu-art/thunder-widgets';
|
|
25
26
|
import './TS_Workspace.scss';
|
|
26
27
|
import { ModuleFE_Workspace } from '../modules/ModuleFE_Workspace.js';
|
|
27
28
|
export class TS_Workspace extends ComponentSync {
|
package/ui/TS_Workspace.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@mixin separator
|
|
1
|
+
@mixin separator($dir) {
|
|
2
2
|
background: #eeeeee;
|
|
3
3
|
position: relative;
|
|
4
4
|
-webkit-user-drag: element;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@mixin tsWorkspace
|
|
20
|
+
@mixin tsWorkspace($dir) {
|
|
21
21
|
width: 100%;
|
|
22
22
|
height: 100%;
|
|
23
23
|
display: flex;
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
.ts-workspace__vertical {
|
|
64
64
|
@include tsWorkspace('vertical')
|
|
65
65
|
}
|
|
66
|
+
|
|
66
67
|
.ts-workspace__horizontal {
|
|
67
68
|
@include tsWorkspace('horizontal')
|
|
68
69
|
}
|
package/ui/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DB_Object, ResolvableContent, TypedMap } from '@nu-art/ts-common';
|
|
3
|
-
import { BaseAsyncState } from '@nu-art/
|
|
3
|
+
import { BaseAsyncState } from '@nu-art/thunder-widgets';
|
|
4
4
|
export type Props_BaseWorkspace = {
|
|
5
5
|
renderers: TypedMap<React.ElementType>;
|
|
6
6
|
instances?: TypedMap<ResolvableContent<React.ReactNode, [any, Props_ConfigChanged['onConfigChanged']]>>;
|