@dxtmisha/functional 1.15.9 → 1.15.12

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,21 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.15.12] - 2026-08-13
6
+
7
+ ### Changed
8
+ - **Scripts**: Updated `prepublishOnly` script in `package.json` to execute `dxt-types-save` (`npm run library && npm run build && dxt-types-save`).
9
+
10
+ ## [1.15.11] - 2026-08-13
11
+
12
+ ### Changed
13
+ - **AI Documentation & Types**: Updated `types` script in `package.json` to build the library before running `dxt-types`, added `ai-types.md` to `.gitignore`, and regenerated modular `ai-types-list/` type declaration files.
14
+
15
+ ## [1.15.10] - 2026-08-11
16
+
17
+ ### Changed
18
+ - **AI Documentation**: Added architectural directive in `ai-doc.md` requiring complex business logic with potential for reuse to be extracted into external service composables wrapped with `executeUse*` (`executeUseGlobal`, `executeUseLocal`, or `executeUseProvide`).
19
+
5
20
  ## [1.15.8] - 2026-08-05
6
21
 
7
22
  ### Changed
package/ai-description.md CHANGED
@@ -1,24 +1,14 @@
1
- # @dxtmisha/functional Reference
2
-
3
- A reactive utility and component architecture library for Vue 3 providing high-level abstract base classes, state management composables, and localized formatting helpers.
4
-
5
- ## Key Capabilities & Groupings
6
- - **API & Network**: Reactive composables for asynchronous HTTP requests, mutation workflows, SSR prefetching, response contract validation, error mappings, and list orchestration.
7
- - **Storage & State**: Persistent storage composables synchronizing state with cookies, web storage, URL query/hash parameters, and cross-tab messaging.
8
- - **Localization & Formatting**: Utilities for reactive handling of dates, numbers, currency, unit conversions, country flags, and dynamic translations.
9
- - **List & Search**: Helpers for managing reactive data filtering, selection state, text highlighting, debouncing, and router-bound navigation lists.
10
- - **DOM & System**: DOM visibility tracking, reactive page metadata management, global loading states, scrollbar measurements, and singleton dependency injection.
11
- - **Design Components**: Abstract base classes for standardized component rendering, dynamic class/style computation, prop tracking, and element exposure.
12
-
13
- ## Triggers for Studying `ai-types.md`
14
- Study `ai-types.md` when implementing abstract component constructors, defining API validation contracts or error schemas, typing complex list structures and search options, configuring singleton execution scopes, or managing reactive Vue prop and subcomponent bindings.
15
-
16
- ## Integration Context
17
- This library integrates natively into Vue 3 and Vue Router applications through a unified global plugin that configures shared API, routing, localization, and metadata services.
18
-
1
+ This package is a comprehensive Vue-based utility library designed to simplify state management, reactive routing, internationalization, and API communication. Developers should study this package to leverage its pre-built reactive wrappers, robust component constructors, and seamless API integration tools for modern frontend applications.
2
+
3
+ Key Capabilities:
4
+ - API Integration
5
+ - Reactive Storage
6
+ - Internationalization Formatting
7
+ - Component Management
8
+ - Route Navigation
19
9
  ## Mandatory Rules
