@cratis/scene.blueprint.administration 5.1.0 → 5.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/README.md CHANGED
@@ -17,6 +17,12 @@ forms, contribution points, ui profiles and themes), `Scene.Engine` (binding/res
17
17
  [![NPM](https://img.shields.io/npm/v/@cratis/scene.engine?label=@cratis/scene.engine&logo=npm)](https://www.npmjs.com/package/@cratis/scene.engine)
18
18
  [![NPM](https://img.shields.io/npm/v/@cratis/scene.react?label=@cratis/scene.react&logo=npm)](https://www.npmjs.com/package/@cratis/scene.react)
19
19
 
20
+ ## .NET support
21
+
22
+ `Cratis.Scene.Model` and `Cratis.Scene.Engine` target .NET 10 and .NET 11. .NET 8 and .NET 9 are no longer supported.
23
+ Building from source requires the .NET 11 SDK selected by `global.json`. Specifications run on .NET 11 by default;
24
+ CI also runs both library specification projects on .NET 10.
25
+
20
26
  ## Builds
21
27
 
22
28
  [![.NET Build](https://github.com/cratis/scene/actions/workflows/dotnet-build.yml/badge.svg)](https://github.com/cratis/scene/actions/workflows/dotnet-build.yml)
@@ -1 +1 @@
1
- {"version":3,"file":"administrationQueries.js","sources":["../../administrationQueries.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 { BindingExpression, BindingSourceKind } from '@cratis/scene.model';\n\n/**\n * A property taken from a query result - never a value. An Administration template declares *where* its data comes from and the sample-data pack, or the real\n * query, supplies the rows (spec SD1); `path` reaches into the result (`0.value` is the first row's `value`, an empty path is the whole result).\n */\nexport const fromQuery = (query: string, path = ''): BindingExpression => ({ kind: BindingSourceKind.QueryResult, query, path });\n\n/** The queries of the screens that are not a plain list. Each is a shape the sample-data pack supplies rows for. */\nexport const AdministrationQuery = {\n /** One row: the `locale` the figures and dates are formatted in. */\n Settings: 'AdminSettings',\n RecordTabs: 'AdministrationRecordTabs',\n RoleList: 'AdministrationRoles',\n RoleColumns: 'AdministrationRoleColumns',\n /** The roles as the permission matrix reads them: an `id` and a `label` each. */\n MatrixRoles: 'AdministrationMatrixRoles',\n Permissions: 'AdministrationPermissions',\n Grants: 'AdministrationGrants',\n SettingsSections: 'AdministrationSettingsSections',\n SettingsValues: 'AdministrationSettingsValues',\n FormErrors: 'AdministrationFormErrors',\n} as const;\n\n/** The entities a template is made for. */\nexport enum AdministrationEntityKind {\n User = 'User',\n Audit = 'Audit',\n}\n\n/** The read model (and so the shape) the records of each entity are queried from. */\nexport const administrationEntityPlural: Record<AdministrationEntityKind, string> = {\n [AdministrationEntityKind.User]: 'Users',\n [AdministrationEntityKind.Audit]: 'AuditEntries',\n};\n\n/**\n * The queries one entity's templates bind to, named from the entity so a template never spells one out: the records, the columns and filter fields of the\n * list, its saved views and column choices, the selection, the sections of the quick form, and what the record page shows.\n */\nexport const administrationQueriesOf = (entity: AdministrationEntityKind) => ({\n rows: administrationEntityPlural[entity],\n columns: `${entity}Columns`,\n filterFields: `${entity}FilterFields`,\n views: `${entity}Views`,\n columnChoices: `${entity}ColumnChoices`,\n selection: `${entity}Selection`,\n quickSections: `${entity}QuickSections`,\n record: `${entity}Record`,\n sections: `${entity}Sections`,\n summary: `${entity}Summary`,\n roles: `${entity}Roles`,\n sessions: `${entity}Sessions`,\n activity: `${entity}Activity`,\n});\n\n/** The locale and currency of the data, bound onto every component that formats a figure or a date. */\nexport const localeOfData = { locale: fromQuery(AdministrationQuery.Settings, '0.locale') };\nexport const currencyOfData = { ...localeOfData, currency: fromQuery(AdministrationQuery.Settings, '0.currency') };\n"],"names":["fromQuery","query","path","kind","BindingSourceKind","QueryResult","AdministrationQuery","Settings","RecordTabs","RoleList","RoleColumns","MatrixRoles","Permissions","Grants","SettingsSections","SettingsValues","FormErrors","AdministrationEntityKind","administrationEntityPlural","administrationQueriesOf","entity","rows","columns","filterFields","views","columnChoices","selection","quickSections","record","sections","summary","roles","sessions","activity","localeOfData","locale","currencyOfData","currency"],"mappings":";;;;AAAA;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AC;QACzBS,QAAAA,EAAU,CAAA,EAAGT,MAAAA,CAAO,QAAQ,CAAC;QAC7BU,OAAAA,EAAS,CAAA,EAAGV,MAAAA,CAAO,OAAO,CAAC;QAC3BW,KAAAA,EAAO,CAAA,EAAGX,MAAAA,CAAO,KAAK,CAAC;QACvBY,QAAAA,EAAU,CAAA,EAAGZ,MAAAA,CAAO,QAAQ,CAAC;QAC7Ba,QAAAA,EAAU,CAAA,EAAGb,MAAAA,CAAO,QAAQ;AAChC,KAAA;AAEA,wGACO,MAAMc,YAAAA,GAAe;IAAEC,MAAAA,EAAQnC,SAAAA,CAAUM,mBAAAA,CAAoBC,QAAQ,EAAE,UAAA;AAAY;MAC7E6B,cAAAA,GAAiB;AAAE,IAAA,GAAGF,YAAY;IAAEG,QAAAA,EAAUrC,SAAAA,CAAUM,mBAAAA,CAAoBC,QAAQ,EAAE,YAAA;AAAc;;;;;;;;"}
1
+ {"version":3,"file":"administrationQueries.js","sources":["../../administrationQueries.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 { BindingExpression, BindingSourceKind } from '@cratis/scene.model';\n\n/**\n * A property taken from a query result - never a value. An Administration template declares *where* its data comes from and the sample-data pack, or the real\n * query, supplies the rows (spec SD1); `path` reaches into the result (`0.value` is the first row's `value`, an empty path is the whole result).\n */\nexport const fromQuery = (query: string, path = ''): BindingExpression => ({ kind: BindingSourceKind.QueryResult, query, path });\n\n/** The queries of the screens that are not a plain list. Each is a shape the sample-data pack supplies rows for. */\nexport const AdministrationQuery = {\n /** One row: the `locale` the figures and dates are formatted in. */\n Settings: 'AdminSettings',\n RecordTabs: 'AdministrationRecordTabs',\n RoleList: 'AdministrationRoles',\n RoleColumns: 'AdministrationRoleColumns',\n /** The roles as the permission matrix reads them: an `id` and a `label` each. */\n MatrixRoles: 'AdministrationMatrixRoles',\n Permissions: 'AdministrationPermissions',\n Grants: 'AdministrationGrants',\n SettingsSections: 'AdministrationSettingsSections',\n SettingsValues: 'AdministrationSettingsValues',\n FormErrors: 'AdministrationFormErrors',\n} as const;\n\n/** The entities a template is made for. */\nexport enum AdministrationEntityKind {\n User = 'User',\n Audit = 'Audit',\n}\n\n/** The read model (and so the shape) the records of each entity are queried from. */\nexport const administrationEntityPlural: Record<AdministrationEntityKind, string> = {\n [AdministrationEntityKind.User]: 'Users',\n [AdministrationEntityKind.Audit]: 'AuditEntries',\n};\n\n/**\n * The queries one entity's templates bind to, named from the entity so a template never spells one out: the records, the columns and filter fields of the\n * list, its saved views and column choices, the selection, the sections of the quick form, and what the record page shows.\n */\nexport const administrationQueriesOf = (entity: AdministrationEntityKind) => ({\n rows: administrationEntityPlural[entity],\n columns: `${entity}Columns`,\n filterFields: `${entity}FilterFields`,\n views: `${entity}Views`,\n columnChoices: `${entity}ColumnChoices`,\n selection: `${entity}Selection`,\n quickSections: `${entity}QuickSections`,\n record: `${entity}Record`,\n sections: `${entity}Sections`,\n summary: `${entity}Summary`,\n roles: `${entity}Roles`,\n sessions: `${entity}Sessions`,\n activity: `${entity}Activity`,\n});\n\n/** The locale and currency of the data, bound onto every component that formats a figure or a date. */\nexport const localeOfData = { locale: fromQuery(AdministrationQuery.Settings, '0.locale') };\nexport const currencyOfData = { ...localeOfData, currency: fromQuery(AdministrationQuery.Settings, '0.currency') };\n"],"names":["fromQuery","query","path","kind","BindingSourceKind","QueryResult","AdministrationQuery","Settings","RecordTabs","RoleList","RoleColumns","MatrixRoles","Permissions","Grants","SettingsSections","SettingsValues","FormErrors","AdministrationEntityKind","administrationEntityPlural","administrationQueriesOf","entity","rows","columns","filterFields","views","columnChoices","selection","quickSections","record","sections","summary","roles","sessions","activity","localeOfData","locale","currencyOfData","currency"],"mappings":";;;;AAAA;AACA;AAIA;;;UAIaA,SAAAA,GAAY,CAACC,OAAeC,IAAAA,GAAO,EAAE,IAAyB;AAAEC,QAAAA,IAAAA,EAAMC,8BAAkBC,WAAW;AAAEJ,QAAAA,KAAA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AO,KAAK,CAAC;QACvBY,QAAAA,EAAU,CAAA,EAAGZ,MAAAA,CAAO,QAAQ,CAAC;QAC7Ba,QAAAA,EAAU,CAAA,EAAGb,MAAAA,CAAO,QAAQ;AAChC,KAAA;AAEA,wGACO,MAAMc,YAAAA,GAAe;IAAEC,MAAAA,EAAQnC,SAAAA,CAAUM,mBAAAA,CAAoBC,QAAQ,EAAE,UAAA;AAAY;MAC7E6B,cAAAA,GAAiB;AAAE,IAAA,GAAGF,YAAY;IAAEG,QAAAA,EAAUrC,SAAAA,CAAUM,mBAAAA,CAAoBC,QAAQ,EAAE,YAAA;AAAc;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"administrationQueries.js","sources":["../../administrationQueries.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 { BindingExpression, BindingSourceKind } from '@cratis/scene.model';\n\n/**\n * A property taken from a query result - never a value. An Administration template declares *where* its data comes from and the sample-data pack, or the real\n * query, supplies the rows (spec SD1); `path` reaches into the result (`0.value` is the first row's `value`, an empty path is the whole result).\n */\nexport const fromQuery = (query: string, path = ''): BindingExpression => ({ kind: BindingSourceKind.QueryResult, query, path });\n\n/** The queries of the screens that are not a plain list. Each is a shape the sample-data pack supplies rows for. */\nexport const AdministrationQuery = {\n /** One row: the `locale` the figures and dates are formatted in. */\n Settings: 'AdminSettings',\n RecordTabs: 'AdministrationRecordTabs',\n RoleList: 'AdministrationRoles',\n RoleColumns: 'AdministrationRoleColumns',\n /** The roles as the permission matrix reads them: an `id` and a `label` each. */\n MatrixRoles: 'AdministrationMatrixRoles',\n Permissions: 'AdministrationPermissions',\n Grants: 'AdministrationGrants',\n SettingsSections: 'AdministrationSettingsSections',\n SettingsValues: 'AdministrationSettingsValues',\n FormErrors: 'AdministrationFormErrors',\n} as const;\n\n/** The entities a template is made for. */\nexport enum AdministrationEntityKind {\n User = 'User',\n Audit = 'Audit',\n}\n\n/** The read model (and so the shape) the records of each entity are queried from. */\nexport const administrationEntityPlural: Record<AdministrationEntityKind, string> = {\n [AdministrationEntityKind.User]: 'Users',\n [AdministrationEntityKind.Audit]: 'AuditEntries',\n};\n\n/**\n * The queries one entity's templates bind to, named from the entity so a template never spells one out: the records, the columns and filter fields of the\n * list, its saved views and column choices, the selection, the sections of the quick form, and what the record page shows.\n */\nexport const administrationQueriesOf = (entity: AdministrationEntityKind) => ({\n rows: administrationEntityPlural[entity],\n columns: `${entity}Columns`,\n filterFields: `${entity}FilterFields`,\n views: `${entity}Views`,\n columnChoices: `${entity}ColumnChoices`,\n selection: `${entity}Selection`,\n quickSections: `${entity}QuickSections`,\n record: `${entity}Record`,\n sections: `${entity}Sections`,\n summary: `${entity}Summary`,\n roles: `${entity}Roles`,\n sessions: `${entity}Sessions`,\n activity: `${entity}Activity`,\n});\n\n/** The locale and currency of the data, bound onto every component that formats a figure or a date. */\nexport const localeOfData = { locale: fromQuery(AdministrationQuery.Settings, '0.locale') };\nexport const currencyOfData = { ...localeOfData, currency: fromQuery(AdministrationQuery.Settings, '0.currency') };\n"],"names":["fromQuery","query","path","kind","BindingSourceKind","QueryResult","AdministrationQuery","Settings","RecordTabs","RoleList","RoleColumns","MatrixRoles","Permissions","Grants","SettingsSections","SettingsValues","FormErrors","AdministrationEntityKind","administrationEntityPlural","administrationQueriesOf","entity","rows","columns","filterFields","views","columnChoices","selection","quickSections","record","sections","summary","roles","sessions","activity","localeOfData","locale","currencyOfData","currency"],"mappings":";;AAAA;AACA;AAIA;;;UAIaA,SAAAA,GAAY,CAACC,OAAeC,IAAAA,GAAO,EAAE,IAAyB;AAAEC,QAAAA,IAAAA,EAAMC,kBAAkBC,WAAW;AAAEJ,QAAAA,KAAAA;AAAOC,QAAAA;AAAK,KAAA;AAE9H,qHACO,MAAMI,mBAAAA,GAAsB;AAC/B,yEACAC,QAAAA,EAAU,eAAA;IACVC,UAAAA,EAAY,0BAAA;IACZC,QAAAA,EAAU,qBAAA;IACVC,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AAQ;AAChC,KAAA;AAEA,wGACO,MAAMc,YAAAA,GAAe;IAAEC,MAAAA,EAAQnC,SAAAA,CAAUM,mBAAAA,CAAoBC,QAAQ,EAAE,UAAA;AAAY;MAC7E6B,cAAAA,GAAiB;AAAE,IAAA,GAAGF,YAAY;IAAEG,QAAAA,EAAUrC,SAAAA,CAAUM,mBAAAA,CAAoBC,QAAQ,EAAE,YAAA;AAAc;;"}
1
+ {"version":3,"file":"administrationQueries.js","sources":["../../administrationQueries.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 { BindingExpression, BindingSourceKind } from '@cratis/scene.model';\n\n/**\n * A property taken from a query result - never a value. An Administration template declares *where* its data comes from and the sample-data pack, or the real\n * query, supplies the rows (spec SD1); `path` reaches into the result (`0.value` is the first row's `value`, an empty path is the whole result).\n */\nexport const fromQuery = (query: string, path = ''): BindingExpression => ({ kind: BindingSourceKind.QueryResult, query, path });\n\n/** The queries of the screens that are not a plain list. Each is a shape the sample-data pack supplies rows for. */\nexport const AdministrationQuery = {\n /** One row: the `locale` the figures and dates are formatted in. */\n Settings: 'AdminSettings',\n RecordTabs: 'AdministrationRecordTabs',\n RoleList: 'AdministrationRoles',\n RoleColumns: 'AdministrationRoleColumns',\n /** The roles as the permission matrix reads them: an `id` and a `label` each. */\n MatrixRoles: 'AdministrationMatrixRoles',\n Permissions: 'AdministrationPermissions',\n Grants: 'AdministrationGrants',\n SettingsSections: 'AdministrationSettingsSections',\n SettingsValues: 'AdministrationSettingsValues',\n FormErrors: 'AdministrationFormErrors',\n} as const;\n\n/** The entities a template is made for. */\nexport enum AdministrationEntityKind {\n User = 'User',\n Audit = 'Audit',\n}\n\n/** The read model (and so the shape) the records of each entity are queried from. */\nexport const administrationEntityPlural: Record<AdministrationEntityKind, string> = {\n [AdministrationEntityKind.User]: 'Users',\n [AdministrationEntityKind.Audit]: 'AuditEntries',\n};\n\n/**\n * The queries one entity's templates bind to, named from the entity so a template never spells one out: the records, the columns and filter fields of the\n * list, its saved views and column choices, the selection, the sections of the quick form, and what the record page shows.\n */\nexport const administrationQueriesOf = (entity: AdministrationEntityKind) => ({\n rows: administrationEntityPlural[entity],\n columns: `${entity}Columns`,\n filterFields: `${entity}FilterFields`,\n views: `${entity}Views`,\n columnChoices: `${entity}ColumnChoices`,\n selection: `${entity}Selection`,\n quickSections: `${entity}QuickSections`,\n record: `${entity}Record`,\n sections: `${entity}Sections`,\n summary: `${entity}Summary`,\n roles: `${entity}Roles`,\n sessions: `${entity}Sessions`,\n activity: `${entity}Activity`,\n});\n\n/** The locale and currency of the data, bound onto every component that formats a figure or a date. */\nexport const localeOfData = { locale: fromQuery(AdministrationQuery.Settings, '0.locale') };\nexport const currencyOfData = { ...localeOfData, currency: fromQuery(AdministrationQuery.Settings, '0.currency') };\n"],"names":["fromQuery","query","path","kind","BindingSourceKind","QueryResult","AdministrationQuery","Settings","RecordTabs","RoleList","RoleColumns","MatrixRoles","Permissions","Grants","SettingsSections","SettingsValues","FormErrors","AdministrationEntityKind","administrationEntityPlural","administrationQueriesOf","entity","rows","columns","filterFields","views","columnChoices","selection","quickSections","record","sections","summary","roles","sessions","activity","localeOfData","locale","currencyOfData","currency"],"mappings":";;AAAA;AACA;AAIA;;;UAIaA,SAAAA,GAAY,CAACC,OAAeC,IAAAA,GAAO,EAAE,IAAyB;AAAEC,QAAAA,IAAAA,EAAMC,kBAAkBC,WAAW;AAAEJ,QAAAA,KAAAA;AAAOC,QAAAA;AAAK,KAAA;AAE9H,qHACO,MAAMI,mBAAAA,GAAsB;AAC/B,yEACAC,QAAAA,EAAU,eAAA;IACVC,UAAAA,EAAY,0BAAA;IACZC,QAAAA,EAAU,qBAAA;IACVC,WAAAA,EAAa,2BAAA;AACb,sFACAC,WAAAA,EAAa,2BAAA;IACbC,WAAAA,EAAa,2BAAA;IACbC,MAAAA,EAAQ,sBAAA;IACRC,gBAAAA,EAAkB,gCAAA;IAClBC,cAAA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