@tonguetoquill/collection 0.3.3 → 0.4.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/package.json +1 -1
- package/quills/daf4392/0.1.0/Quill.yaml +7 -22
- package/quills/daf4392/0.1.0/assets/page1.png +0 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/out/debug.typ +4 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/out/example.typ +4 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/page1.png +0 -0
- package/quills/daf4392/0.1.0/plate.typ +12 -20
- package/templates/templates.json +2 -2
package/package.json
CHANGED
|
@@ -16,7 +16,6 @@ fields:
|
|
|
16
16
|
required: true
|
|
17
17
|
description: "Matches the check box."
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
departure_date:
|
|
21
20
|
title: Departure Date
|
|
22
21
|
type: date
|
|
@@ -32,20 +31,6 @@ fields:
|
|
|
32
31
|
ui:
|
|
33
32
|
compact: true
|
|
34
33
|
description: "Final travel destination."
|
|
35
|
-
|
|
36
|
-
dept_flight_num:
|
|
37
|
-
title: Departure Flight Number
|
|
38
|
-
type: string
|
|
39
|
-
ui:
|
|
40
|
-
compact: true
|
|
41
|
-
description: "Departure flight number."
|
|
42
|
-
|
|
43
|
-
arrival_flight_num:
|
|
44
|
-
title: Arrival Flight Number
|
|
45
|
-
type: string
|
|
46
|
-
ui:
|
|
47
|
-
compact: true
|
|
48
|
-
description: "Arrival flight number."
|
|
49
34
|
|
|
50
35
|
notes:
|
|
51
36
|
title: Notes
|
|
@@ -58,7 +43,7 @@ fields:
|
|
|
58
43
|
required: true
|
|
59
44
|
ui:
|
|
60
45
|
compact: true
|
|
61
|
-
description: "Unit / Organization."
|
|
46
|
+
description: "Unit / Organization conducting the brief."
|
|
62
47
|
|
|
63
48
|
briefed_date:
|
|
64
49
|
title: Date Briefed
|
|
@@ -66,7 +51,7 @@ fields:
|
|
|
66
51
|
required: true
|
|
67
52
|
ui:
|
|
68
53
|
compact: true
|
|
69
|
-
description: "
|
|
54
|
+
description: "Date the brief took place."
|
|
70
55
|
|
|
71
56
|
briefee_name:
|
|
72
57
|
title: Individual Receiving Brief (Name)
|
|
@@ -74,29 +59,29 @@ fields:
|
|
|
74
59
|
required: true
|
|
75
60
|
ui:
|
|
76
61
|
compact: true
|
|
77
|
-
description: "
|
|
62
|
+
description: "Name (Last, First) of the individual receiving the brief."
|
|
78
63
|
|
|
79
64
|
briefee_grade:
|
|
80
65
|
title: Individual Receiving Brief (Grade)
|
|
81
66
|
type: string
|
|
82
67
|
ui:
|
|
83
68
|
compact: true
|
|
84
|
-
description: "
|
|
69
|
+
description: "Grade of the individual receiving the brief."
|
|
85
70
|
|
|
86
71
|
emergency_contact_name:
|
|
87
72
|
title: Emergency Contact Name
|
|
88
73
|
type: string
|
|
89
|
-
description: "
|
|
74
|
+
description: "Name of the emergency contact person at the bottom of the form."
|
|
90
75
|
|
|
91
76
|
emergency_contact_phone:
|
|
92
77
|
title: Emergency Contact Phone
|
|
93
78
|
type: string
|
|
94
|
-
description: "
|
|
79
|
+
description: "Phone number of the emergency contact person at the bottom of the form."
|
|
95
80
|
|
|
96
81
|
cards:
|
|
97
82
|
itinerary:
|
|
98
83
|
title: Proposed Travel Itinerary
|
|
99
|
-
description: "Each card represents one row in the travel itinerary table. Up to
|
|
84
|
+
description: "Each card represents one row in the travel itinerary table. Up to 5 rows are supported."
|
|
100
85
|
ui:
|
|
101
86
|
hide_body: true
|
|
102
87
|
fields:
|
|
Binary file
|
|
Binary file
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
// Fields
|
|
22
22
|
#tf(40pt, 100pt)[#data.at("departure_date", default: "")]
|
|
23
|
-
#tf(
|
|
23
|
+
#tf(120pt, 100pt)[#data.at("final_destination", default: "")]
|
|
24
24
|
|
|
25
25
|
// Itinerary Rows (via CARDS)
|
|
26
26
|
#{
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
let dy-step = 40pt
|
|
30
30
|
if "CARDS" in data {
|
|
31
31
|
for card in data.CARDS {
|
|
32
|
-
if card.CARD == "itinerary" and row <
|
|
32
|
+
if card.CARD == "itinerary" and row < 5 {
|
|
33
33
|
let dy = dy-start + (row * dy-step)
|
|
34
34
|
tf(80pt, dy)[#card.at("date", default: "")]
|
|
35
35
|
tf(135pt, dy)[#card.at("departure_point", default: "")]
|
|
36
|
-
tf(
|
|
36
|
+
tf(300pt, dy)[#card.at("arrival_point", default: "")]
|
|
37
37
|
tf(450pt, dy)[#card.at("rest_length", default: "")]
|
|
38
38
|
tf(515pt, dy)[#card.at("mileage", default: "")]
|
|
39
39
|
row = row + 1
|
|
@@ -42,27 +42,19 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
// Flight Info
|
|
46
|
-
#{
|
|
47
|
-
let d-flight = str(data.at("dept_flight_num", default: ""))
|
|
48
|
-
if d-flight != "" { tf(350pt, 545pt)[#text(weight: "bold")[Dept Flight:] #d-flight] }
|
|
49
|
-
|
|
50
|
-
let a-flight = str(data.at("arrival_flight_num", default: ""))
|
|
51
|
-
if a-flight != "" { tf(450pt, 545pt)[#text(weight: "bold")[Arr Flight:] #a-flight] }
|
|
52
|
-
}
|
|
53
|
-
|
|
54
45
|
// Notes
|
|
55
|
-
#tf(40pt,
|
|
46
|
+
#tf(40pt, 360pt)[#block(width: 530pt)[#data.at("notes", default: "")]]
|
|
56
47
|
|
|
57
48
|
// Acknowledgements
|
|
58
|
-
#tf(40pt,
|
|
59
|
-
#tf(500pt,
|
|
49
|
+
#tf(40pt, 420pt)[#data.at("organization", default: "")]
|
|
50
|
+
#tf(500pt, 420pt)[#data.at("briefed_date", default: "")]
|
|
60
51
|
|
|
61
|
-
#tf(40pt,
|
|
62
|
-
#tf(270pt,
|
|
52
|
+
#tf(40pt, 450pt)[#data.at("briefee_name", default: "")]
|
|
53
|
+
#tf(270pt, 450pt)[#data.at("briefee_grade", default: "")]
|
|
63
54
|
|
|
64
|
-
#tf(40pt,
|
|
65
|
-
#tf(270pt,
|
|
55
|
+
#tf(40pt, 480pt)[#data.at("briefer_name", default: "")]
|
|
56
|
+
#tf(270pt, 480pt)[#data.at("briefer_grade", default: "")]
|
|
66
57
|
|
|
67
58
|
// Emergency Contact
|
|
68
|
-
#tf(40pt,
|
|
59
|
+
#tf(40pt, 500pt)[#text(size: 16pt, weight: "bold")[EMERGENCY CONTACT]]
|
|
60
|
+
#tf(40pt, 520pt)[#text(size: 12pt)[#data.at("emergency_contact_name", default: ""): #data.at("emergency_contact_phone", default: "")]]
|
package/templates/templates.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"id": "usaf-
|
|
3
|
+
"id": "usaf-default",
|
|
4
4
|
"name": "USAF Memo",
|
|
5
5
|
"description": "Official U.S. Air Force memorandum template",
|
|
6
6
|
"file": "usaf_template.md",
|
|
7
7
|
"production": true
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
|
-
"id": "ussf-
|
|
10
|
+
"id": "ussf-default",
|
|
11
11
|
"name": "USSF Memo",
|
|
12
12
|
"description": "Official U.S. Space Force memorandum template",
|
|
13
13
|
"file": "ussf_template.md",
|