@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.
Files changed (49) hide show
  1. package/distribution/constants/compare/index.d.ts +1 -1
  2. package/distribution/constants/configuration/index.d.ts +1 -1
  3. package/distribution/constants/index.d.ts +11 -11
  4. package/distribution/constants/internationalization/chinese/index.d.ts +1 -1
  5. package/distribution/constants/internationalization/english/index.d.ts +1 -1
  6. package/distribution/constants/internationalization/fields.d.ts +1 -1
  7. package/distribution/constants/internationalization/french/index.d.ts +1 -1
  8. package/distribution/constants/internationalization/german/index.d.ts +1 -1
  9. package/distribution/constants/internationalization/hindi/index.d.ts +1 -1
  10. package/distribution/constants/internationalization/index.d.ts +12 -12
  11. package/distribution/constants/internationalization/italian/index.d.ts +1 -1
  12. package/distribution/constants/internationalization/japanese/index.d.ts +1 -1
  13. package/distribution/constants/internationalization/languages.d.ts +1 -1
  14. package/distribution/constants/internationalization/romanian/index.d.ts +1 -1
  15. package/distribution/constants/internationalization/russian/index.d.ts +1 -1
  16. package/distribution/constants/internationalization/spanish/index.d.ts +1 -1
  17. package/distribution/constants/keys/index.d.ts +1 -1
  18. package/distribution/constants/shortcuts/index.d.ts +2 -2
  19. package/distribution/constants/tree/index.d.ts +1 -1
  20. package/distribution/enumerations/index.d.ts +1 -1
  21. package/distribution/index.d.ts +3 -3
  22. package/distribution/index.es.js +1 -0
  23. package/distribution/index.es.js.map +1 -1
  24. package/distribution/index.js +1 -0
  25. package/distribution/index.js.map +1 -1
  26. package/distribution/interfaces/external/application/index.d.ts +7 -7
  27. package/distribution/interfaces/external/cluster/index.d.ts +2 -2
  28. package/distribution/interfaces/external/component/index.d.ts +1 -1
  29. package/distribution/interfaces/external/configuration/index.d.ts +6 -5
  30. package/distribution/interfaces/external/configurator/index.d.ts +1 -1
  31. package/distribution/interfaces/external/index.d.ts +16 -16
  32. package/distribution/interfaces/external/layout/index.d.ts +1 -1
  33. package/distribution/interfaces/external/metastate/index.d.ts +1 -1
  34. package/distribution/interfaces/external/plane/index.d.ts +4 -1
  35. package/distribution/interfaces/external/pubsub/index.d.ts +3 -3
  36. package/distribution/interfaces/external/pubsub/message.d.ts +4 -3
  37. package/distribution/interfaces/external/registrar/index.d.ts +1 -1
  38. package/distribution/interfaces/external/router/index.d.ts +5 -5
  39. package/distribution/interfaces/external/router/route/index.d.ts +3 -3
  40. package/distribution/interfaces/external/universe/index.d.ts +3 -3
  41. package/distribution/interfaces/external/window/index.d.ts +1 -1
  42. package/distribution/interfaces/index.d.ts +3 -3
  43. package/distribution/interfaces/internal/context/index.d.ts +3 -3
  44. package/distribution/interfaces/internal/index.d.ts +7 -7
  45. package/distribution/interfaces/internal/shortcuts/index.d.ts +2 -2
  46. package/distribution/interfaces/internal/state/index.d.ts +4 -4
  47. package/distribution/interfaces/internal/tree/index.d.ts +1 -1
  48. package/distribution/interfaces/internal/universe/index.d.ts +4 -4
  49. 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 "../../../enumerations/index";
3
- import { RecursivePartial } from "../../helpers/index";
4
- import { PluridLayout } from "../layout/index";
5
- import { InternationalizationLanguageType } from "../../internal/internationalization/index";
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
- toggledDrawers: (keyof typeof TOOLBAR_DRAWERS | undefined)[];
130
+ drawers: (keyof typeof TOOLBAR_DRAWERS)[];
131
+ toggledDrawers: (keyof typeof TOOLBAR_DRAWERS)[];
131
132
  }
132
133
  export interface PluridConfigurationElementsViewcube {
133
134
  show: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PluridPubSub } from "../pubsub/index";
