@cratis/scene.components 4.15.0 → 4.16.0

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/cratisComponentsPackage.ts +9 -125
  2. package/cratisComponentsPackageManifest.ts +106 -0
  3. package/cratisComponentsRuntimePackage.ts +22 -0
  4. package/designTime/cratisComponentsDesignTime.ts +22 -0
  5. package/dist/cjs/cratisComponentsPackage.js +10 -144
  6. package/dist/cjs/cratisComponentsPackage.js.map +1 -1
  7. package/dist/cjs/cratisComponentsPackageManifest.js +126 -0
  8. package/dist/cjs/cratisComponentsPackageManifest.js.map +1 -0
  9. package/dist/cjs/cratisComponentsRuntimePackage.js +24 -0
  10. package/dist/cjs/cratisComponentsRuntimePackage.js.map +1 -0
  11. package/dist/cjs/designTime/cratisComponentsDesignTime.js +24 -0
  12. package/dist/cjs/designTime/cratisComponentsDesignTime.js.map +1 -0
  13. package/dist/cjs/forms/generateCommandFieldsAction.js +10 -1
  14. package/dist/cjs/forms/generateCommandFieldsAction.js.map +1 -1
  15. package/dist/cjs/index.js +6 -1
  16. package/dist/cjs/index.js.map +1 -1
  17. package/dist/cjs/runtime.js +15 -0
  18. package/dist/cjs/runtime.js.map +1 -0
  19. package/dist/esm/cratisComponentsPackage.d.ts +1 -2
  20. package/dist/esm/cratisComponentsPackage.d.ts.map +1 -1
  21. package/dist/esm/cratisComponentsPackage.js +10 -144
  22. package/dist/esm/cratisComponentsPackage.js.map +1 -1
  23. package/dist/esm/cratisComponentsPackageManifest.d.ts +3 -0
  24. package/dist/esm/cratisComponentsPackageManifest.d.ts.map +1 -0
  25. package/dist/esm/cratisComponentsPackageManifest.js +124 -0
  26. package/dist/esm/cratisComponentsPackageManifest.js.map +1 -0
  27. package/dist/esm/cratisComponentsRuntimePackage.d.ts +3 -0
  28. package/dist/esm/cratisComponentsRuntimePackage.d.ts.map +1 -0
  29. package/dist/esm/cratisComponentsRuntimePackage.js +22 -0
  30. package/dist/esm/cratisComponentsRuntimePackage.js.map +1 -0
  31. package/dist/esm/designTime/cratisComponentsDesignTime.d.ts +3 -0
  32. package/dist/esm/designTime/cratisComponentsDesignTime.d.ts.map +1 -0
  33. package/dist/esm/designTime/cratisComponentsDesignTime.js +22 -0
  34. package/dist/esm/designTime/cratisComponentsDesignTime.js.map +1 -0
  35. package/dist/esm/forms/generateCommandFieldsAction.js +10 -1
  36. package/dist/esm/forms/generateCommandFieldsAction.js.map +1 -1
  37. package/dist/esm/index.d.ts +2 -0
  38. package/dist/esm/index.d.ts.map +1 -1
  39. package/dist/esm/index.js +4 -1
  40. package/dist/esm/index.js.map +1 -1
  41. package/dist/esm/runtime.d.ts +5 -0
  42. package/dist/esm/runtime.d.ts.map +1 -0
  43. package/dist/esm/runtime.js +5 -0
  44. package/dist/esm/runtime.js.map +1 -0
  45. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  46. package/forms/generateCommandFieldsAction.ts +5 -1
  47. package/index.ts +2 -0
  48. package/package.json +12 -7
  49. package/runtime.ts +9 -0
@@ -1,136 +1,20 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
 
4
- import { PackageKind, ScenePackage } from '@cratis/scene.model';
5
4
  import { ScenePackageBundle } from '@cratis/scene.react';
6
- import { cratisComponents, cratisComponentsPackageName } from './cratisComponents';
7
- import { cratisComponentsDescriptors } from './cratisComponentsDescriptors';
8
- import { CommandFieldPropertyEditor } from './forms/CommandFieldPropertyEditor';
9
- import { CommandFormDesigner } from './forms/CommandFormDesigner';
10
- import { CommandFormLayoutEditor } from './forms/CommandFormLayoutEditor';
11
- import { generateCommandFieldsAction } from './forms/generateCommandFieldsAction';
5
+ import { cratisComponentsDesignTime } from './designTime/cratisComponentsDesignTime';
6
+ import { cratisComponentsRuntimePackage } from './cratisComponentsRuntimePackage';
12
7
 
