@cratis/scene.blueprint.administration 4.88.0 → 5.1.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 +8 -8
- package/blueprintCatalog.json +82 -4
- package/dist/cjs/navigation.js +12 -6
- package/dist/cjs/navigation.js.map +1 -1
- package/dist/cjs/templates/listTemplates.js +1 -0
- package/dist/cjs/templates/listTemplates.js.map +1 -1
- package/dist/cjs/templates/recordTemplates.js +1 -0
- package/dist/cjs/templates/recordTemplates.js.map +1 -1
- package/dist/cjs/templates/rolesTemplate.js +1 -0
- package/dist/cjs/templates/rolesTemplate.js.map +1 -1
- package/dist/esm/navigation.d.ts.map +1 -1
- package/dist/esm/navigation.js +13 -7
- package/dist/esm/navigation.js.map +1 -1
- package/dist/esm/templates/listTemplates.d.ts.map +1 -1
- package/dist/esm/templates/listTemplates.js +1 -0
- package/dist/esm/templates/listTemplates.js.map +1 -1
- package/dist/esm/templates/recordTemplates.d.ts.map +1 -1
- package/dist/esm/templates/recordTemplates.js +1 -0
- package/dist/esm/templates/recordTemplates.js.map +1 -1
- package/dist/esm/templates/rolesTemplate.d.ts.map +1 -1
- package/dist/esm/templates/rolesTemplate.js +1 -0
- package/dist/esm/templates/rolesTemplate.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/navigation.ts +9 -9
- package/package.json +9 -9
- package/templates/listTemplates.ts +1 -0
- package/templates/recordTemplates.ts +1 -0
- package/templates/rolesTemplate.ts +1 -0
|
@@ -13,6 +13,7 @@ const user = administrationQueriesOf(AdministrationEntityKind.User);
|
|
|
13
13
|
name: 'AdministrationUserPage',
|
|
14
14
|
fitsSlot: 'content',
|
|
15
15
|
slots: recordPageTemplate.slots,
|
|
16
|
+
outlets: recordPageTemplate.outlets,
|
|
16
17
|
arrangement: recordPageTemplate.arrangement,
|
|
17
18
|
content: {
|
|
18
19
|
header: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordTemplates.js","sources":["../../../templates/recordTemplates.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 { ScreenTemplate, TemplateScope } from '@cratis/scene.model';\nimport { recordPageTemplate } from '@cratis/scene.blueprint.default';\nimport { AdministrationEntityKind, AdministrationQuery, administrationQueriesOf, fromQuery, localeOfData } from '../administrationQueries';\nimport { actionButton, administrationMetadata, component, opensDialog, withBehaviors } from '../administrationParts';\n\nconst user = administrationQueriesOf(AdministrationEntityKind.User);\n\n/**\n * The user page: the foundation `RecordPage` with the user's name as its title, their status and when they were last active as key facts, their profile as the\n * record, the roles they hold and the sessions they have open as related lists, and what has happened to the account beside them.\n */\nexport const administrationUserPageTemplate: ScreenTemplate = {\n name: 'AdministrationUserPage',\n fitsSlot: 'content',\n slots: recordPageTemplate.slots,\n arrangement: recordPageTemplate.arrangement,\n content: {\n header: [component('AdministrationUserPage-header', 'pageHeader', { title: fromQuery(user.record, '0.name'), subtitle: fromQuery(user.record, '0.email') }, {\n actions: [withBehaviors(actionButton('AdministrationUserPage-invite', 'Invite user', 'secondary'), opensDialog('AdministrationInviteUser'))],\n })],\n summary: [\n component('AdministrationUserPage-status', 'statusChip', { status: fromQuery(user.summary, '0.status'), tone: fromQuery(user.summary, '0.tone') }),\n component('AdministrationUserPage-roles', 'statCard', { label: 'Roles', value: fromQuery(user.summary, '0.roles'), ...localeOfData }),\n component('AdministrationUserPage-sessions', 'statCard', { label: 'Open sessions', value: fromQuery(user.summary, '0.sessions'), ...localeOfData }),\n component('AdministrationUserPage-logins', 'statCard', { label: 'Sign-ins this month', value: fromQuery(user.summary, '0.logins'), ...localeOfData }),\n ],\n tabs: [component('AdministrationUserPage-tabs', 'tabSet', { tabs: fromQuery(AdministrationQuery.RecordTabs), urlKey: 'tab', label: 'User sections' })],\n main: [component('AdministrationUserPage-form', 'formScreenBody', { mode: 'readOnly', sections: fromQuery(user.sections), values: fromQuery(user.record, '0'), ...localeOfData })],\n related: [\n component('AdministrationUserPage-assignments', 'dataList', { label: 'Role assignments', rows: fromQuery(user.roles), columns: fromQuery('AssignmentColumns'), titleField: 'role', ...localeOfData }),\n component('AdministrationUserPage-sessionlist', 'dataList', {\n label: 'Sessions', rows: fromQuery(user.sessions), columns: fromQuery('SessionColumns'), titleField: 'device', rowActions: ['Sign out'], ...localeOfData,\n }),\n ],\n activity: [component('AdministrationUserPage-activity', 'activityFeed', { label: 'Account history', entries: fromQuery(user.activity), ...localeOfData })],\n aside: [],\n },\n displayName: 'Administration user page',\n description: 'One user: profile, role assignments and sessions.',\n metadata: administrationMetadata('AdministrationUserPage', 'Detail', [TemplateScope.Feature, TemplateScope.Subfeature]),\n};\n"],"names":["user","administrationQueriesOf","AdministrationEntityKind","User","administrationUserPageTemplate","name","fitsSlot","slots","recordPageTemplate","arrangement","content","header","component","title","fromQuery","record","subtitle","actions","withBehaviors","actionButton","opensDialog","summary","status","tone","label","value","localeOfData","tabs","AdministrationQuery","RecordTabs","urlKey","main","mode","sections","values","related","rows","roles","columns","titleField","sessions","rowActions","activity","entries","aside","displayName","description","metadata","administrationMetadata","TemplateScope","Feature","Subfeature"],"mappings":";;;;;AAAA;AACA;AAOA,MAAMA,IAAAA,GAAOC,uBAAAA,CAAwBC,wBAAAA,CAAyBC,IAAI,CAAA;AAElE;;;UAIaC,8BAAAA,GAAiD;IAC1DC,IAAAA,EAAM,wBAAA;IACNC,QAAAA,EAAU,SAAA;AACVC,IAAAA,KAAAA,EAAOC,mBAAmBD,KAAK;AAC/BE,IAAAA,
|
|
1
|
+
{"version":3,"file":"recordTemplates.js","sources":["../../../templates/recordTemplates.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 { ScreenTemplate, TemplateScope } from '@cratis/scene.model';\nimport { recordPageTemplate } from '@cratis/scene.blueprint.default';\nimport { AdministrationEntityKind, AdministrationQuery, administrationQueriesOf, fromQuery, localeOfData } from '../administrationQueries';\nimport { actionButton, administrationMetadata, component, opensDialog, withBehaviors } from '../administrationParts';\n\nconst user = administrationQueriesOf(AdministrationEntityKind.User);\n\n/**\n * The user page: the foundation `RecordPage` with the user's name as its title, their status and when they were last active as key facts, their profile as the\n * record, the roles they hold and the sessions they have open as related lists, and what has happened to the account beside them.\n */\nexport const administrationUserPageTemplate: ScreenTemplate = {\n name: 'AdministrationUserPage',\n fitsSlot: 'content',\n slots: recordPageTemplate.slots,\n outlets: recordPageTemplate.outlets,\n arrangement: recordPageTemplate.arrangement,\n content: {\n header: [component('AdministrationUserPage-header', 'pageHeader', { title: fromQuery(user.record, '0.name'), subtitle: fromQuery(user.record, '0.email') }, {\n actions: [withBehaviors(actionButton('AdministrationUserPage-invite', 'Invite user', 'secondary'), opensDialog('AdministrationInviteUser'))],\n })],\n summary: [\n component('AdministrationUserPage-status', 'statusChip', { status: fromQuery(user.summary, '0.status'), tone: fromQuery(user.summary, '0.tone') }),\n component('AdministrationUserPage-roles', 'statCard', { label: 'Roles', value: fromQuery(user.summary, '0.roles'), ...localeOfData }),\n component('AdministrationUserPage-sessions', 'statCard', { label: 'Open sessions', value: fromQuery(user.summary, '0.sessions'), ...localeOfData }),\n component('AdministrationUserPage-logins', 'statCard', { label: 'Sign-ins this month', value: fromQuery(user.summary, '0.logins'), ...localeOfData }),\n ],\n tabs: [component('AdministrationUserPage-tabs', 'tabSet', { tabs: fromQuery(AdministrationQuery.RecordTabs), urlKey: 'tab', label: 'User sections' })],\n main: [component('AdministrationUserPage-form', 'formScreenBody', { mode: 'readOnly', sections: fromQuery(user.sections), values: fromQuery(user.record, '0'), ...localeOfData })],\n related: [\n component('AdministrationUserPage-assignments', 'dataList', { label: 'Role assignments', rows: fromQuery(user.roles), columns: fromQuery('AssignmentColumns'), titleField: 'role', ...localeOfData }),\n component('AdministrationUserPage-sessionlist', 'dataList', {\n label: 'Sessions', rows: fromQuery(user.sessions), columns: fromQuery('SessionColumns'), titleField: 'device', rowActions: ['Sign out'], ...localeOfData,\n }),\n ],\n activity: [component('AdministrationUserPage-activity', 'activityFeed', { label: 'Account history', entries: fromQuery(user.activity), ...localeOfData })],\n aside: [],\n },\n displayName: 'Administration user page',\n description: 'One user: profile, role assignments and sessions.',\n metadata: administrationMetadata('AdministrationUserPage', 'Detail', [TemplateScope.Feature, TemplateScope.Subfeature]),\n};\n"],"names":["user","administrationQueriesOf","AdministrationEntityKind","User","administrationUserPageTemplate","name","fitsSlot","slots","recordPageTemplate","outlets","arrangement","content","header","component","title","fromQuery","record","subtitle","actions","withBehaviors","actionButton","opensDialog","summary","status","tone","label","value","localeOfData","tabs","AdministrationQuery","RecordTabs","urlKey","main","mode","sections","values","related","rows","roles","columns","titleField","sessions","rowActions","activity","entries","aside","displayName","description","metadata","administrationMetadata","TemplateScope","Feature","Subfeature"],"mappings":";;;;;AAAA;AACA;AAOA,MAAMA,IAAAA,GAAOC,uBAAAA,CAAwBC,wBAAAA,CAAyBC,IAAI,CAAA;AAElE;;;UAIaC,8BAAAA,GAAiD;IAC1DC,IAAAA,EAAM,wBAAA;IACNC,QAAAA,EAAU,SAAA;AACVC,IAAAA,KAAAA,EAAOC,mBAAmBD,KAAK;AAC/BE,IAAAA,OAAAA,EAASD,mBAAmBC,OAAO;AACnCC,IAAAA,WAAAA,EAAaF,mBAAmBE,WAAW;IAC3CC,OAAAA,EAAS;QACLC,MAAAA,EAAQ;AAACC,YAAAA,SAAAA,CAAU,iCAAiC,YAAA,EAAc;gBAAEC,KAAAA,EAAOC,SAAAA,CAAUf,IAAAA,CAAKgB,MAAM,EAAE,QAAA,CAAA;gBAAWC,QAAAA,EAAUF,SAAAA,CAAUf,IAAAA,CAAKgB,MAAM,EAAE,SAAA;aAAW,EAAG;gBACxJE,OAAAA,EAAS;AAACC,oBAAAA,aAAAA,CAAcC,YAAAA,CAAa,+BAAA,EAAiC,aAAA,EAAe,WAAA,CAAA,EAAcC,WAAAA,CAAY,0BAAA,CAAA;AAA6B;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":[],"mappings":"AAGA,OAAO,EAAqB,cAAc,EAAiB,MAAM,qBAAqB,CAAC;AAavF,eAAO,MAAM,2BAA2B,EAAE,
|
|
1
|
+
{"version":3,"file":"rolesTemplate.d.ts","sourceRoot":"","sources":["../../../templates/rolesTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,cAAc,EAAiB,MAAM,qBAAqB,CAAC;AAavF,eAAO,MAAM,2BAA2B,EAAE,cAuBzC,CAAC"}
|
|
@@ -14,6 +14,7 @@ import { administrationMetadata, withBehaviors, opensDialog, actionButton } from
|
|
|
14
14
|
name: 'AdministrationRoles',
|
|
15
15
|
fitsSlot: 'content',
|
|
16
16
|
slots: masterDetailScreenTemplate.slots,
|
|
17
|
+
outlets: masterDetailScreenTemplate.outlets,
|
|
17
18
|
arrangement: masterDetailScreenTemplate.arrangement,
|
|
18
19
|
content: {
|
|
19
20
|
list: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rolesTemplate.js","sources":["../../../templates/rolesTemplate.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 { BindingSourceKind, ScreenTemplate, TemplateScope } from '@cratis/scene.model';\nimport { masterDetailScreenTemplate } from '@cratis/scene.blueprint.default';\nimport { AdministrationQuery, fromQuery, localeOfData } from '../administrationQueries';\nimport { actionButton, administrationMetadata, component, opensDialog, withBehaviors } from '../administrationParts';\n\n/** The list of roles; the permission matrix binds to the row that is chosen in it. */\nconst rolesId = 'AdministrationRoles-list';\n\n/**\n * Roles and permissions: the foundation `MasterDetail` with the roles on the left - each with how many people hold it - and, on the right, the permission matrix\n * of the role that is chosen. While no role is chosen the matrix shows every role side by side, so roles can be compared before one is picked. The chosen role is\n * kept in the address, so a link points at a role. Granting and revoking are the matrix's own checkboxes, each named in words for a screen reader.\n */\nexport const administrationRolesTemplate: ScreenTemplate = {\n name: 'AdministrationRoles',\n fitsSlot: 'content',\n slots: masterDetailScreenTemplate.slots,\n arrangement: masterDetailScreenTemplate.arrangement,\n content: {\n list: [\n component('AdministrationRoles-header', 'pageHeader', { title: 'Roles', subtitle: 'Choose a role to see what it may do' }, {\n actions: [withBehaviors(actionButton('AdministrationRoles-new', 'New role', 'primary'), opensDialog('AdministrationQuickCreateRole'))],\n }),\n component(rolesId, 'dataList', {\n label: 'Roles', rows: fromQuery(AdministrationQuery.RoleList), columns: fromQuery(AdministrationQuery.RoleColumns), titleField: 'name', selectionMode: 'single', urlKey: 'roles', ...localeOfData,\n }),\n ],\n details: [component('AdministrationRoles-matrix', 'permissionMatrix', {\n label: 'Permissions', roles: fromQuery(AdministrationQuery.MatrixRoles), permissions: fromQuery(AdministrationQuery.Permissions), grants: fromQuery(AdministrationQuery.Grants), editPermission: 'enabled',\n focusRole: { kind: BindingSourceKind.ComponentProperty, componentId: rolesId, path: 'value' }, ...localeOfData,\n })],\n },\n displayName: 'Administration roles and permissions',\n description: 'The roles on the left and the permission matrix of the chosen role on the right.',\n metadata: administrationMetadata('AdministrationRoles', 'Workspace', [TemplateScope.Module, TemplateScope.Feature]),\n};\n"],"names":["rolesId","administrationRolesTemplate","name","fitsSlot","slots","masterDetailScreenTemplate","arrangement","content","list","component","title","subtitle","actions","withBehaviors","actionButton","opensDialog","label","rows","fromQuery","AdministrationQuery","RoleList","columns","RoleColumns","titleField","selectionMode","urlKey","localeOfData","details","roles","MatrixRoles","permissions","Permissions","grants","Grants","editPermission","focusRole","kind","BindingSourceKind","ComponentProperty","componentId","path","displayName","description","metadata","administrationMetadata","TemplateScope","Module","Feature"],"mappings":";;;;;AAAA;AACA;AAOA,uFACA,MAAMA,OAAAA,GAAU,0BAAA;AAEhB;;;;UAKaC,2BAAAA,GAA8C;IACvDC,IAAAA,EAAM,qBAAA;IACNC,QAAAA,EAAU,SAAA;AACVC,IAAAA,KAAAA,EAAOC,2BAA2BD,KAAK;AACvCE,IAAAA,
|
|
1
|
+
{"version":3,"file":"rolesTemplate.js","sources":["../../../templates/rolesTemplate.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 { BindingSourceKind, ScreenTemplate, TemplateScope } from '@cratis/scene.model';\nimport { masterDetailScreenTemplate } from '@cratis/scene.blueprint.default';\nimport { AdministrationQuery, fromQuery, localeOfData } from '../administrationQueries';\nimport { actionButton, administrationMetadata, component, opensDialog, withBehaviors } from '../administrationParts';\n\n/** The list of roles; the permission matrix binds to the row that is chosen in it. */\nconst rolesId = 'AdministrationRoles-list';\n\n/**\n * Roles and permissions: the foundation `MasterDetail` with the roles on the left - each with how many people hold it - and, on the right, the permission matrix\n * of the role that is chosen. While no role is chosen the matrix shows every role side by side, so roles can be compared before one is picked. The chosen role is\n * kept in the address, so a link points at a role. Granting and revoking are the matrix's own checkboxes, each named in words for a screen reader.\n */\nexport const administrationRolesTemplate: ScreenTemplate = {\n name: 'AdministrationRoles',\n fitsSlot: 'content',\n slots: masterDetailScreenTemplate.slots,\n outlets: masterDetailScreenTemplate.outlets,\n arrangement: masterDetailScreenTemplate.arrangement,\n content: {\n list: [\n component('AdministrationRoles-header', 'pageHeader', { title: 'Roles', subtitle: 'Choose a role to see what it may do' }, {\n actions: [withBehaviors(actionButton('AdministrationRoles-new', 'New role', 'primary'), opensDialog('AdministrationQuickCreateRole'))],\n }),\n component(rolesId, 'dataList', {\n label: 'Roles', rows: fromQuery(AdministrationQuery.RoleList), columns: fromQuery(AdministrationQuery.RoleColumns), titleField: 'name', selectionMode: 'single', urlKey: 'roles', ...localeOfData,\n }),\n ],\n details: [component('AdministrationRoles-matrix', 'permissionMatrix', {\n label: 'Permissions', roles: fromQuery(AdministrationQuery.MatrixRoles), permissions: fromQuery(AdministrationQuery.Permissions), grants: fromQuery(AdministrationQuery.Grants), editPermission: 'enabled',\n focusRole: { kind: BindingSourceKind.ComponentProperty, componentId: rolesId, path: 'value' }, ...localeOfData,\n })],\n },\n displayName: 'Administration roles and permissions',\n description: 'The roles on the left and the permission matrix of the chosen role on the right.',\n metadata: administrationMetadata('AdministrationRoles', 'Workspace', [TemplateScope.Module, TemplateScope.Feature]),\n};\n"],"names":["rolesId","administrationRolesTemplate","name","fitsSlot","slots","masterDetailScreenTemplate","outlets","arrangement","content","list","component","title","subtitle","actions","withBehaviors","actionButton","opensDialog","label","rows","fromQuery","AdministrationQuery","RoleList","columns","RoleColumns","titleField","selectionMode","urlKey","localeOfData","details","roles","MatrixRoles","permissions","Permissions","grants","Grants","editPermission","focusRole","kind","BindingSourceKind","ComponentProperty","componentId","path","displayName","description","metadata","administrationMetadata","TemplateScope","Module","Feature"],"mappings":";;;;;AAAA;AACA;AAOA,uFACA,MAAMA,OAAAA,GAAU,0BAAA;AAEhB;;;;UAKaC,2BAAAA,GAA8C;IACvDC,IAAAA,EAAM,qBAAA;IACNC,QAAAA,EAAU,SAAA;AACVC,IAAAA,KAAAA,EAAOC,2BAA2BD,KAAK;AACvCE,IAAAA,OAAAA,EAASD,2BAA2BC,OAAO;AAC3CC,IAAAA,WAAAA,EAAaF,2BAA2BE,WAAW;IACnDC,OAAAA,EAAS;QACLC,IAAAA,EAAM;AACFC,YAAAA,SAAAA,CAAU,8BAA8B,YAAA,EAAc;gBAAEC,KAAAA,EAAO,OAAA;gBAASC,QAAAA,EAAU;aAAsC,EAAG;gBACvHC,OAAAA,EAAS;AAACC,oBAAAA,aAAAA,CAAcC,YAAAA,CAAa,yBAAA,EAA2B,UAAA,EAAY,SAAA,CAAA,EAAYC,WAAAA,CAAY,+BAAA,CAAA;AAAkC;AAC1I,aAAA,CAAA;AACAN,YAAAA,SAAAA,CAAUV,SAAS,UAAA,EAAY;gBAC3BiB,KAAAA,EAAO,OAAA;gBAASC,IAAAA,EAAMC,SAAAA,CAAUC,oBAAoBC,QAAQ,CAAA;gBAAGC,OAAAA,EAASH,SAAAA,CAAUC,oBAAoBG,WAAW,CAAA;gBAAGC,UAAAA,EAAY,MAAA;gBAAQC,aAAAA,EAAe,QA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