@sharadox/sharadox-web-library 0.43.0 → 0.44.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 (55) hide show
  1. package/README.md +1 -1
  2. package/distribution/component/about/feed/activity/index.d.ts +8 -0
  3. package/distribution/component/about/feed/activity/index.d.ts.map +1 -0
  4. package/distribution/component/about/feed/activity/index.js +23 -0
  5. package/distribution/component/about/feed/activity/index.js.map +1 -0
  6. package/distribution/component/about/feed/activity/index.module.css +1 -0
  7. package/distribution/component/about/feed/activity/index.module.scss +91 -0
  8. package/distribution/component/about/feed/activity/type.d.ts +7 -0
  9. package/distribution/component/about/feed/activity/type.d.ts.map +1 -0
  10. package/distribution/component/about/feed/activity/type.js +2 -0
  11. package/distribution/component/about/feed/activity/type.js.map +1 -0
  12. package/distribution/component/about/feed/client/index.d.ts +7 -0
  13. package/distribution/component/about/feed/client/index.d.ts.map +1 -0
  14. package/distribution/component/about/feed/client/index.js +18 -0
  15. package/distribution/component/about/feed/client/index.js.map +1 -0
  16. package/distribution/component/about/feed/client/index.module.css +1 -0
  17. package/distribution/component/about/feed/client/index.module.scss +183 -0
  18. package/distribution/component/about/feed/client/type.d.ts +5 -0
  19. package/distribution/component/about/feed/client/type.d.ts.map +1 -0
  20. package/distribution/component/about/feed/client/type.js +2 -0
  21. package/distribution/component/about/feed/client/type.js.map +1 -0
  22. package/distribution/component/about/feed/euros/index.d.ts +4 -0
  23. package/distribution/component/about/feed/euros/index.d.ts.map +1 -0
  24. package/distribution/component/about/feed/euros/index.js +7 -0
  25. package/distribution/component/about/feed/euros/index.js.map +1 -0
  26. package/distribution/component/about/feed/index.d.ts +5 -10
  27. package/distribution/component/about/feed/index.d.ts.map +1 -1
  28. package/distribution/component/about/feed/index.js +98 -21
  29. package/distribution/component/about/feed/index.js.map +1 -1
  30. package/distribution/component/about/feed/index.module.css +1 -1
  31. package/distribution/component/about/feed/index.module.scss +81 -340
  32. package/distribution/component/about/feed/project/index.d.ts +7 -0
  33. package/distribution/component/about/feed/project/index.d.ts.map +1 -0
  34. package/distribution/component/about/feed/project/index.js +18 -0
  35. package/distribution/component/about/feed/project/index.js.map +1 -0
  36. package/distribution/component/about/feed/project/index.module.css +1 -0
  37. package/distribution/component/about/feed/project/index.module.scss +129 -0
  38. package/distribution/component/about/feed/project/type.d.ts +7 -0
  39. package/distribution/component/about/feed/project/type.d.ts.map +1 -0
  40. package/distribution/component/about/feed/project/type.js +2 -0
  41. package/distribution/component/about/feed/project/type.js.map +1 -0
  42. package/distribution/component/about/feed/script/index.d.ts +14 -0
  43. package/distribution/component/about/feed/script/index.d.ts.map +1 -0
  44. package/distribution/component/about/feed/script/index.js +60 -0
  45. package/distribution/component/about/feed/script/index.js.map +1 -0
  46. package/distribution/component/about/feed/script/type.d.ts +16 -0
  47. package/distribution/component/about/feed/script/type.d.ts.map +1 -0
  48. package/distribution/component/about/feed/script/type.js +2 -0
  49. package/distribution/component/about/feed/script/type.js.map +1 -0
  50. package/distribution/content/about/index.d.ts +144 -79
  51. package/distribution/content/about/index.d.ts.map +1 -1
  52. package/distribution/content/about/index.js +95 -43
  53. package/distribution/content/about/index.js.map +1 -1
  54. package/llms.txt +2 -1
  55. package/package.json +2 -2