13
- /**
14
- * The `Cratis.Components` package's declaration - what a profile gets when it lists this package.
15
- *
16
- * This is the concrete case the whole package-dependency mechanism exists for. `@cratis/components` is
17
- * not a self-contained library: every component in it is a wrapper over a PrimeReact widget, and its own
18
- * styling is a `--cratis-*` token layer (`@cratis/components/tokens`) plus the component stylesheets and
19
- * compiled Tailwind utilities in `@cratis/components/styles`. Activate it in a profile without PrimeReact
20
- * and nothing renders; activate it without Tailwind and everything renders unstyled. Both are stated as
21
- * dependencies so a package picker can say so while the profile is being configured, instead of leaving
22
- * it to be discovered when the page opens.
23
- *
24
- * The version ranges are the real ones the library carries. `>=11.0.0` for PrimeReact: version 3.0.0
25
- * declares `primereact@^11` as a peer dependency and is built against version 11's component set, so the
26
- * span across the major boundary that the previous `>=10.9.0` range described is over. The `--cratis-*`
27
- * tokens still resolve a version 10 theme variable as their last fallback, but that is an upgrade-window
28
- * courtesy for an application with a compiled version 10 stylesheet still on the page - not a version of
29
- * PrimeReact this package can be activated against. `^4.0.0` for Tailwind, because the utility sheet is
30
- * compiled against Tailwind 4.
31
- */
32
- export const cratisComponentsPackageManifest: ScenePackage = {
33
- name: cratisComponentsPackageName,
34
- version: '3.0.0',
35
- kind: PackageKind.ComponentLibrary,
36
- dependencies: [
37
- { name: 'PrimeReact', versionRange: '>=11.0.0' },
38
- { name: 'Tailwind', versionRange: '^4.0.0' },
39
- ],
40
- components: [
41
- 'page',
42
- 'dataPage',
43
- 'formElement',
44
- 'singleResult',
45
- 'queryInputForm',
46
- 'dataTable',
47
- 'table',
48
- 'observableDataTable',
49
- 'commandForm',
50
- 'inputTextField',
51
- 'numberField',
52
- 'checkboxField',
53
- 'textAreaField',
54
- 'dropdownField',
55
- 'sliderField',
56
- 'calendarField',
57
- 'colorPickerField',
58
- 'multiSelectField',
59
- 'chipsField',
60
- 'radioButtonField',
61
- 'radioGroupField',
62
- 'dialog',
63
- 'confirmationDialog',
64
- 'busyIndicatorDialog',
65
- 'commandDialog',
66
- 'stepperCommandDialog',
67
- 'icon',
68
- 'tooltip',
69
- 'dropdown',
70
- 'errorBoundary',
71
- 'objectContentEditor',
72
- 'objectNavigationalBar',
73
- 'schemaEditor',
74
- 'timeMachine',
75
- 'filterPanel',
76
- 'toolbar',
77
- 'toolbarButton',
78
- 'toolbarGroup',
79
- 'toolbarSeparator',
80
- ],
81
-
82
- // A component library ships components, and nothing else. Layouts, screen templates and dialog
83
- // templates all belong to a Blueprint: they are decisions about what an application looks like as a
84
- // whole, and this package deliberately makes none of them - it provides the Arc-bound composites a
85
- // template is *built from*, so that a blueprint can place a `dataPage` in a slot and configure it,
86
- // rather than shipping one opinionated data page nobody can rearrange.
87
- layouts: [],
88
- screenTemplates: [],
89
- dialogTemplates: [],
90
-
91
- // No themes either, for a different reason: `@cratis/components` has no palette of its own. It reads
92
- // a `--cratis-*` variable layer that resolves whatever is in front of it - the `--p-*` properties a
93
- // PrimeReact 11 preset emits at runtime, or a Scene theme through this package's token bridge.
94
- // Shipping a theme here would be this library asserting a look it was specifically built not to have.
95
- themes: [],
96
-
97
- displayName: 'Cratis Components',
98
- description: "Cratis' Arc-bound data, form and dialog composites, built on PrimeReact and Tailwind. dataTable and table accept optional object-valued queryArguments for collection queries. singleResult displays one read-only scalar own resultField of an optional model using an explicit query, object queryArguments and enabled: true. queryInputForm commits explicit string inputs on submit to the same optional-single runtime; drafts never execute a query.",
99
- module: '@cratis/scene.components',
100
- license: 'MIT',
101
- licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',
102
- designTime: {
103
- previews: [],
104
- designers: ['commandFormDesigner'],
105
- propertyEditors: ['commandBinding', 'commandFields', 'fieldWidths', 'commandFormLayout'],
106
- propertyDisplays: [],
107
- actions: ['Cratis.Components.commandForm.generateFields'],
108
- },
109
- assets: ['@cratis/components/styles', '@cratis/components/tokens'],
110
- runtimeSingletons: ['react', '@cratis/arc', '@cratis/components'],
111
- };
8
+ export { cratisComponentsPackageManifest } from './cratisComponentsPackageManifest';
112
9
 
113
10
  /**
114
- * The `Cratis.Components` package as a loadable bundle - the manifest above, plus the React components
115
- * behind the names it declares.
11
+ * The `Cratis.Components` package as a loadable bundle - the manifest, the React components behind the names
12
+ * it declares, and the design-time contributions a designer loads.
116
13
  *
117
- * No `layouts`, `screenTemplates`, `dialogTemplates` or `themes` are provided, matching a manifest that
118
- * declares none of them; `validatePackageBundle` is what proves the two halves agree.
14
+ * A runtime host that must not load design-time code imports `cratisComponentsRuntimePackage` from
15
+ * `@cratis/scene.components/runtime` instead; that entry reaches no designer, editor or action.
119
16
  */
120
17
  export const cratisComponentsPackage: ScenePackageBundle = {
121
- manifest: cratisComponentsPackageManifest,
122
- components: cratisComponents,
123
- descriptors: cratisComponentsDescriptors,
124
- designTime: {
125
- designers: {
126
- commandFormDesigner: CommandFormDesigner,
127
- },
128
- propertyEditors: {
129
- commandBinding: CommandFieldPropertyEditor,
130
- commandFormLayout: CommandFormLayoutEditor,
131
- },
132
- actions: {
133
- [generateCommandFieldsAction.descriptor.id]: generateCommandFieldsAction,
134
- },
135
- },
18
+ ...cratisComponentsRuntimePackage,
19
+ designTime: cratisComponentsDesignTime,
136
20
  };