20
- Read the corresponding file ONLY when working on a task related to (even if not working directly with this package):
21
- - 'node_modules/@dxtmisha/functional/ai-resources/api-reference.md': Reactive singleton scope initialization and REST API management patterns
22
- - 'node_modules/@dxtmisha/functional/ai-resources/localization-seo.md': Geographic context, locale-aware formatting, reactive translations, document metadata, and scrollbar width measurement
23
- - 'node_modules/@dxtmisha/functional/ai-resources/reactivity-lists.md': Async reactivity composables, reactive list models, search filtering, and DOM observer utilities
24
- - 'node_modules/@dxtmisha/functional/ai-resources/storage-state.md': Reactive composables for browser storage, cookies, cross-tab synchronization, and URL hash state
10
+ 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:
11
+ - 'node_modules/@dxtmisha/functional/ai-resources/api-reference.md': Defines usage patterns and guidelines for REST API management and scope-isolated singleton factories within the @dxtmisha/functional library. It provides technical instructions for initializing global, local, and provided singletons alongside reactive CRUD operations.
12
+ - 'node_modules/@dxtmisha/functional/ai-resources/localization-seo.md': Provides utilities for locale-aware formatting, translation primitives, geographic context resolution, and reactive HTML document metadata handling. Solves internationalization and SEO management tasks in web applications using functional components.
13
+ - 'node_modules/@dxtmisha/functional/ai-resources/reactivity-lists.md': This file provides advanced async reactivity composables, list data models, search filters, and DOM observers for managing application state and UI lifecycle. It solves technical tasks related to asynchronous computed properties, optimized multi-field searching, and safe event listener management in frontend codebases.
14
+ - 'node_modules/@dxtmisha/functional/ai-resources/storage-state.md': Provides composable Vue-like reactive wrappers for persistent and synchronized browser state management, including localStorage, sessionStorage, cookies, broadcast channels, and URL hash fragments. Solves technical tasks related to cross-tab communication, SSR-safe cookie handling, and state persistence for web applications.
package/ai-doc.md CHANGED
@@ -6,3 +6,4 @@ Vue 3 reactive utilities built on `@dxtmisha/functional-basic`. See `ai-types.md
6
6
  - **Priority**: Always use `@dxtmisha/functional` reactive composables instead of low-level `@dxtmisha/functional-basic` primitives in Vue 3 applications.
7
7
  - **API & State Singletons**: **NEVER** call `useApi*` / `executeUse*` hooks directly in Vue components (`<script setup>`). Wrap them in `executeUseGlobal` (startup), `executeUseLocal` (lazy, session scope), or `executeUseProvide` (scoped tree) inside external service files. Components only import and call the resulting hook.
8
8
  - **Purity & Atomicity**: Keep Vue components minimal. Extract all reactive state management, network orchestration, and side effects into external composables.
9
+ - **Reusable Business Logic (`executeUse*`)**: Any complex business logic or state logic with any potential for reuse MUST be extracted into external service composables wrapped with `executeUse*` (`executeUseGlobal`, `executeUseLocal`, or `executeUseProvide`).
@@ -3,36 +3,36 @@
3
3
  "uri": "@dxtmisha/functional/ai-types.md",
4
4
  "name": "Type Definitions (@dxtmisha/functional)",
5
5
  "mimeType": "text/markdown",
6
- "description": "Compressed and AI-optimized TypeScript declaration contracts for functional Vue 3 utilities and base components."
6
+ "description": "TypeScript type definitions and signatures for AI coding assistant."
7
7
  },
8
8
  {
9
9
  "uri": "@dxtmisha/functional/ai-description.md",
10
- "name": "Package Overview & Rules (@dxtmisha/functional)",
10
+ "name": "Project Overview (@dxtmisha/functional)",
11
11
  "mimeType": "text/markdown",
12
- "description": "High-density project overview, key capabilities, and prompt trigger guidelines."
12
+ "description": "Project overview, usage guidelines, and mandatory prompt rules for AI coding assistant."
13
13
  },
14
14
  {
15
15
  "uri": "@dxtmisha/functional/ai-resources/api-reference.md",
16
- "name": "API Rules (@dxtmisha/functional)",
16
+ "name": "API Management and Scope Singletons (@dxtmisha/functional)",
17
17
  "mimeType": "text/markdown",
18
- "description": "Reactive singleton scope initialization and REST API management patterns."
18
+ "description": "Defines usage patterns and guidelines for REST API management and scope-isolated singleton factories within the @dxtmisha/functional library. It provides technical instructions for initializing global, local, and provided singletons alongside reactive CRUD operations."
19
19
  },
20
20
  {
21
21
  "uri": "@dxtmisha/functional/ai-resources/localization-seo.md",
22
- "name": "Localization Rules (@dxtmisha/functional)",
22
+ "name": "Localization and SEO Utilities (@dxtmisha/functional)",
23
23
  "mimeType": "text/markdown",
24
- "description": "Geographic context, locale-aware formatting, reactive translations, and document metadata."
24
+ "description": "Provides utilities for locale-aware formatting, translation primitives, geographic context resolution, and reactive HTML document metadata handling. Solves internationalization and SEO management tasks in web applications using functional components."
25
25
  },
26
26
  {
27
27
  "uri": "@dxtmisha/functional/ai-resources/reactivity-lists.md",
28
- "name": "Lists Rules (@dxtmisha/functional)",
28
+ "name": "Reactivity Helpers and DOM Utilities (@dxtmisha/functional)",
29
29
  "mimeType": "text/markdown",
30
- "description": "Async reactivity composables, reactive list models, search filtering, and DOM observer utilities."
30
+ "description": "This file provides advanced async reactivity composables, list data models, search filters, and DOM observers for managing application state and UI lifecycle. It solves technical tasks related to asynchronous computed properties, optimized multi-field searching, and safe event listener management in frontend codebases."
31
31
  },
32
32
  {
33
33
  "uri": "@dxtmisha/functional/ai-resources/storage-state.md",
34
- "name": "Storage Rules (@dxtmisha/functional)",
34
+ "name": "Reactive Storage Composables (@dxtmisha/functional)",
35
35
  "mimeType": "text/markdown",
36
- "description": "Reactive composables for browser storage, cookies, cross-tab synchronization, and URL hash state."
36
+ "description": "Provides composable Vue-like reactive wrappers for persistent and synchronized browser state management, including localStorage, sessionStorage, cookies, broadcast channels, and URL hash fragments. Solves technical tasks related to cross-tab communication, SSR-safe cookie handling, and state persistence for web applications."
37
37
  }
38
38
  ]
@@ -0,0 +1,26 @@
1
+ [
2
+ {
3
+ "path": "ai-resources/api-reference.md",
4
+ "md5": "4b38e33b9fd417537df8bf76c492d263",
5
+ "name": "API Management and Scope Singletons",
6
+ "description": "Defines usage patterns and guidelines for REST API management and scope-isolated singleton factories within the @dxtmisha/functional library. It provides technical instructions for initializing global, local, and provided singletons alongside reactive CRUD operations."
7
+ },
8
+ {
9
+ "path": "ai-resources/localization-seo.md",
10
+ "md5": "99983d3a7683e94f3e62b67851b8244d",
11
+ "name": "Localization and SEO Utilities",
12
+ "description": "Provides utilities for locale-aware formatting, translation primitives, geographic context resolution, and reactive HTML document metadata handling. Solves internationalization and SEO management tasks in web applications using functional components."
13
+ },
14
+ {
15
+ "path": "ai-resources/reactivity-lists.md",
16
+ "md5": "6e8b7100e59f0ffd08416bed080802db",
17
+ "name": "Reactivity Helpers and DOM Utilities",
18
+ "description": "This file provides advanced async reactivity composables, list data models, search filters, and DOM observers for managing application state and UI lifecycle. It solves technical tasks related to asynchronous computed properties, optimized multi-field searching, and safe event listener management in frontend codebases."
19
+ },
20
+ {
21
+ "path": "ai-resources/storage-state.md",
22
+ "md5": "7c6142dc8dc5172b2cbf5fca08b2b2d5",
23
+ "name": "Reactive Storage Composables",
24
+ "description": "Provides composable Vue-like reactive wrappers for persistent and synchronized browser state management, including localStorage, sessionStorage, cookies, broadcast channels, and URL hash fragments. Solves technical tasks related to cross-tab communication, SSR-safe cookie handling, and state persistence for web applications."
25
+ }
26
+ ]