@dxtmisha/functional 1.15.16 → 1.15.18

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/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.15.18] - 2026-10-05
6
+
7
+ ### Changed
8
+ - **Tree-Shaking & Top-Level Purity**:
9
+ - Annotated `useMeta` singleton factory call with `/*#__PURE__*/` (`const item = /*#__PURE__*/ executeUseLocal(...)`) to ensure bundlers safely tree-shake unused exports without treating top-level module initialization as a side effect.
10
+ - Simplified component ID generation in `executeUse.ts`: removed dynamic `random()` code and unused `random` import from `@dxtmisha/functional-basic`, switching to sequential IDs (`__execute_use::${globalId++}`).
11
+ - **Dependencies**:
12
+ - Updated `@dxtmisha/functional-basic` to `>=1.11.2`.
13
+ - Updated `@dxtmisha/media` to `>=0.8.1`.
14
+
15
+ ### Removed
16
+ - **`flags` Subpath Export**:
17
+ - Removed `src/flags.ts`, `ai-types-list/flags.d.ts`, and `./flags` export from `package.json` following migration of flag SVG assets to `@dxtmisha/media/flags`.
18
+ - **Empty Stylesheet**:
19
+ - Removed unused `src/style.scss` and its import from `src/library.ts`.
20
+
21
+ ## [1.15.17] - 2026-10-01
22
+
23
+ ### Fixed
24
+ - **executeUse**: Added check for already provided instances on the current component (`instance.provides`) in `ExecuteUseType.provide`, preventing duplicate initialization when called multiple times within the same component setup.
25
+
5
26
  ## [1.15.16] - 2026-09-07
6
27
 
7
28
  ### Changed
package/ai-description.md CHANGED
@@ -1,6 +1,6 @@
1
- This package provides a comprehensive collection of Vue 3 reactive composables, design component constructor classes, and utility wrappers designed for building robust frontend applications. It bridges underlying core services with Vue's reactivity system, offering seamless integrations for SSR-ready API orchestration, browser storage synchronization, reactive URL and routing management, internationalization, and client-side list searching. Developers and AI assistants should consult this package when implementing reactive data fetching pipelines, building structured design component architectures, managing cross-tab or cookie storage, and handling localized formatting or SEO metadata.
1
+ This package provides reactive Vue 3 composables, reactive utilities, and design constructors for building scalable front-end architectures. It is designed to handle asynchronous API orchestration, localized formatting, component abstraction patterns, and synchronized reactive state across web storage and browser environments. An AI assistant should study "ai-types.md" when implementing SSR-ready data fetching, configuring automated search and data formatting pipelines, managing reactive geographic localization, or architecting structured design component constructors.
2
2
 
3
- Key Capabilities: API Request Management, SSR Data Prefetching, Reactive Storage State, URL State Sync, Cross-Tab Synchronization, Reactive Internationalization, Unit Conversion, Reactive Search, List Navigation, Component Design Constructors, SEO Metadata Management, Intersection Observer Tracking, Singleton State Management, Datetime Formatting, Dynamic Component Rendering
3
+ Key Capabilities: Reactive API Management, SSR Data Fetching, Design Constructors, Localized Unit Formatting, Internationalization Formatters, Reactive Translations, Client-side Search, List State Management, Cross-tab Synchronization, Reactive Storage State, URL State Synchronization, SEO Meta Management, Lazy Loading Observers, Scoped Singleton Injection, Dynamic Component Rendering
4
4
  ## Mandatory Rules
5
5
  You MUST evaluate whether your task relates to any of the following topics (even if not working directly with this package). If related material is present, you are strictly obligated to read and study the corresponding file before proceeding:
6
6
  - 'node_modules/@dxtmisha/functional/ai-resources/api-reference.md': Defines guidance and usage patterns for scope-isolated reactive singleton factories and REST API management in @dxtmisha/functional. Details scope initialization functions (executeUseGlobal, executeUseLocal, executeUseProvide) and reactive CRUD operations via useApiManagementRef.
package/ai-types.md CHANGED
@@ -1,4 +1,4 @@
1
- All these methods are in the @dxtmisha/functional (v1.15.16) library.
1
+ All these methods are in the @dxtmisha/functional (v1.15.18) library.
2
2
 
3
3
  ```typescript
4
4
  /** Base abstract class for component design constructors. @keywords design abstract constructor */
@@ -906,9 +906,6 @@ export declare function useTranslateRef<T extends (string | string[])[]>(names:
906
906
  /** Shorthand for `useTranslateRef`. @keywords translate i18n t vue composable */
907
907
  export declare const t: <T extends string[]>(names: T) => ShallowRef<TranslateList<T>>;
908
908
 
909
- /** Initializes UI flags configuration. @keywords ui, flags, make flags */
910
- export declare const uiMakeFlags: () => void;
911
-
912
909
  export * from '@dxtmisha/functional-basic';
913
910
 
914
911
  import { type ComputedRef, type DebuggerOptions } from 'vue';