@mulmoclaude/accounting-plugin 0.3.3 → 1.0.1

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 (54) hide show
  1. package/dist/server/accountNormalize.d.ts +1 -1
  2. package/dist/server/accountNormalize.d.ts.map +1 -1
  3. package/dist/server/context.d.ts +3 -10
  4. package/dist/server/context.d.ts.map +1 -1
  5. package/dist/server/defaultAccounts.d.ts +1 -1
  6. package/dist/server/defaultAccounts.d.ts.map +1 -1
  7. package/dist/server/http.d.ts.map +1 -1
  8. package/dist/server/index.d.ts +1 -1
  9. package/dist/server/index.d.ts.map +1 -1
  10. package/dist/server/io.d.ts +2 -1
  11. package/dist/server/io.d.ts.map +1 -1
  12. package/dist/server/journal.d.ts +1 -1
  13. package/dist/server/journal.d.ts.map +1 -1
  14. package/dist/server/openingBalances.d.ts +1 -1
  15. package/dist/server/openingBalances.d.ts.map +1 -1
  16. package/dist/server/report.d.ts +6 -64
  17. package/dist/server/report.d.ts.map +1 -1
  18. package/dist/server/service.d.ts +1 -1
  19. package/dist/server/service.d.ts.map +1 -1
  20. package/dist/server/snapshotCache.d.ts +2 -1
  21. package/dist/server/snapshotCache.d.ts.map +1 -1
  22. package/dist/server/timeSeries.d.ts +1 -1
  23. package/dist/server/timeSeries.d.ts.map +1 -1
  24. package/dist/server/types.d.ts +1 -123
  25. package/dist/server/types.d.ts.map +1 -1
  26. package/dist/server.cjs +22 -73
  27. package/dist/server.cjs.map +1 -1
  28. package/dist/server.js +14 -65
  29. package/dist/server.js.map +1 -1
  30. package/dist/shared/errors.d.ts +1 -1
  31. package/dist/shared/errors.d.ts.map +1 -1
  32. package/dist/shared/index.d.ts +1 -0
  33. package/dist/shared/index.d.ts.map +1 -1
  34. package/dist/shared/types.d.ts +188 -0
  35. package/dist/shared/types.d.ts.map +1 -0
  36. package/dist/shared-CcU3_qAa.cjs +749 -0
  37. package/dist/shared-CcU3_qAa.cjs.map +1 -0
  38. package/dist/shared-MOpJ1kUa.js +516 -0
  39. package/dist/shared-MOpJ1kUa.js.map +1 -0
  40. package/dist/shared.cjs +40 -519
  41. package/dist/shared.js +2 -483
  42. package/dist/vue/api.d.ts +2 -121
  43. package/dist/vue/api.d.ts.map +1 -1
  44. package/dist/vue/lang/index.d.ts +204 -215
  45. package/dist/vue/lang/index.d.ts.map +1 -1
  46. package/dist/vue.cjs +1651 -1678
  47. package/dist/vue.cjs.map +1 -1
  48. package/dist/vue.js +1652 -1679
  49. package/dist/vue.js.map +1 -1
  50. package/package.json +11 -6
  51. package/dist/server/atomic.d.ts +0 -15
  52. package/dist/server/atomic.d.ts.map +0 -1
  53. package/dist/shared.cjs.map +0 -1
  54. package/dist/shared.js.map +0 -1
