@messenger-box/property-ext-browser 10.0.2-alpha.0 → 10.0.2-alpha.3
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 +8 -0
- package/lib/module.js +3 -3
- package/lib/module.js.map +1 -1
- package/lib/slot-fill/message-alert-fill.js +2 -2
- package/lib/slot-fill/message-alert-fill.js.map +1 -1
- package/lib/slot-fill/message-card-fill.js +2 -2
- package/lib/slot-fill/message-card-fill.js.map +1 -1
- package/package.json +4 -4
- package/src/module.ts +3 -3
- package/src/slot-fill/message-alert-fill.tsx +2 -2
- package/src/slot-fill/message-card-fill.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [10.0.2-alpha.3](https://github.com/CDEBase/messenger-box/compare/v10.0.2-alpha.2...v10.0.2-alpha.3) (2025-02-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/property-ext-browser
|
|
9
|
+
|
|
10
|
+
## [10.0.2-alpha.2](https://github.com/CDEBase/messenger-box/compare/v10.0.2-alpha.1...v10.0.2-alpha.2) (2025-02-10)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @messenger-box/property-ext-browser
|
|
13
|
+
|
|
6
14
|
## [10.0.2-alpha.0](https://github.com/cdmbase/messenger-box/compare/v9.0.4-alpha.23...v10.0.2-alpha.0) (2025-02-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @messenger-box/property-ext-browser
|
package/lib/module.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {Feature}from'@common-stack/client-react';import {
|
|
1
|
+
import {Feature}from'@common-stack/client-react';import {PostTypeEnum}from'common';import {MessageAlertFill}from'./slot-fill/message-alert-fill.js';import {MessageCardFill}from'./slot-fill/message-card-fill.js';const feature = new Feature({
|
|
2
2
|
componentFillPlugins: [{
|
|
3
|
-
name:
|
|
3
|
+
name: PostTypeEnum.Alert.toLowerCase(),
|
|
4
4
|
render: MessageAlertFill
|
|
5
5
|
}, {
|
|
6
|
-
name:
|
|
6
|
+
name: PostTypeEnum.Card.toLowerCase(),
|
|
7
7
|
render: MessageCardFill
|
|
8
8
|
}]
|
|
9
9
|
});export{feature};//# sourceMappingURL=module.js.map
|
package/lib/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../src/module.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../src/module.ts"],"sourcesContent":[null],"names":[],"mappings":"mNAIa,MAAA,OAAO,GAAG,IAAI,OAAO,CAAC;AAC/B,EAAA,oBAAA,EAAoB,CAAE;AAClB,IAAA,IAAA,EAAA,YAAA,CAAA,KAAA,CAAA,WAAA,EAAA;AACI,IAAA,MAAA,EAAA;AACA,GAAA,EAAA;AACH,IAAA,IAAA,EAAA,YAAA,CAAA,IAAA,CAAA,WAAA,EAAA;AACD,IAAA,MAAA,EAAA;AACI,GAAA;AACA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from'react';import {Fill}from'@common-stack/components-pro';import {
|
|
1
|
+
import React from'react';import {Fill}from'@common-stack/components-pro';import {PostTypeEnum}from'common';import'lodash-es';import'html-react-parser';import'@chakra-ui/react';import'@chakra-ui/icons';import {MessageAlert}from'../components/InboxMessage/MessageWidgets/MessageAlert.js';const MessageAlertFill = () => {
|
|
2
2
|
return React.createElement(Fill, {
|
|
3
|
-
name:
|
|
3
|
+
name: PostTypeEnum.Alert.toLowerCase()
|
|
4
4
|
}, props => {
|
|
5
5
|
if (props.active) {
|
|
6
6
|
return React.createElement(MessageAlert, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-alert-fill.js","sources":["../../src/slot-fill/message-alert-fill.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message-alert-fill.js","sources":["../../src/slot-fill/message-alert-fill.tsx"],"sourcesContent":[null],"names":[],"mappings":"8RAMO,MAAM,gBAAgB,GAAG,MAAK;AACjC,EAAA,OAAA,KACK,CAAA,aAAA,CAAA,IAAA,EAAA;AAEO,IAAA,IAAA,EAAA,YAAgB,CAAA,KAAG,CAAA,WAAA;AACf,GAAA,EAAA,KAAA,IAAA;QACJ,KAAC,CAAA,MAAA,EAAA;AACD,MAAA,OAAA,MAAW,aAAC,CAAA,YAAA,EAAA;QAGtB,GAAA;AACN,OAAE,CAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from'react';import {Fill}from'@common-stack/components-pro';import {
|
|
1
|
+
import React from'react';import {Fill}from'@common-stack/components-pro';import {PostTypeEnum}from'common';import {MessageCard}from'../components/InboxMessage/MessageWidgets/MessageCard.js';import'@chakra-ui/icons';import'html-react-parser';import'@chakra-ui/react';const MessageCardFill = () => {
|
|
2
2
|
return React.createElement(Fill, {
|
|
3
|
-
name:
|
|
3
|
+
name: PostTypeEnum.Card.toLowerCase()
|
|
4
4
|
}, props => {
|
|
5
5
|
if (props.active) {
|
|
6
6
|
return React.createElement(MessageCard, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-card-fill.js","sources":["../../src/slot-fill/message-card-fill.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message-card-fill.js","sources":["../../src/slot-fill/message-card-fill.tsx"],"sourcesContent":[null],"names":[],"mappings":"0QAMO,MAAM,eAAe,GAAG,MAAK;AAChC,EAAA,OAAA,KACK,CAAA,aAAA,CAAA,IAAA,EAAA;AAEO,IAAA,IAAA,EAAA,YAAgB,CAAA,IAAG,CAAA,WAAA;AACf,GAAA,EAAA,KAAA,IAAA;QACJ,KAAC,CAAA,MAAA,EAAA;AACD,MAAA,OAAA,MAAW,aAAC,CAAA,WAAA,EAAA;QAGtB,GAAA;AACN,OAAE,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@messenger-box/property-ext-browser",
|
|
3
|
-
"version": "10.0.2-alpha.
|
|
3
|
+
"version": "10.0.2-alpha.3",
|
|
4
4
|
"description": "Extention to Messenger to support property on browser",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"watch": "npm run build:lib:watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@messenger-box/chakra-ui-inbox": "10.0.2-alpha.
|
|
25
|
-
"@messenger-box/core": "10.0.2-alpha.
|
|
24
|
+
"@messenger-box/chakra-ui-inbox": "10.0.2-alpha.3",
|
|
25
|
+
"@messenger-box/core": "10.0.2-alpha.3",
|
|
26
26
|
"@messenger-box/property-ext-core": "9.0.4-alpha.22",
|
|
27
27
|
"date-fns": "^2.28.0",
|
|
28
28
|
"date-fns-tz": "^1.3.3",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"typescript": {
|
|
56
56
|
"definition": "lib/index.d.ts"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "7a74f6c42293a66a3f8406aac63d80a9c03fed6d"
|
|
59
59
|
}
|
package/src/module.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Feature } from '@common-stack/client-react';
|
|
2
|
-
import {
|
|
2
|
+
import { PostTypeEnum } from 'common';
|
|
3
3
|
import { MessageAlertFill, MessageCardFill } from './slot-fill';
|
|
4
4
|
|
|
5
5
|
export const feature = new Feature({
|
|
6
6
|
componentFillPlugins: [
|
|
7
7
|
{
|
|
8
|
-
name:
|
|
8
|
+
name: PostTypeEnum.Alert.toLowerCase(),
|
|
9
9
|
render: MessageAlertFill,
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
name:
|
|
12
|
+
name: PostTypeEnum.Card.toLowerCase(),
|
|
13
13
|
render: MessageCardFill,
|
|
14
14
|
},
|
|
15
15
|
],
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Fill } from '@common-stack/components-pro';
|
|
3
|
-
import {
|
|
3
|
+
import { PostTypeEnum } from 'common';
|
|
4
4
|
import { MessageAlert } from '../components';
|
|
5
5
|
import { IPropertyMessageWidgetProps } from '../components/InboxMessage/MessageWidgets/MessageAlert';
|
|
6
6
|
|
|
7
7
|
export const MessageAlertFill = () => {
|
|
8
8
|
return (
|
|
9
|
-
<Fill name={
|
|
9
|
+
<Fill name={PostTypeEnum.Alert.toLowerCase()}>
|
|
10
10
|
{(props: IPropertyMessageWidgetProps & { active: boolean }) => {
|
|
11
11
|
if (props.active) {
|
|
12
12
|
return <MessageAlert {...props} />;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Fill } from '@common-stack/components-pro';
|
|
3
|
-
import {
|
|
3
|
+
import { PostTypeEnum } from 'common';
|
|
4
4
|
import { MessageCard } from '../components';
|
|
5
5
|
import { IPropertyCardProps } from '../components/InboxMessage/MessageWidgets/MessageCard';
|
|
6
6
|
|
|
7
7
|
export const MessageCardFill = () => {
|
|
8
8
|
return (
|
|
9
|
-
<Fill name={
|
|
9
|
+
<Fill name={PostTypeEnum.Card.toLowerCase()}>
|
|
10
10
|
{(props: IPropertyCardProps & { active: boolean }) => {
|
|
11
11
|
if (props.active) {
|
|
12
12
|
return <MessageCard {...props} />;
|