njk-tool 0.0.22 → 0.0.23
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
CHANGED
|
@@ -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) %}
|