@mulmoclaude/accounting-plugin 3.0.0 → 3.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.
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/dist/{shared-BccLo0Ux.js → shared-TCvIOXxV.js} +5 -1
- package/dist/shared-TCvIOXxV.js.map +1 -0
- package/dist/{shared-Dgt-i23T.cjs → shared-WHpQQ_OF.cjs} +5 -1
- package/dist/shared-WHpQQ_OF.cjs.map +1 -0
- package/dist/shared.cjs +1 -1
- package/dist/shared.js +1 -1
- package/dist/vue.cjs +7 -5
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.js +7 -5
- package/dist/vue.js.map +1 -1
- package/package.json +11 -12
- package/dist/shared-BccLo0Ux.js.map +0 -1
- package/dist/shared-Dgt-i23T.cjs.map +0 -1
package/dist/vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as resolveFiscalYearEnd, B as ACCOUNT_TYPES, C as currentFiscalYearRange, E as fiscalYearEndMonthLabel, F as isUnknownArray, G as ACCOUNTING_ACTIONS, L as BOOK_EVENT_KINDS, M as errorMessage, O as previousFiscalYearRange, P as isRecord, R as bookChannel, S as FISCAL_YEAR_END_MONTHS, U as ACCOUNTING_API, W as ACCOUNTING_PROJECT_FIELD, _ as SUPPORTED_COUNTRY_CODES, a as localDateString, b as localizedCountryName, c as previousMonthString, d as formatAmountNumeric, i as lastMonthOfPreviousQuarterString, k as previousQuarterRange, l as SUPPORTED_CURRENCY_CODES, m as localizedCurrencyName, o as localMonthString, p as inputStepFor, r as decemberOfPreviousYearString, u as formatAmount, v as countryHasFeature, w as currentQuarterRange, y as isSupportedCountryCode, z as booksChannel } from "./shared-
|
|
1
|
+
import { A as resolveFiscalYearEnd, B as ACCOUNT_TYPES, C as currentFiscalYearRange, E as fiscalYearEndMonthLabel, F as isUnknownArray, G as ACCOUNTING_ACTIONS, L as BOOK_EVENT_KINDS, M as errorMessage, O as previousFiscalYearRange, P as isRecord, R as bookChannel, S as FISCAL_YEAR_END_MONTHS, U as ACCOUNTING_API, W as ACCOUNTING_PROJECT_FIELD, _ as SUPPORTED_COUNTRY_CODES, a as localDateString, b as localizedCountryName, c as previousMonthString, d as formatAmountNumeric, i as lastMonthOfPreviousQuarterString, k as previousQuarterRange, l as SUPPORTED_CURRENCY_CODES, m as localizedCurrencyName, o as localMonthString, p as inputStepFor, r as decemberOfPreviousYearString, u as formatAmount, v as countryHasFeature, w as currentQuarterRange, y as isSupportedCountryCode, z as booksChannel } from "./shared-TCvIOXxV.js";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, onMounted, onUnmounted, openBlock, provide, reactive, ref, renderList, toDisplayString, unref, vModelSelect, vModelText, watch, withDirectives, withKeys, withModifiers } from "vue";
|
|
3
3
|
import { createPluginI18n } from "@mulmoclaude/core/plugin-vue/i18n";
|
|
4
4
|
//#region src/vue/hostContext.ts
|
|
@@ -5159,10 +5159,12 @@ var View_default = /* @__PURE__ */ defineComponent({
|
|
|
5159
5159
|
books.value = result.data.books;
|
|
5160
5160
|
initialLoadDone.value = true;
|
|
5161
5161
|
if (deletedNoticeName.value === null) {
|
|
5162
|
-
if (!(activeBookId.value !== null && books.value.some((book) => book.id === activeBookId.value)))
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5162
|
+
if (!(activeBookId.value !== null && books.value.some((book) => book.id === activeBookId.value))) {
|
|
5163
|
+
if (previousActive) {
|
|
5164
|
+
activeBookId.value = null;
|
|
5165
|
+
deletedNoticeName.value = previousActive.name;
|
|
5166
|
+
} else activeBookId.value = pickInitialBookId();
|
|
5167
|
+
}
|
|
5166
5168
|
}
|
|
5167
5169
|
if (!firstRunHandled.value && books.value.length === 0) {
|
|
5168
5170
|
firstRunHandled.value = true;
|