@almadar/mobile 1.13.0 → 1.16.0
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/{chunk-2H7HIGZO.js → chunk-B4JZIFI6.js} +160 -80
- package/dist/chunk-B4JZIFI6.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/molecules/FilterGroup.d.ts +12 -3
- package/dist/components/molecules/FilterGroup.d.ts.map +1 -1
- package/dist/components/molecules/index.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +4 -4
- package/dist/chunk-2H7HIGZO.js.map +0 -1
package/dist/components/index.js
CHANGED
|
@@ -16,11 +16,20 @@ export interface FilterDefinition {
|
|
|
16
16
|
field: string;
|
|
17
17
|
label: string;
|
|
18
18
|
/** Filter type */
|
|
19
|
-
filterType?: 'select' | 'toggle' | 'checkbox';
|
|
19
|
+
filterType?: 'text' | 'select' | 'toggle' | 'checkbox' | 'date' | 'daterange' | 'date-range' | 'numberrange' | 'number-range';
|
|
20
20
|
/** Alias for filterType (schema compatibility) */
|
|
21
|
-
type?: 'select' | 'toggle' | 'checkbox';
|
|
21
|
+
type?: 'text' | 'select' | 'toggle' | 'checkbox' | 'date' | 'daterange' | 'date-range' | 'numberrange' | 'number-range';
|
|
22
22
|
/** Options for select/toggle filters */
|
|
23
23
|
options?: readonly string[];
|
|
24
|
+
/** Bounds for numberrange/number-range filters */
|
|
25
|
+
min?: number;
|
|
26
|
+
max?: number;
|
|
27
|
+
step?: number;
|
|
28
|
+
}
|
|
29
|
+
/** Two-ended numeric value for numberrange/number-range filters */
|
|
30
|
+
export interface NumberRangeValue {
|
|
31
|
+
min: number;
|
|
32
|
+
max: number;
|
|
24
33
|
}
|
|
25
34
|
export interface FilterGroupProps {
|
|
26
35
|
/** Entity name to filter */
|
|
@@ -28,7 +37,7 @@ export interface FilterGroupProps {
|
|
|
28
37
|
/** Filter definitions from schema */
|
|
29
38
|
filters: readonly FilterDefinition[];
|
|
30
39
|
/** Callback when a filter changes - for EntityStore integration */
|
|
31
|
-
onFilterChange?: (field: string, value: string | null) => void;
|
|
40
|
+
onFilterChange?: (field: string, value: string | null | NumberRangeValue) => void;
|
|
32
41
|
/** Callback to clear all filters */
|
|
33
42
|
onClearAll?: () => void;
|
|
34
43
|
/** Additional styles */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterGroup.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/FilterGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAsC,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterGroup.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/FilterGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAsC,SAAS,EAAE,MAAM,cAAc,CAAC;AAU7E,oCAAoC;AACpC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,UAAU,CAAC,EACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,MAAM,GACN,WAAW,GACX,YAAY,GACZ,aAAa,GACb,cAAc,CAAC;IACnB,kDAAkD;IAClD,IAAI,CAAC,EACD,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,MAAM,GACN,WAAW,GACX,YAAY,GACZ,aAAa,GACb,cAAc,CAAC;IACnB,wCAAwC;IACxC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAUD,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,OAAO,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACrC,mEAAmE;IACnE,cAAc,CAAC,EAAE,CACf,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,gBAAgB,KACpC,IAAI,CAAC;IACV,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,wBAAwB;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,oBAAoB;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;IACvD,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkblD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,11 @@ import {
|
|
|
8
8
|
GameTemplate,
|
|
9
9
|
WorldMapTemplate
|
|
10
10
|
} from "./chunk-7JWBQIW4.js";
|
|
11
|
+
import {
|
|
12
|
+
cn,
|
|
13
|
+
convertThemeToRN,
|
|
14
|
+
defaultRNTheme
|
|
15
|
+
} from "./chunk-5JVEVV74.js";
|
|
11
16
|
import {
|
|
12
17
|
useInfiniteScroll,
|
|
13
18
|
useKeyboard,
|
|
@@ -22,11 +27,6 @@ import {
|
|
|
22
27
|
useTraitState,
|
|
23
28
|
useUIEvents
|
|
24
29
|
} from "./chunk-LQD3TO5U.js";
|
|
25
|
-
import {
|
|
26
|
-
cn,
|
|
27
|
-
convertThemeToRN,
|
|
28
|
-
defaultRNTheme
|
|
29
|
-
} from "./chunk-5JVEVV74.js";
|
|
30
30
|
import {
|
|
31
31
|
EventBusProvider
|
|
32
32
|
} from "./chunk-TRYFJDL3.js";
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
Tooltip,
|
|
104
104
|
WizardNavigation,
|
|
105
105
|
WizardProgress
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-B4JZIFI6.js";
|
|
107
107
|
import {
|
|
108
108
|
getNestedValue
|
|
109
109
|
} from "./chunk-K2JGK2QD.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/mobile",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "React Native UI components for Almadar - extends @almadar/ui",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"dist"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@almadar/core": "^10.
|
|
52
|
-
"@almadar/runtime": "^6.
|
|
53
|
-
"@almadar/ui": "^5.
|
|
51
|
+
"@almadar/core": "^10.76.0",
|
|
52
|
+
"@almadar/runtime": "^6.66.0",
|
|
53
|
+
"@almadar/ui": "^5.166.0",
|
|
54
54
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
55
55
|
"expo": "^54.0.0",
|
|
56
56
|
"expo-status-bar": "~3.0.9",
|