cxtms 1.9.252 → 1.9.254

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cxtms",
3
- "version": "1.9.252",
3
+ "version": "1.9.254",
4
4
  "description": "Schema validation package for CXTMS YAML modules",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -4,7 +4,7 @@
4
4
  "description": "Schema for datetime input field type",
5
5
  "type": "object",
6
6
  "properties": {
7
- "displayMode": { "type": "string", "enum": ["readEdit"], "description": "Show the formatted value as text until clicked, then return to read display on blur." },
7
+ "displayMode": { "type": "string", "enum": ["readEdit"], "description": "Show the formatted value as text until clicked; remain editable while the calendar is open and return to read display when it closes." },
8
8
  "type": { "type": "string", "const": "datetime" },
9
9
  "label": {
10
10
  "oneOf": [{ "type": "string" }, { "$ref": "../schemas.json#/definitions/localized" }],
@@ -4740,9 +4740,10 @@ type contact {
4740
4740
  @cost(weight: "10")
4741
4741
  getContactAttachments(filter: String, orderBy: String): [AttachmentGqlDto]
4742
4742
  @cost(weight: "10")
4743
- getCustomValuesAttachment(filter: String): AttachmentGqlDto
4744
- @cost(weight: "10")
4745
- availableCredit: [AvailableCreditByCurrency] @cost(weight: "10")
4743
+ getCustomValuesAttachment(filter: String): AttachmentGqlDto
4744
+ @cost(weight: "10")
4745
+ getEquipment(idPropertyName: String!): equipment @cost(weight: "10")
4746
+ availableCredit: [AvailableCreditByCurrency] @cost(weight: "10")
4746
4747
  contactId: Int!
4747
4748
  accountNumber: String
4748
4749
  contactFirstName: String
@@ -11,9 +11,30 @@
11
11
  - PackageType
12
12
  - NoteThread
13
13
  - Note
14
+ - OrganizationConnection
14
15
 
15
16
  EntityField, Tag, Attachment, Division, EquipmentType, Equipment, EquipmentStatus, PackageType, Note/NoteThread.
16
17
 
18
+ ## OrganizationConnection
19
+
20
+ Application-defined link between two regular organizations. The owner organization is distinct from the two endpoints and is the tenant in which entity workflows run.
21
+
22
+ | Field | Type | Notes |
23
+ |-------|------|-------|
24
+ | `organizationConnectionId` | `int` | PK |
25
+ | `organizationId` | `int` | Owner/workflow tenant |
26
+ | `sourceOrganizationId` | `int` | First endpoint; must be a regular organization |
27
+ | `targetOrganizationId` | `int` | Second endpoint; must be a different regular organization |
28
+ | `connectionType` | `string` | Required, application-defined, max 50 characters |
29
+ | `isEnabled` | `bool` | Defaults to true |
30
+ | `ediRoutingId` | `string?` | Reserved EDI routing ID, max 15 characters |
31
+
32
+ **GraphQL:** `organizationConnections(organizationId, filter, search, orderBy)` returns connections where the requested organization is either endpoint. System-admin-only mutations are `linkOrganizations(organizationId, sourceOrganizationId, targetOrganizationId, connectionType)` and `unlinkOrganizations(organizationConnectionId)`. A pair/type combination is unique regardless of endpoint order.
33
+
34
+ **Entity workflows:** `OrganizationConnection` supports `Added`, `Modified`, and `Deleted` at `Before` and `After` positions in the owner organization. Use `Before Deleted` to veto unlinking when application rules require it.
35
+
36
+ ---
37
+
17
38
  ## EntityField
18
39
 
19
40
  App-module field metadata used by grids, forms, filters, and entity extensions.
@@ -82,6 +82,14 @@ props:
82
82
 
83
83
  Dynamic entity fields use the same rule through `fieldDefinition.props.allowFilter`.
84
84
 
85
+ View filter `values` are template-aware. They are resolved from the DataGrid's current local variables and store when the view is applied, so a default filter can follow runtime state instead of sending the template literally:
86
+
87
+ ```yaml
88
+ filters:
89
+ - name: equipmentId
90
+ values: "{{ selectedEquipmentId }}"
91
+ ```
92
+
85
93
  ---
86
94
 
87
95
  ## dataGrid sticky column state
@@ -359,6 +359,8 @@ Polymorphic form field — renders different input types based on `type` prop.
359
359
 
360
360
  Password fields receive a stable input id from the field name unless an explicit `id` is provided. This keeps multiple password fields in the same form isolated for browser autocomplete. Use `autoComplete` when a form needs a specific password-manager hint.
361
361
 
362
+ For `type: select`, the web renderer forwards the parsed `disabled` value to the underlying select control, so both booleans and template expressions prevent opening or changing the selection.
363
+
362
364
  **Field Types:**
363
365
  | Type | Description |
364
366
  |------|-------------|
@@ -683,7 +685,7 @@ Grouped collections can render groups in multiple columns. Use a fixed `groupCol
683
685
 
684
686
  Accordion collections support `itemHeaderFields` for interactive fields that remain visible while a row is collapsed. The header fields share `item`, `index`, `collection`, and field-name prefixing with `itemTemplate`; wrap them in a `layout` for grid sizing. Use `rowVariant: flat` and `nestedVariant: rail` or `none` to reduce card chrome in nested collections.
685
687
 
686
- For `datetime`, `time`, and `select-async` fields, `displayMode: readEdit` renders the current value as text until clicked and returns to text on blur.
688
+ For `datetime`, `time`, and `select-async` fields, `displayMode: readEdit` renders the current value as text until clicked. Date/time fields stay in edit mode while their calendar popup is open and return to text when it closes; other fields return on blur.
687
689
 
688
690
  ```yaml
689
691
  component: field-collection