njk-tool 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/app.min.cjs +10 -14
- package/dist/bundle/app.min.cjs.map +1 -1
- package/dist/bundle/app.min.js +10 -14
- package/dist/bundle/app.min.js.map +1 -1
- package/package.json +1 -1
package/dist/bundle/app.min.cjs
CHANGED
|
@@ -13482,7 +13482,7 @@ font-size: 26px;
|
|
|
13482
13482
|
font-weight: bolder;
|
|
13483
13483
|
--align: left;
|
|
13484
13484
|
--text-color: #606266;
|
|
13485
|
-
--margin:
|
|
13485
|
+
--margin: 20px 0 10px;
|
|
13486
13486
|
position: relative;
|
|
13487
13487
|
padding: 0 0 4.8px;
|
|
13488
13488
|
margin: var(--margin);
|
|
@@ -13494,7 +13494,7 @@ font-size: 24px;
|
|
|
13494
13494
|
font-weight: bolder;
|
|
13495
13495
|
--align: left;
|
|
13496
13496
|
--text-color: #606266;
|
|
13497
|
-
--margin:
|
|
13497
|
+
--margin: 20px 0 10px;
|
|
13498
13498
|
position: relative;
|
|
13499
13499
|
padding: 0 0 4.8px;
|
|
13500
13500
|
margin: var(--margin);
|
|
@@ -13506,7 +13506,7 @@ font-size: 20px;
|
|
|
13506
13506
|
--align: left;
|
|
13507
13507
|
--text-color: #606266;
|
|
13508
13508
|
font-weight: bolder;
|
|
13509
|
-
--margin:
|
|
13509
|
+
--margin: 20px 0 10px;
|
|
13510
13510
|
position: relative;
|
|
13511
13511
|
padding: 0 0 4.8px;
|
|
13512
13512
|
margin: var(--margin);
|
|
@@ -13827,7 +13827,7 @@ padding: 6px 16px;
|
|
|
13827
13827
|
</div>
|
|
13828
13828
|
{% endmacro %}
|
|
13829
13829
|
{% macro title_table_default(ctx) %}
|
|
13830
|
-
<div class="njk-title-h3" id="{{ ctx.text }}"
|
|
13830
|
+
<div class="njk-title-h3" id="{{ ctx.text }}">
|
|
13831
13831
|
{{ ctx.text }}
|
|
13832
13832
|
</div>
|
|
13833
13833
|
{% endmacro %}
|
|
@@ -13923,10 +13923,11 @@ padding: 6px 16px;
|
|
|
13923
13923
|
</table>
|
|
13924
13924
|
{% endmacro %}
|
|
13925
13925
|
{% macro use_table(ctx) %}
|
|
13926
|
-
{% if ctx.
|
|
13927
|
-
{{
|
|
13926
|
+
{% if ctx.title %}
|
|
13927
|
+
{{ title_table_default(ctx.title) }}
|
|
13928
|
+
{{ table_default(ctx) }}
|
|
13928
13929
|
{% else %}
|
|
13929
|
-
{{
|
|
13930
|
+
{{ table_default(ctx) }}
|
|
13930
13931
|
{% endif %}
|
|
13931
13932
|
{% endmacro %}
|
|
13932
13933
|
<!-- /Table.njk -->
|
|
@@ -14025,9 +14026,6 @@ display: block;
|
|
|
14025
14026
|
{% endmacro %}
|
|
14026
14027
|
<!-- /ContentTitle.njk -->
|
|
14027
14028
|
<!-- Component.njk -->
|
|
14028
|
-
{% macro set_width(ctx) %}
|
|
14029
|
-
<div style="width:{{ ctx.width }};display:block;height:1px;background: transparent;;"></div>
|
|
14030
|
-
{% endmacro %}
|
|
14031
14029
|
{% macro pick_component(ctx) %}
|
|
14032
14030
|
{% if ctx.tag == "head" %}
|
|
14033
14031
|
{{ use_head(ctx) }}
|
|
@@ -14051,8 +14049,6 @@ display: block;
|
|
|
14051
14049
|
{{ use_divider(ctx) }}
|
|
14052
14050
|
{% elif ctx.tag == "tag" %}
|
|
14053
14051
|
{{ use_tag(ctx) }}
|
|
14054
|
-
{% elif ctx.tag == "width" %}
|
|
14055
|
-
{{ set_width(ctx) }}
|
|
14056
14052
|
{% elif ctx.tag == "title_content" %}
|
|
14057
14053
|
{{ use_content_title(ctx) }}
|
|
14058
14054
|
{% else %}
|
|
@@ -14068,9 +14064,9 @@ display: block;
|
|
|
14068
14064
|
{% endfor %}
|
|
14069
14065
|
{% endif %}
|
|
14070
14066
|
{% endmacro %}
|
|
14071
|
-
<
|
|
14067
|
+
<div style="margin: 0; padding: 0 8px 0 0;">
|
|
14072
14068
|
{{ use_component(ctx) }}
|
|
14073
|
-
</
|
|
14069
|
+
</div>
|
|
14074
14070
|
<!-- /Component.njk -->
|
|
14075
14071
|
<!-- Text.njk -->
|
|
14076
14072
|
{% macro text_default(ctx) %}
|