diff --git a/docs/detailed/bi.button/general.html b/docs/detailed/bi.button/general.html new file mode 100644 index 0000000000..aba14c86e4 --- /dev/null +++ b/docs/detailed/bi.button/general.html @@ -0,0 +1,543 @@ + + + + + + + 通用按钮 · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ +
+ +
+ + + + + + + + +
+
+ +
+
+ +
+ +

通用按钮

+ + +
+ +
+
+
+ +

results matching ""

+
    + +
    +
    + +

    No results matching ""

    + +
    +
    +
    + +
    +
    + +
    + + + + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/bi.button/tooltip.html b/docs/detailed/bi.button/tooltip.html new file mode 100644 index 0000000000..8bd067d1c6 --- /dev/null +++ b/docs/detailed/bi.button/tooltip.html @@ -0,0 +1,545 @@ + + + + + + + 带提示的按钮 · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + +
    + +
    + +
    + + + + + + + + +
    +
    + +
    +
    + +
    + +

    带提示的按钮

    + + +
    + +
    +
    +
    + +

    results matching ""

    +
      + +
      +
      + +

      No results matching ""

      + +
      +
      +
      + +
      +
      + +
      + + + + +
      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/bi.multi_select_item.html b/docs/detailed/bi.multi_select_item.html new file mode 100644 index 0000000000..7c40011962 --- /dev/null +++ b/docs/detailed/bi.multi_select_item.html @@ -0,0 +1,545 @@ + + + + + + + 复选框 · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +
      + + + + + + + + +
      + +
      + +
      + + + + + + + + +
      +
      + +
      +
      + +
      + +

      复选框

      + + +
      + +
      +
      +
      + +

      results matching ""

      +
        + +
        +
        + +

        No results matching ""

        + +
        +
        +
        + +
        +
        + +
        + + + + +
        + + +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/bi.segment.html b/docs/detailed/bi.segment.html new file mode 100644 index 0000000000..a7ff019e33 --- /dev/null +++ b/docs/detailed/bi.segment.html @@ -0,0 +1,543 @@ + + + + + + + segment组件 · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        +
        + + + + + + + + +
        + +
        + +
        + + + + + + + + +
        +
        + +
        +
        + +
        + +

        segment组件

        + + +
        + +
        +
        +
        + +

        results matching ""

        +
          + +
          +
          + +

          No results matching ""

          + +
          +
          +
          + +
          +
          + +
          + + + + +
          + + +
          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/bi.single_select_item.html b/docs/detailed/bi.single_select_item.html new file mode 100644 index 0000000000..e428caafb3 --- /dev/null +++ b/docs/detailed/bi.single_select_item.html @@ -0,0 +1,545 @@ + + + + + + + 单选框 · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          +
          + + + + + + + + +
          + +
          + +
          + + + + + + + + +
          +
          + +
          +
          + +
          + +

          单选框

          + + +
          + +
          +
          +
          + +

          results matching ""

          +
            + +
            +
            + +

            No results matching ""

            + +
            +
            +
            + +
            +
            + +
            + + + + +
            + + +
            + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/node.html b/docs/detailed/node.html new file mode 100644 index 0000000000..f598a85848 --- /dev/null +++ b/docs/detailed/node.html @@ -0,0 +1,545 @@ + + + + + + + node节点 · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
            +
            + + + + + + + + +
            + +
            + +
            + + + + + + + + +
            +
            + +
            +
            + +
            + +

            node节点

            + + +
            + +
            +
            +
            + +

            results matching ""

            +
              + +
              +
              + +

              No results matching ""

              + +
              +
              +
              + +
              +
              + +
              + + + + +
              + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/table/bi.excel_table.html b/docs/detailed/table/bi.excel_table.html new file mode 100644 index 0000000000..c0f47f8391 --- /dev/null +++ b/docs/detailed/table/bi.excel_table.html @@ -0,0 +1,651 @@ + + + + + + + bi.excel_table · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + +
              + +
              + + + + + + + + +
              +
              + +
              +
              + +
              + +

              bi.excel_table

              +
              BI.createWidget({
              +  type: "bi.excel_table",
              +  element: "#wrapper",
              +  width: 500,
              +  columnSize: [200,200,200,200,200],
              +  items: [
              +    [{
              +      type: "bi.label",
              +      cls: "layout-bg1",
              +      text: "第一行第一列"
              +    }, {
              +      type: "bi.label",
              +      cls: "layout-bg2",
              +      text: "第一行第二列"
              +    }],
              +    [{
              +      type: "bi.label",
              +      cls: "layout-bg3",
              +      text: "第二行第一列"
              +    }, {
              +      type: "bi.label",
              +      cls: "layout-bg4",
              +      text: "第二行第二列"
              +    }]
              +  ] 
              +});
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              参数说明类型默认值
              isNeedResize是否需要调整大小boolfalse
              isResizeAdapt是否调整时自适应booltrue
              isNeedMerge是否需要合并单元格boolfalse
              mergeCols合并的单元格列号array[]
              mergeRule合并规则, 默认相等时合并function(row1, row2)默认row1 = row2 时合并
              columnSize单元格宽度集合array[]
              headerRowSize表头高度number37
              footerRowSize表尾高度number37
              rowSize普通单元格高度number37
              regionColumnSizeboolfalse
              items子组件array[]
              + + +
              + +
              +
              +
              + +

              results matching ""

              +
                + +
                +
                + +

                No results matching ""

                + +
                +
                +
                + +
                +
                + +
                + + + + +
                + + +
                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/table/bi.preview_table.html b/docs/detailed/table/bi.preview_table.html new file mode 100644 index 0000000000..1db19b9da5 --- /dev/null +++ b/docs/detailed/table/bi.preview_table.html @@ -0,0 +1,543 @@ + + + + + + + bi.preview_table · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                +
                + + + + + + + + +
                + +
                + +
                + + + + + + + + +
                +
                + +
                +
                + +
                + +

                bi.preview_table

                + + +
                + +
                +
                +
                + +

                results matching ""

                +
                  + +
                  +
                  + +

                  No results matching ""

                  + +
                  +
                  +
                  + +
                  +
                  + +
                  + + + + +
                  + + +
                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/table/bi.responsive_table.html b/docs/detailed/table/bi.responsive_table.html new file mode 100644 index 0000000000..e441f133ba --- /dev/null +++ b/docs/detailed/table/bi.responsive_table.html @@ -0,0 +1,545 @@ + + + + + + + bi.responsive_table · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  +
                  + + + + + + + + +
                  + +
                  + +
                  + + + + + + + + +
                  +
                  + +
                  +
                  + +
                  + +

                  bi.responsive_table

                  + + +
                  + +
                  +
                  +
                  + +

                  results matching ""

                  +
                    + +
                    +
                    + +

                    No results matching ""

                    + +
                    +
                    +
                    + +
                    +
                    + +
                    + + + + +
                    + + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/text_input/bi.clear_editor.html b/docs/detailed/text_input/bi.clear_editor.html new file mode 100644 index 0000000000..ebbc557d8b --- /dev/null +++ b/docs/detailed/text_input/bi.clear_editor.html @@ -0,0 +1,675 @@ + + + + + + + bi.clear_editor · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    +
                    + + + + + + + + +
                    + +
                    + +
                    + + + + + + + + +
                    +
                    + +
                    +
                    + +
                    + +

                    bi.clear_editor

                    +

                    带清除按钮的输入框

                    +
                    BI.createWidget({
                    +    type: 'bi.clear_editor',
                    +    cls: "bi-border",
                    +    element: '#wrapper',
                    +    width: 300,
                    +    watermark:"带清除按钮的输入框",
                    +});
                    +
                    +
                    + +

                    API

                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    参数说明类型可选值默认值
                    hgap效果相当于文本框左右padding值number4
                    vgap效果相当于文本框上下padding值number2
                    lgap效果相当于文本框left-padding值number0
                    rgap效果相当于文本框right-padding值number0
                    tgap效果相当于文本框top-padding值number0
                    bgap效果相当于文本框bottom-padding值number0
                    validationChecker输入较验函数function
                    quitChecker是否允许退出编辑函数function
                    mouseOutbooleantrue,falsefalse
                    allowBlank是否允许空值booleantrue,falsefalse
                    watermark文本框placeholderstringnull
                    value文本框默认值string
                    errorText错误提示stringnull
                    width文本框宽度number
                    height文本框高度number30
                    +

                    #

                    + + +
                    + +
                    +
                    +
                    + +

                    results matching ""

                    +
                      + +
                      +
                      + +

                      No results matching ""

                      + +
                      +
                      +
                      + +
                      +
                      + +
                      + + + + +
                      + + +
                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/text_input/bi.search_editor.html b/docs/detailed/text_input/bi.search_editor.html new file mode 100644 index 0000000000..166c9ef420 --- /dev/null +++ b/docs/detailed/text_input/bi.search_editor.html @@ -0,0 +1,688 @@ + + + + + + + bi.search_editor · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                      +
                      + + + + + + + + +
                      + +
                      + +
                      + + + + + + + + +
                      +
                      + +
                      +
                      + +
                      + +

                      bi.search_editor

                      +

                      搜索框

                      +
                      BI.createWidget({
                      +    type: 'bi.search_editor',
                      +    element: '#wrapper',
                      +    width: 300,
                      +    watermark:"搜索",
                      +});
                      +
                      +
                      + +

                      bi.small_search_editor

                      +

                      小一号的搜索框

                      +
                      height默认为24
                      +

                      BI.createWidget({
                      +    type: 'bi.search_editor',
                      +    element: '#wrapper',
                      +    width: 300,
                      +    watermark:"搜索",
                      +});
                      +
                      +
                      </div></div>

                      +

                      API

                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                      参数说明类型可选值默认值
                      hgap效果相当于文本框左右padding值number4
                      vgap效果相当于文本框上下padding值number2
                      lgap效果相当于文本框left-padding值number0
                      rgap效果相当于文本框right-padding值number0
                      tgap效果相当于文本框top-padding值number0
                      bgap效果相当于文本框bottom-padding值number0
                      validationChecker输入较验函数function
                      quitChecker是否允许退出编辑函数function
                      mouseOutbooleantrue,falsefalse
                      allowBlank是否允许空值booleantrue,falsefalse
                      watermark文本框placeholderstringnull
                      value文本框默认值string
                      errorText错误提示stringnull
                      width文本框宽度number
                      height文本框高度number30
                      +

                      #

                      + + +
                      + +
                      +
                      +
                      + +

                      results matching ""

                      +
                        + +
                        +
                        + +

                        No results matching ""

                        + +
                        +
                        +
                        + +
                        +
                        + +
                        + + + + +
                        + + +
                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/text_input/bi.text_editor.html b/docs/detailed/text_input/bi.text_editor.html new file mode 100644 index 0000000000..6a1744136f --- /dev/null +++ b/docs/detailed/text_input/bi.text_editor.html @@ -0,0 +1,710 @@ + + + + + + + bi.text_editor · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                        +
                        + + + + + + + + +
                        + +
                        + +
                        + + + + + + + + +
                        +
                        + +
                        +
                        + +
                        + +

                        bi.text_editor

                        +
                        通过鼠标或键盘输入字符
                        +

                        基础用法

                        +
                        BI.createWidget({
                        +  type: "bi.text_editor",
                        +  element: "#wrapper",
                        +  width: 200,
                        +  height: 30,
                        +  watermark:"请输入内容"
                        +});
                        +
                        +
                        + +

                        不可为空输入框

                        +
                        BI.createWidget({
                        +  type: "bi.text_editor",
                        +  element: "#wrapper",
                        +  width: 200,
                        +  height: 30,
                        +  watermark:"这个不予许空",
                        +  value: "这是一个不可为空的输入框",
                        +  allowBlank: false,
                        +  errorText:  "不允许为空"      
                        +});
                        +
                        +
                        + +

                        可为空输入框

                        +
                        BI.createWidget({
                        +  type: "bi.text_editor",
                        +  element: "#wrapper",
                        +  width: 200,
                        +  height: 30,
                        +  allowBlank: true,
                        +  errorText: "不能输入只输入a!",
                        +  validationChecker: function (v) {
                        +    if (v == "a") {
                        +      return false;
                        +    }
                        +    return true;
                        +  },
                        +});
                        +
                        +
                        + +

                        API

                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                        参数说明类型可选值默认值
                        hgap效果相当于文本框左右padding值number4
                        vgap效果相当于文本框上下padding值number2
                        lgap效果相当于文本框left-padding值number0
                        rgap效果相当于文本框right-padding值number0
                        tgap效果相当于文本框top-padding值number0
                        bgap效果相当于文本框bottom-padding值number0
                        validationChecker输入较验函数function
                        quitChecker是否允许退出编辑函数function
                        mouseOutbooleantrue,falsefalse
                        allowBlank是否允许空值booleantrue,falsefalse
                        watermark文本框placeholderstringnull
                        value文本框默认值string
                        errorText错误提示stringnull
                        width文本框宽度number
                        height文本框高度number30
                        +

                        #

                        + + +
                        + +
                        +
                        +
                        + +

                        results matching ""

                        +
                          + +
                          +
                          + +

                          No results matching ""

                          + +
                          +
                          +
                          + +
                          +
                          + +
                          + + + + +
                          + + +
                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/tree/bi.multi_tree_combo.html b/docs/detailed/tree/bi.multi_tree_combo.html new file mode 100644 index 0000000000..e5c9426b85 --- /dev/null +++ b/docs/detailed/tree/bi.multi_tree_combo.html @@ -0,0 +1,543 @@ + + + + + + + bi.multi_tree_combo · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                          +
                          + + + + + + + + +
                          + +
                          + +
                          + + + + + + + + +
                          +
                          + +
                          +
                          + +
                          + +

                          bi.multi_tree_combo

                          + + +
                          + +
                          +
                          +
                          + +

                          results matching ""

                          +
                            + +
                            +
                            + +

                            No results matching ""

                            + +
                            +
                            +
                            + +
                            +
                            + +
                            + + + + +
                            + + +
                            + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/detailed/tree/bi.switch_tree.html b/docs/detailed/tree/bi.switch_tree.html new file mode 100644 index 0000000000..92f78a82ba --- /dev/null +++ b/docs/detailed/tree/bi.switch_tree.html @@ -0,0 +1,543 @@ + + + + + + + bi.switch_tree · GitBook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                            +
                            + + + + + + + + +
                            + +
                            + +
                            + + + + + + + + +
                            +
                            + +
                            +
                            + +
                            + +

                            bi.switch_tree

                            + + +
                            + +
                            +
                            +
                            + +

                            results matching ""

                            +
                              + +
                              +
                              + +

                              No results matching ""

                              + +
                              +
                              +
                              + +
                              +
                              + +
                              + + + + +
                              + + +
                              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/gh.js b/docs/gh.js new file mode 100644 index 0000000000..d77110a6a3 --- /dev/null +++ b/docs/gh.js @@ -0,0 +1,5 @@ +const gh = require('gh-pages'); + +gh.publish('_book', () => { + console.info('upload successfully'); +}); \ No newline at end of file diff --git a/docs/gitbook/gitbook-plugin-theme-api/theme-api.css b/docs/gitbook/gitbook-plugin-theme-api/theme-api.css new file mode 100644 index 0000000000..51f8b35a83 --- /dev/null +++ b/docs/gitbook/gitbook-plugin-theme-api/theme-api.css @@ -0,0 +1,6 @@ +/*! + * Preboot v2 + * + * Open sourced under MIT license by @mdo. + * Some variables and mixins from Bootstrap (Apache 2 license). + */.api-method{margin:30px -30px}.api-method:last-of-type{margin-bottom:0}.api-method .api-method-definition{padding:0 30px}.api-method .api-method-code{padding:30px 30px 15px;background-color:#FEFEFE;border-top:1px solid #F1EFEF;border-bottom:1px solid #F1EFEF}.api-method .api-method-code pre>code{white-space:pre-wrap;white-space:-moz- pre-wrap;white-space:- pre-wrap;white-space:-o- pre-wrap;word-wrap:break-word}.api-method:after{clear:both}.book.two-columns .api-method{position:relative;width:calc(100% + 60px)}.book.two-columns .api-method:after{content:" ";display:block;visibility:hidden;clear:both}.book.two-columns .api-method .api-method-title{margin-top:0}.book.two-columns .api-method .api-method-definition{float:left;width:50%}.book.two-columns .api-method .api-method-code{position:relative;float:left;width:50%;padding:30px 30px 15px;border-left:1px solid #F1EFEF;border-top:none;border-bottom:none;transition:opacity .3s ease}.book.two-columns .page-wrapper.comments-open-from-definition .api-method-code{opacity:.1}.book-header{padding:0;position:fixed;top:0;left:0;right:0;background-color:#FFF;border-bottom:1px solid rgba(0,0,0,.07);-webkit-transition:left 250ms ease;-moz-transition:left 250ms ease;-o-transition:left 250ms ease;transition:left 250ms ease}.book.with-summary .book-header{left:300px}@media (max-width:600px){.book.with-summary .book-header{left:0}}.book-header .btn.lang-switcher{text-transform:none;font-weight:500;border-radius:0}.book-header .btn.lang-switcher.active{background-color:#03677D;color:#FFF}#book-search-results .search-results{padding:20px 30px 0}#book-search-input{padding:5px;margin-top:0}.book .book-body .page-wrapper .page-inner .comments-section{max-width:calc(100% - 40px)}.book .book-body .page-wrapper .page-inner .comments-section .comments-area{z-index:1}.book .book-body .page-wrapper.comments-open-from-definition .page-inner{left:0!important}.color-theme-3 .dropdown-menu{background-color:#2D3134;border-color:#373B3E}.color-theme-3 .dropdown-menu .dropdown-caret .caret-inner{border-bottom:9px solid #2D3134}.color-theme-3 .dropdown-menu .buttons{border-color:#373B3E}.color-theme-3 .dropdown-menu .button{color:#D0D4D7}.color-theme-3 .dropdown-menu .button:hover{color:#EEE}.book.color-theme-3 .book-header{color:#D0D4D7;background:#272B2D}.book.color-theme-3 .book-header .btn{color:#D0D4D7}.book.color-theme-3 .book-header .btn:hover{color:#EEE;background:0 0}.book.color-theme-3 .book-header .btn.lang-switcher.active{background-color:#186469}.book.color-theme-3 .book-header .btn.lang-switcher.active:hover{background-color:#186469}.book.color-theme-3 .book-header h1{color:#EEE}.book.color-theme-3 .book-body section a{color:#3EAAB1}.book.color-theme-3 .book-body section .api-method-code{color:#EEE;background-color:#272B2D}.book.color-theme-3 .book-body section .api-method-code h1,.book.color-theme-3 .book-body section .api-method-code h2,.book.color-theme-3 .book-body section .api-method-code h3,.book.color-theme-3 .book-body section .api-method-code h4,.book.color-theme-3 .book-body section .api-method-code h5,.book.color-theme-3 .book-body section .api-method-code h6{color:#fff}.book.color-theme-3 .book-body section .api-method-code h6{color:#D0D4D7}.book.color-theme-3 .book-body section .api-method-code hr{background-color:#373B3E}.book.color-theme-3 .book-body section .api-method-code blockquote{border-color:#373B3E}.book.color-theme-3 .book-body section .api-method-code code,.book.color-theme-3 .book-body section .api-method-code pre{color:#EEE;background-color:#2D3134;border-radius:3px}.book.color-theme-3 .book-body section .api-method-code table{border-collapse:separate;border:1px solid #373B3E;border-radius:3px}.book.color-theme-3 .book-body section .api-method-code table td,.book.color-theme-3 .book-body section .api-method-code table th{border:none}.book.color-theme-3 .book-body section .api-method-code table th{border-bottom:1px solid #373B3E}.book.color-theme-3 .book-body section .api-method-code table tr{color:#EEE;background-color:transparent}.book.color-theme-3 .book-body section .api-method-code table tr:nth-child(2n){background-color:#2D3134}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs{display:block;overflow-x:auto;padding:.5em;background:#474949;color:#d1d9e1}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-comment,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-quote,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-comment,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-quote{color:#969896;font-style:italic}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-addition,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-keyword,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-literal,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-selector-tag,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-type,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-addition,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-keyword,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-literal,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-selector-tag,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-type{color:#c9c}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-number,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-selector-attr,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-selector-pseudo,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-number,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-selector-attr,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-selector-pseudo{color:#f99157}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-doctag,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-regexp,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-string,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-doctag,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-regexp,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-string{color:#8abeb7}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-built_in,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-name,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-section,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-title,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-built_in,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-name,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-section,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-title{color:#b5bd68}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-class .hljs-title,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-selector-id,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-template-variable,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-variable,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-class .hljs-title,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-selector-id,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-template-variable,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-variable{color:#fc6}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-name,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-section,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-strong,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-name,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-section,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-strong{font-weight:700}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-bullet,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-link,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-meta,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-subst,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-symbol,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-bullet,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-link,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-meta,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-subst,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-symbol{color:#f99157}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-deletion,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-deletion{color:#dc322f}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-formula,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-formula{background:#eee8d5}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-attr,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-attribute,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-attr,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-attribute{color:#81a2be}.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code code .hljs-emphasis,.book.color-theme-3 .book-body .page-wrapper .page-inner section.normal .api-method-code pre .hljs-emphasis{font-style:italic}.page-inner{max-width:100%;padding:0;margin-top:50px}.markdown-section{padding:20px 30px 0} \ No newline at end of file diff --git a/docs/gitbook/gitbook-plugin-theme-api/theme-api.js b/docs/gitbook/gitbook-plugin-theme-api/theme-api.js new file mode 100644 index 0000000000..07e6c21f70 --- /dev/null +++ b/docs/gitbook/gitbook-plugin-theme-api/theme-api.js @@ -0,0 +1 @@ +require(["gitbook","jquery"],function(t,e){function n(e){r=t.storage.get("themeApi",{split:e.split,currentLang:null})}function a(){t.storage.set("themeApi",r),i()}function i(){e(".book").toggleClass("two-columns",r.split),s=e(".api-method-sample"),s.each(function(){var t=!(e(this).data("lang")==r.currentLang);e(this).toggleClass("hidden",t)})}function o(){t.toolbar.removeButtons(c),c=[],s=e(".api-method-sample");var n=[],i=!1;s.each(function(){var t,a,o=!1,s=e(this).data("lang"),c=e(this).data("name");s==r.currentLang&&(i=!0,o=!0),t=e.grep(n,function(t){return t.name==c}),a=!!t.length,a||n.push({name:c,lang:s,"default":o})}),n.reverse(),e.each(n,function(o,s){var l,g=s["default"]||!i&&o==n.length-1;l=t.toolbar.createButton({text:s.name,position:"right",className:"lang-switcher"+(g?" active":""),onClick:function(t){r.currentLang=s.lang,a(),e(".btn.lang-switcher.active").removeClass("active"),e(t.currentTarget).addClass("active")}}),c.push(l),g&&(r.currentLang=s.lang)})}var s,r,c=[],l=[{config:"light",text:"Light",id:0},{config:"dark",text:"Dark",id:3}];t.events.bind("start",function(e,i){var o=i["theme-api"];t.toolbar.createButton({icon:"fa fa-columns",label:"Change Layout",onClick:function(){r.split=!r.split,a()}}),t.fontsettings.setThemes(l),t.fontsettings.setTheme(o.theme),n(o)}),t.events.on("page.change",function(){o(),i()}),t.events.on("comment.toggled",function(e,n,a){if(n.parents(".api-method-definition").length){var i=t.state.$book.find(".page-wrapper");i.toggleClass("comments-open-from-definition",a&&r.split)}})}); diff --git a/docs/index.html b/docs/index.html index ce8b21fa81..a8e8f3d11f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -32,6 +32,10 @@ + + + + @@ -61,8 +65,6 @@ - - @@ -111,18 +113,49 @@ -
                            • 交互规范
                            • +
                            • 详细控件
                            • -
                            • +
                            • - + 2.1. - 交互规范 + 按钮组 + + + + + + - +
                            • + +
                            • + + 2.2. - 控件类 + 单选框 + + + + + +
                            • + +
                            • + + + + + 2.3. + + 复选框 + + + + + +
                            • + +
                            • + + + + + 2.4. + + node节点 + + + + + +
                            • + +
                            • + + + + + 2.5. + + segment组件 + + + + + +
                            • + +
                            • + + + + + 2.6. + + 树形结构 + + + + + + + +
                            • + +
                            • + + + + + 2.7. + + 表格 + + + + +