@issonujha/sdui-mobile 0.1.3 → 0.1.6
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/DynamicRecordsList.d.ts +15 -5
- package/dist/DynamicRecordsList.d.ts.map +1 -1
- package/dist/DynamicRecordsList.js +7 -6
- package/dist/DynamicRecordsList.js.map +1 -1
- package/dist/MobileStageQueue.d.ts +12 -1
- package/dist/MobileStageQueue.d.ts.map +1 -1
- package/dist/MobileStageQueue.js +34 -5
- package/dist/MobileStageQueue.js.map +1 -1
- package/package.json +4 -3
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
2
3
|
import type { DataTableResponse } from '@issonujha/sdui-core';
|
|
3
4
|
export interface DynamicRecordsListProps<T> {
|
|
4
|
-
data: DataTableResponse<T
|
|
5
|
+
data: DataTableResponse<T> | T[];
|
|
5
6
|
refreshing?: boolean;
|
|
6
7
|
onRefresh?: () => void;
|
|
7
8
|
onLoadMore?: () => void;
|
|
8
9
|
onCardPress?: (item: T) => void;
|
|
9
10
|
onPrimaryAction?: (item: T) => void;
|
|
10
11
|
emptyLabel?: string;
|
|
12
|
+
renderItem?: ({ item, index }: {
|
|
13
|
+
item: T;
|
|
14
|
+
index: number;
|
|
15
|
+
}) => React.ReactElement | null;
|
|
16
|
+
keyExtractor?: (item: T, index: number) => string;
|
|
17
|
+
contentContainerStyle?: ViewStyle;
|
|
18
|
+
ListEmptyComponent?: React.ReactElement | null;
|
|
19
|
+
ListHeaderComponent?: React.ReactElement | null;
|
|
20
|
+
tintColor?: string;
|
|
11
21
|
}
|
|
12
22
|
/**
|
|
13
|
-
* Renders the content of a DataTableResponse as a FlatList.
|
|
14
|
-
* by the host; this component only signals `onLoadMore` when the end is reached.
|
|
23
|
+
* Renders the content of a DataTableResponse or record array as a FlatList.
|
|
24
|
+
* Pagination state is owned by the host; this component only signals `onLoadMore` when the end is reached.
|
|
15
25
|
*/
|
|
16
26
|
export declare function DynamicRecordsList<T extends {
|
|
17
|
-
id?: string;
|
|
18
|
-
}>({ data, refreshing, onRefresh, onLoadMore, onCardPress, onPrimaryAction, emptyLabel, }: DynamicRecordsListProps<T>): React.JSX.Element;
|
|
27
|
+
id?: string | number;
|
|
28
|
+
}>({ data, refreshing, onRefresh, onLoadMore, onCardPress, onPrimaryAction, emptyLabel, renderItem, keyExtractor, contentContainerStyle, ListEmptyComponent, ListHeaderComponent, tintColor, }: DynamicRecordsListProps<T>): React.JSX.Element;
|
|
19
29
|
//# sourceMappingURL=DynamicRecordsList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicRecordsList.d.ts","sourceRoot":"","sources":["../src/DynamicRecordsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DynamicRecordsList.d.ts","sourceRoot":"","sources":["../src/DynamicRecordsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAwC,SAAS,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACxC,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IACxF,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAClD,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,kBAAkB,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC/C,mBAAmB,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS;IAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAAE,EACrE,IAAI,EACJ,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAyB,EACzB,UAAU,EACV,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,GACV,EAAE,uBAAuB,CAAC,CAAC,CAAC,qBAuC5B"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { FlatList, RefreshControl, Text, View } from 'react-native';
|
|
3
3
|
import { ClaudeRecordCard } from './ClaudeRecordCard.js';
|
|
4
4
|
/**
|
|
5
|
-
* Renders the content of a DataTableResponse as a FlatList.
|
|
6
|
-
* by the host; this component only signals `onLoadMore` when the end is reached.
|
|
5
|
+
* Renders the content of a DataTableResponse or record array as a FlatList.
|
|
6
|
+
* Pagination state is owned by the host; this component only signals `onLoadMore` when the end is reached.
|
|
7
7
|
*/
|
|
8
|
-
export function DynamicRecordsList({ data, refreshing, onRefresh, onLoadMore, onCardPress, onPrimaryAction, emptyLabel = 'No records', }) {
|
|
9
|
-
const items = data
|
|
10
|
-
return (
|
|
8
|
+
export function DynamicRecordsList({ data, refreshing, onRefresh, onLoadMore, onCardPress, onPrimaryAction, emptyLabel = 'No records', renderItem, keyExtractor, contentContainerStyle, ListEmptyComponent, ListHeaderComponent, tintColor, }) {
|
|
9
|
+
const items = Array.isArray(data) ? data : data?.content ?? [];
|
|
10
|
+
return (_jsx(View, { style: { flex: 1 }, children: _jsx(FlatList, { data: items, keyExtractor: keyExtractor ?? ((item, index) => String(item?.id ?? index)), renderItem: renderItem ??
|
|
11
|
+
(({ item }) => (_jsx(ClaudeRecordCard, { item: item, onPress: onCardPress ? () => onCardPress(item) : undefined, onPrimaryAction: onPrimaryAction ? () => onPrimaryAction(item) : undefined }))), refreshControl: onRefresh ? (_jsx(RefreshControl, { refreshing: Boolean(refreshing), onRefresh: onRefresh, tintColor: tintColor })) : undefined, onEndReached: onLoadMore, onEndReachedThreshold: 0.4, contentContainerStyle: contentContainerStyle, ListEmptyComponent: ListEmptyComponent !== undefined ? (ListEmptyComponent) : items.length === 0 ? (_jsx(View, { style: { padding: 24, alignItems: 'center' }, children: _jsx(Text, { children: emptyLabel }) })) : null, ListHeaderComponent: ListHeaderComponent }) }));
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=DynamicRecordsList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicRecordsList.js","sourceRoot":"","sources":["../src/DynamicRecordsList.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"DynamicRecordsList.js","sourceRoot":"","sources":["../src/DynamicRecordsList.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAAa,MAAM,cAAc,CAAC;AAE/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAkBzD;;;GAGG;AACH,MAAM,U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B,kBAAkB,KAAK,SAAS,CAAC,CAAC,CAAC,CACjC,kBAAkB,CACnB,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CACvB,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,YAChD,KAAC,IAAI,cAAE,UAAU,GAAQ,GACpB,CACR,CAAC,CAAC,CAAC,IAAI,EAEV,mBAAmB,EAAE,mBAAmB,GACxC,GACG,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ViewStyle, TextStyle } from 'react-native';
|
|
2
3
|
export interface StageQueueItem {
|
|
3
4
|
id: string;
|
|
4
5
|
label: string;
|
|
5
6
|
count?: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
icon?: string;
|
|
6
9
|
}
|
|
7
10
|
export interface MobileStageQueueProps {
|
|
8
11
|
stages: StageQueueItem[];
|
|
9
12
|
activeStageId?: string;
|
|
10
13
|
onSelect?: (stageId: string) => void;
|
|
14
|
+
containerStyle?: ViewStyle;
|
|
15
|
+
itemStyle?: ViewStyle;
|
|
16
|
+
activeItemStyle?: ViewStyle;
|
|
17
|
+
labelStyle?: TextStyle;
|
|
18
|
+
activeLabelStyle?: TextStyle;
|
|
19
|
+
activeColor?: string;
|
|
20
|
+
inactiveColor?: string;
|
|
21
|
+
renderIcon?: (icon: string, active: boolean) => React.ReactNode;
|
|
11
22
|
}
|
|
12
23
|
/** Horizontal stage rail used on order/workflow screens. */
|
|
13
|
-
export declare function MobileStageQueue({ stages, activeStageId, onSelect }: MobileStageQueueProps): React.JSX.Element;
|
|
24
|
+
export declare function MobileStageQueue({ stages, activeStageId, onSelect, containerStyle, itemStyle, activeItemStyle, labelStyle, activeLabelStyle, activeColor, inactiveColor, renderIcon, }: MobileStageQueueProps): React.JSX.Element;
|
|
14
25
|
//# sourceMappingURL=MobileStageQueue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileStageQueue.d.ts","sourceRoot":"","sources":["../src/MobileStageQueue.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MobileStageQueue.d.ts","sourceRoot":"","sources":["../src/MobileStageQueue.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA4C,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9F,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;CACjE;AAED,4DAA4D;AAC5D,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,SAAS,EACT,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,WAAuB,EACvB,aAAyB,EACzB,UAAU,GACX,EAAE,qBAAqB,qBAmEvB"}
|
package/dist/MobileStageQueue.js
CHANGED
|
@@ -1,10 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Text, TouchableOpacity, View } from 'react-native';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ScrollView, Text, TouchableOpacity, View } from 'react-native';
|
|
3
3
|
/** Horizontal stage rail used on order/workflow screens. */
|
|
4
|
-
export function MobileStageQueue({ stages, activeStageId, onSelect }) {
|
|
5
|
-
return (_jsx(
|
|
4
|
+
export function MobileStageQueue({ stages, activeStageId, onSelect, containerStyle, itemStyle, activeItemStyle, labelStyle, activeLabelStyle, activeColor = '#2563EB', inactiveColor = '#6B7280', renderIcon, }) {
|
|
5
|
+
return (_jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, contentContainerStyle: [{ flexDirection: 'row', alignItems: 'center' }, containerStyle], children: stages.map((stage) => {
|
|
6
6
|
const active = stage.id === activeStageId;
|
|
7
|
-
return (
|
|
7
|
+
return (_jsxs(TouchableOpacity, { onPress: () => onSelect?.(stage.id), activeOpacity: 0.75, style: [
|
|
8
|
+
{
|
|
9
|
+
paddingHorizontal: 12,
|
|
10
|
+
paddingVertical: 8,
|
|
11
|
+
flexDirection: 'row',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
borderBottomWidth: active ? 2 : 0,
|
|
14
|
+
borderBottomColor: activeColor,
|
|
15
|
+
},
|
|
16
|
+
itemStyle,
|
|
17
|
+
active ? activeItemStyle : undefined,
|
|
18
|
+
], children: [stage.icon && renderIcon ? renderIcon(stage.icon, active) : null, _jsx(Text, { style: [
|
|
19
|
+
{
|
|
20
|
+
fontSize: 13,
|
|
21
|
+
fontWeight: active ? '700' : '500',
|
|
22
|
+
color: active ? activeColor : inactiveColor,
|
|
23
|
+
},
|
|
24
|
+
labelStyle,
|
|
25
|
+
active ? activeLabelStyle : undefined,
|
|
26
|
+
], children: stage.label }), stage.count !== undefined && stage.count > 0 ? (_jsx(View, { style: {
|
|
27
|
+
backgroundColor: active ? activeColor : '#E5E7EB',
|
|
28
|
+
paddingHorizontal: 6,
|
|
29
|
+
paddingVertical: 1,
|
|
30
|
+
borderRadius: 10,
|
|
31
|
+
marginLeft: 6,
|
|
32
|
+
}, children: _jsx(Text, { style: {
|
|
33
|
+
fontSize: 11,
|
|
34
|
+
fontWeight: '700',
|
|
35
|
+
color: active ? '#FFFFFF' : '#374151',
|
|
36
|
+
}, children: stage.count }) })) : null] }, stage.id));
|
|
8
37
|
}) }));
|
|
9
38
|
}
|
|
10
39
|
//# sourceMappingURL=MobileStageQueue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileStageQueue.js","sourceRoot":"","sources":["../src/MobileStageQueue.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"MobileStageQueue.js","sourceRoot":"","sources":["../src/MobileStageQueue.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAwB,MAAM,cAAc,CAAC;AAwB9F,4DAA4D;AAC5D,MAAM,UAAU,gBAAgB,CAAC,EAC/B,MAAM,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,SAAS,EACT,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,WAAW,GAAG,SAAS,EACvB,aAAa,GAAG,SAAS,EACzB,UAAU,GACY;IACtB,OAAO,CACL,KAAC,UAAU,IACT,UAAU,QACV,8BAA8B,EAAE,KAAK,EACrC,qBAAqB,EAAE,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,cAAc,CAAC,YAEtF,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;YACpB,MAAM,MAAM,GAAG,KAAK,CAA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E,CAAC;yBACd,YAED,KAAC,IAAI,IACH,KAAK,EAAE;gCACL,QAAQ,EAAE,EAAE;gCACZ,UAAU,EAAE,KAAK;gCACjB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;6BACtC,YAEA,KAAK,CAAC,KAAK,GACP,GACF,CACR,CAAC,CAAC,CAAC,IAAI,KAlDH,KAAK,CAAC,EAAE,CAmDI,CACpB,CAAC;QACJ,CAAC,CAAC,GACS,CACd,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@issonujha/sdui-mobile",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "React Native / Expo SDUI components (data-in/callback-out; no network of its own).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js"
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
12
13
|
}
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
],
|
|
17
18
|
"sideEffects": false,
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@issonujha/sdui-core": "0.1.
|
|
20
|
+
"@issonujha/sdui-core": "0.1.6"
|
|
20
21
|
},
|
|
21
22
|
"peerDependencies": {
|
|
22
23
|
"react": ">=17",
|