be-components 5.1.5 → 5.1.8

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.
Files changed (58) hide show
  1. package/lib/commonjs/Components/Icons.js +28 -1
  2. package/lib/commonjs/Components/Icons.js.map +1 -1
  3. package/lib/commonjs/Components/Themed.js +5 -0
  4. package/lib/commonjs/Components/Themed.js.map +1 -1
  5. package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js +0 -1
  6. package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
  7. package/lib/commonjs/SocialComponents/FormattedTextInput/FormattedText.js +8 -4
  8. package/lib/commonjs/SocialComponents/FormattedTextInput/FormattedText.js.map +1 -1
  9. package/lib/commonjs/SocialComponents/FormattedTextInput/index.js +68 -12
  10. package/lib/commonjs/SocialComponents/FormattedTextInput/index.js.map +1 -1
  11. package/lib/commonjs/SocialComponents/InputBar/index.js +8 -4
  12. package/lib/commonjs/SocialComponents/InputBar/index.js.map +1 -1
  13. package/lib/module/Components/Icons.js +28 -1
  14. package/lib/module/Components/Icons.js.map +1 -1
  15. package/lib/module/Components/Themed.js +6 -1
  16. package/lib/module/Components/Themed.js.map +1 -1
  17. package/lib/module/MarketComponents/components/TeamEventMarket/index.js +0 -1
  18. package/lib/module/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
  19. package/lib/module/SocialComponents/FormattedTextInput/FormattedText.js +8 -4
  20. package/lib/module/SocialComponents/FormattedTextInput/FormattedText.js.map +1 -1
  21. package/lib/module/SocialComponents/FormattedTextInput/index.js +69 -13
  22. package/lib/module/SocialComponents/FormattedTextInput/index.js.map +1 -1
  23. package/lib/module/SocialComponents/InputBar/index.js +8 -4
  24. package/lib/module/SocialComponents/InputBar/index.js.map +1 -1
  25. package/lib/typescript/lib/commonjs/Components/Icons.d.ts +5 -0
  26. package/lib/typescript/lib/commonjs/Components/Icons.d.ts.map +1 -1
  27. package/lib/typescript/lib/commonjs/Components/Themed.d.ts.map +1 -1
  28. package/lib/typescript/lib/commonjs/SocialComponents/FormattedTextInput/FormattedText.d.ts +3 -2
  29. package/lib/typescript/lib/commonjs/SocialComponents/FormattedTextInput/FormattedText.d.ts.map +1 -1
  30. package/lib/typescript/lib/commonjs/SocialComponents/FormattedTextInput/index.d.ts +6 -1
  31. package/lib/typescript/lib/commonjs/SocialComponents/FormattedTextInput/index.d.ts.map +1 -1
  32. package/lib/typescript/lib/commonjs/SocialComponents/InputBar/index.d.ts.map +1 -1
  33. package/lib/typescript/lib/commonjs/SocialComponents/index.d.ts +2 -1
  34. package/lib/typescript/lib/module/Components/Icons.d.ts +5 -0
  35. package/lib/typescript/lib/module/Components/Icons.d.ts.map +1 -1
  36. package/lib/typescript/lib/module/Components/Themed.d.ts.map +1 -1
  37. package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/FormattedText.d.ts +3 -2
  38. package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/FormattedText.d.ts.map +1 -1
  39. package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/index.d.ts +6 -1
  40. package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/index.d.ts.map +1 -1
  41. package/lib/typescript/lib/module/SocialComponents/InputBar/index.d.ts.map +1 -1
  42. package/lib/typescript/src/Components/Icons.d.ts +1 -0
  43. package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
  44. package/lib/typescript/src/Components/Themed.d.ts +2 -0
  45. package/lib/typescript/src/Components/Themed.d.ts.map +1 -1
  46. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
  47. package/lib/typescript/src/SocialComponents/FormattedTextInput/FormattedText.d.ts +3 -2
  48. package/lib/typescript/src/SocialComponents/FormattedTextInput/FormattedText.d.ts.map +1 -1
  49. package/lib/typescript/src/SocialComponents/FormattedTextInput/index.d.ts +7 -1
  50. package/lib/typescript/src/SocialComponents/FormattedTextInput/index.d.ts.map +1 -1
  51. package/lib/typescript/src/SocialComponents/InputBar/index.d.ts.map +1 -1
  52. package/package.json +1 -1
  53. package/src/Components/Icons.tsx +13 -2
  54. package/src/Components/Themed.tsx +8 -1
  55. package/src/MarketComponents/components/TeamEventMarket/index.tsx +0 -1
  56. package/src/SocialComponents/FormattedTextInput/FormattedText.tsx +8 -6
  57. package/src/SocialComponents/FormattedTextInput/index.tsx +75 -31
  58. package/src/SocialComponents/InputBar/index.tsx +10 -7
@@ -1,9 +1,10 @@
1
1
  export const __esModule: boolean;
2
2
  export const AudioPlayer: any;
3
3
  export const CompanyProfile: any;
