@plurid/plurid-data 0.0.0-4 → 0.0.0-8
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/distribution/constants/compare/index.d.ts +1 -1
- package/distribution/constants/configuration/index.d.ts +1 -1
- package/distribution/constants/index.d.ts +11 -11
- package/distribution/constants/internationalization/chinese/index.d.ts +1 -1
- package/distribution/constants/internationalization/english/index.d.ts +1 -1
- package/distribution/constants/internationalization/fields.d.ts +1 -1
- package/distribution/constants/internationalization/french/index.d.ts +1 -1
- package/distribution/constants/internationalization/german/index.d.ts +1 -1
- package/distribution/constants/internationalization/hindi/index.d.ts +1 -1
- package/distribution/constants/internationalization/index.d.ts +12 -12
- package/distribution/constants/internationalization/italian/index.d.ts +1 -1
- package/distribution/constants/internationalization/japanese/index.d.ts +1 -1
- package/distribution/constants/internationalization/languages.d.ts +1 -1
- package/distribution/constants/internationalization/romanian/index.d.ts +1 -1
- package/distribution/constants/internationalization/russian/index.d.ts +1 -1
- package/distribution/constants/internationalization/spanish/index.d.ts +1 -1
- package/distribution/constants/keys/index.d.ts +1 -1
- package/distribution/constants/shortcuts/index.d.ts +2 -2
- package/distribution/constants/tree/index.d.ts +1 -1
- package/distribution/enumerations/index.d.ts +1 -1
- package/distribution/index.d.ts +3 -3
- package/distribution/index.es.js +1 -0
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +1 -0
- package/distribution/index.js.map +1 -1
- package/distribution/interfaces/external/application/index.d.ts +7 -7
- package/distribution/interfaces/external/cluster/index.d.ts +2 -2
- package/distribution/interfaces/external/component/index.d.ts +1 -1
- package/distribution/interfaces/external/configuration/index.d.ts +6 -5
- package/distribution/interfaces/external/configurator/index.d.ts +1 -1
- package/distribution/interfaces/external/index.d.ts +16 -16
- package/distribution/interfaces/external/layout/index.d.ts +1 -1
- package/distribution/interfaces/external/metastate/index.d.ts +1 -1
- package/distribution/interfaces/external/plane/index.d.ts +4 -1
- package/distribution/interfaces/external/pubsub/index.d.ts +3 -3
- package/distribution/interfaces/external/pubsub/message.d.ts +4 -3
- package/distribution/interfaces/external/registrar/index.d.ts +1 -1
- package/distribution/interfaces/external/router/index.d.ts +5 -5
- package/distribution/interfaces/external/router/route/index.d.ts +3 -3
- package/distribution/interfaces/external/universe/index.d.ts +3 -3
- package/distribution/interfaces/external/window/index.d.ts +1 -1
- package/distribution/interfaces/index.d.ts +3 -3
- package/distribution/interfaces/internal/context/index.d.ts +3 -3
- package/distribution/interfaces/internal/index.d.ts +7 -7
- package/distribution/interfaces/internal/shortcuts/index.d.ts +2 -2
- package/distribution/interfaces/internal/state/index.d.ts +4 -4
- package/distribution/interfaces/internal/tree/index.d.ts +1 -1
- package/distribution/interfaces/internal/universe/index.d.ts +4 -4
- package/package.json +10 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import themes, { Theme } from '@plurid/plurid-themes';
|
|
2
|
-
import { SIZES, TRANSFORM_MODES, TRANSFORM_TOUCHES, TOOLBAR_DRAWERS } from
|
|
3
|
-
import { RecursivePartial } from
|
|
4
|
-
import { PluridLayout } from
|
|
5
|
-
import { InternationalizationLanguageType } from
|
|
2
|
+
import { SIZES, TRANSFORM_MODES, TRANSFORM_TOUCHES, TOOLBAR_DRAWERS } from '../../../enumerations';
|
|
3
|
+
import { RecursivePartial } from '../../helpers';
|
|
4
|
+
import { PluridLayout } from '../layout';
|
|
5
|
+
import { InternationalizationLanguageType } from '../../internal/internationalization';
|
|
6
6
|
export declare type PluridPartialConfiguration = RecursivePartial<PluridConfiguration>;
|
|
7
7
|
export interface PluridConfiguration {
|
|
8
8
|
global: PluridConfigurationGlobal;
|
|
@@ -127,7 +127,8 @@ export interface PluridConfigurationElementsToolbar {
|
|
|
127
127
|
conceal: boolean;
|
|
128
128
|
transformIcons: boolean;
|
|
129
129
|
transformButtons: boolean;
|
|
130
|
-
|
|
130
|
+
drawers: (keyof typeof TOOLBAR_DRAWERS)[];
|
|
131
|
+
toggledDrawers: (keyof typeof TOOLBAR_DRAWERS)[];
|
|
131
132
|
}
|
|
132
133
|
export interface PluridConfigurationElementsViewcube {
|
|
133
134
|
show: boolean;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
1
|
+
export * from './application';
|
|
2
|
+
export * from './cluster';
|
|
3
|
+
export * from './compare';
|
|
4
|
+
export * from './component';
|
|
5
|
+
export * from './configuration';
|
|
6
|
+
export * from './keys';
|
|
7
|
+
export * from './layout';
|
|
8
|
+
export * from './link';
|
|
9
|
+
export * from './metastate';
|
|
10
|
+
export * from './plane';
|
|
11
|
+
export * from './pubsub';
|
|
12
|
+
export * from './registrar';
|
|
13
|
+
export * from './router';
|
|
14
|
+
export * from './universe';
|
|
15
|
+
export * from './view';
|
|
16
|
+
export * from './window';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PluridState } from
|
|
1
|
+
import { PluridState } from '../../internal/state';
|
|
2
2
|
export declare type PluridMetastateState = Pick<PluridState, 'configuration' | 'space' | 'ui'>;
|
|
3
3
|
export interface PluridMetastate {
|
|
4
4
|
states: Record<string, PluridMetastateState>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PluridRouteParameter } from
|
|
2
|
+
import { PluridRouteParameter, PluridRouteFragments } from '../router';
|
|
3
3
|
export interface PluridPlaneOptions {
|
|
4
4
|
/**
|
|
5
5
|
* Constraints for the parameters.
|
|
@@ -73,6 +73,9 @@ export interface RouteSegment {
|
|
|
73
73
|
export interface RegisteredPluridPlane<C> {
|
|
74
74
|
route: {
|
|
75
75
|
absolute: string;
|
|
76
|
+
fragments: PluridRouteFragments;
|
|
77
|
+
parameters: Record<string, string>;
|
|
78
|
+
query: Record<string, string>;
|
|
76
79
|
};
|
|
77
80
|
component: C;
|
|
78
81
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluridPubSubTopicKeysType } from "../../../constants/pubsub
|
|
2
|
-
import { PluridPubSubPublishMessage, PluridPubSubSubscribeMessage } from
|
|
3
|
-
export * from
|
|
1
|
+
import { PluridPubSubTopicKeysType } from "../../../constants/pubsub";
|
|
2
|
+
import { PluridPubSubPublishMessage, PluridPubSubSubscribeMessage } from './message';
|
|
3
|
+
export * from './message';
|
|
4
4
|
export interface PluridPubSubOptions {
|
|
5
5
|
debug?: boolean;
|
|
6
6
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PLURID_PUBSUB_TOPIC } from "../../../constants/pubsub
|
|
1
|
+
import { PLURID_PUBSUB_TOPIC } from "../../../constants/pubsub";
|
|
2
|
+
import { PluridPartialConfiguration } from "../configuration";
|
|
2
3
|
export declare type PluridPubSubCallback<D = any> = (data: D) => void;
|
|
3
4
|
export interface PluridPubSubDataValueNumber {
|
|
4
5
|
value: number;
|
|
@@ -8,11 +9,11 @@ export interface PluridPubSubDataValueString {
|
|
|
8
9
|
}
|
|
9
10
|
export interface PluridPubSubPublishMessageConfiguration {
|
|
10
11
|
topic: typeof PLURID_PUBSUB_TOPIC.CONFIGURATION;
|
|
11
|
-
data:
|
|
12
|
+
data: PluridPartialConfiguration;
|
|
12
13
|
}
|
|
13
14
|
export interface PluridPubSubSubscribeMessageConfiguration {
|
|
14
15
|
topic: typeof PLURID_PUBSUB_TOPIC.CONFIGURATION;
|
|
15
|
-
callback: PluridPubSubCallback<
|
|
16
|
+
callback: PluridPubSubCallback<PluridPartialConfiguration>;
|
|
16
17
|
}
|
|
17
18
|
export interface PluridPubSubPublishMessageSpaceAnimatedTransform {
|
|
18
19
|
topic: typeof PLURID_PUBSUB_TOPIC.SPACE_ANIMATED_TRANSFORM;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PluridRoute, PluridRoutePlane } from
|
|
1
|
+
import { PluridRoute, PluridRoutePlane } from './route';
|
|
2
2
|
export interface PluridRouterProperties<C> {
|
|
3
3
|
routes: PluridRoute<C>[];
|
|
4
4
|
/**
|
|
@@ -67,7 +67,7 @@ export interface PluridRouterStatic {
|
|
|
67
67
|
path: string;
|
|
68
68
|
directPlane?: string;
|
|
69
69
|
}
|
|
70
|
-
export * from
|
|
71
|
-
export * from
|
|
72
|
-
export * from
|
|
73
|
-
export * from
|
|
70
|
+
export * from './fragment';
|
|
71
|
+
export * from './multispace';
|
|
72
|
+
export * from './preserve';
|
|
73
|
+
export * from './route';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluridPartialConfiguration } from "../../configuration
|
|
2
|
-
import { CompareType } from "../../compare
|
|
3
|
-
import { PluridRouteMultispace } from
|
|
1
|
+
import { PluridPartialConfiguration } from "../../configuration";
|
|
2
|
+
import { CompareType } from "../../compare";
|
|
3
|
+
import { PluridRouteMultispace } from '../multispace';
|
|
4
4
|
/**
|
|
5
5
|
* A route can be `plurid space` or `exterior`-based.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluridPlane } from
|
|
2
|
-
import { PluridCluster } from
|
|
3
|
-
import { PluridView } from
|
|
1
|
+
import { PluridPlane } from '../plane';
|
|
2
|
+
import { PluridCluster } from '../cluster';
|
|
3
|
+
import { PluridView } from '../view';
|
|
4
4
|
export interface PluridUniverse<C> {
|
|
5
5
|
/**
|
|
6
6
|
* Optional, application-wide unique identifier.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './external';
|
|
2
|
+
export * from './internal';
|
|
3
|
+
export * from './helpers';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluridPlaneContext } from "../../external/plane
|
|
2
|
-
import { PluridPlanesRegistrar } from "../../external/registrar
|
|
3
|
-
import { PluridPubSub } from "../../external/pubsub
|
|
1
|
+
import { PluridPlaneContext } from "../../external/plane";
|
|
2
|
+
import { PluridPlanesRegistrar } from "../../external/registrar";
|
|
3
|
+
import { PluridPubSub } from "../../external/pubsub";
|
|
4
4
|
export interface PluridContext<C> {
|
|
5
5
|
planesRegistrar?: PluridPlanesRegistrar<C>;
|
|
6
6
|
planeContext?: PluridPlaneContext<any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
1
|
+
export * from './context';
|
|
2
|
+
export * from './internationalization';
|
|
3
|
+
export * from './plane';
|
|
4
|
+
export * from './shortcuts';
|
|
5
|
+
export * from './state';
|
|
6
|
+
export * from './tree';
|
|
7
|
+
export * from './universe';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SHORTCUTS } from
|
|
2
|
-
import { InternationalizationFieldType } from
|
|
1
|
+
import { SHORTCUTS } from '../../../enumerations';
|
|
2
|
+
import { InternationalizationFieldType } from '../internationalization';
|
|
3
3
|
export interface ShortcutName {
|
|
4
4
|
name: InternationalizationFieldType;
|
|
5
5
|
internationalizedKey?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
-
import { PluridApplicationView } from
|
|
3
|
-
import { PluridConfiguration } from
|
|
4
|
-
import { TreePlane } from
|
|
5
|
-
import { Coordinates, ViewSize, SpaceSize } from
|
|
2
|
+
import { PluridApplicationView } from '../../external/application';
|
|
3
|
+
import { PluridConfiguration } from '../../external/configuration';
|
|
4
|
+
import { TreePlane } from '../tree';
|
|
5
|
+
import { Coordinates, ViewSize, SpaceSize } from '../utilities';
|
|
6
6
|
export interface PluridState {
|
|
7
7
|
configuration: PluridConfiguration;
|
|
8
8
|
shortcuts: PluridStateShortcuts;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PluridUniverse, PluridPlane } from
|
|
2
|
-
import { Identified } from
|
|
3
|
-
import { PluridInternalStatePlane, PluridInternalContextPlane } from
|
|
4
|
-
import { PathParameters, PathQuery } from
|
|
1
|
+
import { PluridUniverse, PluridPlane } from '../../external';
|
|
2
|
+
import { Identified } from '../../helpers';
|
|
3
|
+
import { PluridInternalStatePlane, PluridInternalContextPlane } from '../plane';
|
|
4
|
+
import { PathParameters, PathQuery } from '../tree';
|
|
5
5
|
export interface IdentifiedPluridUniverse<C> extends Identified<PluridUniverse<C>> {
|
|
6
6
|
planes: Identified<PluridPlane<C>>[];
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurid/plurid-data",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-8",
|
|
4
4
|
"description": "Plurid Constants, Interfaces, Enumerations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurid",
|
|
@@ -48,17 +48,18 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@plurid/plurid-themes": "0.0.0-0",
|
|
51
|
-
"@types/
|
|
52
|
-
"@
|
|
53
|
-
"@typescript-eslint/
|
|
51
|
+
"@types/node": "^16.11.7",
|
|
52
|
+
"@types/react": "^17.0.34",
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
|
54
|
+
"@typescript-eslint/parser": "^5.3.1",
|
|
54
55
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
55
|
-
"eslint": "^
|
|
56
|
-
"rollup": "^2.
|
|
56
|
+
"eslint": "^8.2.0",
|
|
57
|
+
"rollup": "^2.59.0",
|
|
57
58
|
"rollup-plugin-terser": "^7.0.2",
|
|
58
59
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
59
|
-
"ts-node": "^
|
|
60
|
+
"ts-node": "^10.4.0",
|
|
60
61
|
"ttypescript": "^1.5.12",
|
|
61
|
-
"typescript": "^4.
|
|
62
|
-
"typescript-transform-paths": "^
|
|
62
|
+
"typescript": "^4.4.4",
|
|
63
|
+
"typescript-transform-paths": "^3.3.1"
|
|
63
64
|
}
|
|
64
65
|
}
|