@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/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-BccLo0Ux.js";
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))) if (previousActive) {
5163
- activeBookId.value = null;
5164
- deletedNoticeName.value = previousActive.name;
5165
- } else activeBookId.value = pickInitialBookId();
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;