2
+ import { PluridPubSub } from '../pubsub';
3
3
  export interface PluridApplicationConfiguratorProperties {
4
4
  /**
5
5
  * Publish/Subscribe bus based on `@plurid/plurid-pubsub`.
@@ -1,16 +1,16 @@
1
- export * from "./application/index";
2
- export * from "./cluster/index";
3
- export * from "./compare/index";
4
- export * from "./component/index";
5
- export * from "./configuration/index";
6
- export * from "./keys/index";
7
- export * from "./layout/index";
8
- export * from "./link/index";
9
- export * from "./metastate/index";
10
- export * from "./plane/index";
11
- export * from "./pubsub/index";
12
- export * from "./registrar/index";
13
- export * from "./router/index";
14
- export * from "./universe/index";
15
- export * from "./view/index";
16
- export * from "./window/index";
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 { LAYOUT_TYPES } from "../../../enumerations/index";
1
+ import { LAYOUT_TYPES } from '../../../enumerations';
2
2
  export interface Layout {
3
3
  type: keyof typeof LAYOUT_TYPES;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { PluridState } from "../../internal/state/index";
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 "../router/index";
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/index";
2
- import { PluridPubSubPublishMessage, PluridPubSubSubscribeMessage } from "./message";
3
- export * from "./message";
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/index";
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: any;
12
+ data: PluridPartialConfiguration;
12
13
  }
13
14
  export interface PluridPubSubSubscribeMessageConfiguration {
14
15
  topic: typeof PLURID_PUBSUB_TOPIC.CONFIGURATION;
15
- callback: PluridPubSubCallback<any>;
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 { PluridPlane, RegisteredPluridPlane } from "../plane/index";
1
+ import { PluridPlane, RegisteredPluridPlane } from '../plane';
2
2
  export interface PluridPlanesRegistrar<C> {
3
3
  register(planes: PluridPlane<C>[]): void;
4
4
  identify(): string[];
@@ -1,4 +1,4 @@
1
- import { PluridRoute, PluridRoutePlane } from "./route/index";
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 "./fragment/index";
71
- export * from "./multispace/index";
72
- export * from "./preserve/index";
73
- export * from "./route/index";
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/index";
2
- import { CompareType } from "../../compare/index";
3
- import { PluridRouteMultispace } from "../multispace/index";
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 "../plane/index";
2
- import { PluridCluster } from "../cluster/index";
3
- import { PluridView } from "../view/index";
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,4 +1,4 @@
1
- import { PluridPlanesRegistrar } from "../registrar/index";
1
+ import { PluridPlanesRegistrar } from '../registrar';
2
2
  export declare type PluridalWindow<C> = typeof window & {
3
3
  __pluridPlanesRegistrar__: PluridPlanesRegistrar<C>;
4
4
  };
@@ -1,3 +1,3 @@
1
- export * from "./external/index";
2
- export * from "./internal/index";
3
- export * from "./helpers/index";
1
+ export * from './external';
2
+ export * from './internal';
3
+ export * from './helpers';
@@ -1,6 +1,6 @@
1
- import { PluridPlaneContext } from "../../external/plane/index";
2
- import { PluridPlanesRegistrar } from "../../external/registrar/index";
3
- import { PluridPubSub } from "../../external/pubsub/index";
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 "./context/index";
2
- export * from "./internationalization/index";
3
- export * from "./plane/index";
4
- export * from "./shortcuts/index";
5
- export * from "./state/index";
6
- export * from "./tree/index";
7
- export * from "./universe/index";
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 "../../../enumerations/index";
2
- import { InternationalizationFieldType } from "../internationalization/index";
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 "../../external/application/index";
3
- import { PluridConfiguration } from "../../external/configuration/index";
4
- import { TreePlane } from "../tree/index";
5
- import { Coordinates, ViewSize, SpaceSize } from "../utilities/index";
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,4 +1,4 @@
1
- import { PluridRouteFragments } from "../../external/router/index";
1
+ import { PluridRouteFragments } from '../../external/router';
2
2
  export interface TreePlane {
3
3
  /**
4
4
  * The application defined plane ID that is the source
@@ -1,7 +1,7 @@
1
- import { PluridUniverse, PluridPlane } from "../../external/index";
2
- import { Identified } from "../../helpers/index";
3
- import { PluridInternalStatePlane, PluridInternalContextPlane } from "../plane/index";
4
- import { PathParameters, PathQuery } from "../tree/index";
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-4",
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/react": "^17.0.5",
52
- "@typescript-eslint/eslint-plugin": "^4.24.0",
53
- "@typescript-eslint/parser": "^4.24.0",
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": "^7.26.0",
56
- "rollup": "^2.48.0",
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": "^9.1.1",
60
+ "ts-node": "^10.4.0",
60
61
  "ttypescript": "^1.5.12",
61
- "typescript": "^4.2.4",
62
- "typescript-transform-paths": "^2.2.3"
62
+ "typescript": "^4.4.4",
63
+ "typescript-transform-paths": "^3.3.1"
63
64
  }
64
65
  }