@@ -0,0 +1,106 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+
4
+ import { PackageKind, ScenePackage } from '@cratis/scene.model';
5
+ import { cratisComponentsPackageName } from './cratisComponents';
6
+
7
+ /**
8
+ * The `Cratis.Components` package's declaration - what a profile gets when it lists this package.
9
+ *
10
+ * This is the concrete case the whole package-dependency mechanism exists for. `@cratis/components` is
11
+ * not a self-contained library: every component in it is a wrapper over a PrimeReact widget, and its own
12
+ * styling is a `--cratis-*` token layer (`@cratis/components/tokens`) plus the component stylesheets and
13
+ * compiled Tailwind utilities in `@cratis/components/styles`. Activate it in a profile without PrimeReact
14
+ * and nothing renders; activate it without Tailwind and everything renders unstyled. Both are stated as
15
+ * dependencies so a package picker can say so while the profile is being configured, instead of leaving
16
+ * it to be discovered when the page opens.
17
+ *
18
+ * The version ranges are the real ones the library carries. `>=11.0.0` for PrimeReact: version 3.0.0
19
+ * declares `primereact@^11` as a peer dependency and is built against version 11's component set, so the
20
+ * span across the major boundary that the previous `>=10.9.0` range described is over. The `--cratis-*`
21
+ * tokens still resolve a version 10 theme variable as their last fallback, but that is an upgrade-window
22
+ * courtesy for an application with a compiled version 10 stylesheet still on the page - not a version of
23
+ * PrimeReact this package can be activated against. `^4.0.0` for Tailwind, because the utility sheet is
24
+ * compiled against Tailwind 4.
25
+ */
26
+ export const cratisComponentsPackageManifest: ScenePackage = {
27
+ name: cratisComponentsPackageName,
28
+ version: '3.0.0',
29
+ kind: PackageKind.ComponentLibrary,
30
+ dependencies: [
31
+ { name: 'PrimeReact', versionRange: '>=11.0.0' },
32
+ { name: 'Tailwind', versionRange: '^4.0.0' },
33
+ ],
34
+ components: [
35
+ 'page',
36
+ 'dataPage',
37
+ 'formElement',
38
+ 'singleResult',
39
+ 'queryInputForm',
40
+ 'dataTable',
41
+ 'table',
42
+ 'observableDataTable',
43
+ 'commandForm',
44
+ 'inputTextField',
45
+ 'numberField',
46
+ 'checkboxField',
47
+ 'textAreaField',
48
+ 'dropdownField',
49
+ 'sliderField',
50
+ 'calendarField',
51
+ 'colorPickerField',
52
+ 'multiSelectField',
53
+ 'chipsField',
54
+ 'radioButtonField',
55
+ 'radioGroupField',
56
+ 'dialog',
57
+ 'confirmationDialog',
58
+ 'busyIndicatorDialog',
59
+ 'commandDialog',
60
+ 'stepperCommandDialog',
61
+ 'icon',
62
+ 'tooltip',
63
+ 'dropdown',
64
+ 'errorBoundary',
65
+ 'objectContentEditor',
66
+ 'objectNavigationalBar',
67
+ 'schemaEditor',
68
+ 'timeMachine',
69
+ 'filterPanel',
70
+ 'toolbar',
71
+ 'toolbarButton',
72
+ 'toolbarGroup',
73
+ 'toolbarSeparator',
74
+ ],
75
+
76
+ // A component library ships components, and nothing else. Layouts, screen templates and dialog
77
+ // templates all belong to a Blueprint: they are decisions about what an application looks like as a
78
+ // whole, and this package deliberately makes none of them - it provides the Arc-bound composites a
79
+ // template is *built from*, so that a blueprint can place a `dataPage` in a slot and configure it,
80
+ // rather than shipping one opinionated data page nobody can rearrange.
81
+ layouts: [],
82
+ screenTemplates: [],
83
+ dialogTemplates: [],
84
+
85
+ // No themes either, for a different reason: `@cratis/components` has no palette of its own. It reads
86
+ // a `--cratis-*` variable layer that resolves whatever is in front of it - the `--p-*` properties a
87
+ // PrimeReact 11 preset emits at runtime, or a Scene theme through this package's token bridge.
88
+ // Shipping a theme here would be this library asserting a look it was specifically built not to have.
89
+ themes: [],
90
+
91
+ displayName: 'Cratis Components',
92
+ description: "Cratis' Arc-bound data, form and dialog composites, built on PrimeReact and Tailwind. dataTable and table accept optional object-valued queryArguments for collection queries. singleResult displays one read-only scalar own resultField of an optional model using an explicit query, object queryArguments and enabled: true. queryInputForm commits explicit string inputs on submit to the same optional-single runtime; drafts never execute a query.",
93
+ module: '@cratis/scene.components',
94
+ license: 'MIT',
95
+ licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',
96
+ designTime: {
97
+ previews: [],
98
+ designers: ['commandFormDesigner'],
99
+ // `commandFields` and `fieldWidths` are host editor kinds (Studio implements them); the package does not ship them.
100
+ propertyEditors: ['commandBinding', 'commandFormLayout'],
101
+ propertyDisplays: [],
102
+ actions: ['Cratis.Components.commandForm.generateFields'],
103
+ },
104
+ assets: ['@cratis/components/styles', '@cratis/components/tokens'],
105
+ runtimeSingletons: ['react', '@cratis/arc', '@cratis/components'],
106
+ };
@@ -0,0 +1,22 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+
4
+ import { ScenePackageBundle } from '@cratis/scene.react';
5
+ import { cratisComponents } from './cratisComponents';
6
+ import { cratisComponentsDescriptors } from './cratisComponentsDescriptors';
7
+ import { cratisComponentsPackageManifest } from './cratisComponentsPackageManifest';
8
+
9
+ /**
10
+ * The `Cratis.Components` package without design-time contributions: the manifest, the components and their
11
+ * descriptors. The manifest still names the design-time extensions - that is data a host reads without
12
+ * loading them - but no designer, editor or action module is reachable from this bundle, which is what a
13
+ * runtime host imports from `@cratis/scene.components/runtime`.
14
+ *
15
+ * No `layouts`, `screenTemplates`, `dialogTemplates` or `themes` are provided, matching a manifest that
16
+ * declares none of them; `validatePackageBundle` is what proves the two halves agree.
17
+ */
18
+ export const cratisComponentsRuntimePackage: ScenePackageBundle = {
19
+ manifest: cratisComponentsPackageManifest,
20
+ components: cratisComponents,
21
+ descriptors: cratisComponentsDescriptors,
22
+ };
@@ -0,0 +1,22 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+
4
+ import { DesignTimeBundle } from '@cratis/scene.react';
5
+ import { CommandFieldPropertyEditor } from '../forms/CommandFieldPropertyEditor';
6
+ import { CommandFormDesigner } from '../forms/CommandFormDesigner';
7
+ import { CommandFormLayoutEditor } from '../forms/CommandFormLayoutEditor';
8
+ import { generateCommandFieldsAction } from '../forms/generateCommandFieldsAction';
9
+
10
+ /** Every design-time contribution of `Cratis.Components`, under the names its manifest declares. */
11
+ export const cratisComponentsDesignTime: DesignTimeBundle = {
12
+ designers: {
13
+ commandFormDesigner: CommandFormDesigner,
14
+ },
15
+ propertyEditors: {
16
+ commandBinding: CommandFieldPropertyEditor,
17
+ commandFormLayout: CommandFormLayoutEditor,
18
+ },
19
+ actions: {
20
+ [generateCommandFieldsAction.descriptor.id]: generateCommandFieldsAction,
21
+ },
22
+ };
@@ -1,156 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var scene_model = require('@cratis/scene.model');
4
- var cratisComponents = require('./cratisComponents.js');
5
- var cratisComponentsDescriptors = require('./cratisComponentsDescriptors.js');
6
- var CommandFieldPropertyEditor = require('./forms/CommandFieldPropertyEditor.js');
7
- var CommandFormDesigner = require('./forms/CommandFormDesigner.js');
8
- var CommandFormLayoutEditor = require('./forms/CommandFormLayoutEditor.js');
9
- var generateCommandFieldsAction = require('./forms/generateCommandFieldsAction.js');
3
+ var cratisComponentsDesignTime = require('./designTime/cratisComponentsDesignTime.js');
4
+ var cratisComponentsRuntimePackage = require('./cratisComponentsRuntimePackage.js');
5
+ var cratisComponentsPackageManifest = require('./cratisComponentsPackageManifest.js');
10
6
 
11
7
  // Copyright (c) Cratis. All rights reserved.
