@things-factory/apptool-ui 10.1.257 → 10.1.258

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/apptool-ui",
3
- "version": "10.1.257",
3
+ "version": "10.1.258",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -32,8 +32,8 @@
32
32
  "@operato/layout": "^10.29.43",
33
33
  "@operato/shell": "^10.29.60",
34
34
  "@operato/utils": "^10.29.43",
35
- "@things-factory/apptool-base": "^10.1.254",
36
- "@things-factory/setting-base": "^10.1.257"
35
+ "@things-factory/apptool-base": "^10.1.258",
36
+ "@things-factory/setting-base": "^10.1.258"
37
37
  },
38
- "gitHead": "885b594299601ca4936f4f39701d6713273bbf1e"
38
+ "gitHead": "c7b7e3b4e9aa1b36a246ccee312a4124a50924dd"
39
39
  }
@@ -144,19 +144,28 @@ describe('the person\'s entries are registered once, to the user menu', () => {
144
144
  )
145
145
  }
146
146
 
147
- it('★ profile, one\'s gallery, settings, the about page and sign-out are user menu entries, each from the module that owns it', () => {
147
+ it('★ profile, one\'s gallery, settings, the about page, sign-out, writing an inquiry and the regulations are user menu entries, each from the module that owns it', () => {
148
148
  const named = registrations('ADD_USER_MENU').map(({ file, call }) => `${file.split(path.sep)[0]}:${/name: '([\w-]+)'/.exec(call)?.[1]}`)
149
149
 
150
- expect(named.sort()).toEqual(['auth-ui:profile', 'auth-ui:sign-out', 'gallery:my-gallery', 'setting-ui:setting', 'system:about-system'])
150
+ /* inquiry: ADR-0184 decision 9. regulations: ADR-0187 decision 10, added only for an employee of the domain. */
151
+ expect(named.sort()).toEqual([
152
+ 'auth-ui:profile',
153
+ 'auth-ui:sign-out',
154
+ 'compliance:regulations',
155
+ 'gallery:my-gallery',
156
+ 'inquiry:inquiry',
157
+ 'setting-ui:setting',
158
+ 'system:about-system'
159
+ ])
151
160
  })
152
161
 
153
- it('★ the registered entries show as profile, one\'s gallery, sign-out, settings, the about page (user, 2026-10-25; gallery right after the profile, ADR-0165 decision 6)', () => {
162
+ it('★ the registered entries show as profile, one\'s gallery, sign-out, settings, inquiry, regulations, the about page (user, 2026-10-25; gallery right after the profile, ADR-0165 decision 6)', () => {
154
163
  const entries = registrations('ADD_USER_MENU').map(({ call }) => ({
155
164
  name: /name: '([\w-]+)'/.exec(call)![1],
156
165
  order: Number(/order: (\d+)/.exec(call)![1])
157
166
  }))
158
167
 
159
- expect(menuEntries(entries).map(entry => entry.name)).toEqual(['profile', 'my-gallery', 'sign-out', 'setting', 'about-system'])
168
+ expect(menuEntries(entries).map(entry => entry.name)).toEqual(['profile', 'my-gallery', 'sign-out', 'setting', 'inquiry', 'regulations', 'about-system'])
160
169
  })
161
170
 
162
171
  it('★ none of them is a morenda any more', () => {