@fieldia/designer 0.19.0 → 0.20.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 (217) hide show
  1. package/package.json +4 -4
  2. package/src/lib/canvas-head.d.mts +22 -0
  3. package/src/lib/canvas-head.d.ts +22 -0
  4. package/src/lib/canvas-head.js +121 -0
  5. package/src/lib/canvas-head.js.map +1 -0
  6. package/src/lib/canvas-head.mjs +118 -0
  7. package/src/lib/canvas-head.mjs.map +1 -0
  8. package/src/lib/canvas-header.js +7 -1
  9. package/src/lib/canvas-header.js.map +1 -1
  10. package/src/lib/canvas-header.mjs +7 -1
  11. package/src/lib/canvas-header.mjs.map +1 -1
  12. package/src/lib/choice-commands.d.mts +2 -1
  13. package/src/lib/choice-commands.d.ts +2 -1
  14. package/src/lib/choice-commands.js +3 -0
  15. package/src/lib/choice-commands.js.map +1 -1
  16. package/src/lib/choice-commands.mjs +3 -0
  17. package/src/lib/choice-commands.mjs.map +1 -1
  18. package/src/lib/designer.d.mts +6 -3
  19. package/src/lib/designer.d.ts +6 -3
  20. package/src/lib/designer.js +12 -0
  21. package/src/lib/designer.js.map +1 -1
  22. package/src/lib/designer.mjs +12 -0
  23. package/src/lib/designer.mjs.map +1 -1
  24. package/src/lib/group-fold.js +2 -0
  25. package/src/lib/group-fold.js.map +1 -1
  26. package/src/lib/group-fold.mjs +2 -0
  27. package/src/lib/group-fold.mjs.map +1 -1
  28. package/src/lib/head-commands.d.mts +106 -0
  29. package/src/lib/head-commands.d.ts +106 -0
  30. package/src/lib/head-commands.js +472 -0
  31. package/src/lib/head-commands.js.map +1 -0
  32. package/src/lib/head-commands.mjs +468 -0
  33. package/src/lib/head-commands.mjs.map +1 -0
  34. package/src/lib/head-parts.d.mts +15 -0
  35. package/src/lib/head-parts.d.ts +15 -0
  36. package/src/lib/head-parts.js +69 -0
  37. package/src/lib/head-parts.js.map +1 -0
  38. package/src/lib/head-parts.mjs +64 -0
  39. package/src/lib/head-parts.mjs.map +1 -0
  40. package/src/lib/head-properties.d.mts +25 -0
  41. package/src/lib/head-properties.d.ts +25 -0
  42. package/src/lib/head-properties.js +370 -0
  43. package/src/lib/head-properties.js.map +1 -0
  44. package/src/lib/head-properties.mjs +363 -0
  45. package/src/lib/head-properties.mjs.map +1 -0
  46. package/src/lib/header-commands.js +7 -0
  47. package/src/lib/header-commands.js.map +1 -1
  48. package/src/lib/header-commands.mjs +7 -0
  49. package/src/lib/header-commands.mjs.map +1 -1
  50. package/src/lib/header-properties.js +5 -1
  51. package/src/lib/header-properties.js.map +1 -1
  52. package/src/lib/header-properties.mjs +5 -1
  53. package/src/lib/header-properties.mjs.map +1 -1
  54. package/src/lib/inline-settings.js +3 -1
  55. package/src/lib/inline-settings.js.map +1 -1
  56. package/src/lib/inline-settings.mjs +3 -1
  57. package/src/lib/inline-settings.mjs.map +1 -1
  58. package/src/lib/kind-settings-picker.d.mts +4 -0
  59. package/src/lib/kind-settings-picker.d.ts +4 -0
  60. package/src/lib/kind-settings-picker.js +108 -0
  61. package/src/lib/kind-settings-picker.js.map +1 -0
  62. package/src/lib/kind-settings-picker.mjs +105 -0
  63. package/src/lib/kind-settings-picker.mjs.map +1 -0
  64. package/src/lib/kind-settings-structures.js +7 -2
  65. package/src/lib/kind-settings-structures.js.map +1 -1
  66. package/src/lib/kind-settings-structures.mjs +7 -2
  67. package/src/lib/kind-settings-structures.mjs.map +1 -1
  68. package/src/lib/layout-settings.d.mts +7 -0
  69. package/src/lib/layout-settings.d.ts +7 -0
  70. package/src/lib/layout-settings.js +15 -2
  71. package/src/lib/layout-settings.js.map +1 -1
  72. package/src/lib/layout-settings.mjs +15 -2
  73. package/src/lib/layout-settings.mjs.map +1 -1
  74. package/src/lib/list-canvas.js +18 -7
  75. package/src/lib/list-canvas.js.map +1 -1
  76. package/src/lib/list-canvas.mjs +18 -7
  77. package/src/lib/list-canvas.mjs.map +1 -1
  78. package/src/lib/list-commands.d.mts +24 -1
  79. package/src/lib/list-commands.d.ts +24 -1
  80. package/src/lib/list-commands.js +105 -2
  81. package/src/lib/list-commands.js.map +1 -1
  82. package/src/lib/list-commands.mjs +102 -1
  83. package/src/lib/list-commands.mjs.map +1 -1
  84. package/src/lib/list-properties.js +177 -2
  85. package/src/lib/list-properties.js.map +1 -1
  86. package/src/lib/list-properties.mjs +177 -2
  87. package/src/lib/list-properties.mjs.map +1 -1
  88. package/src/lib/locales/ar/head.d.mts +2 -0
  89. package/src/lib/locales/ar/head.d.ts +2 -0
  90. package/src/lib/locales/ar/head.js +97 -0
  91. package/src/lib/locales/ar/head.js.map +1 -0
  92. package/src/lib/locales/ar/head.mjs +94 -0
  93. package/src/lib/locales/ar/head.mjs.map +1 -0
  94. package/src/lib/locales/ar/index.js +3 -1
  95. package/src/lib/locales/ar/index.js.map +1 -1
  96. package/src/lib/locales/ar/index.mjs +3 -1
  97. package/src/lib/locales/ar/index.mjs.map +1 -1
  98. package/src/lib/locales/ar/list.js +31 -0
  99. package/src/lib/locales/ar/list.js.map +1 -1
  100. package/src/lib/locales/ar/list.mjs +31 -0
  101. package/src/lib/locales/ar/list.mjs.map +1 -1
  102. package/src/lib/locales/ar/panel.js +38 -0
  103. package/src/lib/locales/ar/panel.js.map +1 -1
  104. package/src/lib/locales/ar/panel.mjs +38 -0
  105. package/src/lib/locales/ar/panel.mjs.map +1 -1
  106. package/src/lib/locales/ar/questions.js +8 -0
  107. package/src/lib/locales/ar/questions.js.map +1 -1
  108. package/src/lib/locales/ar/questions.mjs +8 -0
  109. package/src/lib/locales/ar/questions.mjs.map +1 -1
  110. package/src/lib/locales/ar/refusals.js +11 -0
  111. package/src/lib/locales/ar/refusals.js.map +1 -1
  112. package/src/lib/locales/ar/refusals.mjs +11 -0
  113. package/src/lib/locales/ar/refusals.mjs.map +1 -1
  114. package/src/lib/locales/ar/work-text.d.mts +3 -0
  115. package/src/lib/locales/ar/work-text.d.ts +3 -0
  116. package/src/lib/locales/ar/work-text.js +58 -0
  117. package/src/lib/locales/ar/work-text.js.map +1 -0
  118. package/src/lib/locales/ar/work-text.mjs +55 -0
  119. package/src/lib/locales/ar/work-text.mjs.map +1 -0
  120. package/src/lib/locales/en/head.d.mts +101 -0
  121. package/src/lib/locales/en/head.d.ts +101 -0
  122. package/src/lib/locales/en/head.js +106 -0
  123. package/src/lib/locales/en/head.js.map +1 -0
  124. package/src/lib/locales/en/head.mjs +103 -0
  125. package/src/lib/locales/en/head.mjs.map +1 -0
  126. package/src/lib/locales/en/index.d.mts +222 -0
  127. package/src/lib/locales/en/index.d.ts +222 -0
  128. package/src/lib/locales/en/index.js +3 -1
  129. package/src/lib/locales/en/index.js.map +1 -1
  130. package/src/lib/locales/en/index.mjs +3 -1
  131. package/src/lib/locales/en/index.mjs.map +1 -1
  132. package/src/lib/locales/en/list.d.mts +48 -0
  133. package/src/lib/locales/en/list.d.ts +48 -0
  134. package/src/lib/locales/en/list.js +33 -0
  135. package/src/lib/locales/en/list.js.map +1 -1
  136. package/src/lib/locales/en/list.mjs +33 -0
  137. package/src/lib/locales/en/list.mjs.map +1 -1
  138. package/src/lib/locales/en/panel.d.mts +6 -0
  139. package/src/lib/locales/en/panel.d.ts +6 -0
  140. package/src/lib/locales/en/panel.js +3 -0
  141. package/src/lib/locales/en/panel.js.map +1 -1
  142. package/src/lib/locales/en/panel.mjs +3 -0
  143. package/src/lib/locales/en/panel.mjs.map +1 -1
  144. package/src/lib/locales/en/questions.d.mts +8 -0
  145. package/src/lib/locales/en/questions.d.ts +8 -0
  146. package/src/lib/locales/en/questions.js +9 -0
  147. package/src/lib/locales/en/questions.js.map +1 -1
  148. package/src/lib/locales/en/questions.mjs +9 -0
  149. package/src/lib/locales/en/questions.mjs.map +1 -1
  150. package/src/lib/locales/en/refusals.d.mts +11 -0
  151. package/src/lib/locales/en/refusals.d.ts +11 -0
  152. package/src/lib/locales/en/refusals.js +11 -0
  153. package/src/lib/locales/en/refusals.js.map +1 -1
  154. package/src/lib/locales/en/refusals.mjs +11 -0
  155. package/src/lib/locales/en/refusals.mjs.map +1 -1
  156. package/src/lib/locales/en/work-text.d.mts +58 -0
  157. package/src/lib/locales/en/work-text.d.ts +58 -0
  158. package/src/lib/locales/en/work-text.js +67 -0
  159. package/src/lib/locales/en/work-text.js.map +1 -0
  160. package/src/lib/locales/en/work-text.mjs +64 -0
  161. package/src/lib/locales/en/work-text.mjs.map +1 -0
  162. package/src/lib/page-tree.js +11 -1
  163. package/src/lib/page-tree.js.map +1 -1
  164. package/src/lib/page-tree.mjs +11 -1
  165. package/src/lib/page-tree.mjs.map +1 -1
  166. package/src/lib/panel-block.js +6 -1
  167. package/src/lib/panel-block.js.map +1 -1
  168. package/src/lib/panel-block.mjs +6 -1
  169. package/src/lib/panel-block.mjs.map +1 -1
  170. package/src/lib/panel-field.js +5 -1
  171. package/src/lib/panel-field.js.map +1 -1
  172. package/src/lib/panel-field.mjs +5 -1
  173. package/src/lib/panel-field.mjs.map +1 -1
  174. package/src/lib/panel-group.js +7 -3
  175. package/src/lib/panel-group.js.map +1 -1
  176. package/src/lib/panel-group.mjs +7 -3
  177. package/src/lib/panel-group.mjs.map +1 -1
  178. package/src/lib/panel-look.js +7 -0
  179. package/src/lib/panel-look.js.map +1 -1
  180. package/src/lib/panel-look.mjs +7 -0
  181. package/src/lib/panel-look.mjs.map +1 -1
  182. package/src/lib/panel-page.js +5 -1
  183. package/src/lib/panel-page.js.map +1 -1
  184. package/src/lib/panel-page.mjs +5 -1
  185. package/src/lib/panel-page.mjs.map +1 -1
  186. package/src/lib/panel-parts.js +5 -1
  187. package/src/lib/panel-parts.js.map +1 -1
  188. package/src/lib/panel-parts.mjs +5 -1
  189. package/src/lib/panel-parts.mjs.map +1 -1
  190. package/src/lib/picker-commands.d.mts +16 -0
  191. package/src/lib/picker-commands.d.ts +16 -0
  192. package/src/lib/picker-commands.js +61 -0
  193. package/src/lib/picker-commands.js.map +1 -0
  194. package/src/lib/picker-commands.mjs +58 -0
  195. package/src/lib/picker-commands.mjs.map +1 -0
  196. package/src/lib/screen-properties.js +9 -2
  197. package/src/lib/screen-properties.js.map +1 -1
  198. package/src/lib/screen-properties.mjs +9 -2
  199. package/src/lib/screen-properties.mjs.map +1 -1
  200. package/src/lib/styles-head.d.mts +7 -0
  201. package/src/lib/styles-head.d.ts +7 -0
  202. package/src/lib/styles-head.js +28 -0
  203. package/src/lib/styles-head.js.map +1 -0
  204. package/src/lib/styles-head.mjs +25 -0
  205. package/src/lib/styles-head.mjs.map +1 -0
  206. package/src/lib/styles.d.mts +1 -1
  207. package/src/lib/styles.d.ts +1 -1
  208. package/src/lib/styles.js +9 -2
  209. package/src/lib/styles.js.map +1 -1
  210. package/src/lib/styles.mjs +9 -2
  211. package/src/lib/styles.mjs.map +1 -1
  212. package/src/lib/work-text.d.mts +35 -0
  213. package/src/lib/work-text.d.ts +35 -0
  214. package/src/lib/work-text.js +246 -0
  215. package/src/lib/work-text.js.map +1 -0
  216. package/src/lib/work-text.mjs +236 -0
  217. package/src/lib/work-text.mjs.map +1 -0
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.head = void 0;
4
+ /**
5
+ * A record's head, in the designer: its settings in the panel (Record head),
6
+ * its buttons', tabs' and fields' own parts, what the canvas says of it, and
7
+ * why an edit of it is refused.
8
+ */
9
+ exports.head = {
10
+ // ---- the head's first buttons, as a work item has them
11
+ starter: { saveClose: 'Save and Close', save: 'Save', refresh: 'Refresh', undo: 'Revert changes' },
12
+ // ---- the sheet's settings: Record head
13
+ recordHead: 'Record head',
14
+ recordHeadHint: 'A work item’s head over the record: its kind’s strip and badge, the title line, a row of people and buttons, a band of fields and the tabs.',
15
+ headOn: 'A head over the record',
16
+ kindFrom: 'Kind from',
17
+ oneKind: 'One kind',
18
+ kindWords: 'Kind’s words',
19
+ kindWordsHint: 'With one kind, its name in the badge: “Bug”.',
20
+ numberFrom: 'Number from',
21
+ recordsId: 'The record’s id',
22
+ kindColour: 'Kind’s colour',
23
+ kindIcon: 'Kind’s icon',
24
+ noIcon: 'No icon',
25
+ kindLooks: 'Each kind’s look',
26
+ lookOf: (kind) => `${kind}: colour and icon`,
27
+ colourOf: (kind) => `${kind}’s colour`,
28
+ iconOf: (kind) => `${kind}’s icon`,
29
+ copyTitle: 'Copy title button',
30
+ bandColumns: 'Band’s columns',
31
+ bandColumnsHint: 'Their widths, apart by spaces: “274px 1fr”. Two even columns when empty.',
32
+ labelWidth: 'Band’s labels’ width',
33
+ bandFields: 'Band’s fields',
34
+ addBandField: 'Add a field to the band',
35
+ rowParts: 'Row under the title',
36
+ addRowField: 'Add a field to the row',
37
+ addRowLink: 'Add a count to the row',
38
+ linkWordsOne: (field) => `${field}: words after one`,
39
+ linkWordsOther: (field) => `${field}: words after more`,
40
+ linkTarget: (field) => `${field}: takes the reader to`,
41
+ nowhere: 'Nowhere',
42
+ actions: 'Buttons',
43
+ addButton: 'Add a button',
44
+ newButton: 'New button',
45
+ buttonHint: 'Pick a button on the canvas to set what it does and how it looks.',
46
+ updatedBy: 'Updated by',
47
+ updatedAt: 'Updated on',
48
+ updatedOpens: 'Pressed, “Updated by” shows',
49
+ noUpdated: 'Not shown',
50
+ noTab: 'No tab',
51
+ accessKey: 'Access key, with Alt',
52
+ accessKeyHint: 'A letter of its label: underlined in it, and Alt with it takes the focus to the field.',
53
+ accessKeyOf: (field) => `${field}: access key`,
54
+ removeNamed: (name) => `Remove ${name}`,
55
+ moveEarlier: (name) => `Move ${name} earlier`,
56
+ moveLater: (name) => `Move ${name} later`,
57
+ pick: 'Pick…',
58
+ // ---- a button's own parts
59
+ iconOnly: 'Its icon alone',
60
+ icon: 'Icon',
61
+ toggle: 'Pressed while',
62
+ notToggle: 'Not a toggle',
63
+ pressedWords: 'Words while pressed',
64
+ primaryWhenChanged: 'Primary while the record has changes',
65
+ menu: 'Menu beside it',
66
+ menuHint: 'Each choice’s words and the app’s action; a button with no steps or action of its own opens it.',
67
+ addChoice: 'Add a choice',
68
+ choiceWords: 'Choice’s words',
69
+ choiceAction: 'Its action',
70
+ newChoice: 'New choice',
71
+ chevronIcon: 'Chevron’s icon',
72
+ chevronName: 'Chevron’s name',
73
+ // ---- a tab's own parts, and tabs in the head
74
+ tabIcon: 'Icon',
75
+ tabIconOnly: 'Its icon alone',
76
+ countFrom: 'Count from',
77
+ noCount: 'No count',
78
+ inHead: 'In the record’s head',
79
+ inHeadHint: 'The tabs at the band’s end, their pages as the record’s body.',
80
+ // ---- the canvas
81
+ canvasHead: 'The record’s head: pick it to set it',
82
+ // ---- why an edit is refused
83
+ onlySheet: 'Only a record sheet has a head',
84
+ noHead: 'This sheet has no head yet',
85
+ noPart: (id) => `The head has no part "${id}"`,
86
+ noButton: (id) => `There is no button "${id}"`,
87
+ noTabNamed: (id) => `There is no tab "${id}"`,
88
+ kindOneOfList: (label) => `${label} holds no kinds: a kind is one of a list, or a link`,
89
+ numberShape: (label) => `${label} cannot be a record’s number: a number or words can`,
90
+ colourShape: 'A colour is written #rrggbb, as #cc293d',
91
+ tracksShape: 'Columns are widths such as 274px, 50% or 1fr, one to four of them',
92
+ labelWidthShape: 'Labels are 48 to 320 pixels wide',
93
+ datesOnly: (label) => `${label} is no date: when it was updated is a date`,
94
+ looksNeedField: 'Each kind’s look needs the field that holds the kind',
95
+ linksInRow: 'A count goes in the row under the title',
96
+ linkNeedsNumber: (label) => `${label} is no number: a count’s words follow a number`,
97
+ linkNeedsWords: 'A count needs its words',
98
+ iconOnlyNeedsIcon: 'Shown by its icon alone, it needs an icon',
99
+ toggleYesNo: (label) => `${label} is not yes or no: a toggle is pressed while a yes/no field is yes`,
100
+ pressedWordsNeedToggle: 'Words while pressed need what presses it',
101
+ chevronNeedsMenu: 'A chevron of its own needs a menu to open',
102
+ countShape: (label) => `${label} cannot be counted: a tab counts a number, lines, links or files`,
103
+ tabsDirectlyInHead: 'Tabs go in the head from directly in a sheet with a head',
104
+ accessKeyShape: 'An access key is one letter or digit of the label',
105
+ };
106
+ //# sourceMappingURL=head.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U,EAAE,sCAAsC;IAClD,8BAA8B;IAC9B,SAAS,EAAE,gCAAgC;IAC3C,MAAM,EAAE,4BAA4B;IACpC,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,yBAAyB,EAAE,GAAG;IACtD,QAAQ,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,uBAAuB,EAAE,GAAG;IACtD,UAAU,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,oBAAoB,EAAE,GAAG;IACrD,aAAa,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,qDAAqD;IAC/F,WAAW,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,qDAAqD;IAC7F,WAAW,EAAE,yCAAyC;IACtD,WAAW,EAAE,mEAAmE;IAChF,eAAe,EAAE,kCAAkC;IACnD,SAAS,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,4CAA4C;IAClF,cAAc,EAAE,sDAAsD;IACtE,UAAU,EAAE,yCAAyC;IACrD,eAAe,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,gDAAgD;IAC5F,cAAc,EAAE,yBAAyB;IACzC,iBAAiB,EAAE,2CAA2C;IAC9D,WAAW,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,oEAAoE;IAC5G,sBAAsB,EAAE,0CAA0C;IAClE,gBAAgB,EAAE,2CAA2C;IAC7D,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,kEAAkE;IACzG,kBAAkB,EAAE,0DAA0D;IAC9E,cAAc,EAAE,mDAAmD;CACpE,CAAC"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * A record's head, in the designer: its settings in the panel (Record head),
3
+ * its buttons', tabs' and fields' own parts, what the canvas says of it, and
4
+ * why an edit of it is refused.
5
+ */
6
+ export const head = {
7
+ // ---- the head's first buttons, as a work item has them
8
+ starter: { saveClose: 'Save and Close', save: 'Save', refresh: 'Refresh', undo: 'Revert changes' },
9
+ // ---- the sheet's settings: Record head
10
+ recordHead: 'Record head',
11
+ recordHeadHint: 'A work item’s head over the record: its kind’s strip and badge, the title line, a row of people and buttons, a band of fields and the tabs.',
12
+ headOn: 'A head over the record',
13
+ kindFrom: 'Kind from',
14
+ oneKind: 'One kind',
15
+ kindWords: 'Kind’s words',
16
+ kindWordsHint: 'With one kind, its name in the badge: “Bug”.',
17
+ numberFrom: 'Number from',
18
+ recordsId: 'The record’s id',
19
+ kindColour: 'Kind’s colour',
20
+ kindIcon: 'Kind’s icon',
21
+ noIcon: 'No icon',
22
+ kindLooks: 'Each kind’s look',
23
+ lookOf: (kind) => `${kind}: colour and icon`,
24
+ colourOf: (kind) => `${kind}’s colour`,
25
+ iconOf: (kind) => `${kind}’s icon`,
26
+ copyTitle: 'Copy title button',
27
+ bandColumns: 'Band’s columns',
28
+ bandColumnsHint: 'Their widths, apart by spaces: “274px 1fr”. Two even columns when empty.',
29
+ labelWidth: 'Band’s labels’ width',
30
+ bandFields: 'Band’s fields',
31
+ addBandField: 'Add a field to the band',
32
+ rowParts: 'Row under the title',
33
+ addRowField: 'Add a field to the row',
34
+ addRowLink: 'Add a count to the row',
35
+ linkWordsOne: (field) => `${field}: words after one`,
36
+ linkWordsOther: (field) => `${field}: words after more`,
37
+ linkTarget: (field) => `${field}: takes the reader to`,
38
+ nowhere: 'Nowhere',
39
+ actions: 'Buttons',
40
+ addButton: 'Add a button',
41
+ newButton: 'New button',
42
+ buttonHint: 'Pick a button on the canvas to set what it does and how it looks.',
43
+ updatedBy: 'Updated by',
44
+ updatedAt: 'Updated on',
45
+ updatedOpens: 'Pressed, “Updated by” shows',
46
+ noUpdated: 'Not shown',
47
+ noTab: 'No tab',
48
+ accessKey: 'Access key, with Alt',
49
+ accessKeyHint: 'A letter of its label: underlined in it, and Alt with it takes the focus to the field.',
50
+ accessKeyOf: (field) => `${field}: access key`,
51
+ removeNamed: (name) => `Remove ${name}`,
52
+ moveEarlier: (name) => `Move ${name} earlier`,
53
+ moveLater: (name) => `Move ${name} later`,
54
+ pick: 'Pick…',
55
+ // ---- a button's own parts
56
+ iconOnly: 'Its icon alone',
57
+ icon: 'Icon',
58
+ toggle: 'Pressed while',
59
+ notToggle: 'Not a toggle',
60
+ pressedWords: 'Words while pressed',
61
+ primaryWhenChanged: 'Primary while the record has changes',
62
+ menu: 'Menu beside it',
63
+ menuHint: 'Each choice’s words and the app’s action; a button with no steps or action of its own opens it.',
64
+ addChoice: 'Add a choice',
65
+ choiceWords: 'Choice’s words',
66
+ choiceAction: 'Its action',
67
+ newChoice: 'New choice',
68
+ chevronIcon: 'Chevron’s icon',
69
+ chevronName: 'Chevron’s name',
70
+ // ---- a tab's own parts, and tabs in the head
71
+ tabIcon: 'Icon',
72
+ tabIconOnly: 'Its icon alone',
73
+ countFrom: 'Count from',
74
+ noCount: 'No count',
75
+ inHead: 'In the record’s head',
76
+ inHeadHint: 'The tabs at the band’s end, their pages as the record’s body.',
77
+ // ---- the canvas
78
+ canvasHead: 'The record’s head: pick it to set it',
79
+ // ---- why an edit is refused
80
+ onlySheet: 'Only a record sheet has a head',
81
+ noHead: 'This sheet has no head yet',
82
+ noPart: (id) => `The head has no part "${id}"`,
83
+ noButton: (id) => `There is no button "${id}"`,
84
+ noTabNamed: (id) => `There is no tab "${id}"`,
85
+ kindOneOfList: (label) => `${label} holds no kinds: a kind is one of a list, or a link`,
86
+ numberShape: (label) => `${label} cannot be a record’s number: a number or words can`,
87
+ colourShape: 'A colour is written #rrggbb, as #cc293d',
88
+ tracksShape: 'Columns are widths such as 274px, 50% or 1fr, one to four of them',
89
+ labelWidthShape: 'Labels are 48 to 320 pixels wide',
90
+ datesOnly: (label) => `${label} is no date: when it was updated is a date`,
91
+ looksNeedField: 'Each kind’s look needs the field that holds the kind',
92
+ linksInRow: 'A count goes in the row under the title',
93
+ linkNeedsNumber: (label) => `${label} is no number: a count’s words follow a number`,
94
+ linkNeedsWords: 'A count needs its words',
95
+ iconOnlyNeedsIcon: 'Shown by its icon alone, it needs an icon',
96
+ toggleYesNo: (label) => `${label} is not yes or no: a toggle is pressed while a yes/no field is yes`,
97
+ pressedWordsNeedToggle: 'Words while pressed need what presses it',
98
+ chevronNeedsMenu: 'A chevron of its own needs a menu to open',
99
+ countShape: (label) => `${label} cannot be counted: a tab counts a number, lines, links or files`,
100
+ tabsDirectlyInHead: 'Tabs go in the head from directly in a sheet with a head',
101
+ accessKeyShape: 'An access key is one letter or digit of the label',
102
+ };
103
+ //# sourceMappingURL=head.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"head.mjs","sourceRoot":"","sources":["../../../../../../../libs/designer/src/lib/locales/en/head.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,yDAAyD;IACzD,OAAO,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE;IAClG,yCAAyC;IACzC,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE,6IAA6I;IAC7J,MAAM,EAAE,wBAAwB;IAChC,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,cAAc;IACzB,aAAa,EAAE,8CAA8C;IAC7D,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,iBAAiB;IAC5B,UAAU,EAAE,eAAe;IAC3B,QAAQ,EAAE,aAAa;IACvB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,kBAAkB;IAC7B,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,GAAG,IAAI,mBAAmB;IACpD,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,GAAG,IAAI,WAAW;IAC9C,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,GAAG,IAAI,SAAS;IAC1C,SAAS,EAAE,mBAAmB;IAC9B,WAAW,EA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AA2C;IAC7D,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,kEAAkE;IACzG,kBAAkB,EAAE,0DAA0D;IAC9E,cAAc,EAAE,mDAAmD;CACpE,CAAC"}
@@ -313,6 +313,9 @@ export declare const en: {
313
313
  onlyAlertCloses: string;
314
314
  onlySomeIcons: string;
315
315
  onlyOneChoiceBadge: string;
316
+ onlyLinkPath: string;
317
+ onlyStateDotColours: string;
318
+ colourAsHex: string;
316
319
  timesFromJson: (label: string) => string;
317
320
  foldStages: string;
318
321
  savesOnClick: string;
@@ -385,6 +388,14 @@ export declare const en: {
385
388
  filterCondition: string;
386
389
  buttonWords: string;
387
390
  listButtonAction: string;
391
+ cellWidth: string;
392
+ cellRule: string;
393
+ filterLabelNotOffered: (label: string) => string;
394
+ leadNeedsChoice: (label: string) => string;
395
+ dotNeedsChoice: (label: string) => string;
396
+ parentNotOwnLink: (label: string) => string;
397
+ notFilterable: (label: string) => string;
398
+ chooseHasButtons: string;
388
399
  };
389
400
  rules: {
390
401
  kinds: {
@@ -1106,6 +1117,14 @@ export declare const en: {
1106
1117
  tagColours: string;
1107
1118
  opensRecord: string;
1108
1119
  colourFor: (label: string) => string;
1120
+ pathPicker: string;
1121
+ joinedBy: string;
1122
+ suggestionsShown: string;
1123
+ treeShown: string;
1124
+ addedFromButton: string;
1125
+ ownList: string;
1126
+ dotsInList: string;
1127
+ noColourFor: (label: string) => string;
1109
1128
  mostCharacters: string;
1110
1129
  any: string;
1111
1130
  growsAsTyped: string;
@@ -1707,6 +1726,12 @@ export declare const en: {
1707
1726
  box: string;
1708
1727
  };
1709
1728
  readonlyShownHint: string;
1729
+ quietHints: string;
1730
+ quietHintWays: {
1731
+ say: string;
1732
+ nothing: string;
1733
+ };
1734
+ quietHintsHint: string;
1710
1735
  skin: string;
1711
1736
  skins: {
1712
1737
  underline: string;
@@ -1995,6 +2020,23 @@ export declare const en: {
1995
2020
  groupingNote: (any: boolean) => string;
1996
2021
  removeGrouping: (label: string) => string;
1997
2022
  rowOpens: string;
2023
+ choose: string;
2024
+ chooseHint: string;
2025
+ sortable: string;
2026
+ sortableHint: string;
2027
+ searchWay: string;
2028
+ searchWays: {
2029
+ bar: string;
2030
+ fields: string;
2031
+ };
2032
+ filterFields: string;
2033
+ filterFieldNamed: (label: string) => string;
2034
+ filterFieldsNote: string;
2035
+ filterLabelOf: (label: string) => string;
2036
+ filterLabelsNote: string;
2037
+ parentField: string;
2038
+ noParent: string;
2039
+ noParentField: string;
1998
2040
  map: string;
1999
2041
  onAMap: string;
2000
2042
  noPlace: string;
@@ -2089,6 +2131,37 @@ export declare const en: {
2089
2131
  ascendingShort: string;
2090
2132
  descendingShort: string;
2091
2133
  columnAbout: (label: string, stored: string) => string;
2134
+ cellWidget: string;
2135
+ cellWidgets: {
2136
+ words: string;
2137
+ dot: string;
2138
+ };
2139
+ dotColour: (option: string) => string;
2140
+ leadFrom: string;
2141
+ noLead: string;
2142
+ leadIcon: (option: string) => string;
2143
+ leadColour: (option: string) => string;
2144
+ cellWidth: string;
2145
+ cellWidthUnit: string;
2146
+ cellWidthUnits: {
2147
+ characters: string;
2148
+ pixels: string;
2149
+ };
2150
+ cellWidthHint: string;
2151
+ cellSide: string;
2152
+ cellSides: {
2153
+ auto: string;
2154
+ start: string;
2155
+ end: string;
2156
+ };
2157
+ cellRule: string;
2158
+ cellRules: {
2159
+ end: string;
2160
+ none: string;
2161
+ in: string;
2162
+ };
2163
+ cellRuleIn: string;
2164
+ cellRuleHint: string;
2092
2165
  look: string;
2093
2166
  actionHint: string;
2094
2167
  };
@@ -2796,4 +2869,153 @@ export declare const en: {
2796
2869
  fenceSays: (layer: string, area: string) => string;
2797
2870
  note: string;
2798
2871
  };
2872
+ head: {
2873
+ starter: {
2874
+ saveClose: string;
2875
+ save: string;
2876
+ refresh: string;
2877
+ undo: string;
2878
+ };
2879
+ recordHead: string;
2880
+ recordHeadHint: string;
2881
+ headOn: string;
2882
+ kindFrom: string;
2883
+ oneKind: string;
2884
+ kindWords: string;
2885
+ kindWordsHint: string;
2886
+ numberFrom: string;
2887
+ recordsId: string;
2888
+ kindColour: string;
2889
+ kindIcon: string;
2890
+ noIcon: string;
2891
+ kindLooks: string;
2892
+ lookOf: (kind: string) => string;
2893
+ colourOf: (kind: string) => string;
2894
+ iconOf: (kind: string) => string;
2895
+ copyTitle: string;
2896
+ bandColumns: string;
2897
+ bandColumnsHint: string;
2898
+ labelWidth: string;
2899
+ bandFields: string;
2900
+ addBandField: string;
2901
+ rowParts: string;
2902
+ addRowField: string;
2903
+ addRowLink: string;
2904
+ linkWordsOne: (field: string) => string;
2905
+ linkWordsOther: (field: string) => string;
2906
+ linkTarget: (field: string) => string;
2907
+ nowhere: string;
2908
+ actions: string;
2909
+ addButton: string;
2910
+ newButton: string;
2911
+ buttonHint: string;
2912
+ updatedBy: string;
2913
+ updatedAt: string;
2914
+ updatedOpens: string;
2915
+ noUpdated: string;
2916
+ noTab: string;
2917
+ accessKey: string;
2918
+ accessKeyHint: string;
2919
+ accessKeyOf: (field: string) => string;
2920
+ removeNamed: (name: string) => string;
2921
+ moveEarlier: (name: string) => string;
2922
+ moveLater: (name: string) => string;
2923
+ pick: string;
2924
+ iconOnly: string;
2925
+ icon: string;
2926
+ toggle: string;
2927
+ notToggle: string;
2928
+ pressedWords: string;
2929
+ primaryWhenChanged: string;
2930
+ menu: string;
2931
+ menuHint: string;
2932
+ addChoice: string;
2933
+ choiceWords: string;
2934
+ choiceAction: string;
2935
+ newChoice: string;
2936
+ chevronIcon: string;
2937
+ chevronName: string;
2938
+ tabIcon: string;
2939
+ tabIconOnly: string;
2940
+ countFrom: string;
2941
+ noCount: string;
2942
+ inHead: string;
2943
+ inHeadHint: string;
2944
+ canvasHead: string;
2945
+ onlySheet: string;
2946
+ noHead: string;
2947
+ noPart: (id: string) => string;
2948
+ noButton: (id: string) => string;
2949
+ noTabNamed: (id: string) => string;
2950
+ kindOneOfList: (label: string) => string;
2951
+ numberShape: (label: string) => string;
2952
+ colourShape: string;
2953
+ tracksShape: string;
2954
+ labelWidthShape: string;
2955
+ datesOnly: (label: string) => string;
2956
+ looksNeedField: string;
2957
+ linksInRow: string;
2958
+ linkNeedsNumber: (label: string) => string;
2959
+ linkNeedsWords: string;
2960
+ iconOnlyNeedsIcon: string;
2961
+ toggleYesNo: (label: string) => string;
2962
+ pressedWordsNeedToggle: string;
2963
+ chevronNeedsMenu: string;
2964
+ countShape: (label: string) => string;
2965
+ tabsDirectlyInHead: string;
2966
+ accessKeyShape: string;
2967
+ };
2968
+ workText: {
2969
+ columnWidths: string;
2970
+ columnWidthsHint: string;
2971
+ gap: string;
2972
+ gapHint: string;
2973
+ foldControl: string;
2974
+ beforeTitle: string;
2975
+ atHeadingEnd: string;
2976
+ maximise: string;
2977
+ maximiseHint: string;
2978
+ tracksCount: (columns: number, widths: number) => string;
2979
+ noWidth: (track: string) => string;
2980
+ gapRange: string;
2981
+ foldNeedsFolding: string;
2982
+ maximiseNeedsTitle: string;
2983
+ noIconHere: string;
2984
+ helpBox: string;
2985
+ helpBoxTitle: string;
2986
+ icon: string;
2987
+ noIcon: string;
2988
+ toolbarShown: string;
2989
+ always: string;
2990
+ whileWorkedIn: string;
2991
+ never: string;
2992
+ toolbarAt: string;
2993
+ atTop: string;
2994
+ atFoot: string;
2995
+ editor: string;
2996
+ richText: string;
2997
+ markdown: string;
2998
+ switchEditor: string;
2999
+ tools: string;
3000
+ mentions: string;
3001
+ mentionsPlaceholder: string;
3002
+ references: string;
3003
+ referenceKey: string;
3004
+ referenceModel: string;
3005
+ referenceLabel: string;
3006
+ addReference: string;
3007
+ removeReference: (key: string) => string;
3008
+ shownAs: string;
3009
+ tags: string;
3010
+ linksBox: string;
3011
+ addWay: string;
3012
+ addMenu: string;
3013
+ addSearch: string;
3014
+ addWords: string;
3015
+ helpWords: string;
3016
+ helpIcon: string;
3017
+ helpTiled: string;
3018
+ helpTile: string;
3019
+ emptyLink: string;
3020
+ };
2799
3021
  };