@nu-art/work-hub-frontend 0.500.0 → 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/_core/work-hub-item.js +1 -1
- package/_module/ModuleFE_WorkHub/ModuleFE_WorkHub.d.ts +0 -3
- package/_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js +0 -4
- package/_ui/Component_WorkHub/Component_WorkHub.js +1 -1
- package/_ui/Component_WorkHubActionMenu/Component_WorkHubActionMenu.js +1 -1
- package/_ui/Component_WorkHub_Header/renderers/Component_WorkHub_Tab/Component_WorkHub_Tab.js +1 -1
- package/_ui/Component_WorkHub_Header/renderers/Component_WorkHub_TabGroup/Component_WorkHub_TabGroup.js +1 -1
- package/_ui/Component_WorkHub_Header/renderers/Component_WorkHub_TabGroupMenu/Component_WorkHub_TabGroupMenu.js +1 -1
- package/_ui/Component_WorkHub_TabContent/Component_WorkHub_TabContent.js +1 -1
- package/package.json +19 -15
- package/_core/index.d.ts +0 -1
- package/_core/index.js +0 -1
- package/_module/index.d.ts +0 -1
- package/_module/index.js +0 -1
- package/_ui/index.d.ts +0 -2
- package/_ui/index.js +0 -2
package/_core/work-hub-item.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { generateHex, Logger } from '@nu-art/ts-common';
|
|
2
|
-
import { ModuleFE_WorkHub } from '../_module/
|
|
2
|
+
import { ModuleFE_WorkHub } from '../_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
|
3
3
|
import { Component_WorkHubActionMenu } from '../_ui/Component_WorkHubActionMenu/Component_WorkHubActionMenu.js';
|
|
4
4
|
export class WorkHubItem extends Logger {
|
|
5
5
|
key;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { Module } from '@nu-art/ts-common';
|
|
2
2
|
import { ModuleFE_WorkHub_GroupActions, ModuleFE_WorkHub_TabActions } from './types.js';
|
|
3
3
|
import { WorkHubItem } from '../../_core/work-hub-item.js';
|
|
4
|
-
import { ModuleFE_PermissionMapper } from '@nu-art/permissions-frontend';
|
|
5
|
-
import { PermissionKeys_WorkHubUI } from '@nu-art/work-hub-shared';
|
|
6
4
|
declare class ModuleFE_WorkHub_Class extends Module {
|
|
7
|
-
readonly permissions: ModuleFE_PermissionMapper<typeof PermissionKeys_WorkHubUI>;
|
|
8
5
|
constructor();
|
|
9
6
|
private readonly _tabs;
|
|
10
7
|
private readonly _tabStack;
|
|
@@ -3,16 +3,12 @@ import { isWorkHubTab, isWorkHubTabGroup } from '@nu-art/work-hub-shared';
|
|
|
3
3
|
import { dispatch_OnWorkHubTabSelected, dispatch_OnWorkHubTabsUpdated } from '../../dispatchers.js';
|
|
4
4
|
import { StorageKey } from '@nu-art/thunder-core';
|
|
5
5
|
import { workHubTabGroupColors } from '../../_ui/Component_WorkHub_Header/renderers/Component_WorkHub_TabGroup/consts.js';
|
|
6
|
-
import { PermissionKey_FE } from '@nu-art/permissions-frontend';
|
|
7
|
-
import { PermissionKeys_WorkHubUI } from '@nu-art/work-hub-shared';
|
|
8
6
|
class ModuleFE_WorkHub_Class extends Module {
|
|
9
|
-
permissions;
|
|
10
7
|
constructor() {
|
|
11
8
|
super();
|
|
12
9
|
this._tabs = this.storage_tabs.get([]);
|
|
13
10
|
this._tabStack = this.storage_tabStack.get([]);
|
|
14
11
|
this._workHubItemMap = {};
|
|
15
|
-
this.permissions = PermissionKey_FE.generatePermissionKeysByLevels(PermissionKeys_WorkHubUI);
|
|
16
12
|
}
|
|
17
13
|
//######################### Class Properties #########################
|
|
18
14
|
_tabs;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ComponentSync, LL_V_L } from '@nu-art/thunder-widgets';
|
|
3
3
|
import './Component_WorkHub.scss';
|
|
4
|
-
import { ModuleFE_WorkHub } from '../../_module/
|
|
4
|
+
import { ModuleFE_WorkHub } from '../../_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
|
5
5
|
import { Component_WorkHub_Header } from '../Component_WorkHub_Header/Component_WorkHub_Header.js';
|
|
6
6
|
import { Component_WorkHub_TabContent } from '../Component_WorkHub_TabContent/Component_WorkHub_TabContent.js';
|
|
7
7
|
import { BadImplementationException } from '@nu-art/ts-common';
|
|
@@ -3,7 +3,7 @@ import { Fragment } from 'react';
|
|
|
3
3
|
import { _className } from '@nu-art/thunder-core';
|
|
4
4
|
import { Button, ComponentSync, LL_H_C, LL_V_L } from '@nu-art/thunder-widgets';
|
|
5
5
|
import { ModuleFE_MouseInteractivity, mouseInteractivity_PopUp } from '@nu-art/thunder-mouse-interactivity-frontend';
|
|
6
|
-
import { ModuleFE_WorkHub } from '../../_module/
|
|
6
|
+
import { ModuleFE_WorkHub } from '../../_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
|
7
7
|
import './Component_WorkHubActionMenu.scss';
|
|
8
8
|
import { TS_Icons } from '@nu-art/ts-styles';
|
|
9
9
|
import { generateHex } from '@nu-art/ts-common';
|
package/_ui/Component_WorkHub_Header/renderers/Component_WorkHub_Tab/Component_WorkHub_Tab.js
CHANGED
|
@@ -3,7 +3,7 @@ import './Component_WorkHub_Tab.scss';
|
|
|
3
3
|
import { _className } from '@nu-art/thunder-core';
|
|
4
4
|
import { LL_H_C } from '@nu-art/thunder-widgets';
|
|
5
5
|
import { exists } from '@nu-art/ts-common';
|
|
6
|
-
import { ModuleFE_WorkHub } from '../../../../_module/
|
|
6
|
+
import { ModuleFE_WorkHub } from '../../../../_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
|
7
7
|
const onTabMouseDown = (e, tabId) => {
|
|
8
8
|
if (e.button !== 1) //Only take into account middle mouse button
|
|
9
9
|
return;
|
|
@@ -3,7 +3,7 @@ import { LL_H_C, TS_CollapsableContainer } from '@nu-art/thunder-widgets';
|
|
|
3
3
|
import { Component_WorkHub_Tab } from '../Component_WorkHub_Tab/Component_WorkHub_Tab.js';
|
|
4
4
|
import './Component_WorkHub_TabGroup.scss';
|
|
5
5
|
import { Component_WorkHub_TabGroupMenu } from '../Component_WorkHub_TabGroupMenu/Component_WorkHub_TabGroupMenu.js';
|
|
6
|
-
import { ModuleFE_WorkHub } from '../../../../_module/
|
|
6
|
+
import { ModuleFE_WorkHub } from '../../../../_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
|
7
7
|
export const Component_WorkHub_TabGroup = (props) => {
|
|
8
8
|
const style = { '--color-fg': props.group.color.foreground, '--color-bg': props.group.color.background };
|
|
9
9
|
return _jsx(TS_CollapsableContainer, { className: 'c__work-hub-tab-group', style: style, animated: true, forceUpdate: true, onCollapseToggle: () => {
|
|
@@ -3,7 +3,7 @@ import { EditableItem } from '@nu-art/editable-item';
|
|
|
3
3
|
import { ComponentSync, LL_H_C, TS_Input } from '@nu-art/thunder-widgets';
|
|
4
4
|
import { ModuleFE_MouseInteractivity } from '@nu-art/thunder-mouse-interactivity-frontend';
|
|
5
5
|
import { createRef } from 'react';
|
|
6
|
-
import { ModuleFE_WorkHub } from '../../../../_module/
|
|
6
|
+
import { ModuleFE_WorkHub } from '../../../../_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
|
7
7
|
import { BadImplementationException, compare } from '@nu-art/ts-common';
|
|
8
8
|
import './Component_WorkHub_TabGroupMenu.scss';
|
|
9
9
|
import { workHubTabGroupColors } from '../Component_WorkHub_TabGroup/consts.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createRef } from 'react';
|
|
3
|
-
import { ModuleFE_WorkHub } from '../../_module/
|
|
3
|
+
import { ModuleFE_WorkHub } from '../../_module/ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
|
4
4
|
import './Component_WorkHub_TabContent.scss';
|
|
5
5
|
import { ComponentSync, TS_ErrorBoundary } from '@nu-art/thunder-widgets';
|
|
6
6
|
import { voidFunction } from '@nu-art/ts-common';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nu-art/work-hub-frontend",
|
|
3
|
-
"version": "0.500.
|
|
3
|
+
"version": "0.500.6",
|
|
4
4
|
"description": "TS WorkHub Frontend",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"TacB0sS",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"linkDirectory": true
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@nu-art/work-hub-shared": "0.500.
|
|
25
|
-
"@nu-art/ts-common": "0.500.
|
|
26
|
-
"@nu-art/ts-styles": "0.500.
|
|
27
|
-
"@nu-art/db-api-frontend": "0.500.
|
|
28
|
-
"@nu-art/editable-item": "
|
|
29
|
-
"@nu-art/thunder-core": "
|
|
30
|
-
"@nu-art/thunder-mouse-interactivity-frontend": "
|
|
31
|
-
"@nu-art/thunder-widgets": "
|
|
32
|
-
"@nu-art/permissions-frontend": "0.500.
|
|
33
|
-
"@nu-art/permissions-shared": "0.500.
|
|
24
|
+
"@nu-art/work-hub-shared": "0.500.6",
|
|
25
|
+
"@nu-art/ts-common": "0.500.6",
|
|
26
|
+
"@nu-art/ts-styles": "0.500.6",
|
|
27
|
+
"@nu-art/db-api-frontend": "0.500.6",
|
|
28
|
+
"@nu-art/editable-item": "0.500.6",
|
|
29
|
+
"@nu-art/thunder-core": "0.500.6",
|
|
30
|
+
"@nu-art/thunder-mouse-interactivity-frontend": "0.500.6",
|
|
31
|
+
"@nu-art/thunder-widgets": "0.500.6",
|
|
32
|
+
"@nu-art/permissions-frontend": "0.500.6",
|
|
33
|
+
"@nu-art/permissions-shared": "0.500.6",
|
|
34
34
|
"react": "^18.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -42,12 +42,16 @@
|
|
|
42
42
|
"type": "module",
|
|
43
43
|
"exports": {
|
|
44
44
|
"./core": {
|
|
45
|
-
"types": "./_core/
|
|
46
|
-
"import": "./_core/
|
|
45
|
+
"types": "./_core/work-hub-item.d.ts",
|
|
46
|
+
"import": "./_core/work-hub-item.js"
|
|
47
47
|
},
|
|
48
48
|
"./ui": {
|
|
49
|
-
"types": "./_ui/
|
|
50
|
-
"import": "./_ui/
|
|
49
|
+
"types": "./_ui/Component_WorkHub/Component_WorkHub.d.ts",
|
|
50
|
+
"import": "./_ui/Component_WorkHub/Component_WorkHub.js"
|
|
51
|
+
},
|
|
52
|
+
"./ui/action-menu-types": {
|
|
53
|
+
"types": "./_ui/Component_WorkHubActionMenu/types.d.ts",
|
|
54
|
+
"import": "./_ui/Component_WorkHubActionMenu/types.js"
|
|
51
55
|
},
|
|
52
56
|
"./modules": {
|
|
53
57
|
"types": "./_module/ModuleFE_WorkHub/ModuleFE_WorkHub.d.ts",
|
package/_core/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './work-hub-item.js';
|
package/_core/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './work-hub-item.js';
|
package/_module/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
package/_module/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ModuleFE_WorkHub/ModuleFE_WorkHub.js';
|
package/_ui/index.d.ts
DELETED
package/_ui/index.js
DELETED