@cratis/scene.model 3.1.0 → 3.3.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.
- package/dist/cjs/common/BindingExpression.js.map +1 -1
- package/dist/cjs/common/Color.js.map +1 -1
- package/dist/cjs/common/Dock.js.map +1 -1
- package/dist/cjs/common/GridLength.js.map +1 -1
- package/dist/cjs/common/GridUnitType.js.map +1 -1
- package/dist/cjs/common/HorizontalAlignment.js.map +1 -1
- package/dist/cjs/common/Orientation.js.map +1 -1
- package/dist/cjs/common/Size.js.map +1 -1
- package/dist/cjs/common/Thickness.js.map +1 -1
- package/dist/cjs/common/VerticalAlignment.js.map +1 -1
- package/dist/cjs/common/Visibility.js.map +1 -1
- package/dist/cjs/contributionPoints/Contribution.js.map +1 -1
- package/dist/cjs/contributionPoints/ContributionPoint.js.map +1 -1
- package/dist/cjs/contributionPoints/NavigationItem.js.map +1 -1
- package/dist/cjs/elements/ContentControl.js.map +1 -1
- package/dist/cjs/elements/Control.js.map +1 -1
- package/dist/cjs/elements/ExternalComponent.js.map +1 -1
- package/dist/cjs/elements/FrameworkElement.js.map +1 -1
- package/dist/cjs/elements/ItemsControl.js.map +1 -1
- package/dist/cjs/elements/Panel.js.map +1 -1
- package/dist/cjs/elements/SceneElement.js.map +1 -1
- package/dist/cjs/elements/VisualElement.js.map +1 -1
- package/dist/cjs/elements/panels/Canvas.js +10 -0
- package/dist/cjs/elements/panels/Canvas.js.map +1 -0
- package/dist/cjs/elements/panels/ColumnDefinition.js.map +1 -1
- package/dist/cjs/elements/panels/DockPanel.js.map +1 -1
- package/dist/cjs/elements/panels/Grid.js.map +1 -1
- package/dist/cjs/elements/panels/RowDefinition.js.map +1 -1
- package/dist/cjs/elements/panels/StackPanel.js.map +1 -1
- package/dist/cjs/elements/panels/WrapPanel.js.map +1 -1
- package/dist/cjs/forms/Form.js.map +1 -1
- package/dist/cjs/forms/FormField.js.map +1 -1
- package/dist/cjs/forms/PopulateFromItem.js.map +1 -1
- package/dist/cjs/forms/PopulateViaQuery.js.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/layouts/ElementPlacement.js.map +1 -1
- package/dist/cjs/layouts/FlowArrangement.js.map +1 -1
- package/dist/cjs/layouts/FlowColumn.js.map +1 -1
- package/dist/cjs/layouts/FlowContainer.js.map +1 -1
- package/dist/cjs/layouts/FlowContainerKind.js.map +1 -1
- package/dist/cjs/layouts/FlowGrid.js.map +1 -1
- package/dist/cjs/layouts/FlowLeaf.js.map +1 -1
- package/dist/cjs/layouts/FlowNode.js.map +1 -1
- package/dist/cjs/layouts/FlowOverride.js.map +1 -1
- package/dist/cjs/layouts/FlowRow.js.map +1 -1
- package/dist/cjs/layouts/FlowSlotLeaf.js.map +1 -1
- package/dist/cjs/layouts/FreeformArrangement.js.map +1 -1
- package/dist/cjs/layouts/FreeformSlotArrangement.js.map +1 -1
- package/dist/cjs/layouts/FreeformSlotVariant.js.map +1 -1
- package/dist/cjs/layouts/FreeformVariant.js.map +1 -1
- package/dist/cjs/layouts/Layout.js.map +1 -1
- package/dist/cjs/layouts/Slot.js.map +1 -1
- package/dist/cjs/layouts/SlotPlacement.js.map +1 -1
- package/dist/cjs/packages/PackageDependency.js.map +1 -1
- package/dist/cjs/packages/PackageKind.js.map +1 -1
- package/dist/cjs/packages/ScenePackage.js.map +1 -1
- package/dist/cjs/profiles/Theme.js.map +1 -1
- package/dist/cjs/profiles/UiProfile.js.map +1 -1
- package/dist/cjs/screens/DialogTemplate.js.map +1 -1
- package/dist/cjs/screens/Screen.js.map +1 -1
- package/dist/cjs/screens/ScreenTemplate.js.map +1 -1
- package/dist/cjs/sizeClasses/HeightSizeClass.js.map +1 -1
- package/dist/cjs/sizeClasses/SizeClass.js.map +1 -1
- package/dist/cjs/sizeClasses/WidthSizeClass.js.map +1 -1
- package/dist/cjs/starters/UiStarter.js.map +1 -1
- package/dist/esm/common/BindingExpression.js.map +1 -1
- package/dist/esm/common/Color.js.map +1 -1
- package/dist/esm/common/Dock.js.map +1 -1
- package/dist/esm/common/GridLength.js.map +1 -1
- package/dist/esm/common/GridUnitType.js.map +1 -1
- package/dist/esm/common/HorizontalAlignment.js.map +1 -1
- package/dist/esm/common/Orientation.js.map +1 -1
- package/dist/esm/common/Size.js.map +1 -1
- package/dist/esm/common/Thickness.js.map +1 -1
- package/dist/esm/common/VerticalAlignment.js.map +1 -1
- package/dist/esm/common/Visibility.js.map +1 -1
- package/dist/esm/contributionPoints/Contribution.js.map +1 -1
- package/dist/esm/contributionPoints/ContributionPoint.js.map +1 -1
- package/dist/esm/contributionPoints/NavigationItem.js.map +1 -1
- package/dist/esm/elements/ContentControl.js.map +1 -1
- package/dist/esm/elements/Control.js.map +1 -1
- package/dist/esm/elements/ExternalComponent.js.map +1 -1
- package/dist/esm/elements/FrameworkElement.js.map +1 -1
- package/dist/esm/elements/ItemsControl.js.map +1 -1
- package/dist/esm/elements/Panel.js.map +1 -1
- package/dist/esm/elements/SceneElement.js.map +1 -1
- package/dist/esm/elements/VisualElement.js.map +1 -1
- package/dist/esm/elements/panels/Canvas.d.ts +7 -0
- package/dist/esm/elements/panels/Canvas.d.ts.map +1 -0
- package/dist/esm/elements/panels/Canvas.js +8 -0
- package/dist/esm/elements/panels/Canvas.js.map +1 -0
- package/dist/esm/elements/panels/ColumnDefinition.js.map +1 -1
- package/dist/esm/elements/panels/DockPanel.js.map +1 -1
- package/dist/esm/elements/panels/Grid.js.map +1 -1
- package/dist/esm/elements/panels/RowDefinition.js.map +1 -1
- package/dist/esm/elements/panels/StackPanel.js.map +1 -1
- package/dist/esm/elements/panels/WrapPanel.js.map +1 -1
- package/dist/esm/elements/panels/index.d.ts +1 -0
- package/dist/esm/elements/panels/index.d.ts.map +1 -1
- package/dist/esm/elements/panels/index.js +1 -0
- package/dist/esm/elements/panels/index.js.map +1 -1
- package/dist/esm/forms/Form.js.map +1 -1
- package/dist/esm/forms/FormField.js.map +1 -1
- package/dist/esm/forms/PopulateFromItem.js.map +1 -1
- package/dist/esm/forms/PopulateViaQuery.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layouts/ElementPlacement.js.map +1 -1
- package/dist/esm/layouts/FlowArrangement.js.map +1 -1
- package/dist/esm/layouts/FlowColumn.js.map +1 -1
- package/dist/esm/layouts/FlowContainer.js.map +1 -1
- package/dist/esm/layouts/FlowContainerKind.js.map +1 -1
- package/dist/esm/layouts/FlowGrid.js.map +1 -1
- package/dist/esm/layouts/FlowLeaf.js.map +1 -1
- package/dist/esm/layouts/FlowNode.js.map +1 -1
- package/dist/esm/layouts/FlowOverride.js.map +1 -1
- package/dist/esm/layouts/FlowRow.js.map +1 -1
- package/dist/esm/layouts/FlowSlotLeaf.js.map +1 -1
- package/dist/esm/layouts/FreeformArrangement.js.map +1 -1
- package/dist/esm/layouts/FreeformSlotArrangement.js.map +1 -1
- package/dist/esm/layouts/FreeformSlotVariant.js.map +1 -1
- package/dist/esm/layouts/FreeformVariant.js.map +1 -1
- package/dist/esm/layouts/Layout.js.map +1 -1
- package/dist/esm/layouts/Slot.js.map +1 -1
- package/dist/esm/layouts/SlotPlacement.js.map +1 -1
- package/dist/esm/packages/PackageDependency.js.map +1 -1
- package/dist/esm/packages/PackageKind.js.map +1 -1
- package/dist/esm/packages/ScenePackage.js.map +1 -1
- package/dist/esm/profiles/Theme.js.map +1 -1
- package/dist/esm/profiles/UiProfile.js.map +1 -1
- package/dist/esm/screens/DialogTemplate.js.map +1 -1
- package/dist/esm/screens/Screen.js.map +1 -1
- package/dist/esm/screens/ScreenTemplate.js.map +1 -1
- package/dist/esm/sizeClasses/HeightSizeClass.js.map +1 -1
- package/dist/esm/sizeClasses/SizeClass.js.map +1 -1
- package/dist/esm/sizeClasses/WidthSizeClass.js.map +1 -1
- package/dist/esm/starters/UiStarter.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/elements/panels/Canvas.ts +21 -0
- package/elements/panels/index.ts +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageDependency.js","sources":["../../../packages/PackageDependency.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\n/**\n * One package a {@link ScenePackage} needs present in the same {@link UiProfile} to work.\n * `@cratis/components` is written against PrimeReact and Tailwind, so it declares both - a profile\n * listing it without them is stating something that cannot render, and that has to be visible rather\n * than discovered at runtime.\n */\nexport interface PackageDependency {\n /**\n * The name of the package depended on, matching that package's `name`.\n */\n name: string;\n\n /**\n * An optional semver range the dependency must satisfy. Left undefined when any version will do -\n * which is the common case, since a profile only ever activates one version of a package.\n */\n versionRange?: string;\n}\n\nexport const PackageDependencyPropertyNames: (keyof PackageDependency)[] = ['name', 'versionRange'];\n"],"names":["PackageDependencyPropertyNames"],"mappings":"AAAA;AACA;AAEA;;;;;UAmBaA,8BAAAA,GAA8D;AAAC,IAAA,MAAA;AAAQ,IAAA
|
|
1
|
+
{"version":3,"file":"PackageDependency.js","sources":["../../../packages/PackageDependency.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\n/**\n * One package a {@link ScenePackage} needs present in the same {@link UiProfile} to work.\n * `@cratis/components` is written against PrimeReact and Tailwind, so it declares both - a profile\n * listing it without them is stating something that cannot render, and that has to be visible rather\n * than discovered at runtime.\n */\nexport interface PackageDependency {\n /**\n * The name of the package depended on, matching that package's `name`.\n */\n name: string;\n\n /**\n * An optional semver range the dependency must satisfy. Left undefined when any version will do -\n * which is the common case, since a profile only ever activates one version of a package.\n */\n versionRange?: string;\n}\n\nexport const PackageDependencyPropertyNames: (keyof PackageDependency)[] = ['name', 'versionRange'];\n"],"names":["PackageDependencyPropertyNames"],"mappings":"AAAA;AACA;AAEA;;;;;UAmBaA,8BAAAA,GAA8D;AAAC,IAAA,MAAA;AAAQ,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageKind.js","sources":["../../../packages/PackageKind.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\n/**\n * What a {@link ScenePackage} contributes to a {@link UiProfile}. A profile's package list mixes all\n * three kinds freely - the kind says what a package is for, never where it sits in the override-priority\n * order.\n */\nexport enum PackageKind {\n /**\n * Declares component names a screen can resolve against. A package with no dependency on another\n * `ComponentLibrary` is a base library (PrimeReact, `core`); one that depends on another layers on\n * top of it.\n */\n ComponentLibrary = 'ComponentLibrary',\n\n /**\n * Contributes styling rather than components - a utility CSS system such as Tailwind. A styling\n * package usually declares no components at all; component libraries depend on it to say \"my\n * components are written against this styling system\".\n */\n Styling = 'Styling',\n\n /**\n * Provides the shape of an application: its {@link Layout}s, the {@link ScreenTemplate}s and\n * {@link DialogTemplate}s built on them, and the components that fill their slots. An application\n * selects one blueprint, and gets a coherent set rather than assembling layouts and templates from\n * unrelated sources.\n *\n * A blueprint depends on the component libraries it is built from — the default blueprint is written\n * against PrimeReact and Cratis Components, and says so. That is what makes \"which blueprints can I\n * use\" answerable from the packages a profile already has.\n */\n Blueprint = 'Blueprint',\n}\n"],"names":["PackageKind"],"mappings":"AAAA;AACA;AAEA;;;;IAKO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;AACR;;;;AAIC,QAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,kBAAA;AAGD;;;;AAIC,QAAA,WAAA,CAAA,SAAA,CAAA,GAAA,SAAA;AAGD;;;;;;;;;AASC,QAAA,WAAA,CAAA,WAAA,CAAA,GAAA,WAAA;AAxBOA,IAAAA,OAAAA,WAAAA;AA0BX,CAAA,CAAA,EAAA
|
|
1
|
+
{"version":3,"file":"PackageKind.js","sources":["../../../packages/PackageKind.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\n/**\n * What a {@link ScenePackage} contributes to a {@link UiProfile}. A profile's package list mixes all\n * three kinds freely - the kind says what a package is for, never where it sits in the override-priority\n * order.\n */\nexport enum PackageKind {\n /**\n * Declares component names a screen can resolve against. A package with no dependency on another\n * `ComponentLibrary` is a base library (PrimeReact, `core`); one that depends on another layers on\n * top of it.\n */\n ComponentLibrary = 'ComponentLibrary',\n\n /**\n * Contributes styling rather than components - a utility CSS system such as Tailwind. A styling\n * package usually declares no components at all; component libraries depend on it to say \"my\n * components are written against this styling system\".\n */\n Styling = 'Styling',\n\n /**\n * Provides the shape of an application: its {@link Layout}s, the {@link ScreenTemplate}s and\n * {@link DialogTemplate}s built on them, and the components that fill their slots. An application\n * selects one blueprint, and gets a coherent set rather than assembling layouts and templates from\n * unrelated sources.\n *\n * A blueprint depends on the component libraries it is built from — the default blueprint is written\n * against PrimeReact and Cratis Components, and says so. That is what makes \"which blueprints can I\n * use\" answerable from the packages a profile already has.\n */\n Blueprint = 'Blueprint',\n}\n"],"names":["PackageKind"],"mappings":"AAAA;AACA;AAEA;;;;IAKO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;AACR;;;;AAIC,QAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,kBAAA;AAGD;;;;AAIC,QAAA,WAAA,CAAA,SAAA,CAAA,GAAA,SAAA;AAGD;;;;;;;;;AASC,QAAA,WAAA,CAAA,WAAA,CAAA,GAAA,WAAA;AAxBOA,IAAAA,OAAAA,WAAAA;AA0BX,CAAA,CAAA,EAAA;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScenePackage.js","sources":["../../../packages/ScenePackage.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 { PackageDependency } from './PackageDependency';\nimport { PackageKind } from './PackageKind';\n\n/**\n * What a {@link UiProfile}'s `packages` entry actually names. A profile lists packages by name only;\n * this is the declaration behind the name - what it contributes, and what else has to be active for it\n * to work.\n */\nexport interface ScenePackage {\n /**\n * The name a {@link UiProfile} lists, and the name a {@link PackageDependency} refers to.\n */\n name: string;\n\n /**\n * The package's own version, so a {@link PackageDependency.versionRange} has something to check against.\n */\n version: string;\n\n /**\n * What the package contributes.\n */\n kind: PackageKind;\n\n /**\n * Other packages that must be active in the same profile for this one to work.\n */\n dependencies: PackageDependency[];\n\n /**\n * The component names this package declares - the catalog entry {@link UiProfile} resolution walks.\n */\n components: string[];\n\n /**\n * The names of the {@link Layout}s this package provides — an application's base navigational shells.\n * Empty for anything that is not a {@link PackageKind.Blueprint}.\n */\n layouts: string[];\n\n /**\n * The names of the {@link ScreenTemplate}s this package provides — the shapes that go inside a layout,\n * at module, feature and slice level.\n */\n screenTemplates: string[];\n\n /**\n * The names of the {@link DialogTemplate}s this package provides.\n */\n dialogTemplates: string[];\n\n /**\n * The names of the {@link Theme}s this package ships, empty for a package that ships none.\n */\n themes: string[];\n\n /**\n * A human-readable name for a package picker, falling back to `name` when absent.\n */\n displayName?: string;\n\n /**\n * A one-line description for a package picker.\n */\n description?: string;\n\n /**\n * The module that implements the package - an npm package name for a web renderer. Design-time\n * tooling needs it to know what to import; the model itself never loads anything.\n */\n module?: string;\n\n /**\n * The license the package is available under, as a short human-readable name (`MIT`,\n * `PrimeUI Community`). A package picker shows it, because \"what am I taking on by selecting this\"\n * is a question an author needs answered before they select it, not after.\n */\n license?: string;\n\n /**\n * Where the license terms actually live, so a reader can go and check rather than take `license` on\n * trust. Required in practice for anything that is not a permissive standard license — a name alone\n * tells an author nothing about eligibility or obligations.\n */\n licenseUrl?: string;\n}\n\nexport const ScenePackagePropertyNames: (keyof ScenePackage)[] = [\n 'name',\n 'version',\n 'kind',\n 'dependencies',\n 'components',\n 'layouts',\n 'screenTemplates',\n 'dialogTemplates',\n 'themes',\n 'displayName',\n 'description',\n 'module',\n 'license',\n 'licenseUrl',\n];\n"],"names":["ScenePackagePropertyNames"],"mappings":"AAAA;AACA;MAyFaA,yBAAAA,GAAoD;AAC7D,IAAA,MAAA;AACA,IAAA,SAAA;AACA,IAAA,MAAA;AACA,IAAA,cAAA;AACA,IAAA,YAAA;AACA,IAAA,SAAA;AACA,IAAA,iBAAA;AACA,IAAA,iBAAA;AACA,IAAA,QAAA;AACA,IAAA,aAAA;AACA,IAAA,aAAA;AACA,IAAA,QAAA;AACA,IAAA,SAAA;AACA,IAAA
|
|
1
|
+
{"version":3,"file":"ScenePackage.js","sources":["../../../packages/ScenePackage.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 { PackageDependency } from './PackageDependency';\nimport { PackageKind } from './PackageKind';\n\n/**\n * What a {@link UiProfile}'s `packages` entry actually names. A profile lists packages by name only;\n * this is the declaration behind the name - what it contributes, and what else has to be active for it\n * to work.\n */\nexport interface ScenePackage {\n /**\n * The name a {@link UiProfile} lists, and the name a {@link PackageDependency} refers to.\n */\n name: string;\n\n /**\n * The package's own version, so a {@link PackageDependency.versionRange} has something to check against.\n */\n version: string;\n\n /**\n * What the package contributes.\n */\n kind: PackageKind;\n\n /**\n * Other packages that must be active in the same profile for this one to work.\n */\n dependencies: PackageDependency[];\n\n /**\n * The component names this package declares - the catalog entry {@link UiProfile} resolution walks.\n */\n components: string[];\n\n /**\n * The names of the {@link Layout}s this package provides — an application's base navigational shells.\n * Empty for anything that is not a {@link PackageKind.Blueprint}.\n */\n layouts: string[];\n\n /**\n * The names of the {@link ScreenTemplate}s this package provides — the shapes that go inside a layout,\n * at module, feature and slice level.\n */\n screenTemplates: string[];\n\n /**\n * The names of the {@link DialogTemplate}s this package provides.\n */\n dialogTemplates: string[];\n\n /**\n * The names of the {@link Theme}s this package ships, empty for a package that ships none.\n */\n themes: string[];\n\n /**\n * A human-readable name for a package picker, falling back to `name` when absent.\n */\n displayName?: string;\n\n /**\n * A one-line description for a package picker.\n */\n description?: string;\n\n /**\n * The module that implements the package - an npm package name for a web renderer. Design-time\n * tooling needs it to know what to import; the model itself never loads anything.\n */\n module?: string;\n\n /**\n * The license the package is available under, as a short human-readable name (`MIT`,\n * `PrimeUI Community`). A package picker shows it, because \"what am I taking on by selecting this\"\n * is a question an author needs answered before they select it, not after.\n */\n license?: string;\n\n /**\n * Where the license terms actually live, so a reader can go and check rather than take `license` on\n * trust. Required in practice for anything that is not a permissive standard license — a name alone\n * tells an author nothing about eligibility or obligations.\n */\n licenseUrl?: string;\n}\n\nexport const ScenePackagePropertyNames: (keyof ScenePackage)[] = [\n 'name',\n 'version',\n 'kind',\n 'dependencies',\n 'components',\n 'layouts',\n 'screenTemplates',\n 'dialogTemplates',\n 'themes',\n 'displayName',\n 'description',\n 'module',\n 'license',\n 'licenseUrl',\n];\n"],"names":["ScenePackagePropertyNames"],"mappings":"AAAA;AACA;MAyFaA,yBAAAA,GAAoD;AAC7D,IAAA,MAAA;AACA,IAAA,SAAA;AACA,IAAA,MAAA;AACA,IAAA,cAAA;AACA,IAAA,YAAA;AACA,IAAA,SAAA;AACA,IAAA,iBAAA;AACA,IAAA,iBAAA;AACA,IAAA,QAAA;AACA,IAAA,aAAA;AACA,IAAA,aAAA;AACA,IAAA,QAAA;AACA,IAAA,SAAA;AACA,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.js","sources":["../../../profiles/Theme.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\n/**\n * A named token/styling layer, declaring which component packages it is known to work with. An\n * incompatible theme/package pairing is a warning, not an error — the theme might still work by\n * coincidence, but the gap must be visible.\n */\nexport interface Theme {\n /**\n * The theme's name.\n */\n name: string;\n\n /**\n * The component packages this theme is declared compatible with.\n */\n compatibleWith: string[];\n\n /**\n * The theme's design tokens, keyed by semantic name (`primary.color`, `surface.background`,\n * `content.borderColor`, ...). Deliberately semantic rather than CSS: a renderer decides how a token\n * becomes a custom property, a native style, or anything else. Absent for a theme a package applies\n * by its own means rather than through tokens.\n */\n tokens?: Record<string, string>;\n\n /**\n * Whether the theme is a dark scheme, so a picker can group and preview it correctly.\n */\n isDark?: boolean;\n\n /**\n * Who created the theme. A theme adopted from somewhere else — PrimeTek's free presets, a community\n * theme — must credit its original creator here rather than appear to be ours.\n */\n author?: string;\n\n /**\n * A link to the original creator or the theme's home, shown alongside `author`.\n */\n authorUrl?: string;\n\n /**\n * The license the theme is used under, so redistributing it stays honest.\n */\n license?: string;\n\n /**\n * A one-line description for a theme picker.\n */\n description?: string;\n\n /**\n * Where those license terms live, so a reader can check them rather than take `license` on trust.\n */\n licenseUrl?: string;\n}\n\nexport const ThemePropertyNames: (keyof Theme)[] = [\n 'name',\n 'compatibleWith',\n 'tokens',\n 'isDark',\n 'author',\n 'authorUrl',\n 'license',\n 'description',\n 'licenseUrl',\n];\n"],"names":["ThemePropertyNames"],"mappings":"AAAA;AACA;AAEA;;;;UAwDaA,kBAAAA,GAAsC;AAC/C,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,WAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA
|
|
1
|
+
{"version":3,"file":"Theme.js","sources":["../../../profiles/Theme.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\n/**\n * A named token/styling layer, declaring which component packages it is known to work with. An\n * incompatible theme/package pairing is a warning, not an error — the theme might still work by\n * coincidence, but the gap must be visible.\n */\nexport interface Theme {\n /**\n * The theme's name.\n */\n name: string;\n\n /**\n * The component packages this theme is declared compatible with.\n */\n compatibleWith: string[];\n\n /**\n * The theme's design tokens, keyed by semantic name (`primary.color`, `surface.background`,\n * `content.borderColor`, ...). Deliberately semantic rather than CSS: a renderer decides how a token\n * becomes a custom property, a native style, or anything else. Absent for a theme a package applies\n * by its own means rather than through tokens.\n */\n tokens?: Record<string, string>;\n\n /**\n * Whether the theme is a dark scheme, so a picker can group and preview it correctly.\n */\n isDark?: boolean;\n\n /**\n * Who created the theme. A theme adopted from somewhere else — PrimeTek's free presets, a community\n * theme — must credit its original creator here rather than appear to be ours.\n */\n author?: string;\n\n /**\n * A link to the original creator or the theme's home, shown alongside `author`.\n */\n authorUrl?: string;\n\n /**\n * The license the theme is used under, so redistributing it stays honest.\n */\n license?: string;\n\n /**\n * A one-line description for a theme picker.\n */\n description?: string;\n\n /**\n * Where those license terms live, so a reader can check them rather than take `license` on trust.\n */\n licenseUrl?: string;\n}\n\nexport const ThemePropertyNames: (keyof Theme)[] = [\n 'name',\n 'compatibleWith',\n 'tokens',\n 'isDark',\n 'author',\n 'authorUrl',\n 'license',\n 'description',\n 'licenseUrl',\n];\n"],"names":["ThemePropertyNames"],"mappings":"AAAA;AACA;AAEA;;;;UAwDaA,kBAAAA,GAAsC;AAC/C,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,WAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiProfile.js","sources":["../../../profiles/UiProfile.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 { SizeClass } from '../sizeClasses';\n\n/**\n * A named target: a platform, a default size class, an ordered list of component packages, and the\n * application shell and visual theme it selects. Declaration order in `packages` is override priority — a\n * later package shadows an earlier one when both resolve the same bare component name. `core` is always\n * the final fallback, so a minimum vocabulary resolves regardless of which packages a profile lists.\n *\n * A profile is where the choices that make a description concrete are made: which component vocabulary,\n * which shell, which theme. Deliberately none of them are stated by a {@link Screen} — that is what keeps\n * a screen portable across targets, and what lets one application ship a different shell to the web than\n * to a phone.\n */\nexport interface UiProfile {\n /**\n * The profile's name.\n */\n name: string;\n\n /**\n * The platform this profile targets (e.g. `web`, `ios`, `android`, `desktop`).\n */\n targetPlatform: string;\n\n /**\n * The component packages this profile draws from, in override-priority order.\n */\n packages: string[];\n\n /**\n * The size class assumed when the renderer cannot otherwise determine one.\n */\n defaultSizeClass?: SizeClass;\n\n /**\n * The name of the {@link Layout} this profile renders inside — the application's base navigational\n * shell, normally provided by a blueprint in `packages`. Absent when the profile does not select one.\n */\n layout?: string;\n\n /**\n * The name of the {@link Theme} this profile applies, or absent when it selects none. A theme is only\n * meaningful relative to a set of packages, which is why it is chosen here rather than by a screen.\n */\n theme?: string;\n}\n\nexport const UiProfilePropertyNames: (keyof UiProfile)[] = [\n 'name',\n 'targetPlatform',\n 'packages',\n 'defaultSizeClass',\n 'layout',\n 'theme',\n];\n"],"names":["UiProfilePropertyNames"],"mappings":"AAAA;AACA;MAiDaA,sBAAAA,GAA8C;AACvD,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,UAAA;AACA,IAAA,kBAAA;AACA,IAAA,QAAA;AACA,IAAA
|
|
1
|
+
{"version":3,"file":"UiProfile.js","sources":["../../../profiles/UiProfile.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 { SizeClass } from '../sizeClasses';\n\n/**\n * A named target: a platform, a default size class, an ordered list of component packages, and the\n * application shell and visual theme it selects. Declaration order in `packages` is override priority — a\n * later package shadows an earlier one when both resolve the same bare component name. `core` is always\n * the final fallback, so a minimum vocabulary resolves regardless of which packages a profile lists.\n *\n * A profile is where the choices that make a description concrete are made: which component vocabulary,\n * which shell, which theme. Deliberately none of them are stated by a {@link Screen} — that is what keeps\n * a screen portable across targets, and what lets one application ship a different shell to the web than\n * to a phone.\n */\nexport interface UiProfile {\n /**\n * The profile's name.\n */\n name: string;\n\n /**\n * The platform this profile targets (e.g. `web`, `ios`, `android`, `desktop`).\n */\n targetPlatform: string;\n\n /**\n * The component packages this profile draws from, in override-priority order.\n */\n packages: string[];\n\n /**\n * The size class assumed when the renderer cannot otherwise determine one.\n */\n defaultSizeClass?: SizeClass;\n\n /**\n * The name of the {@link Layout} this profile renders inside — the application's base navigational\n * shell, normally provided by a blueprint in `packages`. Absent when the profile does not select one.\n */\n layout?: string;\n\n /**\n * The name of the {@link Theme} this profile applies, or absent when it selects none. A theme is only\n * meaningful relative to a set of packages, which is why it is chosen here rather than by a screen.\n */\n theme?: string;\n}\n\nexport const UiProfilePropertyNames: (keyof UiProfile)[] = [\n 'name',\n 'targetPlatform',\n 'packages',\n 'defaultSizeClass',\n 'layout',\n 'theme',\n];\n"],"names":["UiProfilePropertyNames"],"mappings":"AAAA;AACA;MAiDaA,sBAAAA,GAA8C;AACvD,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,UAAA;AACA,IAAA,kBAAA;AACA,IAAA,QAAA;AACA,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTemplate.js","sources":["../../../screens/DialogTemplate.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 { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\n\n/**\n * A reusable dialog structure — the same idea as a {@link ScreenTemplate}, for content that opens over an\n * application rather than sitting inside it.\n *\n * A dialog has no `fitsSlot` because it occupies no slot: it is an overlay, summoned by something rather\n * than placed by a containing layout. Everything else is the same, which is deliberate — a confirmation\n * dialog and a detail screen are both \"slots with an arrangement, filled with content\", and there is no\n * reason for an author to learn that twice.\n */\nexport interface DialogTemplate {\n /**\n * The template's name.\n */\n name: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other. Absent for declaration order with\n * no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — a dialog's own chrome, such as its header\n * and button bar.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n}\n\nexport const DialogTemplatePropertyNames: (keyof DialogTemplate)[] = [\n 'name',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n];\n"],"names":["DialogTemplatePropertyNames"],"mappings":"AAAA;AACA;MAgDaA,2BAAAA,GAAwD;AACjE,IAAA,MAAA;AACA,IAAA,OAAA;AACA,IAAA,aAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA
|
|
1
|
+
{"version":3,"file":"DialogTemplate.js","sources":["../../../screens/DialogTemplate.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 { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\n\n/**\n * A reusable dialog structure — the same idea as a {@link ScreenTemplate}, for content that opens over an\n * application rather than sitting inside it.\n *\n * A dialog has no `fitsSlot` because it occupies no slot: it is an overlay, summoned by something rather\n * than placed by a containing layout. Everything else is the same, which is deliberate — a confirmation\n * dialog and a detail screen are both \"slots with an arrangement, filled with content\", and there is no\n * reason for an author to learn that twice.\n */\nexport interface DialogTemplate {\n /**\n * The template's name.\n */\n name: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other. Absent for declaration order with\n * no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — a dialog's own chrome, such as its header\n * and button bar.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n}\n\nexport const DialogTemplatePropertyNames: (keyof DialogTemplate)[] = [\n 'name',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n];\n"],"names":["DialogTemplatePropertyNames"],"mappings":"AAAA;AACA;MAgDaA,2BAAAA,GAAwD;AACjE,IAAA,MAAA;AACA,IAAA,OAAA;AACA,IAAA,aAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Screen.js","sources":["../../../screens/Screen.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 { SceneElement } from '../elements';\nimport { Form } from '../forms';\nimport { Contribution } from '../contributionPoints';\n\n/**\n * A named screen: the structure it fills, the content that fills it, the forms it hosts, and whatever it\n * contributes to contribution points elsewhere in the tree.\n *\n * A screen is an instance, not a shape. The shape comes from either the application's {@link Layout} — for\n * a screen that sits directly in the application shell — or a {@link ScreenTemplate}, for one nested\n * inside a module, feature or slice. Both declare slots; a screen only ever fills them.\n */\nexport interface Screen {\n /**\n * The screen's name.\n */\n name: string;\n\n /**\n * The resolved name of the application {@link Layout} this screen ultimately renders inside.\n */\n layout: string;\n\n /**\n * The content filling each slot, keyed by slot name.\n */\n slotContent: Record<string, SceneElement[]>;\n\n /**\n * The forms this screen hosts.\n */\n forms: Form[];\n\n /**\n * What this screen contributes to contribution points elsewhere in the tree.\n */\n contributions: Contribution[];\n\n /**\n * The resolved name of the {@link ScreenTemplate} this screen fills, or undefined when it fills the\n * `layout`'s own slots directly. The template's `fitsSlot` is what decides where it lands, so a screen\n * never has to state its own position.\n */\n screenTemplate?: string;\n}\n\nexport const ScreenPropertyNames: (keyof Screen)[] = ['name', 'layout', 'slotContent', 'forms', 'contributions', 'screenTemplate'];\n"],"names":["ScreenPropertyNames"],"mappings":"AAAA;AACA;MAgDaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,aAAA;AAAe,IAAA,OAAA;AAAS,IAAA,eAAA;AAAiB,IAAA
|
|
1
|
+
{"version":3,"file":"Screen.js","sources":["../../../screens/Screen.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 { SceneElement } from '../elements';\nimport { Form } from '../forms';\nimport { Contribution } from '../contributionPoints';\n\n/**\n * A named screen: the structure it fills, the content that fills it, the forms it hosts, and whatever it\n * contributes to contribution points elsewhere in the tree.\n *\n * A screen is an instance, not a shape. The shape comes from either the application's {@link Layout} — for\n * a screen that sits directly in the application shell — or a {@link ScreenTemplate}, for one nested\n * inside a module, feature or slice. Both declare slots; a screen only ever fills them.\n */\nexport interface Screen {\n /**\n * The screen's name.\n */\n name: string;\n\n /**\n * The resolved name of the application {@link Layout} this screen ultimately renders inside.\n */\n layout: string;\n\n /**\n * The content filling each slot, keyed by slot name.\n */\n slotContent: Record<string, SceneElement[]>;\n\n /**\n * The forms this screen hosts.\n */\n forms: Form[];\n\n /**\n * What this screen contributes to contribution points elsewhere in the tree.\n */\n contributions: Contribution[];\n\n /**\n * The resolved name of the {@link ScreenTemplate} this screen fills, or undefined when it fills the\n * `layout`'s own slots directly. The template's `fitsSlot` is what decides where it lands, so a screen\n * never has to state its own position.\n */\n screenTemplate?: string;\n}\n\nexport const ScreenPropertyNames: (keyof Screen)[] = ['name', 'layout', 'slotContent', 'forms', 'contributions', 'screenTemplate'];\n"],"names":["ScreenPropertyNames"],"mappings":"AAAA;AACA;MAgDaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,aAAA;AAAe,IAAA,OAAA;AAAS,IAAA,eAAA;AAAiB,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenTemplate.js","sources":["../../../screens/ScreenTemplate.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 { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\n\n/**\n * A reusable screen structure that fills a named slot on whatever contains it, and offers slots of its\n * own for what it contains in turn.\n *\n * A {@link Layout} and a screen template are deliberately different things. A layout is the application's\n * base navigational look — the shell with its top bar, navigation and content region — and an application\n * has one. A screen template is what goes *inside* that shell, and an application has many: one per\n * module, feature or slice that needs a shape of its own.\n *\n * `fitsSlot` is what makes them compose. A module's screen template fits the application layout's content\n * slot; a feature's screen template fits a slot the module's template declares; a slice's fits one the\n * feature's declares. The same rule at every level, so nesting is arbitrarily deep without a second\n * mechanism — and a template always states where it belongs rather than being told by whatever happens to\n * host it.\n */\nexport interface ScreenTemplate {\n /**\n * The template's name, which a {@link Screen} refers to.\n */\n name: string;\n\n /**\n * The name of the slot on the containing {@link Layout} or screen template this one fills, or\n * undefined for a template that is placed explicitly rather than by declaration.\n */\n fitsSlot?: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other — the same shape a {@link Layout}\n * uses, evaluated by the same engine. Absent for declaration order with no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — the chrome a template brings with it, as\n * opposed to what a {@link Screen} based on it fills in.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n}\n\nexport const ScreenTemplatePropertyNames: (keyof ScreenTemplate)[] = [\n 'name',\n 'fitsSlot',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n];\n"],"names":["ScreenTemplatePropertyNames"],"mappings":"AAAA;AACA;MA4DaA,2BAAAA,GAAwD;AACjE,IAAA,MAAA;AACA,IAAA,UAAA;AACA,IAAA,OAAA;AACA,IAAA,aAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA
|
|
1
|
+
{"version":3,"file":"ScreenTemplate.js","sources":["../../../screens/ScreenTemplate.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 { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\n\n/**\n * A reusable screen structure that fills a named slot on whatever contains it, and offers slots of its\n * own for what it contains in turn.\n *\n * A {@link Layout} and a screen template are deliberately different things. A layout is the application's\n * base navigational look — the shell with its top bar, navigation and content region — and an application\n * has one. A screen template is what goes *inside* that shell, and an application has many: one per\n * module, feature or slice that needs a shape of its own.\n *\n * `fitsSlot` is what makes them compose. A module's screen template fits the application layout's content\n * slot; a feature's screen template fits a slot the module's template declares; a slice's fits one the\n * feature's declares. The same rule at every level, so nesting is arbitrarily deep without a second\n * mechanism — and a template always states where it belongs rather than being told by whatever happens to\n * host it.\n */\nexport interface ScreenTemplate {\n /**\n * The template's name, which a {@link Screen} refers to.\n */\n name: string;\n\n /**\n * The name of the slot on the containing {@link Layout} or screen template this one fills, or\n * undefined for a template that is placed explicitly rather than by declaration.\n */\n fitsSlot?: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other — the same shape a {@link Layout}\n * uses, evaluated by the same engine. Absent for declaration order with no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — the chrome a template brings with it, as\n * opposed to what a {@link Screen} based on it fills in.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n}\n\nexport const ScreenTemplatePropertyNames: (keyof ScreenTemplate)[] = [\n 'name',\n 'fitsSlot',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n];\n"],"names":["ScreenTemplatePropertyNames"],"mappings":"AAAA;AACA;MA4DaA,2BAAAA,GAAwD;AACjE,IAAA,MAAA;AACA,IAAA,UAAA;AACA,IAAA,OAAA;AACA,IAAA,aAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeightSizeClass.js","sources":["../../../sizeClasses/HeightSizeClass.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\n/**\n * The height axis of a {@link SizeClass}.\n */\nexport enum HeightSizeClass {\n Compact = 'Compact',\n Regular = 'Regular',\n}\n"],"names":["HeightSizeClass"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,eAAAA,iBAAAA,SAAAA,eAAAA,EAAAA;;;AAAAA,IAAAA,OAAAA,eAAAA;AAGX,CAAA,CAAA,EAAA
|
|
1
|
+
{"version":3,"file":"HeightSizeClass.js","sources":["../../../sizeClasses/HeightSizeClass.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\n/**\n * The height axis of a {@link SizeClass}.\n */\nexport enum HeightSizeClass {\n Compact = 'Compact',\n Regular = 'Regular',\n}\n"],"names":["HeightSizeClass"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,eAAAA,iBAAAA,SAAAA,eAAAA,EAAAA;;;AAAAA,IAAAA,OAAAA,eAAAA;AAGX,CAAA,CAAA,EAAA;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizeClass.js","sources":["../../../sizeClasses/SizeClass.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 { WidthSizeClass } from './WidthSizeClass';\nimport { HeightSizeClass } from './HeightSizeClass';\n\n/**\n * A width x height size class, UIKit-style. Phone portrait/landscape, tablet and desktop all fall out\n * of this matrix — there is deliberately no separate orientation concept.\n */\nexport interface SizeClass {\n width: WidthSizeClass;\n height: HeightSizeClass;\n}\n\nexport const SizeClassPropertyNames: (keyof SizeClass)[] = ['width', 'height'];\n"],"names":["SizeClassPropertyNames"],"mappings":"AAAA;AACA;MAcaA,sBAAAA,GAA8C;AAAC,IAAA,OAAA;AAAS,IAAA
|
|
1
|
+
{"version":3,"file":"SizeClass.js","sources":["../../../sizeClasses/SizeClass.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 { WidthSizeClass } from './WidthSizeClass';\nimport { HeightSizeClass } from './HeightSizeClass';\n\n/**\n * A width x height size class, UIKit-style. Phone portrait/landscape, tablet and desktop all fall out\n * of this matrix — there is deliberately no separate orientation concept.\n */\nexport interface SizeClass {\n width: WidthSizeClass;\n height: HeightSizeClass;\n}\n\nexport const SizeClassPropertyNames: (keyof SizeClass)[] = ['width', 'height'];\n"],"names":["SizeClassPropertyNames"],"mappings":"AAAA;AACA;MAcaA,sBAAAA,GAA8C;AAAC,IAAA,OAAA;AAAS,IAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidthSizeClass.js","sources":["../../../sizeClasses/WidthSizeClass.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\n/**\n * The width axis of a {@link SizeClass}.\n */\nexport enum WidthSizeClass {\n Compact = 'Compact',\n Regular = 'Regular',\n}\n"],"names":["WidthSizeClass"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,cAAAA,iBAAAA,SAAAA,cAAAA,EAAAA;;;AAAAA,IAAAA,OAAAA,cAAAA;AAGX,CAAA,CAAA,EAAA
|
|
1
|
+
{"version":3,"file":"WidthSizeClass.js","sources":["../../../sizeClasses/WidthSizeClass.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\n/**\n * The width axis of a {@link SizeClass}.\n */\nexport enum WidthSizeClass {\n Compact = 'Compact',\n Regular = 'Regular',\n}\n"],"names":["WidthSizeClass"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,cAAAA,iBAAAA,SAAAA,cAAAA,EAAAA;;;AAAAA,IAAAA,OAAAA,cAAAA;AAGX,CAAA,CAAA,EAAA;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiStarter.js","sources":["../../../starters/UiStarter.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\n/**\n * A packaged, versioned UI starting point: a package list, the themes it ships compatible with, and a\n * gallery of ordinary screens shipped alongside it - part of Cratis/Scene#6. A starter is data, not a\n * `.play` language construct; Studio's \"new project\" flow scaffolds from it, and its gallery boots\n * through the real `Scene.Engine` + `Scene.React` inside a sandboxed `UiProfile` built from `packages` -\n * there is no separate preview pipeline and no mocked screens.\n */\nexport interface UiStarter {\n name: string;\n packages: string[];\n themes: string[];\n gallery: string[];\n}\n\nexport const UiStarterPropertyNames: (keyof UiStarter)[] = ['name', 'packages', 'themes', 'gallery'];\n"],"names":["UiStarterPropertyNames"],"mappings":"AAAA;AACA;AAEA;;;;;;UAcaA,sBAAAA,GAA8C;AAAC,IAAA,MAAA;AAAQ,IAAA,UAAA;AAAY,IAAA,QAAA;AAAU,IAAA
|
|
1
|
+
{"version":3,"file":"UiStarter.js","sources":["../../../starters/UiStarter.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\n/**\n * A packaged, versioned UI starting point: a package list, the themes it ships compatible with, and a\n * gallery of ordinary screens shipped alongside it - part of Cratis/Scene#6. A starter is data, not a\n * `.play` language construct; Studio's \"new project\" flow scaffolds from it, and its gallery boots\n * through the real `Scene.Engine` + `Scene.React` inside a sandboxed `UiProfile` built from `packages` -\n * there is no separate preview pipeline and no mocked screens.\n */\nexport interface UiStarter {\n name: string;\n packages: string[];\n themes: string[];\n gallery: string[];\n}\n\nexport const UiStarterPropertyNames: (keyof UiStarter)[] = ['name', 'packages', 'themes', 'gallery'];\n"],"names":["UiStarterPropertyNames"],"mappings":"AAAA;AACA;AAEA;;;;;;UAcaA,sBAAAA,GAA8C;AAAC,IAAA,MAAA;AAAQ,IAAA,UAAA;AAAY,IAAA,QAAA;AAAU,IAAA;;;"}
|