12
8
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
13
9
  /**
14
- * The `Cratis.Components` package's declaration - what a profile gets when it lists this package.
10
+ * The `Cratis.Components` package as a loadable bundle - the manifest, the React components behind the names
11
+ * it declares, and the design-time contributions a designer loads.
15
12
  *
16
- * This is the concrete case the whole package-dependency mechanism exists for. `@cratis/components` is
17
- * not a self-contained library: every component in it is a wrapper over a PrimeReact widget, and its own
18
- * styling is a `--cratis-*` token layer (`@cratis/components/tokens`) plus the component stylesheets and
19
- * compiled Tailwind utilities in `@cratis/components/styles`. Activate it in a profile without PrimeReact
20
- * and nothing renders; activate it without Tailwind and everything renders unstyled. Both are stated as
21
- * dependencies so a package picker can say so while the profile is being configured, instead of leaving
22
- * it to be discovered when the page opens.
23
- *
24
- * The version ranges are the real ones the library carries. `>=11.0.0` for PrimeReact: version 3.0.0
25
- * declares `primereact@^11` as a peer dependency and is built against version 11's component set, so the
26
- * span across the major boundary that the previous `>=10.9.0` range described is over. The `--cratis-*`
27
- * tokens still resolve a version 10 theme variable as their last fallback, but that is an upgrade-window
28
- * courtesy for an application with a compiled version 10 stylesheet still on the page - not a version of
29
- * PrimeReact this package can be activated against. `^4.0.0` for Tailwind, because the utility sheet is
30
- * compiled against Tailwind 4.
31
- */ const cratisComponentsPackageManifest = {
32
- name: cratisComponents.cratisComponentsPackageName,
33
- version: '3.0.0',
34
- kind: scene_model.PackageKind.ComponentLibrary,
35
- dependencies: [
36
- {
37
- name: 'PrimeReact',
38
- versionRange: '>=11.0.0'
39
- },
40
- {
41
- name: 'Tailwind',
42
- versionRange: '^4.0.0'
43
- }
44
- ],
45
- components: [
46
- 'page',
47
- 'dataPage',
48
- 'formElement',
49
- 'singleResult',
50
- 'queryInputForm',
51
- 'dataTable',
52
- 'table',
53
- 'observableDataTable',
54
- 'commandForm',
55
- 'inputTextField',
56
- 'numberField',
57
- 'checkboxField',
58
- 'textAreaField',
59
- 'dropdownField',
60
- 'sliderField',
61
- 'calendarField',
62
- 'colorPickerField',
63
- 'multiSelectField',
64
- 'chipsField',
65
- 'radioButtonField',
66
- 'radioGroupField',
67
- 'dialog',
68
- 'confirmationDialog',
69
- 'busyIndicatorDialog',
70
- 'commandDialog',
71
- 'stepperCommandDialog',
72
- 'icon',
73
- 'tooltip',
74
- 'dropdown',
75
- 'errorBoundary',
76
- 'objectContentEditor',
77
- 'objectNavigationalBar',
78
- 'schemaEditor',
79
- 'timeMachine',
80
- 'filterPanel',
81
- 'toolbar',
82
- 'toolbarButton',
83
- 'toolbarGroup',
84
- 'toolbarSeparator'
85
- ],
86
- // A component library ships components, and nothing else. Layouts, screen templates and dialog
87
- // templates all belong to a Blueprint: they are decisions about what an application looks like as a
88
- // whole, and this package deliberately makes none of them - it provides the Arc-bound composites a
89
- // template is *built from*, so that a blueprint can place a `dataPage` in a slot and configure it,
90
- // rather than shipping one opinionated data page nobody can rearrange.
91
- layouts: [],
92
- screenTemplates: [],
93
- dialogTemplates: [],
94
- // No themes either, for a different reason: `@cratis/components` has no palette of its own. It reads
95
- // a `--cratis-*` variable layer that resolves whatever is in front of it - the `--p-*` properties a
96
- // PrimeReact 11 preset emits at runtime, or a Scene theme through this package's token bridge.
97
- // Shipping a theme here would be this library asserting a look it was specifically built not to have.
98
- themes: [],
99
- displayName: 'Cratis Components',
100
- description: "Cratis' Arc-bound data, form and dialog composites, built on PrimeReact and Tailwind. dataTable and table accept optional object-valued queryArguments for collection queries. singleResult displays one read-only scalar own resultField of an optional model using an explicit query, object queryArguments and enabled: true. queryInputForm commits explicit string inputs on submit to the same optional-single runtime; drafts never execute a query.",
101
- module: '@cratis/scene.components',
102
- license: 'MIT',
103
- licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',
104
- designTime: {
105
- previews: [],
106
- designers: [
107
- 'commandFormDesigner'
108
- ],
109
- propertyEditors: [
110
- 'commandBinding',
111
- 'commandFields',
112
- 'fieldWidths',
113
- 'commandFormLayout'
114
- ],
115
- propertyDisplays: [],
116
- actions: [
117
- 'Cratis.Components.commandForm.generateFields'
118
- ]
119
- },
120
- assets: [
121
- '@cratis/components/styles',
122
- '@cratis/components/tokens'
123
- ],
124
- runtimeSingletons: [
125
- 'react',
126
- '@cratis/arc',
127
- '@cratis/components'
128
- ]
129
- };
130
- /**
131
- * The `Cratis.Components` package as a loadable bundle - the manifest above, plus the React components
132
- * behind the names it declares.
133
- *
134
- * No `layouts`, `screenTemplates`, `dialogTemplates` or `themes` are provided, matching a manifest that
135
- * declares none of them; `validatePackageBundle` is what proves the two halves agree.
13
+ * A runtime host that must not load design-time code imports `cratisComponentsRuntimePackage` from
14
+ * `@cratis/scene.components/runtime` instead; that entry reaches no designer, editor or action.
136
15
  */ const cratisComponentsPackage = {
137
- manifest: cratisComponentsPackageManifest,
138
- components: cratisComponents.cratisComponents,
139
- descriptors: cratisComponentsDescriptors.cratisComponentsDescriptors,
140
- designTime: {
141
- designers: {
142
- commandFormDesigner: CommandFormDesigner.CommandFormDesigner
143
- },
144
- propertyEditors: {
145
- commandBinding: CommandFieldPropertyEditor.CommandFieldPropertyEditor,
146
- commandFormLayout: CommandFormLayoutEditor.CommandFormLayoutEditor
147
- },
148
- actions: {
149
- [generateCommandFieldsAction.generateCommandFieldsAction.descriptor.id]: generateCommandFieldsAction.generateCommandFieldsAction
150
- }
151
- }
16
+ ...cratisComponentsRuntimePackage.cratisComponentsRuntimePackage,
17
+ designTime: cratisComponentsDesignTime.cratisComponentsDesignTime
152
18
  };
153
19
 
20
+ exports.cratisComponentsPackageManifest = cratisComponentsPackageManifest.cratisComponentsPackageManifest;
154
21
  exports.cratisComponentsPackage = cratisComponentsPackage;
