@nyaruka/temba-components 0.121.4 → 0.121.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/CHANGELOG.md +12 -0
- package/dist/temba-components.js +3 -2
- package/dist/temba-components.js.map +1 -1
- package/out-tsc/src/flow/Editor.js +3 -2
- package/out-tsc/src/flow/Editor.js.map +1 -1
- package/out-tsc/src/list/NotificationList.js +1 -1
- package/out-tsc/src/list/NotificationList.js.map +1 -1
- package/package.json +1 -1
- package/src/flow/Editor.ts +3 -2
- package/src/list/NotificationList.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [v0.121.6](https://github.com/nyaruka/temba-components/compare/v0.121.5...v0.121.6)
|
|
8
|
+
|
|
9
|
+
- Use read url instead of target_url for notifications [`#498`](https://github.com/nyaruka/temba-components/pull/498)
|
|
10
|
+
|
|
11
|
+
#### [v0.121.5](https://github.com/nyaruka/temba-components/compare/v0.121.4...v0.121.5)
|
|
12
|
+
|
|
13
|
+
> 7 May 2025
|
|
14
|
+
|
|
15
|
+
- Add min width for editor [`92c970e`](https://github.com/nyaruka/temba-components/commit/92c970edf1569bb80cc7ff6b8ffc9f9209293002)
|
|
16
|
+
|
|
7
17
|
#### [v0.121.4](https://github.com/nyaruka/temba-components/compare/v0.121.2...v0.121.4)
|
|
8
18
|
|
|
19
|
+
> 7 May 2025
|
|
20
|
+
|
|
9
21
|
- Start of component based flow editor [`#497`](https://github.com/nyaruka/temba-components/pull/497)
|
|
10
22
|
- Add decorator for zustand based properties [`495832c`](https://github.com/nyaruka/temba-components/commit/495832c88635b979970e772fe840e1d744cc32d0)
|
|
11
23
|
- Add in jsplumb [`0b3e7c3`](https://github.com/nyaruka/temba-components/commit/0b3e7c36280d9d92e2c71f0c635f512e54df651e)
|
package/dist/temba-components.js
CHANGED
|
@@ -8059,6 +8059,7 @@ const{I:cu}=at,hu=()=>document.createComment(""),uu=(t,e,i)=>{const n=t._$AA.par
|
|
|
8059
8059
|
box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.05);
|
|
8060
8060
|
border-top: 1px solid #e0e0e0;
|
|
8061
8061
|
display: inline-block;
|
|
8062
|
+
width: 100%;
|
|
8062
8063
|
}
|
|
8063
8064
|
|
|
8064
8065
|
#canvas {
|
|
@@ -8134,7 +8135,7 @@ const{I:cu}=at,hu=()=>document.createComment(""),uu=(t,e,i)=>{const n=t._$AA.par
|
|
|
8134
8135
|
<div id="editor">
|
|
8135
8136
|
<div
|
|
8136
8137
|
id="grid"
|
|
8137
|
-
style="width:${this.canvasSize.width}px; height:${this.canvasSize.height}px"
|
|
8138
|
+
style="min-width:100%;width:${this.canvasSize.width}px; height:${this.canvasSize.height}px"
|
|
8138
8139
|
>
|
|
8139
8140
|
<div id="canvas">
|
|
8140
8141
|
${this.definition?this.definition.nodes.map((t=>G`<temba-flow-node
|
|
@@ -8614,7 +8615,7 @@ const{I:cu}=at,hu=()=>document.createComment(""),uu=(t,e,i)=>{const n=t._$AA.par
|
|
|
8614
8615
|
.title {
|
|
8615
8616
|
font-weight: normal;
|
|
8616
8617
|
}
|
|
8617
|
-
`}constructor(){super(),this.reverseRefresh=!1,this.internalFocusDisabled=!0,this.valueKey="
|
|
8618
|
+
`}constructor(){super(),this.reverseRefresh=!1,this.internalFocusDisabled=!0,this.valueKey="url",this.renderOption=t=>{let e=null,i=null;return"incident:started"===t.type?"org:flagged"===t.incident.type?(e=ve.incidents,i="Your workspace was flagged, please contact support for assistance."):"org:suspended"===t.incident.type?(e=ve.incidents,i="Your workspace was suspended, please contact support for assistance."):"channel:disconnected"===t.incident.type?(e=ve.channel,i="Your android channel is not connected"):"channel:templates_failed"===t.incident.type?(e=ve.channel,i="Your WhatsApp channel templates failed syncing"):"webhooks:unhealthy"===t.incident.type&&(e=ve.webhook,i="Your webhook calls are not working properly."):"import:finished"===t.type?"contact"===t.import.type&&(e=ve.contact_import,i=`Imported ${t.import.num_records.toLocaleString()} contacts`):"export:finished"===t.type?"contact"===t.export.type?(e=ve.contact_export,i=`Exported ${t.export.num_records.toLocaleString()} contacts`):"message"===t.export.type?(e=ve.message_export,i=`Exported ${t.export.num_records.toLocaleString()} messages`):"results"===t.export.type?(e=ve.results_export,i="Exported flow results"):"ticket"===t.export.type?(e=ve.tickets_export,i=`Exported ${t.export.num_records.toLocaleString()} tickets`):"definition"===t.export.type&&(e=ve.definitions_export,i="Exported definitions"):"tickets:activity"===t.type?(e=ve.tickets,i="New ticket activity"):"tickets:opened"===t.type&&(e=ve.tickets,i="New unassigned ticket"),G`<div
|
|
8618
8619
|
style="color:${"#333"};display:flex;align-items:flex-start;flex-direction:row;font-weight:${t.is_seen?400:500}"
|
|
8619
8620
|
>
|
|
8620
8621
|
${e?G`<div style="margin-right:0.6em">
|