From: Jo-Philipp Wich Date: Thu, 6 Aug 2020 15:58:47 +0000 (+0200) Subject: docs: update js api docs X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=683bc54fd9bfc22c900dc0cdfcd660d61da253ef;p=project%2Fluci.git docs: update js api docs Signed-off-by: Jo-Philipp Wich --- diff --git a/docs/jsapi/LuCI.baseclass.html b/docs/jsapi/LuCI.baseclass.html index b40031dffc..cb83d23b6a 100644 --- a/docs/jsapi/LuCI.baseclass.html +++ b/docs/jsapi/LuCI.baseclass.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -4558,7 +4676,7 @@ and the values extracted from the args array beginning with
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.dom.html b/docs/jsapi/LuCI.dom.html index 6590359784..d0a69d1c23 100644 --- a/docs/jsapi/LuCI.dom.html +++ b/docs/jsapi/LuCI.dom.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -6116,7 +6234,7 @@ ignored, else not.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.AbstractElement.html b/docs/jsapi/LuCI.form.AbstractElement.html index 1de36bab2f..6e343d1fee 100644 --- a/docs/jsapi/LuCI.form.AbstractElement.html +++ b/docs/jsapi/LuCI.form.AbstractElement.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -4105,7 +4223,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.AbstractSection.html b/docs/jsapi/LuCI.form.AbstractSection.html index 455e36b2f3..0d4d49f509 100644 --- a/docs/jsapi/LuCI.form.AbstractSection.html +++ b/docs/jsapi/LuCI.form.AbstractSection.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3346,7 +3464,7 @@ form options and for handling tabs to segment child options.

    @@ -3607,7 +3725,7 @@ this property will hold a reference to the parent option instance.

    @@ -3722,6 +3840,202 @@ The sections will be rendered in the same order as the returned array. + + + + +
    +
    +

    + + cfgvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option configuration values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the configuration values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the configuration value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +configuration values or just a single configuration value, depending +on the amount of passed arguments.
    + + + +
    @@ -3735,7 +4049,7 @@ The sections will be rendered in the same order as the returned array. @@ -3874,6 +4188,560 @@ custom implementations.

    + + + + +
    +
    +

    + + formvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option widget input values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the widget input values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the widget input value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + getOption(option){null|LuCI.form.AbstractValue|Object.<string, LuCI.form.AbstractValue>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option objects.

    +

    This function is sensitive to the amount of arguments passed to it; +if no option name is specified, all options within this section are +returned as dictionary.

    +

    If an option name is supplied, this function returns the matching +LuCI.form.AbstractValue instance only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    option + + +string + + + + + + + optional + + + + + +

    The name of the option object to obtain

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.form.AbstractValue + | + + Object.<string, LuCI.form.AbstractValue> + + + Returns either a dictionary of option names and their corresponding +option instance objects or just a single object instance value, +depending on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + getUIElement(section_id, option){null|LuCI.ui.AbstractElement|Object.<string, (null|LuCI.ui.AbstractElement)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option LuCI.ui widget instances.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the LuCI.ui widget instances of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the LuCI.ui widget instance value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.ui.AbstractElement + | + + Object.<string, (null|LuCI.ui.AbstractElement)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + +
    @@ -3887,7 +4755,7 @@ custom implementations.

    @@ -3991,7 +4859,7 @@ elements load functions rejected with an error. @@ -4206,7 +5074,7 @@ descendent of AbstractValue.

    @@ -4567,7 +5435,7 @@ the form element's markup, including the markup of any child elements. @@ -4784,7 +5652,7 @@ contents. If omitted, no description will be rendered.

    @@ -5254,7 +6122,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.AbstractValue.html b/docs/jsapi/LuCI.form.AbstractValue.html index 68e3cf7548..ec33a53399 100644 --- a/docs/jsapi/LuCI.form.AbstractValue.html +++ b/docs/jsapi/LuCI.form.AbstractValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3346,7 +3464,7 @@ validation constraints that should be applied to entered values.

    @@ -3618,6 +3736,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + + + + + + + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4181,7 +4352,7 @@ table section elements.

    @@ -4357,7 +4528,7 @@ within the given specific section.

    @@ -4528,12 +4699,12 @@ different way.

    - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp)

    @@ -4591,6 +4762,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -4651,7 +4826,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -4669,7 +4844,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -4745,7 +4920,7 @@ argument, this parameter is ignored.

    @@ -4920,7 +5095,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5096,7 +5271,7 @@ option implementation does not use LuCI.ui widgets. @@ -5244,7 +5419,7 @@ returns false. @@ -5390,7 +5565,7 @@ returns false. @@ -5571,7 +5746,7 @@ so it may return promises if overridden by user code. @@ -5720,7 +5895,7 @@ validation constraints. @@ -6098,7 +6273,7 @@ the form element's markup, including the markup of any child elements. @@ -6471,7 +6646,7 @@ was neither a string nor a function. @@ -6647,7 +6822,7 @@ as error message to the user. @@ -6806,7 +6981,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.ButtonValue.html b/docs/jsapi/LuCI.form.ButtonValue.html index b4124f94d0..c3e7b5335c 100644 --- a/docs/jsapi/LuCI.form.ButtonValue.html +++ b/docs/jsapi/LuCI.form.ButtonValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ renders the underlying UCI option or default value as readonly text.

    @@ -3954,6 +4072,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + +
    + + + +
    + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4616,7 +4787,7 @@ table section elements.

    @@ -4794,7 +4965,7 @@ within the given specific section.

    @@ -4967,12 +5138,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -5030,6 +5201,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -5090,7 +5265,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -5108,7 +5283,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -5186,7 +5361,7 @@ argument, this parameter is ignored.

    @@ -5363,7 +5538,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5541,7 +5716,7 @@ option implementation does not use LuCI.ui widgets. @@ -5691,7 +5866,7 @@ returns false. @@ -5839,7 +6014,7 @@ returns false. @@ -6022,7 +6197,7 @@ so it may return promises if overridden by user code. @@ -6173,7 +6348,7 @@ validation constraints. @@ -6445,7 +6620,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6820,7 +6995,7 @@ was neither a string nor a function. @@ -6968,7 +7143,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -7127,7 +7302,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.DummyValue.html b/docs/jsapi/LuCI.form.DummyValue.html index cfcbefddc6..e2df4f55f3 100644 --- a/docs/jsapi/LuCI.form.DummyValue.html +++ b/docs/jsapi/LuCI.form.DummyValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ renders the underlying UCI option or default value as readonly text.

    @@ -3891,6 +4009,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + +
    + + + +
    + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4553,7 +4724,7 @@ table section elements.

    @@ -4731,7 +4902,7 @@ within the given specific section.

    @@ -4904,12 +5075,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4967,6 +5138,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -5027,7 +5202,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -5045,7 +5220,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -5123,7 +5298,7 @@ argument, this parameter is ignored.

    @@ -5300,7 +5475,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5478,7 +5653,7 @@ option implementation does not use LuCI.ui widgets. @@ -5628,7 +5803,7 @@ returns false. @@ -5776,7 +5951,7 @@ returns false. @@ -5959,7 +6134,7 @@ so it may return promises if overridden by user code. @@ -6110,7 +6285,7 @@ validation constraints. @@ -6382,7 +6557,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6757,7 +6932,7 @@ was neither a string nor a function. @@ -6905,7 +7080,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -7064,7 +7239,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.DynamicList.html b/docs/jsapi/LuCI.form.DynamicList.html index 7af5a90069..2cb34a0c6b 100644 --- a/docs/jsapi/LuCI.form.DynamicList.html +++ b/docs/jsapi/LuCI.form.DynamicList.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ predefined choices. It builds upon the @@ -3791,6 +3909,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + +
    + + + +
    + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4453,7 +4624,7 @@ table section elements.

    @@ -4631,7 +4802,7 @@ within the given specific section.

    @@ -4804,12 +4975,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4867,6 +5038,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -4927,7 +5102,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -4945,7 +5120,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -5023,7 +5198,7 @@ argument, this parameter is ignored.

    @@ -5200,7 +5375,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5378,7 +5553,7 @@ option implementation does not use LuCI.ui widgets. @@ -5528,7 +5703,7 @@ returns false. @@ -5676,7 +5851,7 @@ returns false. @@ -5859,7 +6034,7 @@ so it may return promises if overridden by user code. @@ -6010,7 +6185,7 @@ validation constraints. @@ -6282,7 +6457,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6657,7 +6832,7 @@ was neither a string nor a function. @@ -6805,7 +6980,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -6964,7 +7139,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.FileUpload.html b/docs/jsapi/LuCI.form.FileUpload.html index 24d7362481..182ded7dfe 100644 --- a/docs/jsapi/LuCI.form.FileUpload.html +++ b/docs/jsapi/LuCI.form.FileUpload.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ offers the ability to browse, upload and select remote files.

    @@ -4002,6 +4120,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + +
    + + + +
    + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4664,7 +4835,7 @@ table section elements.

    @@ -4842,7 +5013,7 @@ within the given specific section.

    @@ -5015,12 +5186,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -5078,6 +5249,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -5138,7 +5313,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -5156,7 +5331,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -5234,7 +5409,7 @@ argument, this parameter is ignored.

    @@ -5411,7 +5586,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5589,7 +5764,7 @@ option implementation does not use LuCI.ui widgets. @@ -5739,7 +5914,7 @@ returns false. @@ -5887,7 +6062,7 @@ returns false. @@ -6070,7 +6245,7 @@ so it may return promises if overridden by user code. @@ -6221,7 +6396,7 @@ validation constraints. @@ -6493,7 +6668,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6868,7 +7043,7 @@ was neither a string nor a function. @@ -7016,7 +7191,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -7175,7 +7350,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.FlagValue.html b/docs/jsapi/LuCI.form.FlagValue.html index 28736b2108..a1a1c68955 100644 --- a/docs/jsapi/LuCI.form.FlagValue.html +++ b/docs/jsapi/LuCI.form.FlagValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ implement a simple checkbox element.

    @@ -3886,6 +4004,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + +
    + + + +
    + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4548,7 +4719,7 @@ table section elements.

    @@ -4726,7 +4897,7 @@ within the given specific section.

    @@ -4899,12 +5070,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4962,6 +5133,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -5022,7 +5197,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -5040,7 +5215,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -5118,7 +5293,7 @@ argument, this parameter is ignored.

    @@ -5294,7 +5469,7 @@ the checked state.

    @@ -5472,7 +5647,7 @@ option implementation does not use LuCI.ui widgets. @@ -5622,7 +5797,7 @@ returns false. @@ -5770,7 +5945,7 @@ returns false. @@ -5953,7 +6128,7 @@ so it may return promises if overridden by user code. @@ -6104,7 +6279,7 @@ validation constraints. @@ -6376,7 +6551,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6746,7 +6921,7 @@ was neither a string nor a function. @@ -6894,7 +7069,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -7053,7 +7228,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.GridSection.html b/docs/jsapi/LuCI.form.GridSection.html index 9ee68de3c3..664658ae11 100644 --- a/docs/jsapi/LuCI.form.GridSection.html +++ b/docs/jsapi/LuCI.form.GridSection.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3356,7 +3474,7 @@ documentation for details.

    @@ -3887,6 +4005,56 @@ UCI configuration section.

    +
    + + + +
    + + + +
    +
    +

    nodescriptionsboolean

    +
    + + +
    +
    + +
    +

    If set to true, the header row with the options descriptions will +not be displayed. By default, descriptions row is automatically displayed +when at least one option has a description.

    +
    + + + +
    + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + + + + +
    @@ -4217,7 +4385,7 @@ The default is null, means inheriting from the parent form.

    @@ -4529,16 +4697,16 @@ is shown.
    -

    +

    - inherited + inherited - abstractfilter(section_id){boolean} + cfgvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>}

    @@ -4549,13 +4717,12 @@ is shown.
    -

    Filter UCI section IDs to render.

    -

    The filter function is invoked for each UCI section ID of a given type -and controls whether the given UCI section is rendered or ignored by -the form section element.

    -

    The default implementation always returns true. User code or -classes extending AbstractSection may overwrite this function with -custom implementations.

    +

    Query underlying option configuration values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the configuration values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the configuration value of the specified option only.

    @@ -4602,7 +4769,42 @@ custom implementations.

    -

    The UCI section ID to test.

    + + + + + +

    The configuration section ID

    + + + + + + + option + + + + + +string + + + + + + + + + + + optional + + + + + +

    The name of the option to query

    @@ -4663,12 +4865,736 @@ custom implementations.

    - boolean + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> - Returns true when the given UCI section ID should be handled and -false when it should be ignored. + Returns either a dictionary of option names and their corresponding +configuration values or just a single configuration value, depending +on the amount of passed arguments. + + + + + + + + + + + + +
    +
    +

    + + inherited + + abstractfilter(section_id){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Filter UCI section IDs to render.

    +

    The filter function is invoked for each UCI section ID of a given type +and controls whether the given UCI section is rendered or ignored by +the form section element.

    +

    The default implementation always returns true. User code or +classes extending AbstractSection may overwrite this function with +custom implementations.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + +

    The UCI section ID to test.

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true when the given UCI section ID should be handled and +false when it should be ignored.
    + + + + +
    + + + +
    +
    +

    + + inherited + + formvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option widget input values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the widget input values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the widget input value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getOption(option){null|LuCI.form.AbstractValue|Object.<string, LuCI.form.AbstractValue>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option objects.

    +

    This function is sensitive to the amount of arguments passed to it; +if no option name is specified, all options within this section are +returned as dictionary.

    +

    If an option name is supplied, this function returns the matching +LuCI.form.AbstractValue instance only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    option + + +string + + + + + + + optional + + + + + +

    The name of the option object to obtain

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.form.AbstractValue + | + + Object.<string, LuCI.form.AbstractValue> + + + Returns either a dictionary of option names and their corresponding +option instance objects or just a single object instance value, +depending on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getUIElement(section_id, option){null|LuCI.ui.AbstractElement|Object.<string, (null|LuCI.ui.AbstractElement)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option LuCI.ui widget instances.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the LuCI.ui widget instances of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the LuCI.ui widget instance value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + @@ -4692,7 +5618,7 @@ custom implementations.

    @@ -4798,7 +5724,7 @@ elements load functions rejected with an error. @@ -5015,7 +5941,7 @@ descendent of AbstractValue.

    @@ -5268,7 +6194,7 @@ not meeting the validation constraints of their respective elements. @@ -5486,7 +6412,7 @@ contents. If omitted, no description will be rendered.

    @@ -5956,7 +6882,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.HiddenValue.html b/docs/jsapi/LuCI.form.HiddenValue.html index b2d2685c77..85362cdb73 100644 --- a/docs/jsapi/LuCI.form.HiddenValue.html +++ b/docs/jsapi/LuCI.form.HiddenValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3348,7 +3466,7 @@ distorted form layout when rendering the option element.

    @@ -3795,6 +3913,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + + + + + + + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4457,7 +4628,7 @@ table section elements.

    @@ -4635,7 +4806,7 @@ within the given specific section.

    @@ -4808,12 +4979,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4871,6 +5042,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -4931,7 +5106,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -4949,7 +5124,7 @@ dependencies which must be satified (a logical "and" expression).

    <
  • - + @@ -5204,7 +5379,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5382,7 +5557,7 @@ option implementation does not use LuCI.ui widgets. @@ -5532,7 +5707,7 @@ returns false. @@ -5680,7 +5855,7 @@ returns false. @@ -5863,7 +6038,7 @@ so it may return promises if overridden by user code. @@ -6014,7 +6189,7 @@ validation constraints. @@ -6286,7 +6461,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6661,7 +6836,7 @@ was neither a string nor a function. @@ -6809,7 +6984,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -6968,7 +7143,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.JSONMap.html b/docs/jsapi/LuCI.form.JSONMap.html index 47cbc7dbe0..17a0217d91 100644 --- a/docs/jsapi/LuCI.form.JSONMap.html +++ b/docs/jsapi/LuCI.form.JSONMap.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ as data source.

    @@ -4405,7 +4523,7 @@ an error. @@ -4624,7 +4742,7 @@ Returns null if the option could not be found. @@ -4731,7 +4849,7 @@ not meeting the validation constraints of their respective elements. @@ -4834,7 +4952,7 @@ rendering is complete. @@ -4938,7 +5056,7 @@ re-rendering is complete. @@ -5684,7 +5802,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.ListValue.html b/docs/jsapi/LuCI.form.ListValue.html index 21c415f0d4..e173e5f9b9 100644 --- a/docs/jsapi/LuCI.form.ListValue.html +++ b/docs/jsapi/LuCI.form.ListValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ It builds upon the LuCI.ui.Select @@ -3599,6 +3717,56 @@ option to the section.

    +
    +
    +

    orientationstring

    +
    + + +
    +
    + +
    +

    Set the orientation of the underlying radio or checkbox elements.

    +

    May be one of horizontal or vertical. Only applies to non-select +widget types.

    +
    + + + +
    + + + + + + + + + + + + + + + +
    Default Value:
    +
    • horizontal
    + + + + + + + +
    + + + +
    + + +

    sizenumber

    @@ -3639,6 +3807,57 @@ option to the section.

    +
    + + + + + + + +
    +
    +

    widgetstring

    +
    + + +
    +
    + +
    +

    Set the type of the underlying form controls.

    +

    May be one of select or radio. If set to select, an HTML +select element is rendered, otherwise a collection of radio +elements is used.

    +
    + + + +
    + + + + + + + + + + + + + + + +
    Default Value:
    +
    • select
    + + + + + + +
    @@ -3839,6 +4058,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + + + + + + + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4501,7 +4773,7 @@ table section elements.

    @@ -4679,7 +4951,7 @@ within the given specific section.

    @@ -4852,12 +5124,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4915,6 +5187,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -4975,7 +5251,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -4993,7 +5269,7 @@ dependencies which must be satified (a logical "and" expression).

    <
  • - + @@ -5248,7 +5524,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5426,7 +5702,7 @@ option implementation does not use LuCI.ui widgets. @@ -5576,7 +5852,7 @@ returns false. @@ -5724,7 +6000,7 @@ returns false. @@ -5907,7 +6183,7 @@ so it may return promises if overridden by user code. @@ -6058,7 +6334,7 @@ validation constraints. @@ -6330,7 +6606,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6705,7 +6981,7 @@ was neither a string nor a function. @@ -6853,7 +7129,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -7012,7 +7288,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.Map.html b/docs/jsapi/LuCI.form.Map.html index c435d289d7..47afe794d6 100644 --- a/docs/jsapi/LuCI.form.Map.html +++ b/docs/jsapi/LuCI.form.Map.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -4394,7 +4512,7 @@ an error. @@ -4611,7 +4729,7 @@ Returns null if the option could not be found. @@ -4716,7 +4834,7 @@ not meeting the validation constraints of their respective elements. @@ -4817,7 +4935,7 @@ rendering is complete. @@ -4919,7 +5037,7 @@ re-rendering is complete. @@ -5663,7 +5781,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.MultiValue.html b/docs/jsapi/LuCI.form.MultiValue.html index 88af114419..b3d9896f39 100644 --- a/docs/jsapi/LuCI.form.MultiValue.html +++ b/docs/jsapi/LuCI.form.MultiValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ select dropdown element.

    @@ -3891,6 +4009,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + + + + + + + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4553,7 +4724,7 @@ table section elements.

    @@ -4731,7 +4902,7 @@ within the given specific section.

    @@ -4904,12 +5075,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4967,6 +5138,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -5027,7 +5202,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -5045,7 +5220,7 @@ dependencies which must be satified (a logical "and" expression).

    <
  • - + @@ -5300,7 +5475,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5478,7 +5653,7 @@ option implementation does not use LuCI.ui widgets. @@ -5628,7 +5803,7 @@ returns false. @@ -5776,7 +5951,7 @@ returns false. @@ -5959,7 +6134,7 @@ so it may return promises if overridden by user code. @@ -6110,7 +6285,7 @@ validation constraints. @@ -6382,7 +6557,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6757,7 +6932,7 @@ was neither a string nor a function. @@ -6905,7 +7080,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -7064,7 +7239,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.NamedSection.html b/docs/jsapi/LuCI.form.NamedSection.html index 1a801b26e1..d4a538c185 100644 --- a/docs/jsapi/LuCI.form.NamedSection.html +++ b/docs/jsapi/LuCI.form.NamedSection.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3345,7 +3463,7 @@ specified when constructing the class instance.

    @@ -3877,7 +3995,7 @@ this property will hold a reference to the parent option instance.

    @@ -3966,6 +4084,204 @@ section ID as sole element. User code should not normally change this.

    + + + + +
    +
    +

    + + inherited + + cfgvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option configuration values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the configuration values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the configuration value of the specified option only.

    +
    + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.ui.AbstractElement + | + + Object.<string, (null|LuCI.ui.AbstractElement)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    optionvalueoptionvalue|RegExp @@ -5027,7 +5202,7 @@ argument, this parameter is ignored.

    optionvalueoptionvalue|RegExp @@ -5071,7 +5347,7 @@ argument, this parameter is ignored.

    optionvalueoptionvalue|RegExp @@ -5123,7 +5298,7 @@ argument, this parameter is ignored.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +configuration values or just a single configuration value, depending +on the amount of passed arguments.
    + + + +
    @@ -3981,7 +4297,7 @@ section ID as sole element. User code should not normally change this.

    @@ -4120,6 +4436,566 @@ custom implementations.

    + + + + +
    +
    +

    + + inherited + + formvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option widget input values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the widget input values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the widget input value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getOption(option){null|LuCI.form.AbstractValue|Object.<string, LuCI.form.AbstractValue>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option objects.

    +

    This function is sensitive to the amount of arguments passed to it; +if no option name is specified, all options within this section are +returned as dictionary.

    +

    If an option name is supplied, this function returns the matching +LuCI.form.AbstractValue instance only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    option + + +string + + + + + + + optional + + + + + +

    The name of the option object to obtain

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.form.AbstractValue + | + + Object.<string, LuCI.form.AbstractValue> + + + Returns either a dictionary of option names and their corresponding +option instance objects or just a single object instance value, +depending on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getUIElement(section_id, option){null|LuCI.ui.AbstractElement|Object.<string, (null|LuCI.ui.AbstractElement)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option LuCI.ui widget instances.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the LuCI.ui widget instances of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the LuCI.ui widget instance value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.ui.AbstractElement + | + + Object.<string, (null|LuCI.ui.AbstractElement)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + +
    @@ -4135,7 +5011,7 @@ custom implementations.

    @@ -4241,7 +5117,7 @@ elements load functions rejected with an error. @@ -4458,7 +5334,7 @@ descendent of AbstractValue.

    @@ -4566,7 +5442,7 @@ not meeting the validation constraints of their respective elements. @@ -4821,7 +5697,7 @@ the form element's markup, including the markup of any child elements. @@ -5040,7 +5916,7 @@ contents. If omitted, no description will be rendered.

    @@ -5510,7 +6386,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.SectionValue.html b/docs/jsapi/LuCI.form.SectionValue.html index 7cec7b6b04..ab6844436b 100644 --- a/docs/jsapi/LuCI.form.SectionValue.html +++ b/docs/jsapi/LuCI.form.SectionValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ element container, allowing to nest form sections into other sections.

    @@ -3843,6 +3961,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + + + + + + + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4505,7 +4676,7 @@ table section elements.

    @@ -4683,7 +4854,7 @@ within the given specific section.

    @@ -4853,12 +5024,12 @@ its cfgvalue() implementation will always return null. inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4916,6 +5087,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -4976,7 +5151,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -4994,7 +5169,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -5072,7 +5247,7 @@ argument, this parameter is ignored.

    @@ -5247,7 +5422,7 @@ its formvalue() implementation will always return null @@ -5425,7 +5600,7 @@ option implementation does not use LuCI.ui widgets. @@ -5575,7 +5750,7 @@ returns false. @@ -5723,7 +5898,7 @@ returns false. @@ -5906,7 +6081,7 @@ so it may return promises if overridden by user code. @@ -6057,7 +6232,7 @@ validation constraints. @@ -6323,7 +6498,7 @@ its remove() implementation is a no-op.

    @@ -6698,7 +6873,7 @@ was neither a string nor a function. @@ -6844,7 +7019,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -6995,7 +7170,7 @@ its write() implementation is a no-op.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.TableSection.html b/docs/jsapi/LuCI.form.TableSection.html index 819ef63b2f..ba6fe9b88a 100644 --- a/docs/jsapi/LuCI.form.TableSection.html +++ b/docs/jsapi/LuCI.form.TableSection.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3348,7 +3466,7 @@ value of the addremove property.

    @@ -3879,6 +3997,56 @@ UCI configuration section.

    +
    + + + +
    + + + +
    +
    +

    nodescriptionsboolean

    +
    + + +
    +
    + +
    +

    If set to true, the header row with the options descriptions will +not be displayed. By default, descriptions row is automatically displayed +when at least one option has a description.

    +
    + + + +
    + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + + + + +
    @@ -4411,7 +4579,7 @@ The default is null, means inheriting from the parent form.

    @@ -4723,16 +4891,16 @@ is shown.
    -

    +

    - inherited + inherited - abstractfilter(section_id){boolean} + cfgvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>}

    @@ -4743,13 +4911,12 @@ is shown.
    -

    Filter UCI section IDs to render.

    -

    The filter function is invoked for each UCI section ID of a given type -and controls whether the given UCI section is rendered or ignored by -the form section element.

    -

    The default implementation always returns true. User code or -classes extending AbstractSection may overwrite this function with -custom implementations.

    +

    Query underlying option configuration values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the configuration values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the configuration value of the specified option only.

    @@ -4796,7 +4963,42 @@ custom implementations.

    -

    The UCI section ID to test.

    + + + + + +

    The configuration section ID

    + + + + + + + option + + + + + +string + + + + + + + + + + + optional + + + + + +

    The name of the option to query

    @@ -4857,12 +5059,736 @@ custom implementations.

    - boolean + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> - Returns true when the given UCI section ID should be handled and -false when it should be ignored. + Returns either a dictionary of option names and their corresponding +configuration values or just a single configuration value, depending +on the amount of passed arguments. + + + + + + + + + + + + +
    +
    +

    + + inherited + + abstractfilter(section_id){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Filter UCI section IDs to render.

    +

    The filter function is invoked for each UCI section ID of a given type +and controls whether the given UCI section is rendered or ignored by +the form section element.

    +

    The default implementation always returns true. User code or +classes extending AbstractSection may overwrite this function with +custom implementations.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + +

    The UCI section ID to test.

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true when the given UCI section ID should be handled and +false when it should be ignored.
    + + + + +
    + + + +
    +
    +

    + + inherited + + formvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option widget input values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the widget input values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the widget input value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getOption(option){null|LuCI.form.AbstractValue|Object.<string, LuCI.form.AbstractValue>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option objects.

    +

    This function is sensitive to the amount of arguments passed to it; +if no option name is specified, all options within this section are +returned as dictionary.

    +

    If an option name is supplied, this function returns the matching +LuCI.form.AbstractValue instance only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    option + + +string + + + + + + + optional + + + + + +

    The name of the option object to obtain

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.form.AbstractValue + | + + Object.<string, LuCI.form.AbstractValue> + + + Returns either a dictionary of option names and their corresponding +option instance objects or just a single object instance value, +depending on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getUIElement(section_id, option){null|LuCI.ui.AbstractElement|Object.<string, (null|LuCI.ui.AbstractElement)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option LuCI.ui widget instances.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the LuCI.ui widget instances of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the LuCI.ui widget instance value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + @@ -4886,7 +5812,7 @@ custom implementations.

    @@ -4992,7 +5918,7 @@ elements load functions rejected with an error. @@ -5209,7 +6135,7 @@ descendent of AbstractValue.

    @@ -5464,7 +6390,7 @@ not meeting the validation constraints of their respective elements. @@ -5662,7 +6588,7 @@ contents. If omitted, no description will be rendered.

    @@ -6132,7 +7058,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.TextValue.html b/docs/jsapi/LuCI.form.TextValue.html index 9ce6d06426..3e4c4f1238 100644 --- a/docs/jsapi/LuCI.form.TextValue.html +++ b/docs/jsapi/LuCI.form.TextValue.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ @@ -3986,6 +4104,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + + + + + + + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4648,7 +4819,7 @@ table section elements.

    @@ -4826,7 +4997,7 @@ within the given specific section.

    @@ -4999,12 +5170,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -5062,6 +5233,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -5122,7 +5297,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -5140,7 +5315,7 @@ dependencies which must be satified (a logical "and" expression).

    <
  • - + @@ -5395,7 +5570,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5573,7 +5748,7 @@ option implementation does not use LuCI.ui widgets. @@ -5723,7 +5898,7 @@ returns false. @@ -5871,7 +6046,7 @@ returns false. @@ -6054,7 +6229,7 @@ so it may return promises if overridden by user code. @@ -6205,7 +6380,7 @@ validation constraints. @@ -6477,7 +6652,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6852,7 +7027,7 @@ was neither a string nor a function. @@ -7011,7 +7186,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.TypedSection.html b/docs/jsapi/LuCI.form.TypedSection.html index 10428ca4ba..e947b65056 100644 --- a/docs/jsapi/LuCI.form.TypedSection.html +++ b/docs/jsapi/LuCI.form.TypedSection.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3348,7 +3466,7 @@ value of the addremove property.

    @@ -4008,7 +4126,7 @@ this property will hold a reference to the parent option instance.

    @@ -4123,6 +4241,204 @@ The sections will be rendered in the same order as the returned array. + + + + +
    +
    +

    + + inherited + + cfgvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option configuration values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the configuration values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the configuration value of the specified option only.

    +
    + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.ui.AbstractElement + | + + Object.<string, (null|LuCI.ui.AbstractElement)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    optionvalueoptionvalue|RegExp @@ -5218,7 +5393,7 @@ argument, this parameter is ignored.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +configuration values or just a single configuration value, depending +on the amount of passed arguments.
    + + + +
    @@ -4138,7 +4454,7 @@ The sections will be rendered in the same order as the returned array. @@ -4277,6 +4593,566 @@ custom implementations.

    + + + + +
    +
    +

    + + inherited + + formvalue(section_id, option){null|string|Array.<string>|Object.<string, (null|string|Array.<string>)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Query underlying option widget input values.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the widget input values of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the widget input value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + string + | + + Array.<string> + | + + Object.<string, (null|string|Array.<string>)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getOption(option){null|LuCI.form.AbstractValue|Object.<string, LuCI.form.AbstractValue>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option objects.

    +

    This function is sensitive to the amount of arguments passed to it; +if no option name is specified, all options within this section are +returned as dictionary.

    +

    If an option name is supplied, this function returns the matching +LuCI.form.AbstractValue instance only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    option + + +string + + + + + + + optional + + + + + +

    The name of the option object to obtain

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.form.AbstractValue + | + + Object.<string, LuCI.form.AbstractValue> + + + Returns either a dictionary of option names and their corresponding +option instance objects or just a single object instance value, +depending on the amount of passed arguments.
    + + + + +
    + + + +
    +
    +

    + + inherited + + getUIElement(section_id, option){null|LuCI.ui.AbstractElement|Object.<string, (null|LuCI.ui.AbstractElement)>} +

    + + + + +
    + + +
    +
    + + +
    +

    Obtain underlying option LuCI.ui widget instances.

    +

    This function is sensitive to the amount of arguments passed to it; +if only one argument is specified, the LuCI.ui widget instances of all +options within this section are returned as dictionary.

    +

    If both the section ID and an option name are supplied, this function +returns the LuCI.ui widget instance value of the specified option only.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    section_id + + +string + + + + + + + + + + +

    The configuration section ID

    option + + +string + + + + + + + optional + + + + + +

    The name of the option to query

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + null + | + + LuCI.ui.AbstractElement + | + + Object.<string, (null|LuCI.ui.AbstractElement)> + + + Returns either a dictionary of option names and their corresponding +widget input values or just a single widget input value, depending +on the amount of passed arguments.
    + + + +
    @@ -4292,7 +5168,7 @@ custom implementations.

    @@ -4398,7 +5274,7 @@ elements load functions rejected with an error. @@ -4615,7 +5491,7 @@ descendent of AbstractValue.

    @@ -4723,7 +5599,7 @@ not meeting the validation constraints of their respective elements. @@ -4978,7 +5854,7 @@ the form element's markup, including the markup of any child elements. @@ -5197,7 +6073,7 @@ contents. If omitted, no description will be rendered.

    @@ -5667,7 +6543,7 @@ was neither a string nor a function.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.Value.html b/docs/jsapi/LuCI.form.Value.html index f4177d8f2d..87ffeed587 100644 --- a/docs/jsapi/LuCI.form.Value.html +++ b/docs/jsapi/LuCI.form.Value.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ @@ -3888,6 +4006,59 @@ section elements.

    +
    Default Value:
    +
    • null
    + + + + + + + + + + + + + + + +
    +
    +

    onchangefunction

    +
    + + +
    +
    + +
    +

    Register a custom value change handler.

    +

    If this property is set to a function value, the function is invoked +whenever the value of the underlying UI input element is changing.

    +

    The invoked handler function will receive the DOM click element as +first and the underlying configuration section ID as well as the input +value as second and third argument respectively.

    +
    + + + +
    + + + + + + + + + + + + + + +
    Default Value:
    • null
    @@ -4453,7 +4624,7 @@ table section elements.

    @@ -4631,7 +4802,7 @@ within the given specific section.

    @@ -4804,12 +4975,12 @@ different way.

    inherited - depends(optionname_or_depends, optionvalue) + depends(optionname_or_depends, optionvalue|RegExp) @@ -4867,6 +5038,10 @@ is ignored. The recognized tags are:

    opt.depends({ foo: "test" })
    Equivalent to the previous example. +
  • + opt.depends({ foo: /test/ })
    + Require the value of `foo` to match the regular expression `/test/`. +
  • opt.depends({ foo: "test", bar: "qrx" })
    Require the value of `foo` to be `test` and the value of `bar` to be @@ -4927,7 +5102,7 @@ is ignored. The recognized tags are:

    string | -Object.<string, (string|boolean)> +Object.<string, (string|RegExp)> @@ -4945,7 +5120,7 @@ dependencies which must be satified (a logical "and" expression).

    < - optionvalue + optionvalue|RegExp @@ -5023,7 +5198,7 @@ argument, this parameter is ignored.

    @@ -5200,7 +5375,7 @@ It may be overwritten by user code to handle input values differently.

    @@ -5378,7 +5553,7 @@ option implementation does not use LuCI.ui widgets. @@ -5528,7 +5703,7 @@ returns false. @@ -5676,7 +5851,7 @@ returns false. @@ -5859,7 +6034,7 @@ so it may return promises if overridden by user code. @@ -6010,7 +6185,7 @@ validation constraints. @@ -6135,7 +6310,7 @@ implement alternative removal logic, e.g. to retain the original value.

    @@ -6390,7 +6565,7 @@ the form element's markup, including the markup of any child elements. @@ -6763,7 +6938,7 @@ was neither a string nor a function. @@ -6911,7 +7086,7 @@ or a plain text string. If omitted, the key value is used as captio @@ -7070,7 +7245,7 @@ before it is written.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.form.html b/docs/jsapi/LuCI.form.html index 94dd425009..d16fdf455a 100644 --- a/docs/jsapi/LuCI.form.html +++ b/docs/jsapi/LuCI.form.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3373,7 +3491,7 @@ m.render().then(function(node) { @@ -3526,7 +3644,7 @@ m.render().then(function(node) {
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.fs.html b/docs/jsapi/LuCI.fs.html index 07d445ee47..2787f35cac 100644 --- a/docs/jsapi/LuCI.fs.html +++ b/docs/jsapi/LuCI.fs.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -5703,7 +5821,7 @@ the failure reason.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.headers.html b/docs/jsapi/LuCI.headers.html index 3460467d0e..1296c12af9 100644 --- a/docs/jsapi/LuCI.headers.html +++ b/docs/jsapi/LuCI.headers.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3731,7 +3849,7 @@ Note: Header-Names are case-insensitive.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.html b/docs/jsapi/LuCI.html index ce494d8387..4247c34645 100644 --- a/docs/jsapi/LuCI.html +++ b/docs/jsapi/LuCI.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3810,7 +3928,7 @@ to request the LuCI.view class.

    @@ -4022,7 +4140,7 @@ as parameters.

    @@ -4261,7 +4379,7 @@ argument or copied from the given error instance.

    @@ -4416,7 +4534,7 @@ document root.

    @@ -4628,7 +4746,7 @@ callback function. The function is a wrapper around @@ -4731,7 +4849,7 @@ when it didn't run to begin with. @@ -4924,7 +5042,7 @@ has no sub-features. @@ -5030,7 +5148,7 @@ group is granted with write permissions. @@ -5185,7 +5303,7 @@ not null, else returns false. @@ -5285,7 +5403,7 @@ not null, else returns false. @@ -5442,7 +5560,7 @@ slashes and any of the other characters mentioned above.

    @@ -5629,7 +5747,7 @@ slashes and any of the other characters mentioned above.

    @@ -5934,7 +6052,7 @@ polling request. @@ -6149,7 +6267,7 @@ by default.

    @@ -6388,7 +6506,7 @@ argument or copied from the given error instance.

    @@ -6646,7 +6764,7 @@ class instance.

    @@ -6817,7 +6935,7 @@ to the given default value on error. @@ -6974,7 +7092,7 @@ slashes and any of the other characters mentioned above.

    @@ -7077,7 +7195,7 @@ when it was already running. @@ -7294,7 +7412,7 @@ addresses or numeric values respectively.

    @@ -7442,7 +7560,7 @@ it could not be found. @@ -7592,7 +7710,7 @@ space and returned as array.

    @@ -7755,7 +7873,7 @@ slashes and any of the other characters mentioned above.

    @@ -7926,7 +8044,7 @@ else null.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.network.Device.html b/docs/jsapi/LuCI.network.Device.html index 1e0b0c7930..d3b2cf9141 100644 --- a/docs/jsapi/LuCI.network.Device.html +++ b/docs/jsapi/LuCI.network.Device.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ device and allows querying device details such as packet statistics or MTU.

    < @@ -3428,7 +3546,7 @@ device and allows querying device details such as packet statistics or MTU.

    < @@ -3532,7 +3650,7 @@ device is not a Linux bridge. @@ -3633,7 +3751,7 @@ enabled, else false. @@ -3734,7 +3852,7 @@ for non-wifi devices or operation mode and ssid for wifi ones. @@ -3834,7 +3952,7 @@ for non-wifi devices or operation mode and ssid for wifi ones. @@ -3934,7 +4052,7 @@ for non-wifi devices or operation mode and ssid for wifi ones. @@ -4038,7 +4156,7 @@ e.g. for non-ethernet tunnel devices. @@ -4138,7 +4256,7 @@ e.g. for non-ethernet tunnel devices. @@ -4238,7 +4356,7 @@ e.g. for non-ethernet tunnel devices. @@ -4343,7 +4461,7 @@ assigned to any logical interface. @@ -4444,7 +4562,7 @@ logical interfaces this device is assigned to. @@ -4549,7 +4667,7 @@ a Linux bridge. @@ -4649,7 +4767,7 @@ a Linux bridge. @@ -4749,7 +4867,7 @@ a Linux bridge. @@ -4850,7 +4968,7 @@ the operation mode and SSID for wifi devices. @@ -4950,7 +5068,7 @@ the operation mode and SSID for wifi devices. @@ -5050,7 +5168,7 @@ the operation mode and SSID for wifi devices. @@ -5159,7 +5277,7 @@ the operation mode and SSID for wifi devices. @@ -5260,7 +5378,7 @@ the operation mode and SSID for wifi devices. @@ -5365,7 +5483,7 @@ is not a wireless device. @@ -5466,7 +5584,7 @@ else false. @@ -5567,7 +5685,7 @@ else false. @@ -5676,7 +5794,7 @@ when it is down or absent.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.network.Hosts.html b/docs/jsapi/LuCI.network.Hosts.html index 0e73cccfd4..d44e172c54 100644 --- a/docs/jsapi/LuCI.network.Hosts.html +++ b/docs/jsapi/LuCI.network.Hosts.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ host information by different criteria.

    @@ -3429,7 +3547,7 @@ host information by different criteria.

    @@ -3579,7 +3697,7 @@ the corresponding host. @@ -3729,7 +3847,7 @@ the corresponding host. @@ -3879,7 +3997,7 @@ the corresponding host. @@ -4029,7 +4147,7 @@ the corresponding host. @@ -4179,7 +4297,7 @@ the corresponding host. @@ -4329,7 +4447,7 @@ the corresponding host. @@ -4479,7 +4597,7 @@ the corresponding host. @@ -4657,7 +4775,7 @@ is used as hint.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.network.Protocol.html b/docs/jsapi/LuCI.network.Protocol.html index f3103a4e85..465b751a68 100644 --- a/docs/jsapi/LuCI.network.Protocol.html +++ b/docs/jsapi/LuCI.network.Protocol.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ subclasses which describe logical UCI networks defined by config interface @@ -3428,7 +3546,7 @@ subclasses which describe logical UCI networks defined by config interface @@ -3589,7 +3707,7 @@ interface or if the logical interface is virtual. @@ -3750,7 +3868,7 @@ device or false if not. @@ -3860,7 +3978,7 @@ the interface removal will be aborted. @@ -4021,7 +4139,7 @@ interface or if the logical interface is virtual. @@ -4173,7 +4291,7 @@ not found. @@ -4275,7 +4393,7 @@ expected Linux network device according to the configuration. @@ -4382,7 +4500,7 @@ virtual and not a bridge. @@ -4483,7 +4601,7 @@ protocol backend. @@ -4584,7 +4702,7 @@ protocol backend. @@ -4692,7 +4810,7 @@ error code in case no translation can be found.

    @@ -4796,7 +4914,7 @@ if it isn't applicable to the associated protocol. @@ -4898,7 +5016,7 @@ default route or null if no default route was found. @@ -5000,7 +5118,7 @@ default route or null if no default route was found. @@ -5102,7 +5220,7 @@ default route or null if no default route was found. @@ -5206,7 +5324,7 @@ it could not be determined. @@ -5310,7 +5428,7 @@ in CIDR notation or null if no IPv6 addresses were set. @@ -5412,7 +5530,7 @@ follows the order of the addresses in ubus runtime information. - network.js, line 2241 + network.js, line 2257 @@ -5516,7 +5634,7 @@ handler or null if no prefix is present. @@ -5620,7 +5738,7 @@ or null if no IPv4 addresses were set. @@ -5722,7 +5840,7 @@ follows the order of the addresses in ubus runtime information. - network.js, line 2558 + network.js, line 2574 @@ -5824,7 +5942,7 @@ network device currently associated with the logical interface. @@ -5926,7 +6044,7 @@ network device currently associated with the logical interface. @@ -6027,7 +6145,7 @@ routes spawned by the associated logical interface. @@ -6127,7 +6245,7 @@ routes spawned by the associated logical interface. @@ -6231,7 +6349,7 @@ protocol handler or null if no IPv4 addresses were set. @@ -6333,7 +6451,7 @@ function, e.g. odhcp6c for the dhcpv6 prototocol. @@ -6436,7 +6554,7 @@ function, e.g. odhcp6c for the dhcpv6 prototocol. @@ -6543,7 +6661,7 @@ interface or null if no type option is set. @@ -6643,7 +6761,7 @@ interface or null if no type option is set. @@ -6751,7 +6869,7 @@ handler didn't request a zone. @@ -6858,7 +6976,7 @@ is an alias or null if it is not an alias interface. @@ -6960,7 +7078,7 @@ or false when the logical interface is no bridge. @@ -7107,7 +7225,7 @@ rejects with an error message string. @@ -7212,7 +7330,7 @@ or not (false). @@ -7313,7 +7431,7 @@ has no network devices attached.

    @@ -7422,7 +7540,7 @@ or not (false). @@ -7526,7 +7644,7 @@ returns true.

    @@ -7626,7 +7744,7 @@ returns true.

    @@ -7733,7 +7851,7 @@ dynamic interfaces (true) or not (false). @@ -7887,7 +8005,7 @@ configuration.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.network.WifiDevice.html b/docs/jsapi/LuCI.network.WifiDevice.html index 66cb3a7d4c..fc20c640a2 100644 --- a/docs/jsapi/LuCI.network.WifiDevice.html +++ b/docs/jsapi/LuCI.network.WifiDevice.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ well as methods for enumerating related wireless networks.

    @@ -3429,7 +3547,7 @@ well as methods for enumerating related wireless networks.

    @@ -3584,7 +3702,7 @@ were invalid. @@ -3736,7 +3854,7 @@ with this wireless radio device. @@ -3888,7 +4006,7 @@ not found. @@ -3999,7 +4117,7 @@ known mode values are: @@ -4109,7 +4227,7 @@ known mode values are: @@ -4209,7 +4327,7 @@ known mode values are: @@ -4311,7 +4429,7 @@ for the wireless phy. @@ -4413,7 +4531,7 @@ describing the networks found in the vincinity. @@ -4564,7 +4682,7 @@ this radio device. @@ -4666,7 +4784,7 @@ radio device. @@ -4768,7 +4886,7 @@ UCI configuration. @@ -4869,7 +4987,7 @@ runtime state.

    @@ -5023,7 +5141,7 @@ configuration.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.network.WifiNetwork.html b/docs/jsapi/LuCI.network.WifiNetwork.html index a92a0b9190..f9e91e4a86 100644 --- a/docs/jsapi/LuCI.network.WifiNetwork.html +++ b/docs/jsapi/LuCI.network.WifiNetwork.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3345,7 +3463,7 @@ such networks in parallel.

    @@ -3430,7 +3548,7 @@ such networks in parallel.

    @@ -3701,7 +3819,7 @@ are passed. @@ -3853,7 +3971,7 @@ not found. @@ -3954,7 +4072,7 @@ information. @@ -4055,7 +4173,7 @@ encryption state could not be found in ubus runtime information. - network.js, line 3623 + network.js, line 3639 @@ -4168,7 +4286,7 @@ state. Possible returned values are: @@ -4270,7 +4388,7 @@ translated string.

    @@ -4371,7 +4489,7 @@ information. @@ -4472,7 +4590,7 @@ with this network. @@ -4578,7 +4696,7 @@ is not available. @@ -4681,7 +4799,7 @@ is not available. @@ -4785,7 +4903,7 @@ or null if it cannot be determined. @@ -4886,7 +5004,7 @@ information or 00 if it cannot be determined. @@ -4987,7 +5105,7 @@ device associted with this wireless network. @@ -5092,7 +5210,7 @@ available. @@ -5195,7 +5313,7 @@ name, depending on which information is available. @@ -5298,7 +5416,7 @@ radio and network index numbers.

    @@ -5403,7 +5521,7 @@ associated network device, e.g. when not configured or up. @@ -5507,7 +5625,7 @@ is not in mesh mode. @@ -5614,7 +5732,7 @@ is not in mesh mode. @@ -5714,7 +5832,7 @@ is not in mesh mode. @@ -5819,7 +5937,7 @@ interface. @@ -5920,7 +6038,7 @@ attached to.

    @@ -6021,7 +6139,7 @@ logical interfaces this wireless network is attached to. @@ -6122,7 +6240,7 @@ information or 0 if it cannot be determined. @@ -6224,7 +6342,7 @@ internal network ID, depending on which information is available. @@ -6328,7 +6446,7 @@ information or null if it cannot be determined. @@ -6431,7 +6549,7 @@ noise and signal (SNR), divided by 5. @@ -6533,7 +6651,7 @@ by ubus runtime state. @@ -6637,7 +6755,7 @@ in mesh mode. @@ -6741,7 +6859,7 @@ in mesh mode. @@ -6845,7 +6963,7 @@ cannot be determined. @@ -6950,7 +7068,7 @@ found. @@ -7054,7 +7172,7 @@ or null if it cannot be determined. @@ -7155,7 +7273,7 @@ deauthenticating clients, otherwise false. @@ -7257,7 +7375,7 @@ UCI configuration. @@ -7362,7 +7480,7 @@ instance.

    @@ -7516,7 +7634,7 @@ configuration.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.network.html b/docs/jsapi/LuCI.network.html index 64c26aa832..8760ded037 100644 --- a/docs/jsapi/LuCI.network.html +++ b/docs/jsapi/LuCI.network.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3636,7 +3754,7 @@ existed. @@ -3934,7 +4052,7 @@ references to it were successfully deleted from the configuration or @@ -4585,7 +4703,7 @@ instances describing the network devices found on the system. @@ -4686,7 +4804,7 @@ instances describing the network devices found on the system. @@ -4790,7 +4908,7 @@ class instance describing the found hosts.

    @@ -5502,7 +5620,7 @@ backend classes.

    @@ -5606,7 +5724,7 @@ the layout. @@ -5709,7 +5827,7 @@ instances describing the found IPv6 default route interfaces. @@ -5812,7 +5930,7 @@ instances describing the found default route interfaces. @@ -5961,7 +6079,7 @@ be found. @@ -6064,7 +6182,7 @@ the configuration. @@ -6215,7 +6333,7 @@ be found. @@ -6318,7 +6436,7 @@ are found. @@ -9371,7 +9489,7 @@ conjunction with quality to calculate a quality percentage.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time) diff --git a/docs/jsapi/LuCI.poll.html b/docs/jsapi/LuCI.poll.html index d784be91c0..7e958bcb26 100644 --- a/docs/jsapi/LuCI.poll.html +++ b/docs/jsapi/LuCI.poll.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -4114,7 +4232,7 @@ run to begin with.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.request.html b/docs/jsapi/LuCI.request.html index c73e6283ad..dc1ef17946 100644 --- a/docs/jsapi/LuCI.request.html +++ b/docs/jsapi/LuCI.request.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -5049,7 +5167,7 @@ instances as sole argument during the HTTP request transfer.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.request.poll.html b/docs/jsapi/LuCI.request.poll.html index f8ed06b9bd..ef83287f01 100644 --- a/docs/jsapi/LuCI.request.poll.html +++ b/docs/jsapi/LuCI.request.poll.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -4233,7 +4351,7 @@ else null.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.response.html b/docs/jsapi/LuCI.response.html index 9c9c26e811..a7d483d76b 100644 --- a/docs/jsapi/LuCI.response.html +++ b/docs/jsapi/LuCI.response.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -4191,7 +4309,7 @@ using String() and treated as response text.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.rpc.html b/docs/jsapi/LuCI.rpc.html index d608b65148..976a3aab79 100644 --- a/docs/jsapi/LuCI.rpc.html +++ b/docs/jsapi/LuCI.rpc.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -5522,7 +5640,7 @@ to the expect and filter declarations.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.session.html b/docs/jsapi/LuCI.session.html new file mode 100644 index 0000000000..298f6dbd50 --- /dev/null +++ b/docs/jsapi/LuCI.session.html @@ -0,0 +1,4089 @@ + + + + + Class: session + + + + + + + + + + + + + + + + + +
    + + +
    +

    Class: session

    + + + + +
    + +
    +

    + LuCI. + + session +

    + +

    The session class provides various session related functionality.

    + +
    + +
    +
    + + + + +
    +
    +

    + + new LuCI.session() +

    + + + + +
    + + +
    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + + + +

    Methods

    + +
    + +
    +
    +

    + + getID(){string} +

    + + + + +
    + + +
    +
    + + +
    +

    Retrieve the current session ID.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + string + + + Returns the current session ID.
    + + + + +
    + + + +
    +
    +

    + + getLocalData(key){*} +

    + + + + +
    + + +
    +
    + + +
    +

    Retrieve data from the local session storage.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string + + + + + + + optional + + + + + +

    The key to retrieve from the session data store. If omitted, all +session data will be returned.

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + * + + + Returns the stored session data or null if the given key wasn't +found.
    + + + + +
    + + + +
    +
    +

    + + getToken(){string|null} +

    + + + + +
    + + +
    +
    + + +
    +

    Retrieve the current session token.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + string + | + + null + + + Returns the current session token or null if not logged in.
    + + + + +
    + + + +
    +
    +

    + + setLocalData(key, value){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Set data in the local session storage.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string + + + + + +

    The key to set in the session data store.

    value + + +* + + + + + +

    The value to store. It will be internally converted to JSON before +being put in the session store.

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the data could be stored or false on error.
    + + + + +
    + +
    + + + + + + + +
    + +
    + + + + + + + +
    + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time) +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/jsapi/LuCI.uci.html b/docs/jsapi/LuCI.uci.html index 321c5fc17e..81ef9cb020 100644 --- a/docs/jsapi/LuCI.uci.html +++ b/docs/jsapi/LuCI.uci.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3641,7 +3759,7 @@ to the given name for non-anonymous sections. @@ -3803,7 +3921,7 @@ operation to cancel the rollback timer.

    @@ -4053,7 +4171,7 @@ where X denotes a hexadecimal digit. @@ -4282,7 +4400,7 @@ found or if the corresponding configuration is not loaded. @@ -4670,7 +4788,7 @@ that have been successfully loaded. @@ -5256,7 +5374,7 @@ not be resolved to existing section ID. @@ -5360,7 +5478,7 @@ have been reloaded by the save operation. @@ -5573,7 +5691,7 @@ configuration, filtered by type of a type has been specified. @@ -5769,7 +5887,7 @@ with the given value.

    @@ -6110,7 +6228,7 @@ names to unload.

    @@ -6275,7 +6393,7 @@ configuration.

    @@ -6862,7 +6980,7 @@ underlying option is an UCI list.

    @@ -7009,7 +7127,7 @@ associated name as arguments.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.AbstractElement.html b/docs/jsapi/LuCI.ui.AbstractElement.html index c9c639d442..b76d2bb805 100644 --- a/docs/jsapi/LuCI.ui.AbstractElement.html +++ b/docs/jsapi/LuCI.ui.AbstractElement.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3533,6 +3651,109 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3546,7 +3767,7 @@ an array of strings or null for unset values. @@ -3647,7 +3868,7 @@ not meet the validation constraints. @@ -3817,7 +4038,7 @@ registered.

    @@ -3918,7 +4139,7 @@ widget markup. @@ -4047,6 +4268,129 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4075,7 +4419,7 @@ as dirty.

    @@ -4355,7 +4699,7 @@ or null values.

    @@ -4739,7 +5083,7 @@ and are displayed in a slightly faded style.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.Checkbox.html b/docs/jsapi/LuCI.ui.Checkbox.html index ec575d9b9a..66ede807fe 100644 --- a/docs/jsapi/LuCI.ui.Checkbox.html +++ b/docs/jsapi/LuCI.ui.Checkbox.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3349,7 +3467,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3540,7 +3658,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3636,6 +3754,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3649,7 +3872,7 @@ an array of strings or null for unset values. @@ -3751,7 +3974,7 @@ an array of strings or null for unset values. @@ -3854,7 +4077,7 @@ not meet the validation constraints. @@ -4026,7 +4249,7 @@ registered.

    @@ -4129,7 +4352,7 @@ widget markup. @@ -4258,6 +4481,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4288,7 +4636,7 @@ as dirty.

    @@ -4445,7 +4793,7 @@ trigger input value validation.

    @@ -4572,7 +4920,7 @@ or null values.

    @@ -4847,7 +5195,7 @@ it is required for HTML based form submissions.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.ComboButton.html b/docs/jsapi/LuCI.ui.ComboButton.html index c15bcb58cd..70d72cebb3 100644 --- a/docs/jsapi/LuCI.ui.ComboButton.html +++ b/docs/jsapi/LuCI.ui.ComboButton.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3350,7 +3468,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3578,7 +3696,7 @@ choice labels.

    @@ -3724,7 +3842,7 @@ as label text. Choice labels may be any valid value accepted by @@ -3861,7 +3979,7 @@ of keeping them.

    @@ -3919,6 +4037,111 @@ of keeping them.

    +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3934,7 +4157,7 @@ of keeping them.

    @@ -4037,7 +4260,7 @@ not meet the validation constraints. @@ -4209,7 +4432,7 @@ registered.

    @@ -4338,6 +4561,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4368,7 +4716,7 @@ as dirty.

    @@ -4525,7 +4873,7 @@ trigger input value validation.

    @@ -4877,7 +5225,7 @@ choice value as second argument.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.Combobox.html b/docs/jsapi/LuCI.ui.Combobox.html index 52341ea435..8ff47fc9fb 100644 --- a/docs/jsapi/LuCI.ui.Combobox.html +++ b/docs/jsapi/LuCI.ui.Combobox.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3352,7 +3470,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3580,7 +3698,7 @@ choice labels.

    @@ -3726,7 +3844,7 @@ as label text. Choice labels may be any valid value accepted by @@ -3863,7 +3981,7 @@ of keeping them.

    @@ -3921,6 +4039,111 @@ of keeping them.

    +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3936,7 +4159,7 @@ of keeping them.

    @@ -4039,7 +4262,7 @@ not meet the validation constraints. @@ -4211,7 +4434,7 @@ registered.

    @@ -4340,6 +4563,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4370,7 +4718,7 @@ as dirty.

    @@ -4527,7 +4875,7 @@ trigger input value validation.

    @@ -4780,7 +5128,7 @@ forcibly set to true.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.Dropdown.html b/docs/jsapi/LuCI.ui.Dropdown.html index d1725aa2ef..83d71ead2f 100644 --- a/docs/jsapi/LuCI.ui.Dropdown.html +++ b/docs/jsapi/LuCI.ui.Dropdown.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3350,7 +3468,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3576,7 +3694,7 @@ choice labels.

    @@ -3720,7 +3838,7 @@ as label text. Choice labels may be any valid value accepted by @@ -3855,7 +3973,7 @@ of keeping them.

    @@ -3928,7 +4046,7 @@ of keeping them.

    @@ -4024,6 +4142,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -4039,7 +4262,7 @@ an array of strings or null for unset values. @@ -4142,7 +4365,7 @@ not meet the validation constraints. @@ -4314,7 +4537,7 @@ registered.

    @@ -4417,7 +4640,7 @@ widget markup. @@ -4546,6 +4769,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4576,7 +4924,7 @@ as dirty.

    @@ -4733,7 +5081,7 @@ trigger input value validation.

    @@ -4860,7 +5208,7 @@ or null values.

    @@ -5578,7 +5926,7 @@ expression. Only applicable when create is true.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time) diff --git a/docs/jsapi/LuCI.ui.DynamicList.html b/docs/jsapi/LuCI.ui.DynamicList.html index b7aeae67f2..9ceda34eaa 100644 --- a/docs/jsapi/LuCI.ui.DynamicList.html +++ b/docs/jsapi/LuCI.ui.DynamicList.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3351,7 +3469,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3581,7 +3699,7 @@ arbitrary values to the dynamic list.

    @@ -3725,7 +3843,7 @@ as label text. Choice labels may be any valid value accepted by @@ -3799,7 +3917,7 @@ as label text. Choice labels may be any valid value accepted by @@ -3895,6 +4013,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3910,7 +4133,7 @@ an array of strings or null for unset values. @@ -4013,7 +4236,7 @@ not meet the validation constraints. @@ -4185,7 +4408,7 @@ registered.

    @@ -4288,7 +4511,7 @@ widget markup. @@ -4417,6 +4640,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4447,7 +4795,7 @@ as dirty.

    @@ -4604,7 +4952,7 @@ trigger input value validation.

    @@ -4731,7 +5079,7 @@ or null values.

    @@ -4955,7 +5303,7 @@ it to remain unselected.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.FileUpload.html b/docs/jsapi/LuCI.ui.FileUpload.html index de91659a83..38ce235281 100644 --- a/docs/jsapi/LuCI.ui.FileUpload.html +++ b/docs/jsapi/LuCI.ui.FileUpload.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3350,7 +3468,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3545,7 +3663,7 @@ upload control.

    @@ -3641,6 +3759,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3656,7 +3879,7 @@ an array of strings or null for unset values. @@ -3759,7 +3982,7 @@ not meet the validation constraints. @@ -3931,7 +4154,7 @@ registered.

    @@ -4034,7 +4257,7 @@ widget markup. @@ -4163,6 +4386,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4193,7 +4541,7 @@ as dirty.

    @@ -4350,7 +4698,7 @@ trigger input value validation.

    @@ -4477,7 +4825,7 @@ or null values.

    @@ -4804,7 +5152,7 @@ ACL setup for the current session.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.Hiddenfield.html b/docs/jsapi/LuCI.ui.Hiddenfield.html index 7f56550817..cbba5efa47 100644 --- a/docs/jsapi/LuCI.ui.Hiddenfield.html +++ b/docs/jsapi/LuCI.ui.Hiddenfield.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3350,7 +3468,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3544,7 +3662,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3640,6 +3758,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3655,7 +3878,7 @@ an array of strings or null for unset values. @@ -3758,7 +3981,7 @@ not meet the validation constraints. @@ -3930,7 +4153,7 @@ registered.

    @@ -4033,7 +4256,7 @@ widget markup. @@ -4162,6 +4385,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4192,7 +4540,7 @@ as dirty.

    @@ -4349,7 +4697,7 @@ trigger input value validation.

    @@ -4476,7 +4824,7 @@ or null values.

    @@ -4558,7 +4906,7 @@ trigger validation runs, e.g. when programmatically altering values.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.Select.html b/docs/jsapi/LuCI.ui.Select.html index b31ab61042..6d1d1bd68e 100644 --- a/docs/jsapi/LuCI.ui.Select.html +++ b/docs/jsapi/LuCI.ui.Select.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3351,7 +3469,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3579,7 +3697,7 @@ choice labels.

    @@ -3675,6 +3793,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3690,7 +3913,7 @@ an array of strings or null for unset values. @@ -3793,7 +4016,7 @@ not meet the validation constraints. @@ -3965,7 +4188,7 @@ registered.

    @@ -4068,7 +4291,7 @@ widget markup. @@ -4197,6 +4420,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4227,7 +4575,7 @@ as dirty.

    @@ -4384,7 +4732,7 @@ trigger input value validation.

    @@ -4511,7 +4859,7 @@ or null values.

    @@ -4907,7 +5255,7 @@ selected yet. Only applicable to the select widget type.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.Textarea.html b/docs/jsapi/LuCI.ui.Textarea.html index 973bad8c59..1a87f6c8d1 100644 --- a/docs/jsapi/LuCI.ui.Textarea.html +++ b/docs/jsapi/LuCI.ui.Textarea.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3349,7 +3467,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3540,7 +3658,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3636,6 +3754,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3651,7 +3874,7 @@ an array of strings or null for unset values. @@ -3754,7 +3977,7 @@ not meet the validation constraints. @@ -3926,7 +4149,7 @@ registered.

    @@ -4029,7 +4252,7 @@ widget markup. @@ -4158,6 +4381,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4188,7 +4536,7 @@ as dirty.

    @@ -4345,7 +4693,7 @@ trigger input value validation.

    @@ -4472,7 +4820,7 @@ or null values.

    @@ -4856,7 +5204,7 @@ contents.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.Textfield.html b/docs/jsapi/LuCI.ui.Textfield.html index 31bbe9c294..1e8f0b55a9 100644 --- a/docs/jsapi/LuCI.ui.Textfield.html +++ b/docs/jsapi/LuCI.ui.Textfield.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3349,7 +3467,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3540,7 +3658,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3636,6 +3754,111 @@ an array of strings or null for unset values. +
    + + + +
    +
    +

    + + inherited + + isChanged(){boolean} +

    + + + + +
    + + +
    +
    + + +
    +

    Check whether the input value was altered by the user.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + boolean + + + Returns true if the input value has been altered by the user or +false if it is unchaged. Note that if the user modifies the initial +value and changes it back to the original state, it is still reported +as changed.
    + + + +
    @@ -3651,7 +3874,7 @@ an array of strings or null for unset values. @@ -3754,7 +3977,7 @@ not meet the validation constraints. @@ -3926,7 +4149,7 @@ registered.

    @@ -4029,7 +4252,7 @@ widget markup. @@ -4158,6 +4381,131 @@ as dirty.

    + + + + + + + + + + + + + + + + + + + +
    +
    +

    + + inherited + + setPlaceholder(value) +

    + + + + +
    + + +
    +
    + + +
    +

    Set the current placeholder value of the input widget.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +string +| + +Array.<string> +| + +null + + + + + +

    The placeholder to set for the input element. Only applicable to text +inputs, not to radio buttons, selects or similar.

    + + + +
    + + + + + + + + + + + + + + + + + + + +
    @@ -4188,7 +4536,7 @@ as dirty.

    @@ -4345,7 +4693,7 @@ trigger input value validation.

    @@ -4472,7 +4820,7 @@ or null values.

    @@ -4784,7 +5132,7 @@ corresponding <input> element is empty.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.changes.html b/docs/jsapi/LuCI.ui.changes.html index 888a93f0c2..dff9edec45 100644 --- a/docs/jsapi/LuCI.ui.changes.html +++ b/docs/jsapi/LuCI.ui.changes.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3347,7 +3465,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3432,7 +3550,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3573,7 +3691,7 @@ settings.

    @@ -3646,7 +3764,7 @@ and offer options to revert or apply the shown changes.

    @@ -3764,7 +3882,7 @@ UCI changeset structure.

    @@ -3840,7 +3958,7 @@ complete.

    @@ -3968,7 +4086,7 @@ is removed.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.html b/docs/jsapi/LuCI.ui.html index d62ae98d64..26cc0be867 100644 --- a/docs/jsapi/LuCI.ui.html +++ b/docs/jsapi/LuCI.ui.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@ external JavaScript, use L.require("ui").then(...).

    - ui.js, line 3033 + ui.js, line 3108 @@ -3475,7 +3593,7 @@ external JavaScript, use L.require("ui").then(...).

    - ui.js, line 3213 + ui.js, line 3289 @@ -3705,7 +3823,7 @@ banner element.

    @@ -4019,7 +4137,7 @@ trigger field validation or to bind it to further events. @@ -4156,7 +4274,7 @@ default.

    @@ -4382,7 +4500,7 @@ valid function value. @@ -4530,7 +4648,7 @@ requested indicator was not found. @@ -4606,7 +4724,7 @@ handler as-is without the need to bind it first.

    @@ -4758,7 +4876,7 @@ catched and rendered using LuCI.error() - ui.js, line 3365 + ui.js, line 3452 @@ -5000,7 +5118,7 @@ accepted by LuCI.dom.content().

    @@ -5203,7 +5321,7 @@ or rejecting with null when the connectivity check timed out. @@ -5474,7 +5592,7 @@ changes were made. @@ -5703,7 +5821,7 @@ element.

    @@ -6061,7 +6179,7 @@ cancelled by the user.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.ui.menu.html b/docs/jsapi/LuCI.ui.menu.html new file mode 100644 index 0000000000..2b63fe159b --- /dev/null +++ b/docs/jsapi/LuCI.ui.menu.html @@ -0,0 +1,4143 @@ + + + + + Class: menu + + + + + + + + + + + + + + + + + +
    + + +
    +

    Class: menu

    + + + + +
    + +
    +

    + LuCI.ui. + + menu +

    + +

    Handles menus.

    + +
    + +
    +
    + + + + +
    +
    + + + + + +
    + + +
    +
    + + +
    +

    Handle menu.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + + + +

    Methods

    + +
    + +
    +
    +

    + + flushCache() +

    + + + + +
    + + +
    +
    + + +
    +

    Flush the internal menu cache to force loading a new structure on the +next page load.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +
    +

    + + getChildren(node){Array.<LuCI.ui.menu.MenuNode>} +

    + + + + +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    node + + +LuCI.ui.menu.MenuNode + + + + + + + optional + + + + + +

    The menu node to retrieve the children for. Defaults to the menu's +internal root node if omitted.

    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + Array.<LuCI.ui.menu.MenuNode> + + + Returns an array of child menu nodes.
    + + + + +
    + + + +
    +
    +

    + + load(){Promise.<LuCI.ui.menu.MenuNode>} +

    + + + + +
    + + +
    +
    + + +
    +

    Load and cache current menu tree.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + + + + + + + + + + + + + + + + + + + +
    TypeDescription
    + + Promise.<LuCI.ui.menu.MenuNode> + + + Returns a promise resolving to the root element of the menu tree.
    + + + + +
    + +
    + + + +

    Type Definitions

    + +
    + +
    +
    +

    LuCI.ui.menu.MenuNodeObject

    +
    + + +
    +
    + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    name + + +string + + + + + + + +

    The internal name of the node, as used in the URL

    order + + +number + + + + + + + +

    The sort index of the menu node

    title + + +string + + + + + + <optional>
    + + + +

    The title of the menu node, null if the node should be hidden

    boolean + + +satisified + + + + + + + +

    Boolean indicating whether the menu enries dependencies are satisfied

    boolean + + +readonly + + + + + + <optional>
    + + + +

    Boolean indicating whether the menu entries underlying ACLs are readonly

    children + + +Array.<LuCI.ui.menu.MenuNode> + + + + + + <optional>
    + + + +

    Array of child menu nodes.

    + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + +
    + + + + + +
    + +
    + + + + + + + +
    + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time) +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/jsapi/LuCI.ui.tabs.html b/docs/jsapi/LuCI.ui.tabs.html index c25247ea96..e87d8b9665 100644 --- a/docs/jsapi/LuCI.ui.tabs.html +++ b/docs/jsapi/LuCI.ui.tabs.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3348,7 +3466,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3433,7 +3551,7 @@ external JavaScript, use L.require("ui").then(...) and ac @@ -3562,7 +3680,7 @@ DOM node.

    @@ -3715,7 +3833,7 @@ DOM node.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.view.html b/docs/jsapi/LuCI.view.html index 1ddfca80be..1aac99ea0b 100644 --- a/docs/jsapi/LuCI.view.html +++ b/docs/jsapi/LuCI.view.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3343,7 +3461,7 @@ set of methods to inherit from.

    @@ -3428,7 +3546,7 @@ set of methods to inherit from.

    @@ -3541,7 +3659,7 @@ methods are overwritten with null. @@ -3705,7 +3823,7 @@ is reenabled. @@ -3869,7 +3987,7 @@ is reenabled. @@ -4035,7 +4153,7 @@ is reenabled. @@ -4145,7 +4263,7 @@ the default implementation does nothing.

    @@ -4319,7 +4437,7 @@ to a Node value.
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/LuCI.xhr.html b/docs/jsapi/LuCI.xhr.html index 9fb4a89af0..776abbad2e 100644 --- a/docs/jsapi/LuCI.xhr.html +++ b/docs/jsapi/LuCI.xhr.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3346,7 +3464,7 @@ request handling.

    @@ -3433,7 +3551,7 @@ request handling.

    @@ -3507,7 +3625,7 @@ request handling.

    @@ -3610,7 +3728,7 @@ already completed. @@ -3687,7 +3805,7 @@ finishes or timed out.

    @@ -3930,7 +4048,7 @@ finishes or timed out.

    @@ -4173,7 +4291,7 @@ finishes or timed out.

    @@ -4283,7 +4401,7 @@ when invoked.

    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/form.js.html b/docs/jsapi/form.js.html index f266a1c27c..a3c8a15480 100644 --- a/docs/jsapi/form.js.html +++ b/docs/jsapi/form.js.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3345,17 +3463,7 @@ var CBIJSONConfig = baseclass.extend({ if (!data.hasOwnProperty(sectiontype)) continue; - if (L.isObject(data[sectiontype])) { - this.data[sectiontype] = Object.assign(data[sectiontype], { - '.anonymous': false, - '.name': sectiontype, - '.type': sectiontype - }); - - section_ids.push(sectiontype); - num_sections++; - } - else if (Array.isArray(data[sectiontype])) { + if (Array.isArray(data[sectiontype])) { for (var i = 0, index = 0; i < data[sectiontype].length; i++) { var item = data[sectiontype][i], anonymous, name; @@ -3383,6 +3491,16 @@ var CBIJSONConfig = baseclass.extend({ }); } } + else if (L.isObject(data[sectiontype])) { + this.data[sectiontype] = Object.assign(data[sectiontype], { + '.anonymous': false, + '.name': sectiontype, + '.type': sectiontype + }); + + section_ids.push(sectiontype); + num_sections++; + } } section_ids.sort(L.bind(function(a, b) { @@ -3849,12 +3967,15 @@ var CBIMap = CBIAbstractElement.extend(/** @lends LuCI.form.Map.prototype */ { * an error. */ load: function() { - var doCheckACL = (!(this instanceof CBIJSONMap) && this.readonly == null); + var doCheckACL = (!(this instanceof CBIJSONMap) && this.readonly == null), + loadTasks = [ doCheckACL ? callSessionAccess('uci', this.config, 'write') : true ], + configs = this.parsechain || [ this.config ]; - return Promise.all([ - doCheckACL ? callSessionAccess('uci', this.config, 'write') : true, - this.data.load(this.parsechain || [ this.config ]) - ]).then(L.bind(function(res) { + loadTasks.push.apply(loadTasks, configs.map(L.bind(function(config, i) { + return i ? L.resolveDefault(this.data.load(config)) : this.data.load(config); + }, this))); + + return Promise.all(loadTasks).then(L.bind(function(res) { if (res[0] === false) this.readonly = true; @@ -3918,7 +4039,7 @@ var CBIMap = CBIAbstractElement.extend(/** @lends LuCI.form.Map.prototype */ { E('p', {}, [ _('An error occurred while saving the form:') ]), E('p', {}, [ E('em', { 'style': 'white-space:pre' }, [ e.message ]) ]), E('div', { 'class': 'right' }, [ - E('button', { 'click': ui.hideModal }, [ _('Dismiss') ]) + E('button', { 'class': 'btn', 'click': ui.hideModal }, [ _('Dismiss') ]) ]) ]); } @@ -4369,6 +4490,138 @@ var CBIAbstractSection = CBIAbstractElement.extend(/** @lends LuCI.form.Abstract return obj; }, + /** + * Query underlying option configuration values. + * + * This function is sensitive to the amount of arguments passed to it; + * if only one argument is specified, the configuration values of all + * options within this section are returned as dictionary. + * + * If both the section ID and an option name are supplied, this function + * returns the configuration value of the specified option only. + * + * @param {string} section_id + * The configuration section ID + * + * @param {string} [option] + * The name of the option to query + * + * @returns {null|string|string[]|Object<string, null|string|string[]>} + * Returns either a dictionary of option names and their corresponding + * configuration values or just a single configuration value, depending + * on the amount of passed arguments. + */ + cfgvalue: function(section_id, option) { + var rv = (arguments.length == 1) ? {} : null; + + for (var i = 0, o; (o = this.children[i]) != null; i++) + if (rv) + rv[o.option] = o.cfgvalue(section_id); + else if (o.option == option) + return o.cfgvalue(section_id); + + return rv; + }, + + /** + * Query underlying option widget input values. + * + * This function is sensitive to the amount of arguments passed to it; + * if only one argument is specified, the widget input values of all + * options within this section are returned as dictionary. + * + * If both the section ID and an option name are supplied, this function + * returns the widget input value of the specified option only. + * + * @param {string} section_id + * The configuration section ID + * + * @param {string} [option] + * The name of the option to query + * + * @returns {null|string|string[]|Object<string, null|string|string[]>} + * Returns either a dictionary of option names and their corresponding + * widget input values or just a single widget input value, depending + * on the amount of passed arguments. + */ + formvalue: function(section_id, option) { + var rv = (arguments.length == 1) ? {} : null; + + for (var i = 0, o; (o = this.children[i]) != null; i++) { + var func = this.map.root ? this.children[i].formvalue : this.children[i].cfgvalue; + + if (rv) + rv[o.option] = func.call(o, section_id); + else if (o.option == option) + return func.call(o, section_id); + } + + return rv; + }, + + /** + * Obtain underlying option LuCI.ui widget instances. + * + * This function is sensitive to the amount of arguments passed to it; + * if only one argument is specified, the LuCI.ui widget instances of all + * options within this section are returned as dictionary. + * + * If both the section ID and an option name are supplied, this function + * returns the LuCI.ui widget instance value of the specified option only. + * + * @param {string} section_id + * The configuration section ID + * + * @param {string} [option] + * The name of the option to query + * + * @returns {null|LuCI.ui.AbstractElement|Object<string, null|LuCI.ui.AbstractElement>} + * Returns either a dictionary of option names and their corresponding + * widget input values or just a single widget input value, depending + * on the amount of passed arguments. + */ + getUIElement: function(section_id, option) { + var rv = (arguments.length == 1) ? {} : null; + + for (var i = 0, o; (o = this.children[i]) != null; i++) + if (rv) + rv[o.option] = o.getUIElement(section_id); + else if (o.option == option) + return o.getUIElement(section_id); + + return rv; + }, + + /** + * Obtain underlying option objects. + * + * This function is sensitive to the amount of arguments passed to it; + * if no option name is specified, all options within this section are + * returned as dictionary. + * + * If an option name is supplied, this function returns the matching + * LuCI.form.AbstractValue instance only. + * + * @param {string} [option] + * The name of the option object to obtain + * + * @returns {null|LuCI.form.AbstractValue|Object<string, LuCI.form.AbstractValue>} + * Returns either a dictionary of option names and their corresponding + * option instance objects or just a single object instance value, + * depending on the amount of passed arguments. + */ + getOption: function(option) { + var rv = (arguments.length == 0) ? {} : null; + + for (var i = 0, o; (o = this.children[i]) != null; i++) + if (rv) + rv[o.option] = o; + else if (o.option == option) + return o; + + return rv; + }, + /** @private */ renderUCISection: function(section_id) { var renderTasks = []; @@ -4447,6 +4700,9 @@ var CBIAbstractSection = CBIAbstractElement.extend(/** @lends LuCI.form.Abstract var isEqual = function(x, y) { + if (typeof(y) == 'object' && y instanceof RegExp) + return (x == null) ? false : y.test(x); + if (x != null && y != null && typeof(x) != typeof(y)) return false; @@ -4686,6 +4942,21 @@ var CBIAbstractValue = CBIAbstractElement.extend(/** @lends LuCI.form.AbstractVa * @default null */ + /** + * Register a custom value change handler. + * + * If this property is set to a function value, the function is invoked + * whenever the value of the underlying UI input element is changing. + * + * The invoked handler function will receive the DOM click element as + * first and the underlying configuration section ID as well as the input + * value as second and third argument respectively. + * + * @name LuCI.form.AbstractValue.prototype#onchange + * @type function + * @default null + */ + /** * Add a dependency contraint to the option. * @@ -4743,6 +5014,10 @@ var CBIAbstractValue = CBIAbstractElement.extend(/** @lends LuCI.form.AbstractVa * Equivalent to the previous example. * </li> * <li> + * <code>opt.depends({ foo: /test/ })</code><br> + * Require the value of `foo` to match the regular expression `/test/`. + * </li> + * <li> * <code>opt.depends({ foo: "test", bar: "qrx" })</code><br> * Require the value of `foo` to be `test` and the value of `bar` to be * `qrx`. @@ -4764,11 +5039,11 @@ var CBIAbstractValue = CBIAbstractElement.extend(/** @lends LuCI.form.AbstractVa * </li> * </ul> * - * @param {string|Object<string, string|boolean>} optionname_or_depends + * @param {string|Object<string, string|RegExp>} optionname_or_depends * The name of the option to depend on or an object describing multiple * dependencies which must be satified (a logical "and" expression). * - * @param {string} optionvalue + * @param {string} optionvalue|RegExp * When invoked with a plain option name as first argument, this parameter * specifies the expected value. In case an object is passed as first * argument, this parameter is ignored. @@ -5092,6 +5367,10 @@ var CBIAbstractValue = CBIAbstractElement.extend(/** @lends LuCI.form.AbstractVa if (field && field.classList.contains('hidden') == active) { field.classList[active ? 'remove' : 'add']('hidden'); + + if (dom.matches(field.parentNode, '.td.cbi-value-field')) + field.parentNode.classList[active ? 'remove' : 'add']('inactive'); + return true; } @@ -5583,6 +5862,16 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p * @default false */ + /** + * If set to `true`, the header row with the options descriptions will + * not be displayed. By default, descriptions row is automatically displayed + * when at least one option has a description. + * + * @name LuCI.form.TableSection.prototype#nodescriptions + * @type boolean + * @default false + */ + /** * The `TableSection` implementation does not support option tabbing, so * its implementation of `tab()` will always throw an exception when @@ -5720,7 +6009,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p trEls.appendChild(trEl); } - if (has_descriptions) { + if (has_descriptions && !this.nodescriptions) { var trEl = E('div', { 'class': 'tr cbi-section-table-descr ' + anon_class }); @@ -5739,7 +6028,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p (typeof(opt.width) == 'number') ? opt.width+'px' : opt.width; } - if (this.sortable || this.extedit || this.addremove || has_more) + if (this.sortable || this.extedit || this.addremove || has_more || has_action) trEl.appendChild(E('div', { 'class': 'th cbi-section-table-cell cbi-section-actions' })); @@ -5915,7 +6204,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p /** @private */ handleModalSave: function(modalMap, ev) { - return modalMap.save() + return modalMap.save(null, true) .then(L.bind(this.map.load, this.map)) .then(L.bind(this.map.reset, this.map)) .then(ui.hideModal) @@ -6414,6 +6703,20 @@ var CBIValue = CBIAbstractValue.extend(/** @lends LuCI.form.Value.prototype */ { .then(this.renderFrame.bind(this, section_id, in_table, option_index)); }, + /** @private */ + handleValueChange: function(section_id, state, ev) { + if (typeof(this.onchange) != 'function') + return; + + var value = this.formvalue(section_id); + + if (isEqual(value, state.previousValue)) + return; + + state.previousValue = value; + this.onchange.call(this, ev, section_id, value); + }, + /** @private */ renderFrame: function(section_id, in_table, option_index, nodes) { var config_name = this.uciconfig || this.section.uciconfig || this.map.config, @@ -6483,6 +6786,9 @@ var CBIValue = CBIAbstractValue.extend(/** @lends LuCI.form.Value.prototype */ { if (depend_list && depend_list.length) optionEl.classList.add('hidden'); + optionEl.addEventListener('widget-change', + L.bind(this.handleValueChange, this, section_id, {})); + optionEl.addEventListener('widget-change', L.bind(this.map.checkDepends, this.map)); @@ -6620,6 +6926,7 @@ var CBIListValue = CBIValue.extend(/** @lends LuCI.form.ListValue.prototype */ { __init__: function() { this.super('__init__', arguments); this.widget = 'select'; + this.orientation = 'horizontal'; this.deplist = []; }, @@ -6631,6 +6938,29 @@ var CBIListValue = CBIValue.extend(/** @lends LuCI.form.ListValue.prototype */ { * @default null */ + /** + * Set the type of the underlying form controls. + * + * May be one of `select` or `radio`. If set to `select`, an HTML + * select element is rendered, otherwise a collection of `radio` + * elements is used. + * + * @name LuCI.form.ListValue.prototype#widget + * @type string + * @default select + */ + + /** + * Set the orientation of the underlying radio or checkbox elements. + * + * May be one of `horizontal` or `vertical`. Only applies to non-select + * widget types. + * + * @name LuCI.form.ListValue.prototype#orientation + * @type string + * @default horizontal + */ + /** @private */ renderWidget: function(section_id, option_index, cfgvalue) { var choices = this.transformChoices(); @@ -6638,7 +6968,9 @@ var CBIListValue = CBIValue.extend(/** @lends LuCI.form.ListValue.prototype */ { id: this.cbid(section_id), size: this.size, sort: this.keylist, + widget: this.widget, optional: this.optional, + orientation: this.orientation, placeholder: this.placeholder, validate: L.bind(this.validate, this, section_id), disabled: (this.readonly != null) ? this.readonly : this.map.readonly @@ -7372,22 +7704,22 @@ var CBISectionValue = CBIValue.extend(/** @lends LuCI.form.SectionValue.prototyp /** @override */ load: function(section_id) { - return this.subsection.load(); + return this.subsection.load(section_id); }, /** @override */ parse: function(section_id) { - return this.subsection.parse(); + return this.subsection.parse(section_id); }, /** @private */ renderWidget: function(section_id, option_index, cfgvalue) { - return this.subsection.render(); + return this.subsection.render(section_id); }, /** @private */ checkDepends: function(section_id) { - this.subsection.checkDepends(); + this.subsection.checkDepends(section_id); return CBIValue.prototype.checkDepends.apply(this, [ section_id ]); }, @@ -7512,7 +7844,7 @@ return baseclass.extend(/** @lends LuCI.form.prototype */ {
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/fs.js.html b/docs/jsapi/fs.js.html index 739d99b4d0..3645a8bcc5 100644 --- a/docs/jsapi/fs.js.html +++ b/docs/jsapi/fs.js.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3757,7 +3875,7 @@ return FileSystem;
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/index.html b/docs/jsapi/index.html index 52eed774fd..a31218bee1 100644 --- a/docs/jsapi/index.html +++ b/docs/jsapi/index.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3344,7 +3462,7 @@
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/luci.js.html b/docs/jsapi/luci.js.html index 0154165c0a..725e97edfc 100644 --- a/docs/jsapi/luci.js.html +++ b/docs/jsapi/luci.js.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -5164,6 +5282,16 @@ return env.sessionid || '00000000000000000000000000000000'; }, + /** + * Retrieve the current session token. + * + * @returns {string|null} + * Returns the current session token or `null` if not logged in. + */ + getToken: function() { + return env.token || null; + }, + /** * Retrieve data from the local session storage. * @@ -5770,12 +5898,19 @@ args = ''; /* find require statements in source */ - for (var i = 0, off = -1, quote = -1, esc = false; i < source.length; i++) { + for (var i = 0, off = -1, prev = -1, quote = -1, comment = -1, esc = false; i < source.length; i++) { var chr = source.charCodeAt(i); if (esc) { esc = false; } + else if (comment != -1) { + if ((comment == 47 && chr == 10) || (comment == 42 && prev == 42 && chr == 47)) + comment = -1; + } + else if ((chr == 42 || chr == 47) && prev == 47) { + comment = chr; + } else if (chr == 92) { esc = true; } @@ -5799,6 +5934,8 @@ off = i + 1; quote = chr; } + + prev = chr; } /* load dependencies and instantiate class */ @@ -6727,7 +6864,7 @@
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/network.js.html b/docs/jsapi/network.js.html index 9fc6166873..19b6166bc8 100644 --- a/docs/jsapi/network.js.html +++ b/docs/jsapi/network.js.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -4542,6 +4660,22 @@ Network = baseclass.extend(/** @lends LuCI.network.prototype */ { devices[netid] = this.instantiateDevice(netid); } + /* find uci declared devices */ + var uciDevices = uci.sections('network', 'device'); + + for (var i = 0; i < uciDevices.length; i++) { + var type = uciDevices[i].type, + name = uciDevices[i].name; + + if (!type || !name || devices.hasOwnProperty(name)) + continue; + + if (type == 'bridge') + _state.isBridge[name] = true; + + devices[name] = this.instantiateDevice(name); + } + var rv = []; for (var netdev in devices) @@ -7474,7 +7608,7 @@ return Network;
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/rpc.js.html b/docs/jsapi/rpc.js.html index 7135ea76bd..6668e4635a 100644 --- a/docs/jsapi/rpc.js.html +++ b/docs/jsapi/rpc.js.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3816,7 +3934,7 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ {
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/uci.js.html b/docs/jsapi/uci.js.html index 2ea13bfd12..bfdf47e828 100644 --- a/docs/jsapi/uci.js.html +++ b/docs/jsapi/uci.js.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3619,7 +3737,8 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { * The ID of the section to remove. */ remove: function(conf, sid) { - var n = this.state.creates, + var v = this.state.values, + n = this.state.creates, c = this.state.changes, d = this.state.deletes; @@ -3627,7 +3746,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { if (n[conf] && n[conf][sid]) { delete n[conf][sid]; } - else { + else if (v[conf] && v[conf][sid]) { if (c[conf]) delete c[conf][sid]; @@ -3719,7 +3838,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { for (var s in v) if (!d || d[s] !== true) if (!type || v[s]['.type'] == type) - sa.push(Object.assign({ }, v[s], c ? c[s] : undefined)); + sa.push(Object.assign({ }, v[s], c ? c[s] : null)); if (n) for (var s in n) @@ -3779,7 +3898,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { /* requested option in a just created section */ if (n[conf] && n[conf][sid]) { if (!n[conf]) - return undefined; + return null; if (opt == null) return n[conf][sid]; @@ -3790,14 +3909,9 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { /* requested an option value */ if (opt != null) { /* check whether option was deleted */ - if (d[conf] && d[conf][sid]) { - if (d[conf][sid] === true) - return undefined; - - for (var i = 0; i < d[conf][sid].length; i++) - if (d[conf][sid][i] == opt) - return undefined; - } + if (d[conf] && d[conf][sid]) + if (d[conf][sid] === true || d[conf][sid][opt]) + return null; /* check whether option was changed */ if (c[conf] && c[conf][sid] && c[conf][sid][opt] != null) @@ -3807,14 +3921,14 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { if (v[conf] && v[conf][sid]) return v[conf][sid][opt]; - return undefined; + return null; } /* requested an entire section */ if (v[conf]) return v[conf][sid]; - return undefined; + return null; }, /** @@ -3872,28 +3986,39 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { /* undelete option */ if (d[conf] && d[conf][sid]) { - d[conf][sid] = d[conf][sid].filter(function(o) { return o !== opt }); + var empty = true; + + for (var key in d[conf][sid]) { + if (key != opt && d[conf][sid].hasOwnProperty(key)) { + empty = false; + break; + } + } - if (d[conf][sid].length == 0) + if (empty) delete d[conf][sid]; + else + delete d[conf][sid][opt]; } c[conf][sid][opt] = val; } else { - /* only delete in existing sections */ - if (!(v[conf] && v[conf][sid] && v[conf][sid].hasOwnProperty(opt)) && - !(c[conf] && c[conf][sid] && c[conf][sid].hasOwnProperty(opt))) - return; + /* revert any change for to-be-deleted option */ + if (c[conf] && c[conf][sid]) + delete c[conf][sid][opt]; - if (!d[conf]) - d[conf] = { }; + /* only delete existing options */ + if (v[conf] && v[conf][sid] && v[conf][sid].hasOwnProperty(opt)) { + if (!d[conf]) + d[conf] = { }; - if (!d[conf][sid]) - d[conf][sid] = [ ]; + if (!d[conf][sid]) + d[conf][sid] = { }; - if (d[conf][sid] !== true) - d[conf][sid].push(opt); + if (d[conf][sid] !== true) + d[conf][sid][opt] = true; + } } }, @@ -4109,6 +4234,20 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { pkgs = { }, tasks = []; + if (d) + for (var conf in d) { + for (var sid in d[conf]) { + var o = d[conf][sid]; + + if (o === true) + tasks.push(self.callDelete(conf, sid, null)); + else + tasks.push(self.callDelete(conf, sid, Object.keys(o))); + } + + pkgs[conf] = true; + } + if (n) for (var conf in n) { for (var sid in n[conf]) { @@ -4141,16 +4280,6 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { pkgs[conf] = true; } - if (d) - for (var conf in d) { - for (var sid in d[conf]) { - var o = d[conf][sid]; - tasks.push(self.callDelete(conf, sid, (o === true) ? null : o)); - } - - pkgs[conf] = true; - } - if (r) for (var conf in r) pkgs[conf] = true; @@ -4282,7 +4411,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ {
    - Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) + Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
    diff --git a/docs/jsapi/ui.js.html b/docs/jsapi/ui.js.html index b58cf93f94..c8df7d7e4d 100644 --- a/docs/jsapi/ui.js.html +++ b/docs/jsapi/ui.js.html @@ -292,8 +292,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -333,6 +341,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -423,6 +433,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -513,6 +525,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -599,6 +613,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -693,6 +709,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -783,6 +801,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -873,6 +893,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • parentoption
  • rowcolors
  • @@ -900,8 +922,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -939,6 +969,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1071,8 +1103,12 @@ Members +
  • orientation
  • +
  • size
  • +
  • widget
  • +
  • datatype
  • default
  • @@ -1081,6 +1117,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1225,6 +1263,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1324,8 +1364,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1367,6 +1415,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1457,6 +1507,8 @@
  • modaltitle
  • +
  • nodescriptions
  • +
  • rowcolors
  • sectiontitle
  • @@ -1492,8 +1544,16 @@
  • append
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1539,6 +1599,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • password
  • @@ -1642,8 +1704,16 @@
  • cfgsections
  • +
  • cfgvalue
  • +
  • filter
  • +
  • formvalue
  • + +
  • getOption
  • + +
  • getUIElement
  • +
  • load
  • option
  • @@ -1687,6 +1757,8 @@
  • modalonly
  • +
  • onchange
  • +
  • optional
  • readonly
  • @@ -2520,6 +2592,8 @@
  • getLocalData
  • +
  • getToken
  • +
  • setLocalData
  • @@ -2670,6 +2744,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2678,6 +2754,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2748,6 +2826,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isChecked
  • isValid
  • @@ -2758,6 +2838,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2798,12 +2880,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2842,12 +2928,16 @@
  • closeAllDropdowns
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • triggerValidation
  • @@ -2888,6 +2978,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2896,6 +2988,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2936,6 +3030,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2944,6 +3040,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -2980,6 +3078,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -2988,6 +3088,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3020,6 +3122,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3028,6 +3132,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3098,6 +3204,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3106,6 +3214,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3170,6 +3280,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3178,6 +3290,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3214,6 +3328,8 @@
  • getValue
  • +
  • isChanged
  • +
  • isValid
  • registerEvents
  • @@ -3222,6 +3338,8 @@
  • setChangeEvents
  • +
  • setPlaceholder
  • +
  • setUpdateEvents
  • setValue
  • @@ -3419,6 +3537,47 @@ var UIElement = baseclass.extend(/** @lends LuCI.ui.AbstractElement.prototype */ this.node.value = value; }, + /** + * Set the current placeholder value of the input widget. + * + * @instance + * @memberof LuCI.ui.AbstractElement + * @param {string|string[]|null} value + * The placeholder to set for the input element. Only applicable to text + * inputs, not to radio buttons, selects or similar. + */ + setPlaceholder: function(value) { + var node = this.node ? this.node.querySelector('input,textarea') : null; + if (node) { + switch (node.getAttribute('type') || 'text') { + case 'password': + case 'search': + case 'tel': + case 'text': + case 'url': + if (value != null && value != '') + node.setAttribute('placeholder', value); + else + node.removeAttribute('placeholder'); + } + } + }, + + /** + * Check whether the input value was altered by the user. + * + * @instance + * @memberof LuCI.ui.AbstractElement + * @returns {boolean} + * Returns `true` if the input value has been altered by the user or + * `false` if it is unchaged. Note that if the user modifies the initial + * value and changes it back to the original state, it is still reported + * as changed. + */ + isChanged: function() { + return (this.node ? this.node.getAttribute('data-changed') : null) == 'true'; + }, + /** * Check whether the current input value is valid. * @@ -3628,48 +3787,45 @@ var UITextfield = UIElement.extend(/** @lends LuCI.ui.Textfield.prototype */ { /** @override */ render: function() { var frameEl = E('div', { 'id': this.options.id }); - - if (this.options.password) { - frameEl.classList.add('nowrap'); - frameEl.appendChild(E('input', { - 'type': 'password', - 'style': 'position:absolute; left:-100000px', - 'aria-hidden': true, - 'tabindex': -1, - 'name': this.options.name ? 'password.%s'.format(this.options.name) : null - })); - } - - frameEl.appendChild(E('input', { + var inputEl = E('input', { 'id': this.options.id ? 'widget.' + this.options.id : null, 'name': this.options.name, - 'type': this.options.password ? 'password' : 'text', + 'type': 'text', 'class': this.options.password ? 'cbi-input-password' : 'cbi-input-text', 'readonly': this.options.readonly ? '' : null, 'disabled': this.options.disabled ? '' : null, 'maxlength': this.options.maxlength, 'placeholder': this.options.placeholder, 'value': this.value, - })); + }); - if (this.options.password) - frameEl.appendChild(E('button', { - 'class': 'cbi-button cbi-button-neutral', - 'title': _('Reveal/hide password'), - 'aria-label': _('Reveal/hide password'), - 'click': function(ev) { - var e = this.previousElementSibling; - e.type = (e.type === 'password') ? 'text' : 'password'; - ev.preventDefault(); - } - }, '∗')); + if (this.options.password) { + frameEl.appendChild(E('div', { 'class': 'control-group' }, [ + inputEl, + E('button', { + 'class': 'cbi-button cbi-button-neutral', + 'title': _('Reveal/hide password'), + 'aria-label': _('Reveal/hide password'), + 'click': function(ev) { + var e = this.previousElementSibling; + e.type = (e.type === 'password') ? 'text' : 'password'; + ev.preventDefault(); + } + }, '∗') + ])); + + window.requestAnimationFrame(function() { inputEl.type = 'password' }); + } + else { + frameEl.appendChild(inputEl); + } return this.bind(frameEl); }, /** @private */ bind: function(frameEl) { - var inputEl = frameEl.childNodes[+!!this.options.password]; + var inputEl = frameEl.querySelector('input'); this.node = frameEl; @@ -3683,13 +3839,13 @@ var UITextfield = UIElement.extend(/** @lends LuCI.ui.Textfield.prototype */ { /** @override */ getValue: function() { - var inputEl = this.node.childNodes[+!!this.options.password]; + var inputEl = this.node.querySelector('input'); return inputEl.value; }, /** @override */ setValue: function(value) { - var inputEl = this.node.childNodes[+!!this.options.password]; + var inputEl = this.node.querySelector('input'); inputEl.value = value; } }); @@ -3762,7 +3918,8 @@ var UITextarea = UIElement.extend(/** @lends LuCI.ui.Textarea.prototype */ { /** @override */ render: function() { - var frameEl = E('div', { 'id': this.options.id }), + var style = !this.options.cols ? 'width:100%' : null, + frameEl = E('div', { 'id': this.options.id, 'style': style }), value = (this.value != null) ? String(this.value) : ''; frameEl.appendChild(E('textarea', { @@ -3772,7 +3929,7 @@ var UITextarea = UIElement.extend(/** @lends LuCI.ui.Textarea.prototype */ { 'readonly': this.options.readonly ? '' : null, 'disabled': this.options.disabled ? '' : null, 'placeholder': this.options.placeholder, - 'style': !this.options.cols ? 'width:100%' : null, + 'style': style, 'cols': this.options.cols, 'rows': this.options.rows, 'wrap': this.options.wrap ? '' : null @@ -4029,7 +4186,7 @@ var UISelect = UIElement.extend(/** @lends LuCI.ui.Select.prototype */ { else if (Array.isArray(this.options.sort)) keys = this.options.sort; - if (this.options.widget == 'select') { + if (this.options.widget != 'radio' && this.options.widget != 'checkbox') { frameEl.appendChild(E('select', { 'id': this.options.id ? 'widget.' + this.options.id : null, 'name': this.options.name, @@ -4056,12 +4213,14 @@ var UISelect = UIElement.extend(/** @lends LuCI.ui.Select.prototype */ { } } else { - var brEl = (this.options.orientation === 'horizontal') ? document.createTextNode(' ') : E('br'); + var brEl = (this.options.orientation === 'horizontal') ? document.createTextNode(' \xa0 ') : E('br'); for (var i = 0; i < keys.length; i++) { - frameEl.appendChild(E('label', {}, [ + frameEl.appendChild(E('span', { + 'class': 'cbi-%s'.format(this.options.multiple ? 'checkbox' : 'radio') + }, [ E('input', { - 'id': this.options.id ? 'widget.' + this.options.id : null, + 'id': this.options.id ? 'widget.%s.%d'.format(this.options.id, i) : null, 'name': this.options.id || this.options.name, 'type': this.options.multiple ? 'checkbox' : 'radio', 'class': this.options.multiple ? 'cbi-input-checkbox' : 'cbi-input-radio', @@ -4069,11 +4228,15 @@ var UISelect = UIElement.extend(/** @lends LuCI.ui.Select.prototype */ { 'checked': (this.values.indexOf(keys[i]) > -1) ? '' : null, 'disabled': this.options.disabled ? '' : null }), - this.choices[keys[i]] || keys[i] + E('label', { 'for': this.options.id ? 'widget.%s.%d'.format(this.options.id, i) : null }), + E('span', { + 'click': function(ev) { + ev.currentTarget.previousElementSibling.previousElementSibling.click(); + } + }, [ this.choices[keys[i]] || keys[i] ]) ])); - if (i + 1 == this.options.size) - frameEl.appendChild(brEl); + frameEl.appendChild(brEl.cloneNode()); } } @@ -4084,7 +4247,7 @@ var UISelect = UIElement.extend(/** @lends LuCI.ui.Select.prototype */ { bind: function(frameEl) { this.node = frameEl; - if (this.options.widget == 'select') { + if (this.options.widget != 'radio' && this.options.widget != 'checkbox') { this.setUpdateEvents(frameEl.firstChild, 'change', 'click', 'blur'); this.setChangeEvents(frameEl.firstChild, 'change'); } @@ -4103,10 +4266,10 @@ var UISelect = UIElement.extend(/** @lends LuCI.ui.Select.prototype */ { /** @override */ getValue: function() { - if (this.options.widget == 'select') + if (this.options.widget != 'radio' && this.options.widget != 'checkbox') return this.node.firstChild.value; - var radioEls = frameEl.querySelectorAll('input[type="radio"]'); + var radioEls = this.node.querySelectorAll('input[type="radio"]'); for (var i = 0; i < radioEls.length; i++) if (radioEls[i].checked) return radioEls[i].value; @@ -4116,7 +4279,7 @@ var UISelect = UIElement.extend(/** @lends LuCI.ui.Select.prototype */ { /** @override */ setValue: function(value) { - if (this.options.widget == 'select') { + if (this.options.widget != 'radio' && this.options.widget != 'checkbox') { if (value == null) value = ''; @@ -4490,7 +4653,7 @@ var UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { ul.style.maxHeight = (vpHeight * 0.5) + 'px'; ul.style.WebkitOverflowScrolling = 'touch'; - function getScrollParent(element) { + var getScrollParent = function(element) { var parent = element, style = getComputedStyle(element), excludeStaticParent = (style.position === 'absolute'); @@ -5925,21 +6088,24 @@ var UIFileUpload = UIElement.extend(/** @lends LuCI.ui.FileUpload.prototype */ { switch (type) { case 'symlink': return E('img', { - 'src': L.resource('cbi/link.gif'), + 'src': L.resource('cbi/link.svg'), + 'width': 16, 'title': _('Symbolic link'), 'class': 'middle' }); case 'directory': return E('img', { - 'src': L.resource('cbi/folder.gif'), + 'src': L.resource('cbi/folder.svg'), + 'width': 16, 'title': _('Directory'), 'class': 'middle' }); default: return E('img', { - 'src': L.resource('cbi/file.gif'), + 'src': L.resource('cbi/file.svg'), + 'width': 16, 'title': _('File'), 'class': 'middle' }); @@ -6262,6 +6428,27 @@ var UIFileUpload = UIElement.extend(/** @lends LuCI.ui.FileUpload.prototype */ { } }); + +function scrubMenu(node) { + var hasSatisfiedChild = false; + + if (L.isObject(node.children)) { + for (var k in node.children) { + var child = scrubMenu(node.children[k]); + + if (child.title) + hasSatisfiedChild = hasSatisfiedChild || child.satisfied; + } + } + + if (L.isObject(node.action) && + node.action.type == 'firstchild' && + hasSatisfiedChild == false) + node.satisfied = false; + + return node; +}; + /** * Handle menu. * @@ -6297,7 +6484,7 @@ var UIMenu = baseclass.singleton(/** @lends LuCI.ui.menu.prototype */ { if (!L.isObject(this.menu)) { this.menu = request.get(L.url('admin/menu')).then(L.bind(function(menu) { - this.menu = menu.json(); + this.menu = scrubMenu(menu.json()); session.setLocalData('menu', this.menu); return this.menu; @@ -6343,7 +6530,13 @@ var UIMenu = baseclass.singleton(/** @lends LuCI.ui.menu.prototype */ { } return children.sort(function(a, b) { - return ((a.order || 1000) - (b.order || 1000)); + var wA = a.order || 1000, + wB = b.order || 1000; + + if (wA != wB) + return wA - wB; + + return a.name > b.name; }); } }); @@ -6425,6 +6618,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { dom.append(dlg, children); document.body.classList.add('modal-overlay-active'); + modalDiv.scrollTop = 0; return dlg; }, @@ -6609,12 +6803,23 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { } var handlerFn = (typeof(handler) == 'function') ? handler : null, - indicatorElem = indicatorDiv.querySelector('span[data-indicator="%s"]'.format(id)) || - indicatorDiv.appendChild(E('span', { + indicatorElem = indicatorDiv.querySelector('span[data-indicator="%s"]'.format(id)); + + if (indicatorElem == null) { + var beforeElem = null; + + for (beforeElem = indicatorDiv.firstElementChild; + beforeElem != null; + beforeElem = beforeElem.nextElementSibling) + if (beforeElem.getAttribute('data-indicator') > id) + break; + + indicatorElem = indicatorDiv.insertBefore(E('span', { 'data-indicator': id, 'data-clickable': handlerFn ? true : null, 'click': handlerFn - }, [''])); + }, ['']), beforeElem); + } if (label == indicatorElem.firstChild.data && style == indicatorElem.getAttribute('data-style')) return false; @@ -7732,7 +7937,7 @@ return UI;