4
- export const FormattedText: ({ text, tags, onSelectTag }: {
4
+ export const FormattedText: ({ text, tags, text_color, onSelectTag }: {
5
5
  text: any;
6
6
  tags: any;
7
+ text_color: any;
7
8
  onSelectTag: any;
8
9
  }) => any;
9
10
  export const FormattedTextInput: any;
@@ -9,6 +9,7 @@ declare namespace _default {
9
9
  export { FilterIcon };
10
10
  export { PieIcon };
11
11
  export { BankIcon };
12
+ export { SendIcon };
12
13
  export { SquaresIcon };
13
14
  export { EditIcon };
14
15
  export { PreferencesIcon };
@@ -125,6 +126,10 @@ declare function BankIcon({ size, color }: {
125
126
  size: any;
126
127
  color: any;
127
128
  }): React.CElement<import("react-native-svg").SvgProps | Readonly<import("react-native-svg").SvgProps>, Svg>;
129
+ declare function SendIcon({ color, size }: {
130
+ color: any;
131
+ size: any;
132
+ }): React.CElement<import("react-native-svg").SvgProps | Readonly<import("react-native-svg").SvgProps>, Svg>;
128
133
  declare function SquaresIcon({ color, size }: {
129
134
  color: any;
130
135
  size: any;
@@ -1 +1 @@
1
- {"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../module/Components/Icons.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkKA;;;6GAwBC;AAoqFD;;;6GA6BC;AAzpED;;;6GAiCC;AAipED;;;6GA2CC;AA57FD;;;6GAqCC;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;AAytDD;;6GAwGC;AAtyBD;;;6GA8CC;AApGD;;;6GAqDC;AA5vDD;;;6GAwDC;AA4mDD;;;6GAkCC;AA9+CD;;6GAwBC;AAm3CD;;;6GAsCC;AA9+BD;;6GAwBC;AAqmDD;;;6GA4BC;AAhvBD;;6GA8BC;AAx/CD;;;6GA+BC;AAi0CD;;;;6GAyHC;AAjkBD;;;6GA4BC;AAgYD;;;6GA2CC;AAsxCD;;6GAqBC;AArtDD;;;6GAyBC;AAjFD;;;6GA0BC;AAoVD;;;6GAwEC;AA1GD;;;6GAiCC;AAzFD;;;6GAgCC;AAxED;;;6GAuCC;AA/ED;;;6GAuCC;AAlhCD;;6GAuBC;AApPD;;;6GA4BC;AA0jCD;;;6GA6EC;AA7OD;;;6GAwBC;AA9FD;;;6GAkCC;AA6DD;;;6GAoDC;AAvkBD;;6GAsDC;AAk4ED;;;6GAeC;AA3yED;;6GA6DC;AA6rDD;;;6GA2BC;AA1+DD;;;6GA0BC;AAmWD;;6GA2CC;AApoBD;;;6GAyBC;AACD;;;6GA2BC;AAglBD;;6GA2CC;AApWD;;6GAiDC;AACD;;6GAkDC;AAzLD;;;;6GA6BC;gBArgB+F,kBAAkB;kBAFhG,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"Themed.d.ts","sourceRoot":"","sources":["../../../../module/Components/Themed.js"],"names":[],"mappings":"AAMA,gGAsEC;AACD,6EAmDG;AACI,oJA2HN;AACM,+GA+CN;oCA1SiK,cAAc;kBADtI,OAAO;oCACiH,cAAc;8CAAd,cAAc"}
1
+ {"version":3,"file":"Themed.d.ts","sourceRoot":"","sources":["../../../../module/Components/Themed.js"],"names":[],"mappings":"AAMA,gGAsEC;AACD,6EAmDG;AACI,oJA2HN;AACM,+GAoDN;oCA/SiK,cAAc;kBAD3H,OAAO;oCACsG,cAAc;8CAAd,cAAc"}
@@ -1,9 +1,10 @@
1
- export function FormattedText({ text, tags, onSelectTag }: {
1
+ export function FormattedText({ text, tags, text_color, onSelectTag }: {
2
2
  text: any;
3
3
  tags: any;
4
+ text_color: any;
4
5
  onSelectTag: any;
5
6
  }): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
6
7
  export function splitText(text: any): any;
7
- export function formatText(text: any, included_tags: any, onSelectTag: any): any[];
8
+ export function formatText(text: any, included_tags: any, onSelectTag: any, text_color: any): any[];
8
9
  import React from 'react';
9
10
  //# sourceMappingURL=FormattedText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormattedText.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/FormattedTextInput/FormattedText.js"],"names":[],"mappings":"AAGO;;;;kGAmBN;AACM,0CAEN;AACM,mFAuDN;kBAjFiB,OAAO"}
1
+ {"version":3,"file":"FormattedText.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/FormattedTextInput/FormattedText.js"],"names":[],"mappings":"AAIO;;;;;kGAqBN;AACM,0CAEN;AACM,oGAwDN;kBArFiB,OAAO"}
@@ -1,7 +1,12 @@
1
1
  export default FormattedTextInput;
2
- declare function FormattedTextInput({ submit_title, init_data, onChangeText, onSubmit, onFocusPosition }: {
2
+ declare function FormattedTextInput({ submit_title, icon_submit, keep_on_submit, submit_placement, placeholder, init_data, onSelectInput, onChangeText, onSubmit, onFocusPosition }: {
3
3
  submit_title: any;
4
+ icon_submit: any;
5
+ keep_on_submit: any;
6
+ submit_placement: any;
7
+ placeholder: any;
4
8
  init_data: any;
9
+ onSelectInput: any;
5
10
  onChangeText: any;
6
11
  onSubmit: any;
7
12
  onFocusPosition: any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/FormattedTextInput/index.js"],"names":[],"mappings":";AAKA;;;;;;kGA8KC;kBAnLmD,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/FormattedTextInput/index.js"],"names":[],"mappings":";AAOA;;;;;;;;;;;kGAoOC;kBA3OmD,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/InputBar/index.js"],"names":[],"mappings":";AAMA;;;kGAkCC;kBAxCiB,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/InputBar/index.js"],"names":[],"mappings":";AAMA;;;kGAsCC;kBA5CiB,OAAO"}
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  FilterIcon: ({ color, size }: IconProps) => React.JSX.Element;
17
17
  PieIcon: ({ color, size }: IconProps) => React.JSX.Element;
18
18
  BankIcon: ({ size, color }: IconProps) => React.JSX.Element;
19
+ SendIcon: ({ color, size }: IconProps) => React.JSX.Element;
19
20
  SquaresIcon: ({ color, size }: IconProps) => React.JSX.Element;
20
21
  EditIcon: ({ color, size }: IconProps) => React.JSX.Element;
21
22
  PreferencesIcon: ({ color, size }: IconProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/Components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,SAAS,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAC,MAAM,CAAC;IACxB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,SAAS,CAAC,EAAC,IAAI,GAAC,MAAM,GAAC,MAAM,GAAC,OAAO,CAAA;CACxC,CAAA;;kCAgEqC,SAAS;qCAmwCR,SAAS;iCA3+Bd,SAAS;wCAwgCH,SAAS;iCA71Cd,SAAS;oCA23CN,SAAS;oCA6BT,SAAS;kCAfX,SAAS;+BAnLZ,SAAS;gCAlaP,SAAS;mCAqcP,SAAS;gCAlMX,SAAS;uCArbH,SAAS;kCA+sBd,SAAS;gCAxEX,SAAS;uCA1SA,SAAS;iCAsGd,SAAS;kCA3BT,SAAS;gCApBX,SAAS;gCAdT,SAAS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AAS;iCAx4Bf,SAAS;uCA0KH,SAAS;gCAhShB,SAAS;iCAeR,SAAS;qCAsSP,SAAS;6BA1If,SAAS;+BAmBP,SAAS;oDAzDY,SAAS;;AAysC/D,wBAuFC"}
@@ -30,6 +30,8 @@ export type ButtonProps = BEButtonProps & TouchableOpacityProps;
30
30
  export declare const Button: (props: ButtonProps) => React.JSX.Element;
31
31
  type BETextInputProps = {
32
32
  type?: string;
33
+ loading?: boolean;
34
+ focus_on_unload?: boolean;
33
35
  transparent?: boolean;
34
36
  onFocusPosition?: (position: {
35
37
  x: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Themed.d.ts","sourceRoot":"","sources":["../../../../src/Components/Themed.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAqB,IAAI,IAAI,WAAW,EAAE,IAAI,IAAI,WAAW,EAAyC,KAAK,qBAAqB,EAAkB,MAAM,cAAc,CAAC;AAI7M,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,IAAI,GAAC,IAAI,GAAC,aAAa,GAAC,OAAO,GAAC,SAAS,GAAC,SAAS,GAAC,OAAO,GAAC,QAAQ,CAAC;IAC7E,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,SAAS,CAAC,EAAC,MAAM,GAAC,QAAQ,GAAC,OAAO,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAC,UAAU,GAAC,SAAS,GAAC,OAAO,CAAA;CAC7C,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAK3D,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,qBAgDpC;AAGD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,QAAQ,GAAC,MAAM,GAAC,QAAQ,GAAC,OAAO,GAAC,MAAM,GAAC,KAAK,CAA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AC,QAAQ,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,KAAK,IAAI,CAAA;IACxD,gBAAgB,CAAC,EAAC,OAAO,CAAA;CAC5B,CAAA;gfACod,oBAAoB;AA6nBze,wBAGE"}
@@ -3,11 +3,12 @@ import type { TextTagProps } from '../../types';
3
3
  type FormattedTextProps = {
4
4
  text: string;
5
5
  tags: TextTagProps[];
6
+ text_color?: string;
6
7
  onSelectTag: (tag: TextTagProps) => void;
7
8
  };
8
- export declare const FormattedText: ({ text, tags, onSelectTag }: FormattedTextProps) => React.JSX.Element;
9
+ export declare const FormattedText: ({ text, tags, text_color, onSelectTag }: FormattedTextProps) => React.JSX.Element;
9
10
  export declare const splitText: (text: string) => string[];
10
- export declare const formatText: (text: string, included_tags: TextTagProps[], onSelectTag: (tag: TextTagProps) => void) => {
11
+ export declare const formatText: (text: string, included_tags: TextTagProps[], onSelectTag: (tag: TextTagProps) => void, text_color?: string) => {
11
12
  line: number;
12
13
  component: any;
13
14
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"FormattedText.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/FormattedTextInput/FormattedText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,KAAK,kBAAkB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAC,YAAY,EAAE,CAAC;IACpB,WAAW,EAAE,CAAC,GAAG,EAAC,YAAY,KAAK,IAAI,CAAA;CAC1C,CAAA;AAID,eAAO,MAAM,aAAa,gCAAgC,kBAAkB,sBAgB3E,CAAA;AAED,eAAO,MAAM,SAAS,SAAS,MAAM,aAEpC,CAAA;AAID,eAAO,MAAM,UAAU,SAAS,MAAM,iBAAgB,YAAY,EAAE,eAAc,CAAC,GAAG,EAAC,YAAY,KAAK,IAAI,KAAE;IAAE,IAAI,EAAC,MAAM,CAAC;IAAC,SAAS,EAAC,GAAG,CAAA;CAAE,EA+C3I,CAAA"}
1
+ {"version":3,"file":"FormattedText.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/FormattedTextInput/FormattedText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,KAAK,kBAAkB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAC,YAAY,EAAE,CAAC;IACpB,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,WAAW,EAAE,CAAC,GAAG,EAAC,YAAY,KAAK,IAAI,CAAA;CAC1C,CAAA;AAID,eAAO,MAAM,aAAa,4CAA4C,kBAAkB,sBAgBvF,CAAA;AAED,eAAO,MAAM,SAAS,SAAS,MAAM,aAEpC,CAAA;AAID,eAAO,MAAM,UAAU,SAAS,MAAM,iBAAgB,YAAY,EAAE,eAAc,CAAC,GAAG,EAAC,YAAY,KAAK,IAAI,eAAc,MAAM,KAAE;IAAE,IAAI,EAAC,MAAM,CAAC;IAAC,SAAS,EAAC,GAAG,CAAA;CAAE,EA+C/J,CAAA"}
@@ -6,6 +6,12 @@ type FormattedTextInputProps = {
6
6
  formatted_text: any;
7
7
  }) => void;
8
8
  submit_title?: string;
9
+ submit_loading?: boolean;
10
+ keep_on_submit?: boolean;
11
+ icon_submit?: boolean;
12
+ placeholder?: string;
13
+ onSelectInput?: () => void;
14
+ submit_placement?: 'inline' | 'bottom';
9
15
  onFocusPosition?: (position: {
10
16
  height: number;
11
17
  width: number;
@@ -22,6 +28,6 @@ type FormattedTextInputProps = {
22
28
  formatted_text: any;
23
29
  }, tags: TextTagProps[]) => void;
24
30
  };
25
- declare const FormattedTextInput: ({ submit_title, init_data, onChangeText, onSubmit, onFocusPosition }: FormattedTextInputProps) => React.JSX.Element;
31
+ declare const FormattedTextInput: ({ submit_title, icon_submit, keep_on_submit, submit_placement, placeholder, init_data, onSelectInput, onChangeText, onSubmit, onFocusPosition }: FormattedTextInputProps) => React.JSX.Element;
26
32
  export default FormattedTextInput;
27
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/FormattedTextInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,KAAK,uBAAuB,GAAG;IAC3B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAC;QAAE,IAAI,EAAC,MAAM,CAAC;QAAC,cAAc,EAAC,GAAG,CAAA;KAAE,KAAK,IAAI,CAAC;IAClE,YAAY,CAAC,EAAC,MAAM,CAAC;IACrB,eAAe,CAAC,EAAC,CAAC,QAAQ,EAAC;QAAE,MAAM,EAAC,MAAM,CAAC;QAAC,KAAK,EAAC,MAAM,CAAC;QAAC,CAAC,EAAC,MAAM,CAAC;QAAC,CAAC,EAAC,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACvF,SAAS,CAAC,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,YAAY,EAAE,CAAA;KAAE,CAAC;IACzE,QAAQ,EAAC,CAAC,IAAI,EAAC;QAAE,IAAI,EAAC,MAAM,CAAC;QAAC,cAAc,EAAC,GAAG,CAAA;KAAE,EAAE,IAAI,EAAC,YAAY,EAAE,KAAK,IAAI,CAAA;CACnF,CAAA;AAED,QAAA,MAAM,kBAAkB,yEAAyE,uBAAuB,sBAgJvH,CAAA;AAED,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/FormattedTextInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,KAAK,EAAE,YAAY,E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EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAC,MAAM,GAAE,GAAG,CAAA;KAAE,KAAK,IAAI,CAAA;CACnE,CAAA;AAED,QAAA,MAAM,QAAQ,+BAAiC,aAAa,sBA4B3D,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/InputBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,aAAa,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,aAAa,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAC,MAAM,GAAE,GAAG,CAAA;KAAE,KAAK,IAAI,CAAA;CACnE,CAAA;AAED,QAAA,MAAM,QAAQ,+BAAiC,aAAa,sBA+B3D,CAAA;AAED,eAAe,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-components",
3
- "version": "5.1.5",
3
+ "version": "5.1.8",
4
4
  "description": "Components for BettorEdge Apps",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1450,7 +1450,7 @@ const BarstoolIcon = ({ color, size }:IconProps) => {
1450
1450
  return (
1451
1451
  <Svg width={`${width}px`} height={`${height}px`} viewBox="0 0 23 32">
1452
1452
  <G id="app-icons" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
1453
- <G id="bar-chair-svgrepo-com" transform="translate(1.000000, 1.000000)" stroke={color ?? Colors.brand.midnight} stroke-width="2">
1453
+ <G id="bar-chair-svgrepo-com" transform="translate(1.000000, 1.000000)" stroke={color ?? Colors.brand.midnight} strokeWidth="2">
1454
1454
  <Path d="M0.0472499134,7.40626782 C-0.364035035,4.09285824 1.95287968,1.04649362 5.31310426,0.48252369 L5.90944418,0.382443702 C8.9476488,-0.127481234 12.0523484,-0.127481234 15.090598,0.382443702 L15.686848,0.48252369 C19.0471475,1.04649362 21.3640472,4.09285824 20.9527473,7.40626782 L20.9257473,7.6240978 C20.8282473,8.4094527 20.1472474,9 19.3391975,9 L1.66078471,9 C0.852704813,9 0.171779898,8.4094527 0.07429491,7.6240978 L0.0472499134,7.40626782 Z" id="Path"></Path>
1455
1455
  <Line x1="5.99999917" y1="9.00000262" x2="1.49999973" y2="30" id="Path" strokeLinecap="round"></Line>
1456
1456
  <Line x1="14.999998" y1="9.00000262" x2="19.4999975" y2="30" id="Path" strokeLinecap="round"></Line>
@@ -1461,7 +1461,17 @@ const BarstoolIcon = ({ color, size }:IconProps) => {
1461
1461
  )
1462
1462
  }
1463
1463
 
1464
-
1464
+ const SendIcon = ({ color, size }:IconProps) => {
1465
+ return (
1466
+ <Svg width={`${size ?? 18}`} height={`${size ?? 18}`} viewBox="0 0 34 34">
1467
+ <G id="Page-1" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd" stroke-linecap="round" strokeLinejoin="round">
1468
+ <G id="send-svgrepo-com" transform="translate(2.000000, 2.000000)" stroke={color ?? Colors.brand.midnight} strokeWidth="3">
1469
+ <Path d="M12.0015554,17.9918921 L29.5138227,0.486092927 M12.4993483,18.779141 L16.4702559,26.7211349 C17.4299277,28.6402997 17.9096742,29.5999715 18.514137,29.8572657 C19.0387313,30.0806114 19.6383698,30.0400518 20.1283009,29.7484517 C20.6927401,29.4123611 21.0393726,28.3969423 21.7328163,26.3662833 L29.2356233,4.39360612 C29.8399074,2.62426159 30.1418708,1.73958039 29.935142,1.15434322 C29.7552147,0.645222261 29.3548006,0.244736644 28.8457511,0.0648629619 C28.2604067,-0.141901541 27.3757791,0.160186901 25.6063452,0.764345917 L3.6336502,8.26724223 C1.60300908,8.96063232 0.587679593,9.30733629 0.251571137,9.87179338 C-0.0401183298,10.3616351 -0.0805349652,10.9612736 0.142774986,11.4857429 C0.400104952,12.0902057 1.35972309,12.5701309 3.27895938,13.529624 L11.220864,17.5007103 C11.5371751,17.658839 11.6953038,17.737814 11.8321701,17.8434119 C11.9538488,17.9372171 12.0628415,18.0462098 12.156468,18.1677098 C12.2622445,18.3047547 12.3412195,18.4628835 12.4993483,18.779141 Z" id="Shape"></Path>
1470
+ </G>
1471
+ </G>
1472
+ </Svg>
1473
+ )
1474
+ }
1465
1475
 
1466
1476
  export default {
1467
1477
  SearchIcon,
@@ -1475,6 +1485,7 @@ export default {
1475
1485
  FilterIcon,
1476
1486
  PieIcon,
1477
1487
  BankIcon,
1488
+ SendIcon,
1478
1489
  SquaresIcon,
1479
1490
  EditIcon,
1480
1491
  PreferencesIcon,
@@ -1,5 +1,5 @@
1
1
 
2
- import React, { forwardRef, useRef } from 'react';
2
+ import React, { forwardRef, useEffect, useRef } from 'react';
3
3
  import { TextInput as DefaultTextInput, ActivityIndicator, Text as DefaultText, View as DefaultView, TouchableOpacity, useWindowDimensions, type TouchableOpacityProps, useColorScheme } from 'react-native';
4
4
  import { useColors } from '../constants/useColors';
5
5
  import { MyTextStyles, MyViewStyles } from '../constants/styles';
@@ -219,6 +219,8 @@ let floated = float ? color_mode == 'dark' ? MyViewStyles.floatDark : MyViewStyl
219
219
 
220
220
  type BETextInputProps = {
221
221
  type?:string,
222
+ loading?:boolean,
223
+ focus_on_unload?:boolean,
222
224
  transparent?:boolean,
223
225
  onFocusPosition?: (position:{x:number, y:number, width:number, height:number}) => void
224
226
  }
@@ -229,6 +231,11 @@ export const TextInput = (props:TextInputProps) => {
229
231
  const C = useColors();
230
232
  const inputRef = useRef<DefaultTextInput>(null);
231
233
 
234
+ useEffect(() => {
235
+ if(!props.loading && props.focus_on_unload){
236
+ inputRef.current?.focus()
237
+ }
238
+ },[props.loading])
232
239
 
233
240
  const handleFocus = (e:any) => {
234
241
  if(props.onFocus){ props.onFocus(e) }
@@ -332,7 +332,6 @@ const TeamEventMarket = ({ event, league, float, style, init_expanded, hot_marke
332
332
  const { non_primary_markets, available } = useMemo(() => TeamEventMarketHelpers.sortNonPrimaryMarkets(TeamEventMarketHelpers.getNonPrimaryMarkets(event, markets), event_order_stats, latest_trades),[JSON.stringify(event_order_stats), JSON.stringify(latest_trades), markets.length, event.last_update_datetime])
333
333
 
334
334
  const tv_link = event.info?.broadcast?.link && onTVSelect ? event.info?.broadcast?.link : undefined
335
- console.log(tv_link)
336
335
  return (
337
336
  <View ref={ref} float={float} style={[style]}>
338
337
  {sponsor ?
@@ -2,17 +2,19 @@ import React from 'react';
2
2
  import { Text, View } from "../../Components/Themed";
3
3
  import type { TextTagProps } from '../../types';
4
4
  import TagRenderer from './components/TagRenderer';
5
+ import { useColors } from '../../constants/useColors';
5
6
 
6
7
  type FormattedTextProps = {
7
8
  text: string,
8
9
  tags:TextTagProps[],
10
+ text_color?:string,
9
11
  onSelectTag: (tag:TextTagProps) => void
10
12
  }
11
13
 
12
14
 
13
15
 
14
- export const FormattedText = ({ text, tags, onSelectTag }:FormattedTextProps) => {
15
- const components = formatText(text, tags, onSelectTag);
16
+ export const FormattedText = ({ text, tags, text_color, onSelectTag }:FormattedTextProps) => {
17
+ const components = formatText(text, tags, onSelectTag, text_color);
16
18
  let unique_lines = [ ...new Set(components.map(c => c.line)) ];
17
19
 
18
20
  return (
@@ -20,7 +22,7 @@ export const FormattedText = ({ text, tags, onSelectTag }:FormattedTextProps) =>
20
22
  {unique_lines.map(l => {
21
23
  let render_components = components.filter(c => c.line == l)
22
24
  return (
23
- <View transparent type='row' style={{ flexWrap:'wrap' }}>
25
+ <View key={l.toString()} transparent type='row' style={{ flexWrap:'wrap' }}>
24
26
  {render_components.map(c => c.component)}
25
27
  </View>
26
28
  )
@@ -35,7 +37,8 @@ export const splitText = (text:string) => {
35
37
 
36
38
 
37
39
 
38
- export const formatText = (text:string, included_tags:TextTagProps[], onSelectTag:(tag:TextTagProps) => void):{ line:number, component:any }[] => {
40
+ export const formatText = (text:string, included_tags:TextTagProps[], onSelectTag:(tag:TextTagProps) => void, text_color?:string):{ line:number, component:any }[] => {
41
+ const Colors = useColors();
39
42
  let raw_text = text.replace(/\\n/g, " {ln} ")
40
43
  let parsed_text:string[] = JSON.parse(raw_text as string).split(' ');
41
44
  //First - lets grab the line breaks
@@ -61,7 +64,6 @@ export const formatText = (text:string, included_tags:TextTagProps[], onSelectTa
61
64
  let tag = t.split('@');
62
65
  if(tag.length == 2){
63
66
  let curr_tags = tags[curr_line] ?? []
64
- console.log(t)
65
67
  tags[curr_line] = curr_tags.concat(t)
66
68
  }
67
69
  });
@@ -77,7 +79,7 @@ export const formatText = (text:string, included_tags:TextTagProps[], onSelectTa
77
79
  }
78
80
  return components.push({
79
81
  line: i,
80
- component: <Text theme='description'>{sl} </Text>
82
+ component: <Text theme='description' color={text_color ?? Colors.text.h1}>{sl} </Text>
81
83
  })
82
84
  })
83
85
  })
@@ -1,19 +1,28 @@
1
1
  import React, { useEffect, useMemo, useState } from 'react';
2
- import { Button, TextInput, View } from "../../Components/Themed"
2
+ import { Button, Text, TextInput, View } from "../../Components/Themed"
3
3
  import { Platform, type NativeSyntheticEvent, type TextInputSelectionChangeEventData } from 'react-native';
4
4
  import type { TextTagProps } from '../../types';
5
5
  import { SocialComponentApi, SocialComponentHelpers } from '../api';
6
6
  import TagSelector from './components/TagSelector';
7
+ import { Icons } from '../../Components';
8
+ import { useColors } from '../../constants/useColors';
7
9
 
8
10
  type FormattedTextInputProps = {
9
11
  onChangeText?: (data:{ text:string, formatted_text:any }) => void,
10
12
  submit_title?:string,
13
+ submit_loading?:boolean,
14
+ keep_on_submit?:boolean,
15
+ icon_submit?:boolean,
16
+ placeholder?:string,
17
+ onSelectInput?:() => void
18
+ submit_placement?:'inline'|'bottom',
11
19
  onFocusPosition?:(position:{ height:number, width:number, x:number, y:number }) => void
12
20
  init_data?: { formatted_text: string, text:string, tags:TextTagProps[] },
13
21
  onSubmit:(data:{ text:string, formatted_text:any }, tags:TextTagProps[]) => void
14
22
  }
15
23
 
16
- const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, onFocusPosition }:FormattedTextInputProps) => {
24
+ const FormattedTextInput = ({ submit_title, icon_submit, keep_on_submit, submit_placement, placeholder, init_data, onSelectInput, onChangeText, onSubmit, onFocusPosition }:FormattedTextInputProps) => {
25
+ const Colors = useColors();
17
26
  const [ input_state, setInputState ] = useState<{
18
27
  height:number
19
28
  }>({
@@ -21,11 +30,11 @@ const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, o
21
30
  });
22
31
  const [ data, setData ] = useState<{
23
32
  text: string,
24
- formatted_text:string
33
+ formatted_text:string,
25
34
  }>(
26
35
  {
27
36
  text: '',
28
- formatted_text: JSON.stringify('')
37
+ formatted_text: JSON.stringify(''),
29
38
  }
30
39
  );
31
40
  const [ location, setLocation ] = useState({
@@ -39,7 +48,6 @@ const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, o
39
48
  }>({ visible: false, type: 'player' })
40
49
  const [ valid_tags, setValidTags ] = useState<TextTagProps[]>([]);
41
50
 
42
-
43
51
  const { text, formatted_text } = data;
44
52
  const { height } = input_state;
45
53
  const tags = useMemo(() => SocialComponentHelpers.extractTagsFromText(text, location.start), [location.start])
@@ -59,7 +67,6 @@ const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, o
59
67
  useEffect(() => {
60
68
  if(active_tag){ return setWorkingTag(active_tag) }
61
69
  if(working_tag){
62
- console.log('Working a tag no!')
63
70
  //validateTag(working_tag)
64
71
  searchPlayer(working_tag);
65
72
  setWorkingTag(undefined)
@@ -77,16 +84,19 @@ const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, o
77
84
  const player = await SocialComponentApi.searchPlayerByUsername(tag.tag);
78
85
  if(player){
79
86
  validateTag({ ...tag, local_id: (Math.random()*10000).toFixed(), data: player, tag_type_id:player.player_id });
80
- return setActionLoading(false);
87
+ setActionLoading(false);
88
+ } else {
89
+ setTagSelector({
90
+ visible:true,
91
+ working_tag:tag,
92
+ type:'player'
93
+ });
81
94
  }
82
- setTagSelector({
83
- visible:true,
84
- working_tag:tag,
85
- type:'player'
86
- });
87
- return setActionLoading(false);
95
+ setActionLoading(false);
96
+
88
97
  }
89
98
 
99
+
90
100
  const handleSelectionChange = (ev:NativeSyntheticEvent<TextInputSelectionChangeEventData | any>) => {
91
101
  if(ev.nativeEvent.selection.start == location.start){ return }
92
102
  setLocation({
@@ -96,6 +106,7 @@ const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, o
96
106
  }
97
107
 
98
108
  const handleUpdateTag = async(tag:TextTagProps) => {
109
+ setActionLoading(true);
99
110
  const new_text = SocialComponentHelpers.replaceText(text, tag.start, tag.end, `@${tag.tag}`);
100
111
  setValidTags(valid_tags.concat({ ...tag }));
101
112
  setData({
@@ -103,12 +114,16 @@ const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, o
103
114
  text: new_text
104
115
  });
105
116
  setTagSelector({ visible: false, type: 'player' })
117
+ setTimeout(() => setActionLoading(false), 100)
106
118
  }
107
119
 
108
120
  const handleSubmit = () => {
109
121
  if(!text){ return }
110
122
  let new_tags = SocialComponentHelpers.compareTags(valid_tags, tags);
111
- onSubmit({ text, formatted_text }, new_tags)
123
+ onSubmit({ text, formatted_text }, new_tags);
124
+ if(keep_on_submit){ return }
125
+ setData({ text: '', formatted_text: JSON.stringify('') });
126
+ setValidTags([]);
112
127
  }
113
128
 
114
129
  const handleChange = (ev:any) => {
@@ -134,27 +149,56 @@ const FormattedTextInput = ({ submit_title, init_data, onChangeText, onSubmit, o
134
149
  />
135
150
  :<></>}
136
151
  </View>
137
- <View transparent style={{ flexDirection:'row', alignItems:'flex-end' }}>
138
- <TextInput
139
- value={text}
140
- editable={!action_loading}
141
- multiline
142
- onFocusPosition={onFocusPosition}
143
- style={{ flex:1, height: Platform.OS == 'web' ? height : undefined }}
144
- onContentSizeChange={(e) => {
145
- if(Platform.OS != 'web'){ return }
146
- setInputState({ ...input_state, height: e.nativeEvent.contentSize.height })
147
- }}
148
- onSelectionChange={handleSelectionChange}
149
- onChange={(ev) => handleChange(ev.nativeEvent)}
150
- />
152
+ <View style={{ flexDirection:'row', alignItems:'flex-end' }}>
153
+ {onSelectInput ?
154
+ <Button float style={{ padding:10, width:45, marginRight:5, borderRadius:8, justifyContent:'center', alignItems:'center' }} onPress={() => onSelectInput()}>
155
+ <Icons.MoreIcon size={24} color={Colors.text.h1} />
156
+ </Button>
157
+ :<></>}
158
+ <View type='input' style={{ flex:1, flexDirection:'row' }}>
159
+ <TextInput
160
+ value={text}
161
+ editable={!action_loading}
162
+ multiline
163
+ loading={action_loading}
164
+ focus_on_unload
165
+ transparent
166
+ placeholder={placeholder ?? 'Start typing here...'}
167
+ onFocusPosition={onFocusPosition}
168
+ style={{ flex:1, height: Platform.OS == 'web' ? height : undefined }}
169
+ onContentSizeChange={(e) => {
170
+ if(Platform.OS != 'web'){ return }
171
+ setInputState({ ...input_state, height: e.nativeEvent.contentSize.height })
172
+ }}
173
+ onSelectionChange={handleSelectionChange}
174
+ onChange={(ev) => handleChange(ev.nativeEvent)}
175
+ />
176
+ </View>
177
+ {submit_placement == 'inline' ?
151
178
  <Button
152
- title={submit_title ?? 'Submit'}
179
+
153
180
  type='success'
154
- style={{ opacity:text ? 1: 0.5, marginLeft:5 }}
181
+ style={{ opacity:text ? 1: 0.5, marginLeft:5}}
182
+ disabled={!text}
155
183
  onPress={() => handleSubmit()}
156
- />
184
+ >
185
+ {!icon_submit ?
186
+ <Text theme='h2' color={Colors.text.white}>{submit_title ?? 'Submit'}</Text>
187
+ :
188
+ <Icons.SendIcon size={18} color={Colors.text.white} />
189
+ }
190
+ </Button>
191
+ :<></>}
157
192
  </View>
193
+ {submit_placement == 'bottom' ?
194
+ <Button
195
+ title={submit_title ?? 'Submit'}
196
+ type='success'
197
+ style={{ opacity:text ? 1: 0.5, marginTop:5}}
198
+ disabled={!text}
199
+ onPress={() => handleSubmit()}
200
+ />
201
+ :<></>}
158
202
  </View>
159
203
  )
160
204
  }
@@ -17,22 +17,25 @@ const InputBar = ({ actions, onImageUpload } : InputBarProps) => {
17
17
  switch(data.item){
18
18
  case 'image':
19
19
  return (
20
- <ImageUploader
21
- public_id={(Math.random()*100000).toFixed()}
22
- onFinishUpload={(obj) => onImageUpload({ ...obj, url: obj.secure_url })}
23
- >
24
- <Icons.ImageIcon size={14} color={Colors.text.h1} />
25
- </ImageUploader>
20
+ <View float>
21
+ <ImageUploader
22
+ public_id={(Math.random()*100000).toFixed()}
23
+ onFinishUpload={(obj) => onImageUpload({ ...obj, url: obj.secure_url })}
24
+ >
25
+ <Icons.ImageIcon size={20} color={Colors.text.h1} />
26
+ </ImageUploader>
27
+ </View>
26
28
  )
27
29
  default: return <></>
28
30
  }
29
31
  }
30
32
 
31
33
  return (
32
- <View transparent style={{ flexDirection:'row', alignItems:'center' }}>
34
+ <View transparent style={{ flexDirection:'row', alignItems:'center', padding:2 }}>
33
35
  <FlatList
34
36
  key={'action_list'}
35
37
  data={actions}
38
+ horizontal
36
39
  keyExtractor={(item) => item}
37
40
  renderItem={renderActions}
38
41
  />