155
- exports.cratisComponentsPackageManifest = cratisComponentsPackageManifest;
156
22
  //# sourceMappingURL=cratisComponentsPackage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cratisComponentsPackage.js","sources":["../../cratisComponentsPackage.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageKind, ScenePackage } from '@cratis/scene.model';\nimport { ScenePackageBundle } from '@cratis/scene.react';\nimport { cratisComponents, cratisComponentsPackageName } from './cratisComponents';\nimport { cratisComponentsDescriptors } from './cratisComponentsDescriptors';\nimport { CommandFieldPropertyEditor } from './forms/CommandFieldPropertyEditor';\nimport { CommandFormDesigner } from './forms/CommandFormDesigner';\nimport { CommandFormLayoutEditor } from './forms/CommandFormLayoutEditor';\nimport { generateCommandFieldsAction } from './forms/generateCommandFieldsAction';\n\n/**\n * The `Cratis.Components` package's declaration - what a profile gets when it lists this package.\n *\n * This is the concrete case the whole package-dependency mechanism exists for. `@cratis/components` is\n * not a self-contained library: every component in it is a wrapper over a PrimeReact widget, and its own\n * styling is a `--cratis-*` token layer (`@cratis/components/tokens`) plus the component stylesheets and\n * compiled Tailwind utilities in `@cratis/components/styles`. Activate it in a profile without PrimeReact\n * and nothing renders; activate it without Tailwind and everything renders unstyled. Both are stated as\n * dependencies so a package picker can say so while the profile is being configured, instead of leaving\n * it to be discovered when the page opens.\n *\n * The version ranges are the real ones the library carries. `>=11.0.0` for PrimeReact: version 3.0.0\n * declares `primereact@^11` as a peer dependency and is built against version 11's component set, so the\n * span across the major boundary that the previous `>=10.9.0` range described is over. The `--cratis-*`\n * tokens still resolve a version 10 theme variable as their last fallback, but that is an upgrade-window\n * courtesy for an application with a compiled version 10 stylesheet still on the page - not a version of\n * PrimeReact this package can be activated against. `^4.0.0` for Tailwind, because the utility sheet is\n * compiled against Tailwind 4.\n */\nexport const cratisComponentsPackageManifest: ScenePackage = {\n name: cratisComponentsPackageName,\n version: '3.0.0',\n kind: PackageKind.ComponentLibrary,\n dependencies: [\n { name: 'PrimeReact', versionRange: '>=11.0.0' },\n { name: 'Tailwind', versionRange: '^4.0.0' },\n ],\n components: [\n 'page',\n 'dataPage',\n 'formElement',\n 'singleResult',\n 'queryInputForm',\n 'dataTable',\n 'table',\n 'observableDataTable',\n 'commandForm',\n 'inputTextField',\n 'numberField',\n 'checkboxField',\n 'textAreaField',\n 'dropdownField',\n 'sliderField',\n 'calendarField',\n 'colorPickerField',\n 'multiSelectField',\n 'chipsField',\n 'radioButtonField',\n 'radioGroupField',\n 'dialog',\n 'confirmationDialog',\n 'busyIndicatorDialog',\n 'commandDialog',\n 'stepperCommandDialog',\n 'icon',\n 'tooltip',\n 'dropdown',\n 'errorBoundary',\n 'objectContentEditor',\n 'objectNavigationalBar',\n 'schemaEditor',\n 'timeMachine',\n 'filterPanel',\n 'toolbar',\n 'toolbarButton',\n 'toolbarGroup',\n 'toolbarSeparator',\n ],\n\n // A component library ships components, and nothing else. Layouts, screen templates and dialog\n // templates all belong to a Blueprint: they are decisions about what an application looks like as a\n // whole, and this package deliberately makes none of them - it provides the Arc-bound composites a\n // template is *built from*, so that a blueprint can place a `dataPage` in a slot and configure it,\n // rather than shipping one opinionated data page nobody can rearrange.\n layouts: [],\n screenTemplates: [],\n dialogTemplates: [],\n\n // No themes either, for a different reason: `@cratis/components` has no palette of its own. It reads\n // a `--cratis-*` variable layer that resolves whatever is in front of it - the `--p-*` properties a\n // PrimeReact 11 preset emits at runtime, or a Scene theme through this package's token bridge.\n // Shipping a theme here would be this library asserting a look it was specifically built not to have.\n themes: [],\n\n displayName: 'Cratis Components',\n description: \"Cratis' Arc-bound data, form and dialog composites, built on PrimeReact and Tailwind. dataTable and table accept optional object-valued queryArguments for collection queries. singleResult displays one read-only scalar own resultField of an optional model using an explicit query, object queryArguments and enabled: true. queryInputForm commits explicit string inputs on submit to the same optional-single runtime; drafts never execute a query.\",\n module: '@cratis/scene.components',\n license: 'MIT',\n licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',\n designTime: {\n previews: [],\n designers: ['commandFormDesigner'],\n propertyEditors: ['commandBinding', 'commandFields', 'fieldWidths', 'commandFormLayout'],\n propertyDisplays: [],\n actions: ['Cratis.Components.commandForm.generateFields'],\n },\n assets: ['@cratis/components/styles', '@cratis/components/tokens'],\n runtimeSingletons: ['react', '@cratis/arc', '@cratis/components'],\n};\n\n/**\n * The `Cratis.Components` package as a loadable bundle - the manifest above, plus the React components\n * behind the names it declares.\n *\n * No `layouts`, `screenTemplates`, `dialogTemplates` or `themes` are provided, matching a manifest that\n * declares none of them; `validatePackageBundle` is what proves the two halves agree.\n */\nexport const cratisComponentsPackage: ScenePackageBundle = {\n manifest: cratisComponentsPackageManifest,\n components: cratisComponents,\n descriptors: cratisComponentsDescriptors,\n designTime: {\n designers: {\n commandFormDesigner: CommandFormDesigner,\n },\n propertyEditors: {\n commandBinding: CommandFieldPropertyEditor,\n commandFormLayout: CommandFormLayoutEditor,\n },\n actions: {\n [generateCommandFieldsAction.descriptor.id]: generateCommandFieldsAction,\n },\n },\n};\n"],"names":["cratisComponentsPackageManifest","name","cratisComponentsPackageName","version","kind","PackageKind","ComponentLibrary","dependencies","versionRange","components","layouts","screenTemplates","dialogTemplates","themes","displayName","description","module","license","licenseUrl","designTime","previews","designers","propertyEditors","propertyDisplays","actions","assets","runtimeSingletons","cratisComponentsPackage","manifest","cratisComponents","descriptors","cratisComponentsDescriptors","commandFormDesigner","CommandFormDesigner","commandBinding","CommandFieldPropertyEditor","commandFormLayout","CommandFormLayoutEditor","generateCommandFieldsAction","descriptor","id"],"mappings":";;;;;;;;;;AAAA;AACA;AAWA;;;;;;;;;;;;;;;;;;UAmBaA,+BAAAA,GAAgD;IACzDC,IAAAA,EAAMC,4CAAAA;IACNC,OAAAA,EAAS,OAAA;AACTC,IAAAA,IAAAA,EAAMC,wBAAYC,gBAAgB;IAClCC,YAAAA,EAAc;AACV,QAAA;YAAEN,IAAAA,EAAM,YAAA;YAAcO,YAAAA,EAAc;AAAW,SAAA;AAC/C,QAAA;YAAEP,IAAAA,EAAM,UAAA;YAAYO,YAAAA,EAAc;AAAS;AAC9C,KAAA;IACDC,UAAAA,EAAY;AACR,QAAA,MAAA;AACA,QAAA,UAAA;AACA,QAAA,aAAA;AACA,QAAA,cAAA;AACA,QAAA,gBAAA;AACA,QAAA,WAAA;AACA,QAAA,OAAA;AACA,QAAA,qBAAA;AACA,QAAA,aAAA;AACA,QAAA,gBAAA;AACA,QAAA,aAAA;AACA,QAAA,eAAA;AACA,QAAA,eAAA;AACA,QAAA,eAAA;AACA,QAAA,aAAA;AACA,QAAA,eAAA;AACA,QAAA,kBAAA;AACA,QAAA,kBAAA;AACA,QAAA,YAAA;AACA,QAAA,kBAAA;AACA,QAAA,iBAAA;AACA,QAAA,QAAA;AACA,QAAA,oBAAA;AACA,QAAA,qBAAA;AACA,QAAA,eAAA;AACA,QAAA,sBAAA;AACA,QAAA,MAAA;AACA,QAAA,SAAA;AACA,QAAA,UAAA;AACA,QAAA,eAAA;AACA,QAAA,qBAAA;AACA,QAAA,uBAAA;AACA,QAAA,cAAA;AACA,QAAA,aAAA;AACA,QAAA,aAAA;AACA,QAAA,SAAA;AACA,QAAA,eAAA;AACA,QAAA,cAAA;AACA,QAAA;AACH,KAAA;;;;;;AAODC,IAAAA,OAAAA,EAAS,EAAE;AACXC,IAAAA,eAAAA,EAAiB,EAAE;AACnBC,IAAAA,eAAAA,EAAiB,EAAE;;;;;AAMnBC,IAAAA,MAAAA,EAAQ,EAAE;IAEVC,WAAAA,EAAa,mBAAA;IACbC,WAAAA,EAAa,6bAAA;IACbC,MAAAA,EAAQ,0BAAA;IACRC,OAAAA,EAAS,KAAA;IACTC,UAAAA,EAAY,mDAAA;IACZC,UAAAA,EAAY;AACRC,QAAAA,QAAAA,EAAU,EAAE;QACZC,SAAAA,EAAW;AAAC,YAAA;AAAsB,SAAA;QAClCC,eAAAA,EAAiB;AAAC,YAAA,gBAAA;AAAkB,YAAA,eAAA;AAAiB,YAAA,aAAA;AAAe,YAAA;AAAoB,SAAA;AACxFC,QAAAA,gBAAAA,EAAkB,EAAE;QACpBC,OAAAA,EAAS;AAAC,YAAA;AAA+C;AAC7D,KAAA;IACAC,MAAAA,EAAQ;AAAC,QAAA,2BAAA;AAA6B,QAAA;AAA4B,KAAA;IAClEC,iBAAAA,EAAmB;AAAC,QAAA,OAAA;AAAS,QAAA,aAAA;AAAe,QAAA;AAAqB;AACrE;AAEA;;;;;;UAOaC,uBAAAA,GAA8C;IACvDC,QAAAA,EAAU5B,+BAAAA;IACVS,UAAAA,EAAYoB,iCAAAA;IACZC,WAAAA,EAAaC,uDAAAA;IACbZ,UAAAA,EAAY;QACRE,SAAAA,EAAW;YACPW,mBAAAA,EAAqBC;AACzB,SAAA;QACAX,eAAAA,EAAiB;YACbY,cAAAA,EAAgBC,qDAAAA;YAChBC,iBAAAA,EAAmBC;AACvB,SAAA;QACAb,OAAAA,EAAS;AACL,YAAA,CAACc,uDAAAA,CAA4BC,UAAU,CAACC,EAAE,GAAGF;AACjD;AACJ;AACJ;;;"}