@@ -1,229 +1,218 @@
1
- declare const i18n: import("vue-i18n").I18n<{
2
- [x: string]: {
3
- pluginAccounting: {
1
+ /** The plugin's i18n composable — a drop-in for vue-i18n's `useI18n()` over the
2
+ * plugin's own self-contained instance. Returns `{ t, locale }` (destructured at
3
+ * the call site, exactly like `useI18n()`), with `t` reading the plugin's keys
4
+ * and `locale` the reactive tag for date/number formatting. */
5
+ export declare const useAccountingI18n: () => import("@mulmoclaude/core/plugin-vue/i18n").PluginI18n<{
6
+ pluginAccounting: {
7
+ title: string;
8
+ noBook: string;
9
+ common: {
10
+ cancel: string;
11
+ loading: string;
12
+ error: string;
13
+ empty: string;
14
+ };
15
+ tabs: {
16
+ journal: string;
17
+ newEntry: string;
18
+ opening: string;
19
+ accounts: string;
20
+ ledger: string;
21
+ balanceSheet: string;
22
+ profitLoss: string;
23
+ settings: string;
24
+ };
25
+ bookSwitcher: {
26
+ label: string;
27
+ newBook: string;
28
+ create: string;
29
+ nameLabel: string;
30
+ currencyLabel: string;
31
+ countryLabel: string;
32
+ countryPlaceholder: string;
33
+ countryHint: string;
34
+ fiscalYearEndLabel: string;
35
+ fiscalYearEndHint: string;
36
+ placeholder: string;
37
+ firstRunHint: string;
38
+ };
39
+ deletedNotice: {
4
40
  title: string;
5
- noBook: string;
6
- common: {
7
- cancel: string;
8
- loading: string;
9
- error: string;
10
- empty: string;
41
+ body: string;
42
+ };
43
+ journalList: {
44
+ fromLabel: string;
45
+ toLabel: string;
46
+ accountLabel: string;
47
+ allAccounts: string;
48
+ void: string;
49
+ edit: string;
50
+ voidConfirm: string;
51
+ voidReason: string;
52
+ columns: {
53
+ date: string;
54
+ kind: string;
55
+ memo: string;
56
+ lines: string;
11
57
  };
12
- tabs: {
13
- journal: string;
14
- newEntry: string;
58
+ kind: {
59
+ normal: string;
15
60
  opening: string;
16
- accounts: string;
17
- ledger: string;
18
- balanceSheet: string;
19
- profitLoss: string;
20
- settings: string;
21
- };
22
- bookSwitcher: {
23
- label: string;
24
- newBook: string;
25
- create: string;
26
- nameLabel: string;
27
- currencyLabel: string;
28
- countryLabel: string;
29
- countryPlaceholder: string;
30
- countryHint: string;
31
- fiscalYearEndLabel: string;
32
- fiscalYearEndHint: string;
33
- placeholder: string;
34
- firstRunHint: string;
35
- };
36
- deletedNotice: {
37
- title: string;
38
- body: string;
39
- };
40
- journalList: {
41
- fromLabel: string;
42
- toLabel: string;
43
- accountLabel: string;
44
- allAccounts: string;
45
61
  void: string;
46
- edit: string;
47
- voidConfirm: string;
48
- voidReason: string;
49
- columns: {
50
- date: string;
51
- kind: string;
52
- memo: string;
53
- lines: string;
54
- };
55
- kind: {
56
- normal: string;
57
- opening: string;
58
- void: string;
59
- voidMarker: string;
60
- };
61
- };
62
- entryForm: {
63
- title: string;
64
- editTitle: string;
65
- editBanner: string;
66
- dateLabel: string;
67
- memoLabel: string;
68
- accountLabel: string;
69
- debitLabel: string;
70
- creditLabel: string;
71
- taxRegistrationIdLabel: string;
72
- taxRegistrationIdPlaceholder: string;
73
- taxRegistrationIdMissingWarning: string;
74
- addLine: string;
75
- removeLine: string;
76
- submit: string;
77
- submitting: string;
78
- update: string;
79
- updating: string;
80
- cancelEdit: string;
81
- success: string;
82
- editSuccess: string;
83
- editVoidReason: string;
84
- imbalance: string;
85
- balanced: string;
86
- };
87
- openingForm: {
88
- title: string;
89
- asOfLabel: string;
90
- explainer: string;
91
- emptyHint: string;
92
- explainer2: string;
93
- submit: string;
94
- replaceWarning: string;
95
- none: string;
96
- setBy: string;
97
- success: string;
62
+ voidMarker: string;
98
63
  };
99
- ledger: {
100
- selectAccount: string;
101
- closingBalance: string;
102
- columns: {
103
- date: string;
104
- memo: string;
105
- debit: string;
106
- credit: string;
107
- balance: string;
108
- taxRegistrationId: string;
109
- };
110
- };
111
- dateRange: {
112
- shortcutLabel: string;
113
- currentQuarter: string;
114
- previousQuarter: string;
115
- currentYear: string;
116
- previousYear: string;
117
- lifetime: string;
118
- all: string;
119
- fromLabel: string;
120
- toLabel: string;
64
+ };
65
+ entryForm: {
66
+ title: string;
67
+ editTitle: string;
68
+ editBanner: string;
69
+ dateLabel: string;
70
+ memoLabel: string;
71
+ accountLabel: string;
72
+ debitLabel: string;
73
+ creditLabel: string;
74
+ taxRegistrationIdLabel: string;
75
+ taxRegistrationIdPlaceholder: string;
76
+ taxRegistrationIdMissingWarning: string;
77
+ addLine: string;
78
+ removeLine: string;
79
+ submit: string;
80
+ submitting: string;
81
+ update: string;
82
+ updating: string;
83
+ cancelEdit: string;
84
+ success: string;
85
+ editSuccess: string;
86
+ editVoidReason: string;
87
+ imbalance: string;
88
+ balanced: string;
89
+ };
90
+ openingForm: {
91
+ title: string;
92
+ asOfLabel: string;
93
+ explainer: string;
94
+ emptyHint: string;
95
+ explainer2: string;
96
+ submit: string;
97
+ replaceWarning: string;
98
+ none: string;
99
+ setBy: string;
100
+ success: string;
101
+ };
102
+ ledger: {
103
+ selectAccount: string;
104
+ closingBalance: string;
105
+ columns: {
106
+ date: string;
107
+ memo: string;
108
+ debit: string;
109
+ credit: string;
110
+ balance: string;
111
+ taxRegistrationId: string;
121
112
  };
122
- balanceSheet: {
123
- asOfLabel: string;
124
- sections: {
125
- asset: string;
126
- liability: string;
127
- equity: string;
128
- };
129
- total: string;
130
- imbalance: string;
131
- currentEarnings: string;
132
- shortcutLabel: string;
133
- thisMonth: string;
134
- lastMonth: string;
135
- lastQuarter: string;
136
- lastYear: string;
113
+ };
114
+ dateRange: {
115
+ shortcutLabel: string;
116
+ currentQuarter: string;
117
+ previousQuarter: string;
118
+ currentYear: string;
119
+ previousYear: string;
120
+ lifetime: string;
121
+ all: string;
122
+ fromLabel: string;
123
+ toLabel: string;
124
+ };
125
+ balanceSheet: {
126
+ asOfLabel: string;
127
+ sections: {
128
+ asset: string;
129
+ liability: string;
130
+ equity: string;
137
131
  };
138
- profitLoss: {
139
- fromLabel: string;
140
- toLabel: string;
132
+ total: string;
133
+ imbalance: string;
134
+ currentEarnings: string;
135
+ shortcutLabel: string;
136
+ thisMonth: string;
137
+ lastMonth: string;
138
+ lastQuarter: string;
139
+ lastYear: string;
140
+ };
141
+ profitLoss: {
142
+ fromLabel: string;
143
+ toLabel: string;
144
+ income: string;
145
+ expense: string;
146
+ netIncome: string;
147
+ };
148
+ accounts: {
149
+ listEmpty: string;
150
+ openLedgerAria: string;
151
+ manageButton: string;
152
+ modalTitle: string;
153
+ addAccount: string;
154
+ sectionTitle: {
155
+ asset: string;
156
+ liability: string;
157
+ equity: string;
141
158
  income: string;
142
159
  expense: string;
143
- netIncome: string;
144
- };
145
- accounts: {
146
- listEmpty: string;
147
- openLedgerAria: string;
148
- manageButton: string;
149
- modalTitle: string;
150
- addAccount: string;
151
- sectionTitle: {
152
- asset: string;
153
- liability: string;
154
- equity: string;
155
- income: string;
156
- expense: string;
157
- };
158
- columnCode: string;
159
- columnName: string;
160
- columnType: string;
161
- columnNote: string;
162
- typeOption: {
163
- asset: string;
164
- liability: string;
165
- equity: string;
166
- income: string;
167
- expense: string;
168
- };
169
- edit: string;
170
- save: string;
171
- cancel: string;
172
- saving: string;
173
- addToCategory: string;
174
- deactivate: string;
175
- reactivate: string;
176
- deactivateConfirm: string;
177
- errorEmptyCode: string;
178
- errorReservedCode: string;
179
- errorInvalidCodeFormat: string;
180
- errorCodeTypeMismatch: string;
181
- errorEmptyName: string;
182
- errorDuplicateCode: string;
183
- errorDuplicateName: string;
184
- success: string;
185
- codeReadOnlyHint: string;
186
- noteOptional: string;
187
- };
188
- settings: {
189
- bookInfo: string;
190
- bookInfoExplain: string;
191
- countryUnset: string;
192
- fiscalYearEndExplain: string;
193
- saveChanges: string;
194
- updateOk: string;
195
- rebuild: string;
196
- rebuildExplain: string;
197
- rebuildOk: string;
198
- advanced: string;
199
- deleteBook: string;
200
- deleteBookExplain: string;
201
- deleteBookConfirm: string;
202
- deleteBookButton: string;
203
160
  };
204
- preview: {
205
- entry: string;
206
- pl: string;
207
- bs: string;
208
- bookCreated: string;
161
+ columnCode: string;
162
+ columnName: string;
163
+ columnType: string;
164
+ columnNote: string;
165
+ typeOption: {
166
+ asset: string;
167
+ liability: string;
168
+ equity: string;
169
+ income: string;
170
+ expense: string;
209
171
  };
210
- previewSummary: string;
211
- previewError: string;
212
- previewGeneric: string;
172
+ edit: string;
173
+ save: string;
174
+ cancel: string;
175
+ saving: string;
176
+ addToCategory: string;
177
+ deactivate: string;
178
+ reactivate: string;
179
+ deactivateConfirm: string;
180
+ errorEmptyCode: string;
181
+ errorReservedCode: string;
182
+ errorInvalidCodeFormat: string;
183
+ errorCodeTypeMismatch: string;
184
+ errorEmptyName: string;
185
+ errorDuplicateCode: string;
186
+ errorDuplicateName: string;
187
+ success: string;
188
+ codeReadOnlyHint: string;
189
+ noteOptional: string;
190
+ };
191
+ settings: {
192
+ bookInfo: string;
193
+ bookInfoExplain: string;
194
+ countryUnset: string;
195
+ fiscalYearEndExplain: string;
196
+ saveChanges: string;
197
+ updateOk: string;
198
+ rebuild: string;
199
+ rebuildExplain: string;
200
+ rebuildOk: string;
201
+ advanced: string;
202
+ deleteBook: string;
203
+ deleteBookExplain: string;
204
+ deleteBookConfirm: string;
205
+ deleteBookButton: string;
206
+ };
207
+ preview: {
208
+ entry: string;
209
+ pl: string;
210
+ bs: string;
211
+ bookCreated: string;
213
212
  };
213
+ previewSummary: string;
214
+ previewError: string;
215
+ previewGeneric: string;
214
216
  };
215
- }, {
216
- [x: string]: import("vue-i18n").IntlDateTimeFormat;
217
- }, {
218
- [x: string]: import("vue-i18n").IntlNumberFormat;
219
- }, string, false>;
220
- /** The plugin's i18n composable — a drop-in for vue-i18n's `useI18n()` over the
221
- * plugin's own self-contained instance. Returns `{ t, locale }` (destructured at
222
- * the call site, exactly like `useI18n()`), with `t` reading the plugin's keys
223
- * and `locale` the reactive tag for date/number formatting. */
224
- export declare function useAccountingI18n(): {
225
- t: (typeof i18n.global)["t"];
226
- locale: (typeof i18n.global)["locale"];
227
- };
228
- export {};
217
+ }>;
229
218
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/index.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcR,CAAC;AAsBH;;;gEAGgE;AAChE,wBAAgB,iBAAiB,IAAI;IAAE,CAAC,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;IAAC,MAAM,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAA;CAAE,CAG5G"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/index.ts"],"names":[],"mappings":"AAwBA;;;gEAGgE;AAChE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY7B,CAAC"}