@nowline/core 0.8.5 → 0.9.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 +9 -0
- package/dist/convert/printer.d.ts.map +1 -1
- package/dist/convert/printer.js +20 -9
- package/dist/convert/printer.js.map +1 -1
- package/dist/convert/schema.d.ts +7 -0
- package/dist/convert/schema.d.ts.map +1 -1
- package/dist/convert/schema.js +1 -1
- package/dist/convert/schema.js.map +1 -1
- package/dist/generated/ast.d.ts +251 -141
- package/dist/generated/ast.d.ts.map +1 -1
- package/dist/generated/ast.js +96 -4
- package/dist/generated/ast.js.map +1 -1
- package/dist/generated/grammar.d.ts +1 -1
- package/dist/generated/grammar.d.ts.map +1 -1
- package/dist/generated/grammar.js +435 -149
- package/dist/generated/grammar.js.map +1 -1
- package/dist/generated/module.d.ts +3 -3
- package/dist/generated/module.d.ts.map +1 -1
- package/dist/generated/module.js +1 -1
- package/dist/i18n/codes.d.ts +1 -1
- package/dist/i18n/codes.d.ts.map +1 -1
- package/dist/i18n/codes.js +44 -1
- package/dist/i18n/codes.js.map +1 -1
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/messages.en.d.ts +107 -0
- package/dist/i18n/messages.en.d.ts.map +1 -1
- package/dist/i18n/messages.en.js +220 -1
- package/dist/i18n/messages.en.js.map +1 -1
- package/dist/i18n/messages.fr.d.ts.map +1 -1
- package/dist/i18n/messages.fr.js +250 -1
- package/dist/i18n/messages.fr.js.map +1 -1
- package/dist/i18n/wave-message-types.d.ts +238 -0
- package/dist/i18n/wave-message-types.d.ts.map +1 -0
- package/dist/i18n/wave-message-types.js +11 -0
- package/dist/i18n/wave-message-types.js.map +1 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.d.ts +6 -0
- package/dist/internal.d.ts.map +1 -0
- package/dist/internal.js +9 -0
- package/dist/internal.js.map +1 -0
- package/dist/language/ast-walk.d.ts +31 -0
- package/dist/language/ast-walk.d.ts.map +1 -0
- package/dist/language/ast-walk.js +109 -0
- package/dist/language/ast-walk.js.map +1 -0
- package/dist/language/calendar-declarations.d.ts +31 -0
- package/dist/language/calendar-declarations.d.ts.map +1 -0
- package/dist/language/calendar-declarations.js +99 -0
- package/dist/language/calendar-declarations.js.map +1 -0
- package/dist/language/include-references.d.ts +11 -0
- package/dist/language/include-references.d.ts.map +1 -0
- package/dist/language/include-references.js +45 -0
- package/dist/language/include-references.js.map +1 -0
- package/dist/language/include-resolver.d.ts +78 -1
- package/dist/language/include-resolver.d.ts.map +1 -1
- package/dist/language/include-resolver.js +190 -12
- package/dist/language/include-resolver.js.map +1 -1
- package/dist/language/include-waves.d.ts +73 -0
- package/dist/language/include-waves.d.ts.map +1 -0
- package/dist/language/include-waves.js +319 -0
- package/dist/language/include-waves.js.map +1 -0
- package/dist/language/nowline-module.js.map +1 -1
- package/dist/language/nowline-validator.d.ts +6 -1
- package/dist/language/nowline-validator.d.ts.map +1 -1
- package/dist/language/nowline-validator.js +95 -1589
- package/dist/language/nowline-validator.js.map +1 -1
- package/dist/language/references.d.ts +14 -0
- package/dist/language/references.d.ts.map +1 -0
- package/dist/language/references.js +36 -0
- package/dist/language/references.js.map +1 -0
- package/dist/language/style-chain.d.ts +37 -0
- package/dist/language/style-chain.d.ts.map +1 -0
- package/dist/language/style-chain.js +55 -0
- package/dist/language/style-chain.js.map +1 -0
- package/dist/language/validator/calendar.d.ts +9 -0
- package/dist/language/validator/calendar.d.ts.map +1 -0
- package/dist/language/validator/calendar.js +250 -0
- package/dist/language/validator/calendar.js.map +1 -0
- package/dist/language/validator/entities.d.ts +23 -0
- package/dist/language/validator/entities.d.ts.map +1 -0
- package/dist/language/validator/entities.js +261 -0
- package/dist/language/validator/entities.js.map +1 -0
- package/dist/language/validator/properties.d.ts +18 -0
- package/dist/language/validator/properties.d.ts.map +1 -0
- package/dist/language/validator/properties.js +356 -0
- package/dist/language/validator/properties.js.map +1 -0
- package/dist/language/validator/references.d.ts +7 -0
- package/dist/language/validator/references.d.ts.map +1 -0
- package/dist/language/validator/references.js +261 -0
- package/dist/language/validator/references.js.map +1 -0
- package/dist/language/validator/structure.d.ts +16 -0
- package/dist/language/validator/structure.d.ts.map +1 -0
- package/dist/language/validator/structure.js +166 -0
- package/dist/language/validator/structure.js.map +1 -0
- package/dist/language/validator/style.d.ts +5 -0
- package/dist/language/validator/style.d.ts.map +1 -0
- package/dist/language/validator/style.js +126 -0
- package/dist/language/validator/style.js.map +1 -0
- package/dist/language/validator/support.d.ts +35 -0
- package/dist/language/validator/support.d.ts.map +1 -0
- package/dist/language/validator/support.js +49 -0
- package/dist/language/validator/support.js.map +1 -0
- package/dist/language/validator/symbols.d.ts +6 -0
- package/dist/language/validator/symbols.d.ts.map +1 -0
- package/dist/language/validator/symbols.js +131 -0
- package/dist/language/validator/symbols.js.map +1 -0
- package/dist/language/validator/tables.d.ts +34 -0
- package/dist/language/validator/tables.d.ts.map +1 -0
- package/dist/language/validator/tables.js +120 -0
- package/dist/language/validator/tables.js.map +1 -0
- package/dist/language/validator-utils.d.ts +32 -0
- package/dist/language/validator-utils.d.ts.map +1 -0
- package/dist/language/validator-utils.js +118 -0
- package/dist/language/validator-utils.js.map +1 -0
- package/dist/language/value-tables.d.ts +107 -0
- package/dist/language/value-tables.d.ts.map +1 -0
- package/dist/language/value-tables.js +240 -0
- package/dist/language/value-tables.js.map +1 -0
- package/dist/language/waves-order.d.ts +51 -0
- package/dist/language/waves-order.d.ts.map +1 -0
- package/dist/language/waves-order.js +787 -0
- package/dist/language/waves-order.js.map +1 -0
- package/dist/language/waves-plan.d.ts +45 -0
- package/dist/language/waves-plan.d.ts.map +1 -0
- package/dist/language/waves-plan.js +64 -0
- package/dist/language/waves-plan.js.map +1 -0
- package/dist/language/waves.d.ts +96 -0
- package/dist/language/waves.d.ts.map +1 -0
- package/dist/language/waves.js +575 -0
- package/dist/language/waves.js.map +1 -0
- package/dist/util/props.d.ts +27 -0
- package/dist/util/props.d.ts.map +1 -0
- package/dist/util/props.js +49 -0
- package/dist/util/props.js.map +1 -0
- package/dist/util/single-line.d.ts +14 -0
- package/dist/util/single-line.d.ts.map +1 -0
- package/dist/util/single-line.js +16 -0
- package/dist/util/single-line.js.map +1 -0
- package/package.json +10 -6
- package/src/convert/printer.ts +20 -10
- package/src/convert/schema.ts +8 -1
- package/src/generated/ast.ts +160 -28
- package/src/generated/grammar.ts +435 -149
- package/src/generated/module.ts +1 -1
- package/src/i18n/codes.ts +95 -2
- package/src/i18n/index.ts +1 -0
- package/src/i18n/messages.en.ts +300 -1
- package/src/i18n/messages.fr.ts +335 -1
- package/src/i18n/wave-message-types.ts +206 -0
- package/src/index.ts +33 -0
- package/src/internal.ts +9 -0
- package/src/language/ast-walk.ts +158 -0
- package/src/language/calendar-declarations.ts +141 -0
- package/src/language/include-references.ts +49 -0
- package/src/language/include-resolver.ts +284 -10
- package/src/language/include-waves.ts +419 -0
- package/src/language/nowline-validator.ts +98 -1835
- package/src/language/nowline.langium +56 -22
- package/src/language/references.ts +40 -0
- package/src/language/style-chain.ts +95 -0
- package/src/language/validator/calendar.ts +319 -0
- package/src/language/validator/entities.ts +366 -0
- package/src/language/validator/properties.ts +425 -0
- package/src/language/validator/references.ts +295 -0
- package/src/language/validator/structure.ts +206 -0
- package/src/language/validator/style.ts +149 -0
- package/src/language/validator/support.ts +84 -0
- package/src/language/validator/symbols.ts +141 -0
- package/src/language/validator/tables.ts +171 -0
- package/src/language/validator-utils.ts +123 -0
- package/src/language/value-tables.ts +260 -0
- package/src/language/waves-order.ts +879 -0
- package/src/language/waves-plan.ts +101 -0
- package/src/language/waves.ts +731 -0
- package/src/util/props.ts +59 -0
- package/src/util/single-line.ts +15 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grammar.js","sourceRoot":"","sources":["../../src/gener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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmuF/G,CAAC,CAAC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
|
-
* This file was generated by langium-cli 4.
|
|
2
|
+
* This file was generated by langium-cli 4.4.0.
|
|
3
3
|
* DO NOT EDIT MANUALLY!
|
|
4
4
|
******************************************************************************/
|
|
5
5
|
import type { LangiumSharedCoreServices, LangiumCoreServices, LangiumGeneratedCoreServices, LangiumGeneratedSharedCoreServices, Module } from 'langium';
|
|
6
6
|
export declare const NowlineLanguageMetaData: {
|
|
7
|
-
readonly languageId:
|
|
7
|
+
readonly languageId: 'nowline';
|
|
8
8
|
readonly fileExtensions: readonly [".nowline"];
|
|
9
9
|
readonly caseInsensitive: false;
|
|
10
|
-
readonly mode:
|
|
10
|
+
readonly mode: 'development';
|
|
11
11
|
};
|
|
12
12
|
export declare const NowlineGeneratedSharedModule: Module<LangiumSharedCoreServices, LangiumGeneratedSharedCoreServices>;
|
|
13
13
|
export declare const NowlineGeneratedModule: Module<LangiumCoreServices, LangiumGeneratedCoreServices>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/generated/module.ts"],"names":[],"mappings":"AAAA;;;gFAGgF;AAEhF,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,kCAAkC,EAAoB,MAAM,EAAE,MAAM,SAAS,CAAC;AAI1K,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/generated/module.ts"],"names":[],"mappings":"AAAA;;;gFAGgF;AAEhF,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,kCAAkC,EAAoB,MAAM,EAAE,MAAM,SAAS,CAAC;AAI1K,eAAO,MAAM,uBAAuB;yBACpB,SAAS;;;mBAGf,aAAa;CACc,CAAC;AAEtC,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,yBAAyB,EAAE,kCAAkC,CAE9G,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,mBAAmB,EAAE,4BAA4B,CAI5F,CAAC"}
|
package/dist/generated/module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
|
-
* This file was generated by langium-cli 4.
|
|
2
|
+
* This file was generated by langium-cli 4.4.0.
|
|
3
3
|
* DO NOT EDIT MANUALLY!
|
|
4
4
|
******************************************************************************/
|
|
5
5
|
import { NowlineAstReflection } from './ast.js';
|
package/dist/i18n/codes.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type MessageCode = 'NL.E0001' | 'NL.E0002' | 'NL.E0003' | 'NL.E0004' | 'NL.E0005' | 'NL.E0100' | 'NL.E0101' | 'NL.E0102' | 'NL.E0103' | 'NL.E0104' | 'NL.E0200' | 'NL.E0201' | 'NL.E0300' | 'NL.E0301' | 'NL.E0400' | 'NL.E0401' | 'NL.E0402' | 'NL.E0403' | 'NL.E0404' | 'NL.E0405' | 'NL.E0406' | 'NL.E0407' | 'NL.E0408' | 'NL.E0410' | 'NL.E0411' | 'NL.E0412' | 'NL.E0413' | 'NL.E0500' | 'NL.E0501' | 'NL.E0502' | 'NL.E0503' | 'NL.E0504' | 'NL.E0505' | 'NL.E0600' | 'NL.W0700' | 'NL.W1000' | 'NL.I1000' | 'NL.I1001' | 'NL.I1002' | 'NL.I1003' | 'NL.I1004' | 'NL.I1005';
|
|
1
|
+
export type MessageCode = 'NL.E0001' | 'NL.E0002' | 'NL.E0003' | 'NL.E0004' | 'NL.E0005' | 'NL.E0100' | 'NL.E0101' | 'NL.E0102' | 'NL.E0103' | 'NL.E0104' | 'NL.E0200' | 'NL.E0201' | 'NL.E0202' | 'NL.E0300' | 'NL.E0301' | 'NL.E0302' | 'NL.E0400' | 'NL.E0401' | 'NL.E0402' | 'NL.E0403' | 'NL.E0404' | 'NL.E0405' | 'NL.E0406' | 'NL.E0407' | 'NL.E0408' | 'NL.E0410' | 'NL.E0411' | 'NL.E0412' | 'NL.E0413' | 'NL.E0500' | 'NL.E0501' | 'NL.E0502' | 'NL.E0503' | 'NL.E0504' | 'NL.E0505' | 'NL.E0600' | 'NL.E0800' | 'NL.E0801' | 'NL.E0802' | 'NL.E0803' | 'NL.E0804' | 'NL.E0805' | 'NL.E0806' | 'NL.E0807' | 'NL.E0808' | 'NL.E0809' | 'NL.E0810' | 'NL.E0811' | 'NL.E0812' | 'NL.E0900' | 'NL.E0901' | 'NL.E0902' | 'NL.E0903' | 'NL.E0904' | 'NL.E0905' | 'NL.E0906' | 'NL.E0907' | 'NL.W0700' | 'NL.W0701' | 'NL.W0702' | 'NL.W0703' | 'NL.W0704' | 'NL.W0705' | 'NL.E1100' | 'NL.E1101' | 'NL.E1102' | 'NL.E1103' | 'NL.E1104' | 'NL.E1105' | 'NL.E1106' | 'NL.W1000' | 'NL.W1002' | 'NL.W1100' | 'NL.W1101' | 'NL.I1000' | 'NL.I1001' | 'NL.I1002' | 'NL.I1003' | 'NL.I1004' | 'NL.I1005' | 'NL.I1006' | 'NL.I1007' | 'NL.I1008';
|
|
2
2
|
export declare const ALL_CODES: ReadonlyArray<MessageCode>;
|
|
3
3
|
//# sourceMappingURL=codes.d.ts.map
|
package/dist/i18n/codes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/i18n/codes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/i18n/codes.ts"],"names":[],"mappings":"AAyBA,MAAM,MAAM,WAAW,GAEjB,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GAGV,UAAU,GAEV,UAAU,GAGV,UAAU,GACV,UAAU,GAGV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,CAAC;AAEjB,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,WAAW,CAoFvC,CAAC"}
|
package/dist/i18n/codes.js
CHANGED
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
// NL.E0600–E0699 item / swimlane
|
|
13
13
|
// NL.E0700–E0799 capacity / utilization
|
|
14
14
|
// NL.E0800–E0899 style / color / symbol
|
|
15
|
-
// NL.E0900–E0999
|
|
15
|
+
// NL.E0900–E0999 calendar declarations (non-working / working)
|
|
16
|
+
// NL.E1100–E1199 waves
|
|
16
17
|
// NL.W0700–W0799 warnings (silently-ignored input)
|
|
17
18
|
// NL.W1000–W1099 layout warnings (author intent lost)
|
|
19
|
+
// NL.W1100–W1199 wave warnings
|
|
18
20
|
// NL.I1000–I1099 layout insights (informational reflow consequences)
|
|
19
21
|
//
|
|
20
22
|
// The full list of allocated codes lives in `messages.en.ts` (one entry
|
|
@@ -33,8 +35,10 @@ export const ALL_CODES = [
|
|
|
33
35
|
'NL.E0104',
|
|
34
36
|
'NL.E0200',
|
|
35
37
|
'NL.E0201',
|
|
38
|
+
'NL.E0202',
|
|
36
39
|
'NL.E0300',
|
|
37
40
|
'NL.E0301',
|
|
41
|
+
'NL.E0302',
|
|
38
42
|
'NL.E0400',
|
|
39
43
|
'NL.E0401',
|
|
40
44
|
'NL.E0402',
|
|
@@ -55,13 +59,52 @@ export const ALL_CODES = [
|
|
|
55
59
|
'NL.E0504',
|
|
56
60
|
'NL.E0505',
|
|
57
61
|
'NL.E0600',
|
|
62
|
+
'NL.E0800',
|
|
63
|
+
'NL.E0801',
|
|
64
|
+
'NL.E0802',
|
|
65
|
+
'NL.E0803',
|
|
66
|
+
'NL.E0804',
|
|
67
|
+
'NL.E0805',
|
|
68
|
+
'NL.E0806',
|
|
69
|
+
'NL.E0807',
|
|
70
|
+
'NL.E0808',
|
|
71
|
+
'NL.E0809',
|
|
72
|
+
'NL.E0810',
|
|
73
|
+
'NL.E0811',
|
|
74
|
+
'NL.E0812',
|
|
75
|
+
'NL.E0900',
|
|
76
|
+
'NL.E0901',
|
|
77
|
+
'NL.E0902',
|
|
78
|
+
'NL.E0903',
|
|
79
|
+
'NL.E0904',
|
|
80
|
+
'NL.E0905',
|
|
81
|
+
'NL.E0906',
|
|
82
|
+
'NL.E0907',
|
|
58
83
|
'NL.W0700',
|
|
84
|
+
'NL.W0701',
|
|
85
|
+
'NL.W0702',
|
|
86
|
+
'NL.W0703',
|
|
87
|
+
'NL.W0704',
|
|
88
|
+
'NL.W0705',
|
|
89
|
+
'NL.E1100',
|
|
90
|
+
'NL.E1101',
|
|
91
|
+
'NL.E1102',
|
|
92
|
+
'NL.E1103',
|
|
93
|
+
'NL.E1104',
|
|
94
|
+
'NL.E1105',
|
|
95
|
+
'NL.E1106',
|
|
59
96
|
'NL.W1000',
|
|
97
|
+
'NL.W1002',
|
|
98
|
+
'NL.W1100',
|
|
99
|
+
'NL.W1101',
|
|
60
100
|
'NL.I1000',
|
|
61
101
|
'NL.I1001',
|
|
62
102
|
'NL.I1002',
|
|
63
103
|
'NL.I1003',
|
|
64
104
|
'NL.I1004',
|
|
65
105
|
'NL.I1005',
|
|
106
|
+
'NL.I1006',
|
|
107
|
+
'NL.I1007',
|
|
108
|
+
'NL.I1008',
|
|
66
109
|
];
|
|
67
110
|
//# sourceMappingURL=codes.js.map
|
package/dist/i18n/codes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codes.js","sourceRoot":"","sources":["../../src/i18n/codes.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,sEAAsE;AACtE,0DAA0D;AAC1D,EAAE;AACF,oEAAoE;AACpE,4CAA4C;AAC5C,8BAA8B;AAC9B,4BAA4B;AAC5B,2DAA2D;AAC3D,wEAAwE;AACxE,kDAAkD;AAClD,oCAAoC;AACpC,2CAA2C;AAC3C,2CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"codes.js","sourceRoot":"","sources":["../../src/i18n/codes.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,sEAAsE;AACtE,0DAA0D;AAC1D,EAAE;AACF,oEAAoE;AACpE,4CAA4C;AAC5C,8BAA8B;AAC9B,4BAA4B;AAC5B,2DAA2D;AAC3D,wEAAwE;AACxE,kDAAkD;AAClD,oCAAoC;AACpC,2CAA2C;AAC3C,2CAA2C;AAC3C,kEAAkE;AAClE,0BAA0B;AAC1B,sDAAsD;AACtD,yDAAyD;AACzD,kCAAkC;AAClC,wEAAwE;AACxE,EAAE;AACF,wEAAwE;AACxE,mEAAmE;AACnE,gEAAgE;AAmHhE,MAAM,CAAC,MAAM,SAAS,GAA+B;IACjD,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;CACJ,CAAC"}
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { MessageCode } from './codes.js';
|
|
2
2
|
import { messages as enMessages } from './messages.en.js';
|
|
3
3
|
export type { MessageCode } from './codes.js';
|
|
4
|
+
export type * from './wave-message-types.js';
|
|
4
5
|
export type MessageBundle = {
|
|
5
6
|
[K in MessageCode]?: (...args: never[]) => string;
|
|
6
7
|
};
|
package/dist/i18n/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAK1D,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAK1D,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,mBAAmB,yBAAyB,CAAC;AAK7C,MAAM,MAAM,aAAa,GAAG;KACvB,CAAC,IAAI,WAAW,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,MAAM;CACpD,CAAC;AAkBF,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,GAAG,IAAI,CAE1E;AAED;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,CAAC,SAAS,WAAW,EACpC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,CAAC,EACP,GAAG,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,GACxB,MAAM,CAWR;AAKD,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,IAAI,UAAU,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
package/dist/i18n/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,uEAAuE;A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SAAS,CAAC,MAAc;IAC7B,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChC,OAAO,KAAK;SACP,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;QACb,IAAI,CAAC,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;QACvC,OAAO,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAClE,CAAC,CAAC;SACD,IAAI,CAAC,GAAG,CAAC,CAAC;AACnB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { E0202Args, E1100Args, E1101Args, E1102Args, E1103Args, E1104Args, E1105Args, E1106Args, I1006Args, I1007Args, I1008Args, W0701Args, W0702Args, W1002Args, W1100Args, W1101Args } from './wave-message-types.js';
|
|
1
2
|
export declare const messages: {
|
|
2
3
|
'NL.E0001': () => string;
|
|
3
4
|
'NL.E0002': () => string;
|
|
@@ -29,6 +30,7 @@ export declare const messages: {
|
|
|
29
30
|
'NL.E0201': (a: {
|
|
30
31
|
key: string;
|
|
31
32
|
}) => string;
|
|
33
|
+
'NL.E0202': (a: E0202Args) => string;
|
|
32
34
|
'NL.E0300': (a: {
|
|
33
35
|
name: string;
|
|
34
36
|
location: string;
|
|
@@ -36,6 +38,10 @@ export declare const messages: {
|
|
|
36
38
|
'NL.E0301': (a: {
|
|
37
39
|
type: string;
|
|
38
40
|
}) => string;
|
|
41
|
+
'NL.E0302': (a: {
|
|
42
|
+
key: string;
|
|
43
|
+
value: string;
|
|
44
|
+
}) => string;
|
|
39
45
|
'NL.E0400': (a: {
|
|
40
46
|
value: string;
|
|
41
47
|
}) => string;
|
|
@@ -103,16 +109,114 @@ export declare const messages: {
|
|
|
103
109
|
'NL.E0600': (a: {
|
|
104
110
|
name: string;
|
|
105
111
|
}) => string;
|
|
112
|
+
'NL.E0800': (a: {
|
|
113
|
+
value: string;
|
|
114
|
+
}) => string;
|
|
115
|
+
'NL.E0801': (a: {
|
|
116
|
+
value: string;
|
|
117
|
+
key: string;
|
|
118
|
+
}) => string;
|
|
119
|
+
'NL.E0802': (a: {
|
|
120
|
+
value: string;
|
|
121
|
+
key: string;
|
|
122
|
+
allowed: string;
|
|
123
|
+
}) => string;
|
|
124
|
+
'NL.E0803': (a: {
|
|
125
|
+
key: string;
|
|
126
|
+
}) => string;
|
|
127
|
+
'NL.E0804': (a: {
|
|
128
|
+
key: string;
|
|
129
|
+
entity: string;
|
|
130
|
+
}) => string;
|
|
131
|
+
'NL.E0805': (a: {
|
|
132
|
+
name: string;
|
|
133
|
+
builtins: string;
|
|
134
|
+
}) => string;
|
|
135
|
+
'NL.E0806': (a: {
|
|
136
|
+
name: string;
|
|
137
|
+
}) => string;
|
|
138
|
+
'NL.E0807': (a: {
|
|
139
|
+
name: string;
|
|
140
|
+
}) => string;
|
|
141
|
+
'NL.E0808': (a: {
|
|
142
|
+
name: string;
|
|
143
|
+
length: number;
|
|
144
|
+
}) => string;
|
|
145
|
+
'NL.E0809': (a: {
|
|
146
|
+
key: string;
|
|
147
|
+
}) => string;
|
|
148
|
+
'NL.E0810': (a: {
|
|
149
|
+
name: string;
|
|
150
|
+
location: string;
|
|
151
|
+
}) => string;
|
|
152
|
+
'NL.E0811': (a: {
|
|
153
|
+
key: string;
|
|
154
|
+
value: string;
|
|
155
|
+
builtins: string;
|
|
156
|
+
}) => string;
|
|
157
|
+
'NL.E0812': (a: {
|
|
158
|
+
key: string;
|
|
159
|
+
value: string;
|
|
160
|
+
}) => string;
|
|
161
|
+
'NL.E0900': (a: {
|
|
162
|
+
kind: string;
|
|
163
|
+
}) => string;
|
|
164
|
+
'NL.E0901': (a: {
|
|
165
|
+
kind: string;
|
|
166
|
+
key: string;
|
|
167
|
+
}) => string;
|
|
168
|
+
'NL.E0902': (a: {
|
|
169
|
+
kind: string;
|
|
170
|
+
key: string;
|
|
171
|
+
}) => string;
|
|
172
|
+
'NL.E0903': (a: {
|
|
173
|
+
start: string;
|
|
174
|
+
end: string;
|
|
175
|
+
}) => string;
|
|
176
|
+
'NL.E0904': (a: {
|
|
177
|
+
value: string;
|
|
178
|
+
}) => string;
|
|
179
|
+
'NL.E0905': (a: {
|
|
180
|
+
value: string;
|
|
181
|
+
}) => string;
|
|
182
|
+
'NL.E0906': () => string;
|
|
183
|
+
'NL.E0907': (a: {
|
|
184
|
+
kind: string;
|
|
185
|
+
name: string;
|
|
186
|
+
}) => string;
|
|
106
187
|
'NL.W0700': (a: {
|
|
107
188
|
key: string;
|
|
108
189
|
entity: string;
|
|
109
190
|
suggested: string;
|
|
110
191
|
}) => string;
|
|
192
|
+
'NL.W0701': (a: W0701Args) => string;
|
|
193
|
+
'NL.W0702': (a: W0702Args) => string;
|
|
194
|
+
'NL.W0703': (a: {
|
|
195
|
+
key: string;
|
|
196
|
+
entityType: string;
|
|
197
|
+
}) => string;
|
|
198
|
+
'NL.W0704': (a: {
|
|
199
|
+
position: string;
|
|
200
|
+
}) => string;
|
|
201
|
+
'NL.W0705': (a: {
|
|
202
|
+
daysPerWeek: number;
|
|
203
|
+
working: number;
|
|
204
|
+
}) => string;
|
|
205
|
+
'NL.E1100': (a: E1100Args) => string;
|
|
206
|
+
'NL.E1101': (a: E1101Args) => string;
|
|
207
|
+
'NL.E1102': (a: E1102Args) => string;
|
|
208
|
+
'NL.E1103': (a: E1103Args) => string;
|
|
209
|
+
'NL.E1104': (a: E1104Args) => string;
|
|
210
|
+
'NL.E1105': (a: E1105Args) => string;
|
|
211
|
+
'NL.E1106': (a: E1106Args) => string;
|
|
111
212
|
'NL.W1000': (a: {
|
|
112
213
|
date: string;
|
|
113
214
|
start: string;
|
|
114
215
|
end: string;
|
|
115
216
|
}) => string;
|
|
217
|
+
'NL.W1002': (a: W1002Args) => string;
|
|
218
|
+
'NL.W1100': (a: W1100Args) => string;
|
|
219
|
+
'NL.W1101': (a: W1101Args) => string;
|
|
116
220
|
'NL.I1000': (a: {
|
|
117
221
|
name: string;
|
|
118
222
|
}) => string;
|
|
@@ -133,5 +237,8 @@ export declare const messages: {
|
|
|
133
237
|
'NL.I1005': (a: {
|
|
134
238
|
lane: string;
|
|
135
239
|
}) => string;
|
|
240
|
+
'NL.I1006': (a: I1006Args) => string;
|
|
241
|
+
'NL.I1007': (a: I1007Args) => string;
|
|
242
|
+
'NL.I1008': (a: I1008Args) => string;
|
|
136
243
|
};
|
|
137
244
|
//# sourceMappingURL=messages.en.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.en.d.ts","sourceRoot":"","sources":["../../src/i18n/messages.en.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"messages.en.d.ts","sourceRoot":"","sources":["../../src/i18n/messages.en.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACR,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EAET,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EAIZ,MAAM,yBAAyB,CAAC;AA4GjC,eAAO,MAAM,QAAQ;IAEjB,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAIhC,UAAU,MAAM;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;IAEnC,UAAU,MAAM;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;IAEtD,UAAU,MAAM;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;IAEhD,UAAU,MAAM;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE;IAC/B,UAAU,MAAM;QAAE,KAAK,EAAE,M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,UAAU,MAAM,SAAS;IAEzB,UAAU,MAAM,SAAS;IAsBzB,UAAU,MAAM,SAAS;IAUzB,UAAU,MAAM,SAAS;IAIzB,UAAU,MAAM,SAAS;IAIzB,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;IAG5D,UAAU,MAAM,SAAS;IAIzB,UAAU,MAAM,SAAS;IAMzB,UAAU,MAAM,SAAS;IAezB,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAEhC,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAEhC,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAEhC,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;IAIjD,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;IAE9C,UAAU,MAAM;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAEhC,UAAU,MAAM,SAAS;IAIzB,UAAU,MAAM,SAAS;IAEzB,UAAU,MAAM,SAAS;CAE5B,CAAC"}
|
package/dist/i18n/messages.en.js
CHANGED
|
@@ -13,6 +13,100 @@
|
|
|
13
13
|
// entry to a uniform `(...args: never[]) => string` signature and break
|
|
14
14
|
// per-code argument inference. Coverage of `MessageCode` is enforced by
|
|
15
15
|
// the runtime test in `test/i18n/messages-coverage.test.ts`.
|
|
16
|
+
// Kind descriptors for wave messages arrive as structured values and are
|
|
17
|
+
// rendered here (with an article) so other bundles can translate the noun.
|
|
18
|
+
const KIND_WITH_ARTICLE = {
|
|
19
|
+
item: 'an item',
|
|
20
|
+
group: 'a group',
|
|
21
|
+
parallel: 'a parallel block',
|
|
22
|
+
swimlane: 'a swimlane',
|
|
23
|
+
anchor: 'an anchor',
|
|
24
|
+
milestone: 'a milestone',
|
|
25
|
+
'floating-milestone': 'a milestone without a date',
|
|
26
|
+
wave: 'a wave',
|
|
27
|
+
label: 'a label',
|
|
28
|
+
size: 'a size',
|
|
29
|
+
status: 'a status',
|
|
30
|
+
person: 'a person',
|
|
31
|
+
team: 'a team',
|
|
32
|
+
footnote: 'a footnote',
|
|
33
|
+
roadmap: 'the roadmap',
|
|
34
|
+
style: 'a style',
|
|
35
|
+
symbol: 'a symbol',
|
|
36
|
+
};
|
|
37
|
+
const KIND_NOUN = {
|
|
38
|
+
item: 'item',
|
|
39
|
+
group: 'group',
|
|
40
|
+
parallel: 'parallel block',
|
|
41
|
+
swimlane: 'swimlane',
|
|
42
|
+
anchor: 'anchor',
|
|
43
|
+
milestone: 'milestone',
|
|
44
|
+
'floating-milestone': 'milestone',
|
|
45
|
+
wave: 'wave',
|
|
46
|
+
label: 'label',
|
|
47
|
+
size: 'size',
|
|
48
|
+
status: 'status',
|
|
49
|
+
person: 'person',
|
|
50
|
+
team: 'team',
|
|
51
|
+
footnote: 'footnote',
|
|
52
|
+
roadmap: 'roadmap',
|
|
53
|
+
style: 'style',
|
|
54
|
+
symbol: 'symbol',
|
|
55
|
+
};
|
|
56
|
+
const capitalize = (s) => s.charAt(0).toUpperCase() + s.slice(1);
|
|
57
|
+
// A flow (swimlane, group, parallel) by name, or by position when unnamed.
|
|
58
|
+
function flowText(f) {
|
|
59
|
+
if (f.kind === 'parallel-block')
|
|
60
|
+
return `the parallel block on line ${f.line}`;
|
|
61
|
+
if (f.kind === 'group-block')
|
|
62
|
+
return `the group on line ${f.line}`;
|
|
63
|
+
return `${f.kind} "${f.name}"`;
|
|
64
|
+
}
|
|
65
|
+
// The entity a W1100/W1101 is on: `"name"`, or by position when it is an
|
|
66
|
+
// unnamed group or parallel.
|
|
67
|
+
function ownerText(a) {
|
|
68
|
+
if (a.name || a.line === undefined)
|
|
69
|
+
return `"${a.name}"`;
|
|
70
|
+
return flowText({
|
|
71
|
+
kind: a.kind === 'parallel' ? 'parallel-block' : 'group-block',
|
|
72
|
+
line: a.line,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
// An entity or container that may be unnamed, identified by line then.
|
|
76
|
+
function entityText(e, withArticle = true) {
|
|
77
|
+
if (e.name)
|
|
78
|
+
return `${e.kind} "${e.name}"`;
|
|
79
|
+
const noun = e.kind === 'parallel' ? 'parallel block' : e.kind;
|
|
80
|
+
const the = withArticle ? 'the ' : '';
|
|
81
|
+
return e.line === undefined ? `${the}${noun}` : `${the}${noun} on line ${e.line}`;
|
|
82
|
+
}
|
|
83
|
+
// Sentence subject for a container that may be unnamed: `Group "g"` or
|
|
84
|
+
// `The group on line 4`.
|
|
85
|
+
function containerSubject(c) {
|
|
86
|
+
return c.name ? `${capitalize(c.kind)} "${c.name}"` : capitalize(entityText(c));
|
|
87
|
+
}
|
|
88
|
+
function floorClause(floor) {
|
|
89
|
+
return floor === null ? 'has no start floor' : `opens no earlier than ${floor}`;
|
|
90
|
+
}
|
|
91
|
+
function suggestionText(s) {
|
|
92
|
+
if (!s)
|
|
93
|
+
return '';
|
|
94
|
+
return s.title === undefined
|
|
95
|
+
? ` Did you mean wave:${s.id}?`
|
|
96
|
+
: ` Did you mean wave:${s.id} ("${s.title}")?`;
|
|
97
|
+
}
|
|
98
|
+
// Up to five quoted names, then "and N more".
|
|
99
|
+
/** `"a", "b" and "c"`; past five, `"a", …, "e" and 3 more`. */
|
|
100
|
+
function namesAndText(names) {
|
|
101
|
+
const shown = names.slice(0, 5).map((n) => `"${n}"`);
|
|
102
|
+
const rest = names.length - shown.length;
|
|
103
|
+
if (rest > 0)
|
|
104
|
+
return `${shown.join(', ')} and ${rest} more`;
|
|
105
|
+
return `${shown.slice(0, -1).join(', ')} and ${shown[shown.length - 1]}`;
|
|
106
|
+
}
|
|
107
|
+
function waveListText(ids) {
|
|
108
|
+
return `[${ids.join(', ')}]`;
|
|
109
|
+
}
|
|
16
110
|
export const messages = {
|
|
17
111
|
// Structural
|
|
18
112
|
'NL.E0001': () => 'Config section must appear before roadmap.',
|
|
@@ -29,9 +123,22 @@ export const messages = {
|
|
|
29
123
|
// Include
|
|
30
124
|
'NL.E0200': (a) => `Invalid include mode "${a.value}". Must be merge, ignore, or isolate.`,
|
|
31
125
|
'NL.E0201': (a) => `Duplicate "${a.key}" option on include.`,
|
|
126
|
+
'NL.E0202': (a) => {
|
|
127
|
+
switch (a.reason) {
|
|
128
|
+
case 'mismatch':
|
|
129
|
+
return `Included "${a.path}" declares waves ${waveListText(a.child)}, but this file's waves are ${waveListText(a.parent)}. Every included roadmap must declare the same waves in the same order: copy this file's wave lines into "${a.path}".`;
|
|
130
|
+
case 'child-none':
|
|
131
|
+
return `Included "${a.path}" declares no waves, but this file's waves are ${waveListText(a.parent)}. Copy this file's wave lines into "${a.path}" so its work joins the waves.`;
|
|
132
|
+
case 'parent-none':
|
|
133
|
+
return `Included "${a.path}" declares waves ${waveListText(a.child)}, but this file declares none. Declare the same waves here so the barriers apply to the whole roadmap.`;
|
|
134
|
+
case 'floor':
|
|
135
|
+
return `Wave "${a.id}" in "${a.path}" ${floorClause(a.childFloor)}, but this file's wave "${a.id}" ${floorClause(a.parentFloor)}. A wave must have the same start floor in every included roadmap.`;
|
|
136
|
+
}
|
|
137
|
+
},
|
|
32
138
|
// Identifier
|
|
33
139
|
'NL.E0300': (a) => `Duplicate identifier "${a.name}". First declared at ${a.location}.`,
|
|
34
140
|
'NL.E0301': (a) => `${a.type} must have an identifier, a title, or both.`,
|
|
141
|
+
'NL.E0302': (a) => `${a.key}: reference "${a.value}" does not resolve to any declared entity in this file.`,
|
|
35
142
|
// Property values
|
|
36
143
|
'NL.E0400': (a) => `Invalid duration "${a.value}". Use a raw duration literal like 0.5d, 2w, 1m, 2q. Use "size:NAME" to reference a declared size.`,
|
|
37
144
|
'NL.E0401': (a) => `Invalid size "${a.value}". Use the id of a declared size (e.g. xs, m, lg).`,
|
|
@@ -43,7 +150,7 @@ export const messages = {
|
|
|
43
150
|
'NL.E0407': (a) => `Invalid calendar "${a.value}". Must be business, full, or custom.`,
|
|
44
151
|
'NL.E0408': (a) => `Property "${a.key}" requires at least one reference.`,
|
|
45
152
|
'NL.E0410': (a) => `"${a.key}:" accepts at most one inline date per direction; collapse the multiple dates to a single binding date or use a declared anchor.`,
|
|
46
|
-
'NL.E0411': (a) => `Inline date in "${a.key}:" is not allowed on ${a.type}. Allowed only on item, parallel, and group
|
|
153
|
+
'NL.E0411': (a) => `Inline date in "${a.key}:" is not allowed on ${a.type}. Allowed only on item, parallel, and group, and on a wave's after:; for a milestone use "date:" instead.`,
|
|
47
154
|
'NL.E0412': (a) => `Inline date "${a.date}" in "${a.key}:" requires the roadmap to declare "start:". Add start:YYYY-MM-DD to the roadmap.`,
|
|
48
155
|
'NL.E0413': (a) => `Inline date "${a.date}" in "${a.key}:" is before roadmap start ${a.start}.`,
|
|
49
156
|
// Anchor / milestone / footnote
|
|
@@ -55,10 +162,117 @@ export const messages = {
|
|
|
55
162
|
'NL.E0505': () => 'Footnote requires an "on:" property referencing one or more entities.',
|
|
56
163
|
// Item
|
|
57
164
|
'NL.E0600': (a) => `Item "${a.name}" requires a "size:" or "duration:" property.`,
|
|
165
|
+
// Style
|
|
166
|
+
'NL.E0800': (a) => `Invalid non-working value "${a.value}". Use hide or show.`,
|
|
167
|
+
'NL.E0801': (a) => `Invalid color "${a.value}" for "${a.key}". Use a named color, hex value, or "none".`,
|
|
168
|
+
'NL.E0802': (a) => `Invalid value "${a.value}" for "${a.key}". Allowed: ${a.allowed}.`,
|
|
169
|
+
'NL.E0803': (a) => `Unknown style property "${a.key}".`,
|
|
170
|
+
'NL.E0804': (a) => `Raw style property "${a.key}" is not allowed on ${a.entity}. ` +
|
|
171
|
+
`Declare a named style in config and reference it via "style:id".`,
|
|
172
|
+
'NL.E0805': (a) => `Symbol id "${a.name}" collides with a built-in icon name. Reserved built-ins: ${a.builtins}.`,
|
|
173
|
+
'NL.E0806': (a) => `Symbol "${a.name}" requires a "unicode:" property (e.g. unicode:"💰" or unicode:"\\u{1F464}").`,
|
|
174
|
+
'NL.E0807': (a) => `Symbol "${a.name}" unicode: must be a non-empty value.`,
|
|
175
|
+
'NL.E0808': (a) => `Symbol "${a.name}" ascii: must be 1-3 ASCII characters (got ${a.length} character${a.length === 1 ? '' : 's'}).`,
|
|
176
|
+
'NL.E0809': (a) => `Unknown symbol property "${a.key}". Allowed: unicode, ascii, link, description.`,
|
|
177
|
+
'NL.E0810': (a) => `Duplicate symbol id "${a.name}". First declared at ${a.location}.`,
|
|
178
|
+
'NL.E0811': (a) => `${a.key}: "${a.value}" is neither a built-in (${a.builtins}) nor a declared symbol. Add "symbol ${a.value} unicode:..." earlier in config or use a quoted Unicode literal.`,
|
|
179
|
+
'NL.E0812': (a) => `${a.key}: symbol "${a.value}" is referenced before its declaration. Move "symbol ${a.value}" above this entry.`,
|
|
180
|
+
// Calendar declarations (non-working and working)
|
|
181
|
+
'NL.E0900': (a) => `A ${a.kind} declaration takes date:, or start: and end:, or every: with optional start: and end:.`,
|
|
182
|
+
'NL.E0901': (a) => `Unknown ${a.kind} property "${a.key}". Allowed: date, start, end, every.`,
|
|
183
|
+
'NL.E0902': (a) => `${a.key}: on a ${a.kind} declaration takes one date, not a list.`,
|
|
184
|
+
'NL.E0903': (a) => `end: ${a.end} is before start: ${a.start}.`,
|
|
185
|
+
'NL.E0904': (a) => `Invalid weekday "${a.value}". Use sun, mon, tue, wed, thu, fri or sat.`,
|
|
186
|
+
'NL.E0905': (a) => `Weekday "${a.value}" is listed more than once.`,
|
|
187
|
+
'NL.E0906': () => 'This leaves no working day in the week with no end date. Keep at least one weekday working.',
|
|
188
|
+
'NL.E0907': (a) => `Duplicate ${a.kind} id "${a.name}".`,
|
|
58
189
|
// Warnings
|
|
59
190
|
'NL.W0700': (a) => `Unknown property "${a.key}" on ${a.entity}. The renderer ignores it.${a.suggested ? ` Did you mean "${a.suggested}"?` : ''}`,
|
|
191
|
+
'NL.W0701': (a) => `Wave "${a.id}" in "${a.path}" differs from this file's definition (${a.fields
|
|
192
|
+
.map((f) => `${f.field} ${f.there === '' ? 'none' : `"${f.there}"`} there, ${f.here === '' ? 'none' : `"${f.here}"`} here`)
|
|
193
|
+
.join('; ')}); this file's definition is used.`,
|
|
194
|
+
'NL.W0702': (a) => `"wave:" on ${a.target.kind === 'default'
|
|
195
|
+
? `"default ${a.target.entityType}"`
|
|
196
|
+
: !a.target.name && a.target.line !== undefined
|
|
197
|
+
? `the ${a.target.kind === 'parallel' ? 'parallel block' : a.target.kind} on line ${a.target.line}`
|
|
198
|
+
: `${a.target.kind} "${a.target.name}"`} is ignored: this roadmap declares no waves. Declare waves with "wave <id>" to use it, or remove the property.`,
|
|
199
|
+
'NL.W0703': (a) => `"${a.key}" on "default ${a.entityType}" is ignored: it is a roadmap-only style key. Set it on "default roadmap" instead.`,
|
|
200
|
+
'NL.W0704': (a) => `"timeline-position:${a.position}" draws no dates: "header-height:none" removes every timeline date strip. Set header-height to xs, sm, md, lg or xl to show them.`,
|
|
201
|
+
'NL.W0705': (a) => `days-per-week is ${a.daysPerWeek}, but the week leaves ${a.working} working days.`,
|
|
202
|
+
// Waves
|
|
203
|
+
'NL.E1100': (a) => `Wave ${a.title === undefined ? `on line ${a.line}` : `"${a.title}"`} needs an explicit identifier so work can reference it with wave:<id>, e.g. wave build "Build".`,
|
|
204
|
+
'NL.E1101': (a) => {
|
|
205
|
+
switch (a.reason) {
|
|
206
|
+
case 'list':
|
|
207
|
+
return `"wave:" takes exactly one wave id; an item belongs to at most one wave. Got "${a.value}".`;
|
|
208
|
+
case 'unknown':
|
|
209
|
+
return `Wave "${a.value}" is not declared. Declared waves: ${a.declared.length > 0 ? a.declared.join(', ') : 'none'}. Add "wave ${a.value}" above the first swimlane that uses it.${suggestionText(a.suggestion)}`;
|
|
210
|
+
case 'forward':
|
|
211
|
+
return `Wave "${a.value}" is used before its declaration on line ${a.line}. Declare waves above the swimlanes that use them.`;
|
|
212
|
+
case 'not-a-wave':
|
|
213
|
+
return `"wave:" must name a wave, but "${a.value}" is ${KIND_WITH_ARTICLE[a.kind]}.${suggestionText(a.suggestion)}`;
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
'NL.E1102': (a) => `${capitalize(entityText(a.entity))} has wave:${a.wave}, but its enclosing ${entityText(a.container, false)} has wave:${a.containerWave}. A container's wave applies to everything inside it; remove one of the two wave: properties.`,
|
|
217
|
+
'NL.E1103': (a) => {
|
|
218
|
+
switch (a.reason) {
|
|
219
|
+
case 'sequence': {
|
|
220
|
+
const many = a.items.length > 1;
|
|
221
|
+
const items = `${many ? 'Items' : 'Item'} ${a.items.map((n) => `"${n}"`).join(', ')} (wave "${a.itemWave}")`;
|
|
222
|
+
const ref = typeof a.ref === 'string' ? `"${a.ref}"` : flowText(a.ref);
|
|
223
|
+
return `${items} ${many ? 'come' : 'comes'} after ${ref} (wave "${a.refWave}") in ${flowText(a.flow)}. Work in a lane or group runs in order, so it must also be ordered by wave: move ${ref} below "${a.last}", or change their waves.`;
|
|
224
|
+
}
|
|
225
|
+
case 'join':
|
|
226
|
+
return `Item "${a.name}" (wave "${a.wave}") comes after ${flowText(a.block)} in ${flowText(a.flow)}, and that block cannot end before its track "${a.track}" (wave "${a.trackWave}") does. Move "${a.name}" above the block or into a track of its own, or change one of their waves.`;
|
|
227
|
+
case 'after-item':
|
|
228
|
+
return a.container
|
|
229
|
+
? `${containerSubject(a.container)} has after:${a.refId}, but "${a.ref}" is in later wave "${a.refWave}". Wave "${a.refWave}" cannot start until wave "${a.wave}" ends, so "${a.name}" (wave "${a.wave}") inside it could never start: move "${a.name}" to wave "${a.refWave}" or later, or remove the after:.`
|
|
230
|
+
: `Item "${a.name}" (wave "${a.wave}") has after:${a.refId}, but "${a.ref}" is in later wave "${a.refWave}". Wave "${a.refWave}" cannot start until wave "${a.wave}" ends, so "${a.name}" could never start: move it to wave "${a.refWave}" or later, or remove the after:.`;
|
|
231
|
+
case 'after-wave':
|
|
232
|
+
return a.container
|
|
233
|
+
? `${containerSubject(a.container)} (wave "${a.wave}") has after:${a.refId}, but work cannot wait for the end of its own wave or a later one. Use an earlier wave, or move the ${a.container.kind} to a later wave.`
|
|
234
|
+
: `Item "${a.name}" (wave "${a.wave}") has after:${a.refId}, but work cannot wait for the end of its own wave or a later one. Use an earlier wave, or move "${a.name}" to a later wave.`;
|
|
235
|
+
case 'chain':
|
|
236
|
+
return `Item "${a.name}" (wave "${a.wave}") could never start: through ${a.chain.join(' → ')}, it waits for work that cannot start until wave "${a.wave}" has ended. Move "${a.name}" to a later wave, or break the chain.`;
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
'NL.E1104': (a) => {
|
|
240
|
+
switch (a.reason) {
|
|
241
|
+
case 'swimlane':
|
|
242
|
+
return `"wave:" is not allowed on swimlane "${a.name}": a swimlane spans every wave. Put wave: on its items, or wrap them in "group wave:${a.value}".`;
|
|
243
|
+
case 'milestone':
|
|
244
|
+
return `"wave:" is not allowed on milestone "${a.name}". To place a milestone at the end of a wave, use after:${a.value}.`;
|
|
245
|
+
case 'other':
|
|
246
|
+
return `"wave:" is not allowed on ${KIND_NOUN[a.type]} "${a.name}"; only item, group, and parallel can belong to a wave.`;
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
'NL.E1105': (a) => a.reason === 'before'
|
|
250
|
+
? `"before:" is not allowed on wave "${a.name}". A wave's end comes from its items; to give a wave a deadline, add a dated milestone: milestone ${a.name}-due date:<YYYY-MM-DD> after:${a.name}.`
|
|
251
|
+
: `"${a.key}:" is not allowed on wave "${a.name}". A wave's span comes from its items; only after: (an anchor, a dated milestone, or one ISO date) can hold back a wave's start.`,
|
|
252
|
+
'NL.E1106': (a) => `Wave "${a.name}" has after:${a.ref}, but "${a.ref}" is ${KIND_WITH_ARTICLE[a.kind]}. A wave's after: accepts only anchors, dated milestones, or one ISO date; to make a wave wait for work, put that work in an earlier wave.`,
|
|
60
253
|
// Layout warnings
|
|
61
254
|
'NL.W1000': (a) => `Now-line date ${a.date} is outside the roadmap window (${a.start} – ${a.end}); it will not be drawn.`,
|
|
255
|
+
'NL.W1002': (a) => `Wave barriers did not settle after ${a.passes} layout passes, so the drawn schedule may not respect the wave order. The roadmap probably has an ordering conflict that validation did not catch.`,
|
|
256
|
+
// Wave warnings
|
|
257
|
+
'NL.W1100': (a) => {
|
|
258
|
+
const owner = ownerText(a);
|
|
259
|
+
return a.reason === 'item'
|
|
260
|
+
? `before:${a.ref} on ${owner} can never be met: ${owner} is in wave "${a.wave}", which cannot start until "${a.ref}" (wave "${a.refWave}") has finished. The overrun will be painted.`
|
|
261
|
+
: `before:${a.ref} on ${owner} can never be met: ${owner} is in wave "${a.wave}", which cannot finish before wave "${a.ref}" starts. The overrun will be painted.`;
|
|
262
|
+
},
|
|
263
|
+
'NL.W1101': (a) => {
|
|
264
|
+
const owner = ownerText(a);
|
|
265
|
+
switch (a.reason) {
|
|
266
|
+
case 'forward-lane':
|
|
267
|
+
return `${a.key}:${a.ref} on ${owner} refers to "${a.ref}", which is in a later swimlane ("${a.lane}"). Layout places swimlanes in order and ignores references to work it has not placed yet, so it ignores this ${a.key}:. Move swimlane "${a.lane}" above swimlane "${a.ownLane}", or remove the ${a.key}:.`;
|
|
268
|
+
case 'forward-flow':
|
|
269
|
+
return `${a.key}:${a.ref} on ${owner} refers to "${a.ref}", which comes later in ${flowText(a.flow)}. Layout ignores references to work it has not placed yet, so it ignores this ${a.key}:. Move "${a.ref}" above ${owner}, or remove the ${a.key}:.`;
|
|
270
|
+
case 'ancestor':
|
|
271
|
+
return `${a.key}:${a.ref} on ${owner} refers to "${a.ref}", which contains it. Layout ignores references to an enclosing group or parallel, so it ignores this ${a.key}:. Remove the ${a.key}:.`;
|
|
272
|
+
case 'floating-milestone':
|
|
273
|
+
return `${a.key}:${a.ref} on ${owner} refers to milestone "${a.ref}", which has no date. Floating milestones are placed after all work, so layout ignores this ${a.key}:. Reference the milestone's predecessors or a wave instead.`;
|
|
274
|
+
}
|
|
275
|
+
},
|
|
62
276
|
// Layout insights (informational)
|
|
63
277
|
'NL.I1000': (a) => `Title on item "${a.name}" is wider than its bar at this scale; it rendered to the right of the bar.`,
|
|
64
278
|
'NL.I1001': (a) => `Label chips on item "${a.name}" did not fit inside the bar; they rendered in a spill column to the right.`,
|
|
@@ -68,5 +282,10 @@ export const messages = {
|
|
|
68
282
|
: `Item "${a.name}" extends past its "before:" anchor.`,
|
|
69
283
|
'NL.I1004': (a) => `Swimlane "${a.lane}" packed into ${a.rows} rows to avoid overlap.`,
|
|
70
284
|
'NL.I1005': (a) => `Swimlane "${a.lane}" is over capacity in one or more periods (red utilization band).`,
|
|
285
|
+
'NL.I1006': (a) => a.names.length === 1
|
|
286
|
+
? `Wave "${a.names[0]}" won't be displayed: it has no items assigned.`
|
|
287
|
+
: `Waves ${namesAndText(a.names)} won't be displayed: they have no items assigned.`,
|
|
288
|
+
'NL.I1007': (a) => `Milestone "${a.name}" (${a.date}) is overrun: wave "${a.wave}" ends ${a.end}.`,
|
|
289
|
+
'NL.I1008': (a) => `Item "${a.name}" is pinned to ${a.pin} (${a.key}:), a non-working day; it starts on ${a.start}.`,
|
|
71
290
|
};
|
|
72
291
|
//# sourceMappingURL=messages.en.js.map
|