@draftbit/core 46.9.1-bdfd4c.2 → 46.9.1-db63a0.2
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/lib/commonjs/components/CircleImage.js +1 -15
- package/lib/commonjs/components/Container.js +15 -4
- package/lib/commonjs/components/Picker/PickerComponent.android.js +3 -20
- package/lib/commonjs/components/Table/Table.js +91 -0
- package/lib/commonjs/components/Table/TableCell.js +49 -0
- package/lib/commonjs/components/Table/TableCommon.js +30 -0
- package/lib/commonjs/components/Table/TableRow.js +61 -0
- package/lib/commonjs/components/Table/index.js +27 -0
- package/lib/commonjs/index.js +19 -7
- package/lib/commonjs/mappings/ActionSheet.js +1 -1
- package/lib/commonjs/mappings/ActionSheetCancel.js +1 -1
- package/lib/commonjs/mappings/ActionSheetItem.js +1 -1
- package/lib/commonjs/mappings/MapCallout.js +1 -1
- package/lib/commonjs/mappings/MapMarker.js +1 -1
- package/lib/commonjs/mappings/Table.js +127 -0
- package/lib/module/components/Table/Table.js +83 -0
- package/lib/module/components/Table/TableCell.js +41 -0
- package/lib/module/components/Table/TableCommon.js +21 -0
- package/lib/module/components/Table/TableRow.js +53 -0
- package/lib/module/components/Table/index.js +3 -0
- package/lib/module/components/Text.js +4 -50
- package/lib/module/index.js +1 -1
- package/lib/module/mappings/ActionSheet.js +1 -1
- package/lib/module/mappings/ActionSheetCancel.js +1 -1
- package/lib/module/mappings/ActionSheetItem.js +1 -1
- package/lib/module/mappings/MapCallout.js +2 -2
- package/lib/module/mappings/MapMarker.js +2 -2
- package/lib/module/mappings/Table.js +120 -0
- package/lib/typescript/src/components/Table/Table.d.ts +19 -0
- package/lib/typescript/src/components/Table/Table.d.ts.map +1 -0
- package/lib/typescript/src/components/Table/TableCell.d.ts +9 -0
- package/lib/typescript/src/components/Table/TableCell.d.ts.map +1 -0
- package/lib/typescript/src/components/Table/TableCommon.d.ts +20 -0
- package/lib/typescript/src/components/Table/TableCommon.d.ts.map +1 -0
- package/lib/typescript/src/components/Table/TableRow.d.ts +14 -0
- package/lib/typescript/src/components/Table/TableRow.d.ts.map +1 -0
- package/lib/typescript/src/components/Table/index.d.ts +4 -0
- package/lib/typescript/src/components/Table/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -1
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -1
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -1
- package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -1
- package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -1
- package/lib/typescript/src/mappings/Table.d.ts +327 -0
- package/lib/typescript/src/mappings/Table.d.ts.map +1 -0
- package/package.json +3 -5
- package/src/components/Table/Table.js +64 -0
- package/src/components/Table/Table.tsx +136 -0
- package/src/components/Table/TableCell.js +31 -0
- package/src/components/Table/TableCell.tsx +63 -0
- package/src/components/Table/TableCommon.js +12 -0
- package/src/components/Table/TableCommon.ts +40 -0
- package/src/components/Table/TableRow.js +37 -0
- package/src/components/Table/TableRow.tsx +77 -0
- package/src/components/Table/index.js +3 -0
- package/src/components/Table/index.tsx +3 -0
- package/src/index.js +1 -1
- package/src/index.tsx +1 -1
- package/src/mappings/ActionSheet.js +4 -1
- package/src/mappings/ActionSheet.ts +4 -1
- package/src/mappings/ActionSheetCancel.js +4 -1
- package/src/mappings/ActionSheetCancel.ts +4 -1
- package/src/mappings/ActionSheetItem.js +4 -1
- package/src/mappings/ActionSheetItem.ts +4 -1
- package/src/mappings/MapCallout.js +6 -2
- package/src/mappings/MapCallout.ts +6 -2
- package/src/mappings/MapMarker.js +6 -2
- package/src/mappings/MapMarker.ts +6 -2
- package/src/mappings/Table.js +137 -0
- package/src/mappings/Table.ts +156 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +0 -88
- package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js +0 -464
- package/lib/commonjs/components/BottomSheet/index.js +0 -13
- package/lib/commonjs/mappings/BottomSheet.js +0 -74
- package/lib/module/components/BottomSheet/BottomSheet.js +0 -80
- package/lib/module/components/BottomSheet/BottomSheetComponent.js +0 -470
- package/lib/module/components/BottomSheet/index.js +0 -1
- package/lib/module/mappings/BottomSheet.js +0 -67
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +0 -20
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +0 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.d.ts +0 -170
- package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.d.ts.map +0 -1
- package/lib/typescript/src/components/BottomSheet/index.d.ts +0 -2
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +0 -1
- package/lib/typescript/src/mappings/BottomSheet.d.ts +0 -119
- package/lib/typescript/src/mappings/BottomSheet.d.ts.map +0 -1
- package/src/components/BottomSheet/BottomSheet.js +0 -56
- package/src/components/BottomSheet/BottomSheet.tsx +0 -120
- package/src/components/BottomSheet/BottomSheetComponent.js +0 -437
- package/src/components/BottomSheet/BottomSheetComponent.tsx +0 -895
- package/src/components/BottomSheet/index.js +0 -1
- package/src/components/BottomSheet/index.ts +0 -1
- package/src/mappings/BottomSheet.js +0 -64
- package/src/mappings/BottomSheet.ts +0 -78
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ScrollView, View, StyleSheet } from "react-native";
|
|
3
|
+
import { withTheme } from "../../theming";
|
|
4
|
+
import { generateBorderStyles, TableStyleContext } from "./TableCommon";
|
|
5
|
+
const Table = _ref => {
|
|
6
|
+
let {
|
|
7
|
+
theme,
|
|
8
|
+
borderWidth = 1,
|
|
9
|
+
borderColor = theme.colors.divider,
|
|
10
|
+
borderStyle = "solid",
|
|
11
|
+
drawTopBorder = true,
|
|
12
|
+
drawBottomBorder = false,
|
|
13
|
+
drawStartBorder = false,
|
|
14
|
+
drawEndBorder = false,
|
|
15
|
+
cellVerticalPadding = 10,
|
|
16
|
+
cellHorizontalPadding = 10,
|
|
17
|
+
data,
|
|
18
|
+
keyExtractor,
|
|
19
|
+
renderItem,
|
|
20
|
+
children: childrenProp,
|
|
21
|
+
style
|
|
22
|
+
} = _ref;
|
|
23
|
+
//Both 'renderItem' and 'data' are optional to allow direct children. But if one is included, both need to be included
|
|
24
|
+
if (data && !renderItem || renderItem && !data) {
|
|
25
|
+
throw new Error("'renderItem' and 'data' need to both be provided to render from 'data'. Either remove them entirley or include both");
|
|
26
|
+
}
|
|
27
|
+
if (data && renderItem && childrenProp) {
|
|
28
|
+
console.warn("'children' of Table ignored due to usage of 'data' and 'renderItem'");
|
|
29
|
+
}
|
|
30
|
+
const isTableHeader = React.useCallback(object => {
|
|
31
|
+
return object.isTableHeader;
|
|
32
|
+
}, []);
|
|
33
|
+
const isRenderItem = data && renderItem;
|
|
34
|
+
|
|
35
|
+
//Uses 'renderItem' and 'data' to create an array of children
|
|
36
|
+
const dataAsChildren = React.useMemo(() => {
|
|
37
|
+
if (!isRenderItem) return [];
|
|
38
|
+
return data.map((item, index) => {
|
|
39
|
+
const component = renderItem({
|
|
40
|
+
item,
|
|
41
|
+
index
|
|
42
|
+
});
|
|
43
|
+
if (!component) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
const key = keyExtractor ? keyExtractor(item, index) : index.toString();
|
|
47
|
+
return /*#__PURE__*/React.cloneElement(component, {
|
|
48
|
+
key
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
}, [data, renderItem, keyExtractor, isRenderItem]);
|
|
52
|
+
const children = isRenderItem ? dataAsChildren : React.Children.toArray(childrenProp);
|
|
53
|
+
const validChildren = React.useMemo(() => children.filter(item => /*#__PURE__*/React.isValidElement(item)), [children]);
|
|
54
|
+
const childrenWithoutHeader = React.useMemo(() => validChildren.filter(item => !isTableHeader(item.props)), [validChildren, isTableHeader]);
|
|
55
|
+
const headers = React.useMemo(() => validChildren.filter(item => isTableHeader(item.props)), [validChildren, isTableHeader]);
|
|
56
|
+
const contextValue = {
|
|
57
|
+
borderColor,
|
|
58
|
+
borderStyle,
|
|
59
|
+
borderWidth,
|
|
60
|
+
cellHorizontalPadding,
|
|
61
|
+
cellVerticalPadding
|
|
62
|
+
};
|
|
63
|
+
const borderViewStyle = generateBorderStyles({
|
|
64
|
+
borderColor,
|
|
65
|
+
borderWidth,
|
|
66
|
+
borderStyle,
|
|
67
|
+
drawTopBorder,
|
|
68
|
+
drawBottomBorder,
|
|
69
|
+
drawStartBorder,
|
|
70
|
+
drawEndBorder
|
|
71
|
+
});
|
|
72
|
+
return /*#__PURE__*/React.createElement(TableStyleContext.Provider, {
|
|
73
|
+
value: contextValue
|
|
74
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
75
|
+
style: [styles.container, borderViewStyle, style]
|
|
76
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, headers), /*#__PURE__*/React.createElement(ScrollView, null, childrenWithoutHeader)));
|
|
77
|
+
};
|
|
78
|
+
const styles = StyleSheet.create({
|
|
79
|
+
container: {
|
|
80
|
+
flex: 1
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
export default withTheme(Table);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View, StyleSheet } from "react-native";
|
|
3
|
+
import { generateBorderStyles, TableStyleContext } from "./TableCommon";
|
|
4
|
+
const TableCell = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
borderWidth,
|
|
7
|
+
borderColor,
|
|
8
|
+
borderStyle,
|
|
9
|
+
drawTopBorder = false,
|
|
10
|
+
drawBottomBorder = false,
|
|
11
|
+
drawStartBorder = false,
|
|
12
|
+
drawEndBorder = true,
|
|
13
|
+
cellVerticalPadding,
|
|
14
|
+
cellHorizontalPadding,
|
|
15
|
+
children,
|
|
16
|
+
style
|
|
17
|
+
} = _ref;
|
|
18
|
+
const parentContextValue = React.useContext(TableStyleContext);
|
|
19
|
+
const borderViewStyle = generateBorderStyles({
|
|
20
|
+
borderColor: borderColor || parentContextValue.borderColor,
|
|
21
|
+
borderWidth: borderWidth || parentContextValue.borderWidth,
|
|
22
|
+
borderStyle: borderStyle || parentContextValue.borderStyle,
|
|
23
|
+
drawTopBorder,
|
|
24
|
+
drawBottomBorder,
|
|
25
|
+
drawStartBorder,
|
|
26
|
+
drawEndBorder
|
|
27
|
+
});
|
|
28
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
29
|
+
style: [styles.cellContainer, borderViewStyle, {
|
|
30
|
+
paddingVertical: cellVerticalPadding || parentContextValue.cellVerticalPadding,
|
|
31
|
+
paddingHorizontal: cellHorizontalPadding || parentContextValue.cellHorizontalPadding
|
|
32
|
+
}, style]
|
|
33
|
+
}, children);
|
|
34
|
+
};
|
|
35
|
+
const styles = StyleSheet.create({
|
|
36
|
+
cellContainer: {
|
|
37
|
+
flex: 1,
|
|
38
|
+
flexDirection: "row"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export default TableCell;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const TableStyleContext = /*#__PURE__*/React.createContext({});
|
|
3
|
+
export function generateBorderStyles(_ref) {
|
|
4
|
+
let {
|
|
5
|
+
borderColor,
|
|
6
|
+
borderWidth,
|
|
7
|
+
borderStyle,
|
|
8
|
+
drawTopBorder,
|
|
9
|
+
drawBottomBorder,
|
|
10
|
+
drawStartBorder,
|
|
11
|
+
drawEndBorder
|
|
12
|
+
} = _ref;
|
|
13
|
+
return {
|
|
14
|
+
borderColor,
|
|
15
|
+
borderStyle,
|
|
16
|
+
borderTopWidth: drawTopBorder ? borderWidth : 0,
|
|
17
|
+
borderBottomWidth: drawBottomBorder ? borderWidth : 0,
|
|
18
|
+
borderStartWidth: drawStartBorder ? borderWidth : 0,
|
|
19
|
+
borderEndWidth: drawEndBorder ? borderWidth : 0
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View, StyleSheet } from "react-native";
|
|
3
|
+
import { generateBorderStyles, TableStyleContext } from "./TableCommon";
|
|
4
|
+
import { withTheme } from "../../theming";
|
|
5
|
+
const TableRow = _ref => {
|
|
6
|
+
let {
|
|
7
|
+
borderWidth,
|
|
8
|
+
borderColor,
|
|
9
|
+
borderStyle,
|
|
10
|
+
drawTopBorder = false,
|
|
11
|
+
drawBottomBorder = true,
|
|
12
|
+
drawStartBorder = true,
|
|
13
|
+
drawEndBorder = false,
|
|
14
|
+
cellVerticalPadding,
|
|
15
|
+
cellHorizontalPadding,
|
|
16
|
+
isTableHeader = false,
|
|
17
|
+
children,
|
|
18
|
+
style,
|
|
19
|
+
theme
|
|
20
|
+
} = _ref;
|
|
21
|
+
const parentContextValue = React.useContext(TableStyleContext);
|
|
22
|
+
|
|
23
|
+
//Create context to use and pass to children based on own props or fall back to parent provided context
|
|
24
|
+
const contextValue = {
|
|
25
|
+
borderColor: borderColor || parentContextValue.borderColor,
|
|
26
|
+
borderStyle: borderStyle || parentContextValue.borderStyle,
|
|
27
|
+
borderWidth: borderWidth || parentContextValue.borderWidth,
|
|
28
|
+
cellHorizontalPadding: cellHorizontalPadding || parentContextValue.cellHorizontalPadding,
|
|
29
|
+
cellVerticalPadding: cellVerticalPadding || parentContextValue.cellVerticalPadding
|
|
30
|
+
};
|
|
31
|
+
const borderViewStyle = generateBorderStyles({
|
|
32
|
+
borderColor: contextValue.borderColor,
|
|
33
|
+
borderWidth: contextValue.borderWidth,
|
|
34
|
+
borderStyle: contextValue.borderStyle,
|
|
35
|
+
drawTopBorder,
|
|
36
|
+
drawBottomBorder,
|
|
37
|
+
drawStartBorder,
|
|
38
|
+
drawEndBorder
|
|
39
|
+
});
|
|
40
|
+
return /*#__PURE__*/React.createElement(TableStyleContext.Provider, {
|
|
41
|
+
value: contextValue
|
|
42
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
43
|
+
style: [borderViewStyle, isTableHeader ? {
|
|
44
|
+
backgroundColor: theme.colors.primary
|
|
45
|
+
} : {}, style, styles.cellsContainer]
|
|
46
|
+
}, children));
|
|
47
|
+
};
|
|
48
|
+
const styles = StyleSheet.create({
|
|
49
|
+
cellsContainer: {
|
|
50
|
+
flexDirection: "row"
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export default withTheme(TableRow);
|
|
@@ -1,56 +1,10 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
1
5
|
import * as React from "react";
|
|
2
6
|
import { Text as NativeText, I18nManager } from "react-native";
|
|
3
7
|
import { withTheme } from "../theming";
|
|
4
|
-
class Text extends React.Component {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.state = {
|
|
8
|
-
nativeProps: {}
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
setNativeProps(args) {
|
|
12
|
-
this.state.nativeProps = args || {};
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
const {
|
|
16
|
-
style,
|
|
17
|
-
...rest
|
|
18
|
-
} = this.props;
|
|
19
|
-
const writingDirection = I18nManager.isRTL ? "rtl" : "ltr";
|
|
20
|
-
return /*#__PURE__*/React.createElement(NativeText, {
|
|
21
|
-
...rest,
|
|
22
|
-
...this.state.nativeProps,
|
|
23
|
-
ref: c => {
|
|
24
|
-
this._root = c;
|
|
25
|
-
},
|
|
26
|
-
style: [{
|
|
27
|
-
textAlign: "left",
|
|
28
|
-
writingDirection
|
|
29
|
-
}, style]
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export const BaseLink = _ref => {
|
|
34
|
-
let {
|
|
35
|
-
style,
|
|
36
|
-
theme,
|
|
37
|
-
title,
|
|
38
|
-
...props
|
|
39
|
-
} = _ref;
|
|
40
|
-
return /*#__PURE__*/React.createElement(Text, {
|
|
41
|
-
hitSlop: 8,
|
|
42
|
-
style: [{
|
|
43
|
-
color: theme.colors.primary
|
|
44
|
-
}, style],
|
|
45
|
-
theme: theme,
|
|
46
|
-
...props
|
|
47
|
-
}, title);
|
|
48
|
-
};
|
|
49
|
-
const Link = withTheme(BaseLink);
|
|
50
|
-
export { Link };
|
|
51
|
-
export default withTheme(Text); as React from "react";
|
|
52
|
-
import { Text as NativeText, I18nManager } from "react-native";
|
|
53
|
-
import { withTheme } from "../theming";
|
|
54
8
|
class Text extends React.Component {
|
|
55
9
|
constructor() {
|
|
56
10
|
super(...arguments);
|
package/lib/module/index.js
CHANGED
|
@@ -35,7 +35,7 @@ export { default as Shadow } from "./components/Shadow";
|
|
|
35
35
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
36
36
|
export { TabView, TabViewItem } from "./components/TabView";
|
|
37
37
|
export { default as Markdown } from "./components/Markdown";
|
|
38
|
-
export {
|
|
38
|
+
export { Table, TableRow, TableCell } from "./components/Table";
|
|
39
39
|
|
|
40
40
|
/* Deprecated: Fix or Delete! */
|
|
41
41
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
@@ -4,7 +4,7 @@ export const SEED_DATA = {
|
|
|
4
4
|
tag: "ActionSheet",
|
|
5
5
|
description: "Action Sheet container",
|
|
6
6
|
category: COMPONENT_TYPES.actionsheet,
|
|
7
|
-
stylesPanelSections: [StylesPanelSections.
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.Margins, StylesPanelSections.Effects],
|
|
8
8
|
props: {
|
|
9
9
|
visible: createStaticBoolProp({
|
|
10
10
|
group: GROUPS.data,
|
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Action Sheet Cancel",
|
|
4
4
|
tag: "ActionSheetCancel",
|
|
5
5
|
description: "Action Sheet cancel",
|
|
6
|
-
stylesPanelSections: [StylesPanelSections.
|
|
6
|
+
stylesPanelSections: [StylesPanelSections.Margins, StylesPanelSections.Effects],
|
|
7
7
|
category: COMPONENT_TYPES.actionsheet,
|
|
8
8
|
triggers: [Triggers.OnPress],
|
|
9
9
|
props: {
|
|
@@ -4,7 +4,7 @@ export const SEED_DATA = {
|
|
|
4
4
|
tag: "ActionSheetItem",
|
|
5
5
|
description: "Action Sheet item",
|
|
6
6
|
category: COMPONENT_TYPES.actionsheet,
|
|
7
|
-
stylesPanelSections: [StylesPanelSections.
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.Margins, StylesPanelSections.Effects],
|
|
8
8
|
triggers: [Triggers.OnPress],
|
|
9
9
|
layout: {
|
|
10
10
|
textAlign: "center"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createActionProp, createBoolProp, GROUPS, Triggers,
|
|
1
|
+
import { COMPONENT_TYPES, createActionProp, createBoolProp, GROUPS, Triggers, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Map Callout",
|
|
4
4
|
tag: "MapCallout",
|
|
5
5
|
packageName: "@draftbit/maps",
|
|
6
|
-
stylesPanelSections:
|
|
6
|
+
stylesPanelSections: [StylesPanelSections.Size, StylesPanelSections.Margins, StylesPanelSections.Effects],
|
|
7
7
|
description: "An info window to display on top of a marker when it is clicked",
|
|
8
8
|
category: COMPONENT_TYPES.map,
|
|
9
9
|
triggers: [Triggers.OnPress],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createBoolProp, createColorProp, createNumberProp, createTextProp, GROUPS,
|
|
1
|
+
import { COMPONENT_TYPES, createBoolProp, createColorProp, createNumberProp, createTextProp, GROUPS, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Map Marker",
|
|
4
4
|
tag: "MapMarker",
|
|
5
5
|
packageName: "@draftbit/maps",
|
|
6
6
|
description: "A marker to show inside map view",
|
|
7
7
|
category: COMPONENT_TYPES.map,
|
|
8
|
-
stylesPanelSections:
|
|
8
|
+
stylesPanelSections: [StylesPanelSections.Size, StylesPanelSections.Margins, StylesPanelSections.Effects],
|
|
9
9
|
layout: {},
|
|
10
10
|
props: {
|
|
11
11
|
latitude: createNumberProp({
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { COMPONENT_TYPES, StylesPanelSections, createColorProp, createStaticBoolProp, createStaticNumberProp, createTextEnumProp } from "@draftbit/types";
|
|
2
|
+
const SHARED_SEED_DATA_PROPS = {
|
|
3
|
+
borderWidth: createStaticNumberProp({
|
|
4
|
+
label: "Border Width",
|
|
5
|
+
description: "Specifies the width of the border. Passed down to child Table(Row/Cell) components unless overridden",
|
|
6
|
+
required: false,
|
|
7
|
+
defaultValue: null
|
|
8
|
+
}),
|
|
9
|
+
borderColor: createColorProp({
|
|
10
|
+
label: "Border Color",
|
|
11
|
+
description: "Specifies the color of the border. Passed down to child Table(Row/Cell) components unless overridden",
|
|
12
|
+
defaultValue: null
|
|
13
|
+
}),
|
|
14
|
+
borderStyle: createTextEnumProp({
|
|
15
|
+
label: "Border Style",
|
|
16
|
+
description: "Specifies the style of the border. Passed down to child Table(Row/Cell) components unless overridden",
|
|
17
|
+
options: ["solid", "dotted", "dashed"],
|
|
18
|
+
defaultValue: null
|
|
19
|
+
}),
|
|
20
|
+
drawTopBorder: createStaticBoolProp({
|
|
21
|
+
label: "Draw Top Border",
|
|
22
|
+
description: "Whether to draw the top border at this layer of the Table tree or not",
|
|
23
|
+
defaultValue: false
|
|
24
|
+
}),
|
|
25
|
+
drawBottomBorder: createStaticBoolProp({
|
|
26
|
+
label: "Draw Bottom Border",
|
|
27
|
+
description: "Whether to draw the bottom border at this layer of the Table tree or not",
|
|
28
|
+
defaultValue: false
|
|
29
|
+
}),
|
|
30
|
+
drawStartBorder: createStaticBoolProp({
|
|
31
|
+
label: "Draw Start Border",
|
|
32
|
+
description: "Whether to draw the start border at this layer of the Table tree or not",
|
|
33
|
+
defaultValue: false
|
|
34
|
+
}),
|
|
35
|
+
drawEndBorder: createStaticBoolProp({
|
|
36
|
+
label: "Draw End Border",
|
|
37
|
+
description: "Whether to draw the end border at this layer of the Table tree or not",
|
|
38
|
+
defaultValue: false
|
|
39
|
+
}),
|
|
40
|
+
cellVerticalPadding: createStaticNumberProp({
|
|
41
|
+
label: "Cell Vertical Padding",
|
|
42
|
+
description: "Specifies the vertical padding of the cell. Passed down to TableCell components unless overridden",
|
|
43
|
+
required: false,
|
|
44
|
+
defaultValue: 10
|
|
45
|
+
}),
|
|
46
|
+
cellHorizontalPadding: createStaticNumberProp({
|
|
47
|
+
label: "Cell Horizontal Padding",
|
|
48
|
+
description: "Specifies the horizontal padding of the cell. Passed down to TableCell components unless overridden",
|
|
49
|
+
required: false,
|
|
50
|
+
defaultValue: 10
|
|
51
|
+
})
|
|
52
|
+
};
|
|
53
|
+
export const SEED_DATA = [{
|
|
54
|
+
name: "Table",
|
|
55
|
+
tag: "Table",
|
|
56
|
+
description: "Top level table container",
|
|
57
|
+
category: COMPONENT_TYPES.table,
|
|
58
|
+
stylesPanelSections: [StylesPanelSections.Size, StylesPanelSections.Margins, StylesPanelSections.Position, StylesPanelSections.Effects, StylesPanelSections.Background, StylesPanelSections.LayoutSelectedItem],
|
|
59
|
+
layout: {
|
|
60
|
+
flex: 1
|
|
61
|
+
},
|
|
62
|
+
props: {
|
|
63
|
+
...SHARED_SEED_DATA_PROPS,
|
|
64
|
+
borderWidth: {
|
|
65
|
+
...SHARED_SEED_DATA_PROPS.borderWidth,
|
|
66
|
+
defaultValue: 1
|
|
67
|
+
},
|
|
68
|
+
borderColor: {
|
|
69
|
+
...SHARED_SEED_DATA_PROPS.borderColor,
|
|
70
|
+
defaultValue: "divider"
|
|
71
|
+
},
|
|
72
|
+
borderStyle: {
|
|
73
|
+
...SHARED_SEED_DATA_PROPS.borderStyle,
|
|
74
|
+
defaultValue: "solid"
|
|
75
|
+
},
|
|
76
|
+
drawTopBorder: {
|
|
77
|
+
...SHARED_SEED_DATA_PROPS.drawTopBorder,
|
|
78
|
+
defaultValue: true
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
name: "Table Row",
|
|
83
|
+
tag: "TableRow",
|
|
84
|
+
description: "Table Row container",
|
|
85
|
+
category: COMPONENT_TYPES.table,
|
|
86
|
+
stylesPanelSections: [StylesPanelSections.Background],
|
|
87
|
+
props: {
|
|
88
|
+
...SHARED_SEED_DATA_PROPS,
|
|
89
|
+
drawStartBorder: {
|
|
90
|
+
...SHARED_SEED_DATA_PROPS.drawStartBorder,
|
|
91
|
+
defaultValue: true
|
|
92
|
+
},
|
|
93
|
+
drawBottomBorder: {
|
|
94
|
+
...SHARED_SEED_DATA_PROPS.drawBottomBorder,
|
|
95
|
+
defaultValue: true
|
|
96
|
+
},
|
|
97
|
+
isTableHeader: createStaticBoolProp({
|
|
98
|
+
label: "Header",
|
|
99
|
+
description: "Whether this row is a header or not (changes background and sticks while scrolling)",
|
|
100
|
+
defaultValue: false
|
|
101
|
+
})
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
name: "Table Cell",
|
|
105
|
+
tag: "TableCell",
|
|
106
|
+
description: "Table Cell container",
|
|
107
|
+
category: COMPONENT_TYPES.table,
|
|
108
|
+
stylesPanelSections: [StylesPanelSections.LayoutFlexItems, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.LayoutContent, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Effects],
|
|
109
|
+
layout: {
|
|
110
|
+
flex: 1,
|
|
111
|
+
flexDirection: "row"
|
|
112
|
+
},
|
|
113
|
+
props: {
|
|
114
|
+
...SHARED_SEED_DATA_PROPS,
|
|
115
|
+
drawEndBorder: {
|
|
116
|
+
...SHARED_SEED_DATA_PROPS.drawEndBorder,
|
|
117
|
+
defaultValue: true
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
+
import { Theme } from "../../styles/DefaultTheme";
|
|
4
|
+
import { TableProps } from "./TableCommon";
|
|
5
|
+
export interface Props<T> extends TableProps {
|
|
6
|
+
data?: Array<T>;
|
|
7
|
+
keyExtractor?: (item: T, index: number) => string;
|
|
8
|
+
renderItem?: ({ item, index }: {
|
|
9
|
+
item: T;
|
|
10
|
+
index: number;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
style?: StyleProp<ViewStyle>;
|
|
13
|
+
theme: Theme;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<Props<object>>, "theme"> & {
|
|
16
|
+
theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
|
|
17
|
+
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props<object>>> & (<T extends object>({ theme, borderWidth, borderColor, borderStyle, drawTopBorder, drawBottomBorder, drawStartBorder, drawEndBorder, cellVerticalPadding, cellHorizontalPadding, data, keyExtractor, renderItem, children: childrenProp, style, }: React.PropsWithChildren<Props<T>>) => JSX.Element), {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,SAAS,EACT,SAAS,EAGV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAEL,UAAU,EAGX,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,KAAK,CAAC,CAAC,CAAE,SAAQ,UAAU;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAChB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAClD,UAAU,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,GAAG,CAAC,OAAO,CAAC;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd;;;;AAgHD,wBAAgC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
+
import { TableProps } from "./TableCommon";
|
|
4
|
+
export interface Props extends TableProps {
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
}
|
|
7
|
+
declare const TableCell: React.FC<React.PropsWithChildren<Props>>;
|
|
8
|
+
export default TableCell;
|
|
9
|
+
//# sourceMappingURL=TableCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAc,MAAM,cAAc,CAAC;AACtE,OAAO,EAEL,UAAU,EAEX,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,KAAM,SAAQ,UAAU;IACvC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAyCvD,CAAC;AASF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ViewStyle } from "react-native";
|
|
3
|
+
declare type BorderStyle = "solid" | "dotted" | "dashed";
|
|
4
|
+
export declare const TableStyleContext: React.Context<TableStyleProps>;
|
|
5
|
+
export interface TableStyleProps {
|
|
6
|
+
borderWidth?: number;
|
|
7
|
+
borderColor?: string;
|
|
8
|
+
borderStyle?: BorderStyle;
|
|
9
|
+
cellVerticalPadding?: number;
|
|
10
|
+
cellHorizontalPadding?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface TableProps extends TableStyleProps {
|
|
13
|
+
drawTopBorder?: boolean;
|
|
14
|
+
drawBottomBorder?: boolean;
|
|
15
|
+
drawStartBorder?: boolean;
|
|
16
|
+
drawEndBorder?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function generateBorderStyles({ borderColor, borderWidth, borderStyle, drawTopBorder, drawBottomBorder, drawStartBorder, drawEndBorder, }: TableProps): ViewStyle;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=TableCommon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCommon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableCommon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,aAAK,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEjD,eAAO,MAAM,iBAAiB,gCAA2C,CAAC;AAE1E,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,WAAW,EACX,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,aAAa,GACd,EAAE,UAAU,GAAG,SAAS,CASxB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
+
import { TableProps } from "./TableCommon";
|
|
4
|
+
import { Theme } from "../../styles/DefaultTheme";
|
|
5
|
+
export interface Props extends TableProps {
|
|
6
|
+
isTableHeader?: boolean;
|
|
7
|
+
style?: StyleProp<ViewStyle>;
|
|
8
|
+
theme: Theme;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<Props>, "theme"> & {
|
|
11
|
+
theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
|
|
12
|
+
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=TableRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAc,MAAM,cAAc,CAAC;AACtE,OAAO,EAEL,UAAU,EAGX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGlD,MAAM,WAAW,KAAM,SAAQ,UAAU;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd;;;;AA6DD,wBAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -35,7 +35,7 @@ export { default as Shadow } from "./components/Shadow";
|
|
|
35
35
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
36
36
|
export { TabView, TabViewItem } from "./components/TabView";
|
|
37
37
|
export { default as Markdown } from "./components/Markdown";
|
|
38
|
-
export {
|
|
38
|
+
export { Table, TableRow, TableCell } from "./components/Table";
|
|
39
39
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
40
40
|
export { default as Picker } from "./components/Picker/Picker";
|
|
41
41
|
export { default as ProgressBar } from "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AAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGhE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheet.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheet.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;CAerB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetCancel.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetCancel.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ActionSheetCancel.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetCancel.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetItem.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetItem.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ActionSheetItem.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetItem.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapCallout.d.ts","sourceRoot":"","sources":["../../../../src/mappings/MapCallout.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MapCallout.d.ts","sourceRoot":"","sources":["../../../../src/mappings/MapCallout.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapMarker.d.ts","sourceRoot":"","sources":["../../../../src/mappings/MapMarker.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MapMarker.d.ts","sourceRoot":"","sources":["../../../../src/mappings/MapMarker.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDrB,CAAC"}
|