1
+ {"version":3,"file":"cratisComponentsPackage.js","sources":["../../cratisComponentsPackage.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { ScenePackageBundle } from '@cratis/scene.react';\nimport { cratisComponentsDesignTime } from './designTime/cratisComponentsDesignTime';\nimport { cratisComponentsRuntimePackage } from './cratisComponentsRuntimePackage';\n\nexport { cratisComponentsPackageManifest } from './cratisComponentsPackageManifest';\n\n/**\n * The `Cratis.Components` package as a loadable bundle - the manifest, the React components behind the names\n * it declares, and the design-time contributions a designer loads.\n *\n * A runtime host that must not load design-time code imports `cratisComponentsRuntimePackage` from\n * `@cratis/scene.components/runtime` instead; that entry reaches no designer, editor or action.\n */\nexport const cratisComponentsPackage: ScenePackageBundle = {\n ...cratisComponentsRuntimePackage,\n designTime: cratisComponentsDesignTime,\n};\n"],"names":["cratisComponentsPackage","cratisComponentsRuntimePackage","designTime","cratisComponentsDesignTime"],"mappings":";;;;;;AAAA;AACA;AAQA;;;;;;UAOaA,uBAAAA,GAA8C;AACvD,IAAA,GAAGC,6DAA8B;IACjCC,UAAAA,EAAYC;AAChB;;;"}
@@ -0,0 +1,126 @@
1
+ 'use strict';
2
+
3
+ var scene_model = require('@cratis/scene.model');
4
+ var cratisComponents = require('./cratisComponents.js');
5
+
6
+ // Copyright (c) Cratis. All rights reserved.
7
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
8
+ /**
9
+ * The `Cratis.Components` package's declaration - what a profile gets when it lists this package.
10
+ *
11
+ * This is the concrete case the whole package-dependency mechanism exists for. `@cratis/components` is
12
+ * not a self-contained library: every component in it is a wrapper over a PrimeReact widget, and its own
13
+ * styling is a `--cratis-*` token layer (`@cratis/components/tokens`) plus the component stylesheets and
14
+ * compiled Tailwind utilities in `@cratis/components/styles`. Activate it in a profile without PrimeReact
15
+ * and nothing renders; activate it without Tailwind and everything renders unstyled. Both are stated as
16
+ * dependencies so a package picker can say so while the profile is being configured, instead of leaving
17
+ * it to be discovered when the page opens.
18
+ *
19
+ * The version ranges are the real ones the library carries. `>=11.0.0` for PrimeReact: version 3.0.0
20
+ * declares `primereact@^11` as a peer dependency and is built against version 11's component set, so the
21
+ * span across the major boundary that the previous `>=10.9.0` range described is over. The `--cratis-*`
22
+ * tokens still resolve a version 10 theme variable as their last fallback, but that is an upgrade-window
23
+ * courtesy for an application with a compiled version 10 stylesheet still on the page - not a version of
24
+ * PrimeReact this package can be activated against. `^4.0.0` for Tailwind, because the utility sheet is
25
+ * compiled against Tailwind 4.
26
+ */ const cratisComponentsPackageManifest = {
27
+ name: cratisComponents.cratisComponentsPackageName,
28
+ version: '3.0.0',
29
+ kind: scene_model.PackageKind.ComponentLibrary,
30
+ dependencies: [
31
+ {
32
+ name: 'PrimeReact',
33
+ versionRange: '>=11.0.0'
34
+ },
35
+ {
36
+ name: 'Tailwind',
37
+ versionRange: '^4.0.0'
38
+ }
39
+ ],
40
+ components: [
41
+ 'page',
42
+ 'dataPage',
43
+ 'formElement',
44
+ 'singleResult',
45
+ 'queryInputForm',
46
+ 'dataTable',
47
+ 'table',
48
+ 'observableDataTable',
49
+ 'commandForm',
50
+ 'inputTextField',
51
+ 'numberField',
52
+ 'checkboxField',
53
+ 'textAreaField',
54
+ 'dropdownField',
55
+ 'sliderField',
56
+ 'calendarField',
57
+ 'colorPickerField',
58
+ 'multiSelectField',
59
+ 'chipsField',
60
+ 'radioButtonField',
61
+ 'radioGroupField',
62
+ 'dialog',
63
+ 'confirmationDialog',
64
+ 'busyIndicatorDialog',
65
+ 'commandDialog',
66
+ 'stepperCommandDialog',
67
+ 'icon',
68
+ 'tooltip',
69
+ 'dropdown',
70
+ 'errorBoundary',
71
+ 'objectContentEditor',
72
+ 'objectNavigationalBar',
73
+ 'schemaEditor',
74
+ 'timeMachine',
75
+ 'filterPanel',
76
+ 'toolbar',
77
+ 'toolbarButton',
78
+ 'toolbarGroup',
79
+ 'toolbarSeparator'
80
+ ],
81
+ // A component library ships components, and nothing else. Layouts, screen templates and dialog
82
+ // templates all belong to a Blueprint: they are decisions about what an application looks like as a
83
+ // whole, and this package deliberately makes none of them - it provides the Arc-bound composites a
84
+ // template is *built from*, so that a blueprint can place a `dataPage` in a slot and configure it,
85
+ // rather than shipping one opinionated data page nobody can rearrange.
86
+ layouts: [],
87
+ screenTemplates: [],
88
+ dialogTemplates: [],
89
+ // No themes either, for a different reason: `@cratis/components` has no palette of its own. It reads
90
+ // a `--cratis-*` variable layer that resolves whatever is in front of it - the `--p-*` properties a
91
+ // PrimeReact 11 preset emits at runtime, or a Scene theme through this package's token bridge.
92
+ // Shipping a theme here would be this library asserting a look it was specifically built not to have.
93
+ themes: [],
94
+ displayName: 'Cratis Components',
95
+ description: "Cratis' Arc-bound data, form and dialog composites, built on PrimeReact and Tailwind. dataTable and table accept optional object-valued queryArguments for collection queries. singleResult displays one read-only scalar own resultField of an optional model using an explicit query, object queryArguments and enabled: true. queryInputForm commits explicit string inputs on submit to the same optional-single runtime; drafts never execute a query.",
96
+ module: '@cratis/scene.components',
97
+ license: 'MIT',
98
+ licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',
99
+ designTime: {
100
+ previews: [],
101
+ designers: [
102
+ 'commandFormDesigner'
103
+ ],
104
+ // `commandFields` and `fieldWidths` are host editor kinds (Studio implements them); the package does not ship them.
105
+ propertyEditors: [
106
+ 'commandBinding',
107
+ 'commandFormLayout'
108
+ ],
109
+ propertyDisplays: [],
110
+ actions: [
111
+ 'Cratis.Components.commandForm.generateFields'
112
+ ]
113
+ },
114
+ assets: [
115
+ '@cratis/components/styles',
116
+ '@cratis/components/tokens'
117
+ ],
118
+ runtimeSingletons: [
119
+ 'react',
120
+ '@cratis/arc',
121
+ '@cratis/components'
122
+ ]
123
+ };
124
+
125
+ exports.cratisComponentsPackageManifest = cratisComponentsPackageManifest;
126
+ //# sourceMappingURL=cratisComponentsPackageManifest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cratisComponentsPackageManifest.js","sources":["../../cratisComponentsPackageManifest.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageKind, ScenePackage } from '@cratis/scene.model';\nimport { cratisComponentsPackageName } from './cratisComponents';\n\n/**\n * The `Cratis.Components` package's declaration - what a profile gets when it lists this package.\n *\n * This is the concrete case the whole package-dependency mechanism exists for. `@cratis/components` is\n * not a self-contained library: every component in it is a wrapper over a PrimeReact widget, and its own\n * styling is a `--cratis-*` token layer (`@cratis/components/tokens`) plus the component stylesheets and\n * compiled Tailwind utilities in `@cratis/components/styles`. Activate it in a profile without PrimeReact\n * and nothing renders; activate it without Tailwind and everything renders unstyled. Both are stated as\n * dependencies so a package picker can say so while the profile is being configured, instead of leaving\n * it to be discovered when the page opens.\n *\n * The version ranges are the real ones the library carries. `>=11.0.0` for PrimeReact: version 3.0.0\n * declares `primereact@^11` as a peer dependency and is built against version 11's component set, so the\n * span across the major boundary that the previous `>=10.9.0` range described is over. The `--cratis-*`\n * tokens still resolve a version 10 theme variable as their last fallback, but that is an upgrade-window\n * courtesy for an application with a compiled version 10 stylesheet still on the page - not a version of\n * PrimeReact this package can be activated against. `^4.0.0` for Tailwind, because the utility sheet is\n * compiled against Tailwind 4.\n */\nexport const cratisComponentsPackageManifest: ScenePackage = {\n name: cratisComponentsPackageName,\n version: '3.0.0',\n kind: PackageKind.ComponentLibrary,\n dependencies: [\n { name: 'PrimeReact', versionRange: '>=11.0.0' },\n { name: 'Tailwind', versionRange: '^4.0.0' },\n ],\n components: [\n 'page',\n 'dataPage',\n 'formElement',\n 'singleResult',\n 'queryInputForm',\n 'dataTable',\n 'table',\n 'observableDataTable',\n 'commandForm',\n 'inputTextField',\n 'numberField',\n 'checkboxField',\n 'textAreaField',\n 'dropdownField',\n 'sliderField',\n 'calendarField',\n 'colorPickerField',\n 'multiSelectField',\n 'chipsField',\n 'radioButtonField',\n 'radioGroupField',\n 'dialog',\n 'confirmationDialog',\n 'busyIndicatorDialog',\n 'commandDialog',\n 'stepperCommandDialog',\n 'icon',\n 'tooltip',\n 'dropdown',\n 'errorBoundary',\n 'objectContentEditor',\n 'objectNavigationalBar',\n 'schemaEditor',\n 'timeMachine',\n 'filterPanel',\n 'toolbar',\n 'toolbarButton',\n 'toolbarGroup',\n 'toolbarSeparator',\n ],\n\n // A component library ships components, and nothing else. Layouts, screen templates and dialog\n // templates all belong to a Blueprint: they are decisions about what an application looks like as a\n // whole, and this package deliberately makes none of them - it provides the Arc-bound composites a\n // template is *built from*, so that a blueprint can place a `dataPage` in a slot and configure it,\n // rather than shipping one opinionated data page nobody can rearrange.\n layouts: [],\n screenTemplates: [],\n dialogTemplates: [],\n\n // No themes either, for a different reason: `@cratis/components` has no palette of its own. It reads\n // a `--cratis-*` variable layer that resolves whatever is in front of it - the `--p-*` properties a\n // PrimeReact 11 preset emits at runtime, or a Scene theme through this package's token bridge.\n // Shipping a theme here would be this library asserting a look it was specifically built not to have.\n themes: [],\n\n displayName: 'Cratis Components',\n description: \"Cratis' Arc-bound data, form and dialog composites, built on PrimeReact and Tailwind. dataTable and table accept optional object-valued queryArguments for collection queries. singleResult displays one read-only scalar own resultField of an optional model using an explicit query, object queryArguments and enabled: true. queryInputForm commits explicit string inputs on submit to the same optional-single runtime; drafts never execute a query.\",\n module: '@cratis/scene.components',\n license: 'MIT',\n licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',\n designTime: {\n previews: [],\n designers: ['commandFormDesigner'],\n // `commandFields` and `fieldWidths` are host editor kinds (Studio implements them); the package does not ship them.\n propertyEditors: ['commandBinding', 'commandFormLayout'],\n propertyDisplays: [],\n actions: ['Cratis.Components.commandForm.generateFields'],\n },\n assets: ['@cratis/components/styles', '@cratis/components/tokens'],\n runtimeSingletons: ['react', '@cratis/arc', '@cratis/components'],\n};\n"],"names":["cratisComponentsPackageManifest","name","cratisComponentsPackageName","version","kind","PackageKind","ComponentLibrary","dependencies","versionRange","components","layouts","screenTemplates","dialogTemplates","themes","displayName","description","module","license","licenseUrl","designTime","previews","designers","propertyEditors","propertyDisplays","actions","assets","runtimeSingletons"],"mappings":";;;;;AAAA;AACA;AAKA;;;;;;;;;;;;;;;;;;UAmBaA,+BAAAA,GAAgD;IACzDC,IAAAA,EAAMC,4CAAAA;IACNC,OAAAA,EAAS,OAAA;AACTC,IAAAA,IAAAA,EAAMC,wBAAYC,gBAAgB;IAClCC,YAAAA,EAAc;AACV,QAAA;YAAEN,IAAAA,EAAM,YAAA;YAAcO,YAAAA,EAAc;AAAW,SAAA;AAC/C,QAAA;YAAEP,IAAAA,EAAM,UAAA;YAAYO,YAAAA,EAAc;AAAS;AAC9C,KAAA;IACDC,UAAAA,EAAY;AACR,QAAA,MAAA;AACA,QAAA,UAAA;AACA,QAAA,aAAA;AACA,QAAA,cAAA;AACA,QAAA,gBAAA;AACA,QAAA,WAAA;AACA,QAAA,OAAA;AACA,QAAA,qBAAA;AACA,QAAA,aAAA;AACA,QAAA,gBAAA;AACA,QAAA,aAAA;AACA,QAAA,eAAA;AACA,QAAA,eAAA;AACA,QAAA,eAAA;AACA,QAAA,aAAA;AACA,QAAA,eAAA;AACA,QAAA,kBAAA;AACA,QAAA,kBAAA;AACA,QAAA,YAAA;AACA,QAAA,kBAAA;AACA,QAAA,iBAAA;AACA,QAAA,QAAA;AACA,QAAA,oBAAA;AACA,QAAA,qBAAA;AACA,QAAA,eAAA;AACA,QAAA,sBAAA;AACA,QAAA,MAAA;AACA,QAAA,SAAA;AACA,QAAA,UAAA;AACA,QAAA,eAAA;AACA,QAAA,qBAAA;AACA,QAAA,uBAAA;AACA,QAAA,cAAA;AACA,QAAA,aAAA;AACA,QAAA,aAAA;AACA,QAAA,SAAA;AACA,QAAA,eAAA;AACA,QAAA,cAAA;AACA,QAAA;AACH,KAAA;;;;;;AAODC,IAAAA,OAAAA,EAAS,EAAE;AACXC,IAAAA,eAAAA,EAAiB,EAAE;AACnBC,IAAAA,eAAAA,EAAiB,EAAE;;;;;AAMnBC,IAAAA,MAAAA,EAAQ,EAAE;IAEVC,WAAAA,EAAa,mBAAA;IACbC,WAAAA,EAAa,6bAAA;IACbC,MAAAA,EAAQ,0BAAA;IACRC,OAAAA,EAAS,KAAA;IACTC,UAAAA,EAAY,mDAAA;IACZC,UAAAA,EAAY;AACRC,QAAAA,QAAAA,EAAU,EAAE;QACZC,SAAAA,EAAW;AAAC,YAAA;AAAsB,SAAA;;QAElCC,eAAAA,EAAiB;AAAC,YAAA,gBAAA;AAAkB,YAAA;AAAoB,SAAA;AACxDC,QAAAA,gBAAAA,EAAkB,EAAE;QACpBC,OAAAA,EAAS;AAAC,YAAA;AAA+C;AAC7D,KAAA;IACAC,MAAAA,EAAQ;AAAC,QAAA,2BAAA;AAA6B,QAAA;AAA4B,KAAA;IAClEC,iBAAAA,EAAmB;AAAC,QAAA,OAAA;AAAS,QAAA,aAAA;AAAe,QAAA;AAAqB;AACrE;;"}