Total.js Platform
Total.js Platform

Total.js Platform news and tutorials

October report 2024

October report 2024

Total.js framework 5

  • added Array.group(key) method
  • fixed HTMLParser by Marek Mraz
  • added a new alias String.parseElements() to String.parseComponent()
  • added a new method CMS.run(widget_html)
  • added a support for middleware for actions
  • added a new method U.paginate(page, pages, [max])
  • improved user-agent parser (added support for new headers Sec-CH-UA)
  • improved Number.pluralize() method
  • reduced DNS cache flush time to 3 minutes
  • added $.address property with the absolute URL address
  • added $.ctrl(ctrl_instance) method
  • extended Mail.from(email, [name]) method by adding name argument by Marek Mráz
  • added CONF.mail_from_name {String} option
  • improved $.query parser
  • improved Total.run() method
  • added a new method NEWCOMPONENT(html, [callback])
    • it compiles a FlowStream component to a method

UI components

  • added a new component: j-ClBind
  • added a new component j-Pictures
  • added a new component j-Attachments
  • added a new component j-EmptyInline
  • fixed shoppingcart.sum event in the j-ShoppingCart component
  • fixed keeporiginal option in j-ImageUploader
  • fixed keeporiginal option in j-FileUploader
  • added column raw option in j-DataGrid
  • added column pair option in j-DataGrid
  • added config.html option for j-iFrameViewer
  • optimized j-Crop for jComponent v20
  • added support for <SCR> elements in j-Importer
  • added a new middleware config option in j-HashChange
  • fixed radio button backround in j-Input
  • added a new helper Tangular-AutoFormat
  • fixed states in j-Rating
  • fixed j-Properties2 for jComponent v20
  • fixed loading data for j-Selection
  • added better handling plugins in j-Page
  • added better handling plugins in j-Part
  • added better handling plugins in j-Importer
  • the positioning of j-Icons at the bottom of the window has been improved
  • improved autosource option in j-Input
  • added a new config option hidewhenempty o j-Table
  • fixed rendering map in j-Leaflet
  • added tabmenu to IntranetCSS
  • fixed badges CSS in j-InlineDatePicker
  • fixed badges CSS in j-DatePicker

jComponent

v20:

  • added Array.group(key) method
  • added component.setPath(path) method
  • added $(element).scrollbar() for finding the closest custom scrollbar instance
  • added a new attribute source="URL address" for ui-component element
  • extended component.bind() by adding notify flag (it notifies all components within the path about the component state)
  • fixed auto pairing values in j-DataGrid
  • fixed obtaining plugin path in the form ?1/something or ?1.something
  • fixed plugin.set() method with the undefined value
  • fixed appending array in the plugin.push() method
  • added TAPI alternative:
    • DEF.pipe = '/total-api-endpoint/'
    • plugin.pipe(name, [data], [path|callback])
    • PIPE(name, [data], [path|callback])
  • improved Thelpers.empty(value, [def], [raw]) by adding raw argument

v19:

  • added Array.group(key) method
  • improved Thelpers.empty(value, [def], [raw]) by adding raw argument

Flow

  • updated Total.js Icons

Flow components

Flow designer

  • updated Total.js Icons

Flow designer offline

  • updated Total.js Icons

Documentation app

  • fixed inline markdown script evaluating

OpenPlatform

  • fixed opening external tabs in iPhone
  • added SSO for 3rd party apps https://yourplatform.com/?redirect=https://yourapp.com
  • added new config option newtab

OpenPlatform enterprise plugins:

  • fixed UI + opening external tabs in iPhone
  • added SSO for 3rd party apps https://yourplatform.com/?redirect=https://yourapp.com

OpenFiles

  • fixed checkbox Allow update files

OpenReports

  • fixed parsing EU dates in variables

Total.js icons

New icons

  • added new icons

Code

  • updated jComponent library
  • added Preview template functionality for Total.js template files
  • updated HTML templates
  • updated Total.js Icons
  • updated keywords for highlighting