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.js
CHANGED
|
@@ -13479,7 +13479,7 @@ font-size: 26px;
|
|
|
13479
13479
|
font-weight: bolder;
|
|
13480
13480
|
--align: left;
|
|
13481
13481
|
--text-color: #606266;
|
|
13482
|
-
--margin:
|
|
13482
|
+
--margin: 20px 0 10px;
|
|
13483
13483
|
position: relative;
|
|
13484
13484
|
padding: 0 0 4.8px;
|
|
13485
13485
|
margin: var(--margin);
|
|
@@ -13491,7 +13491,7 @@ font-size: 24px;
|
|
|
13491
13491
|
font-weight: bolder;
|
|
13492
13492
|
--align: left;
|
|
13493
13493
|
--text-color: #606266;
|
|
13494
|
-
--margin:
|
|
13494
|
+
--margin: 20px 0 10px;
|
|
13495
13495
|
position: relative;
|
|
13496
13496
|
padding: 0 0 4.8px;
|
|
13497
13497
|
margin: var(--margin);
|
|
@@ -13503,7 +13503,7 @@ font-size: 20px;
|
|
|
13503
13503
|
--align: left;
|
|
13504
13504
|
--text-color: #606266;
|
|
13505
13505
|
font-weight: bolder;
|
|
13506
|
-
--margin:
|
|
13506
|
+
--margin: 20px 0 10px;
|
|
13507
13507
|
position: relative;
|
|
13508
13508
|
padding: 0 0 4.8px;
|
|
13509
13509
|
margin: var(--margin);
|
|
@@ -13824,7 +13824,7 @@ padding: 6px 16px;
|
|
|
13824
13824
|
</div>
|
|
13825
13825
|
{% endmacro %}
|
|
13826
13826
|
{% macro title_table_default(ctx) %}
|
|
13827
|
-
<div class="njk-title-h3" id="{{ ctx.text }}"
|
|
13827
|
+
<div class="njk-title-h3" id="{{ ctx.text }}">
|
|
13828
13828
|
{{ ctx.text }}
|
|
13829
13829
|
</div>
|
|
13830
13830
|
{% endmacro %}
|
|
@@ -13920,10 +13920,11 @@ padding: 6px 16px;
|
|
|
13920
13920
|
</table>
|
|
13921
13921
|
{% endmacro %}
|
|
13922
13922
|
{% macro use_table(ctx) %}
|
|
13923
|
-
{% if ctx.
|
|
13924
|
-
{{
|
|
13923
|
+
{% if ctx.title %}
|
|
13924
|
+
{{ title_table_default(ctx.title) }}
|
|
13925
|
+
{{ table_default(ctx) }}
|
|
13925
13926
|
{% else %}
|
|
13926
|
-
{{
|
|
13927
|
+
{{ table_default(ctx) }}
|
|
13927
13928
|
{% endif %}
|
|
13928
13929
|
{% endmacro %}
|
|
13929
13930
|
<!-- /Table.njk -->
|
|
@@ -14022,9 +14023,6 @@ display: block;
|
|
|
14022
14023
|
{% endmacro %}
|
|
14023
14024
|
<!-- /ContentTitle.njk -->
|
|
14024
14025
|
<!-- Component.njk -->
|
|
14025
|
-
{% macro set_width(ctx) %}
|
|
14026
|
-
<div style="width:{{ ctx.width }};display:block;height:1px;background: transparent;;"></div>
|
|
14027
|
-
{% endmacro %}
|
|
14028
14026
|
{% macro pick_component(ctx) %}
|
|
14029
14027
|
{% if ctx.tag == "head" %}
|
|
14030
14028
|
{{ use_head(ctx) }}
|
|
@@ -14048,8 +14046,6 @@ display: block;
|
|
|
14048
14046
|
{{ use_divider(ctx) }}
|
|
14049
14047
|
{% elif ctx.tag == "tag" %}
|
|
14050
14048
|
{{ use_tag(ctx) }}
|
|
14051
|
-
{% elif ctx.tag == "width" %}
|
|
14052
|
-
{{ set_width(ctx) }}
|
|
14053
14049
|
{% elif ctx.tag == "title_content" %}
|
|
14054
14050
|
{{ use_content_title(ctx) }}
|
|
14055
14051
|
{% else %}
|
|
@@ -14065,9 +14061,9 @@ display: block;
|
|
|
14065
14061
|
{% endfor %}
|
|
14066
14062
|
{% endif %}
|
|
14067
14063
|
{% endmacro %}
|
|
14068
|
-
<
|
|
14064
|
+
<div style="margin: 0; padding: 0 8px 0 0;">
|
|
14069
14065
|
{{ use_component(ctx) }}
|
|
14070
|
-
</
|
|
14066
|
+
</div>
|
|
14071
14067
|
<!-- /Component.njk -->
|
|
14072
14068
|
<!-- Text.njk -->
|
|
14073
14069
|
{% macro text_default(ctx) %}
|