cxtms 1.9.252 → 1.9.253

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.253",
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
@@ -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
@@ -683,7 +683,7 @@ Grouped collections can render groups in multiple columns. Use a fixed `groupCol
683
683
 
684
684
  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
685
 
686
- For `datetime`, `time`, and `select-async` fields, `displayMode: readEdit` renders the current value as text until clicked and returns to text on blur.
686
+ 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
687
 
688
688
  ```yaml
689
689
  component: field-collection