@@ -0,0 +1,129 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ .project {
5
+ display: grid;
6
+ justify-content: stretch;
7
+ align-content: start;
8
+ gap: 16px;
9
+ text-align: left;
10
+ }
11
+ .title {
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: space-between;
15
+ gap: 10px;
16
+ b {
17
+ font-weight: 600;
18
+ letter-spacing: -0.02em;
19
+ }
20
+ }
21
+ .chip {
22
+ flex: none;
23
+ padding: 3px 9px;
24
+ border: 1px solid var(--line-2);
25
+ border-radius: 99px;
26
+ font-size: 11.5px;
27
+ color: var(--foreground-2);
28
+ }
29
+ /* The progress: label and a big number on one line, the bar under them, the task count beneath. */
30
+ .progress {
31
+ display: grid;
32
+ grid-template-columns: 1fr auto;
33
+ align-items: end;
34
+ gap: 8px;
35
+ font-size: 12.5px;
36
+ color: var(--foreground-2);
37
+ i {
38
+ grid-column: 1 / -1;
39
+ height: 8px;
40
+ border-radius: 99px;
41
+ background:
42
+ linear-gradient(var(--foreground), var(--foreground)) 0 0 / var(--to) 100% no-repeat,
43
+ tint($faint);
44
+ transition: background-size 0.9s $ease;
45
+ }
46
+ small {
47
+ grid-column: 1 / -1;
48
+ font-size: 11px;
49
+ color: var(--foreground-3);
50
+ }
51
+ }
52
+ .percent {
53
+ font-size: 26px;
54
+ font-weight: 600;
55
+ line-height: 1;
56
+ letter-spacing: -0.04em;
57
+ color: var(--foreground);
58
+ }
59
+ /* The checklist: a box that fills with a tick when done. */
60
+ .checklist {
61
+ display: grid;
62
+ justify-content: stretch;
63
+ gap: 2px;
64
+ margin: 0;
65
+ padding: 0;
66
+ list-style: none;
67
+ li {
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: flex-start;
71
+ gap: 10px;
72
+ padding: 7px 8px;
73
+ border-radius: 8px;
74
+ font-size: 13.5px;
75
+ color: var(--foreground-2);
76
+ transition: color 0.3s;
77
+ i {
78
+ display: grid;
79
+ place-items: center;
80
+ width: 18px;
81
+ height: 18px;
82
+ border: 1.5px solid tint($edge);
83
+ border-radius: 5px;
84
+ font-size: 12px;
85
+ color: transparent;
86
+ transition:
87
+ background-color 0.3s,
88
+ border-color 0.3s,
89
+ color 0.3s;
90
+ }
91
+ &[data-done] {
92
+ color: var(--foreground-3);
93
+ text-decoration: line-through;
94
+ text-decoration-color: tint($detail);
95
+ i {
96
+ border-color: var(--foreground);
97
+ background: var(--foreground);
98
+ color: var(--background);
99
+ }
100
+ }
101
+ }
102
+ }
103
+ /* The budget: one bar, paid filling it, the two amounts under it. */
104
+ .budget {
105
+ display: grid;
106
+ grid-template-columns: 1fr auto;
107
+ gap: 8px;
108
+ padding: 12px;
109
+ border: 1px solid var(--line-2);
110
+ border-radius: 12px;
111
+ background: surface($hint);
112
+ font-size: 12px;
113
+ color: var(--foreground-3);
114
+ i {
115
+ grid-column: 1 / -1;
116
+ height: 6px;
117
+ border-radius: 99px;
118
+ background:
119
+ linear-gradient(var(--foreground), var(--foreground)) 0 0 / var(--to) 100% no-repeat,
120
+ tint($faint);
121
+ }
122
+ b {
123
+ color: var(--foreground);
124
+ font-weight: 600;
125
+ }
126
+ span:last-child {
127
+ text-align: right;
128
+ }
129
+ }
@@ -0,0 +1,7 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
+ export interface ProjectProperties {
3
+ locale: Locale;
4
+ /** Whether the next task on the checklist has been ticked. */
5
+ ticked: boolean;
6
+ }
7
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../source/component/about/feed/project/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,MAAM,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../source/component/about/feed/project/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import type { FeedStage } from "@sharadox/sharadox-web-library/component/about/feed/script/type";
2
+ /** Waits, unless the script is stopped first: then it throws, ending the script where it is. */
3
+ export declare const pause: (milliseconds: number, signal: AbortSignal) => Promise<void>;
4
+ /**
5
+ * The panel's little film, over and over until stopped: the activity log fills one entry at a time and the pointer
6
+ * hovers one to read its detail; it clicks Project, reads the budget, ticks the next task (the progress goes up);
7
+ * it clicks Client, reads the paid share and a past project; then it clicks Activity, and it starts again.
8
+ *
9
+ * @example
10
+ * const stop = new AbortController();
11
+ * playFeed(stage, 6, stop.signal).catch(() => {});
12
+ */
13
+ export declare function playFeed(stage: FeedStage, events: number, signal: AbortSignal): Promise<void>;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/about/feed/script/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iEAAiE,CAAC;AAEjG,gGAAgG;AAChG,eAAO,MAAM,KAAK,GAAI,cAAc,MAAM,EAAE,QAAQ,WAAW,kBAO3D,CAAC;AAEL;;;;;;;;GAQG;AACH,wBAAsB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,iBAyCnF"}
@@ -0,0 +1,60 @@
1
+ /** Waits, unless the script is stopped first: then it throws, ending the script where it is. */
2
+ export const pause = (milliseconds, signal) => new Promise((resolve, reject) => {
3
+ const timer = setTimeout(resolve, milliseconds);
4
+ signal.addEventListener("abort", () => {
5
+ clearTimeout(timer);
6
+ reject(signal.reason);
7
+ });
8
+ });
9
+ /**
10
+ * The panel's little film, over and over until stopped: the activity log fills one entry at a time and the pointer
11
+ * hovers one to read its detail; it clicks Project, reads the budget, ticks the next task (the progress goes up);
12
+ * it clicks Client, reads the paid share and a past project; then it clicks Activity, and it starts again.
13
+ *
14
+ * @example
15
+ * const stop = new AbortController();
16
+ * playFeed(stage, 6, stop.signal).catch(() => {});
17
+ */
18
+ export async function playFeed(stage, events, signal) {
19
+ const wait = (milliseconds) => pause(milliseconds, signal);
20
+ const read = async (target, milliseconds = 1800) => {
21
+ stage.point(target);
22
+ await wait(850);
23
+ stage.tip(target);
24
+ await wait(milliseconds);
25
+ stage.tip(null);
26
+ };
27
+ const click = async (target, then) => {
28
+ stage.point(target);
29
+ await wait(850);
30
+ stage.press(true);
31
+ then();
32
+ await wait(220);
33
+ stage.press(false);
34
+ };
35
+ for (;;) {
36
+ stage.tab(0);
37
+ stage.tick(false);
38
+ stage.show(0);
39
+ stage.point(null);
40
+ await wait(500);
41
+ for (let count = 1; count <= events; count++) {
42
+ stage.show(count);
43
+ await wait(1000);
44
+ }
45
+ await read("event-2");
46
+ await click("tab-1", () => stage.tab(1));
47
+ await wait(900);
48
+ await read("budget");
49
+ await click("task-3", () => stage.tick(true));
50
+ await wait(1500);
51
+ await click("tab-2", () => stage.tab(2));
52
+ await wait(900);
53
+ await read("donut");
54
+ await read("project-0", 1500);
55
+ await read("tasks", 1500);
56
+ await click("tab-0", () => stage.tab(0));
57
+ await wait(400);
58
+ }
59
+ }
60
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/about/feed/script/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,16 @@
1
+ /** What the script moves on the stage. Targets are the `data-target` names of the things in the panel. */
2
+ export interface FeedStage {
3
+ /** Shows the tab with this index. */
4
+ tab: (index: number) => void;
5
+ /** How many log entries have come in. */
6
+ show: (count: number) => void;
7
+ /** Whether the pointer has ticked the next task. */
8
+ tick: (ticked: boolean) => void;
9
+ /** Moves the pointer onto a target, or hides it. */
10
+ point: (target: string | null) => void;
11
+ /** Presses or releases the pointer's button. */
12
+ press: (pressed: boolean) => void;
13
+ /** Shows the label of a target, or hides it. */
14
+ tip: (target: string | null) => void;
15
+ }
16
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../source/component/about/feed/script/type.ts"],"names":[],"mappings":"AAAA,0GAA0G;AAC1G,MAAM,WAAW,SAAS;IACxB,qCAAqC;IACrC,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,yCAAyC;IACzC,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,oDAAoD;IACpD,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAChC,oDAAoD;IACpD,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,gDAAgD;IAChD,KAAK,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,gDAAgD;IAChD,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACtC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../source/component/about/feed/script/type.ts"],"names":[],"mappings":""}
@@ -2,12 +2,12 @@
2
2
  * "About", between the hero and the services: the sentence that lights up as it scrolls, then the two things
3
3
  * Sharadox does. The brand, online, everywhere; and, given the most room, the platform that runs the business:
4
4
  * automated where it can be, and where people do the work by hand (packing, loading, delivering), each job reaching
5
- * the right person as a simple task, all of it run from anywhere. Its live feed shows both at work.
5
+ * the right person as a simple task, all of it run from anywhere. Its panel shows one job at work in it.
6
6
  */
7
7
  export declare const ABOUT: {
8
8
  readonly statement: {
9
- readonly en: "We take your brand everywhere online, and build the system that runs your business behind it.";
10
- readonly pt: "Levamos a sua marca a todo o lado online, e construímos o sistema que gere o seu negócio por trás dela.";
9
+ readonly en: "From branding, websites, apps and marketing, to tailored systems that fully automate or drastically simplify your daily operations.";
10
+ readonly pt: "Do branding, websites, aplicações e marketing, a sistemas à medida que automatizam por completo ou simplificam drasticamente as suas operações diárias.";
11
11
  };
12
12
  readonly brand: {
13
13
  readonly eyebrow: {
@@ -69,14 +69,24 @@ export declare const ABOUT: {
69
69
  };
70
70
  }];
71
71
  /**
72
- * The live feed in the picture: what has just happened, done by the platform on its own or by a person (`by`,
73
- * shown by their initial) through it.
72
+ * The platform in the picture, as a business sees it in its own: three tabs a pointer clicks through in turn, all
73
+ * about one job (Ana Sousa's kitchen at Villa Mar, by a renovation company), so the figures agree across them.
74
+ * Its own figures, never Sharadox prices.
74
75
  */
75
76
  readonly feed: {
76
- /**
77
- * The panel's three tabs, cycling: the activity (this feed), one project and one client, as the business sees
78
- * them in its own platform (its own figures, not Sharadox's prices).
79
- */
77
+ readonly live: {
78
+ readonly en: "Live";
79
+ readonly pt: "Em direto";
80
+ };
81
+ readonly viewing: {
82
+ readonly en: "Viewed from";
83
+ readonly pt: "Visto de";
84
+ };
85
+ /** Where it's being looked at from, one after another. */
86
+ readonly places: {
87
+ readonly en: readonly ["Lisbon", "London", "New York", "Tokyo"];
88
+ readonly pt: readonly ["Lisboa", "Londres", "Nova Iorque", "Tóquio"];
89
+ };
80
90
  readonly tabs: readonly [{
81
91
  readonly en: "Activity";
82
92
  readonly pt: "Atividade";
@@ -87,74 +97,149 @@ export declare const ABOUT: {
87
97
  readonly en: "Client";
88
98
  readonly pt: "Cliente";
89
99
  }];
100
+ /** Who did it, when a person did; the platform's own work says "Automatic". */
101
+ readonly automatic: {
102
+ readonly en: "Automatic";
103
+ readonly pt: "Automático";
104
+ };
105
+ /**
106
+ * The log, oldest first, appearing one entry at a time at the top: what was done (`icon` from icon-web-library),
107
+ * by whom, when, and the detail a pointer hovering it shows.
108
+ */
109
+ readonly events: readonly [{
110
+ readonly icon: "document-check";
111
+ readonly by: "Ana Sousa";
112
+ readonly time: "09:12";
113
+ readonly en: "Ana approved the kitchen quote";
114
+ readonly pt: "A Ana aprovou o orçamento da cozinha";
115
+ readonly detail: {
116
+ readonly en: "€18,400 · signed on her phone";
117
+ readonly pt: "18 400 € · assinado no telemóvel";
118
+ };
119
+ }, {
120
+ readonly icon: "euro";
121
+ readonly time: "09:12";
122
+ readonly en: "Deposit of €5,000 received";
123
+ readonly pt: "Sinal de 5000 € recebido";
124
+ readonly detail: {
125
+ readonly en: "Receipt sent to Ana";
126
+ readonly pt: "Recibo enviado à Ana";
127
+ };
128
+ }, {
129
+ readonly icon: "package";
130
+ readonly by: "Rui";
131
+ readonly time: "09:40";
132
+ readonly en: "Rui ordered the oak worktop";
133
+ readonly pt: "O Rui encomendou a bancada de carvalho";
134
+ readonly detail: {
135
+ readonly en: "Arrives Thursday";
136
+ readonly pt: "Chega na quinta-feira";
137
+ };
138
+ }, {
139
+ readonly icon: "truck";
140
+ readonly by: "Marta";
141
+ readonly time: "10:05";
142
+ readonly en: "Tiles delivered to Villa Mar";
143
+ readonly pt: "Azulejos entregues na Villa Mar";
144
+ readonly detail: {
145
+ readonly en: "Received by Marta, with a photo";
146
+ readonly pt: "Recebidos pela Marta, com fotografia";
147
+ };
148
+ }, {
149
+ readonly icon: "wrench";
150
+ readonly by: "Marta";
151
+ readonly time: "11:30";
152
+ readonly en: "Marta installed the cabinets";
153
+ readonly pt: "A Marta instalou os armários";
154
+ readonly detail: {
155
+ readonly en: "Task 17 of 25 · Ana notified";
156
+ readonly pt: "Tarefa 17 de 25 · Ana avisada";
157
+ };
158
+ }, {
159
+ readonly icon: "euro";
160
+ readonly by: "Ana Sousa";
161
+ readonly time: "11:48";
162
+ readonly en: "Ana paid €7,500";
163
+ readonly pt: "A Ana pagou 7500 €";
164
+ readonly detail: {
165
+ readonly en: "€12,500 of €18,400 paid";
166
+ readonly pt: "12 500 € de 18 400 € pagos";
167
+ };
168
+ }];
90
169
  readonly project: {
91
170
  readonly name: {
92
171
  readonly en: "Kitchen renovation";
93
172
  readonly pt: "Renovação da cozinha";
94
173
  };
95
- readonly client: "Villa Mar";
174
+ readonly place: "Villa Mar";
96
175
  readonly status: {
97
176
  readonly en: "In progress";
98
177
  readonly pt: "Em curso";
99
178
  };
100
- readonly progressLabel: {
179
+ readonly progress: {
101
180
  readonly en: "Progress";
102
181
  readonly pt: "Progresso";
103
182
  };
104
- readonly progress: 68;
105
183
  readonly tasksLabel: {
106
- readonly en: "Tasks done";
107
- readonly pt: "Tarefas feitas";
184
+ readonly en: "tasks";
185
+ readonly pt: "tarefas";
108
186
  };
187
+ /** Done of all, before the pointer ticks the next one. */
109
188
  readonly tasks: {
110
189
  readonly done: 17;
111
190
  readonly total: 25;
112
191
  };
113
- readonly milestones: readonly [{
114
- readonly en: "Measurements";
115
- readonly pt: "Medições";
116
- readonly state: "done";
192
+ /** The checklist around where the job is: done, the one the pointer ticks, and what's left. */
193
+ readonly checklist: readonly [{
194
+ readonly en: "Strip out the old kitchen";
195
+ readonly pt: "Retirar a cozinha antiga";
196
+ readonly done: true;
117
197
  }, {
118
- readonly en: "Materials ordered";
119
- readonly pt: "Materiais encomendados";
120
- readonly state: "done";
198
+ readonly en: "Lay the floor tiles";
199
+ readonly pt: "Assentar o pavimento";
200
+ readonly done: true;
121
201
  }, {
122
- readonly en: "Installation";
123
- readonly pt: "Instalação";
124
- readonly state: "now";
202
+ readonly en: "Install the cabinets";
203
+ readonly pt: "Instalar os armários";
204
+ readonly done: true;
125
205
  }, {
126
- readonly en: "Final check";
127
- readonly pt: "Verificação final";
128
- readonly state: "next";
206
+ readonly en: "Fit the oak worktop";
207
+ readonly pt: "Montar a bancada de carvalho";
208
+ readonly done: false;
209
+ }, {
210
+ readonly en: "Final walk-through with Ana";
211
+ readonly pt: "Vistoria final com a Ana";
212
+ readonly done: false;
129
213
  }];
130
- readonly quotedLabel: {
131
- readonly en: "Quoted";
132
- readonly pt: "Orçamentado";
133
- };
134
- readonly quoted: 18400;
135
214
  readonly paidLabel: {
136
215
  readonly en: "Paid";
137
216
  readonly pt: "Pago";
138
217
  };
218
+ readonly quotedLabel: {
219
+ readonly en: "Quoted";
220
+ readonly pt: "Orçamentado";
221
+ };
139
222
  readonly paid: 12500;
223
+ readonly quoted: 18400;
140
224
  };
141
225
  readonly client: {
142
226
  readonly name: "Ana Sousa";
143
227
  readonly initials: "AS";
144
228
  readonly since: {
145
- readonly en: "Client since 2024";
146
- readonly pt: "Cliente desde 2024";
229
+ readonly en: "Client since 2024 · 3 projects";
230
+ readonly pt: "Cliente desde 2024 · 3 projetos";
147
231
  };
148
- readonly spentLabel: {
149
- readonly en: "Total spent";
150
- readonly pt: "Total gasto";
232
+ readonly paidLabel: {
233
+ readonly en: "Paid";
234
+ readonly pt: "Pago";
151
235
  };
152
- readonly spent: 42800;
153
- readonly openLabel: {
154
- readonly en: "Open quotes";
155
- readonly pt: "Orçamentos em aberto";
236
+ readonly quotedLabel: {
237
+ readonly en: "Quoted";
238
+ readonly pt: "Orçamentado";
156
239
  };
157
- readonly open: 18400;
240
+ /** Every project's quote together, and what she has paid of it. */
241
+ readonly paid: 36900;
242
+ readonly quoted: 42800;
158
243
  readonly projectsLabel: {
159
244
  readonly en: "Projects";
160
245
  readonly pt: "Projetos";
@@ -164,54 +249,34 @@ export declare const ABOUT: {
164
249
  readonly pt: "Casa de banho";
165
250
  readonly year: "2024";
166
251
  readonly amount: 14900;
167
- readonly state: "done";
168
252
  }, {
169
253
  readonly en: "Terrace";
170
254
  readonly pt: "Terraço";
171
255
  readonly year: "2025";
172
256
  readonly amount: 9500;
173
- readonly state: "done";
174
257
  }, {
175
258
  readonly en: "Kitchen";
176
259
  readonly pt: "Cozinha";
177
260
  readonly year: "2026";
178
261
  readonly amount: 18400;
179
- readonly state: "now";
180
262
  }];
181
- };
182
- readonly live: {
183
- readonly en: "Live";
184
- readonly pt: "Em direto";
185
- };
186
- readonly events: readonly [{
187
- readonly en: "New order received";
188
- readonly pt: "Nova encomenda recebida";
189
- }, {
190
- readonly en: "Invoice issued and sent";
191
- readonly pt: "Fatura emitida e enviada";
192
- }, {
193
- readonly en: "John packed the order";
194
- readonly pt: "O João embalou a encomenda";
195
- readonly by: "J";
196
- }, {
197
- readonly en: "Mary loaded the van";
198
- readonly pt: "A Maria carregou a carrinha";
199
- readonly by: "M";
200
- }, {
201
- readonly en: "Customer told it's on its way";
202
- readonly pt: "Cliente avisado: vai a caminho";
203
- }, {
204
- readonly en: "Stock updated";
205
- readonly pt: "Stock atualizado";
206
- }];
207
- /** Where it's being looked at from, one after another. */
208
- readonly places: {
209
- readonly en: readonly ["Lisbon", "London", "New York", "Tokyo"];
210
- readonly pt: readonly ["Lisboa", "Londres", "Nova Iorque", "Tóquio"];
211
- };
212
- readonly viewing: {
213
- readonly en: "Viewed from";
214
- readonly pt: "Visto de";
263
+ readonly tasksLabel: {
264
+ readonly en: "Tasks";
265
+ readonly pt: "Tarefas";
266
+ };
267
+ /** Across her projects, after the pointer ticks the worktop: 22 + 24 + 18 of 22 + 24 + 25. */
268
+ readonly tasks: {
269
+ readonly done: 64;
270
+ readonly total: 71;
271
+ };
272
+ readonly doneLabel: {
273
+ readonly en: "done";
274
+ readonly pt: "feitas";
275
+ };
276
+ readonly leftLabel: {
277
+ readonly en: "to do";
278
+ readonly pt: "por fazer";
279
+ };
215
280
  };
216
281
  };
217
282
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/about/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA+Cd;;;WAGG;;YAED;;;eAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAiDH,0DAA0D;;;;;;;;;;;CAQtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/about/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA+Cd;;;;WAIG;;;;;;;;;;YAID,0DAA0D;;;;;;;;;;;;;;;YAU1D,+EAA+E;;;;;YAE/E;;;eAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAwDD,0DAA0D;;;;;gBAE1D,+FAA+F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAmB/F,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAUnE,8FAA8F;;;;;;;;;;;;;;;;CAO5F,CAAC"}